diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..38ae723d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + target-branch: "develop" diff --git a/.github/workflows/publish_docker_matrix_base.yml b/.github/workflows/publish_docker_matrix_base.yml index f2a2738c..39826a1a 100644 --- a/.github/workflows/publish_docker_matrix_base.yml +++ b/.github/workflows/publish_docker_matrix_base.yml @@ -101,7 +101,8 @@ jobs: context: . file: ${{ inputs.dockerfile }} platforms: ${{ matrix.platform }} - push: true + # Don't push if it's a fork + push: ${{ !github.event.pull_request.head.repo.fork }} labels: ${{ steps.matrix_meta.outputs.labels }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true cache-from: type=gha @@ -114,6 +115,7 @@ jobs: echo "platform=$platform" echo "platform=$platform" >> $GITHUB_OUTPUT - name: Run docker image test + id: docker-test run: | docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker run -e DOCKER_TEST=1 --platform ${{ matrix.platform }} --name teddyCloud-test ${{ env.REGISTRY_IMAGE }}@${{ steps.build.outputs.digest }} @@ -125,6 +127,7 @@ jobs: continue-on-error: ${{ contains(fromJson(inputs.error_platforms), matrix.platform) }} - name: Export digest + if: ${{ steps.docker-test.conclusion == 'success' }} run: | mkdir -p /tmp/digests/${{ github.sha }} digest="${{ steps.build.outputs.digest }}" diff --git a/Makefile b/Makefile index b21344f8..85eb7099 100644 --- a/Makefile +++ b/Makefile @@ -291,6 +291,14 @@ LIBOPUS_SOURCES = \ $(addprefix opus/,$(OPUS_SOURCES)) \ $(addprefix opus/,$(OPUS_SOURCES_FLOAT)) +LIBOPUS_SOURCES := \ + $(filter-out \ + opus/src/repacketizer.c \ + , $(LIBOPUS_SOURCES)) + +LIBOPUS_SOURCES += \ + src/opus/src/repacketizer.c + LIBOPUS_HEADERS = \ $(addprefix opus/,$(SILK_HEAD)) \ $(addprefix opus/,$(CELT_HEAD)) \ @@ -326,7 +334,9 @@ CYCLONE_SOURCES = \ cyclone/cyclone_ssl/tls_common.c \ cyclone/cyclone_ssl/tls_extensions.c \ cyclone/cyclone_ssl/tls_certificate.c \ - cyclone/cyclone_ssl/tls_signature.c \ + cyclone/cyclone_ssl/tls_sign_generate.c \ + cyclone/cyclone_ssl/tls_sign_misc.c \ + cyclone/cyclone_ssl/tls_sign_verify.c \ cyclone/cyclone_ssl/tls_key_material.c \ cyclone/cyclone_ssl/tls_transcript_hash.c \ cyclone/cyclone_ssl/tls_cache.c \ @@ -409,6 +419,7 @@ CYCLONE_SOURCES += \ CFLAGS += -D GPL_LICENSE_TERMS_ACCEPTED CFLAGS += -D TRACE_NOPATH_FILE +CFLAGS += -D HTTP_SERVER_MAX_CONNECTIONS=32 CFLAGS += ${CFLAGS_VERSION} CFLAGS += $(INCLUDES) diff --git a/contrib/data/www/web/assets/AC-DvzLgDzl.js b/contrib/data/www/web/assets/AC-DvzLgDzl.js new file mode 100644 index 00000000..ef3745f4 --- /dev/null +++ b/contrib/data/www/web/assets/AC-DvzLgDzl.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%230052B4'%20width='513'%20height='342'/%3e%3cg%3e%3cpath%20fill='%23FFFFFF'%20d='M440.1,181.1c-0.1,39.2-6.4,81.4-57.4,101.5c-51.1-20.1-57.3-62.3-57.4-101.5L440.1,181.1L440.1,181.1z'/%3e%3cpath%20fill='%2329DBFF'%20d='M439.6,197.7c-2.8,34.9-12.4,67.4-57,85c-44.4-17.6-54.5-51.2-56.9-84.9'/%3e%3cpath%20fill='%23FFFFFF'%20d='M437.8,214.1c-3.2,24.3-16.7,53.5-55.1,68.6c-38.4-15.1-50.5-42.5-55.1-68.4'/%3e%3cpath%20fill='%2329DBFF'%20d='M434.2,230.3c-5.7,17.7-19.3,39.4-51.3,52.8c-32-12.6-45.2-33.8-51.4-53'/%3e%3cpath%20fill='%23FFFFFF'%20d='M426.7,246.9c-6.5,11.3-17.7,25.4-44,35.9c-27.5-11.5-37.4-25.3-44-36.1'/%3e%3cpath%20fill='%2329DBFF'%20d='M412.4,265.1c-8.1,7.2-12,11.2-29.6,17.9c-20.1-7.9-22.6-11.6-29.2-17.5'/%3e%3cpath%20fill='%235CC85C'%20d='M383.3,231.6c-0.2-0.2-27.9,35.7-27.9,35.7c-1.8-1.3-10-9.5-13.3-15l41.3-50.1l40.2,49.7%20c-3.9,6.5-11.4,13.6-13.2,15'/%3e%3c/g%3e%3cpolygon%20fill='%235CC85C'%20points='382.6,85.3%20356.1,130.3%20409.1,130.3%20409.1,130.3%20'/%3e%3cellipse%20transform='matrix(0.134%20-0.991%200.991%200.134%2028.7247%20484.2523)'%20fill='%23F7A226'%20cx='291.4'%20cy='225.7'%20rx='48.7'%20ry='15.7'/%3e%3cellipse%20transform='matrix(0.373%20-0.9278%200.9278%200.373%2037.247%20384.4472)'%20fill='%23DDC7AB'%20cx='303.1'%20cy='164.7'%20rx='11.7'%20ry='7.2'/%3e%3cellipse%20transform='matrix(0.1437%20-0.9896%200.9896%200.1437%20-19.091%20521.3171)'%20fill='%23DDC7AB'%20cx='291.7'%20cy='271.7'%20rx='11.4'%20ry='3.3'/%3e%3cellipse%20transform='matrix(0.9986%20-5.352928e-02%205.352928e-02%200.9986%20-13.9925%2016.4237)'%20fill='%23DDC7AB'%20cx='299.6'%20cy='269.4'%20rx='3.3'%20ry='11'/%3e%3cellipse%20transform='matrix(0.9303%20-0.3668%200.3668%200.9303%20-51.8254%20129.3871)'%20fill='%23DDC7AB'%20cx='314.5'%20cy='201.1'%20rx='4.1'%20ry='13.7'/%3e%3cellipse%20transform='matrix(0.9303%20-0.3668%200.3668%200.9303%20-43.1881%20128.875)'%20fill='%23DDC7AB'%20cx='317.5'%20cy='178.1'%20rx='13.7'%20ry='4.1'/%3e%3cellipse%20transform='matrix(0.991%20-0.134%200.134%200.991%20-26.0008%2065.5194)'%20fill='%23F7A226'%20cx='473.6'%20cy='225.9'%20rx='15.7'%20ry='48.7'/%3e%3cellipse%20transform='matrix(0.9278%20-0.373%200.373%200.9278%20-28.1478%20184.2457)'%20fill='%23DDC7AB'%20cx='462'%20cy='164.9'%20rx='7.2'%20ry='11.7'/%3e%3cellipse%20transform='matrix(0.9896%20-0.1437%200.1437%200.9896%20-34.1512%2070.8368)'%20fill='%23DDC7AB'%20cx='473.4'%20cy='271.9'%20rx='3.3'%20ry='11.4'/%3e%3cellipse%20transform='matrix(5.352928e-02%20-0.9986%200.9986%205.352928e-02%20171.3404%20719.9983)'%20fill='%23DDC7AB'%20cx='465.5'%20cy='269.6'%20rx='11'%20ry='3.3'/%3e%3cellipse%20transform='matrix(0.3668%20-0.9303%200.9303%200.3668%2098.0689%20546.5782)'%20fill='%23DDC7AB'%20cx='450.6'%20cy='201.2'%20rx='13.7'%20ry='4.1'/%3e%3cellipse%20transform='matrix(0.3668%20-0.9303%200.9303%200.3668%20117.5679%20529.2617)'%20fill='%23DDC7AB'%20cx='447.6'%20cy='178.3'%20rx='4.1'%20ry='13.7'/%3e%3cpolygon%20fill='%23B0C6CC'%20points='373.3,130.3%20356.1,155%20373.9,181.1%20396,181.1%20400.7,155.7%20395.3,130.3%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20256,117.4%20209.9,117.4%20256,148.1%20256,170.7%20233.4,170.7%20160,121.8%20160,170.7%2096,170.7%2096,121.8%2022.6,170.7%200,170.7%200,148.1%2046.1,117.4%200,117.4%200,53.4%2046.1,53.4%200,22.7%200,0%2022.6,0%2096,48.9%2096,0%20160,0%20160,48.9%20233.4,0%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.4%200,69.4%200,101.4%20112,101.4%20112,170.7%20144,170.7%20144,101.4%20256,101.4%20256,69.4%20144,69.4%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='256,22.7%20256,53.4%20209.9,53.4%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,170.7%200,159.7%2062.5,117.4%2085.1,117.4%207.3,170.7%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='7.3,0.1%2085.1,53.3%2062.5,53.3%200,11.1%200,0.1%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,0.1%20256,11.1%20193.5,53.4%20170.9,53.4%20248.7,0.1%20'/%3e%3cpolygon%20fill='%23D80027'%20points='248.7,170.7%20170.9,117.4%20193.5,117.4%20256,159.7%20256,170.7%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/AD-0YtvGfyJ.js b/contrib/data/www/web/assets/AD-0YtvGfyJ.js new file mode 100644 index 00000000..911e58ce --- /dev/null +++ b/contrib/data/www/web/assets/AD-0YtvGfyJ.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3crect%20fill='%230052B4'%20width='171'%20height='342'/%3e%3crect%20x='342'%20fill='%23D80027'%20width='171'%20height='342'/%3e%3crect%20x='198.9'%20y='113.6'%20fill='%23D80027'%20width='57.1'%20height='64.8'/%3e%3cg%20stroke='%23D80027'%20stroke-width='7'%3e%3cline%20x1='267.6'%20y1='113.6'%20x2='267.6'%20y2='178.3'/%3e%3cline%20x1='284.2'%20y1='113.6'%20x2='284.2'%20y2='178.3'/%3e%3cline%20x1='300.8'%20y1='113.6'%20x2='300.8'%20y2='178.3'/%3e%3c/g%3e%3cg%20stroke='%23D80027'%20stroke-width='5'%3e%3cline%20x1='247.4'%20y1='178.4'%20x2='247.4'%20y2='243.1'/%3e%3cline%20x1='234.1'%20y1='178.4'%20x2='234.1'%20y2='243.1'/%3e%3cline%20x1='220.8'%20y1='178.5'%20x2='220.8'%20y2='232.4'/%3e%3cline%20x1='207.1'%20y1='178.5'%20x2='207.1'%20y2='225.6'/%3e%3c/g%3e%3cpolygon%20fill='%23FFDA44'%20points='199.9,146%20227.5,113.6%20256,145.9%20227.9,178.3%20'/%3e%3cpath%20fill='%23BC8B00'%20d='M182.2,95.9v92.2c0,34.3,27.3,54.2,48.6,64.5c-0.8,1.4,25.1,8.3,25.1,8.3s25.9-6.9,25.1-8.3%20c21.4-10.3,48.6-30.1,48.6-64.5V95.9H182.2z%20M312.1,188.1c0,16.9-10,29.4-32.8,43.9c-8.6,5.5-17.5,9-23.3,11%20c-5.8-2-14.7-5.5-23.3-11c-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2L312.1,188.1z'/%3e%3crect%20x='264.4'%20y='188.9'%20fill='%23D80027'%20width='29.5'%20height='8.6'/%3e%3crect%20x='264.4'%20y='206.5'%20fill='%23D80027'%20width='29.5'%20height='8.6'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AE-ChB4l_EO.js b/contrib/data/www/web/assets/AE-ChB4l_EO.js new file mode 100644 index 00000000..4bb5bf6a --- /dev/null +++ b/contrib/data/www/web/assets/AE-ChB4l_EO.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23009e49'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23000'%20width='513'%20height='114'/%3e%3crect%20y='0'%20fill='%23ce1126'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AF-BnD1yvCV.js b/contrib/data/www/web/assets/AF-BnD1yvCV.js new file mode 100644 index 00000000..82f88afd --- /dev/null +++ b/contrib/data/www/web/assets/AF-BnD1yvCV.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23DB3E00'%20width='513'%20height='342'/%3e%3crect%20x='331'%20y='0'%20fill='%23479900'%20width='182'%20height='342'/%3e%3crect%20y='0'%20fill='%23000'%20width='181.8'%20height='342'/%3e%3cpath%20fill='%23FFFFFF'%20d='M256,126.7c-19.4,0-35.2,15.8-35.2,35.2v52.8h70.4v-52.8C291.2,142.4,275.4,126.7,256,126.7z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M256,84.3c-47.7,0-86.4,38.7-86.4,86.4S208.3,257,256,257c47.7,0,86.4-38.7,86.4-86.4S303.7,84.3,256,84.3z%20M256,242c-39.4,0-71.4-32-71.4-71.4c0-39.4,32-71.4,71.4-71.4c39.4,0,71.4,32,71.4,71.4C327.4,210.1,295.4,242,256,242z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AG-BN5I_8HM.js b/contrib/data/www/web/assets/AG-BN5I_8HM.js new file mode 100644 index 00000000..1914a349 --- /dev/null +++ b/contrib/data/www/web/assets/AG-BN5I_8HM.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23000'%20y='0'%20width='513'%20height='342'/%3e%3cpath%20fill='%230072c6'%20d='M88.8,136.5c-2.2,12.9-3.4,26.2-3.4,39.8c0,13.6,1.2,27,3.4,39.8L256,228.3l167.2-12.1%20c2.2-12.9,3.4-26.2,3.4-39.8s-1.2-27-3.4-39.8'/%3e%3cpath%20fill='%23FFFFFF'%20d='M423.2,219H88.8c15.8,69.8,84.7,122.3,167.2,122.3S407.4,288.8,423.2,219z'/%3e%3cpolygon%20fill='%23FFDA44'%20points='365.9,136.5%20146.1,136.5%20191,115.4%20167.1,71.9%20215.9,81.3%20222,32%20256,68.2%20290,32%20296.1,81.3%20344.9,71.9%20321,115.4%20'/%3e%3cg%20fill='%23ce1126'%3e%3cpolygon%20points='256.5,342%200,0%200,342%20'/%3e%3cpolygon%20points='513,342%20513,0%20256,342%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AI-DyA8M_FU.js b/contrib/data/www/web/assets/AI-DyA8M_FU.js new file mode 100644 index 00000000..ccb85c0b --- /dev/null +++ b/contrib/data/www/web/assets/AI-DyA8M_FU.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%2300318b'%20width='513'%20height='342'/%3e%3cpath%20fill='%23FFFFFF'%20d='M454.8,265.38c7.94-10.93,13.24-24.27,13.24-40.42V104.89c-10.04,7.54-22.5,12.01-36.02,12.01%20c-19.64,0-37.07-9.43-48.03-24.01c-10.95,14.58-28.39,24.01-48.03,24.01c-13.52,0-25.99-4.47-36.02-12v120.06%20c0,16.16,5.3,29.5,13.24,40.42L454.8,265.38L454.8,265.38z'/%3e%3cpath%20fill='%238DCCFF'%20d='M310.23,260.98C332.65,296.96,384,309,384,309s51.35-12.04,73.77-48.02H310.23L310.23,260.98z'/%3e%3cpath%20fill='%23D87B00'%20d='M396.66,172.21c0.32,1.42,8.72,10.17,17.56,20.15c1.39,1.57-8.74,12.63-6.91,12.59%20c4.75-0.12,19.27-17.26,19.34,6.65c0.05,15.94-30,27.51-30,27.51h17.47l0.65,14.96c0,0,4.97-13.34,7.59-16.57%20c8.1-9.97,20.18-30.07,34.59-27.1c14.41,2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3%20C398.34,171.56,396.14,169.89,396.66,172.21z'/%3e%3cpath%20fill='%23D87B00'%20d='M359.69,198.69c1.07-0.99,4.46-12.63,8.69-25.28c0.67-1.99,15.31,1.27,14.35-0.3%20c-2.47-4.06-24.58-8.08-3.9-20.08c13.79-8,38.82,12.27,38.82,12.27l-8.72-15.14l12.64-8.03c0,0-14.05,2.35-18.14,1.69%20c-12.68-2.04-36.13-2.48-40.75-16.45c-4.62-13.97-5.25,18.79-5.25,18.79s-10.56,12.08-6.4,22.88c3.66,9.5,4.96,13.64,6.97,26.73%20C358.29,197.56,357.94,200.3,359.69,198.69z'/%3e%3cpath%20fill='%23D87B00'%20d='M395.67,219.87c-1.39-0.43-13.16,2.49-26.22,5.18c-2.06,0.42-6.59-13.88-7.47-12.26%20c-2.27,4.17,5.36,25.31-15.41,13.45c-13.84-7.91-8.89-39.73-8.89-39.73l-8.71,15.14l-13.29-6.9c0,0,9.09,10.96,10.57,14.84%20c4.6,11.99,16,32.49,6.24,43.49c-9.76,11.01,18.88-4.9,18.88-4.9s15.76,3.07,23-5.96c6.38-7.94,9.3-11.14,19.61-19.45%20C395.41,221.65,397.95,220.58,395.67,219.87z'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='256.5,0%20233.4,0%20160,48.9%20160,0%2096,0%2096,48.9%2022.6,0%200,0%200,22.7%2046.1,53.4%200,53.4%200,117.4%2046.1,117.4%200,148.1%200,171%2022.6,171%2096,121.8%2096,171%20160,171%20160,121.8%20233.4,171%20256.5,171%20256.5,148.1%20209.9,117.4%20256.5,117.4%20256.5,53.4%20209.9,53.4%20256.5,22.7%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.4%200,69.4%200,101.4%20112,101.4%20112,171%20144,171%20144,101.4%20256.5,101.4%20256.5,69.4%20144,69.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,171%200,159.7%2062.5,117.4%2085.1,117.4%207.3,171%20'/%3e%3cpolygon%20fill='%23D80027'%20points='7.3,0.1%2085.1,53.3%2062.5,53.3%200,11.1%200,0.1%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256.5,0.1%20256.5,11.1%20193.5,53.4%20170.9,53.4%20248.7,0.1%20'/%3e%3cpolygon%20fill='%23D80027'%20points='248.7,171%20170.9,117.4%20193.5,117.4%20256.5,159.7%20256.5,171%20'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/AL-BXVQWRZ5.js b/contrib/data/www/web/assets/AL-BXVQWRZ5.js new file mode 100644 index 00000000..e4269a2d --- /dev/null +++ b/contrib/data/www/web/assets/AL-BXVQWRZ5.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2090%2060'%3e%3crect%20x='0'%20fill='%23ED2024'%20width='90'%20height='60'/%3e%3cpolygon%20fill='%23212121'%20points='32.5,12.2%2032.5,28.2%2039.6,30.7%2034.6,35.6%2037,38.6%2042.3,33.1%2043.5,35.4%2040.5,40.3%2044.1,45.9%2042.3,48.5%2045.1,52.1%2047.8,48.4%2046.3,45.8%2049.3,40%2046.6,35.4%2047.8,33.1%2053,38.6%2055.5,35.7%2050.3,30.6%2057.5,28%2057.5,12.2%2052.3,14.1%2052.2,17.9%2048.9,18.2%2048.9,15.6%2050.6,13.3%2056.2,11.1%2053.9,10.7%2055.3,9.5%2056.2,9.9%2055.4,8.5%2054,9%2053,7.9%2047.5,9%2048.9,10.1%2045.1,15%2041.3,10.2%2042.6,9.1%2037.6,7.9%2036.2,9%2034.7,8.6%2033.9,10%2034.8,9.4%2036.4,10.5%2034.1,11%2039.6,13%2041.2,15.3%2041.2,18.2%2037.9,17.9%2037.9,14.3%20'/%3e%3cg%3e%3crect%20x='26.2'%20y='25'%20fill='%23212121'%20width='6.4'%20height='2.5'/%3e%3crect%20x='26.2'%20y='20.9'%20fill='%23212121'%20width='6.4'%20height='2.7'/%3e%3crect%20x='26.2'%20y='16.7'%20fill='%23212121'%20width='6.4'%20height='2.6'/%3e%3crect%20x='26.2'%20y='12.7'%20fill='%23212121'%20width='6.4'%20height='2.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='57.4'%20y='25'%20fill='%23212121'%20width='6.4'%20height='2.5'/%3e%3crect%20x='57.4'%20y='20.9'%20fill='%23212121'%20width='6.4'%20height='2.7'/%3e%3crect%20x='57.4'%20y='16.7'%20fill='%23212121'%20width='6.4'%20height='2.6'/%3e%3crect%20x='57.4'%20y='12.7'%20fill='%23212121'%20width='6.4'%20height='2.5'/%3e%3c/g%3e%3crect%20x='53.4'%20y='36.1'%20fill='%23212121'%20width='6.4'%20height='1.9'/%3e%3crect%20x='30.2'%20y='36.1'%20fill='%23212121'%20width='6.4'%20height='1.9'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AM-NLP3P44N.js b/contrib/data/www/web/assets/AM-NLP3P44N.js new file mode 100644 index 00000000..80fbf1fa --- /dev/null +++ b/contrib/data/www/web/assets/AM-NLP3P44N.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23FF9811'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AO-DkPrV7zY.js b/contrib/data/www/web/assets/AO-DkPrV7zY.js new file mode 100644 index 00000000..1233760e --- /dev/null +++ b/contrib/data/www/web/assets/AO-DkPrV7zY.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23000000'%20y='171'%20width='513'%20height='171'/%3e%3crect%20fill='%23D80027'%20width='513'%20height='171'/%3e%3cg%20fill='%23FFDA44'%3e%3cpolygon%20points='332.7,135.6%20350.2,127%20342.8,108%20324.1,114.2%20'/%3e%3cpolygon%20points='287.1,79.6%20292.6,60.8%20273.5,53.6%20265.5,71.6%20'/%3e%3cpolygon%20points='316.5,102.8%20328.7,87.5%20313.8,73.6%20299.6,87.2%20'/%3e%3cpolygon%20points='335.9,171.7%20355.4,170.9%20355.4,149.6%20332.5,149.8%20'/%3e%3cpolygon%20points='323.3,209.8%20342.1,215.3%20349.4,196.3%20331.4,188.3%20'/%3e%3cpolygon%20points='294.3,242.2%20309.2,254.9%20323.6,240.5%20310.5,225.8%20'/%3e%3cpolygon%20points='247.3,94.5%20257.1,114.4%20279,117.7%20263.1,133.2%20266.7,155.1%20247.1,144.7%20227.4,154.9%20231.2,133%20215.4,117.5%20237.4,114.4%20'/%3e%3cpath%20d='M250.8,61.3l-2.7,18.3c43.1,3.2,77,39.2,77,83.1c0,46-37.3,82.9-83.4,83.4c-29.2,0.3-51.3-14.8-67-33.7%20l-13.9,12.3c15,19,40.8,39.9,80.9,39.9c56.3,0,101.9-45.6,101.9-101.9C343.7,109.5,302.9,65.8,250.8,61.3z'/%3e%3cpath%20fill='%23000000'%20d='M291.9,223.4l-11.8,14c0,0,51.9,38.9,53.6,40.4c1.7,1.5,5.2,2,9.1-2.7c3.7-4.5,2.8-8.1,0.9-9.7%20C341.7,263.9,291.9,223.4,291.9,223.4z'/%3e%3cpath%20d='M206.1,157.2c-7.7,10.3-7.5,23.1,2.8,30.9c0,0,135.2,101.5,136.9,103c1.7,1.5,5.2,2,9.1-2.7%20c3.7-4.5,2.8-8.1,0.9-9.7C353.9,277.2,206.1,157.2,206.1,157.2z'/%3e%3cpolygon%20points='253.8,256.3%20261.1,274.5%20280.6,268.5%20275.8,249.4%20'/%3e%3cpolygon%20points='213.4,252.6%20211.4,272.1%20231.5,275.7%20236,256.6%20'/%3e%3cpolygon%20points='177.7,231.4%20167.4,248%20183.8,260.1%20196.3,244.9%20'/%3e%3c/g%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/AQ-D3w7peYS.js b/contrib/data/www/web/assets/AQ-D3w7peYS.js new file mode 100644 index 00000000..31d723df --- /dev/null +++ b/contrib/data/www/web/assets/AQ-D3w7peYS.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20744%20496'%3e%3cpath%20fill='%233A7DCE'%20d='M0,0h744v496H0V0z'/%3e%3cpolygon%20fill='%23ffffff'%20points='120,125%20210,188%20264,174%20287,93%20348,57%20440,71%20545,126%20551,216%20585,228%20585,320%20520,435%20442,459%20370,442%20388,412%20380,380%20370,389%20208,364%20159,279%20179,233%20130,171%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AR-CrCDb1gb.js b/contrib/data/www/web/assets/AR-CrCDb1gb.js new file mode 100644 index 00000000..5dc89ff8 --- /dev/null +++ b/contrib/data/www/web/assets/AR-CrCDb1gb.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='512'%20height='342'/%3e%3crect%20y='0'%20fill='%23338AF3'%20width='512'%20height='114'/%3e%3crect%20y='228'%20fill='%23338AF3'%20width='512'%20height='114'/%3e%3ccircle%20fill='%23FFDA44'%20stroke='%23d6ab00'%20stroke-width='5'%20cx='256.5'%20cy='171'%20r='40'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AS-BS3RTvVP.js b/contrib/data/www/web/assets/AS-BS3RTvVP.js new file mode 100644 index 00000000..b40707e5 --- /dev/null +++ b/contrib/data/www/web/assets/AS-BS3RTvVP.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%2310338c'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23D80027'%20points='513,33%2095.3,171%20513,310.76%20513,342%200,171%20513,0%20'/%3e%3cpolyline%20fill='%23FFFFFF'%20points='513,287.18%20513,311.76%2081.72,171%20513,30%20513,54.16%20'/%3e%3cpath%20fill='%23A2001D'%20d='M476.98,140.21l-21.89,10.68l-3.18-15.32l31.19-29.77c0,0-9.42-40.65-13.75-44.98l-112.32,55.82l-6.84,36.76%20l-31.9,28.59l-0.4,34.2l34.29-22.76l67.23-2.66l-1.51,38.11h22.23l11.9-44.64l31.55-24.61L476.98,140.21z'/%3e%3cpolygon%20fill='%23EFC100'%20stroke='%23231F20'%20stroke-miterlimit='10'%20points='317.89,238.41%20295.65,227.3%20317.89,216.19%20462.35,216.19%20462.35,238.41%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/AT-1HWBUNPr.js b/contrib/data/www/web/assets/AT-1HWBUNPr.js new file mode 100644 index 00000000..b775cbb1 --- /dev/null +++ b/contrib/data/www/web/assets/AT-1HWBUNPr.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='114'%20fill='%23FFFFFF'%20width='513'%20height='114'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AU-DAwXtpdW.js b/contrib/data/www/web/assets/AU-DAwXtpdW.js new file mode 100644 index 00000000..934159ca --- /dev/null +++ b/contrib/data/www/web/assets/AU-DAwXtpdW.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%2310338c'%20width='513'%20height='342'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpath%20d='M222.2,170.7c0.3-0.3,0.5-0.6,0.8-0.9C222.8,170.1,222.5,170.4,222.2,170.7L222.2,170.7z'/%3e%3cpolygon%20points='188,212.6%20199,235.5%20223.7,229.8%20212.7,252.6%20232.6,268.4%20207.8,274%20207.9,299.4%20188,283.5%20168.2,299.4%20168.3,274%20143.5,268.4%20163.4,252.6%20152.3,229.8%20177.1,235.5%20'/%3e%3cpolygon%20points='385.9,241.1%20391.1,252%20402.9,249.3%20397.6,260.2%20407.1,267.7%20395.3,270.3%20395.3,282.5%20385.9,274.9%20376.4,282.5%20376.5,270.3%20364.7,267.7%20374.2,260.2%20368.9,249.3%20380.7,252%20'/%3e%3cpolygon%20points='337.3,125.1%20342.5,136%20354.3,133.3%20349,144.2%20358.5,151.7%20346.7,154.4%20346.7,166.5%20337.3,158.9%20327.8,166.5%20327.9,154.4%20316,151.7%20325.5,144.2%20320.2,133.3%20332,136%20'/%3e%3cpolygon%20points='385.9,58.9%20391.1,69.8%20402.9,67.1%20397.6,78%20407.1,85.5%20395.3,88.2%20395.3,100.3%20385.9,92.7%20376.4,100.3%20376.5,88.2%20364.7,85.5%20374.2,78%20368.9,67.1%20380.7,69.8%20'/%3e%3cpolygon%20points='428.4,108.6%20433.6,119.5%20445.4,116.8%20440.1,127.7%20449.6,135.2%20437.8,137.8%20437.8,150%20428.4,142.4%20418.9,150%20418.9,137.8%20407.1,135.2%20416.6,127.7%20411.3,116.8%20423.1,119.5%20'/%3e%3cpolygon%20points='398,166.5%20402.1,179.2%20415.4,179.2%20404.6,187%20408.8,199.7%20398,191.8%20387.2,199.7%20391.3,187%20380.6,179.2%20393.9,179.2%20'/%3e%3cpolygon%20points='254.8,0%20254.8,30.6%20209.7,55.7%20254.8,55.7%20254.8,115%20195.7,115%20254.8,147.8%20254.8,170.7%20228.1,170.7%20154.6,129.8%20154.6,170.7%2099,170.7%2099,122.1%2011.6,170.7%20-1.2,170.7%20-1.2,140.1%2044,115%20-1.2,115%20-1.2,55.7%2057.9,55.7%20-1.2,22.8%20-1.2,0%2025.5,0%2099,40.8%2099,0%20154.6,0%20154.6,48.6%20242.1,0%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='142.8,0%20110.8,0%20110.8,69.3%20-1.2,69.3%20-1.2,101.3%20110.8,101.3%20110.8,170.7%20142.8,170.7%20142.8,101.3%20254.8,101.3%20254.8,69.3%20142.8,69.3%20'/%3e%3cpolygon%20fill='%230052B4'%20points='154.6,115%20254.8,170.7%20254.8,154.9%20183,115%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='154.6,115%20254.8,170.7%20254.8,154.9%20183,115%20'/%3e%3cg%20fill='%23D80027'%3e%3cpolygon%20points='154.6,115%20254.8,170.7%20254.8,154.9%20183,115%20'/%3e%3cpolygon%20points='70.7,115%20-1.2,154.9%20-1.2,170.7%20-1.2,170.7%2099,115%20'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='99,55.7%20-1.2,0%20-1.2,15.7%2070.7,55.7%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='99,55.7%20-1.2,0%20-1.2,15.7%2070.7,55.7%20'/%3e%3cg%20fill='%23D80027'%3e%3cpolygon%20points='99,55.7%20-1.2,0%20-1.2,15.7%2070.7,55.7%20'/%3e%3cpolygon%20points='183,55.7%20254.8,15.7%20254.8,0%20254.8,0%20154.6,55.7%20'/%3e%3c/g%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/AW-CXzIUnmX.js b/contrib/data/www/web/assets/AW-CXzIUnmX.js new file mode 100644 index 00000000..76f2232c --- /dev/null +++ b/contrib/data/www/web/assets/AW-CXzIUnmX.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20363%20242'%3e%3crect%20fill='%23338AF3'%20width='363'%20height='242'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='57,96.9%2014.7,78.2%2057,59.6%2075.6,17.4%2094.2,59.6%20136.5,78.2%2094.2,96.9%2075.6,139.1%20'/%3e%3cpolygon%20fill='%23f30028'%20points='75.6,40.6%2087.1,66.7%20113.2,78.2%2087.1,89.7%2075.6,115.8%2064.1,89.7%2038,78.2%2064.1,66.7%20'/%3e%3c/g%3e%3cg%20fill='%23FFDA44'%3e%3crect%20y='152.2'%20width='363'%20height='15.7'/%3e%3crect%20y='183.6'%20width='363'%20height='15.7'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AX-rE6718Yf.js b/contrib/data/www/web/assets/AX-rE6718Yf.js new file mode 100644 index 00000000..83dd5282 --- /dev/null +++ b/contrib/data/www/web/assets/AX-rE6718Yf.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%230052B4'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23FFDA44'%20points='513,210.9%20202.2,210.9%20202.2,342%20122.4,342%20122.4,210.9%200,210.9%200,192.3%200,149.7%200,131.1%20122.4,131.1%20122.4,0%20202.2,0%20202.2,131.1%20513,131.1%20513,149.7%20513,192.3%20'/%3e%3cpolygon%20fill='%23D80027'%20points='513,149.7%20513,192.3%20183.7,192.3%20183.7,342%20141,342%20141,192.3%200,192.3%200,149.7%20141,149.7%20141,0%20183.7,0%20183.7,149.7%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/AZ-Bznf-Mlc.js b/contrib/data/www/web/assets/AZ-Bznf-Mlc.js new file mode 100644 index 00000000..e3c4f5d9 --- /dev/null +++ b/contrib/data/www/web/assets/AZ-Bznf-Mlc.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23ef3340'%20width='513'%20height='342'/%3e%3crect%20fill='%2300b5e2'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23509e2f'%20width='513'%20height='114'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpath%20d='M265.6,212.6c-23,0-41.6-18.6-41.6-41.6s18.6-41.6,41.6-41.6c7.2,0,13.9,1.8,19.8,5%20c-9.2-9-21.9-14.6-35.8-14.6c-28.3,0-51.2,22.9-51.2,51.2s22.9,51.2,51.2,51.2c13.9,0,26.6-5.6,35.8-14.6%20C279.5,210.8,272.8,212.6,265.6,212.6z'/%3e%3cpolygon%20points='297.6,142.2%20303.1,157.7%20318,150.6%20310.9,165.5%20326.4,171%20310.9,176.5%20318,191.4%20303.1,184.3%20297.6,199.8%20292.1,184.3%20277.2,191.4%20284.3,176.5%20268.8,171%20284.3,165.5%20277.2,150.6%20292.1,157.7%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BA-D2NrufK3.js b/contrib/data/www/web/assets/BA-D2NrufK3.js new file mode 100644 index 00000000..b1e0a208 --- /dev/null +++ b/contrib/data/www/web/assets/BA-D2NrufK3.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%2310338C'%20width='513.1'%20height='342'/%3e%3cpolyline%20fill='%23F6C500'%20points='99.9,0%20441.9,0%20441.9,342%20'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='19.9,21.1%2040.3,6.2%2060.9,21%2054,0%2026.7,0%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='92.3,25.5%2084.4,1.3%2076.6,25.5%2051.3,25.5%2071.8,40.3%2064,64.3%2084.4,49.5%20105,64.3%2097.1,40.3%20117.6,25.4%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='136.3,69.2%20128.5,45.2%20120.7,69.2%2095.5,69.2%20115.9,84.1%20108.1,108.1%20128.5,93.3%20149.1,108.1%20141.3,84.1%20161.7,69.2%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='179.4,112.3%20171.6,88.2%20163.8,112.3%20138.5,112.3%20159,127.2%20151.2,151.2%20171.6,136.4%20192.2,151.2%20184.3,127.2%20204.8,112.2%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='222.5,155.3%20214.7,131.3%20206.9,155.3%20181.5,155.3%20202.1,170.3%20194.3,194.3%20214.7,179.4%20235.1,194.3%20227.3,170.3%20247.9,155.3%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='265.6,198.4%20257.8,174.4%20250,198.4%20224.6,198.4%20245.2,213.3%20237.4,237.4%20257.8,222.5%20278.2,237.4%20270.4,213.2%20290.9,198.4%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='308.7,241.5%20300.8,217.5%20293,241.5%20267.7,241.5%20288.2,256.3%20280.3,280.5%20300.9,265.6%20321.3,280.4%20313.5,256.3%20334,241.5%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='351.7,284.6%20343.9,260.4%20336.1,284.6%20310.8,284.6%20331.2,299.4%20323.4,323.5%20343.9,308.6%20364.4,323.5%20356.6,299.4%20377,284.6%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='387,303.5%20379.1,327.6%20353.8,327.7%20373.6,342%20400.2,342%20420.1,327.6%20394.8,327.6%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/BB-DFQPCNz6.js b/contrib/data/www/web/assets/BB-DFQPCNz6.js new file mode 100644 index 00000000..ba990898 --- /dev/null +++ b/contrib/data/www/web/assets/BB-DFQPCNz6.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23ffc726'%20width='513'%20height='342'/%3e%3cg%20fill='%2300267f'%3e%3crect%20y='0'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20width='171'%20height='342'/%3e%3c/g%3e%3cpath%20fill='%23000'%20d='M325.74,101.02l-31.97,12.4c-0.68,1.35-5.79,7.54-8.18,53.06h-17.05v-60.42l-12.54-27.38l-12.54,27v60.8H226.4%20c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c0.15,0.31,15.4,31.34,15.4,78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54%20c0-24.13,4.17-44.02,7.68-56.46c3.82-13.57,7.7-21.49,7.74-21.57L325.74,101.02z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BD-B-QQw3jj.js b/contrib/data/www/web/assets/BD-B-QQw3jj.js new file mode 100644 index 00000000..56bd7e67 --- /dev/null +++ b/contrib/data/www/web/assets/BD-B-QQw3jj.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20513%20342'%3e%3crect%20y='85.331'%20fill='%232d6e41'%20width='513'%20height='342'/%3e%3ccircle%20fill='%23F40B32'%20cx='218.902'%20cy='256.5'%20r='115'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BE-DkBmiD2O.js b/contrib/data/www/web/assets/BE-DkBmiD2O.js new file mode 100644 index 00000000..f8df80de --- /dev/null +++ b/contrib/data/www/web/assets/BE-DkBmiD2O.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23fdda25'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23000'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23ef3340'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BF-MtzYbWUR.js b/contrib/data/www/web/assets/BF-MtzYbWUR.js new file mode 100644 index 00000000..16647922 --- /dev/null +++ b/contrib/data/www/web/assets/BF-MtzYbWUR.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%233d944f'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23ef2b2d'%20width='513'%20height='171'/%3e%3cpolygon%20fill='%23FFDA44'%20points='256,102.6%20272.9,154.6%20327.6,154.6%20283.4,186.8%20300.2,238.8%20256,206.7%20211.8,238.8%20228.6,186.8%20184.4,154.6%20239.1,154.6%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BG-Buxx41RI.js b/contrib/data/www/web/assets/BG-Buxx41RI.js new file mode 100644 index 00000000..6d98b2a1 --- /dev/null +++ b/contrib/data/www/web/assets/BG-Buxx41RI.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%2300966e'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23d62612'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BH-BKAvWpJ-.js b/contrib/data/www/web/assets/BH-BKAvWpJ-.js new file mode 100644 index 00000000..47e00fa8 --- /dev/null +++ b/contrib/data/www/web/assets/BH-BKAvWpJ-.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpolygon%20fill='%23D80027'%20points='0,0%20513,0%20513,342%200,342%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='222.8,34.3%20137.6,68.5%20222.8,102.6%20137.6,136.7%20222.8,170.8%20137.6,204.9%20222.8,239%20137.6,273.1%20222.8,307.2%20137.6,342%200,342%200,0%20137.6,0%20'/%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/BI-DRM3gEDF.js b/contrib/data/www/web/assets/BI-DRM3gEDF.js new file mode 100644 index 00000000..aaa43dee --- /dev/null +++ b/contrib/data/www/web/assets/BI-DRM3gEDF.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23D80027'%20width='513'%20height='342'/%3e%3cg%20fill='%2347a644'%3e%3cpolygon%20points='215.9,170.7%200,314.6%200,26.8%20'/%3e%3cpolygon%20points='513,26.8%20513,314.6%20297.1,170.7%20'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='513,26.8%20296.1,170.7%20513,314.6%20513,342%20471.9,342%20256,197.4%2040.1,342%200,342%200,314.6%20215.9,170.7%200,26.8%200,0%2040.1,0%20256,143.9%20471.9,0%20513,0%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='513,26.8%20297.1,170.7%20513,314.6%20513,342%20473,342%20256,197.4%2039,342%200,342%200,314.6%20215.9,170.7%200,26.8%200,0%2040.1,0%20256,143.9%20471.9,0%20513,0%20'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='251.6'%20cy='170.7'%20r='100.2'/%3e%3cg%20fill='%23D80027'%20stroke='%2347a644'%20stroke-width='3'%3e%3cpolygon%20points='251.4,103.6%20258.8,116.5%20273.6,116.5%20266.2,129.3%20273.6,142.1%20258.8,142.1%20251.4,155%20244,142.1%20229.2,142.1%20236.6,129.3%20229.2,116.5%20244,116.5%20'/%3e%3cpolygon%20points='290.2,170.3%20297.6,183.2%20312.4,183.2%20305,196%20312.4,208.8%20297.6,208.8%20290.2,221.7%20282.8,208.8%20267.9,208.8%20275.3,196%20267.9,183.2%20282.8,183.2%20'/%3e%3cpolygon%20points='213,170.3%20220.4,183.2%20235.3,183.2%20227.9,196%20235.3,208.8%20220.4,208.8%20213,221.7%20205.6,208.8%20190.8,208.8%20198.2,196%20190.8,183.2%20205.6,183.2%20'/%3e%3c/g%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/BJ-DQaHbLmo.js b/contrib/data/www/web/assets/BJ-DQaHbLmo.js new file mode 100644 index 00000000..a9611051 --- /dev/null +++ b/contrib/data/www/web/assets/BJ-DQaHbLmo.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20513%20342'%3e%3crect%20y='85.333'%20fill='%23008751'%20width='513'%20height='342'/%3e%3crect%20x='196.666'%20y='85.333'%20fill='%23fcd116'%20width='316.334'%20height='171'/%3e%3crect%20x='196.666'%20y='256'%20fill='%23e8112d'%20width='316.334'%20height='171'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BL-bG469lsP.js b/contrib/data/www/web/assets/BL-bG469lsP.js new file mode 100644 index 00000000..00a1f43e --- /dev/null +++ b/contrib/data/www/web/assets/BL-bG469lsP.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cpath%20fill='%23FFFFFF'%20d='M0-75.85'/%3e%3cpath%20fill='%23E6BC00'%20d='M157.31,199.76c0,0-9.04,43.93-19.31,40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52,21.24%20c0,0,38.18,8.48,41.01,5.47c1.22-1.14,8.21-15.1,10.34-26.05V199.76z%20M101.18,260.33c0,0-2.48,20.18-1.06,22.66%20c1.24,2.3,39.48,11.33,39.48,11.33s-24.96,16.46-29.74,20.54L91.8,284.94l-0.71-24.61L101.18,260.33L101.18,260.33z'/%3e%3cpath%20fill='%23E6BC00'%20d='M0-75.85'/%3e%3cpath%20fill='%23E6BC00'%20d='M112.51,94.64c0,0,39.65,41.6,40.36,45.5c0.71,3.72-4.25,3.19-4.25,3.19s-44.79-37.53-49.92-41.07%20C93.39,98.71,112.51,94.64,112.51,94.64L112.51,94.64z'/%3e%3cpath%20fill='%23ADADAD'%20d='M99.41,104.73c0,0,16.99-0.71,16.64-11.51C115.7,82.6,104.9,78.35,96.93,80.83%20c-7.97,2.3-23.01,13.45-13.63,35.05c9.38,21.42,23.37,29.39,26.2,47.8c0,0-5.46,9.86-19.12,0.35c-16.9-11.77-6.2-38.24-10.44-44.96%20c-4.25-7.08-40.95-38.92-40.95-38.92s-30.24,39.37-18,74.92c16.95,49.21,51.74,31.98,64.61,36.76c0,0-42.13,61.96-49.57,67.09%20c0,0,24.08,8.32,47.8-18.76c0,0,5.84,9.74,7.08,20.18h10.27c4.78-26.2,51.51-64.26,49.92-82.32%20C149.33,156.77,101.89,128.63,99.41,104.73z'/%3e%3cpath%20fill='%23E6BC00'%20d='M359.17,201.27c0,0,8.96,42.43,19.23,38.89c10.62-3.54,17.53-18.76,17.53-18.76l14.52,21.24%20c0,0-37,8.48-39.83,5.47c-1.21-1.14-9.32-13.79-11.52-24.66L359.17,201.27z%20M415.22,260.33c0,0,2.48,20.18,1.06,22.66%20c-1.24,2.3-39.48,11.33-39.48,11.33s24.96,16.46,29.74,20.54l18.06-29.92l0.71-24.61H415.22z'/%3e%3cpath%20fill='%23E6BC00'%20d='M403.89,94.64c0,0-39.65,41.6-40.36,45.5c-0.71,3.72,4.25,3.19,4.25,3.19s44.79-37.53,49.92-41.07%20C422.84,98.71,403.89,94.64,403.89,94.64L403.89,94.64z'/%3e%3cg%20transform='translate(6.5%205)'%3e%3cg%3e%3cpath%20id='b_1_'%20fill='%23125ECC'%20d='M150.81,82.06h201.79v145.46c0,16.06-9.69,21.39-21.91,31.85l-45.92,39.41%20c-18.25,15.62-47.91,15.57-66.07,0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V82.06z'/%3e%3c/g%3e%3cpath%20fill='%23FFE600'%20d='M194.05,142.71c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41%20S202.01,142.71,194.05,142.71z%20M251.7,139.71c-7.96,0-14.41-6.45-14.41-14.41c0-7.96,6.45-14.41,14.41-14.41%20s14.41,6.45,14.41,14.41C266.11,133.26,259.66,139.71,251.7,139.71z%20M309.35,142.71c-7.96,0-14.41-6.45-14.41-14.41%20s6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41S317.31,142.71,309.35,142.71z%20M208.46,269.43c-7.96,0-14.41-6.45-14.41-14.41%20c0-7.96,6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41C222.88,262.98,216.42,269.43,208.46,269.43z%20M251.7,283.85%20c-7.96,0-14.41-6.45-14.41-14.41c0-7.96,6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41C266.11,277.39,259.66,283.85,251.7,283.85z%20M294.94,269.43c-7.96,0-14.41-6.45-14.41-14.41c0-7.96,6.45-14.41,14.41-14.41c7.96,0,14.41,6.45,14.41,14.41%20C309.35,262.98,302.9,269.43,294.94,269.43z'/%3e%3cpath%20fill='%23D60537'%20d='M150.81,170.36h201.79v57.65H150.81V170.36z'/%3e%3c/g%3e%3cpath%20fill='%23EACE00'%20d='M142.9,43.82c0,0,57.65-14.41,115.31-14.41s115.31,14.41,115.31,14.41l-14.41,57.65%20c0,0-50.45-14.41-100.89-14.41s-100.89,14.41-100.89,14.41L142.9,43.82z'/%3e%3cpath%20fill='%237A6920'%20d='M258.2,72.65c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41c7.96,0,14.41,6.45,14.41,14.41%20S266.16,72.65,258.2,72.65z%20M315.85,77.65c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41%20S323.81,77.65,315.85,77.65z%20M200.55,77.65c-7.96,0-14.41-6.45-14.41-14.41s6.45-14.41,14.41-14.41s14.41,6.45,14.41,14.41%20S208.51,77.65,200.55,77.65z'/%3e%3cpath%20fill='%23ADADAD'%20d='M365.08,178.02c-1.59,18.06,45.14,56.12,49.92,82.32h10.27c1.24-10.44,7.08-20.18,7.08-20.18%20c23.72,27.09,47.8,18.76,47.8,18.76c-7.44-5.13-49.57-67.09-49.57-67.09c12.88-4.78,47.67,12.45,64.61-36.76%20c12.24-35.55-18-74.92-18-74.92s-36.7,31.84-40.95,38.92c-4.25,6.73,6.46,33.2-10.44,44.96c-13.66,9.51-19.12-0.35-19.12-0.35%20c2.83-18.41,16.82-26.38,26.2-47.8c9.38-21.6-5.66-32.75-13.63-35.05c-7.97-2.48-18.76,1.77-19.12,12.39%20c-0.35,10.8,16.64,11.51,16.64,11.51C414.29,128.63,366.85,156.77,365.08,178.02z'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='258.2'%20cy='204.19'%20r='16.93'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/BM-BLcb1PfF.js b/contrib/data/www/web/assets/BM-BLcb1PfF.js new file mode 100644 index 00000000..4a056c16 --- /dev/null +++ b/contrib/data/www/web/assets/BM-BLcb1PfF.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23c8102e'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20y='0.1'%20fill='%23012169'%20width='256.5'%20height='171'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20233.4,0%20160,48.9%20160,0%2096,0%2096,48.9%2022.6,0%200,0%200,22.7%2046.1,53.4%200,53.4%200,117.4%2046.1,117.4%200,148.1%200,170.7%2022.6,170.7%2096,121.8%2096,170.7%20160,170.7%20160,121.8%20233.4,170.7%20256,170.7%20256,148.1%20209.9,117.4%20256,117.4%20256,53.4%20209.9,53.4%20256,22.7%20'/%3e%3cpolygon%20fill='%23c8102e'%20points='144,0%20112,0%20112,69.4%200,69.4%200,101.4%20112,101.4%20112,170.7%20144,170.7%20144,101.4%20256,101.4%20256,69.4%20144,69.4%20'/%3e%3cpolygon%20fill='%23c8102e'%20points='0,170.7%200,159.7%2062.5,117.4%2085.1,117.4%207.3,170.7%20'/%3e%3cpolygon%20fill='%23c8102e'%20points='7.3,0.1%2085.1,53.3%2062.5,53.3%200,11.1%200,0.1%20'/%3e%3cpolygon%20fill='%23c8102e'%20points='256,0.1%20256,11.1%20193.5,53.4%20170.9,53.4%20248.7,0.1%20'/%3e%3cpolygon%20fill='%23c8102e'%20points='248.7,170.7%20170.9,117.4%20193.5,117.4%20256,159.7%20256,170.7%20'/%3e%3c/g%3e%3cg%20transform='translate(13%205)'%3e%3cpath%20fill='%23ffffff'%20d='M303.9,94.94v99.69c0,59.81,79.75,99.69,79.75,99.69s79.75-39.88,79.75-99.69V94.94H303.9z'/%3e%3cpath%20fill='%232F8F22'%20d='M436.37,254.44H330.93c23.13,25.08,52.72,39.88,52.72,39.88S413.24,279.52,436.37,254.44z'/%3e%3ccircle%20fill='%2365B5D2'%20cx='383.65'%20cy='214.56'%20r='39.88'/%3e%3ccircle%20fill='%23c8102e'%20cx='343.77'%20cy='194.63'%20r='19.94'/%3e%3ccircle%20fill='%23c8102e'%20cx='423.52'%20cy='194.63'%20r='19.94'/%3e%3ccircle%20fill='%23c8102e'%20cx='383.65'%20cy='154.75'%20r='19.94'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/BN-8lYlT0x_.js b/contrib/data/www/web/assets/BN-8lYlT0x_.js new file mode 100644 index 00000000..85c3d38b --- /dev/null +++ b/contrib/data/www/web/assets/BN-8lYlT0x_.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23000000'%20points='0,193.74%20513,320.93%20513,214.26%200,97.08%20'/%3e%3cpolyline%20fill='%23FFFFFF'%20points='513,234.26%20513,147.59%200,20.41%200,107.08%20'/%3e%3cg%3e%3cpath%20fill='%23D80027'%20stroke='%23231F20'%20stroke-width='3'%20stroke-miterlimit='10'%20d='M306.4,134.01c3.87,7.14,6.07,15.33,6.07,24.02c0,21.55-13.51,39.94-32.52,47.19v-59.51%20c5.7-1.19,10-6.37,10-12.59c6.9,0,12.5-5.75,12.5-12.85h-0.42c6.9,0,12.91-5.75,12.91-12.85h-34.99V76.58l-14.99-27.71l-15,27.71%20v30.84h-34.99c0,7.1,6.01,12.85,12.91,12.85h-0.42c0,7.1,5.6,12.85,12.5,12.85c0,6.22,4.29,11.4,9.99,12.59v61.37%20c-22.09-5.39-38.48-25.3-38.48-49.05c0-8.7,2.2-16.88,6.07-24.02c-10.96,11.21-17.72,26.53-17.72,43.44%20c0,34.32,27.82,62.15,62.15,62.15s62.15-27.83,62.15-62.15C324.12,160.54,317.35,145.21,306.4,134.01z'/%3e%3cpath%20fill='%23D80027'%20stroke='%23231F20'%20stroke-width='3'%20stroke-miterlimit='10'%20d='M198.46,226.81c0,0,20.69,27.71,66.5,27.71s66.5-27.71,66.5-27.71l13.47,28.37c0,0-21.03,27.71-79.97,27.71%20s-79.97-27.71-79.97-27.71L198.46,226.81z'/%3e%3cpolygon%20fill='%23D80027'%20stroke='%23231F20'%20stroke-width='3'%20stroke-miterlimit='10'%20points='129.24,133.18%20150.12,133.18%20175.05,160.44%20175.05,233.89%20148.77,233.89%20148.77,165.52%20'/%3e%3cpolygon%20fill='%23D80027'%20stroke='%23231F20'%20stroke-width='3'%20stroke-miterlimit='10'%20points='400,133.18%20379.12,133.18%20354.19,160.44%20354.19,233.89%20380.46,233.89%20380.46,165.52%20'/%3e%3c/g%3e%3c/svg%3e";export{t as default}; diff --git a/contrib/data/www/web/assets/BO-BU5jLhT5.js b/contrib/data/www/web/assets/BO-BU5jLhT5.js new file mode 100644 index 00000000..324e78e8 --- /dev/null +++ b/contrib/data/www/web/assets/BO-BU5jLhT5.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpath%20fill='%23d52b1e'%20d='M0%200h513v114H0z'/%3e%3cpath%20fill='%23f9e300'%20d='M0%20114h513v114H0z'/%3e%3cpath%20fill='%23007934'%20d='M0%20228h513v114H0z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BQ-D6AcQS69.js b/contrib/data/www/web/assets/BQ-D6AcQS69.js new file mode 100644 index 00000000..8eec317d --- /dev/null +++ b/contrib/data/www/web/assets/BQ-D6AcQS69.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23012a87'%20points='0,342%20513,342%20513,0%20513,0%20'/%3e%3cpolygon%20fill='%23f9d90f'%20points='250.4,0%200,0%200,0%200,166.9%20'/%3e%3cpolygon%20fill='%23dc171d'%20points='140.4,118.3%20152.6,139.5%20177.1,139.5%20164.8,160.6%20177.1,181.8%20152.6,181.8%20140.4,203%20128.2,181.8%20103.7,181.8%20116,160.6%20103.7,139.5%20128.2,139.5%20'/%3e%3ccircle%20fill='none'%20stroke='%23000000'%20stroke-width='9'%20stroke-miterlimit='10'%20cx='140.4'%20cy='160.6'%20r='57.7'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BR-C6APLMWa.js b/contrib/data/www/web/assets/BR-C6APLMWa.js new file mode 100644 index 00000000..6e159f69 --- /dev/null +++ b/contrib/data/www/web/assets/BR-C6APLMWa.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23009b3a'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23fedf00'%20points='256.5,19.3%20461.4,170.7%20256.5,322%2050.6,170.7%20'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='256.5'%20cy='171'%20r='80.4'/%3e%3cpath%20fill='%23002776'%20d='M215.9,165.7c-13.9,0-27.4,2.1-40.1,6c0.6,43.9,36.3,79.3,80.3,79.3c27.2,0,51.3-13.6,65.8-34.3%20C297,185.7,258.7,165.7,215.9,165.7z'/%3e%3cpath%20fill='%23002776'%20d='M334.9,186c0.9-5,1.5-10.1,1.5-15.4c0-44.4-36-80.4-80.4-80.4c-33.1,0-61.5,20.1-73.9,48.6%20c10.9-2.2,22.1-3.4,33.6-3.4C262.5,135.5,304.7,154.9,334.9,186z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/BS-D0c45f7-.js b/contrib/data/www/web/assets/BS-D0c45f7-.js new file mode 100644 index 00000000..ee0ea43a --- /dev/null +++ b/contrib/data/www/web/assets/BS-D0c45f7-.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23ffc72c'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20y='0'%20fill='%2300778b'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%2300778b'%20width='513'%20height='114'/%3e%3c/g%3e%3cpolygon%20fill='%23000'%20points='256,171%200,342%200,0%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BT-DtFaEhK8.js b/contrib/data/www/web/assets/BT-DtFaEhK8.js new file mode 100644 index 00000000..6335da78 --- /dev/null +++ b/contrib/data/www/web/assets/BT-DtFaEhK8.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FF7415'%20width='513'%20height='342'/%3e%3cpolyline%20fill='%23FFDA44'%20points='513,0%200,0%200,342%20'/%3e%3cpath%20fill='none'%20stroke='%23FFFFFF'%20stroke-width='42'%20stroke-miterlimit='10'%20d='M128.7,255.5c0,0,35,54,67.3,32.4c56.9-37.9-68.9-108.6-2.9-152.6c58.3-38.8,76.6,103.5,137.6,62.8%20c59-39.3-64.7-111.4-9.2-148.4c33.4-22.2,67.1,32.6,67.1,32.6'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BV-Bse7Z5R3.js b/contrib/data/www/web/assets/BV-Bse7Z5R3.js new file mode 100644 index 00000000..aaa32808 --- /dev/null +++ b/contrib/data/www/web/assets/BV-Bse7Z5R3.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%2033.333%201100%20733.333'%3e%3crect%20width='1100'%20height='800'%20fill='%23ef2b2d'/%3e%3crect%20width='200'%20height='800'%20x='300'%20fill='%23ffffff'/%3e%3crect%20width='1100'%20height='200'%20y='300'%20fill='%23ffffff'/%3e%3crect%20width='100'%20height='800'%20x='350'%20fill='%23002868'/%3e%3crect%20width='1100'%20height='100'%20y='350'%20fill='%23002868'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BW-Bx2saQws.js b/contrib/data/www/web/assets/BW-Bx2saQws.js new file mode 100644 index 00000000..5f81d92e --- /dev/null +++ b/contrib/data/www/web/assets/BW-Bx2saQws.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%236da9d2'%3e%3crect%20y='238'%20width='513'%20height='104'/%3e%3crect%20y='0'%20width='513'%20height='104'/%3e%3c/g%3e%3crect%20fill='%23000'%20y='125.5'%20width='513'%20height='89.656'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/BY-CA5NyMFR.js b/contrib/data/www/web/assets/BY-CA5NyMFR.js new file mode 100644 index 00000000..2fd99ece --- /dev/null +++ b/contrib/data/www/web/assets/BY-CA5NyMFR.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.1.3,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23007C30'%20width='513'%20height='342'/%3e%3cpolyline%20fill='%23CE1720'%20points='0,230%20513,230%20513,0%20513,0%200,0%200,0%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='100,230%20100,215.1%20100,0%200,0%200,342%20513,342%20513,342%20100,342%20'/%3e%3cg%20fill='%23CE1720'%3e%3cpolygon%20points='28,159.6%208.6,128.2%2028,97.4%2047.3,128.2%20'/%3e%3cpolygon%20points='72.6,159.6%2053.3,128.2%2072.6,97.4%2092,128.2%20'/%3e%3cpolygon%20points='28,241.2%208.6,209.8%2028,179%2047.3,209.8%20'/%3e%3cpolygon%20points='72.6,241.2%2053.3,209.8%2072.6,179%2092,209.8%20'/%3e%3c/g%3e%3cg%20fill='none'%20stroke='%23CE1720'%20stroke-width='7'%3e%3cpolygon%20points='28,73.8%2011.9,47.8%2028,22.2%2044,47.8%20'/%3e%3cpolygon%20points='72.6,73.8%2056.6,47.8%2072.6,22.2%2088.7,47.8%20'/%3e%3cpolygon%20points='28,318%2011.9,291.9%2028,266.3%2044,291.9%20'/%3e%3cpolygon%20points='72.6,318%2056.6,291.9%2072.6,266.3%2088.7,291.9%20'/%3e%3c/g%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/BZ-CYhxcbH0.js b/contrib/data/www/web/assets/BZ-CYhxcbH0.js new file mode 100644 index 00000000..907fc14d --- /dev/null +++ b/contrib/data/www/web/assets/BZ-CYhxcbH0.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23003e87'%20width='513'%20height='342'/%3e%3cg%3e%3ccircle%20fill='%23FFFFFF'%20cx='260.9'%20cy='170.9'%20r='118.9'/%3e%3ccircle%20fill='none'%20stroke='%236DA544'%20stroke-width='18'%20stroke-miterlimit='10'%20cx='261.9'%20cy='173.1'%20r='94.5'/%3e%3c/g%3e%3cg%20stroke='%23000000'%20stroke-width='1'%3e%3cpath%20fill='%23003e87'%20d='M261.9,151.5l-50.6,23.4v20c0,11.8,6.1,22.8,16.2,28.9l34.5,15.2l34.5-15.2c10-6.2,16.2-17.1,16.2-28.9v-20%20L261.9,151.5z'/%3e%3crect%20x='211.3'%20y='128.1'%20fill='%23FFDA44'%20width='101.3'%20height='46.7'/%3e%3c/g%3e%3cg%20fill='%23ce1127'%3e%3crect%20y='0'%20width='513'%20height='35'/%3e%3crect%20y='306'%20width='513'%20height='35'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CA-CWAdRSSD.js b/contrib/data/www/web/assets/CA-CWAdRSSD.js new file mode 100644 index 00000000..3279d5a2 --- /dev/null +++ b/contrib/data/www/web/assets/CA-CWAdRSSD.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23ff0000'%3e%3crect%20y='0'%20width='142'%20height='342'/%3e%3crect%20x='371'%20y='0'%20width='142'%20height='342'/%3e%3cpolygon%20points='306.5,206%20356.9,180.8%20331.7,168.2%20331.7,143%20281.3,168.2%20306.5,117.8%20281.3,117.8%20256.1,80%20230.9,117.8%20205.7,117.8%20230.9,168.2%20180.5,143%20180.5,168.2%20155.3,180.8%20205.7,206%20193.1,231.2%20243.5,231.2%20243.5,269%20268.7,269%20268.7,231.2%20319.1,231.2%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CC-1Vu5MNVk.js b/contrib/data/www/web/assets/CC-1Vu5MNVk.js new file mode 100644 index 00000000..c1e37c5f --- /dev/null +++ b/contrib/data/www/web/assets/CC-1Vu5MNVk.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23008000'%20width='513'%20height='342'/%3e%3cg%20fill='%23FFDA44'%3e%3cpolygon%20points='422.7,252.4%20428.9,265.2%20442.7,262%20436.5,274.8%20447.7,283.6%20433.8,286.8%20433.8,301%20422.7,292.1%20411.6,301%20411.6,286.8%20397.8,283.6%20408.9,274.8%20402.7,262%20416.6,265.2%20'/%3e%3cpolygon%20points='376.1,116.1%20382.3,129%20396.1,125.8%20389.9,138.6%20401.1,147.4%20387.2,150.5%20387.2,164.8%20376.1,155.9%20365,164.8%20365.1,150.5%20351.2,147.4%20362.3,138.6%20356.1,125.8%20370,129%20'/%3e%3cpolygon%20points='413.1,38.3%20419.3,51.1%20433.1,47.9%20426.9,60.7%20438.1,69.6%20424.2,72.7%20424.2,86.9%20413.1,78%20402,86.9%20402.1,72.7%20388.2,69.6%20399.3,60.7%20393.1,47.9%20407,51.1%20'/%3e%3cpolygon%20points='464.9,96.7%20471.1,109.5%20485,106.3%20478.7,119.1%20489.9,128%20476,131.1%20476.1,145.3%20464.9,136.4%20453.8,145.3%20453.9,131.1%20440,128%20451.2,119.1%20444.9,106.3%20458.8,109.5%20'/%3e%3cpolygon%20points='436.9,164.8%20441.8,179.6%20457.4,179.6%20444.8,188.8%20449.6,203.7%20436.9,194.5%20424.3,203.7%20429.1,188.8%20416.5,179.6%20432.1,179.6%20'/%3e%3c/g%3e%3cpath%20fill='%23FFDA44'%20d='M306.8,254.7c-49.2,0-89.1-39.9-89.1-89.1s39.9-89.1,89.1-89.1c15.3,0,29.8,3.9,42.4,10.7%20C329.4,67.9,302.3,56,272.5,56c-60.5,0-109.6,49.1-109.6,109.6S212,275.3,272.5,275.3c29.8,0,56.9-11.9,76.6-31.3%20C336.5,250.8,322.1,254.7,306.8,254.7z'/%3e%3cg%3e%3cpath%20fill='%23FFDA44'%20d='M140.4,59.5C129.7,41,109.7,28.6,86.8,28.6S44,41,33.3,59.5H140.4z'/%3e%3cpath%20fill='%23FFDA44'%20d='M140.6,59.9l-53.8,53.8L33.1,59.9c-5.1,9-8.1,19.4-8.1,30.6c0,34.2,27.7,61.9,61.9,61.9s61.9-27.7,61.9-61.9%20C148.7,79.3,145.7,68.9,140.6,59.9z'/%3e%3cpath%20fill='%23A2001D'%20d='M71.4,98.2v52.2c4.9,1.3,10.1,1.9,15.5,1.9s10.5-0.7,15.5-1.9V98.2H71.4z'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/CD-CMPwi19S.js b/contrib/data/www/web/assets/CD-CMPwi19S.js new file mode 100644 index 00000000..828b0ff1 --- /dev/null +++ b/contrib/data/www/web/assets/CD-CMPwi19S.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23338AF3'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23FFDA44'%20points='513,66.9%20513,0%20411.7,0%200,274.4%200,342%20100.3,342%20'/%3e%3cpolygon%20fill='%23D80027'%20points='513,0%20513,40.1%2060.2,342%200,342%200,301.2%20451.8,0%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='93.6,31.2%20109.9,81.6%20163,81.6%20120.1,112.8%20136.5,163.3%2093.6,132.1%2050.6,163.3%2067,112.8%2024.1,81.6%2077.2,81.6%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CF-D9_q27iA.js b/contrib/data/www/web/assets/CF-D9_q27iA.js new file mode 100644 index 00000000..d27b6679 --- /dev/null +++ b/contrib/data/www/web/assets/CF-D9_q27iA.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23d21034'%20width='513'%20height='342'/%3e%3cg%20fill='%233a9927'%3e%3crect%20y='171'%20width='211.5'%20height='85.3'/%3e%3crect%20x='300.5'%20y='171'%20width='211.5'%20height='85.3'/%3e%3c/g%3e%3cpolygon%20fill='%23003082'%20points='0,0%200,0%200,85.3%20211.5,85.3%20211.5,0%20300.5,0%20300.5,85.3%20513,85.3%20513,0%20513,0%20'/%3e%3cg%20fill='%23FFFFFF'%3e%3crect%20x='300.5'%20y='85.3'%20width='211.5'%20height='85.3'/%3e%3crect%20y='85.3'%20width='211.5'%20height='85.3'/%3e%3c/g%3e%3cg%20fill='%23ffce00'%3e%3cpolygon%20points='300.5,342%20211.5,342%20211.5,256%200,256%200,342%200,342%20513,342%20513,342%20513,256%20300.5,256%20'/%3e%3cpolygon%20points='105.7,8.6%20114.3,34.8%20141.8,34.8%20119.5,51%20128.1,77.2%20105.7,61%2083.4,77.2%2091.9,51%2069.6,34.8%2097.2,34.8%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CG-DTOQvq8q.js b/contrib/data/www/web/assets/CG-DTOQvq8q.js new file mode 100644 index 00000000..c2463763 --- /dev/null +++ b/contrib/data/www/web/assets/CG-DTOQvq8q.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20513%20342'%3e%3crect%20y='85.331'%20fill='%23da1a35'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23009543'%20points='443.726,85.331%20102.4,426.657%200,426.657%200,85.331%20'/%3e%3cpolygon%20fill='%23fbde4a'%20points='500.124,85.331%20158.798,426.657%2011.876,426.657%20353.202,85.331%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CH-C_aVYgel.js b/contrib/data/www/web/assets/CH-C_aVYgel.js new file mode 100644 index 00000000..ad786142 --- /dev/null +++ b/contrib/data/www/web/assets/CH-C_aVYgel.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20513%20342'%3e%3crect%20y='85.337'%20fill='%23ff0000'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='356.174,222.609%20289.391,222.609%20289.391,155.826%20222.609,155.826%20222.609,222.609%20155.826,222.609%20155.826,289.391%20222.609,289.391%20222.609,356.174%20289.391,356.174%20289.391,289.391%20356.174,289.391%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CI-mTXBVsLR.js b/contrib/data/www/web/assets/CI-mTXBVsLR.js new file mode 100644 index 00000000..5807d6ec --- /dev/null +++ b/contrib/data/www/web/assets/CI-mTXBVsLR.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23009e60'%20width='171'%20height='342'/%3e%3crect%20y='0'%20fill='%23f77f00'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CK-H328ZC8P.js b/contrib/data/www/web/assets/CK-H328ZC8P.js new file mode 100644 index 00000000..b0445c4b --- /dev/null +++ b/contrib/data/www/web/assets/CK-H328ZC8P.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20513%20342'%3e%3crect%20y='85.332'%20fill='%2301237a'%20width='513'%20height='342'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='384,156.705%20389.283,172.959%20406.372,172.959%20392.546,183.004%20397.827,199.258%20384,189.211%20370.175,199.258%20375.455,183.004%20361.63,172.959%20378.719,172.959%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='313.791,185.786%20329.019,193.544%20341.103,181.461%20338.43,198.34%20353.657,206.099%20336.778,208.772%20334.104,225.652%20326.344,210.425%20309.466,213.098%20321.552,201.014%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='284.71,255.995%20300.964,250.714%20300.965,233.625%20311.009,247.45%20327.263,242.168%20317.217,255.995%20327.263,269.821%20311.009,264.541%20300.965,278.366%20300.965,261.276%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='313.791,326.204%20321.55,310.975%20309.466,298.891%20326.347,301.565%20334.104,286.338%20336.778,303.217%20353.657,305.889%20338.43,313.648%20341.103,330.53%20329.019,318.443%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='384,355.284%20378.719,339.031%20361.628,339.031%20375.455,328.986%20370.175,312.732%20384,322.776%20397.827,312.732%20392.546,328.986%20406.372,339.031%20389.283,339.031%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='454.209,326.204%20438.98,318.446%20426.897,330.53%20429.57,313.648%20414.343,305.892%20431.222,303.217%20433.897,286.338%20441.653,301.565%20458.534,298.891%20446.448,310.976%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='483.29,255.995%20467.036,261.276%20467.036,278.366%20456.991,264.54%20440.737,269.821%20450.783,255.995%20440.737,242.168%20456.991,247.45%20467.036,233.625%20467.036,250.714%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='454.209,185.788%20446.452,201.014%20458.534,213.098%20441.653,210.425%20433.897,225.652%20431.222,208.772%20414.343,206.097%20429.57,198.34%20426.897,181.462%20438.981,193.544%20'/%3e%3cpath%20fill='%23FFFFFF'%20d='M0,186.665v16h46.069L0,233.377v7.539l57.377-38.252H80L0,255.998h112v-69.334H0z%20M96,255.996%20H22.628L96,207.083V255.996z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M176,138.665l80-53.334H144v69.334h112v-16h-46.069L256,107.951v-7.539l-57.377,38.251H176V138.665z%20M160,85.333h73.372L160,134.246V85.333z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M144,255.998h112l-80-53.334h22.623L256,240.917v-7.539l-46.069-30.713H256v-16H144V255.998z%20M160,207.083l73.372,48.913H160V207.083z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M112,85.331H0l80,53.334H57.377L0,100.413v7.539l46.069,30.712H0v16h112V85.331z%20M96,134.246%20L22.628,85.333H96V134.246z'/%3e%3c/g%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='144,85.331%20112,85.331%20112,154.665%200,154.665%200,186.665%20112,186.665%20112,255.998%20144,255.998%20144,186.665%20256,186.665%20256,154.665%20144,154.665%20'/%3e%3cpolygon%20fill='%23D80027'%20points='80,138.665%200,85.331%200,100.413%2057.377,138.665%20'/%3e%3cpolygon%20fill='%23D80027'%20points='176,138.665%20198.623,138.665%20256,100.413%20256,85.331%20'/%3e%3cpolygon%20fill='%23D80027'%20points='57.377,202.665%200,240.917%200,255.998%2080,202.665%20'/%3e%3cpolygon%20fill='%23D80027'%20points='176,202.665%20256,255.998%20256,240.917%20198.623,202.665%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/CL-B5mM_kkr.js b/contrib/data/www/web/assets/CL-B5mM_kkr.js new file mode 100644 index 00000000..924147fe --- /dev/null +++ b/contrib/data/www/web/assets/CL-B5mM_kkr.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='342'/%3e%3crect%20x='196'%20y='0'%20fill='%23FFFFFF'%20width='317'%20height='171'/%3e%3crect%20y='0'%20fill='%230037A1'%20width='196'%20height='171'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='98,24.5%20113.1,71%20162,71%20122.4,99.7%20137.6,146.2%2098,117.5%2058.4,146.2%2073.6,99.7%2034,71%2082.9,71%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CM-CvApswQi.js b/contrib/data/www/web/assets/CM-CvApswQi.js new file mode 100644 index 00000000..6a8ab0e1 --- /dev/null +++ b/contrib/data/www/web/assets/CM-CvApswQi.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23ce1126'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23007a5e'%20width='171'%20height='342'/%3e%3cg%20fill='%23fcd116'%3e%3crect%20x='342'%20y='0'%20width='171'%20height='342'/%3e%3cpolygon%20points='256,102.2%20273.2,155.2%20329,155.2%20283.9,188%20301.1,241%20256,208.3%20210.9,241%20228.1,188%20183,155.2%20238.8,155.2%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CN-BKvdkL53.js b/contrib/data/www/web/assets/CN-BKvdkL53.js new file mode 100644 index 00000000..78072bb4 --- /dev/null +++ b/contrib/data/www/web/assets/CN-BKvdkL53.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23D80027'%20width='513'%20height='342'/%3e%3cg%20fill='%23FFDA44'%3e%3cpolygon%20points='226.8,239.2%20217.1,223.6%20199.2,228%20211.1,213.9%20201.4,198.3%20218.5,205.2%20230.3,191.1%20229,209.5%20246.1,216.4%20228.2,220.8%20'/%3e%3cpolygon%20points='290.6,82%20280.5,97.4%20292.1,111.7%20274.4,106.9%20264.3,122.4%20263.3,104%20245.6,99.2%20262.8,92.6%20261.8,74.2%20273.4,88.5%20'/%3e%3cpolygon%20points='236.2,25.4%20234.2,43.7%20251,51.3%20233,55.1%20231,73.4%20221.8,57.4%20203.9,61.2%20216.2,47.5%20207,31.6%20223.8,39.1%20'/%3e%3cpolygon%20points='292.8,161.8%20277.9,172.7%20283.7,190.2%20268.8,179.4%20253.9,190.4%20259.5,172.8%20244.6,162.1%20263,162%20268.6,144.4%20274.4,161.9%20'/%3e%3cpolygon%20points='115,46.3%20132.3,99.8%20188.5,99.8%20143.1,132.7%20160.4,186.2%20115,153.2%2069.5,186.2%2086.9,132.7%2041.4,99.8%2097.7,99.8%20'/%3e%3c/g%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/CO-ByrhQGvM.js b/contrib/data/www/web/assets/CO-ByrhQGvM.js new file mode 100644 index 00000000..29466585 --- /dev/null +++ b/contrib/data/www/web/assets/CO-ByrhQGvM.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3crect%20y='256.5'%20fill='%23D80027'%20width='513'%20height='85.5'/%3e%3crect%20y='171'%20fill='%230052B4'%20width='513'%20height='85.5'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CR-BI09HFuL.js b/contrib/data/www/web/assets/CR-BI09HFuL.js new file mode 100644 index 00000000..f8991ef1 --- /dev/null +++ b/contrib/data/www/web/assets/CR-BI09HFuL.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='114'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='285'%20fill='%230052B4'%20width='513'%20height='57'/%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='57'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CU-C4C68jfb.js b/contrib/data/www/web/assets/CU-C4C68jfb.js new file mode 100644 index 00000000..e931cc20 --- /dev/null +++ b/contrib/data/www/web/assets/CU-C4C68jfb.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpolygon%20fill='%23FF9811'%20points='0,-40.8%200,-40.8%200,382.1%200,382.1%200,170.7%20'/%3e%3crect%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20fill='%230052B4'%20width='513'%20height='68.3'/%3e%3crect%20y='136.5'%20fill='%230052B4'%20width='513'%20height='68.3'/%3e%3crect%20y='273.1'%20fill='%230052B4'%20width='513'%20height='68.3'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='256,170.7%200,342%200,0%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='86.5,111.4%2099.2,150.6%20140.5,150.6%20107.1,174.8%20119.9,214.1%2086.5,189.9%2053.1,214.1%2065.9,174.8%2032.5,150.6%2073.7,150.6%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CV-DyZ6Ezk0.js b/contrib/data/www/web/assets/CV-DyZ6Ezk0.js new file mode 100644 index 00000000..d042a19d --- /dev/null +++ b/contrib/data/www/web/assets/CV-DyZ6Ezk0.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23003893'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20y='182.2'%20fill='%23cf2027'%20width='513'%20height='41.4'/%3e%3crect%20y='140.8'%20fill='%23FFFFFF'%20width='513'%20height='41.4'/%3e%3crect%20y='223.6'%20fill='%23FFFFFF'%20width='513'%20height='41.4'/%3e%3c/g%3e%3cg%20fill='%23f7d116'%20stroke='%23000000'%3e%3cpolygon%20points='150.4,70%20157.3,91.1%20179.5,91.1%20161.5,104.2%20168.4,125.3%20150.4,112.2%20132.5,125.3%20139.3,104.2%20121.4,91.1%20143.6,91.1%20'/%3e%3cpolygon%20points='150.4,279.7%20157.3,300.8%20179.5,300.8%20161.5,313.8%20168.4,335%20150.4,321.9%20132.5,335%20139.3,313.8%20121.4,300.8%20143.6,300.8%20'/%3e%3cpolygon%20points='52.8,208.8%2059.7,229.9%2081.9,229.9%2063.9,242.9%2070.8,264.1%2052.8,251%2034.9,264.1%2041.7,242.9%2023.8,229.9%2046,229.9%20'/%3e%3cpolygon%20points='90.1,91%2097,112.1%20119.2,112.1%20101.2,125.1%20108.1,146.3%2090.1,133.2%2072.2,146.3%2079,125.1%2061,112.1%2083.3,112.1%20'/%3e%3cpolygon%20points='23.8,162%2046,162%2052.8,140.9%2059.7,162%2081.9,162%2063.9,175.1%2070.8,196.2%2052.8,183.2%2034.9,196.2%2041.7,175.1%20'/%3e%3cpolygon%20points='72.2,310.9%2079,289.8%2061,276.8%2083.3,276.8%2090.1,255.6%2097,276.8%20119.2,276.8%20101.2,289.8%20108.1,310.9%2090.1,297.9%20'/%3e%3cpolygon%20points='248,208.8%20241.1,229.9%20218.9,229.9%20236.9,242.9%20230,264.1%20248,251%20266,264.1%20259.1,242.9%20277.1,229.9%20254.9,229.9%20'/%3e%3cpolygon%20points='210.7,91%20203.9,112.1%20181.7,112.1%20199.6,125.1%20192.8,146.3%20210.7,133.2%20228.7,146.3%20221.8,125.1%20239.8,112.1%20217.6,112.1%20'/%3e%3cpolygon%20points='277.1,162%20254.9,162%20248,140.9%20241.1,162%20218.9,162%20236.9,175.1%20230,196.2%20248,183.2%20266,196.2%20259.1,175.1%20'/%3e%3cpolygon%20points='228.7,310.9%20221.8,289.8%20239.8,276.8%20217.6,276.8%20210.7,255.6%20203.9,276.8%20181.7,276.8%20199.6,289.8%20192.8,310.9%20210.7,297.9%20'/%3e%3c/g%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/CW-D7IcpiXF.js b/contrib/data/www/web/assets/CW-D7IcpiXF.js new file mode 100644 index 00000000..94a0001f --- /dev/null +++ b/contrib/data/www/web/assets/CW-D7IcpiXF.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23002b7f'%20width='513'%20height='342'/%3e%3crect%20y='233.5'%20fill='%23f9e814'%20width='513'%20height='51'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpolygon%20points='168.7,86.5%20181.6,126.3%20223.4,126.3%20189.6,150.8%20202.5,190.5%20168.7,166%20134.9,190.5%20147.8,150.8%20114,126.3%20155.8,126.3%20'/%3e%3cpolygon%20points='85.4,32.5%2093.2,56.4%20118.2,56.4%2097.9,71.1%20105.7,94.9%2085.4,80.2%2065.1,94.9%2072.9,71.1%2052.6,56.4%2077.7,56.4%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/CX-DHs8nS10.js b/contrib/data/www/web/assets/CX-DHs8nS10.js new file mode 100644 index 00000000..2099c2aa --- /dev/null +++ b/contrib/data/www/web/assets/CX-DHs8nS10.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%230021ad'%20width='513'%20height='342'/%3e%3cpolyline%20fill='%231c8a42'%20points='0,0%20513,0%20513,342%20'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpolygon%20points='77.6,272%2083.3,283.9%2096.1,280.9%2090.4,292.8%20100.7,300.9%2087.9,303.8%2087.9,317%2077.6,308.7%2067.4,317%2067.4,303.8%2054.6,300.9%2064.9,292.8%2059.1,280.9%2072,283.9%20'/%3e%3cpolygon%20points='40.5,173.1%2046.2,185%2059,182%2053.3,193.8%2063.6,202%2050.7,204.9%2050.8,218.1%2040.5,209.8%2030.2,218.1%2030.3,204.9%2017.4,202%2027.8,193.8%2022,182%2034.8,185%20'/%3e%3cpolygon%20points='77.6,92.2%2083.3,104%2096.1,101.1%2090.4,112.9%20100.7,121.1%2087.9,124%2087.9,137.1%2077.6,128.9%2067.4,137.1%2067.4,124%2054.6,121.1%2064.9,112.9%2059.1,101.1%2072,104%20'/%3e%3cpolygon%20points='123.7,155.1%20129.4,167%20142.2,164%20136.5,175.9%20146.8,184%20134,186.9%20134,200.1%20123.7,191.9%20113.5,200.1%20113.5,186.9%20100.7,184%20111,175.9%20105.3,164%20118.1,167%20'/%3e%3cpolygon%20points='90.8,209.1%2095.2,222.8%20109.7,222.8%2098,231.3%20102.5,245%2090.8,236.6%2079.1,245%2083.6,231.3%2071.9,222.8%2086.3,222.8%20'/%3e%3c/g%3e%3cg%3e%3ccircle%20fill='%23ffc639'%20cx='267.1'%20cy='170.7'%20r='74.5'/%3e%3cpath%20fill='%231c8a42'%20d='M267.1,220.3h24.8c0,0,10.8-19,0-37.2l24.8-24.8l-12.4-24.8h-12.4c0,0-6.2,18.6-31,18.6s-31-18.6-31-18.6%20h-12.4l12.4,24.8l-12.4,24.8l12.4,12.4c0,0,12.4-24.8,37.2-12.4C267.1,183.1,277.6,198.6,267.1,220.3z'/%3e%3c/g%3e%3cpath%20fill='%23ffc639'%20d='M464.4,92.2c0.6-2.9-0.2-17.6-0.2-20.7c0-21.3-13.9-39.4-33.2-45.7c5.9,12,9.2,25.4,9.2,39.7%20c0,4.8-0.4,9.5-1.1,14.1c-2.9-4.7-6.6-8.9-11.2-12.6c-17.1-13.6-40.6-14-57.9-2.5c13.4,2.9,26.3,8.9,37.7,18%20c9,7.1,16.2,16.8,21.7,26.1c0,0-17.8,10.9-31,15.1s-42.3,7.9-42.3,7.9c72,12,132-36,132-36C481.6,82.2,472.3,91.6,464.4,92.2z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/CY-BTPkyMMF.js b/contrib/data/www/web/assets/CY-BTPkyMMF.js new file mode 100644 index 00000000..3ab6a7a3 --- /dev/null +++ b/contrib/data/www/web/assets/CY-BTPkyMMF.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cpath%20fill='%23DB7D00'%20d='M141.7,154.7c0,0,0.2,67.1,74.7,65.3l4.5,13.9h8.9c0,0-7.4-41.1,60.1-41.5c0,0,0-27.6,27.6-27.6s41.5,0,41.5,0%20s-66-51.8,58.9-118l1.8-13.1c0,0-129.9,71-198.9,57.2c0,0,10.7,42.5-10.8,42.5c-10.8,0-9.7-8.1-32.3-8.1%20c-18.7,0-17.3,19.7-26.3,19.5c-8.9-0.2-18.8-12.3-19.6-10.2C131.1,136.7,141.7,154.7,141.7,154.7z'/%3e%3cg%20fill='%23006651'%3e%3cpath%20d='M237.2,308.1c6.9-5,13-6.6,22.4-8.3s19.4-4.4,24.6-5.8s-17.7,6.6-23.5,8.3%20C254.9,303.9,237.2,308.1,237.2,308.1z'/%3e%3cpath%20d='M275.1,293.4c-1.9-11.9,2.8-24.3,13.5-29.3C291.1,272.7,283.4,287.3,275.1,293.4z'/%3e%3cpath%20d='M293.3,287.2c-5.8-9.8,4-22.6,11.1-28.8C307.7,264.4,301.9,282.1,293.3,287.2z'/%3e%3cpath%20d='M310.2,279.6c-6.2-8.4,1.1-23.2,8.8-29C322.1,258.8,319.1,273.8,310.2,279.6z'/%3e%3cpath%20d='M327.1,269c-5.6-8-1.7-20.4,6.3-28.4C339.2,247.2,334.3,261.6,327.1,269z'/%3e%3cpath%20d='M340.6,258.3c-4.7-7.5,1.1-25.4,8.6-30.4C352.5,234.5,350,253.3,340.6,258.3z'/%3e%3cpath%20d='M351.4,255.5c-1.4-10.8,17.4-22.7,25.2-22.4C375.7,242,367.7,251.7,351.4,255.5z'/%3e%3cpath%20d='M340.9,267.7c8.8-9.1,26-9.1,32.1-7.2C371.3,265.8,351.1,277.4,340.9,267.7z'/%3e%3cpath%20d='M328.7,276.8c12.4-3.3,20.5-6.1,27.9,1.7C351.4,285.1,331.2,283.2,328.7,276.8z'/%3e%3cpath%20d='M311,284.8c11.9-6.4,26.3,3,28.5,8.6C326.2,298.9,310.8,286.2,311,284.8z'/%3e%3cpath%20d='M294.7,294c10.8-4.1,23.2,1.4,28.2,7.5C317.1,304.2,301.9,307.2,294.7,294z'/%3e%3cpath%20d='M279.8,298.7c12.4-1.4,24.4,8,27,13.4C290.9,313.6,284.8,308.9,279.8,298.7z'/%3e%3cpath%20d='M275.8,308.1c-6.9-5-13-6.6-22.4-8.3c-9.4-1.7-19.4-4.4-24.6-5.8c-5.3-1.4,17.7,6.6,23.5,8.3%20C258.1,303.9,275.8,308.1,275.8,308.1z'/%3e%3cpath%20d='M237.9,293.4c1.9-11.9-2.8-24.3-13.5-29.3C221.9,272.7,229.6,287.3,237.9,293.4z'/%3e%3cpath%20d='M219.7,287.2c5.8-9.8-4-22.6-11.1-28.8C205.3,264.4,211.1,282.1,219.7,287.2z'/%3e%3cpath%20d='M202.8,279.6c6.2-8.4-1.1-23.2-8.8-29C190.9,258.8,193.9,273.8,202.8,279.6z'/%3e%3cpath%20d='M185.9,269c5.6-8,1.7-20.4-6.3-28.4C173.8,247.2,178.7,261.6,185.9,269z'/%3e%3cpath%20d='M172.4,258.3c4.7-7.5-1.1-25.4-8.6-30.4C160.5,234.5,163,253.3,172.4,258.3z'/%3e%3cpath%20d='M161.6,255.5c1.4-10.8-17.4-22.7-25.2-22.4C137.3,242,145.3,251.7,161.6,255.5z'/%3e%3cpath%20d='M172.1,267.7c-8.8-9.1-26-9.1-32.1-7.2C141.7,265.8,161.9,277.4,172.1,267.7z'/%3e%3cpath%20d='M184.3,276.8c-12.4-3.3-20.5-6.1-27.9,1.7C161.6,285.1,181.8,283.2,184.3,276.8z'/%3e%3cpath%20d='M202,284.8c-11.9-6.4-26.3,3-28.5,8.6C186.8,298.9,202.2,286.2,202,284.8z'/%3e%3cpath%20d='M218.3,294c-10.8-4.1-23.2,1.4-28.2,7.5C195.9,304.2,211.1,307.2,218.3,294z'/%3e%3cpath%20d='M233.2,298.7c-12.4-1.4-24.4,8-27,13.4C222.1,313.6,228.2,308.9,233.2,298.7z'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/CZ-UAdIkg68.js b/contrib/data/www/web/assets/CZ-UAdIkg68.js new file mode 100644 index 00000000..e1d38409 --- /dev/null +++ b/contrib/data/www/web/assets/CZ-UAdIkg68.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%2311457e'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23d7141a'%20points='513,171%20513,342%200,342%20215,171%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='513,0%20513,171%20215.185,171%200,0%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/DE-BwSz4lTD.js b/contrib/data/www/web/assets/DE-BwSz4lTD.js new file mode 100644 index 00000000..6c08a7cb --- /dev/null +++ b/contrib/data/www/web/assets/DE-BwSz4lTD.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23000'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23FFDA44'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/DJ-BobvE7TL.js b/contrib/data/www/web/assets/DJ-BobvE7TL.js new file mode 100644 index 00000000..ae390ffe --- /dev/null +++ b/contrib/data/www/web/assets/DJ-BobvE7TL.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%2312ad2b'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%236ab2e7'%20points='513,0%20513,166.7%200,170.8%200,0%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,170.7%200,342%200,0%20'/%3e%3cpolygon%20fill='%23d7141a'%20points='89.8,92.5%20106.8,144.9%20162,144.9%20117.4,177.4%20134.4,229.8%2089.8,197.4%2045.2,229.8%2062.2,177.4%2017.6,144.9%2072.8,144.9%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/DK-COwVG_7G.js b/contrib/data/www/web/assets/DK-COwVG_7G.js new file mode 100644 index 00000000..41c5dceb --- /dev/null +++ b/contrib/data/www/web/assets/DK-COwVG_7G.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23c60c30'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='190,0%20130,0%20130,140%200,140%200,200%20130,200%20130,342%20190,342%20190,200%20513,200%20513,140%20190,140%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/DM-DOv9-8d0.js b/contrib/data/www/web/assets/DM-DOv9-8d0.js new file mode 100644 index 00000000..552d1c33 --- /dev/null +++ b/contrib/data/www/web/assets/DM-DOv9-8d0.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23496E2D'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23000'%20points='0,110.7%200,150.7%200,190.7%200,230.7%20513,230.7%20513,190.7%20513,150.7%20513,110.7%20'/%3e%3crect%20y='110.7'%20fill='%23FFDA44'%20width='513'%20height='40'/%3e%3crect%20y='190.7'%20fill='%23FFFFFF'%20width='513'%20height='40'/%3e%3crect%20x='196'%20y='0'%20fill='%23000'%20width='120'%20height='342'/%3e%3crect%20x='196'%20y='0'%20fill='%23FFDA44'%20width='40'%20height='342'/%3e%3crect%20x='274.7'%20y='0'%20fill='%23FFFFFF'%20width='40'%20height='342'/%3e%3cg%3e%3ccircle%20fill='%23D80027'%20cx='256'%20cy='170.7'%20r='123.1'/%3e%3cg%20fill='%23496E2D'%3e%3cpolygon%20points='256,58.6%20260.6,72.8%20275.6,72.8%20263.5,81.7%20268.1,95.9%20256,87.1%20243.9,95.9%20248.5,81.7%20236.4,72.8%20251.4,72.8%20'/%3e%3cpolygon%20points='190.1,80%20202.3,88.8%20214.4,80%20209.8,94.3%20221.9,103.1%20206.9,103.1%20202.3,117.3%20197.6,103.1%20182.6,103.1%20194.7,94.3%20'/%3e%3cpolygon%20points='149.4,136%20164.4,136%20169,121.8%20173.7,136%20188.7,136%20176.5,144.8%20181.2,159.1%20169,150.3%20156.9,159.1%20161.5,144.8%20'/%3e%3cpolygon%20points='149.4,205.3%20161.5,196.5%20156.9,182.2%20169,191%20181.2,182.2%20176.5,196.5%20188.7,205.3%20173.7,205.3%20169,219.6%20164.4,205.3%20'/%3e%3cpolygon%20points='190.1,261.4%20194.7,247.1%20182.6,238.3%20197.6,238.3%20202.3,224%20206.9,238.3%20221.9,238.3%20209.8,247.1%20214.4,261.4%20202.3,252.5%20'/%3e%3cpolygon%20points='256,282.8%20251.4,268.5%20236.4,268.5%20248.5,259.7%20243.9,245.4%20256,254.2%20268.1,245.4%20263.5,259.7%20275.6,268.5%20260.6,268.5%20'/%3e%3cpolygon%20points='321.9,261.4%20309.7,252.5%20297.6,261.4%20302.2,247.1%20290.1,238.3%20305.1,238.3%20309.7,224%20314.4,238.3%20329.4,238.3%20317.3,247.1%20'/%3e%3cpolygon%20points='362.6,205.3%20347.6,205.3%20343,219.6%20338.3,205.3%20323.3,205.3%20335.5,196.5%20330.8,182.2%20343,191%20355.1,182.2%20350.5,196.5%20'/%3e%3cpolygon%20points='362.6,136%20350.5,144.8%20355.1,159.1%20343,150.3%20330.8,159.1%20335.5,144.8%20323.3,136%20338.3,136%20343,121.8%20347.6,136%20'/%3e%3cpolygon%20points='321.9,80%20317.3,94.3%20329.4,103.1%20314.4,103.1%20309.7,117.3%20305.1,103.1%20290.1,103.1%20302.2,94.3%20297.6,80%20309.7,88.8%20'/%3e%3c/g%3e%3cpath%20fill='%23496E2D'%20d='M279.3,168.7c-11-21.1-14.5-25.1-14.5-25.1s0.4-9.7,0.4-15.6c0-8.8-7.4-15.8-16.5-15.8%20c-8.6,0-15.7,2.9-16.5,11c-4.2,0.9-8.6,4.1-8.6,10.7c0,4.8,1,7.3,5.2,9.3c2.1-4.6,4.3-4.8,9.3-6.4c0.8,0.6,1.7,3,2.6,3.4l0.3,1%20c0,0-13.3,6.6-13.3,30.9c0,29.5,22,45.4,22,45.4l-1.8,0.3l-1.9,7.1h22v-7.2l11,17.5C279.3,234.9,289.2,187.6,279.3,168.7z'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/DO-CXxjIPve.js b/contrib/data/www/web/assets/DO-CXxjIPve.js new file mode 100644 index 00000000..096a1689 --- /dev/null +++ b/contrib/data/www/web/assets/DO-CXxjIPve.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='215.2'%20fill='%23D80027'%20width='211.5'%20height='126.1'/%3e%3crect%20y='0'%20fill='%230052B4'%20width='211.5'%20height='126.2'/%3e%3crect%20x='300.5'%20y='0'%20fill='%23D80027'%20width='211.5'%20height='126.2'/%3e%3crect%20x='300.5'%20y='215.2'%20fill='%230052B4'%20width='211.5'%20height='126.1'/%3e%3cg%20stroke='%23FFFFFF'%20stroke-width='5'%20stroke-miterlimit='10'%3e%3cpath%20fill='%230052B4'%20d='M256,130h-49.9v49.4c0,0,19.5,6,49.9,6V130z'/%3e%3cpath%20fill='%23D80027'%20d='M206.1,179.4v6c0,27.5,22.3,49.9,49.9,49.9v-49.9C225.6,185.4,206.1,179.4,206.1,179.4z'/%3e%3cpath%20fill='%230052B4'%20d='M256,235.3c27.5,0,49.9-22.3,49.9-49.9v-6c0,0-19.5,6-49.9,6V235.3z'/%3e%3cpath%20fill='%23D80027'%20d='M256,130v55.4c30.4,0,49.9-6,49.9-6V130H256z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/DZ-D731vN-p.js b/contrib/data/www/web/assets/DZ-D731vN-p.js new file mode 100644 index 00000000..30599d35 --- /dev/null +++ b/contrib/data/www/web/assets/DZ-D731vN-p.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%2341662E'%20width='513'%20height='342'/%3e%3crect%20x='256.5'%20y='0'%20fill='%23FFFFFF'%20width='256.5'%20height='342'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='341.5,105.3%20312.1,145.7%20264.6,130.3%20294,170.7%20264.6,211.1%20312.1,195.7%20341.5,236.1%20341.5,186.1%20389,170.6%20341.5,155.2%20'/%3e%3cpath%20fill='%23D80027'%20d='M309.9,276.7c-58.5,0-106-47.5-106-106s47.5-106,106-106c18.3,0,35.4,4.6,50.4,12.7%20c-23.5-23-55.7-37.2-91.2-37.2c-72,0-130.4,58.4-130.4,130.4s58.4,130.4,130.4,130.4c35.5,0,67.7-14.2,91.2-37.2%20C345.4,272,328.2,276.7,309.9,276.7z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/EC-CLkxbsC9.js b/contrib/data/www/web/assets/EC-CLkxbsC9.js new file mode 100644 index 00000000..fef38abb --- /dev/null +++ b/contrib/data/www/web/assets/EC-CLkxbsC9.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3crect%20y='170.7'%20fill='%230052B4'%20width='513'%20height='85.3'/%3e%3crect%20y='256'%20fill='%23D80027'%20width='513'%20height='85.3'/%3e%3ccircle%20fill='%23FFDA44'%20cx='256'%20cy='171'%20r='60'/%3e%3cpath%20fill='%234C1F00'%20d='M369.2,79.9c0,0-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7c0,10.3-13.5,12-15.5,12s-2-5.3-14.8-5.3%20s-13.7,4.8-15.8,4.8c-2.2,0-14.5-1-14.5-11.5c0-5.2-42.9,4-49.1,7c-6.1,3.1-33.9,16-33.9,16s45.8,2.7,53.9,6.2s43.8,16.5,43.8,16.5%20l-2.8,13.3h37.8l-3.8-13.3c0,0,35.1-12.7,43.8-16.5S369.2,79.9,369.2,79.9z'/%3e%3cpath%20fill='%2357BA17'%20d='M217.7,171.7c0,21.1,17.2,38.3,38.3,38.3c21.1,0,38.3-17.2,38.3-38.3v-11.5h-76.5V171.7z'/%3e%3cpath%20fill='%23338AF3'%20d='M256,110.5c-21.1,0-38.3,17.2-38.3,38.3v11.5h76.5v-11.5C294.3,127.7,277.1,110.5,256,110.5z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/EE-Dg3eKw7r.js b/contrib/data/www/web/assets/EE-Dg3eKw7r.js new file mode 100644 index 00000000..c6791318 --- /dev/null +++ b/contrib/data/www/web/assets/EE-Dg3eKw7r.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23111111'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23368FD8'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23FFFFFF'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/EG-CS47I1Hw.js b/contrib/data/www/web/assets/EG-CS47I1Hw.js new file mode 100644 index 00000000..f0e808e8 --- /dev/null +++ b/contrib/data/www/web/assets/EG-CS47I1Hw.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23000'%20width='513'%20height='114'/%3e%3cpath%20fill='%23C09300'%20d='M220.3,204.4c0,0,0-58.4,4.5-64.7c3.1-4.3,16.8,5.2,22.7,4.5c0,0,4.2-7.5,4.5-12c0.3-4.6-1.1-7.6-4.9-6.2%20c0,0-1.2-2.1,0.5-3.3c1.6-1.2,5.6,0.1,5.6,0.1s-0.5-1,1.6-0.9c2.9,0.2,7.2,1.4,7.4,5.6c0.2,3.1,0.3,7.7,0.4,8.7%20c0.7,6.8,2.7,8.7,2.7,8.7s18.4-9.2,22-5.2c3.3,3.8,4.5,64.7,4.5,64.7l-18.1-16.8l12.1,29.5c0,0-14.4,2.4-28.9,2.4%20c-14.5,0-31.1-4.2-31.1-4.2l13.8-28.2L220.3,204.4z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/EH-D0ou060S.js b/contrib/data/www/web/assets/EH-D0ou060S.js new file mode 100644 index 00000000..80452688 --- /dev/null +++ b/contrib/data/www/web/assets/EH-D0ou060S.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23000'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23428823'%20width='513'%20height='114'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='256,171%200,342%200,0%20'/%3e%3cpath%20fill='%23D80027'%20d='M309.1,171c0-22.9,13.1-42.1,34.6-46.8c-3.3-0.7-6.7-1.1-10.3-1.1c-26.4,0-47.9,21.4-47.9,47.9%20s21.4,47.9,47.9,47.9c3.5,0,7-0.4,10.3-1.1C322.2,212.7,309.1,193.6,309.1,171z'/%3e%3cpolygon%20fill='%23D80027'%20points='365,129.2%20375.3,160.9%20408.6,160.9%20381.6,180.5%20391.9,212.2%20365,192.6%20338,212.2%20348.3,180.5%20321.3,160.9%20354.7,160.9%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/ER-BGi3XKA_.js b/contrib/data/www/web/assets/ER-BGi3XKA_.js new file mode 100644 index 00000000..a5b1d179 --- /dev/null +++ b/contrib/data/www/web/assets/ER-BGi3XKA_.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23338AF3'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%2356AF35'%20width='513'%20height='171'/%3e%3cpath%20fill='%23D80027'%20d='M0,342c0,0,513-171,513-171L0,0V342z'/%3e%3cg%20fill='%23ffc945'%3e%3cpath%20d='M134.7,231.5c33.6,0,60.8-27.2,60.8-60.8s-27.2-60.8-60.8-60.8s-60.8,27.2-60.8,60.8S101.1,231.5,134.7,231.5z%20M134.7,255.8c-47,0-85.2-38.1-85.2-85.2s38.1-85.2,85.2-85.2s85.2,38.1,85.2,85.2S181.7,255.8,134.7,255.8z'/%3e%3ccircle%20cx='119.5'%20cy='148.3'%20r='17.5'/%3e%3ccircle%20cx='148.9'%20cy='158.5'%20r='17.5'/%3e%3ccircle%20cx='134.7'%20cy='135.2'%20r='17.5'/%3e%3ccircle%20cx='119.5'%20cy='172.7'%20r='17.5'/%3e%3ccircle%20cx='149.9'%20cy='182.8'%20r='17.5'/%3e%3ccircle%20cx='122.5'%20cy='198'%20r='17.5'/%3e%3ccircle%20cx='145.9'%20cy='205.2'%20r='17.5'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/ES-NqXMpDNV.js b/contrib/data/www/web/assets/ES-NqXMpDNV.js new file mode 100644 index 00000000..e742c740 --- /dev/null +++ b/contrib/data/www/web/assets/ES-NqXMpDNV.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2025.4.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2022.5%2015'%3e%3cpath%20fill='%23FFFFFF'%20d='M0,0h22.5v15H0V0z'/%3e%3cpath%20fill='%23D03433'%20d='M0,0h22.5v4H0V0z%20M0,11h22.5v4H0V11z'/%3e%3cpath%20fill='%23FBCA46'%20d='M0,4h22.5v7H0V4z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M7.8,7h1v0.5h-1V7z'/%3e%3cpath%20fill='%23A41517'%20d='M7.2,8.5C7.2,8.8,7.5,9,7.8,9c0.3,0,0.6-0.2,0.6-0.5L8.5,7H7.1C7.1,7,7.2,8.5,7.2,8.5z%20M6.6,7%20c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0h1.5C8.8,6.5,9,6.7,9,6.9C9,7,9,7,9,7L8.9,8.5c-0.1,0.6-0.5,1-1.1,1c-0.6,0-1-0.4-1.1-1L6.6,7%20L6.6,7z'/%3e%3cpath%20fill='%23A41517'%20d='M6.8,7.5h2V8H8.3L7.8,9L7.3,8H6.8V7.5z%20M5.3,6h1v3.5h-1V6z%20M9.3,6h1v3.5h-1V6z%20M6.8,5.5C6.8,5.2,7,5,7.3,5h1%20c0.3,0,0.5,0.2,0.5,0.5v0.2C8.8,5.9,8.7,6,8.5,6c0,0,0,0,0,0H7C6.9,6,6.8,5.9,6.8,5.8c0,0,0,0,0,0V5.5z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/ET-PTudKHL-.js b/contrib/data/www/web/assets/ET-PTudKHL-.js new file mode 100644 index 00000000..8ba06561 --- /dev/null +++ b/contrib/data/www/web/assets/ET-PTudKHL-.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2022.5%2015'%3e%3cpath%20fill='%2320AA46'%20d='M0,0h22.5v5H0V0z'/%3e%3cpath%20fill='%23E92F3B'%20d='M0,10h22.5v5H0V10z'/%3e%3cpath%20fill='%23FADF50'%20d='M0,5h22.5v5H0V5z'/%3e%3ccircle%20fill='%23205CCA'%20cx='11.3'%20cy='7.5'%20r='5.2'/%3e%3cg%20stroke='%23FFDB3D'%20fill='none'%3e%3cg%20stroke-width='0.5'%3e%3cpath%20d='M11.3,8.8l-2.1,1.5L10,7.9L8,6.4h2.5l0.8-2.3l0.8,2.3l2.6,0l-2.1,1.5l0.8,2.4L11.3,8.8z'/%3e%3cline%20x1='10.3'%20y1='6.4'%20x2='12.2'%20y2='6.4'/%3e%3cline%20x1='9.9'%20y1='7.8'%20x2='11.2'%20y2='8.8'/%3e%3cline%20x1='12'%20y1='6.2'%20x2='12.7'%20y2='8'/%3e%3cline%20x1='10'%20y1='7.9'%20x2='10.6'%20y2='6.1'/%3e%3cline%20x1='11'%20y1='9'%20x2='12.6'%20y2='7.9'/%3e%3c/g%3e%3cg%20stroke-width='0.25'%3e%3cline%20x1='8.7'%20y1='3.9'%20x2='9.8'%20y2='5.5'/%3e%3cline%20x1='13.8'%20y1='3.8'%20x2='12.8'%20y2='5.4'/%3e%3cline%20x1='11.3'%20y1='10.1'%20x2='11.3'%20y2='12'/%3e%3cline%20x1='8.9'%20y1='8.3'%20x2='7.1'%20y2='9'/%3e%3cline%20x1='15.5'%20y1='9'%20x2='13.7'%20y2='8.3'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/EU-FjcjwKp1.js b/contrib/data/www/web/assets/EU-FjcjwKp1.js new file mode 100644 index 00000000..361da3f1 --- /dev/null +++ b/contrib/data/www/web/assets/EU-FjcjwKp1.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20810%20540'%3e%3cpath%20fill='%23039'%20d='M0%200h810v540H0z'/%3e%3cpath%20fill='%23FC0'%20d='m404.951%2059.865%206.735%2020.718h21.894l-17.633%2012.812%206.638%2020.74-17.634-12.812-17.634%2012.812%206.736-20.729-17.633-12.812h21.796zM314.951%2083.865l6.735%2020.718h21.894l-17.633%2012.812%206.638%2020.74-17.634-12.812-17.634%2012.812%206.736-20.729-17.633-12.812h21.796zM248.951%20149.865l6.735%2020.718h21.894l-17.633%2012.812%206.638%2020.74-17.634-12.812-17.634%2012.812%206.736-20.729-17.633-12.812h21.796zM224.951%20239.864l6.735%2020.719h21.894l-17.633%2012.813%206.638%2020.74-17.634-12.813-17.634%2012.813%206.736-20.731-17.633-12.811h21.796zM248.951%20329.865l6.735%2020.719h21.894l-17.633%2012.811%206.638%2020.74-17.634-12.811-17.634%2012.811%206.736-20.729-17.633-12.812h21.796zM314.951%20395.865l6.735%2020.719h21.894l-17.633%2012.811%206.638%2020.74-17.634-12.811-17.634%2012.811%206.736-20.729-17.633-12.812h21.796zM494.951%2083.865l6.735%2020.718h21.894l-17.633%2012.812%206.637%2020.74-17.633-12.812-17.635%2012.812%206.737-20.729-17.633-12.812h21.795zM560.951%20149.865l6.735%2020.718h21.894l-17.633%2012.812%206.637%2020.74-17.633-12.812-17.635%2012.812%206.737-20.729-17.633-12.812h21.795zM584.951%20239.865l6.735%2020.718h21.894l-17.633%2012.813%206.638%2020.74-17.634-12.813-17.634%2012.813%206.736-20.731-17.633-12.811h21.796zM560.951%20329.865l6.735%2020.719h21.894l-17.633%2012.811%206.638%2020.74-17.634-12.811-17.634%2012.811%206.736-20.729-17.633-12.812h21.796zM404.951%20419.865l6.735%2020.719h21.894l-17.633%2012.811%206.638%2020.74-17.634-12.811-17.634%2012.811%206.736-20.729-17.633-12.812h21.796zM494.951%20395.864l6.735%2020.719h21.894l-17.633%2012.812%206.639%2020.74-17.635-12.812-17.633%2012.812%206.735-20.73-17.633-12.811h21.797z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/FI-CG4d9Fw7.js b/contrib/data/www/web/assets/FI-CG4d9Fw7.js new file mode 100644 index 00000000..6f163ab7 --- /dev/null +++ b/contrib/data/www/web/assets/FI-CG4d9Fw7.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%232E52B2'%20points='513,129.3%20513,212%20203.7,212%20203.7,342%20121,342%20121,212%200,212%200,129.3%20121,129.3%20121,0%20203.7,0%20203.7,129.3%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/FJ-C139PzvB.js b/contrib/data/www/web/assets/FJ-C139PzvB.js new file mode 100644 index 00000000..7f66b889 --- /dev/null +++ b/contrib/data/www/web/assets/FJ-C139PzvB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%2362B5E5'%20width='513'%20height='342'/%3e%3cg%3e%3cpath%20fill='%23F3F3F3'%20d='M307.1,127.1v92c0,61.6,80.5,80.5,80.5,80.5s80.4-19,80.4-80.6v-92l-80.5-23L307.1,127.1z'/%3e%3cpath%20fill='%23D80027'%20d='M468,132.8V98.3H307.1v34.5h69v69h-69v23l0,0h69V296c6.9,2.5,11.5,3.5,11.5,3.5s4.6-1.1,11.5-3.5v-71.2h69l0,0%20v-23h-69v-69H468z'/%3e%3c/g%3e%3cg%20fill='%23FFFFFF'%3e%3cpath%20d='M0,0h256.5v170.6H0V0z'/%3e%3cpath%20d='M155.9,115l100.6,55.6v-15.8L184.6,115H155.9z'/%3e%3cpath%20d='M100.2,55.7L0,0v15.8l71.8,39.9H100.2z'/%3e%3c/g%3e%3cg%20fill='%230052B4'%3e%3cpath%20d='M196.9,115l59.6,32.9V115H196.9z%20M155.9,115l100.6,55.6v-15.8L184.6,115H155.9z%20M229.3,170.6l-73.5-40.9v40.9%20H229.3z'/%3e%3cpath%20d='M45.2,115L0,140.1V115H45.2z%20M100.2,122.1v48.6H12.8L100.2,122.1z'/%3e%3cpath%20d='M59.1,55.7L0,22.8v32.8C0,55.6,59.1,55.6,59.1,55.7z%20M100.2,55.7L0,0v15.8l71.8,39.9H100.2z%20M26.7,0l73.5,40.8%20V0H26.7z'/%3e%3cpath%20d='M210.9,55.7l45.6-25.1v25.1H210.9z%20M155.9,48.5V0h87.4L155.9,48.5z'/%3e%3c/g%3e%3cg%20fill='%23D80027'%3e%3cpath%20d='M144.3-0.2h-32.1v69.5H0v32.1h112.2v69.5h32.1v-69.5h112.2V69.3H144.3V-0.2z'/%3e%3cpath%20d='M155.9,115l100.6,55.6v-15.8L184.6,115H155.9z'/%3e%3cpath%20d='M71.8,115L0,154.9v15.8L100.2,115H71.8z'/%3e%3cpath%20d='M100.2,55.7L0,0v15.8l71.8,39.9H100.2z'/%3e%3cpath%20d='M184.1,55.7l72.4-39.9V0L155.9,55.7H184.1z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/FK-XPS_Mxep.js b/contrib/data/www/web/assets/FK-XPS_Mxep.js new file mode 100644 index 00000000..475aaf93 --- /dev/null +++ b/contrib/data/www/web/assets/FK-XPS_Mxep.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%230052B4'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20256,30.6%20210.8,55.7%20256,55.7%20256,115%20196.9,115%20256,147.8%20256,170.7%20229.3,170.7%20155.8,129.8%20155.8,170.7%20100.2,170.7%20100.2,122.1%2012.7,170.7%200,170.7%200,140.1%2045.2,115%200,115%200,55.7%2059.1,55.7%200,22.8%200,0%2026.7,0%20100.2,40.8%20100.2,0%20155.8,0%20155.8,48.6%20243.3,0%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.3%200,69.3%200,101.3%20112,101.3%20112,170.7%20144,170.7%20144,101.3%20256,101.3%20256,69.3%20144,69.3%20'/%3e%3cpolygon%20fill='%230052B4'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cpolygon%20fill='%23D80027'%20points='71.8,115%200,154.9%200,170.7%200,170.7%20100.2,115%20'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cpolygon%20fill='%23D80027'%20points='184.2,55.6%20256,15.7%20256,0%20256,0%20155.8,55.6%20'/%3e%3c/g%3e%3cg%20transform='translate(13%204)'%3e%3cpath%20fill='%231F8BDE'%20d='M299.2,190.2v-90c0-8.5,6.5-15.3,15-15.3h120.5c8.3,0,15,6.8,15,15.3v90%20c0,75.2-75.2,105.3-75.2,105.3S299.2,265.4,299.2,190.2z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M299.2,190.2v-90c0-8.5,6.5-15.3,15-15.3h120.5c8.3,0,15,6.8,15,15.3v90c0,75.2-75.2,105.3-75.2,105.3%20S299.2,265.4,299.2,190.2z%20M378.8,276.5c7.9-4.5,15.9-10,23.2-16.7c20.5-18.5,32.6-41.4,32.6-69.7v-90c0-0.3-120.4-0.3-120.4-0.3%20l0,90.3c0,28.3,12.1,51.2,32.6,69.7c8.3,7.5,17.6,13.9,27.6,19C375.8,278.2,377.2,277.4,378.8,276.5z'/%3e%3cpath%20fill='%23187536'%20d='M334.1,189.4c-2.6-7.9,1.7-14.3,10.1-14.3h60.5c8.2,0,12.8,6.3,10.1,14.3l-5.5,16.5c-2.6,7.9-8.9,9.2-15.8,4%20c0,0,2.6-4.8-19.1-4.8c-21.7,0-19.1,4.8-19.1,4.8c-6.1,5.7-13.1,4-15.8-4C339.6,206,334.1,189.4,334.1,189.4z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M344.4,175.1c8.1,1.6,17.8-15,30.1-15c13.1,0,21.8,17.1,30.1,15c7.4-1.8,15-22.2,15-30.1%20c0-16.6-20.2-30.1-45.1-30.1c-24.9,0-45.1,13.5-45.1,30.1C329.3,153.5,336,173.5,344.4,175.1z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M343,266.7c6.2,0.4,12.5-1.8,17.2-6.5l9-9c2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0l9,9c4.7,4.7,11,6.9,17.1,6.5%20c5.3-0.3,32.5-33.5,25.7-32.6c-4.6,0.6-9.1,2.8-12.7,6.3c0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9%20c-8.7-8.8-22.9-8.8-31.7-0.1c0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3%20C311,233.1,337.8,266.4,343,266.7z%20M309.1,206c2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0l9,9c8.8,8.7,22.9,8.7,31.7,0l9-9%20c2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0l9,9c8.8,8.7,22.9,8.7,31.7,0l9-9c2.9-2.9,7.5-2.9,10.4,0c0,0,0,0,0,0c0,0,5.5-14.8,2.5-15.9%20c-7.9-2.9-17.2-1.2-23.5,5.2c0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9c-8.7-8.8-22.9-8.8-31.7-0.1%20c0,0,0,0-0.1,0.1l-9,9c-2.9,2.9-7.5,2.9-10.4,0c0,0,0,0,0,0l-9-9c-6.2-6.2-15.1-8-22.8-5.5C304.1,191,309.1,206,309.1,206z'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/FM-CNgebryG.js b/contrib/data/www/web/assets/FM-CNgebryG.js new file mode 100644 index 00000000..1b6033cb --- /dev/null +++ b/contrib/data/www/web/assets/FM-CNgebryG.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23338AF3'%20width='513'%20height='342'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,37.9%20266.1,69.1%20299,69.1%20272.4,88.4%20282.6,119.6%20256,100.3%20229.4,119.6%20239.6,88.4%20213,69.1%20245.9,69.1%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='123.2,170.7%20154.4,160.5%20154.4,127.7%20173.7,154.3%20204.9,144.1%20185.6,170.7%20204.9,197.2%20173.7,187.1%20154.4,213.6%20154.4,180.8%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,303.5%20245.9,272.3%20213,272.3%20239.6,253%20229.4,221.7%20256,241%20282.6,221.7%20272.4,253%20299,272.3%20266.1,272.3%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='388.8,170.7%20357.6,180.8%20357.6,213.6%20338.3,187.1%20307.1,197.2%20326.4,170.7%20307.1,144.1%20338.3,154.3%20357.6,127.7%20357.6,160.5%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/FO-CRzpKO1m.js b/contrib/data/www/web/assets/FO-CRzpKO1m.js new file mode 100644 index 00000000..d8e27d6a --- /dev/null +++ b/contrib/data/www/web/assets/FO-CRzpKO1m.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%230F61A5'%20points='513,214.5%20206.2,214.5%20206.2,342%20183.7,342%20141,342%20118.4,342%20118.4,214.5%200,214.5%200,192%200,149.3%200,126.8%20118.4,126.8%20118.4,0%20141,0%20183.7,0%20206.2,0%20206.2,126.8%20513,126.8%20513,149.3%20513,192%20'/%3e%3cpolygon%20fill='%23E50E3D'%20points='513,149.3%20513,192%20183.7,192%20183.7,342%20141,342%20141,192%200,192%200,149.3%20141,149.3%20141,0%20183.7,0%20183.7,149.3%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/FR-B8vDbpLB.js b/contrib/data/www/web/assets/FR-B8vDbpLB.js new file mode 100644 index 00000000..fc28e7c5 --- /dev/null +++ b/contrib/data/www/web/assets/FR-B8vDbpLB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%2300318A'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23D80027'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GA-BuCnHBt1.js b/contrib/data/www/web/assets/GA-BuCnHBt1.js new file mode 100644 index 00000000..9465d4ff --- /dev/null +++ b/contrib/data/www/web/assets/GA-BuCnHBt1.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%236DA544'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%230052B4'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GB-0aslyXWB.js b/contrib/data/www/web/assets/GB-0aslyXWB.js new file mode 100644 index 00000000..8bfd72f2 --- /dev/null +++ b/contrib/data/www/web/assets/GB-0aslyXWB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20513%20342'%3e%3cg%20fill='%23FFFFFF'%3e%3cpath%20d='M0,0h513v341.3H0V0z'/%3e%3cpath%20d='M311.7,230L513,341.3v-31.5L369.3,230L311.7,230z'/%3e%3cpath%20d='M200.3,111.3L0,0v31.5l143.7,79.8H200.3z'/%3e%3c/g%3e%3cg%20fill='%230052B4'%3e%3cpath%20d='M393.8,230L513,295.7V230H393.8z%20M311.7,230L513,341.3v-31.5L369.3,230L311.7,230z%20M458.6,341.3l-147-81.7%20v81.7H458.6z'/%3e%3cpath%20d='M90.3,230L0,280.2V230H90.3z%20M200.3,244.2v97.2H25.5L200.3,244.2z'/%3e%3cpath%20d='M118.2,111.3L0,45.6v65.7H118.2z%20M200.3,111.3L0,0v31.5l143.7,79.8H200.3z%20M53.4,0l147,81.7V0H53.4z'/%3e%3cpath%20d='M421.7,111.3L513,61.1v50.2H421.7z%20M311.7,97.1V0h174.9L311.7,97.1z'/%3e%3c/g%3e%3cg%20fill='%23D80027'%3e%3cpath%20d='M288,0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z'/%3e%3cpath%20d='M311.7,230L513,341.3v-31.5L369.3,230L311.7,230z'/%3e%3cpath%20d='M143.7,230L0,309.9v31.5L200.3,230L143.7,230z'/%3e%3cpath%20d='M200.3,111.3L0,0v31.5l143.7,79.8H200.3z'/%3e%3cpath%20d='M368.3,111.3L513,31.5V0L311.7,111.3H368.3z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GD-CNPbqtuI.js b/contrib/data/www/web/assets/GD-CNPbqtuI.js new file mode 100644 index 00000000..7502cce9 --- /dev/null +++ b/contrib/data/www/web/assets/GD-CNPbqtuI.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23c60a0a'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%233E8446'%20points='256.5,170.7%2044.5,296.8%2044.5,44.5%20'/%3e%3cg%3e%3cpolygon%20fill='%23FFDA44'%20points='256.5,170.7%20467.5,296.8%2044.5,296.8%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='467.5,44.5%20256.5,170.7%2044.5,44.5%20'/%3e%3c/g%3e%3cpolygon%20fill='%233E8446'%20points='467.5,44.5%20467.5,296.8%20256.5,170.7%20'/%3e%3cg%20fill='%23FFDA44'%3e%3cpolygon%20points='256.5,10.4%20259.3,20.6%20270,20.6%20261.4,26.9%20264.7,37.1%20256.5,30.8%20247.3,37.1%20250.6,26.9%20242,20.6%20252.7,20.6%20'/%3e%3cpolygon%20points='170.1,10.4%20173.4,20.6%20184.1,20.6%20175.5,26.9%20178.8,37.1%20170.1,30.8%20161.4,37.1%20164.7,26.9%20156.1,20.6%20166.8,20.6%20'/%3e%3cpolygon%20points='341.9,10.4%20345.2,20.6%20356,20.6%20347.3,26.9%20350.6,37.1%20341.9,30.8%20333.2,37.1%20336.5,26.9%20327.9,20.6%20338.6,20.6%20'/%3e%3cpolygon%20points='256.5,304.2%20259.3,314.4%20270,314.4%20261.4,320.7%20264.7,330.9%20256.5,324.6%20247.3,330.9%20250.6,320.7%20242,314.4%20252.7,314.4%20'/%3e%3cpolygon%20points='170.1,304.2%20173.4,314.4%20184.1,314.4%20175.5,320.7%20178.8,330.9%20170.1,324.6%20161.4,330.9%20164.7,320.7%20156.1,314.4%20166.8,314.4%20'/%3e%3cpolygon%20points='341.9,304.2%20345.2,314.4%20356,314.4%20347.3,320.7%20350.6,330.9%20341.9,324.6%20333.2,330.9%20336.5,320.7%20327.9,314.4%20338.6,314.4%20'/%3e%3c/g%3e%3cg%3e%3ccircle%20fill='%23c60a0a'%20cx='244.5'%20cy='170.7'%20r='76.2'/%3e%3cpolygon%20fill='%23FFDA44'%20points='244.5,110.1%20258.1,151.9%20302.1,151.9%20266.5,177.7%20280.1,219.5%20244.5,193.7%20209,219.5%20222.6,177.7%20187,151.9%20231,151.9%20'/%3e%3c/g%3e%3cpath%20fill='%23FFDA44'%20d='M107.7,167.8c4.4,6.9,2.3,16.1-4.6,20.5s-16.1,2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33S99.7,155.3,107.7,167.8z'%20/%3e%3ccircle%20fill='%23A2001D'%20cx='99.1'%20cy='182.1'%20r='7.4'/%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/GE-AB-B-TJLLyi.js b/contrib/data/www/web/assets/GE-AB-B-TJLLyi.js new file mode 100644 index 00000000..8cdff88b --- /dev/null +++ b/contrib/data/www/web/assets/GE-AB-B-TJLLyi.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20y='0'%20fill='%236DA544'%20width='513'%20height='48.8'/%3e%3crect%20y='97.5'%20fill='%236DA544'%20width='513'%20height='48.8'/%3e%3crect%20y='195'%20fill='%236DA544'%20width='513'%20height='48.8'/%3e%3crect%20y='292.6'%20fill='%236DA544'%20width='513'%20height='48.8'/%3e%3c/g%3e%3crect%20y='0'%20fill='%23D80027'%20width='256.5'%20height='146.3'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='116.9,114.4%20109.4,99.6%20109.4,69.9%20128,59%20146.6,69.9%20146.6,92.2%20154,84.8%20158.2,87.8%20154,99.6%20139.1,114.4%20'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='82'%20cy='82.8'%20r='5.4'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='90.8'%20cy='61.7'%20r='5.4'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='106.6'%20cy='46.2'%20r='5.4'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='128'%20cy='40.8'%20r='5.4'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='149.4'%20cy='46.2'%20r='5.4'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='165.2'%20cy='61.7'%20r='5.4'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='174'%20cy='82.8'%20r='5.4'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/GE-DjP-hqxH.js b/contrib/data/www/web/assets/GE-DjP-hqxH.js new file mode 100644 index 00000000..c334d7d7 --- /dev/null +++ b/contrib/data/www/web/assets/GE-DjP-hqxH.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2022.5%2015'%3e%3cpath%20fill='%23FFFFFF'%20d='M0.8,0h21v15h-21V0z'/%3e%3cpath%20fill='%23eb000e'%20d='M9.8,6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3V6z'/%3e%3cpath%20fill='%23eb000e'%20d='M17.3,2.7l-0.2-1.2h1l-0.2,1.2l1.2-0.2v1l-1.2-0.2l0.2,1.2h-1l0.2-1.2l-1.2,0.2v-1L17.3,2.7z%20M4.6,2.7L4.4,1.5%20h1L5.2,2.7l1.2-0.2v1L5.2,3.3l0.2,1.2h-1l0.2-1.2L3.4,3.5v-1C3.4,2.5,4.6,2.7,4.6,2.7z%20M4.6,11.7l-0.2-1.2h1l-0.2,1.2l1.2-0.2v1%20l-1.2-0.2l0.2,1.2h-1l0.2-1.2l-1.2,0.2v-1C3.4,11.5,4.6,11.7,4.6,11.7z%20M17.3,11.7l-0.2-1.2h1l-0.2,1.2l1.2-0.2v1l-1.2-0.2l0.2,1.2%20h-1l0.2-1.2l-1.2,0.2v-1L17.3,11.7z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/GE-OS-MSYyBHb5.js b/contrib/data/www/web/assets/GE-OS-MSYyBHb5.js new file mode 100644 index 00000000..68709138 --- /dev/null +++ b/contrib/data/www/web/assets/GE-OS-MSYyBHb5.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20450%20300'%3e%3crect%20width='450'%20height='300'%20fill='%23FFFFFF'/%3e%3crect%20width='450'%20height='200'%20y='100'%20fill='%23FF0000'/%3e%3crect%20width='450'%20height='100'%20y='200'%20fill='%23FFDF00'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GF-BcpM6KXB.js b/contrib/data/www/web/assets/GF-BcpM6KXB.js new file mode 100644 index 00000000..9c6f1e4e --- /dev/null +++ b/contrib/data/www/web/assets/GF-BcpM6KXB.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2090%2060'%3e%3cpolygon%20fill='%23FDEB01'%20points='0,0%2090,60%200,60%20'/%3e%3cpolygon%20fill='%2358A846'%20points='90,0%2090,60%200,0%20'/%3e%3cpolygon%20fill='%23ED3D24'%20points='50.7,33.3%2060,26.6%2048.5,26.6%2045,15.7%2041.5,26.6%2030,26.6%2039.3,33.3%2035.7,44.3%2045,37.6%2054.3,44.3%20'/%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/GG-CO0w39Uo.js b/contrib/data/www/web/assets/GG-CO0w39Uo.js new file mode 100644 index 00000000..79a396c4 --- /dev/null +++ b/contrib/data/www/web/assets/GG-CO0w39Uo.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23D80027'%20points='308,0%20204,0%20204,118.7%200,118.7%200,222.7%20204,222.7%20204,342%20308,342%20308,222.7%20513,222.7%20513,118.7%20308,118.7%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='368.6,188%20394.6,205.3%20394.6,136%20368.6,153.3%20273.3,153.3%20273.3,58.1%20290.6,32.1%20221.4,32.1%20238.7,58.1%20238.7,153.3%20143.4,153.3%20117.4,136%20117.4,205.3%20143.4,188%20238.7,188%20238.7,283.2%20221.4,309.2%20290.6,309.2%20273.3,283.2%20273.3,188%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GH-BlaRl2y7.js b/contrib/data/www/web/assets/GH-BlaRl2y7.js new file mode 100644 index 00000000..f613b306 --- /dev/null +++ b/contrib/data/www/web/assets/GH-BlaRl2y7.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23496E2D'%20width='513'%20height='114'/%3e%3cpolygon%20fill='%23000'%20points='255.9,113.8%20270,157.2%20310.4,160.4%20273.4,187.3%20292.9,227.6%20255.9,200.7%20218.9,227.6%20233,184.1%20196.1,157.2%20241.8,157.2%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GI-LhWzDkoL.js b/contrib/data/www/web/assets/GI-LhWzDkoL.js new file mode 100644 index 00000000..52e90e19 --- /dev/null +++ b/contrib/data/www/web/assets/GI-LhWzDkoL.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='230'%20fill='%23D80027'%20width='513'%20height='112'/%3e%3cpolygon%20fill='%23D80027'%20stroke='%23000000'%20stroke-miterlimit='10'%20points='363.1,131.8%20363.1,99.1%20374,99.1%20374,77.3%20352.1,77.3%20352.1,88.2%20330.3,88.2%20330.3,77.3%20308.5,77.3%20308.5,99.1%20319.4,99.1%20319.4,131.8%20297.6,131.8%20297.6,55.5%20308.5,55.5%20308.5,33.7%20286.7,33.7%20286.7,44.6%20275.8,44.6%20275.8,33.7%20254,33.7%20254,44.6%20243.1,44.6%20243.1,33.7%20221.3,33.7%20221.3,55.5%20232.2,55.5%20232.2,131.8%20210.4,131.8%20210.4,99.1%20221.3,99.1%20221.3,77.3%20199.5,77.3%20199.5,88.2%20177.7,88.2%20177.7,77.3%20155.9,77.3%20155.9,99.1%20166.8,99.1%20166.8,131.8%20145,131.8%20145,219%20384.9,219%20384.9,131.8%20'/%3e%3cpath%20fill='%23FFDA44'%20stroke='%23000000'%20stroke-miterlimit='10'%20d='M264.9,235.5l-24.2,18.2l19.1,14.3v31.3h-23.2v9l23,0l0,7.9l-23,0v9.3H270V268l19.1-14.3L264.9,235.5z%20M264.9,260.8l-10.1-7.1l10.1-7.1l10.1,7.1L264.9,260.8z'/%3e%3cpath%20fill='%23000'%20d='M239.6,209.7v-27.9c0,0,0.1-22.3,25-22.3c24.8,0,25.7,22,25.7,22v28.2H239.6z'/%3e%3cpath%20fill='%23000'%20d='M170.5,209.7v-24.3c0,0,0.1-18.7,19.6-18.7s20.2,18.4,20.2,18.4v24.5H170.5z'/%3e%3cpath%20fill='%23000'%20d='M169.1,209.7v-24.3c0,0,0.1-18.7,19.6-18.7s20.2,18.4,20.2,18.4v24.5H169.1z'/%3e%3cpath%20fill='%23000'%20d='M320.9,209.7v-24.3c0,0,0.1-18.7,19.6-18.7c19.5,0,20.2,18.4,20.2,18.4v24.5H320.9z'/%3e%3cpath%20fill='%23000'%20d='M329.3,132v-15.7c0,0,0.1-12.1,11.3-12.1c11.3,0,11.7,11.9,11.7,11.9V132H329.3z'/%3e%3cpath%20fill='%23000'%20d='M250.5,132v-23.7c0,0,0.1-18.3,14.3-18.3c14.2,0,14.7,18,14.7,18v24H250.5z'/%3e%3cpath%20fill='%23000'%20d='M177.5,132v-15.7c0,0,0.1-12.1,11.3-12.1s11.7,11.9,11.7,11.9V132H177.5z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/GL-TZYWPNiS.js b/contrib/data/www/web/assets/GL-TZYWPNiS.js new file mode 100644 index 00000000..4467f91d --- /dev/null +++ b/contrib/data/www/web/assets/GL-TZYWPNiS.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23D80027'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='513,0%20513,171%200,171%200,0%20'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='185.8'%20cy='171.2'%20r='117.8'/%3e%3cpath%20fill='%23D80027'%20d='M68,171c0-65.1,52.8-117.8,117.8-117.8c65.1,0,117.8,52.8,117.8,117.8'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GM-BbEKdS0A.js b/contrib/data/www/web/assets/GM-BbEKdS0A.js new file mode 100644 index 00000000..dd43dc7a --- /dev/null +++ b/contrib/data/www/web/assets/GM-BbEKdS0A.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23cf0d19'%20width='513'%20height='100'/%3e%3crect%20y='121'%20fill='%230052B4'%20width='513'%20height='100'/%3e%3crect%20y='242'%20fill='%231a7e25'%20width='513'%20height='100'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GN-mVJu0smG.js b/contrib/data/www/web/assets/GN-mVJu0smG.js new file mode 100644 index 00000000..e744e62b --- /dev/null +++ b/contrib/data/www/web/assets/GN-mVJu0smG.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFDA44'%20width='512'%20height='342'/%3e%3crect%20x='342'%20fill='%236DA544'%20width='171'%20height='342'/%3e%3crect%20fill='%23D80027'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GP-B8vDbpLB.js b/contrib/data/www/web/assets/GP-B8vDbpLB.js new file mode 100644 index 00000000..fc28e7c5 --- /dev/null +++ b/contrib/data/www/web/assets/GP-B8vDbpLB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%2300318A'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23D80027'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GQ-CC129jXh.js b/contrib/data/www/web/assets/GQ-CC129jXh.js new file mode 100644 index 00000000..e05b3101 --- /dev/null +++ b/contrib/data/www/web/assets/GQ-CC129jXh.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%236DA544'%20width='513'%20height='113.8'/%3e%3crect%20y='227.6'%20fill='%23D80027'%20width='513'%20height='114.4'/%3e%3cpolygon%20fill='%230070C8'%20points='126,171%200,342%200,0%20'/%3e%3cpath%20fill='none'%20stroke='%23000000'%20stroke-miterlimit='10'%20d='M233.8,139.4v40.4c0,35.6,35.6,35.6,35.6,35.6s35.6,0,35.6-35.6v-40.4H233.8z'/%3e%3cpolygon%20fill='%23786145'%20points='264.5,179.8%20274.3,179.8%20278.3,205.6%20260.5,205.6%20'/%3e%3cpath%20fill='%236DA544'%20d='M287.2,162c0-9.8-8-14.8-17.8-14.8s-17.8,5-17.8,14.8c-4.9,0-8.9,4-8.9,8.9s4,8.9,8.9,8.9c2.9,0,32.6,0,35.6,0%20c4.9,0,8.9-4,8.9-8.9S292.1,162,287.2,162z'/%3e%3cg%20fill='%23FFDA00'%20stroke='%23000000'%20stroke-miterlimit='10'%3e%3cpolygon%20points='230.7,120%20232.6,123.3%20236.4,123.3%20234.5,126.6%20236.4,129.8%20232.6,129.8%20230.7,133.1%20228.8,129.8%20225,129.8%20226.9,126.6%20225,123.3%20228.8,123.3%20'/%3e%3cpolygon%20points='246,120%20247.9,123.3%20251.6,123.3%20249.7,126.6%20251.6,129.8%20247.9,129.8%20246,133.1%20244.1,129.8%20240.3,129.8%20242.2,126.6%20240.3,123.3%20244.1,123.3%20'/%3e%3cpolygon%20points='261.3,120%20263.2,123.3%20266.9,123.3%20265,126.6%20266.9,129.8%20263.2,129.8%20261.3,133.1%20259.4,129.8%20255.6,129.8%20257.5,126.6%20255.6,123.3%20259.4,123.3%20'/%3e%3cpolygon%20points='277.1,120%20279,123.3%20282.8,123.3%20280.9,126.6%20282.8,129.8%20279,129.8%20277.1,133.1%20275.2,129.8%20271.5,129.8%20273.3,126.6%20271.5,123.3%20275.2,123.3%20'/%3e%3cpolygon%20points='293.1,120%20295,123.3%20298.8,123.3%20296.9,126.6%20298.8,129.8%20295,129.8%20293.1,133.1%20291.2,129.8%20287.5,129.8%20289.3,126.6%20287.5,123.3%20291.2,123.3%20'/%3e%3cpolygon%20points='308.1,120%20310,123.3%20313.7,123.3%20311.8,126.6%20313.7,129.8%20310,129.8%20308.1,133.1%20306.2,129.8%20302.4,129.8%20304.3,126.6%20302.4,123.3%20306.2,123.3%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GR-CFpIyJBR.js b/contrib/data/www/web/assets/GR-CFpIyJBR.js new file mode 100644 index 00000000..aa52f717 --- /dev/null +++ b/contrib/data/www/web/assets/GR-CFpIyJBR.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%230d5eaf'%3e%3crect%20y='0'%20width='513'%20height='38'/%3e%3crect%20y='76'%20width='513'%20height='38'/%3e%3crect%20y='152'%20width='513'%20height='38'/%3e%3crect%20y='228'%20width='513'%20height='38'/%3e%3crect%20y='304'%20width='513'%20height='38'/%3e%3crect%20width='190'%20height='190'/%3e%3c/g%3e%3cg%3e%3crect%20y='76'%20fill='%23FFFFFF'%20width='190'%20height='38'/%3e%3crect%20x='76'%20fill='%23FFFFFF'%20width='38'%20height='190'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GS-IFDbLNwE.js b/contrib/data/www/web/assets/GS-IFDbLNwE.js new file mode 100644 index 00000000..8ef1561d --- /dev/null +++ b/contrib/data/www/web/assets/GS-IFDbLNwE.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%230052B4'%20width='513'%20height='342'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20256,117.4%20209.9,117.4%20256,148.1%20256,170.7%20233.4,170.7%20160,121.8%20160,170.7%2096,170.7%2096,121.8%2022.6,170.7%200,170.7%200,148.1%2046.1,117.4%200,117.4%200,53.4%2046.1,53.4%200,22.7%200,0%2022.6,0%2096,48.9%2096,0%20160,0%20160,48.9%20233.4,0%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.4%200,69.4%200,101.4%20112,101.4%20112,170.7%20144,170.7%20144,101.4%20256,101.4%20256,69.4%20144,69.4%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='256,22.7%20256,53.4%20209.9,53.4%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,170.7%200,159.7%2062.5,117.4%2085.1,117.4%207.3,170.7%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='7.3,0.1%2085.1,53.3%2062.5,53.3%200,11.1%200,0.1%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,0.1%20256,11.1%20193.5,53.4%20170.9,53.4%20248.7,0.1%20'/%3e%3cpolygon%20fill='%23D80027'%20points='248.7,170.7%20170.9,117.4%20193.5,117.4%20256,159.7%20256,170.7%20'/%3e%3c/g%3e%3cg%3e%3cellipse%20fill='%23FFFFFF'%20cx='443.4'%20cy='233.6'%20rx='29'%20ry='43.5'/%3e%3cellipse%20fill='%23FFCE00'%20cx='406.9'%20cy='317.7'%20rx='22'%20ry='9.3'/%3e%3cellipse%20fill='%23FFCE00'%20cx='364'%20cy='317.7'%20rx='22'%20ry='9.3'/%3e%3cpolygon%20fill='%2339B200'%20points='342,190.1%20385.4,277%20428.9,190.1%20'/%3e%3cellipse%20fill='%239B9B9B'%20cx='327.5'%20cy='233.6'%20rx='29'%20ry='43.5'/%3e%3cpath%20fill='%23757575'%20d='M371,175.6l-14.5,14.5h57.9l-14.5-14.5l14.5-43.5c0,0-13-29-29-29s-29,29-29,29L371,175.6z'/%3e%3ccircle%20fill='%23C6B56F'%20cx='385.4'%20cy='67'%20r='29'/%3e%3ccircle%20fill='%23A54A00'%20cx='386'%20cy='88.7'%20r='29'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='443.4'%20cy='117.7'%20r='29'/%3e%3ccircle%20fill='%230049FF'%20cx='342.2'%20cy='146.7'%20r='29'/%3e%3ccircle%20fill='%230041F9'%20cx='429.8'%20cy='146.7'%20r='29'/%3e%3ccircle%20fill='%23F7D71E'%20cx='386'%20cy='233.6'%20r='29'/%3e%3ccircle%20fill='%23CEC851'%20cx='457.9'%20cy='190.1'%20r='29'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='385.4'%20cy='289.5'%20r='29'/%3e%3cpath%20fill='%237C0B29'%20d='M371,135.7l14.5-3.5l14.5,3.5c0,7.5-14.5,11-14.5,11S371,143.2,371,135.7z'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='327.5'%20cy='117.4'%20r='29'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/GT-Dw6YDROG.js b/contrib/data/www/web/assets/GT-Dw6YDROG.js new file mode 100644 index 00000000..753b539c --- /dev/null +++ b/contrib/data/www/web/assets/GT-Dw6YDROG.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20y='0'%20fill='%23338AF3'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23338AF3'%20width='171'%20height='342'/%3e%3c/g%3e%3ccircle%20fill='%23DCC26D'%20cx='256'%20cy='155.8'%20r='25.5'/%3e%3cpath%20fill='%23628A40'%20d='M194.2,155.9c0,22.1,11.8,42.5,30.8,53.5c5.9,3.4,13.5,1.4,16.9-4.5c3.4-5.9,1.4-13.5-4.5-16.9%20c-11.5-6.6-18.5-18.9-18.5-32.1c0-6.8-5.5-12.4-12.4-12.4S194.2,149,194.2,155.9z%20M289.3,208c17.8-11.4,28.6-31,28.5-52.1%20c0-6.8-5.5-12.4-12.4-12.4c-6.8,0-12.4,5.5-12.4,12.4c0,12.7-6.5,24.5-17.1,31.3c-5.8,3.6-7.7,11.2-4.1,17c3.6,5.8,11.2,7.7,17,4.1%20C289,208.2,289.1,208.1,289.3,208z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/GU-DzR4EhPy.js b/contrib/data/www/web/assets/GU-DzR4EhPy.js new file mode 100644 index 00000000..0d3a3d91 --- /dev/null +++ b/contrib/data/www/web/assets/GU-DzR4EhPy.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23D80027'%20width='513'%20height='342'/%3e%3crect%20x='11.1'%20y='11.1'%20fill='%230052B4'%20width='489.7'%20height='319.1'/%3e%3cpath%20fill='%237DBEF1'%20d='M256,285.3c0,0,76.4-51.3,76.4-114.6S256,56,256,56s-76.4,51.3-76.4,114.6S256,285.3,256,285.3z'/%3e%3cpolygon%20fill='%231C8AE6'%20points='179.8,180.7%20332.4,180.7%20303.1,245.6%20207.9,245.6%20'/%3e%3cpath%20fill='%23FFF042'%20d='M192.3,205.9c0,0,40.5,38.2,51,38.2c12.4,0,12.6-18.4,25.5-25.5c20.2-11.1,51-12.7,51-12.7l-22.8,42.8l-41,36.6%20l-46.8-39.7L192.3,205.9z'/%3e%3cpath%20fill='%23259C7B'%20d='M256,157.5l-22.5,15.6l7.9-26.2l-21.8-16.5l27.4-0.5l9-25.9l9,25.9l27.4,0.5L270.6,147l7.9,26.2L256,157.5z'/%3e%3cpath%20fill='%238E5715'%20d='M249.7,144.6c-0.9,9.2-1.5,18.4-1.7,27.6c-0.3,11.9,0.3,20.7,2,26c2.2,6.6,7.2,12.9,14.2,18.9%20c5.3,4.6,10.6,8.1,14.2,10.1c3.1,1.7,7,0.6,8.7-2.4c1.7-3.1,0.6-7-2.4-8.7l0,0c-4.3-2.5-8.4-5.4-12.2-8.7%20c-5.4-4.6-9.1-9.2-10.4-13.3c-1.1-3.4-1.6-11.3-1.4-21.7c0.2-8.9,0.8-17.8,1.7-26.6c0.4-3.5-2.2-6.6-5.7-7%20C253.1,138.5,250,141.1,249.7,144.6z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M217.8,170.7l25.5,38.2h-25.5V170.7z'/%3e%3cpath%20fill='none'%20stroke='%23D80027'%20stroke-width='12'%20stroke-miterlimit='10'%20d='M256,285.3c0,0,76.4-51.3,76.4-114.6S256,56,256,56s-76.4,51.3-76.4,114.6S256,285.3,256,285.3z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/GW-DULDgb9f.js b/contrib/data/www/web/assets/GW-DULDgb9f.js new file mode 100644 index 00000000..28e16cd5 --- /dev/null +++ b/contrib/data/www/web/assets/GW-DULDgb9f.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%236DA544'%20width='512'%20height='342'/%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='512'%20height='171'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='182'%20height='342'/%3e%3cpolygon%20fill='%23000'%20points='98.3,109.8%20113.4,156.3%20162.3,156.3%20122.8,185%20137.9,231.5%2098.3,202.8%2058.8,231.5%2073.9,185%2034.3,156.3%2083.2,156.3%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/GY-DFiRqyUV.js b/contrib/data/www/web/assets/GY-DFiRqyUV.js new file mode 100644 index 00000000..b1c6b8ad --- /dev/null +++ b/contrib/data/www/web/assets/GY-DFiRqyUV.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20900%20600'%3e%3cpath%20fill='%23009E49'%20d='M0,0h900v600H0V0z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M0,0l947,300L0,600V0z'/%3e%3cpath%20fill='%23FFD00D'%20d='M0,26.1L870,300L0,573.9V26.1z'/%3e%3cpath%20fill='%232D2D2D'%20d='M0,0l450,300L0,600V0z'/%3e%3cpath%20fill='%23D3132F'%20d='M0,35l397.5,265L0,565V35z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/HK-CjKIxoZ0.js b/contrib/data/www/web/assets/HK-CjKIxoZ0.js new file mode 100644 index 00000000..3d4a6f07 --- /dev/null +++ b/contrib/data/www/web/assets/HK-CjKIxoZ0.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20viewBox='0%200.5%2021%2014'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20fill='%23FFFFFF'%20d='M0%200h21v15H0z'/%3e%3cpath%20fill='%23ee1c25'%20d='M0%200h21v15H0z'/%3e%3cpath%20d='M12%207.19c-.798-.5-1%20.409-1%200%200-.828.895-1.5%202-1.5s2%20.672%202%201.5c-.949%200-1.044.5-1.5.5-.56%200-.702%200-1.5-.5zM13.25%207a.25.25%200%201%200%200-.5.25.25%200%200%200%200%20.5zm-1.81%201.962c.228-.913-.698-.824-.31-.95.788-.257%201.703.387%202.045%201.438.341%201.05-.021%202.11-.809%202.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566%201.13a.25.25%200%201%200%20.476-.154.25.25%200%200%200-.476.154zM9.58%208.977c.94-.065.57-.919.81-.588.486.67.157%201.74-.737%202.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413%201.507-.477zm-.899.888a.25.25%200%201%200%20.294.405.25.25%200%200%200-.294-.405zm.312-2.652c.351.874%201.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559%201.138.21%201.507.478.453.33.568.413.92%201.286zm-1.124-.58a.25.25%200%201%200-.293.404.25.25%200%200%200%20.293-.404zm2.619-.524c-.722.605.08%201.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05%201.257-1.695%202.045-1.439-.293.903.153%201.147.012%201.581-.173.533-.217.668-.939%201.272zm.205-1.247a.25.25%200%201%200-.475-.155.25.25%200%200%200%20.475.155z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/HM-iT-MxlIG.js b/contrib/data/www/web/assets/HM-iT-MxlIG.js new file mode 100644 index 00000000..ad37d816 --- /dev/null +++ b/contrib/data/www/web/assets/HM-iT-MxlIG.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='342'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpath%20d='M223.4,170.7c0.3-0.3,0.5-0.6,0.8-0.9C223.9,170.1,223.7,170.4,223.4,170.7L223.4,170.7z'/%3e%3cpolygon%20points='189.2,212.6%20200.2,235.5%20224.9,229.8%20213.8,252.6%20233.7,268.4%20209,274%20209,299.4%20189.2,283.5%20169.4,299.4%20169.5,274%20144.7,268.4%20164.6,252.6%20153.5,229.8%20178.3,235.5%20'/%3e%3cpolygon%20points='387.1,241.1%20392.3,252%20404.1,249.3%20398.8,260.2%20408.3,267.7%20396.5,270.3%20396.5,282.5%20387.1,274.9%20377.6,282.5%20377.7,270.3%20365.8,267.7%20375.3,260.2%20370,249.3%20381.9,252%20'/%3e%3cpolygon%20points='338.5,125.1%20343.7,136%20355.5,133.3%20350.2,144.2%20359.7,151.7%20347.9,154.4%20347.9,166.5%20338.5,158.9%20329,166.5%20329,154.4%20317.2,151.7%20326.7,144.2%20321.4,133.3%20333.2,136%20'/%3e%3cpolygon%20points='387.1,58.9%20392.3,69.8%20404.1,67.1%20398.8,78%20408.3,85.5%20396.5,88.2%20396.5,100.3%20387.1,92.7%20377.6,100.3%20377.7,88.2%20365.8,85.5%20375.3,78%20370,67.1%20381.9,69.8%20'/%3e%3cpolygon%20points='429.5,108.6%20434.8,119.5%20446.6,116.8%20441.3,127.7%20450.8,135.2%20439,137.8%20439,150%20429.5,142.4%20420.1,150%20420.1,137.8%20408.3,135.2%20417.8,127.7%20412.5,116.8%20424.3,119.5%20'/%3e%3cpolygon%20points='399.2,166.5%20403.3,179.2%20416.6,179.2%20405.8,187%20409.9,199.6%20399.2,191.8%20388.4,199.6%20392.5,187%20381.8,179.2%20395.1,179.2%20'/%3e%3cpolygon%20points='256,0%20256,30.6%20210.8,55.7%20256,55.7%20256,115%20196.9,115%20256,147.8%20256,170.7%20229.3,170.7%20155.8,129.8%20155.8,170.7%20100.2,170.7%20100.2,122.1%2012.7,170.7%200,170.7%200,140.1%2045.2,115%200,115%200,55.7%2059.1,55.7%200,22.8%200,0%2026.7,0%20100.2,40.8%20100.2,0%20155.8,0%20155.8,48.6%20243.3,0%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.3%200,69.3%200,101.3%20112,101.3%20112,170.7%20144,170.7%20144,101.3%20256,101.3%20256,69.3%20144,69.3%20'/%3e%3cpolygon%20fill='%230052B4'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cg%20fill='%23D80027'%3e%3cpolygon%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cpolygon%20points='71.8,115%200,154.9%200,170.7%200,170.7%20100.2,115%20'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cg%20fill='%23D80027'%3e%3cpolygon%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cpolygon%20points='184.2,55.6%20256,15.7%20256,0%20256,0%20155.8,55.6%20'/%3e%3c/g%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/HN-DHepbgm0.js b/contrib/data/www/web/assets/HN-DHepbgm0.js new file mode 100644 index 00000000..0afaa52f --- /dev/null +++ b/contrib/data/www/web/assets/HN-DHepbgm0.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23338AF3'%3e%3crect%20y='0'%20width='513'%20height='114'/%3e%3crect%20y='228'%20width='513'%20height='114'/%3e%3cpolygon%20points='203.5,117.9%20210.2,134.5%20227.8,135.5%20213.8,146.4%20218.5,164.1%20203.5,154.2%20188.5,164.1%20193.2,146.4%20179.2,135.5%20196.8,134.5%20'/%3e%3cpolygon%20points='308.5,117.9%20315.2,134.5%20332.8,135.5%20318.8,146.4%20323.5,164.1%20308.5,154.2%20293.5,164.1%20298.2,146.4%20284.2,135.5%20301.8,134.5%20'/%3e%3cpolygon%20points='256,147.6%20262.7,164.2%20280.3,165.2%20266.3,176.1%20271,193.8%20256,183.9%20241,193.8%20245.7,176.1%20231.7,165.2%20249.3,164.2%20'/%3e%3cpolygon%20points='203.5,177.3%20210.2,193.9%20227.8,194.9%20213.8,205.8%20218.5,223.4%20203.5,213.5%20188.5,223.4%20193.2,205.8%20179.2,194.9%20196.8,193.9%20'/%3e%3cpolygon%20points='308.5,177.3%20315.2,193.9%20332.8,194.9%20318.8,205.8%20323.5,223.4%20308.5,213.5%20293.5,223.4%20298.2,205.8%20284.2,194.9%20301.8,193.9%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/HR-DSd-JLbR.js b/contrib/data/www/web/assets/HR-DSd-JLbR.js new file mode 100644 index 00000000..1c08f696 --- /dev/null +++ b/contrib/data/www/web/assets/HR-DSd-JLbR.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%230052B4'%20width='513'%20height='114'/%3e%3cg%20fill='%23338AF3'%3e%3cpolygon%20points='309.3,113.2%20309.3,69.2%20326.8,54.8%20344.5,69.2%20344.5,113.2%20'/%3e%3cpolygon%20points='203.7,113.2%20203.7,69.2%20186.4,54.8%20168.5,69.2%20168.5,113.2%20'/%3e%3cpolygon%20points='238.9,113.2%20238.9,69.2%20256.5,54.8%20274.1,69.2%20274.1,113.2%20'/%3e%3c/g%3e%3cg%20fill='%230052B4'%3e%3cpolygon%20points='309.3,113.2%20274.1,113.2%20274.1,69.2%20291.6,54.8%20309.3,69.2%20'/%3e%3cpolygon%20points='238.9,113.2%20203.7,113.2%20203.7,69.2%20221.2,54.8%20238.9,69.2%20'/%3e%3c/g%3e%3cpath%20stroke='%23D80027'%20stroke-width='1'%20fill='%23FFFFFF'%20d='M168.5,113.2v101.9c0,24.3,14.4,46.2,35.4,59.4c21.3,13.4,42.1,14.7,52.6,14.7c10.5,0,31.4-1.7,52.6-14.8%20c21-13,35.4-35.1,35.4-59.3V113.2L168.5,113.2z'/%3e%3cg%20fill='%23D80027'%3e%3crect%20x='168.5'%20y='113.2'%20width='35.2'%20height='35.2'/%3e%3crect%20x='238.9'%20y='113.2'%20width='35.2'%20height='35.2'/%3e%3crect%20x='309.3'%20y='113.2'%20width='35.2'%20height='35.2'/%3e%3crect%20x='203.7'%20y='148.4'%20width='35.2'%20height='35.2'/%3e%3crect%20x='274.1'%20y='148.4'%20width='35.2'%20height='35.2'/%3e%3crect%20x='168.5'%20y='183.6'%20width='35.2'%20height='35.2'/%3e%3crect%20x='203.7'%20y='218.8'%20width='35.2'%20height='35.2'/%3e%3crect%20x='238.9'%20y='183.6'%20width='35.2'%20height='35.2'/%3e%3crect%20x='309.3'%20y='183.6'%20width='35.2'%20height='35.2'/%3e%3crect%20x='274.1'%20y='218.8'%20width='35.2'%20height='35.2'/%3e%3cpath%20d='M309.3,274.3c8.6-5.4,16.2-12.3,22-20.3h-22V274.3z'/%3e%3cpath%20d='M181.7,254c5.8,8,13.3,14.9,22,20.4V254H181.7z'/%3e%3cpath%20d='M238.9,254v33.7c7.2,1.2,13.3,1.5,17.6,1.5c4.3,0,10.4-0.3,17.6-1.6V254H238.9z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/HT-CqkxwVFz.js b/contrib/data/www/web/assets/HT-CqkxwVFz.js new file mode 100644 index 00000000..128803fb --- /dev/null +++ b/contrib/data/www/web/assets/HT-CqkxwVFz.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23A2001D'%20width='513'%20height='172'/%3e%3crect%20y='172'%20fill='%230052B4'%20width='513'%20height='172'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='381.4,251.5%20270.7,237.7%20159.9,251.5%20159.9,85.4%20381.4,85.4%20'/%3e%3ccircle%20fill='%230052B4'%20cx='270.7'%20cy='182.3'%20r='55.4'/%3e%3ccircle%20fill='%23A2001D'%20cx='270.7'%20cy='182.3'%20r='27.7'/%3e%3cpolygon%20fill='%236DA544'%20points='229.1,113.1%20312.2,113.1%20270.7,154.6%20'/%3e%3crect%20x='256.8'%20y='140.8'%20fill='%23FFDA44'%20width='27.7'%20height='83'/%3e%3cpolygon%20fill='%236DA544'%20points='314.9,215.5%20226.4,215.5%20159.9,251.5%20381.4,251.5%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/HU-Cy7u9-qp.js b/contrib/data/www/web/assets/HU-Cy7u9-qp.js new file mode 100644 index 00000000..cb8ebebd --- /dev/null +++ b/contrib/data/www/web/assets/HU-Cy7u9-qp.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%236DA544'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/IC-CJJhkl-n.js b/contrib/data/www/web/assets/IC-CJJhkl-n.js new file mode 100644 index 00000000..d9887c21 --- /dev/null +++ b/contrib/data/www/web/assets/IC-CJJhkl-n.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20300%20200'%3e%3crect%20width='300'%20height='200'%20fill='%23fc0'/%3e%3crect%20width='200'%20height='200'%20fill='%230768a9'/%3e%3crect%20width='100'%20height='200'%20fill='%23fff'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/ID-Cc4MKPAt.js b/contrib/data/www/web/assets/ID-Cc4MKPAt.js new file mode 100644 index 00000000..3dfa4d66 --- /dev/null +++ b/contrib/data/www/web/assets/ID-Cc4MKPAt.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23EE0000'%20width='513'%20height='171'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/IE-Bs5eJbrt.js b/contrib/data/www/web/assets/IE-Bs5eJbrt.js new file mode 100644 index 00000000..59d6880e --- /dev/null +++ b/contrib/data/www/web/assets/IE-Bs5eJbrt.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%236DA544'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23FF9811'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/IL-x3uCxx9g.js b/contrib/data/www/web/assets/IL-x3uCxx9g.js new file mode 100644 index 00000000..46a1f88d --- /dev/null +++ b/contrib/data/www/web/assets/IL-x3uCxx9g.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%232E52B2'%3e%3cpath%20d='M340.6,122.4h-56.1l-28-48.6l-28,48.6h-56.1l28,48.6l-28,48.6h56.1l28,48.6l28-48.6h56.1l-28-48.6L340.6,122.4%20z%20M293.2,171l-17.2,33.2h-38.9L219.8,171l17.2-33.2h38.9L293.2,171z%20M256.5,99.2l11.9,23.3h-23.9L256.5,99.2z%20M198.2,137.8h23.9%20l-10.8,21L198.2,137.8z%20M198.2,204.2l13-22.1l11.9,22.1H198.2z%20M256.5,241.7l-11.9-22.1h23.9L256.5,241.7z%20M315.9,204.2h-25%20l11.9-22.1L315.9,204.2z%20M289.8,137.8h26.1l-13,22.1L289.8,137.8z'/%3e%3crect%20y='21.3'%20width='512'%20height='42.7'/%3e%3crect%20y='277.3'%20width='512'%20height='42.7'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/IM-Ck6NBcbK.js b/contrib/data/www/web/assets/IM-Ck6NBcbK.js new file mode 100644 index 00000000..ac08bb41 --- /dev/null +++ b/contrib/data/www/web/assets/IM-Ck6NBcbK.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23E52D42'%20width='513'%20height='342'/%3e%3cpath%20fill='%23FFFFFF'%20d='M393.3,68.2h-45.8l-33.8,80.2l-34.4-22.9c0,0-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-0.6-48.9,7.8%20c-29.6,8.4-30.8,18.7-42.2,18.7c-4.8,0-19.9-17.5-27.7-22.3c-12.1-7.8-16.9-4.2-13.9,7.2c1.2,4.8,10.9,10.9,16.9,19.9%20c7.8,11.5,12.7,25.9,12.7,25.9s10.9-10.3,16.9-12.1c9-2.4,19.3,1.8,31.4,0c15.1-2.4,31.4-10.9,31.4-10.9l4.2,43.4%20c0,0-54.3,50.7-49.5,70.6s56.1,44.6,68.2,62.7c12.1,17.5-7.2,24.1-7.2,32.6s-1.8,19.9,7.2,16.3c9-3.6,10.3-18.1,18.7-31.4%20c6-9,10.3-13.9,11.5-17.5c1.8-9-23.5-32-37.4-48.9c-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6c0,0,67.6,27.7,82.6,18.7%20c15.1-9,19.3-98.3,19.3-98.3l47-11.5L393.3,68.2z'/%3e%3cpath%20fill='%23F8DD4E'%20d='M279.3,262.4c-6,0-11.5-4.8-11.5-11.5s4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5S285.3,262.4,279.3,262.4z%20M325.1,79.6c-6,0-11.5-4.8-11.5-11.5s4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5S331.1,79.6,325.1,79.6z%20M325.1,170.7%20c-6,0-11.5-4.8-11.5-11.5c0-6,4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5C336,165.9,331.1,170.7,325.1,170.7z%20M188.2,216.5%20c-6,0-11.5-4.8-11.5-11.5c0-6,4.8-11.5,11.5-11.5c6.6,0,11.5,4.8,11.5,11.5C199.7,211.7,194.2,216.5,188.2,216.5z%20M233.4,79.6%20c-6,0-11.5-4.8-11.5-11.5s4.8-11.5,11.5-11.5c6,0,11.5,4.8,11.5,11.5S240.1,79.6,233.4,79.6z%20M256.3,170.7c-6,0-11.5-10.3-11.5-22.9%20s4.8-22.9,11.5-22.9c6,0,11.5,10.3,11.5,22.9S263,170.7,256.3,170.7z%20M142.3,125.5c-6,0-11.5-4.8-11.5-11.5%20c0-6.6,4.8-11.5,11.5-11.5c6.6,0,11.5,4.8,11.5,11.5C153.8,120.6,149,125.5,142.3,125.5z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/IN-BWYcDrrm.js b/contrib/data/www/web/assets/IN-BWYcDrrm.js new file mode 100644 index 00000000..19069c0a --- /dev/null +++ b/contrib/data/www/web/assets/IN-BWYcDrrm.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpath%20fill='%23F93'%20d='M0%200h513v114H0z'%20/%3e%3cpath%20fill='%23fff'%20d='M0%20114h513v114H0z'%20/%3e%3cpath%20fill='%23138808'%20d='M0%20228h513v114H0z'%20/%3e%3ccircle%20cx='256.5'%20cy='171'%20r='34.2'%20stroke='navy'%20stroke-width='4'%20fill='none'%20/%3e%3ccircle%20cx='256.5'%20cy='171'%20r='3.42'%20fill='navy'%20/%3e%3cg%20stroke='navy'%20stroke-width='2'%3e%3cpath%20d='M256.5%20137v68%20M256.5%20137v68'%20transform='rotate(15,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(30,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(45,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(60,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(75,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(90,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(105,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(120,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(135,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(150,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(165,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(180,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(195,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(210,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(225,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(240,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(255,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(270,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(285,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(300,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(315,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(330,256.5,171)'%20/%3e%3cpath%20d='M256.5%20137v68'%20transform='rotate(345,256.5,171)'%20/%3e%3c/g%3e%3c/svg%3e";export{t as default}; diff --git a/contrib/data/www/web/assets/IO-B3uMKo7N.svg b/contrib/data/www/web/assets/IO-B3uMKo7N.svg new file mode 100644 index 00000000..3da3f2f9 --- /dev/null +++ b/contrib/data/www/web/assets/IO-B3uMKo7N.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contrib/data/www/web/assets/IO-Dez4wQyI.js b/contrib/data/www/web/assets/IO-Dez4wQyI.js new file mode 100644 index 00000000..61b391ff --- /dev/null +++ b/contrib/data/www/web/assets/IO-Dez4wQyI.js @@ -0,0 +1 @@ +const s="/web/assets/IO-B3uMKo7N.svg";export{s as default}; diff --git a/contrib/data/www/web/assets/IQ-BVBBmvCn.js b/contrib/data/www/web/assets/IQ-BVBBmvCn.js new file mode 100644 index 00000000..543037b0 --- /dev/null +++ b/contrib/data/www/web/assets/IQ-BVBBmvCn.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23CE1126'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23000'%20width='513'%20height='114'/%3e%3cg%20fill='%23547C31'%3e%3cpath%20d='M219.2,160.7c-0.1,0-0.2,0-0.2,0l0,0h-29.1c1.5-5.7,6.6-9.9,12.8-9.9v-19.9c-18.3,0-33.1,14.9-33.1,33.1v16.2%20v0.3H219c0.1,0,0.2,0,0.2,0c1.8,0,3.3,1.5,3.3,3.3v6.6h-66.2v19.9h86.1v-26.5C242.4,171.1,232,160.7,219.2,160.7z'/%3e%3cpolygon%20points='268.8,190.5%20268.8,130.9%20249,130.9%20249,210.4%20282.1,210.4%20282.1,190.5%20'/%3e%3cpolygon%20points='335,190.5%20335,130.9%20315.2,130.9%20315.2,190.5%20308.6,190.5%20308.6,170.7%20288.7,170.7%20288.7,210.4%20348.3,210.4%20348.3,190.5%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/IR-nDyIXGna.js b/contrib/data/www/web/assets/IR-nDyIXGna.js new file mode 100644 index 00000000..e76c1b37 --- /dev/null +++ b/contrib/data/www/web/assets/IR-nDyIXGna.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='512'%20height='342'/%3e%3crect%20y='0'%20fill='%236DA544'%20width='513'%20height='114'/%3e%3cg%20fill='%23D80027'%3e%3crect%20y='227.9'%20width='513'%20height='114'/%3e%3cpath%20d='M278.8,134.8c0.1,2,8.7,26.2,4.4,39.4c-6.6,20.3-15.8,21.8-19.8,24.5v-64.7l-6.9-4.2l-6.9,4.2v64.7%20c-4-2.7-12.4-2.4-19.8-24.5c-4.3-12.7,5.7-37.3,5.8-39.2c0,0-9.5,8.1-15.8,24c-5.9,14.8,1.9,49.6,29.5,54.8%20c2.3,0.4,4.7,5.6,7.2,5.6c2.1,0,4.1-5.2,6-5.5c28.4-4.6,35-41.7,29.9-55.6C287,143.7,278.8,134.8,278.8,134.8z'/%3e%3c/g%3e%3cg%20fill='%23FFFFFF'%20opacity='0.5'%3e%3crect%20x='44.6'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='89.2'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='133.8'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='178.4'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='223'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='267.7'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='312.3'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='356.9'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='401.5'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='446.1'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='490.7'%20y='98.9'%20width='22.3'%20height='24.4'/%3e%3crect%20x='44.6'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='89.2'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='133.8'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='178.4'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='223'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='267.7'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='312.3'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='356.9'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='401.5'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='446.1'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3crect%20x='490.7'%20y='216.9'%20width='22.3'%20height='25.5'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/IS-DQY00ZsH.js b/contrib/data/www/web/assets/IS-DQY00ZsH.js new file mode 100644 index 00000000..675985f1 --- /dev/null +++ b/contrib/data/www/web/assets/IS-DQY00ZsH.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='513,210.6%20202.2,210.6%20202.2,341.3%20183.7,341.3%20141,341.3%20122.4,341.3%20122.4,210.6%200,210.6%200,192%200,149.3%200,130.8%20122.4,130.8%20122.4,0%20141,0%20183.7,0%20202.2,0%20202.2,130.8%20513,130.8%20513,149.3%20512,192%20'/%3e%3cpolygon%20fill='%23D80027'%20points='513,149.3%20513,192%20183.7,192%20183.7,341.3%20141,341.3%20141,192%200,192%200,149.3%20141,149.3%20141,0%20183.7,0%20183.7,149.3%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/IT-BUw142lt.js b/contrib/data/www/web/assets/IT-BUw142lt.js new file mode 100644 index 00000000..ceadea01 --- /dev/null +++ b/contrib/data/www/web/assets/IT-BUw142lt.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpolygon%20fill='%23F4F5F0'%20points='342,0%20170.7,0%200,0%200,341.3%20170.7,341.3%20342,341.3%20512,341.3%20512,0%20'/%3e%3crect%20y='0'%20fill='%23008C45'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23CD212A'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/JE-fiJ0wm8X.js b/contrib/data/www/web/assets/JE-fiJ0wm8X.js new file mode 100644 index 00000000..6fb4b94d --- /dev/null +++ b/contrib/data/www/web/assets/JE-fiJ0wm8X.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23D80027'%20points='301.8,171%20513,30.2%20513,0%20467.7,0%20256.5,140.8%2045.3,0%200,0%200,30.2%20211.2,171%200,311.8%200,342%2045.3,342%20256.5,201.2%20467.7,342%20513,342%20513,311.8%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='233.7,44.6%20256,50.2%20278.3,44.6%20282.3,23.7%20267.4,30.2%20256,14.8%20244.6,30.2%20229.7,23.7%20'/%3e%3cpath%20fill='%23D80027'%20d='M233.7,44.6c0,0-4,12.9-4,29.9c0,27.9,26.3,41.3,26.3,41.3s26.3-15.5,26.3-41.3c0-15.4-4-29.9-4-29.9%20s-8.1-5-22.3-5S233.7,44.6,233.7,44.6z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/JM-BJbXA2bB.js b/contrib/data/www/web/assets/JM-BJbXA2bB.js new file mode 100644 index 00000000..6e4e92e8 --- /dev/null +++ b/contrib/data/www/web/assets/JM-BJbXA2bB.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%236DA544'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23000'%20points='215.9,171%200,314.6%200,26.8%20'/%3e%3cpolygon%20fill='%23000'%20points='513,26.8%20513,314.6%20296.1,171%20'/%3e%3cpolygon%20fill='%230052B4'%20points='513,26.8%20296.1,171%20513,314.6%20513,342%20471.9,342%20256,197.4%2040.1,342%200,342%200,314.6%20215.9,171%200,26.8%200,0%2040.1,0%20256,143.9%20471.9,0%20513,0%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='513,26.8%20296.1,171%20513,314.6%20513,342%20471.9,342%20256,197.4%2040.1,342%200,342%200,314.6%20215.9,171%200,26.8%200,0%2040.1,0%20256,143.9%20471.9,0%20513,0%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/JO-B77LxlWU.js b/contrib/data/www/web/assets/JO-B77LxlWU.js new file mode 100644 index 00000000..50eb2272 --- /dev/null +++ b/contrib/data/www/web/assets/JO-B77LxlWU.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23000'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%236DA544'%20width='513'%20height='114'/%3e%3cpolygon%20fill='%23D80027'%20points='256.5,170.7%200,341.3%200,0%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='77.9,139.5%2085.8,155.9%20103.6,151.8%2095.6,168.3%20109.9,179.6%2092.1,183.6%2092.2,201.9%2077.9,190.4%2063.7,201.9%2063.7,183.6%2045.9,179.6%2060.2,168.3%2052.3,151.8%2070,155.9%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/JP-CK8eanJQ.js b/contrib/data/www/web/assets/JP-CK8eanJQ.js new file mode 100644 index 00000000..e1f2295e --- /dev/null +++ b/contrib/data/www/web/assets/JP-CK8eanJQ.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='512'%20height='342'/%3e%3ccircle%20fill='%23D80027'%20cx='256.5'%20cy='171'%20r='96'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KE-BlFf5Qxr.js b/contrib/data/www/web/assets/KE-BlFf5Qxr.js new file mode 100644 index 00000000..3a986912 --- /dev/null +++ b/contrib/data/www/web/assets/KE-BlFf5Qxr.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23000'%20width='512'%20height='90.579'/%3e%3crect%20y='251'%20fill='%23496E2D'%20width='513'%20height='91'/%3e%3crect%20y='114'%20fill='%23A2001D'%20width='513'%20height='114'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpolygon%20points='323.3,54.5%20297.7,42.7%20256,137%20214.3,42.7%20188.7,54.5%20240.5,170.7%20188.7,286.9%20214.3,298.7%20256,204.3%20297.7,298.7%20323.3,286.9%20271.5,170.7%20'/%3e%3cpath%20d='M273.4,65.6c-9.9-10.8-17.4-17-17.4-17s-7.5,6.2-17.4,17v210.1c9.9,10.8,17.4,17,17.4,17s7.5-6.2,17.4-17V65.6%20z'/%3e%3c/g%3e%3cg%20fill='%23A2001D'%3e%3cpath%20d='M209,105.9v129.5c10.5,18.5,23.3,33.7,32.9,43.8V62.1C232.3,72.2,219.5,87.4,209,105.9z'/%3e%3cpath%20d='M303,105.9c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1,22.4-25.3,32.9-43.8V105.9z'/%3e%3c/g%3e%3cpath%20fill='%23000'%20d='M303,105.9v129.5c10.6-18.8,18.8-41,18.8-64.8S313.6,124.7,303,105.9z'/%3e%3cpath%20fill='%23000'%20d='M209,105.9v129.5c-10.6-18.8-18.8-41-18.8-64.8S198.4,124.7,209,105.9z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KG-JN6XM7Fd.js b/contrib/data/www/web/assets/KG-JN6XM7Fd.js new file mode 100644 index 00000000..0b218170 --- /dev/null +++ b/contrib/data/www/web/assets/KG-JN6XM7Fd.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20342'%3e%3cg%20fill='%23D80027'%3e%3crect%20y='0'%20width='513'%20height='342'/%3e%3ccircle%20cx='256'%20cy='170.7'%20r='170.7'/%3e%3c/g%3e%3cpolygon%20fill='%23FFDA44'%20points='382.4,170.7%20330.8,195%20358.3,245%20302.2,234.3%20295.1,290.9%20256,249.2%20216.9,290.9%20209.8,234.3%20153.7,245%20181.2,195%20129.6,170.7%20181.2,146.4%20153.7,96.3%20209.8,107.1%20216.9,50.4%20256,92.1%20295.1,50.4%20302.2,107.1%20358.3,96.3%20330.8,146.4%20'/%3e%3ccircle%20fill='%23D80027'%20cx='257.4'%20cy='170.7'%20r='71.6'/%3e%3cg%20fill='%23FFDA44'%3e%3cpath%20d='M214.2,170.7c-2.1,0-4.1,0.1-6.2,0.3c0.1,12,4.4,22.9,11.6,31.5c3.8-10.3,9.5-19.6,16.7-27.7%20C229.4,172.1,222,170.7,214.2,170.7z'/%3e%3cpath%20d='M240.8,217.2c5.2,1.9,10.8,2.9,16.6,2.9c5.8,0,11.4-1,16.6-2.9c-2.8-11.1-8.7-21-16.6-28.8%20C249.5,196.2,243.6,206.1,240.8,217.2z'/%3e%3cpath%20d='M300.2,146c-8.5-14.8-24.5-24.7-42.8-24.7c-18.3,0-34.2,9.9-42.8,24.7c15.6,0.1,30.2,4.3,42.8,11.6%20C270,150.3,284.6,146,300.2,146z'/%3e%3cpath%20d='M278.5,174.8c7.2,8,12.9,17.4,16.7,27.7c7.2-8.5,11.5-19.5,11.6-31.5c-2-0.2-4.1-0.3-6.2-0.3%20C292.9,170.7,285.4,172.1,278.5,174.8z'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/KH-X6EC4OiB.js b/contrib/data/www/web/assets/KH-X6EC4OiB.js new file mode 100644 index 00000000..0fed4a81 --- /dev/null +++ b/contrib/data/www/web/assets/KH-X6EC4OiB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%230052B4'%20width='513'%20height='114'/%3e%3c/g%3e%3cpolygon%20fill='%23FFFFFF'%20points='303.5,196.6%20303.5,178.8%20291.6,178.8%20291.6,155.1%20279.7,143.2%20267.9,155.1%20267.9,131.3%20256,119.5%20244.1,131.3%20244.1,155.1%20232.3,143.2%20220.4,155.1%20220.4,178.8%20208.5,178.8%20208.5,196.6%20196.6,196.6%20196.6,214.4%20315.4,214.4%20315.4,196.6%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KI-CaTWAqLF.js b/contrib/data/www/web/assets/KI-CaTWAqLF.js new file mode 100644 index 00000000..dc8761c6 --- /dev/null +++ b/contrib/data/www/web/assets/KI-CaTWAqLF.js @@ -0,0 +1 @@ +const s="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20450%20300'%3e%3cpath%20fill='%23CE1126'%20d='M0,0h450v300H0V0z'/%3e%3cg%20fill='%23FCD116'%3e%3ccircle%20cx='227.6'%20cy='161.2'%20r='56.2'/%3e%3cpolygon%20points='254.1,73.4%20230.4,99.4%20259,105.9%20'/%3e%3cpolygon%20points='202.6,73.6%20197.8,106.7%20226.3,98.7%20'/%3e%3cpolygon%20points='296.9,100.3%20262.2,108.8%20282.3,132.5%20'/%3e%3cpolygon%20points='158.6,98.5%20174.1,131.2%20194.3,108.5%20'/%3e%3cpolygon%20points='317.6,143.8%20283.2,133.9%20288.8,163.4%20'/%3e%3cpolygon%20points='135.6,141.2%20167.5,161%20172.7,133.3%20'/%3e%3c/g%3e%3cpath%20fill='%23003F87'%20d='M0,175h450v125H0V175z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M0,267c15,0,30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13%20s30,13,45,13s30-13,45-13v-21c-15,0-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13%20s-30-13-45-13s-30,13-45,13s-30-13-45-13V267z%20M0,224c15,0,30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13%20s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13v-21c-15,0-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13%20s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13V224z%20M0,181c15,0,30,13,45,13s30-13,45-13%20s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13s30,13,45,13s30-13,45-13v-21c-15,0-30,13-45,13%20s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13s-30,13-45,13s-30-13-45-13V181z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23FCD116'%20d='M183.2,48.3l-1.1-5.3l22.4-3.7c0,0-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7,11,64.8,11%20c4.3,0,12.8,10.7,12.8,10.7s14.8-14.9,21.9-15.4c32.1-2.3,66.6-6.4,66.6-6.4s-10,6.7-16,8.5c-16.2,4.9-50.6,11.7-50.6,11.7l-4.8,7.5%20H277l-14.4,4.3l7.4,6.9c0,0-7.8-4.1-18.1-2.1c-7.1,1.3-15.4,6-22.9,8c-18.7,4.8-29.9-12.8-29.9-12.8S183.2,48.3,183.2,48.3z'/%3e%3c/svg%3e";export{s as default}; diff --git a/contrib/data/www/web/assets/KM-mjEvtiuf.js b/contrib/data/www/web/assets/KM-mjEvtiuf.js new file mode 100644 index 00000000..c2d5aa41 --- /dev/null +++ b/contrib/data/www/web/assets/KM-mjEvtiuf.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='85.5'/%3e%3crect%20y='85.5'%20fill='%23FFFFFF'%20width='513'%20height='85.5'/%3e%3crect%20y='171'%20fill='%23D80027'%20width='513'%20height='85.5'/%3e%3cpolygon%20fill='%236DA544'%20points='256.5,171%200,342%200,0%20'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpath%20d='M68.6,170.7c0-24.9,17.5-45.6,40.8-50.7c-3.6-0.8-7.3-1.2-11.1-1.2c-28.7,0-51.9,23.3-51.9,51.9%20s23.3,51.9,51.9,51.9c3.8,0,7.5-0.4,11.1-1.2C86.1,216.3,68.6,195.5,68.6,170.7z'/%3e%3cpolygon%20points='108.9,126.1%20111.6,134.6%20120.6,134.6%20113.3,139.9%20116.1,148.4%20108.9,143.2%20101.6,148.4%20104.4,139.9%2097.2,134.6%20106.1,134.6%20'/%3e%3cpolygon%20points='108.9,148.4%20111.6,156.9%20120.6,156.9%20113.3,162.2%20116.1,170.7%20108.9,165.4%20101.6,170.7%20104.4,162.2%2097.2,156.9%20106.1,156.9%20'/%3e%3cpolygon%20points='108.9,170.7%20111.6,179.2%20120.6,179.2%20113.3,184.4%20116.1,192.9%20108.9,187.7%20101.6,192.9%20104.4,184.4%2097.2,179.2%20106.1,179.2%20'/%3e%3cpolygon%20points='108.9,192.9%20111.6,201.4%20120.6,201.4%20113.3,206.7%20116.1,215.2%20108.9,209.9%20101.6,215.2%20104.4,206.7%2097.2,201.4%20106.1,201.4%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KN-HuXJxu2q.js b/contrib/data/www/web/assets/KN-HuXJxu2q.js new file mode 100644 index 00000000..8c357938 --- /dev/null +++ b/contrib/data/www/web/assets/KN-HuXJxu2q.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='342'/%3e%3cpolyline%20fill='%236DA544'%20points='512,0%200,0%200,342%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='307.7,0%200,194.5%200,342%20206.9,342%20513,148.5%20513,0%20'/%3e%3cpolygon%20fill='%23000000'%20points='513,0%20385.2,0%200,249.4%200,341%20126.2,342%20513,91.6%20'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpolygon%20points='141.1,187%20172.3,211%20204.6,188.8%20191.5,225.8%20222.6,249.7%20183.4,248.6%20170.2,285.6%20159.1,248%20119.9,246.9%20152.2,224.7%20'/%3e%3cpolygon%20points='310.6,70.8%20341.8,94.7%20374.1,72.5%20361,109.5%20392.1,133.4%20352.9,132.3%20339.7,169.3%20328.6,131.7%20289.4,130.6%20321.8,108.4%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KP-BItPmeJA.js b/contrib/data/www/web/assets/KP-BItPmeJA.js new file mode 100644 index 00000000..d20eef0b --- /dev/null +++ b/contrib/data/www/web/assets/KP-BItPmeJA.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%2391DC5A'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%230052B4'%3e%3crect%20y='0'%20width='513'%20height='57.188'/%3e%3crect%20y='284.1'%20width='513'%20height='57.177'/%3e%3c/g%3e%3crect%20y='79.9'%20fill='%23D80027'%20width='513'%20height='181.582'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='190.33'%20cy='171'%20r='65.668'/%3e%3cpolygon%20fill='%23D80027'%20points='190.3,105%20205.1,150.3%20252.8,150.3%20214.2,178.4%20229,223.9%20190.3,195.7%20151.7,223.8%20166.5,178.4%20127.9,150.3%20175.6,150.3%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KR-UUuMeJgj.js b/contrib/data/www/web/assets/KR-UUuMeJgj.js new file mode 100644 index 00000000..a9adbdea --- /dev/null +++ b/contrib/data/www/web/assets/KR-UUuMeJgj.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20900%20600'%3e%3crect%20fill='%23FFFFFF'%20width='900'%20height='600'/%3e%3cg%20transform='rotate(-56.3099325)'%3e%3cg%20stroke='%23000000'%20stroke-width='25'%3e%3cpath%20d='M-75,228.3H75%20M-75,265.8l150,0%20M-75,303.3H75'/%3e%3cpath%20d='M-75,778.3H75%20M-75,815.8H75%20M-75,853.3H75'/%3e%3c/g%3e%3cpath%20stroke='%23FFFFFF'%20stroke-width='12.5'%20d='M0,753.3l0,125'/%3e%3ccircle%20fill='%23ca163a'%20cx='0'%20cy='540.8'%20r='150'/%3e%3cpath%20fill='%230e4896'%20d='M0,390.8c-41.4,0-75,33.6-75,75s33.6,75,75,75s75,33.6,75,75c0,41.4-33.6,75-75,75c-82.8,0-150-67.2-150-150%20S-82.8,390.8,0,390.8z'/%3e%3c/g%3e%3cg%20transform='rotate(-123.6900675)'%3e%3cg%20stroke='%23000000'%20stroke-width='25'%3e%3cpath%20d='M-574.2-104.5l150,0%20M-574.2-67l150,0%20M-574.2-29.5l150,0'/%3e%3cpath%20d='M-574.2,445.5h150%20M-574.2,483h150%20M-574.2,520.5h150'/%3e%3c/g%3e%3cpath%20stroke='%23FFFFFF'%20stroke-width='12.5'%20d='M-499.2-85.7v37.5%20M-499.2,420.5v43.8%20M-499.2,501.8l0,37.5'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KW-B-eZYjjt.js b/contrib/data/www/web/assets/KW-B-eZYjjt.js new file mode 100644 index 00000000..ea4ed1a5 --- /dev/null +++ b/contrib/data/www/web/assets/KW-B-eZYjjt.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%236DA544'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3cpolygon%20fill='%23000'%20points='167,227.6%200,341.3%200,0%20167,113.8%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/KY-DjI8pk7A.js b/contrib/data/www/web/assets/KY-DjI8pk7A.js new file mode 100644 index 00000000..504f5b19 --- /dev/null +++ b/contrib/data/www/web/assets/KY-DjI8pk7A.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='342'/%3e%3ccircle%20fill='%236DA544'%20cx='384'%20cy='96.5'%20r='29.7'/%3e%3crect%20x='332.1'%20y='89'%20fill='%23D80027'%20width='103.9'%20height='44.5'/%3e%3cpath%20fill='%23496E2D'%20d='M435.9,170.7L435.9,170.7L435.9,170.7z'/%3e%3cpath%20fill='%23FFDA44'%20d='M332.1,200.3V230h15.6c9.4,9.2,22.2,14.8,36.3,14.8c14.1,0,27-5.7,36.3-14.8h0.8h14.8v-29.7H332.1z'/%3e%3cpath%20fill='%23338AF3'%20d='M332.1,126.1v44.5c0,39.8,51.9,51.9,51.9,51.9s51.9-12.2,51.9-51.9v-44.5L332.1,126.1L332.1,126.1z'/%3e%3cg%20fill='%23F3F3F3'%3e%3cpath%20d='M384,149.9c-13,0-13,11.9-26,11.9s-13-11.9-26-11.9v20.8c13,0,13,11.9,26,11.9s13-11.9,26-11.9%20c13,0,13,11.9,26,11.9c13,0,13-11.9,26-11.9v-20.8c-13,0-13,11.9-26,11.9C397,161.8,397,149.9,384,149.9z'/%3e%3cpath%20d='M384,108.3c-13,0-13,11.9-26,11.9s-13-11.9-26-11.9v20.8c13,0,13,11.9,26,11.9s13-11.9,26-11.9%20c13,0,13,11.9,26,11.9c13,0,13-11.9,26-11.9v-20.8c-13,0-13,11.9-26,11.9C397,120.2,397,108.3,384,108.3z'/%3e%3c/g%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20256,22.6%20209.9,53.3%20256,53.3%20256,117.3%20209.9,117.3%20256,148%20256,170.7%20233.4,170.7%20160,121.7%20160,170.7%2096,170.7%2096,121.7%2022.6,170.7%200,170.7%200,148%2046.1,117.3%200,117.3%200,53.3%2046.1,53.3%200,22.6%200,0%2022.6,0%2096,48.9%2096,0%20160,0%20160,48.9%20233.4,0%20'/%3e%3cg%20fill='%23D80027'%3e%3cpolygon%20points='144,0%20112,0%20112,69.3%200,69.3%200,101.3%20112,101.3%20112,170.7%20144,170.7%20144,101.3%20256,101.3%20256,69.3%20144,69.3%20'/%3e%3cpolygon%20points='0,0%200,15.1%2057.4,53.3%2080,53.3%20'/%3e%3cpolygon%20points='256,0%20256,15.1%20198.6,53.3%20176,53.3%20'/%3e%3cpolygon%20points='0,0%200,15.1%2057.4,53.3%2080,53.3%20'/%3e%3cpolygon%20points='256,0%20256,15.1%20198.6,53.3%20176,53.3%20'/%3e%3cpolygon%20points='0,170.7%200,155.6%2057.4,117.3%2080,117.3%20'/%3e%3cpolygon%20points='256,170.7%20256,155.6%20198.6,117.3%20176,117.3%20'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/KZ-BnuTjtd_.js b/contrib/data/www/web/assets/KZ-BnuTjtd_.js new file mode 100644 index 00000000..a638ffdd --- /dev/null +++ b/contrib/data/www/web/assets/KZ-BnuTjtd_.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpath%20fill='%2336B6CC'%20d='M0,0h513v342H0V0z'/%3e%3ccircle%20fill='%23FFD400'%20cx='256.5'%20cy='170.9'%20r='68.4'/%3e%3cpath%20fill='%23FFD400'%20d='M256.5,251.5l-27.9,41.7l-7.1-49.7L178.3,269l15.2-47.8l-50,4.2l34.4-36.5L131,170.9l46.8-18l-34.4-36.5%20l50,4.2l-15.2-47.8l43.2,25.4l7.1-49.7l27.9,41.7l27.9-41.7l7.1,49.7l43.2-25.4l-15.2,47.8l50-4.2L335.1,153l46.8,17.9l-46.8,18%20l34.4,36.5l-50-4.2l15.2,47.8l-43.2-25.4l-7.1,49.7C284.4,293.2,256.5,251.5,256.5,251.5z%20M256.5,250.7c44.1,0,79.9-35.8,79.9-79.9%20S300.6,91,256.5,91s-79.9,35.8-79.9,79.9S212.4,250.7,256.5,250.7z%20M22.8,28.3c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7%20v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C22.8,39.7,22.8,28.3,22.8,28.3z%20M22.8,74c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5%20c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V74z%20M22.8,119.6c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3%20c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C22.8,130.9,22.8,119.6,22.8,119.6z%20M22.8,165.2c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5%20c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C22.8,176.5,22.8,165.2,22.8,165.2z%20M22.8,210.9c0-3.2,2.4-5.7,5.7-5.7h11.3%20c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V210.9z%20M22.8,256.5c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5%20c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V256.5z%20M22.8,302.1c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3%20c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H28.5c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V302.1z%20M45.6,279.3%20c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6%20c0,0,0-0.1,0-0.1V279.3z%20M45.6,233.7c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7V245c0.1,3.1-2.4,5.7-5.6,5.7%20c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V233.7z%20M45.6,188c0-3.2,2.4-5.7,5.7-5.7h11.3%20c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V188z%20M45.6,142.4c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3%20c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1C45.6,153.7,45.6,142.4,45.6,142.4z%20M45.6,96.8c0-3.2,2.4-5.7,5.7-5.7h11.3%20c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1%20C45.6,108.1,45.6,96.8,45.6,96.8z%20M45.6,51.2c0-3.2,2.4-5.7,5.7-5.7h11.3c3.2,0,5.7,2.4,5.7,5.7v11.3c0.1,3.1-2.4,5.7-5.6,5.7%20c-0.1,0-0.1,0-0.2,0H51.3c-3.1,0-5.7-2.5-5.7-5.6c0,0,0-0.1,0-0.1V51.2z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/LA-CmcseVwR.js b/contrib/data/www/web/assets/LA-CmcseVwR.js new file mode 100644 index 00000000..b13fee92 --- /dev/null +++ b/contrib/data/www/web/assets/LA-CmcseVwR.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='342'/%3e%3cg%20fill='%23D80027'%3e%3crect%20y='0.1'%20width='513'%20height='90.7'/%3e%3crect%20x='0'%20y='251.3'%20width='513'%20height='90.7'/%3e%3c/g%3e%3ccircle%20fill='%23FFFFFF'%20cx='256.5'%20cy='171'%20r='65.9'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/LB-BpyBkLFs.js b/contrib/data/www/web/assets/LB-BpyBkLFs.js new file mode 100644 index 00000000..04b7b051 --- /dev/null +++ b/contrib/data/www/web/assets/LB-BpyBkLFs.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23D80027'%3e%3crect%20y='0.2'%20width='513'%20height='90.7'/%3e%3crect%20x='0.5'%20y='251.3'%20width='512.5'%20height='90.7'/%3e%3c/g%3e%3cpolygon%20fill='%236DA544'%20points='290.3,193.5%20256,130.7%20221.7,193.5%20247.4,193.5%20247.4,210.7%20264.6,210.7%20264.6,193.5%20'/%3e%3cpath%20fill='%2314AF5A'%20d='M241.3,213.1c4.4-4.4,4.4-11.6-0.1-16c0,0,0,0,0,0l4.7,4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5,5.9%20c-6.1,1.5-6.8-0.4-1.8-4.2l27.1-20.3c5.1-3.8,4.2-6.9-2.3-6.9h-11c-6.4,0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8,5.1-5.1-1.5-5.1h-11%20c-6.4,0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8,12.9-3.8,18.5,0l27.1,20.3c5.1,3.8,4.2,6.9-2.3,6.9h-11c-6.4,0-7,2.3-1.5,5.1l25.3,12.7%20c5.6,2.8,5.1,5.1-1.5,5.1h-11c-6.4,0-7.4,3.1-2.3,6.9l27.1,20.3c5.1,3.8,4.4,5.7-1.8,4.2l-23.5-5.9c-6.8-1.3-13.9,0.6-19.1,5.3%20l4.7-4.7c-4.4,4.4-4.5,11.5-0.1,16c0,0,0,0,0,0l6.8,6.8c4.4,4.4,3.1,8-3.3,8h-45.8c-6.2,0-7.7-3.6-3.3-8%20C234.5,220,241.3,213.1,241.3,213.1z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/LC-CPVriPlN.js b/contrib/data/www/web/assets/LC-CPVriPlN.js new file mode 100644 index 00000000..ca1be846 --- /dev/null +++ b/contrib/data/www/web/assets/LC-CPVriPlN.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%2355B2FF'%20width='513'%20height='342'/%3e%3cpolygon%20fill='%23F3F3F3'%20points='148.5,298.1%20364.5,298.1%20256.5,43.9%20'/%3e%3cpolygon%20fill='%23333333'%20points='186,272.7%20256.5,112.4%20327,272.7%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='148.5,298.1%20364.5,298.1%20256.5,196.4%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/LI-BVF18f1m.js b/contrib/data/www/web/assets/LI-BVF18f1m.js new file mode 100644 index 00000000..cc39eb14 --- /dev/null +++ b/contrib/data/www/web/assets/LI-BVF18f1m.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='171'/%3e%3cpath%20fill='%23FFDA44'%20d='M149.3,98.1c0-14-11.3-25.3-25.3-25.3c-6.5,0-12.4,2.4-16.9,6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9%20h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4c-14,0-25.3,11.3-25.3,25.3c0,7.5,3.3,14.2,8.4,18.8v14.9h84.3v-14.9%20C146.1,112.3,149.3,105.5,149.3,98.1z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/LK-BKGOo40_.js b/contrib/data/www/web/assets/LK-BKGOo40_.js new file mode 100644 index 00000000..1c4b201d --- /dev/null +++ b/contrib/data/www/web/assets/LK-BKGOo40_.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20x='0'%20y='0'%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3crect%20x='222.6'%20y='22.3'%20fill='%23A2001D'%20width='267.1'%20height='296.8'/%3e%3crect%20x='22.3'%20y='22.3'%20fill='%23D80027'%20width='200.3'%20height='296.8'/%3e%3crect%20x='200.3'%20y='0'%20fill='%23FFDA44'%20width='22.3'%20height='342'/%3e%3crect%20x='22.3'%20y='22.3'%20fill='%236DA544'%20width='89'%20height='296.8'/%3e%3crect%20x='111.3'%20y='22.3'%20fill='%23FF9811'%20width='89'%20height='296.8'/%3e%3cg%3e%3cpath%20fill='%23FFDA44'%20d='M368.2,156.8c-1.4-2,0-37.9,0-37.9c0.9-7.4,0.1-8.4,1-11.4c0.9-2.9,5.4-11.6,5.4-11.6s-6-2.3-10.3-0.6%20c-4.3,1.7-24.7-7.5-31.2,3.4c-4.4,7-23.6,16.2-24.6,14c-1-2.2-5.9-5-6.9-2.9s-0.7,13.9,0,16c0.8,2.6,9.8,2,12.3,3.1%20c3.7,1.8,12.2,8.2,11.9,10.7c-0.3,2.5-22.5-6-24.2-4.5c-1.4,1.2-1.9,13.2-0.4,15c1.8,2.1,23.4,5.6,25,7.5c1.6,1.9-13.1,7.4-12.3,25%20c0.7,14.7,8,17.4,8,17.4s-2.4,3.6-7.8,3.1c-6.2-0.6-27.4-17.7-27.4-17.7S283.2,76.4,290.3,64c4.9-8.5-22.7,10.1-22.7,50.8v36.2%20c0,6.6-1.4,22.4,2.6,34c0,0-0.4,46.9,1.5,49.6s12.7,2.2,14.8,0s0-30,0-30c7.7,0.2,18.3,17.5,32.5,16.4c20.6-1.6,28.7-9.9,34.3-5%20c8.1,7.1,5.5,23.2,0.4,31.5c-2.2,3.5-14.3,4.7-15.7,7.6c-1.4,2.9,0.5,5.4,0.5,5.4h29.7c0,0,1.4-20.5,2.7-26.1%20c1.3-5.7-0.6-10.7,5.9-10.4c23.5,1.1,39.8-15.3,45.5-8c3.2,4.1,5.6,29.9,3.3,33.3c-2.2,3.4-13.8,2.8-15.2,6.7%20c-1.4,4,0.8,4.4,0.8,4.4h29.7c0,0-0.4-21.2,2.5-27.7c2.9-6.5,4.9-10.4,9.3-17.2c4.4-6.8,11.3-15.7,11.3-36.2%20c0-14.2-8.1-22.8-8.1-22.8h-38.9C402.9,156.7,369.6,158.8,368.2,156.8z'/%3e%3cpath%20fill='%23FFDA44'%20d='M232.2,32.3c10.7-10.6,20.2-2.7,22.2,2.1c1.9,4.8,2.1,8.2,2.8,13.6c0.9,6.9,4.9,14,4.9,14s-7.1-3.8-14.7-4.2%20c-4.7-0.3-9-0.6-13.6-2.5C228.1,53,222.1,42.4,232.2,32.3z'/%3e%3cpath%20fill='%23FFDA44'%20d='M480.6,32.2c10.7,10.6,2.8,20.2-2,22.2c-4.8,2-8.2,2.1-13.6,2.8c-6.9,0.9-14,5-14,5s3.7-7.1,4.2-14.7%20c0.3-4.7,0.6-9.1,2.4-13.6C459.8,28.2,470.4,22.1,480.6,32.2z'/%3e%3cpath%20fill='%23FFDA44'%20d='M480.7,309.1c-10.7,10.6-20.2,2.6-22.2-2.2c-1.9-4.8-2.1-8.2-2.7-13.6c-0.8-6.9-4.9-14.1-4.9-14.1%20s7,3.8,14.7,4.3c4.7,0.3,9,0.6,13.6,2.5C484.9,288.4,490.9,299.1,480.7,309.1z'/%3e%3cpath%20fill='%23FFDA44'%20d='M232.5,309c-10.6-10.7-2.7-20.2,2.1-22.2c4.8-1.9,8.2-2.1,13.6-2.8c6.9-0.9,14-4.9,14-4.9s-3.8,7.1-4.2,14.7%20c-0.3,4.7-0.6,9-2.5,13.6C253.2,313.1,242.6,319.2,232.5,309z'/%3e%3cpath%20fill='none'%20stroke='%23FFDA44'%20stroke-width='6'%20stroke-miterlimit='10'%20d='M446.9,162.4c0,0,7.5-2.6,8.4-16.1c0.6-8.6-19.8-16-39-11.5c-19.7,4.6-34-3.1-34-14.6%20c0-22.9,29.7-16.2,38.9-11.3c9.1,4.9,29.7,23.5,35.1,9.4'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/LR-VHPWKhMT.js b/contrib/data/www/web/assets/LR-VHPWKhMT.js new file mode 100644 index 00000000..859e30d0 --- /dev/null +++ b/contrib/data/www/web/assets/LR-VHPWKhMT.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%20%3e%3crect%20fill='%23FFFFFF'%20x='0'%20y='0'%20width='513'%20height='342'/%3e%3cg%20fill='%23bf0a30'%3e%3crect%20x='0'%20y='0'%20width='513'%20height='31.1'/%3e%3crect%20x='0'%20y='62.2'%20width='513'%20height='31.1'/%3e%3crect%20x='0'%20y='124.5'%20width='513'%20height='31.1'/%3e%3crect%20x='0'%20y='186.8'%20width='513'%20height='31.1'/%3e%3crect%20x='0'%20y='249.3'%20width='513'%20height='31.1'/%3e%3crect%20x='0'%20y='310.9'%20width='513'%20height='31.1'/%3e%3c/g%3e%3crect%20fill='%23002868'%20width='155.6'%20height='155.6'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='77.8,30.2%2088.5,63.1%20123.1,63.1%2095.1,83.5%20105.8,116.4%2077.8,96.1%2049.8,116.4%2060.5,83.5%2032.5,63.1%2067.1,63.1%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/LS-DX59LbSJ.js b/contrib/data/www/web/assets/LS-DX59LbSJ.js new file mode 100644 index 00000000..42269428 --- /dev/null +++ b/contrib/data/www/web/assets/LS-DX59LbSJ.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%230052B4'%20width='513'%20height='114'/%3e%3crect%20y='227.6'%20fill='%236DA544'%20width='513'%20height='114'/%3e%3cpath%20fill='%23000000'%20d='M245.2,171l7.7-23.1c2-5.9,5.1-6,7.1,0l7.7,23.1l19.4,29.1c1.7,2.6,1.3,6.3-1.2,8c0,0-6.9,8-29.5,8%20s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8L245.2,171z'/%3e%3cpath%20fill='%23000000'%20d='M256.5,171c-12.5,0-22.6-10.1-22.6-22.6c0-12.5,10.1-22.6,22.6-22.6s22.6,10.1,22.6,22.6C279.1,160.9,268.9,171,256.5,171z%20M256.5,171c6.2,0,11.3-16.3,11.3-22.6c0-6.2-5.1-11.3-11.3-11.3c-6.2,0-11.3,5.1-11.3,11.3C245.2,154.7,250.2,171,256.5,171z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/LT-DcerJVZ9.js b/contrib/data/www/web/assets/LT-DcerJVZ9.js new file mode 100644 index 00000000..4881ddca --- /dev/null +++ b/contrib/data/www/web/assets/LT-DcerJVZ9.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%236DA544'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/LU-BIADZ7Kd.js b/contrib/data/www/web/assets/LU-BIADZ7Kd.js new file mode 100644 index 00000000..98ed223e --- /dev/null +++ b/contrib/data/www/web/assets/LU-BIADZ7Kd.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23338AF3'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/LV-juKXMjFv.js b/contrib/data/www/web/assets/LV-juKXMjFv.js new file mode 100644 index 00000000..7df9e3dc --- /dev/null +++ b/contrib/data/www/web/assets/LV-juKXMjFv.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23A2001D'%3e%3crect%20y='0'%20class='st1'%20width='513'%20height='127.6'/%3e%3crect%20x='0'%20y='214.4'%20class='st1'%20width='513'%20height='127.6'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/LY-TIoWIPnH.js b/contrib/data/www/web/assets/LY-TIoWIPnH.js new file mode 100644 index 00000000..fc90ca56 --- /dev/null +++ b/contrib/data/www/web/assets/LY-TIoWIPnH.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23000'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%23D80027'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%23496E2D'%20width='513'%20height='114'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpolygon%20points='281.4,150.7%20290.4,163%20304.9,158.3%20295.9,170.7%20304.9,183%20290.4,178.3%20281.4,190.6%20281.4,175.4%20266.9,170.7%20281.4,166%20'/%3e%3cpath%20d='M257,201.5c-17,0-30.9-13.8-30.9-30.9s13.8-30.9,30.9-30.9c5.3,0,10.3,1.3,14.7,3.7%20c-6.9-6.7-16.2-10.8-26.6-10.8c-21,0-38,17-38,38s17,38,38,38c10.3,0,19.7-4.1,26.6-10.8C267.3,200.2,262.3,201.5,257,201.5z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MA-CZmTf-jk.js b/contrib/data/www/web/assets/MA-CZmTf-jk.js new file mode 100644 index 00000000..a6f1400f --- /dev/null +++ b/contrib/data/www/web/assets/MA-CZmTf-jk.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpolygon%20fill='%23D80027'%20points='0,0.3%200,171.2%200,342%20513,342%20513,171.2%20513,0.3%20'/%3e%3cpath%20fill='%2320661B'%20d='M359.8,148.9h-73.3l-22.7-69.7l-22.7,69.7h-73.3l59.3,43.1l-22.7,69.7l59.3-43.1l59.3,43.1L300.5,192%20L359.8,148.9z%20M243.7,186.6l7.7-23.6h24.8l7.7,23.6l0,0v0l-20.1,14.6L243.7,186.6L243.7,186.6L243.7,186.6z%20M271.6,148.9H256l7.8-24%20L271.6,148.9z%20M295.9,177.9l-4.8-14.9h25.3L295.9,177.9z%20M236.6,163l-4.8,14.9L211.3,163H236.6z%20M231.3,224.8l7.8-24l12.6,9.2%20L231.3,224.8z%20M275.8,209.9l12.6-9.2l7.8,24L275.8,209.9z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/MC-Bso14psQ.js b/contrib/data/www/web/assets/MC-Bso14psQ.js new file mode 100644 index 00000000..09615f2c --- /dev/null +++ b/contrib/data/www/web/assets/MC-Bso14psQ.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.333'%20fill='%23FFFFFF'%20width='512'%20height='341.333'/%3e%3crect%20y='85.333'%20fill='%23c70000'%20width='512'%20height='170.667'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MD-D2eZyWDH.js b/contrib/data/www/web/assets/MD-D2eZyWDH.js new file mode 100644 index 00000000..f8bfe903 --- /dev/null +++ b/contrib/data/www/web/assets/MD-D2eZyWDH.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFDA44'%20width='513'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23D80027'%20width='171'%20height='342'/%3e%3crect%20y='0'%20fill='%230052B4'%20width='171'%20height='342'/%3e%3cpath%20fill='%23AF7F59'%20d='M206.2,129.1h33.2L256,79.3l16.6,49.8h33.2v99.6L256,262l-49.8-33.2V129.1z%20M239.4,162.4v49.8h33.2v-49.8H239.4%20z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/ME-wp0w9F0r.js b/contrib/data/www/web/assets/ME-wp0w9F0r.js new file mode 100644 index 00000000..408f5a00 --- /dev/null +++ b/contrib/data/www/web/assets/ME-wp0w9F0r.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23E6BE53'%20width='513'%20height='342'/%3e%3crect%20x='20'%20y='20'%20fill='%23E01D24'%20width='473'%20height='302'/%3e%3cpath%20fill='%23E6BE53'%20d='M248.5,112.9c4.4,4.4,11.6,4.4,16,0l-4.7,4.7l22.7-22.7c4.9-4.5,12.1-5.6,18.2-2.8l2.1,1%20c5.7,2.9,6.7,8.7,2.3,13.1l4.7-4.7L287,124.3c-4.5,4.9-5.6,12.1-2.8,18.2l1,2.1c2.9,5.7,5.1,15.4,5.1,21.6v-11.3%20c0,6.2,4.4,9.1,10.2,6.2l2.1-1c5.7-2.9,6.7-8.7,2.3-13.1l4.7,4.7c-4.4-4.4-4.4-11.6,0-16c0,0,0,0,0,0l-4.7,4.7%20c5.2-5.5,9.6-11.6,13.1-18.2l1-2.1c2.9-5.7,6.3-15.1,7.9-21.2l5.8-23.3c1.5-6,5.9-6.8,9.6-1.8l20.2,26.9c3.8,5.1,6.9,14,6.9,20.6%20v22.4c0,6.3-2.2,15.8-5.1,21.7l-1,2.1c-3.5,6.6-7.9,12.7-13.1,18.2l-6.8,6.8c-5.4,5.2-11.5,9.6-18.2,13.1l-2.1,1%20c-5.7,2.9-15.5,5.1-21.6,5.1c-6.2,0-6.9,2.2-1.1,5.1l2.1,1c5.7,2.9,13.8,8.7,18.2,13.1l-4.7-4.7c4.4,4.4,11.6,4.4,16,0l-4.7,4.7%20c4.4-4.4,11.6-4.4,16,0c0,0,0,0,0,0L339,226c4.6,4.9,5.7,12.1,2.9,18.2l-1,2.1c-2.9,5.7-10.4,10.2-16.4,10.2%20c-7.5-0.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7%20c-4.4,4.7-5.2,11.8-1.8,17.3l10.3,15.4c3.4,5.1,2,12.1-3.1,15.5l-15.4,10.3c-5.7,3.4-12.8,3.4-18.6,0l-15.4-10.3%20c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5,2.6-12.6-1.8-17.3l4.7,4.7c-4.4-4.4-10.2-3.6-13.1,2.3l-1,2.1%20c-2.9,5.7-9.5,12.4-15.4,15.4l-2.1,1c-5.7,2.9-15.5,5.1-21.6,5.1c-6.9-0.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3,2.9-18.2%20l-4.7,4.7c4.4-4.4,11.6-4.4,16,0c0,0,0,0,0,0l-4.7-4.7c4.4,4.4,11.6,4.4,16,0l-4.7,4.7c5.5-5.2,11.6-9.6,18.2-13.1l2.1-1%20c5.7-2.9,5-5.1-1.1-5.1c-7.5-0.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1%20c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3,3.1-15.6,6.9-20.6l20.2-26.9c3.8-5.1,8.1-4.3,9.6,1.8l5.8,23.3c2,7.3,4.6,14.4,7.9,21.2%20l1,2.1c2.9,5.7,8.7,13.8,13.1,18.2l-4.7-4.7c4.4,4.4,4.4,11.6,0,16c0,0,0,0,0,0l4.7-4.7c-4.4,4.4-3.6,10.2,2.3,13.1l2.1,1%20c5.7,2.9,10.2,0,10.2-6.2v11.3c0-6.2,2.2-15.7,5.1-21.6l1-2.1c2.8-6.1,1.7-13.2-2.8-18.2l-22.7-22.7l4.7,4.7%20c-4.4-4.4-3.6-10.2,2.3-13.1l2.1-1c6.1-2.8,13.2-1.7,18.2,2.8l22.7,22.7L248.5,112.9z%20M230.5,72.2c-4.4-4.4-3.2-9.5,2.8-11.5%20l12.4-4.2c6-2,15.5-2,21.5,0l12.4,4.2c6,2,7.2,7.1,2.8,11.5l-6.8,6.8c-5.3,4.7-12.1,7.5-19.2,7.9c-6.2,0-14.8-3.5-19.2-7.9%20C237.3,79,230.5,72.2,230.5,72.2z'/%3e%3cpath%20fill='%23215F90'%20d='M233.9,200.2c0,6.2,1.7,6.4,4.2,0.5c0,0,7.1-23.2,18.4-23.2c11.3,0,18.6,23.6,18.6,23.6c2.2,5.7,4,5.3,4-1.1%20v-11.2c0-18.7-10.1-33.9-22.6-33.9c-12.5,0-22.6,15.2-22.6,33.9V200.2z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/MF-PWAfddVX.js b/contrib/data/www/web/assets/MF-PWAfddVX.js new file mode 100644 index 00000000..161188aa --- /dev/null +++ b/contrib/data/www/web/assets/MF-PWAfddVX.js @@ -0,0 +1 @@ +const f="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20108%2072'%3e%3cpath%20d='M0,0H108V72H0z'%20fill='%23003787'/%3e%3cpath%20d='M0,0H108L60,48V72H48V48z'%20fill='%23fff'/%3e%3ccircle%20cx='54'%20cy='30'%20r='8'%20fill='%23f9d90f'/%3e%3cpath%20d='M44,30H64L54,48z'%20fill='%23fff'/%3e%3cpath%20d='M54,48%2038,33H70z'%20fill='%23cf142b'/%3e%3c/svg%3e";export{f as default}; diff --git a/contrib/data/www/web/assets/MG-BsrX5eXa.js b/contrib/data/www/web/assets/MG-BsrX5eXa.js new file mode 100644 index 00000000..724c16da --- /dev/null +++ b/contrib/data/www/web/assets/MG-BsrX5eXa.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cpath%20fill='%236DA544'%20d='M512,426.666V85.329c-238.65,0-512,0-512,0v341.337L512,426.666L512,426.666z'/%3e%3cpath%20fill='%23D80027'%20d='M512,85.331H0v170.666c0,0,273.35,0,512,0V85.331z'/%3e%3crect%20y='85.334'%20fill='%23FFFFFF'%20width='181.793'%20height='341.337'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MH-PVMgcMHB.js b/contrib/data/www/web/assets/MH-PVMgcMHB.js new file mode 100644 index 00000000..bd5757c9 --- /dev/null +++ b/contrib/data/www/web/assets/MH-PVMgcMHB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%231E509C'%20width='513'%20height='342'/%3e%3cpath%20fill='%23FFFFFF'%20d='M513,176.1V81.3L0,342L513,176.1z'/%3e%3cpath%20fill='%23F18D36'%20d='M513,0v81.3L0,342L513,0z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='126.7,99.3%20118.9,45.2%20111.2,99.3%2090.4,75.6%20101.1,107.2%2069.6,96.5%2093.2,117.3%2039.1,125%2093.2,132.7%2069.6,153.5%20101.1,142.8%2090.4,174.4%20111.2,150.7%20118.9,204.8%20126.7,150.7%20147.4,174.4%20136.8,142.8%20168.3,153.5%20144.7,132.7%20198.7,125%20144.7,117.3%20168.3,96.5%20136.8,107.2%20147.4,75.6%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MK-D7lVQ6Xv.js b/contrib/data/www/web/assets/MK-D7lVQ6Xv.js new file mode 100644 index 00000000..b3a200b0 --- /dev/null +++ b/contrib/data/www/web/assets/MK-D7lVQ6Xv.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.333'%20fill='%23FFDA44'%20width='512'%20height='341.337'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='383.875,426.662%20256,252.286%20282.827,426.662%20'/%3e%3cpolygon%20fill='%23D80027'%20points='133.565,85.33%20256,252.286%20230.314,85.33%20'/%3e%3cpolygon%20fill='%23D80027'%20points='229.171,426.662%20256,252.286%20128.124,426.662%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,85.33%200,212.9%20256,252.286%2028.333,85.33%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,426.662%2018.212,426.662%20256,252.286%200,291.67%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,252.286%20512,212.9%20512,85.33%20483.669,85.33%20'/%3e%3cpolygon%20fill='%23D80027'%20points='281.686,85.33%20256,252.286%20378.434,85.33%20'/%3e%3cpolygon%20fill='%23D80027'%20points='512,426.662%20512,291.671%20256,252.286%20493.787,426.662%20'/%3e%3ccircle%20fill='%23D80027'%20cx='256'%20cy='252.29'%20r='59.359'/%3e%3c/g%3e%3ccircle%20fill='%23FFDA44'%20cx='256'%20cy='252.29'%20r='44.522'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/ML-BRfUtvar.js b/contrib/data/www/web/assets/ML-BRfUtvar.js new file mode 100644 index 00000000..15d1d07d --- /dev/null +++ b/contrib/data/www/web/assets/ML-BRfUtvar.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFDA44'%20width='512'%20height='341.337'/%3e%3crect%20y='85.331'%20fill='%236DA544'%20width='170.663'%20height='341.337'/%3e%3crect%20x='341.337'%20y='85.331'%20fill='%23D80027'%20width='170.663'%20height='341.337'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MM-CpVOGWRF.js b/contrib/data/www/web/assets/MM-CpVOGWRF.js new file mode 100644 index 00000000..172adacd --- /dev/null +++ b/contrib/data/www/web/assets/MM-CpVOGWRF.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%236DA544'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23FFDA44'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3cpath%20fill='%23FFFFFF'%20d='M384,227.261h-97.783L256,134.265l-30.217,92.997H128l79.108,57.475l-30.217,92.998L256,320.925%20l79.108,56.81l-30.217-92.998L384,227.261z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MN-CQwi_XVk.js b/contrib/data/www/web/assets/MN-CQwi_XVk.js new file mode 100644 index 00000000..9ab56946 --- /dev/null +++ b/contrib/data/www/web/assets/MN-CQwi_XVk.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23095FAD'%20width='513'%20height='342'/%3e%3cg%3e%3crect%20x='342'%20y='0'%20fill='%23BE1229'%20width='171'%20height='342'/%3e%3crect%20y='0'%20fill='%23BE1229'%20width='171'%20height='342'/%3e%3c/g%3e%3cg%20fill='%23FFDA44'%3e%3crect%20x='108.3'%20y='166.3'%20width='14.8'%20height='74.2'/%3e%3crect%20x='48.9'%20y='166.3'%20width='14.8'%20height='74.2'/%3e%3ccircle%20cx='86'%20cy='203.4'%20r='14.8'/%3e%3crect%20x='71.2'%20y='225.7'%20width='29.7'%20height='14.8'/%3e%3crect%20x='71.2'%20y='166.3'%20width='29.7'%20height='14.8'/%3e%3ccircle%20cx='86'%20cy='144'%20r='14.8'/%3e%3cpolygon%20points='76.3,123.9%2095.8,123.9%2086,108.3%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MO-DHDZ3oiK.js b/contrib/data/www/web/assets/MO-DHDZ3oiK.js new file mode 100644 index 00000000..ff8ade71 --- /dev/null +++ b/contrib/data/www/web/assets/MO-DHDZ3oiK.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%2300745a'%20width='512'%20height='341.337'/%3e%3cpath%20fill='%23FFFFFF'%20d='M285.682,248.878c-4.19,0-8.166,0.836-11.861,2.164c2.023-4.509,3.379-9.527,3.379-14.885%20c0-21.201-21.201-37.101-21.201-37.101s-21.201,15.901-21.201,37.101c0,5.357,1.356,10.375,3.379,14.885%20c-3.693-1.328-7.671-2.164-11.861-2.164c-21.201,0-37.101,21.201-37.101,21.201s15.901,21.201,37.101,21.201%20c12.429,0,23.031-7.286,29.682-13.315c6.65,6.03,17.251,13.315,29.682,13.315c21.201,0,37.101-21.201,37.101-21.201%20S306.882,248.878,285.682,248.878z'/%3e%3cg%3e%3cpolygon%20fill='%23FFDA44'%20points='256,152.111%20260.38,165.587%20274.551,165.587%20263.087,173.919%20267.463,187.395%20256,179.065%20244.537,187.395%20248.913,173.919%20237.449,165.587%20251.62,165.587%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='202.112,175.683%20210.537,183.268%20220.355,177.601%20215.745,187.956%20224.168,195.544%20212.894,194.359%20208.283,204.714%20205.925,193.626%20194.65,192.441%20204.468,186.772%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='162.662,215.132%20173.752,217.49%20179.42,207.672%20180.606,218.946%20191.695,221.304%20181.338,225.914%20182.524,237.188%20174.937,228.765%20164.58,233.375%20170.249,223.557%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='309.889,175.683%20301.464,183.268%20291.646,177.601%20296.257,187.956%20287.832,195.544%20299.107,194.359%20303.717,204.714%20306.076,193.626%20317.351,192.441%20307.533,186.772%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='349.338,215.132%20338.249,217.49%20332.58,207.672%20331.394,218.946%20320.306,221.304%20330.663,225.914%20329.478,237.188%20337.064,228.765%20347.421,233.375%20341.752,223.557%20'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23FFFFFF'%20d='M256,350.642c16.84,0,32.363-5.619,44.816-15.073h-89.63%20C223.637,345.023,239.16,350.642,256,350.642z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M187.977,306.12c2.355,5.39,5.341,10.44,8.85,15.073h118.345c3.508-4.632,6.495-9.682,8.85-15.073%20H187.977z'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/MP-CU5duFcA.js b/contrib/data/www/web/assets/MP-CU5duFcA.js new file mode 100644 index 00000000..79bf08a2 --- /dev/null +++ b/contrib/data/www/web/assets/MP-CU5duFcA.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20750%20500'%3e%3cpath%20fill='%230071BC'%20d='M0%200h750v500H0V0z'/%3e%3cg%20fill='%23FFF'%20stroke='%23000'%20stroke-width='1.9'%3e%3ccircle%20cx='375'%20cy='245'%20r='225'%20stroke='%23000000'%20fill='%23ffffff'/%3e%3ccircle%20cx='375'%20cy='245'%20r='165'%20stroke='%23000000'%20fill='%230071BC'/%3e%3c/g%3e%3cg%20stroke='%23000'%3e%3cpath%20fill='%238C8A8C'%20stroke-width='1.9'%20d='M444.7,450c0.7,11-7.8,20-18.8,20H323.6c-11,0-19.5-9-19-20L321.3,125c0.6-11,10-20,21-20h61.4%20c11,0,20.5,9,21.2,20L444.7,450z'/%3e%3cpath%20fill='%23FFF'%20stroke-width='2'%20stroke-linejoin='round'%20d='M373%20114l30%2093h97l-78%2056%2029%2092-78-56-78%2057%2030-93-79-57h97l30-92z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MQ-CpyZfYzn.js b/contrib/data/www/web/assets/MQ-CpyZfYzn.js new file mode 100644 index 00000000..4b4681a7 --- /dev/null +++ b/contrib/data/www/web/assets/MQ-CpyZfYzn.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20viewBox='0%200%20900%20600'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20fill='%23231f1e'%20height='600'%20width='900'/%3e%3crect%20fill='%2300a650'%20height='300'%20width='900'/%3e%3cpolygon%20fill='%23ef1923'%20points='0,0%20450,300%200,600'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MR-NNsjUd7R.js b/contrib/data/www/web/assets/MR-NNsjUd7R.js new file mode 100644 index 00000000..5987b4f4 --- /dev/null +++ b/contrib/data/www/web/assets/MR-NNsjUd7R.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%20100%20513%20342'%3e%3crect%20y='100'%20fill='%23006233'%20width='513'%20height='342'/%3e%3crect%20y='100'%20fill='%23cd2a3e'%20width='513'%20height='46'/%3e%3crect%20y='396'%20fill='%23cd2a3e'%20width='513'%20height='46'/%3e%3cpath%20fill='%23ffc400'%20d='M256,298.851c-45.956,0-84.348-32.298-93.767-75.429c-1.448,6.63-2.233,13.507-2.233,20.572%20c0,53.02,42.979,96,96,96s96-42.98,96-96c0-7.066-0.785-13.942-2.233-20.572C340.348,266.553,301.956,298.851,256,298.851z'/%3e%3cpolygon%20fill='%23ffc400'%20points='255.999,171.994%20264.934,199.496%20293.852,199.496%20270.458,216.492%20279.394,243.995%20255.999,226.997%20232.605,243.995%20241.542,216.492%20218.148,199.496%20247.063,199.496%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MS-n7Kko3dd.js b/contrib/data/www/web/assets/MS-n7Kko3dd.js new file mode 100644 index 00000000..a0c4bae1 --- /dev/null +++ b/contrib/data/www/web/assets/MS-n7Kko3dd.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%231B4991'%20width='513'%20height='342'/%3e%3cpath%20fill='%2300A2B8'%20stroke='%23FFFFFF'%20stroke-width='3'%20d='M318.2,106.7v106.5c0,51.9,67.8,67.8,67.8,67.8s67.8-15.9,67.8-67.8V106.7H318.2z'/%3e%3cpath%20fill='%23A35023'%20d='M319.7,212.7c0,50.8,66.3,66.3,66.3,66.3s66.3-15.6,66.3-66.3H319.7L319.7,212.7z'/%3e%3cpolygon%20fill='%23000'%20points='415.1,155.1%20395.7,155.1%20395.7,135.7%20376.3,135.7%20376.3,155.1%20357,155.1%20357,174.5%20376.3,174.5%20376.3,232.6%20395.7,232.6%20395.7,174.5%20415.1,174.5%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20256,30.6%20210.8,55.7%20256,55.7%20256,115%20196.9,115%20256,147.8%20256,170.7%20229.3,170.7%20155.8,129.8%20155.8,170.7%20100.2,170.7%20100.2,122.1%2012.7,170.7%200,170.7%200,140.1%2045.2,115%200,115%200,55.7%2059.1,55.7%200,22.8%200,0%2026.7,0%20100.2,40.8%20100.2,0%20155.8,0%20155.8,48.6%20243.3,0%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.3%200,69.3%200,101.3%20112,101.3%20112,170.7%20144,170.7%20144,101.3%20256,101.3%20256,69.3%20144,69.3%20'/%3e%3cpolygon%20fill='%230052B4'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cpolygon%20fill='%23D80027'%20points='155.8,115%20256,170.7%20256,154.9%20184.2,115%20'/%3e%3cpolygon%20fill='%23D80027'%20points='71.8,115%200,154.9%200,170.7%200,170.7%20100.2,115%20'/%3e%3cpolygon%20fill='%230052B4'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cpolygon%20fill='%23D80027'%20points='100.2,55.6%200,0%200,15.7%2071.8,55.6%20'/%3e%3cpolygon%20fill='%23D80027'%20points='184.2,55.6%20256,15.7%20256,0%20256,0%20155.8,55.6%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/MT-CiOjyn-B.js b/contrib/data/www/web/assets/MT-CiOjyn-B.js new file mode 100644 index 00000000..9069a67c --- /dev/null +++ b/contrib/data/www/web/assets/MT-CiOjyn-B.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20x='256'%20y='0'%20fill='%23C31B28'%20width='256.5'%20height='342'/%3e%3cpolygon%20fill='%23ACABB1'%20stroke='%23C31B28'%20stroke-width='2'%20points='101.2,68.2%20101.2,33%2066,33%2066,68.2%2030.8,68.2%2030.8,103.4%2066,103.4%2066,138.6%20101.2,138.6%20101.2,103.4%20136.4,103.4%20136.4,68.2%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MU-D6rXnPWB.js b/contrib/data/www/web/assets/MU-D6rXnPWB.js new file mode 100644 index 00000000..45c013e5 --- /dev/null +++ b/contrib/data/www/web/assets/MU-D6rXnPWB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23f7ce00'%20width='512'%20height='341.326'/%3e%3crect%20y='85.331'%20fill='%23e32737'%20width='512'%20height='85.337'/%3e%3crect%20y='170.657'%20fill='%23191f6a'%20width='512'%20height='85.337'/%3e%3crect%20y='341.331'%20fill='%2300a04e'%20width='512'%20height='85.337'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MV-B6jQ1h-J.js b/contrib/data/www/web/assets/MV-B6jQ1h-J.js new file mode 100644 index 00000000..7b4ba4bb --- /dev/null +++ b/contrib/data/www/web/assets/MV-B6jQ1h-J.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23d01920'%20width='512'%20height='341.333'/%3e%3crect%20x='144.696'%20y='174.375'%20fill='%23017c3b'%20width='222.609'%20height='163.25'/%3e%3cpath%20fill='%23FFFFFF'%20d='M283.484,304.226c-26.637,0-48.232-21.594-48.232-48.232s21.594-48.232,48.232-48.232%20c8.306,0,16.12,2.1,22.943,5.797c-10.703-10.467-25.341-16.927-41.494-16.927c-32.784,0-59.362,26.577-59.362,59.362%20s26.578,59.362,59.362,59.362c16.154,0,30.791-6.461,41.494-16.927C299.605,302.127,291.791,304.226,283.484,304.226z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/MW-Bkt-ik9T.js b/contrib/data/www/web/assets/MW-Bkt-ik9T.js new file mode 100644 index 00000000..43b37724 --- /dev/null +++ b/contrib/data/www/web/assets/MW-Bkt-ik9T.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20342'%3e%3crect%20y='0'%20fill='%23272727'%20width='512'%20height='114'/%3e%3crect%20y='114'%20fill='%23e40112'%20width='512'%20height='114'/%3e%3crect%20y='228'%20fill='%2307893f'%20width='512'%20height='114'/%3e%3ccircle%20fill='%23e40112'%20cx='256'%20cy='125'%20r='95'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MX-Bkiy8r7B.js b/contrib/data/www/web/assets/MX-Bkiy8r7B.js new file mode 100644 index 00000000..24cd6077 --- /dev/null +++ b/contrib/data/www/web/assets/MX-Bkiy8r7B.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3cpolygon%20fill='%23dc2339'%20points='342,0%20171,0%200,0%200,341.3%20171,341.3%20342,341.3%20513,341.3%20513,0%20'/%3e%3crect%20y='0'%20fill='%2311865d'%20width='171'%20height='342'/%3e%3crect%20x='171'%20y='0'%20fill='%23FFFFFF'%20width='171'%20height='342'/%3e%3cpath%20fill='%238C9157'%20d='M195.8,171.2c0,21.6,11.5,41.7,30.3,52.5c5.8,3.4,13.2,1.4,16.6-4.4c3.4-5.8,1.4-13.2-4.4-16.6%20c-11.3-6.5-18.2-18.5-18.2-31.5c0-6.7-5.4-12.1-12.1-12.1C201.3,159.1,195.8,164.5,195.8,171.2z%20M289.2,222.3%20c17.5-11.1,28-30.4,28-51.1c0-6.7-5.4-12.1-12.1-12.1s-12.1,5.4-12.1,12.1c0,12.4-6.3,24-16.8,30.7c-5.7,3.5-7.5,10.9-4.1,16.7%20s10.9,7.5,16.7,4.1C288.8,222.5,289,222.4,289.2,222.3z'/%3e%3cellipse%20fill='%23C59262'%20cx='256.5'%20cy='159.1'%20rx='24.3'%20ry='36.4'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/MY-BFzIdmmk.js b/contrib/data/www/web/assets/MY-BFzIdmmk.js new file mode 100644 index 00000000..3795b180 --- /dev/null +++ b/contrib/data/www/web/assets/MY-BFzIdmmk.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23cc0000'%3e%3crect%20y='0'%20width='513'%20height='24.4'/%3e%3crect%20y='48.9'%20width='513'%20height='24.4'/%3e%3crect%20y='97.7'%20width='513'%20height='24.4'/%3e%3crect%20y='146.6'%20width='513'%20height='24.4'/%3e%3crect%20y='195.4'%20width='513'%20height='24.4'/%3e%3crect%20y='244.3'%20width='513'%20height='24.4'/%3e%3crect%20y='293.1'%20width='513'%20height='24.4'/%3e%3c/g%3e%3crect%20y='0'%20fill='%23000066'%20width='256.5'%20height='195.4'/%3e%3cg%20fill='%23ffcc00'%3e%3cpath%20d='M153.3,42.1C122.6,30.7,88.5,46.3,77.1,77s4.2,64.8,34.9,76.2c13.3,5,28,5,41.4,0%20c-30.7,24.5-75.4,19.6-100-11.1s-19.6-75.4,11.1-100C90.5,21.4,127.4,21.4,153.3,42.1z%20M180,117.1l-20.6,23.3l5.4-30.6l-31-1.6%20l27.3-14.9l-18.1-25.3l28.6,12l8.4-29.9l8.4,29.9l28.6-12L199,93.4l27.3,14.9l-31,1.6l5.4,30.6L180,117.1z'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/MZ-BAvMPWrT.js b/contrib/data/www/web/assets/MZ-BAvMPWrT.js new file mode 100644 index 00000000..d0421cb4 --- /dev/null +++ b/contrib/data/www/web/assets/MZ-BAvMPWrT.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20513%20342'%3e%3crect%20y='85.333'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='323.333'%20fill='%23f4d900'%20width='513'%20height='104'/%3e%3crect%20y='85.333'%20fill='%23006d66'%20width='513'%20height='104'/%3e%3crect%20y='204.333'%20fill='%23000000'%20width='513'%20height='104'/%3e%3cpolygon%20fill='%23cb0f31'%20points='256,256.006%200,426.668%200,85.331%20'/%3e%3cpolygon%20fill='%23f4d900'%20points='83.477,195.132%2098.584,241.63%20147.478,241.63%20107.924,270.369%20123.031,316.868%2083.477,288.13%2043.922,316.868%2059.032,270.369%2019.478,241.63%2068.37,241.63%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NA-BkrHacIf.js b/contrib/data/www/web/assets/NA-BkrHacIf.js new file mode 100644 index 00000000..5a84a167 --- /dev/null +++ b/contrib/data/www/web/assets/NA-BkrHacIf.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23496E2D'%20width='512'%20height='341.326'/%3e%3cpolyline%20fill='%230052B4'%20points='0,426.663%200,85.337%20512,85.337%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='512,152.222%20512,85.337%20411.67,85.337%200,359.778%200,426.663%20100.33,426.663%20'/%3e%3cpolygon%20fill='%23A2001D'%20points='512,85.337%20512,125.462%2060.193,426.663%200,426.663%200,386.538%20451.807,85.337%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='187.737,189.212%20164.996,199.908%20177.106,221.932%20152.413,217.208%20149.284,242.153%20132.085,223.806%20114.885,242.153%20111.756,217.208%2087.063,221.931%2099.172,199.908%2076.433,189.212%2099.173,178.515%2087.063,156.493%20111.756,161.215%20114.886,136.271%20132.085,154.618%20149.285,136.271%20152.413,161.215%20177.106,156.493%20164.998,178.517%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/NC-r8ApqwCV.js b/contrib/data/www/web/assets/NC-r8ApqwCV.js new file mode 100644 index 00000000..40038fce --- /dev/null +++ b/contrib/data/www/web/assets/NC-r8ApqwCV.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20640%20426.7'%3e%3cpath%20fill='%23009543'%20d='M0,293h640v133.7H0V293z'/%3e%3cpath%20fill='%23ED4135'%20d='M0,132h640v161.3H0V132z'/%3e%3cpath%20fill='%230035AD'%20d='M0,0h640v133.3H0V0z'/%3e%3ccircle%20fill='%23FAE600'%20stroke='%23000000'%20stroke-width='5.3'%20cx='240'%20cy='213.3'%20r='157.3'/%3e%3cpath%20fill='%23000'%20d='M307.9,354.5l-31.8,12l-36.1,4.2l-37.8-2.4l-35.9-15.5c0,0,28.6-29.3,40.7-33.5c8.6-3,22.4-3.7,22.4-3.7V122l-0.3-66H246%20l-0.5,67.5v191.7c0,0,15.3,1.2,22.1,4.1C278.9,324.2,307.9,354.5,307.9,354.5z'/%3e%3crect%20fill='%23000'%20x='213'%20y='91'%20transform='matrix(0.8949%20-0.4462%200.4462%200.8949%20-18.4912%20115.9796)'%20width='48'%20height='12.5'/%3e%3cellipse%20fill='%23000'%20cx='237.8'%20cy='280.5'%20rx='16.8'%20ry='26.5'/%3e%3ccircle%20fill='%23000'%20cx='237.4'%20cy='143.4'%20r='20.9'/%3e%3cellipse%20fill='%23000'%20cx='238.4'%20cy='211.1'%20rx='19.9'%20ry='12.1'/%3e%3crect%20fill='%23000'%20x='213.8'%20y='177'%20width='47'%20height='10'/%3e%3crect%20fill='%23000'%20x='213.8'%20y='234'%20width='47'%20height='10'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/NE-AJ9IgbM3.js b/contrib/data/www/web/assets/NE-AJ9IgbM3.js new file mode 100644 index 00000000..cac8e28a --- /dev/null +++ b/contrib/data/www/web/assets/NE-AJ9IgbM3.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23e05206'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%230db02b'%20width='512'%20height='113.775'/%3e%3ccircle%20fill='%23e05206'%20cx='256'%20cy='256'%20r='32'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NF-B0iiiYkw.js b/contrib/data/www/web/assets/NF-B0iiiYkw.js new file mode 100644 index 00000000..2415645c --- /dev/null +++ b/contrib/data/www/web/assets/NF-B0iiiYkw.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.5%20513%20342'%3e%3crect%20y='85.5'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23007b23'%3e%3crect%20y='85.5'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='85.5'%20width='171'%20height='342'/%3e%3cpolygon%20points='304,311.995%20256,159.994%20208,311.995%20244,311.995%20244,351.994%20268,351.994%20268,311.995%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NG-BhTYQwGB.js b/contrib/data/www/web/assets/NG-BhTYQwGB.js new file mode 100644 index 00000000..119c175e --- /dev/null +++ b/contrib/data/www/web/assets/NG-BhTYQwGB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.5%20513%20342'%3e%3crect%20y='85.5'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23007b23'%3e%3crect%20y='85.5'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='85.5'%20width='171'%20height='342'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NI-A6xbs1JT.js b/contrib/data/www/web/assets/NI-A6xbs1JT.js new file mode 100644 index 00000000..1a6308f8 --- /dev/null +++ b/contrib/data/www/web/assets/NI-A6xbs1JT.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cg%3e%3crect%20y='85.337'%20fill='%23338AF3'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23338AF3'%20width='512'%20height='113.775'/%3e%3c/g%3e%3cpath%20fill='%23FFDA44'%20d='M256,214.447c-22.949,0-41.553,18.603-41.553,41.553S233.05,297.553,256,297.553%20c22.949,0,41.553-18.603,41.553-41.553S278.949,214.447,256,214.447z%20M256,279.745c-13.114,0-23.745-10.631-23.745-23.745%20s10.631-23.745,23.745-23.745c13.114,0,23.745,10.631,23.745,23.745C279.745,269.114,269.114,279.745,256,279.745z'/%3e%3cpolygon%20fill='%230052B4'%20points='276.563,261.936%20256,256%20235.437,261.936%20228.582,273.809%20283.418,273.809%20'/%3e%3cpolygon%20fill='%23338AF3'%20points='256,226.32%20242.291,250.064%20256,256%20269.709,250.064%20'/%3e%3cpolygon%20fill='%236DA544'%20points='235.437,261.936%20276.563,261.936%20269.709,250.064%20242.291,250.064%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NL-DjFJb2xH.js b/contrib/data/www/web/assets/NL-DjFJb2xH.js new file mode 100644 index 00000000..39b659d4 --- /dev/null +++ b/contrib/data/www/web/assets/NL-DjFJb2xH.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='114'%20fill='%23FFFFFF'%20width='513'%20height='114'/%3e%3crect%20y='0'%20fill='%23cd1f2a'%20width='513'%20height='114'/%3e%3crect%20y='228'%20fill='%231d4185'%20width='513'%20height='114'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NO-86L4EYt1.js b/contrib/data/www/web/assets/NO-86L4EYt1.js new file mode 100644 index 00000000..344a9174 --- /dev/null +++ b/contrib/data/www/web/assets/NO-86L4EYt1.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.334'%20fill='%23D80027'%20width='512'%20height='341.337'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='512,295.883%20202.195,295.883%20202.195,426.666%20183.652,426.666%20140.978,426.666%20122.435,426.666%20122.435,295.883%200,295.883%200,277.329%200,234.666%200,216.111%20122.435,216.111%20122.435,85.329%20140.978,85.329%20183.652,85.329%20202.195,85.329%20202.195,216.111%20512,216.111%20512,234.666%20512,277.329%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='512,234.666%20512,277.329%20183.652,277.329%20183.652,426.666%20140.978,426.666%20140.978,277.329%200,277.329%200,234.666%20140.978,234.666%20140.978,85.329%20183.652,85.329%20183.652,234.666%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NP-CxKDc5-T.js b/contrib/data/www/web/assets/NP-CxKDc5-T.js new file mode 100644 index 00000000..5aa3da66 --- /dev/null +++ b/contrib/data/www/web/assets/NP-CxKDc5-T.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%230052B4'%20points='0,426.663%200,85.337%20280.419,260.087%2087.61,260.087%20271.186,426.663%20'/%3e%3cpolygon%20fill='%23D80027'%20points='244.769,249.888%2010.199,103.71%2010.199,249.888%2010.199,416.464%20244.769,416.464%2061.193,249.888%20'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='98.003,324.433%2083.414,317.57%2091.184,303.44%2075.34,306.47%2073.332,290.465%2062.297,302.237%2051.261,290.465%2049.253,306.47%2033.41,303.439%2041.18,317.57%2026.589,324.433%2041.18,331.295%2033.41,345.425%2049.254,342.396%2051.261,358.4%2062.297,346.628%2073.332,358.4%2075.34,342.396%2091.183,345.426%2083.414,331.296%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='88.268,191.662%2077.656,186.671%2083.307,176.393%2071.784,178.598%2070.323,166.957%2062.297,175.518%2054.271,166.957%2052.811,178.598%2041.286,176.393%2046.938,186.671%2036.325,191.662%2062.297,196.856%20'/%3e%3cpath%20fill='%23FFFFFF'%20d='M93.462,191.662c0,17.212-13.953,31.165-31.165,31.165s-31.165-13.953-31.165-31.165'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/NR-B8su_64b.js b/contrib/data/www/web/assets/NR-B8su_64b.js new file mode 100644 index 00000000..84d2bdd5 --- /dev/null +++ b/contrib/data/www/web/assets/NR-B8su_64b.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%230052B4'%20width='512'%20height='341.326'/%3e%3crect%20y='239.994'%20fill='%23FFDA44'%20width='512'%20height='32'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='174.802,341.329%20155.678,350.325%20165.862,368.846%20145.095,364.873%20142.464,385.851%20128,370.422%20113.535,385.851%20110.905,364.873%2090.138,368.846%20100.321,350.325%2081.198,341.329%20100.322,332.334%2090.138,313.814%20110.904,317.785%20113.536,296.807%20128,312.236%20142.465,296.807%20145.095,317.785%20165.862,313.814%20155.679,332.335%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/NU-DSI7JMI9.js b/contrib/data/www/web/assets/NU-DSI7JMI9.js new file mode 100644 index 00000000..433d2535 --- /dev/null +++ b/contrib/data/www/web/assets/NU-DSI7JMI9.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.334'%20fill='%23FFDA44'%20width='512'%20height='341.337'/%3e%3crect%20y='85.334'%20fill='%23FFFFFF'%20width='256'%20height='170.663'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='144,85.33%20112,85.33%20112,154.663%200,154.663%200,186.663%20112,186.663%20112,255.997%20144,255.997%20144,186.663%20256,186.663%20256,154.663%20144,154.663%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,85.329%200,100.412%2057.377,138.663%2080,138.663%20'/%3e%3c/g%3e%3cg%3e%3cpolygon%20fill='%232E52B2'%20points='0,107.951%200,138.663%2046.069,138.663%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='96,85.331%2096,134.244%2022.628,85.331%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='256,85.329%20256,100.412%20198.623,138.663%20176,138.663%20'/%3e%3cg%3e%3cpolygon%20fill='%232E52B2'%20points='256,107.951%20256,138.663%20209.931,138.663%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='160,85.331%20160,134.244%20233.372,85.331%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='0,85.329%200,100.412%2057.377,138.663%2080,138.663%20'/%3e%3cg%3e%3cpolygon%20fill='%232E52B2'%20points='0,107.951%200,138.663%2046.069,138.663%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='96,85.331%2096,134.244%2022.628,85.331%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='256,85.329%20256,100.412%20198.623,138.663%20176,138.663%20'/%3e%3cg%3e%3cpolygon%20fill='%232E52B2'%20points='256,107.951%20256,138.663%20209.931,138.663%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='160,85.331%20160,134.244%20233.372,85.331%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='0,255.997%200,240.915%2057.377,202.663%2080,202.663%20'/%3e%3cg%3e%3cpolygon%20fill='%232E52B2'%20points='0,233.376%200,202.663%2046.069,202.663%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='96,255.994%2096,207.082%2022.628,255.994%20'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='256,255.997%20256,240.915%20198.623,202.663%20176,202.663%20'/%3e%3cg%3e%3cpolygon%20fill='%232E52B2'%20points='256,233.376%20256,202.663%20209.931,202.663%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='160,255.994%20160,207.082%20233.372,255.994%20'/%3e%3ccircle%20fill='%232E52B2'%20cx='128'%20cy='170.66'%20r='22.627'/%3e%3c/g%3e%3cg%3e%3cpolygon%20fill='%23FFDA44'%20points='128,154.663%20131.97,166.885%20144.824,166.885%20134.426,174.441%20138.397,186.663%20128,179.109%20117.602,186.663%20121.574,174.441%20111.176,166.885%20124.029,166.885%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='128,219.803%20130.364,227.081%20138.017,227.081%20131.827,231.579%20134.191,238.857%20128,234.359%20121.809,238.857%20124.173,231.579%20117.983,227.081%20125.635,227.081%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='128,102.469%20130.364,109.747%20138.017,109.747%20131.827,114.245%20134.191,121.523%20128,117.025%20121.809,121.523%20124.173,114.245%20117.983,109.747%20125.635,109.747%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='197.931,161.136%20200.296,168.413%20207.949,168.413%20201.757,172.912%20204.122,180.191%20197.931,175.693%20191.74,180.191%20194.105,172.912%20187.914,168.413%20195.566,168.413%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='58.069,161.136%2060.433,168.413%2068.086,168.413%2061.895,172.912%2064.259,180.191%2058.069,175.693%2051.878,180.191%2054.243,172.912%2048.051,168.413%2055.704,168.413%20'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/NZ-C41L_I5d.js b/contrib/data/www/web/assets/NZ-C41L_I5d.js new file mode 100644 index 00000000..61688904 --- /dev/null +++ b/contrib/data/www/web/assets/NZ-C41L_I5d.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.334'%20fill='%230052B4'%20width='512'%20height='341.337'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='425.301,233.745%20428.689,244.173%20439.652,244.173%20430.782,250.617%20434.17,261.044%20425.301,254.6%20416.43,261.044%20419.818,250.617%20410.948,244.173%20421.911,244.173%20'/%3e%3cpolygon%20fill='%23D80027'%20points='386.107,308.817%20391.19,324.459%20407.635,324.459%20394.33,334.126%20399.412,349.766%20386.107,340.099%20372.802,349.766%20377.885,334.126%20364.58,324.459%20381.025,324.459%20'/%3e%3cpolygon%20fill='%23D80027'%20points='387.588,185.971%20391.824,199.007%20405.528,199.007%20394.44,207.061%20398.675,220.095%20387.588,212.039%20376.5,220.095%20380.735,207.061%20369.648,199.007%20383.352,199.007%20'/%3e%3cpolygon%20fill='%23D80027'%20points='349.876,233.291%20354.958,248.932%20371.404,248.932%20358.098,258.598%20363.182,274.239%20349.876,264.573%20336.571,274.239%20341.653,258.598%20328.348,248.932%20344.793,248.932%20'/%3e%3c/g%3e%3cpolygon%20fill='%23FFFFFF'%20points='256.003,85.329%20256.003,115.893%20210.825,140.981%20256.003,140.981%20256.003,200.34%20196.89,200.34%20256.003,233.186%20256.003,255.992%20229.313,255.992%20155.829,215.166%20155.829,255.992%20100.177,255.992%20100.177,207.419%2012.748,255.992%200.003,255.992%200.003,225.439%2045.171,200.34%200.003,200.34%200.003,140.981%2059.106,140.981%200.003,108.147%200.003,85.329%2026.683,85.329%20100.177,126.167%20100.177,85.329%20155.829,85.329%20155.829,133.902%20243.259,85.329%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,85.33%20112,85.33%20112,154.664%200,154.664%200,186.664%20112,186.664%20112,255.998%20144,255.998%20144,186.664%20256,186.664%20256,154.664%20144,154.664%20'/%3e%3cpolygon%20fill='%230052B4'%20points='155.826,200.344%20256,255.998%20256,240.259%20184.153,200.344%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='155.826,200.344%20256,255.998%20256,240.259%20184.153,200.344%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='155.826,200.344%20256,255.998%20256,240.259%20184.153,200.344%20'/%3e%3cpolygon%20fill='%23D80027'%20points='71.846,200.344%200,240.259%200,255.998%200,255.998%20100.174,200.344%20'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='100.174,140.983%200,85.33%200,101.068%2071.847,140.983%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='100.174,140.983%200,85.33%200,101.068%2071.847,140.983%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='100.174,140.983%200,85.33%200,101.068%2071.847,140.983%20'/%3e%3cpolygon%20fill='%23D80027'%20points='184.154,140.983%20256,101.068%20256,85.33%20256,85.33%20155.826,140.983%20'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/OM-RQlFI4YB.js b/contrib/data/www/web/assets/OM-RQlFI4YB.js new file mode 100644 index 00000000..7d3d0cf3 --- /dev/null +++ b/contrib/data/www/web/assets/OM-RQlFI4YB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23D80027'%20y='0'%20width='513'%20height='342'/%3e%3crect%20x='138'%20y='0'%20fill='%23FFFFFF'%20width='377'%20height='114'/%3e%3crect%20x='138'%20y='230'%20fill='%234A7C3A'%20width='377'%20height='114'/%3e%3cg%20fill='none'%20stroke='%23FFFFFF'%20stroke-width='10'%20stroke-miterlimit='2'%3e%3cpath%20d='M40.3,35.2c0,0,37.1,48,50.8,54.5c13.7,6.5,17.1,5.7,17.1,5.7'/%3e%3cpath%20d='M100,35.2c0,0-37.1,45.4-46.7,52.4c-9.6,7-18.7,7.8-18.7,7.8'/%3e%3cline%20x1='51.7'%20y1='65.3'%20x2='89.6'%20y2='65.3'/%3e%3cline%20x1='70.7'%20y1='35.2'%20x2='70.7'%20y2='65.3'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PA-DMeK60Qa.js b/contrib/data/www/web/assets/PA-DMeK60Qa.js new file mode 100644 index 00000000..4ba604ef --- /dev/null +++ b/contrib/data/www/web/assets/PA-DMeK60Qa.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cpath%20fill='%230052B4'%20d='M256,256c0,0,0,85.304,0,170.663H0V256h85.337C166.934,256,256,256,256,256z'/%3e%3cpath%20fill='%23D80027'%20d='M512,85.337V256h-85.337C336.184,256,256,256,256,256s0-90.323,0-170.663H512z'/%3e%3cpolygon%20fill='%230052B4'%20points='128,123.034%20139.824,159.423%20178.087,159.423%20147.132,181.914%20158.955,218.303%20128,195.813%2097.045,218.303%20108.868,181.914%2077.913,159.423%20116.176,159.423%20'/%3e%3cpolygon%20fill='%23D80027'%20points='384,293.697%20395.824,330.086%20434.087,330.086%20403.132,352.577%20414.955,388.966%20384,366.476%20353.045,388.966%20364.868,352.577%20333.913,330.086%20372.176,330.086%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PE-Ca2Jsjoe.js b/contrib/data/www/web/assets/PE-Ca2Jsjoe.js new file mode 100644 index 00000000..67d0194f --- /dev/null +++ b/contrib/data/www/web/assets/PE-Ca2Jsjoe.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cg%3e%3crect%20y='85.331'%20fill='%23D80027'%20width='170.663'%20height='341.337'/%3e%3crect%20x='341.337'%20y='85.331'%20fill='%23D80027'%20width='170.663'%20height='341.337'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PF-D1Ug4IAP.js b/contrib/data/www/web/assets/PF-D1Ug4IAP.js new file mode 100644 index 00000000..8190d4f5 --- /dev/null +++ b/contrib/data/www/web/assets/PF-D1Ug4IAP.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cg%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3c/g%3e%3cpath%20fill='%23FFDA44'%20d='M293.991,256c0,20.982-17.01,33.243-37.992,33.243S218.008,276.982,218.008,256%20s17.01-37.992,37.992-37.992S293.991,235.018,293.991,256z'/%3e%3cpath%20fill='%230052B4'%20d='M293.991,256c0,20.982-17.01,37.992-37.992,37.992s-37.992-17.01-37.992-37.992'/%3e%3cg%3e%3crect%20x='232.259'%20y='246.506'%20fill='%23D80027'%20width='9.498'%20height='19'/%3e%3crect%20x='270.247'%20y='246.506'%20fill='%23D80027'%20width='9.498'%20height='19'/%3e%3crect%20x='251.247'%20y='232.259'%20fill='%23D80027'%20width='9.498'%20height='33.243'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PG-8qXqEB3s.js b/contrib/data/www/web/assets/PG-8qXqEB3s.js new file mode 100644 index 00000000..d99ccfef --- /dev/null +++ b/contrib/data/www/web/assets/PG-8qXqEB3s.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20fill='%23000'%20y='85.333'%20width='512'%20height='341.337'/%3e%3cpolyline%20fill='%23A2001D'%20points='0,85.33%20512,85.33%20512,426.662%20'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='204.631,326.488%20207.393,334.992%20216.334,334.992%20209.101,340.247%20211.864,348.749%20204.631,343.495%20197.398,348.749%20200.16,340.247%20192.927,334.992%20201.867,334.992%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='181.797,244.866%20186.402,259.038%20201.303,259.038%20189.247,267.795%20193.852,281.967%20181.797,273.208%20169.742,281.967%20174.348,267.795%20162.292,259.038%20177.193,259.038%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='181.797,348.749%20186.401,362.922%20201.303,362.922%20189.246,371.679%20193.852,385.852%20181.797,377.093%20169.742,385.852%20174.346,371.679%20162.292,362.922%20177.191,362.922%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='225.363,281.967%20229.969,296.139%20244.87,296.139%20232.814,304.897%20237.419,319.069%20225.363,310.31%20213.309,319.069%20217.915,304.897%20205.859,296.139%20220.76,296.139%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='138.23,281.967%20142.836,296.139%20157.735,296.139%20145.681,304.897%20150.284,319.069%20138.23,310.31%20126.175,319.069%20130.78,304.897%20118.725,296.139%20133.625,296.139%20'/%3e%3c/g%3e%3cpath%20fill='%23FFDA44'%20d='M376.526,204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795%20c-12.698-12.698-29.714-18.431-46.319-17.218c-1.988-7.145-5.778-13.892-11.396-19.511l-12.593,25.186%20c-0.826-1.506-1.872-2.923-3.148-4.197c-7.245-7.245-18.991-7.244-26.234,0s-7.245,18.99,0,26.234%20c1.276,1.276,2.692,2.322,4.197,3.148l-25.186,12.593c5.62,5.62,12.371,9.412,19.519,11.399%20c-1.217,16.606,4.511,33.619,17.209,46.317l27.854-35.811c2.096-2.064,4.862-3.202,7.807-3.202c2.973,0,5.768,1.158,7.87,3.26%20c2.103,2.103,3.26,4.897,3.26,7.87c0,2.974-1.158,5.768-3.26,7.87l10.494,10.494c4.905-4.905,7.607-11.428,7.607-18.364%20c0-5.675-1.81-11.071-5.153-15.534c4.871,1.3,9.474,3.849,13.288,7.662c11.573,11.572,11.573,30.403,0,41.975l10.494,10.494%20c8.409-8.409,13.039-19.59,13.039-31.481C389.565,223.752,384.934,212.572,376.526,204.163z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/PH-BqKXRPqE.js b/contrib/data/www/web/assets/PH-BqKXRPqE.js new file mode 100644 index 00000000..548a8fd9 --- /dev/null +++ b/contrib/data/www/web/assets/PH-BqKXRPqE.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cg%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='512,85.337%20512,256%20256,256%200,85.337%20'/%3e%3cpolygon%20fill='%23D80027'%20points='512,256%20512,426.663%200,426.663%20256,256%20'/%3e%3cg%3e%3cpolygon%20fill='%23FFDA44'%20points='161.908,256%20134.62,243.165%20149.152,216.737%20119.52,222.405%20115.765,192.472%2095.125,214.487%2074.486,192.472%2070.731,222.405%2041.1,216.736%2055.631,243.164%2028.343,256%2055.631,268.835%2041.1,295.263%2070.733,289.595%2074.486,319.528%2095.125,297.513%20115.765,319.528%20119.52,289.595%20149.151,295.264%20134.619,268.837%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='21.789,117.607%2030.87,130.303%2045.749,125.589%2036.481,138.149%2045.562,150.843%2030.753,145.911%2021.485,158.47%2021.602,142.862%206.793,137.928%2021.673,133.216%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='21.789,353.53%2030.87,366.226%2045.749,361.512%2036.481,374.072%2045.562,386.767%2030.753,381.834%2021.485,394.392%2021.602,378.785%206.793,373.851%2021.673,369.139%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='210.395,235.569%20201.314,248.264%20186.435,243.551%20195.703,256.11%20186.622,268.806%20201.431,263.873%20210.699,276.431%20210.582,260.824%20225.391,255.89%20210.511,251.177%20'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/PK-D6ZT-Hcu.js b/contrib/data/www/web/assets/PK-D6ZT-Hcu.js new file mode 100644 index 00000000..33feda04 --- /dev/null +++ b/contrib/data/www/web/assets/PK-D6ZT-Hcu.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='393.508,170.516%20411.02,189.391%20434.383,178.57%20421.842,201.057%20439.355,219.933%20414.092,214.955%20401.553,237.443%20398.48,211.879%20373.217,206.901%20396.58,196.081%20'/%3e%3crect%20y='85.343'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3c/g%3e%3crect%20x='128'%20y='85.331'%20fill='%2301411c'%20width='384'%20height='341.337'/%3e%3cg%3e%3cpath%20fill='%23FFFFFF'%20d='M361.909,298.793c-31.037,22.426-74.378,15.446-96.804-15.592%20c-22.427-31.038-15.446-74.379,15.593-96.804c9.677-6.992,20.55-11.125,31.613-12.563c-21.283-3.183-43.777,1.613-62.598,15.211%20c-38.2,27.602-46.792,80.944-19.191,119.145c27.601,38.199,80.944,46.792,119.145,19.189c18.82-13.598,30.436-33.448,34.096-54.655%20C378.924,282.774,371.587,291.8,361.909,298.793z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='360.58,172.889%20378.064,191.731%20401.386,180.929%20388.867,203.376%20406.35,222.22%20381.131,217.252%20368.612,239.702%20365.545,214.181%20340.325,209.212%20363.648,198.41%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/PL-DFBDuqRs.js b/contrib/data/www/web/assets/PL-DFBDuqRs.js new file mode 100644 index 00000000..35f4194e --- /dev/null +++ b/contrib/data/www/web/assets/PL-DFBDuqRs.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cg%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='170.663'/%3e%3c/g%3e%3crect%20y='256'%20fill='%23D80027'%20width='512'%20height='170.663'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PM-B8vDbpLB.js b/contrib/data/www/web/assets/PM-B8vDbpLB.js new file mode 100644 index 00000000..fc28e7c5 --- /dev/null +++ b/contrib/data/www/web/assets/PM-B8vDbpLB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%2300318A'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23D80027'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PN-W09zPp77.js b/contrib/data/www/web/assets/PN-W09zPp77.js new file mode 100644 index 00000000..9293fc50 --- /dev/null +++ b/contrib/data/www/web/assets/PN-W09zPp77.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.333'%20fill='%230052B4'%20width='512'%20height='341.337'/%3e%3cpolygon%20fill='%23ACABB1'%20points='400.696,219.822%20384,225.387%20367.304,219.822%20361.739,205.909%20367.304,191.996%20400.696,191.996%20395.13,205.909%20'/%3e%3cpath%20fill='%23338AF3'%20d='M345.043,219.822v61.217c0,29.821,38.957,38.957,38.957,38.957s38.957-9.137,38.957-38.957v-61.217%20H345.043z'/%3e%3cpath%20fill='%236DA544'%20d='M348.555,295.541C358.131,313.927,384,319.996,384,319.996s25.869-6.069,35.445-24.455L384,236.518%20L348.555,295.541z'/%3e%3cpath%20fill='%23FFDA44'%20d='M422.957,280.421L384,219.822l-38.957,60.599v0.618c0,5.518,1.337,10.328,3.512,14.503L384,240.405%20l35.445,55.137c2.175-4.175,3.512-8.983,3.512-14.503V280.421z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,85.333%20256,115.886%20210.833,140.985%20256,140.985%20256,200.344%20196.897,200.344%20256,233.179%20256,255.996%20229.32,255.996%20155.826,215.17%20155.826,255.996%20100.174,255.996%20100.174,207.423%2012.744,255.996%200,255.996%200,225.442%2045.167,200.344%200,200.344%200,140.985%2059.103,140.985%200,108.139%200,85.333%2026.68,85.333%20100.174,126.158%20100.174,85.333%20155.826,85.333%20155.826,133.905%20243.256,85.333%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,85.33%20112,85.33%20112,154.662%200,154.662%200,186.662%20112,186.662%20112,255.996%20144,255.996%20144,186.662%20256,186.662%20256,154.662%20144,154.662%20'/%3e%3cpolygon%20fill='%230052B4'%20points='155.826,200.344%20256,255.996%20256,240.259%20184.153,200.344%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='155.826,200.344%20256,255.996%20256,240.259%20184.153,200.344%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='155.826,200.344%20256,255.996%20256,240.259%20184.153,200.344%20'/%3e%3cpolygon%20fill='%23D80027'%20points='71.846,200.344%200,240.259%200,255.996%200,255.996%20100.174,200.344%20'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='100.174,140.982%200,85.33%200,101.067%2071.847,140.982%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='100.174,140.982%200,85.33%200,101.067%2071.847,140.982%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='100.174,140.982%200,85.33%200,101.067%2071.847,140.982%20'/%3e%3cpolygon%20fill='%23D80027'%20points='184.154,140.982%20256,101.067%20256,85.33%20256,85.33%20155.826,140.982%20'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/PR-DNh0l7ve.js b/contrib/data/www/web/assets/PR-DNh0l7ve.js new file mode 100644 index 00000000..b029d6e0 --- /dev/null +++ b/contrib/data/www/web/assets/PR-DNh0l7ve.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cg%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='68.263'/%3e%3crect%20y='221.863'%20fill='%23D80027'%20width='512'%20height='68.263'/%3e%3crect%20y='358.4'%20fill='%23D80027'%20width='512'%20height='68.263'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='256,256.006%200,426.668%200,85.331%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='83.477,195.132%2098.584,241.63%20147.478,241.63%20107.924,270.369%20123.031,316.868%2083.477,288.13%2043.922,316.868%2059.032,270.369%2019.478,241.63%2068.37,241.63%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PS-BxHJsNeL.js b/contrib/data/www/web/assets/PS-BxHJsNeL.js new file mode 100644 index 00000000..3b4a5f96 --- /dev/null +++ b/contrib/data/www/web/assets/PS-BxHJsNeL.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23000'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23268024'%20width='512'%20height='113.775'/%3e%3cpolygon%20fill='%23e4312b'%20points='256,256.006%200,426.668%200,85.331%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PT-CoJFuCLx.js b/contrib/data/www/web/assets/PT-CoJFuCLx.js new file mode 100644 index 00000000..f1db5766 --- /dev/null +++ b/contrib/data/www/web/assets/PT-CoJFuCLx.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%236DA544'%20points='196.641,85.337%20196.641,261.565%20196.641,426.663%200,426.663%200,85.337%20'/%3e%3ccircle%20fill='%23FFDA44'%20cx='196.641'%20cy='256'%20r='64'/%3e%3cpath%20fill='%23D80027'%20d='M160.638,224v40.001c0,19.882,16.118,36,36,36s36-16.118,36-36V224H160.638z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M196.638,276c-6.617,0-12-5.383-12-12v-16h24.001v16C208.638,270.616,203.254,276,196.638,276z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/PW-BI3CWBTN.js b/contrib/data/www/web/assets/PW-BI3CWBTN.js new file mode 100644 index 00000000..0ab806e2 --- /dev/null +++ b/contrib/data/www/web/assets/PW-BI3CWBTN.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23338AF3'%20width='512'%20height='341.337'/%3e%3ccircle%20fill='%23FFDA44'%20cx='218.902'%20cy='255.994'%20r='74.207'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/PY-CNXBcYnq.js b/contrib/data/www/web/assets/PY-CNXBcYnq.js new file mode 100644 index 00000000..a2cb11bc --- /dev/null +++ b/contrib/data/www/web/assets/PY-CNXBcYnq.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%230052B4'%20width='512'%20height='113.775'/%3e%3cpath%20fill='%236DA544'%20d='M289.579,216.738l-12.592,12.592c5.37,5.372,8.693,12.792,8.693,20.988%20c0,16.392-13.289,29.68-29.68,29.68c-16.392,0-29.68-13.289-29.68-29.68c0-8.195,3.322-15.616,8.693-20.988l-12.592-12.592%20c-8.594,8.594-13.91,20.466-13.91,33.579c0,26.228,21.261,47.489,47.489,47.489s47.489-21.261,47.489-47.489%20C303.489,237.205,298.173,225.332,289.579,216.738z'/%3e%3cpolygon%20fill='%23FFDA44'%20points='256,232.51%20260.421,246.115%20274.725,246.115%20263.152,254.523%20267.573,268.127%20256,259.719%20244.427,268.127%20248.848,254.523%20237.275,246.115%20251.579,246.115%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/QA-DmWWreP8.js b/contrib/data/www/web/assets/QA-DmWWreP8.js new file mode 100644 index 00000000..8cd59e33 --- /dev/null +++ b/contrib/data/www/web/assets/QA-DmWWreP8.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23751A46'%20width='512'%20height='342'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='0,0%200,342%20150.3,342%20188,322.4%20150.3,303.5%20188,284.5%20150.3,265.6%20188,246.6%20150.3,227.6%20188,208.7%20150.3,189.7%20188,170.7%20150.3,151.8%20188,132.8%20188,132.8%20188,132.8%20150.3,113.9%20188,94.9%20150.3,75.9%20188,57%20150.3,38%20188,19.1%20150.3,0%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/RE-B8vDbpLB.js b/contrib/data/www/web/assets/RE-B8vDbpLB.js new file mode 100644 index 00000000..fc28e7c5 --- /dev/null +++ b/contrib/data/www/web/assets/RE-B8vDbpLB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3crect%20y='0'%20fill='%2300318A'%20width='171'%20height='342'/%3e%3crect%20x='342'%20y='0'%20fill='%23D80027'%20width='171'%20height='342'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/RO-DWS7w99F.js b/contrib/data/www/web/assets/RO-DWS7w99F.js new file mode 100644 index 00000000..1fe1c1b0 --- /dev/null +++ b/contrib/data/www/web/assets/RO-DWS7w99F.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFDA44'%20width='512'%20height='341.326'/%3e%3crect%20y='85.331'%20fill='%230052B4'%20width='170.663'%20height='341.337'/%3e%3crect%20x='341.337'%20y='85.331'%20fill='%23D80027'%20width='170.663'%20height='341.337'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/RS-Bh3OKS_i.js b/contrib/data/www/web/assets/RS-Bh3OKS_i.js new file mode 100644 index 00000000..2a5de0f3 --- /dev/null +++ b/contrib/data/www/web/assets/RS-Bh3OKS_i.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%230052B4'%20width='512'%20height='341.337'/%3e%3crect%20y='85.331'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3crect%20y='312.882'%20fill='%23FFFFFF'%20width='512'%20height='113.775'/%3e%3cpath%20fill='%23D80027'%20d='M129.468,181.793v85.136c0,48.429,63.267,63.267,63.267,63.267S256,315.356,256,266.929v-85.136%20H129.468z'/%3e%3cg%3e%3cpolygon%20fill='%23FFDA44'%20points='155.634,196.634%20229.835,196.634%20229.835,166.953%20214.994,174.373%20192.733,152.113%20170.474,174.373%20155.634,166.953%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='241.16,278.782%20192.929,230.551%20144.698,278.782%20160.439,294.522%20192.929,262.032%20225.419,294.522%20'/%3e%3c/g%3e%3cpath%20fill='%23FFFFFF'%20d='M241.16,233.734h-22.504c1.266-2.184,2.001-4.713,2.001-7.418c0-8.196-6.645-14.84-14.84-14.84%20c-5.663,0-10.581,3.172-13.083,7.836c-2.502-4.663-7.421-7.836-13.083-7.836c-8.195,0-14.84,6.644-14.84,14.84%20c0,2.706,0.736,5.235,2.001,7.418h-22.114c0,8.196,7.139,14.84,15.334,14.84h-0.494c0,8.196,6.644,14.84,14.84,14.84%20c0,7.257,5.211,13.286,12.094,14.576l-11.694,26.401c5.603,2.278,11.727,3.544,18.149,3.544c6.422,0,12.545-1.266,18.149-3.544%20l-11.694-26.401c6.883-1.29,12.094-7.319,12.094-14.576c8.196,0,14.84-6.644,14.84-14.84h-0.494%20C234.021,248.574,241.16,241.93,241.16,233.734z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/RU-DuF-s0U5.js b/contrib/data/www/web/assets/RU-DuF-s0U5.js new file mode 100644 index 00000000..c7a6bde4 --- /dev/null +++ b/contrib/data/www/web/assets/RU-DuF-s0U5.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cpolygon%20fill='%23FFFFFF'%20points='0,85.33%200,199.107%200,312.885%200,426.662%20512,426.662%20512,312.885%20512,199.107%20512,85.33%20'/%3e%3crect%20y='85.333'%20fill='%230052B4'%20width='512'%20height='341.337'/%3e%3crect%20y='85.333'%20fill='%23FFFFFF'%20width='512'%20height='113.775'/%3e%3crect%20y='312.884'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/RW-jsvhnRfd.js b/contrib/data/www/web/assets/RW-jsvhnRfd.js new file mode 100644 index 00000000..20ad32ae --- /dev/null +++ b/contrib/data/www/web/assets/RW-jsvhnRfd.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23338AF3'%20width='512'%20height='341.337'/%3e%3crect%20y='255.994'%20fill='%23FFDA44'%20width='512'%20height='81.619'/%3e%3crect%20y='337.614'%20fill='%23496E2D'%20width='512'%20height='89.043'/%3e%3cpolygon%20fill='%23FFDA44'%20points='278.261,185.209%20299.105,195.013%20288.006,215.199%20310.638,210.869%20313.506,233.734%20329.271,216.918%20345.037,233.734%20347.904,210.869%20370.537,215.199%20359.438,195.013%20380.281,185.209%20359.437,175.404%20370.537,155.219%20347.904,159.548%20345.036,136.684%20329.271,153.5%20313.505,136.684%20310.638,159.548%20288.004,155.219%20299.104,175.406%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SA-DSeUIsx_.js b/contrib/data/www/web/assets/SA-DSeUIsx_.js new file mode 100644 index 00000000..f615bc53 --- /dev/null +++ b/contrib/data/www/web/assets/SA-DSeUIsx_.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.333'%20fill='%23055e1c'%20width='512'%20height='341.333'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpath%20d='M183.548,289.386c0,12.295,9.731,22.261,21.736,22.261h65.208c0,10.244,8.11,18.551,18.114,18.551%20h21.736c10.004,0,18.114-8.306,18.114-18.551v-22.261H183.548z'/%3e%3cpath%20d='M330.264,181.791v51.942c0,8.183-6.5,14.84-14.491,14.84v22.261%20c19.976,0,36.226-16.643,36.226-37.101v-51.942L330.264,181.791L330.264,181.791z'/%3e%3cpath%20d='M174.491,233.734c0,8.183-6.5,14.84-14.491,14.84v22.261c19.976,0,36.226-16.643,36.226-37.101%20v-51.942h-21.736V233.734z'/%3e%3crect%20x='297.661'%20y='181.788'%20width='21.736'%20height='51.942'/%3e%3cpath%20d='M265.057,211.473c0,2.046-1.625,3.71-3.623,3.71c-1.998,0-3.623-1.664-3.623-3.71v-29.682h-21.736%20v29.682c0,2.046-1.625,3.71-3.623,3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0,14.32,11.376,25.971,25.358,25.971%20c5.385,0,10.38-1.733,14.491-4.677c4.11,2.944,9.106,4.677,14.491,4.677c1.084,0,2.15-0.078,3.2-0.215%20c-1.54,6.499-7.255,11.345-14.068,11.345v22.261c19.976,0,36.226-16.643,36.226-37.101v-22.261v-29.682h-21.736L265.057,211.473%20L265.057,211.473z'/%3e%3crect%20x='207.093'%20y='248.57'%20width='32.601'%20height='22.261'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/SB-BtQG2ulB.js b/contrib/data/www/web/assets/SB-BtQG2ulB.js new file mode 100644 index 00000000..72c48b17 --- /dev/null +++ b/contrib/data/www/web/assets/SB-BtQG2ulB.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.334'%20fill='%23496E2D'%20width='512'%20height='341.337'/%3e%3cpolyline%20fill='%230052B4'%20points='0,426.663%200,85.329%20512,85.329%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='0,396.494%200,426.663%2045.255,426.663%20512,115.499%20512,85.329%20466.745,85.329%20'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='85.688,108.787%2090.808,124.543%20107.374,124.543%2093.971,134.28%2099.091,150.037%2085.688,140.299%2072.283,150.037%2077.403,134.28%2064,124.543%2080.567,124.543%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='170.312,108.787%20175.433,124.543%20192,124.543%20178.597,134.28%20183.717,150.037%20170.312,140.299%20156.909,150.037%20162.029,134.28%20148.626,124.543%20165.192,124.543%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='85.688,191.289%2090.808,207.045%20107.374,207.045%2093.971,216.783%2099.091,232.54%2085.688,222.801%2072.283,232.54%2077.403,216.783%2064,207.045%2080.567,207.045%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='170.312,191.289%20175.433,207.045%20192,207.045%20178.597,216.783%20183.717,232.54%20170.312,222.801%20156.909,232.54%20162.029,216.783%20148.626,207.045%20165.192,207.045%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='128,150.037%20133.12,165.793%20149.688,165.793%20136.283,175.531%20141.403,191.289%20128,181.55%20114.597,191.289%20119.717,175.531%20106.312,165.793%20122.88,165.793%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/SC-MyYKZ2WK.js b/contrib/data/www/web/assets/SC-MyYKZ2WK.js new file mode 100644 index 00000000..ab42b4ad --- /dev/null +++ b/contrib/data/www/web/assets/SC-MyYKZ2WK.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%23FFDA44'%20points='235.454,85.337%200,426.663%20427.345,85.337%20'/%3e%3cpolygon%20fill='%236DA544'%20points='512,329.393%200,426.663%20512,426.663%20'/%3e%3cpolygon%20fill='%23D80027'%20points='512,85.337%20427.345,85.337%200,426.663%20512,222.151%20'/%3e%3cpolygon%20fill='%230052B4'%20points='0,85.337%200,426.663%20235.454,85.337%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/SD-cXXsGHLB.js b/contrib/data/www/web/assets/SD-cXXsGHLB.js new file mode 100644 index 00000000..0cd183fe --- /dev/null +++ b/contrib/data/www/web/assets/SD-cXXsGHLB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23000'%20width='512'%20height='113.775'/%3e%3cpolygon%20fill='%23496E2D'%20points='0,426.668%200,85.331%20256,256.006%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SE-CtVAMbcV.js b/contrib/data/www/web/assets/SE-CtVAMbcV.js new file mode 100644 index 00000000..075a0f12 --- /dev/null +++ b/contrib/data/www/web/assets/SE-CtVAMbcV.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.333'%20fill='%230052B4'%20width='512'%20height='341.337'/%3e%3cpolygon%20fill='%23FFDA44'%20points='192,85.33%20128,85.33%20128,223.996%200,223.996%200,287.996%20128,287.996%20128,426.662%20192,426.662%20192,287.996%20512,287.996%20512,223.996%20192,223.996%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SG-CE2UisIC.js b/contrib/data/www/web/assets/SG-CE2UisIC.js new file mode 100644 index 00000000..c76aff12 --- /dev/null +++ b/contrib/data/www/web/assets/SG-CE2UisIC.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='170.663'/%3e%3cg%3e%3cpath%20fill='%23FFFFFF'%20d='M83.478,170.666c0-24.865,17.476-45.637,40.812-50.734c-3.587-0.784-7.308-1.208-11.13-1.208%20c-28.688,0-51.942,23.254-51.942,51.941s23.255,51.942,51.942,51.942c3.822,0,7.543-0.425,11.13-1.208%20C100.954,216.304,83.478,195.532,83.478,170.666z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='150.261,122.435%20153.945,133.772%20165.866,133.772%20156.221,140.779%20159.905,152.116%20150.261,145.11%20140.616,152.116%20144.301,140.779%20134.656,133.772%20146.577,133.772%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='121.344,144.696%20125.027,156.033%20136.948,156.033%20127.303,163.04%20130.987,174.377%20121.344,167.371%20111.699,174.377%20115.384,163.04%20105.739,156.033%20117.66,156.033%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='179.178,144.696%20182.862,156.033%20194.783,156.033%20185.138,163.04%20188.822,174.377%20179.178,167.371%20169.534,174.377%20173.219,163.04%20163.574,156.033%20175.495,156.033%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='168.047,178.087%20171.731,189.424%20183.652,189.424%20174.008,196.431%20177.692,207.768%20168.047,200.762%20158.404,207.768%20162.088,196.431%20152.444,189.424%20164.364,189.424%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='132.474,178.087%20136.157,189.424%20148.078,189.424%20138.434,196.431%20142.118,207.768%20132.474,200.762%20122.83,207.768%20126.514,196.431%20116.87,189.424%20128.79,189.424%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/SH-B5zpDzMq.js b/contrib/data/www/web/assets/SH-B5zpDzMq.js new file mode 100644 index 00000000..cd54a93f --- /dev/null +++ b/contrib/data/www/web/assets/SH-B5zpDzMq.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20512%20341.3'%3e%3crect%20y='0'%20fill='%230052B4'%20width='512'%20height='341.3'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20256,117.4%20209.9,117.4%20256,148.1%20256,170.7%20233.4,170.7%20160,121.8%20160,170.7%2096,170.7%2096,121.8%2022.6,170.7%200,170.7%200,148.1%2046.1,117.4%200,117.4%200,53.4%2046.1,53.4%200,22.7%200,0%2022.6,0%2096,48.9%2096,0%20160,0%20160,48.9%20233.4,0%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.4%200,69.4%200,101.4%20112,101.4%20112,170.7%20144,170.7%20144,101.4%20256,101.4%20256,69.4%20144,69.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,0%200,15.1%2057.4,53.4%2080,53.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,0%20256,15.1%20198.6,53.4%20176,53.4%20'/%3e%3c/g%3e%3cpolygon%20fill='%232E52B2'%20points='256,22.7%20256,53.4%20209.9,53.4%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,0%200,15.1%2057.4,53.4%2080,53.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,0%20256,15.1%20198.6,53.4%20176,53.4%20'/%3e%3c/g%3e%3cpolygon%20fill='%232E52B2'%20points='256,22.7%20256,53.4%20209.9,53.4%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,170.7%200,155.6%2057.4,117.4%2080,117.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,170.7%20256,155.6%20198.6,117.4%20176,117.4%20'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%2329DBFF'%20d='M449,139.7c-0.1,44.4-7.2,92.1-65,114.9c-57.8-22.8-64.9-70.5-65-114.9L449,139.7L449,139.7z'/%3e%3cpath%20fill='%23ffda44'%20d='M449,139.7c0-16.7-0.9-32.9-0.5-47.1C426.9,83,398.4,81,383.9,81s-42.9,2-64.6,11.6%20c0.4,14.2-0.5,30.4-0.5,47.1H449z'/%3e%3cpath%20fill='%23BF521B'%20d='M369.5,204.5l0.3,10.3L357,215l4.9,13.2l-17.3,0c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7l8.3,14.3l10.8-12.8%20l7,7.8l0.8,15.7L369.5,204.5z'/%3e%3c/g%3e%3cpolygon%20fill='%23474747'%20points='436.6,192.5%20428,210.8%20381,210.8%20351.8,191.3%20377.5,201.8%20402.6,201.8%20406.3,195.3%20413.5,195.5%20415.5,192.5%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/SI-9a5HBiTQ.js b/contrib/data/www/web/assets/SI-9a5HBiTQ.js new file mode 100644 index 00000000..29e6e64d --- /dev/null +++ b/contrib/data/www/web/assets/SI-9a5HBiTQ.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='199.112'%20fill='%230052B4'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3cpath%20fill='%23FFFFFF'%20d='M233.606,196.639v14.837c0,34.081-44.522,44.522-44.522,44.522s-44.522-10.44-44.522-44.522v-14.837%20l-0.145-44.188l89.043-0.266L233.606,196.639z'/%3e%3cpath%20fill='%230052B4'%20d='M233.606,196.639v14.837c0,34.081-44.522,44.522-44.522,44.522s-44.522-10.44-44.522-44.522v-14.837%20l-0.145-44.188l89.043-0.266L233.606,196.639z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M233.606,196.639v14.837c0,34.081-44.522,44.522-44.522,44.522s-44.522-10.44-44.522-44.522v-14.837%20l14.848,14.837l29.674-22.261l29.685,22.261L233.606,196.639z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/SJ-86L4EYt1.js b/contrib/data/www/web/assets/SJ-86L4EYt1.js new file mode 100644 index 00000000..344a9174 --- /dev/null +++ b/contrib/data/www/web/assets/SJ-86L4EYt1.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.334'%20fill='%23D80027'%20width='512'%20height='341.337'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='512,295.883%20202.195,295.883%20202.195,426.666%20183.652,426.666%20140.978,426.666%20122.435,426.666%20122.435,295.883%200,295.883%200,277.329%200,234.666%200,216.111%20122.435,216.111%20122.435,85.329%20140.978,85.329%20183.652,85.329%20202.195,85.329%20202.195,216.111%20512,216.111%20512,234.666%20512,277.329%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='512,234.666%20512,277.329%20183.652,277.329%20183.652,426.666%20140.978,426.666%20140.978,277.329%200,277.329%200,234.666%20140.978,234.666%20140.978,85.329%20183.652,85.329%20183.652,234.666%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SK-BwOc2pOo.js b/contrib/data/www/web/assets/SK-BwOc2pOo.js new file mode 100644 index 00000000..9922dc31 --- /dev/null +++ b/contrib/data/www/web/assets/SK-BwOc2pOo.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='196.641'%20fill='%230052B4'%20width='512'%20height='118.717'/%3e%3crect%20y='315.359'%20fill='%23D80027'%20width='512'%20height='111.304'/%3e%3cpath%20fill='%23FFFFFF'%20d='M129.468,181.799v85.136c0,48.429,63.267,63.267,63.267,63.267S256,315.362,256,266.935v-85.136%20H129.468z'/%3e%3cpath%20fill='%23D80027'%20d='M146.126,184.294v81.941c0,5.472,1.215,10.64,3.623,15.485c23.89,0,59.599,0,85.97,0%20c2.408-4.844,3.623-10.012,3.623-15.485v-81.941H146.126z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='221.301,241.427%20199.876,241.427%20199.876,227.144%20214.16,227.144%20214.16,212.861%20199.876,212.861%20199.876,198.577%20185.593,198.577%20185.593,212.861%20171.311,212.861%20171.311,227.144%20185.593,227.144%20185.593,241.427%20164.167,241.427%20164.167,255.711%20185.593,255.711%20185.593,269.994%20199.876,269.994%20199.876,255.711%20221.301,255.711%20'/%3e%3cpath%20fill='%230052B4'%20d='M169.232,301.658c9.204,5.783,18.66,9.143,23.502,10.636c4.842-1.494,14.298-4.852,23.502-10.636%20c9.282-5.833,15.79-12.506,19.484-19.939c-4.075-2.883-9.047-4.583-14.418-4.583c-1.956,0-3.856,0.232-5.682,0.657%20c-3.871-8.796-12.658-14.94-22.884-14.94c-10.227,0-19.013,6.144-22.884,14.94c-1.827-0.425-3.728-0.657-5.682-0.657%20c-5.372,0-10.344,1.701-14.418,4.583C153.443,289.152,159.95,295.825,169.232,301.658z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/SL-Bxnx4vlW.js b/contrib/data/www/web/assets/SL-Bxnx4vlW.js new file mode 100644 index 00000000..713c6383 --- /dev/null +++ b/contrib/data/www/web/assets/SL-Bxnx4vlW.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%236DA544'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23338AF3'%20width='512'%20height='113.775'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SM-BJATjMbx.js b/contrib/data/www/web/assets/SM-BJATjMbx.js new file mode 100644 index 00000000..b2bb34e6 --- /dev/null +++ b/contrib/data/www/web/assets/SM-BJATjMbx.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.34'%20fill='%23338AF3'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='512,85.334%20512,252.024%200,256.175%200,85.334%20'/%3e%3cpath%20fill='%236DA544'%20d='M323.744,203.099L256,270.843l-67.744-67.744c-8.76,13.005-13.879,28.658-13.879,45.483v22.261%20c0,35.744,23.097,66.193,55.148,77.213c-4.277,8.385-3.556,18.848,2.712,26.671c8.326-6.673,16.945-13.58,24.258-19.439%20c7.313,5.859,15.932,12.767,24.258,19.439c6.342-7.915,7.011-18.534,2.564-26.968c31.614-11.261,54.308-41.485,54.308-76.916%20v-22.261C337.623,231.756,332.504,216.105,323.744,203.099z'/%3e%3cpath%20fill='%23FFDA44'%20d='M256,330.206c-32.732,0-59.362-26.63-59.362-59.362v-22.261c0-32.733,26.63-59.363,59.362-59.363%20s59.362,26.63,59.362,59.362v22.261C315.362,303.576,288.732,330.206,256,330.206z'/%3e%3cpath%20fill='%23338AF3'%20d='M293.101,270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101,16.643-37.101,37.101v22.261%20L256,278.264L293.101,270.843z'/%3e%3cpath%20fill='%236DA544'%20d='M218.899,270.843L218.899,270.843c0,20.458,16.643,37.101,37.101,37.101%20c20.458,0,37.101-16.643,37.101-37.101l0,0H218.899L218.899,270.843z'/%3e%3cpath%20fill='%23FFDA44'%20d='M300.522,189.22c0-12.295-9.966-22.261-22.261-22.261c-5.703,0-10.901,2.146-14.84,5.672v-13.093%20h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093c-3.94-3.526-9.138-5.672-14.841-5.672%20c-12.295,0-22.261,9.966-22.261,22.261c0,6.591,2.867,12.512,7.421,16.589v13.093h74.203v-13.093%20C297.655,201.732,300.522,195.812,300.522,189.22z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/SN-B8j9XDTv.js b/contrib/data/www/web/assets/SN-B8j9XDTv.js new file mode 100644 index 00000000..23088662 --- /dev/null +++ b/contrib/data/www/web/assets/SN-B8j9XDTv.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFDA44'%20width='512'%20height='341.326'/%3e%3crect%20x='330.207'%20y='85.331'%20fill='%23D80027'%20width='181.793'%20height='341.337'/%3e%3cg%3e%3crect%20y='85.331'%20fill='%23496E2D'%20width='181.793'%20height='341.337'/%3e%3cpolygon%20fill='%23496E2D'%20points='255.999,196.632%20270.732,241.979%20318.417,241.979%20279.841,270.008%20294.575,315.356%20255.999,287.33%20217.422,315.356%20232.159,270.008%20193.583,241.979%20241.264,241.979%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SO-8TW9h6yL.js b/contrib/data/www/web/assets/SO-8TW9h6yL.js new file mode 100644 index 00000000..d33965bc --- /dev/null +++ b/contrib/data/www/web/assets/SO-8TW9h6yL.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23338AF3'%20width='512'%20height='341.337'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,157.273%20278.663,227.021%20352,227.021%20292.668,270.127%20315.332,339.876%20256,296.769%20196.668,339.876%20219.332,270.127%20160,227.021%20233.337,227.021%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SR-BdANUAN1.js b/contrib/data/www/web/assets/SR-BdANUAN1.js new file mode 100644 index 00000000..d1a6e6ec --- /dev/null +++ b/contrib/data/www/web/assets/SR-BdANUAN1.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFFFFF'%20width='512'%20height='341.337'/%3e%3crect%20y='196.636'%20fill='%23A2001D'%20width='512'%20height='118.728'/%3e%3cg%3e%3crect%20y='352.462'%20fill='%236DA544'%20width='512'%20height='74.207'/%3e%3crect%20y='85.331'%20fill='%236DA544'%20width='512'%20height='74.207'/%3e%3c/g%3e%3cpolygon%20fill='%23FFDA44'%20points='256.742,218.003%20266.172,247.024%20296.69,247.024%20272,264.963%20281.431,293.986%20256.742,276.049%20232.053,293.986%20241.484,264.963%20216.794,247.024%20247.312,247.024%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SS-BqQGR0F0.js b/contrib/data/www/web/assets/SS-BqQGR0F0.js new file mode 100644 index 00000000..dd57c738 --- /dev/null +++ b/contrib/data/www/web/assets/SS-BqQGR0F0.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='322.783'%20fill='%23496E2D'%20width='512'%20height='103.88'/%3e%3crect%20y='85.337'%20fill='%23000'%20width='512'%20height='104.515'/%3e%3crect%20y='210.877'%20fill='%23A2001D'%20width='512'%20height='89.656'/%3e%3cpolygon%20fill='%230052B4'%20points='256,256.006%200,426.668%200,85.331%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='73.178,209.188%2094.009,238.255%20128.093,227.425%20106.886,256.22%20127.716,285.289%2093.777,274.018%2072.569,302.812%2072.803,267.05%2038.863,255.777%2072.946,244.947%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/ST-BQVf8PHB.js b/contrib/data/www/web/assets/ST-BQVf8PHB.js new file mode 100644 index 00000000..56d5f816 --- /dev/null +++ b/contrib/data/www/web/assets/ST-BQVf8PHB.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFDA44'%20width='512'%20height='341.326'/%3e%3cg%3e%3crect%20y='85.337'%20fill='%236DA544'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%236DA544'%20width='512'%20height='113.775'/%3e%3c/g%3e%3cpolygon%20fill='%23D80027'%20points='256,256.006%200,426.668%200,85.331%20'/%3e%3cpolygon%20fill='%23000'%20points='302.049,226.318%20309.417,248.992%20333.259,248.992%20313.971,263.008%20321.337,285.682%20302.049,271.667%20282.762,285.682%20290.128,263.008%20270.84,248.992%20294.682,248.992%20'/%3e%3cpolygon%20fill='%23000'%20points='376.252,226.318%20383.619,248.992%20407.461,248.992%20388.173,263.008%20395.54,285.682%20376.252,271.667%20356.964,285.682%20364.331,263.008%20345.043,248.992%20368.885,248.992%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SV-CxOhSw-7.js b/contrib/data/www/web/assets/SV-CxOhSw-7.js new file mode 100644 index 00000000..b2241fab --- /dev/null +++ b/contrib/data/www/web/assets/SV-CxOhSw-7.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cg%3e%3crect%20y='85.337'%20fill='%230052B4'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%230052B4'%20width='512'%20height='113.775'/%3e%3c/g%3e%3cpolygon%20fill='%23FFDA44'%20points='228.582,261.936%20256,214.447%20283.418,261.936%20'/%3e%3cpolygon%20fill='%236DA544'%20points='291.616,277.616%20256,295.425%20220.384,277.616%20220.384,253.872%20291.616,253.872%20'/%3e%3cpath%20fill='%23FFDA44'%20d='M289.579,216.485l-12.592,12.592c5.37,5.372,8.693,12.791,8.693,20.988%20c0,16.392-13.289,29.68-29.68,29.68c-16.392,0-29.68-13.289-29.68-29.68c0-8.195,3.322-15.616,8.693-20.988l-12.592-12.592%20c-8.594,8.594-13.91,20.466-13.91,33.579c0,26.228,21.261,47.489,47.489,47.489s47.489-21.261,47.489-47.489%20C303.489,236.95,298.173,225.077,289.579,216.485z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SX-7FIfwi5n.js b/contrib/data/www/web/assets/SX-7FIfwi5n.js new file mode 100644 index 00000000..98399365 --- /dev/null +++ b/contrib/data/www/web/assets/SX-7FIfwi5n.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%230052B4'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%23D80027'%20points='512,85.331%20512,252.021%200,256.173%200,85.331%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,256.006%200,426.668%200,85.331%20'/%3e%3cg%3e%3cpath%20fill='%23FFDA44'%20d='M59.621,256c-0.116,1.509-0.193,3.031-0.193,4.57c0,32.821,26.607,59.429,59.429,59.429%20s59.429-26.607,59.429-59.429c0-1.539-0.078-3.061-0.193-4.57L59.621,256L59.621,256z'/%3e%3ccircle%20fill='%23FFDA44'%20cx='118.862'%20cy='210.287'%20r='18.286'/%3e%3c/g%3e%3cpath%20fill='%23D80027'%20d='M77.715,205.714v59.429c0,31.494,41.144,41.143,41.144,41.143s41.144-9.649,41.144-41.143v-59.429%20H77.715z'/%3e%3cpath%20fill='%23338AF3'%20d='M118.877,287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144%20C141.715,277.422,126.472,284.425,118.877,287.148z'/%3e%3cpolygon%20fill='%23F3F3F3'%20points='128.001,246.856%20128.001,237.714%20118.857,233.143%20109.715,237.714%20109.715,246.856%20105.144,251.429%20105.144,269.714%20132.572,269.714%20132.572,251.429%20'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/SY-BkbbbGV4.js b/contrib/data/www/web/assets/SY-BkbbbGV4.js new file mode 100644 index 00000000..5d55119c --- /dev/null +++ b/contrib/data/www/web/assets/SY-BkbbbGV4.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20900%20600'%3e%3cpath%20d='M0%200h900v600H0z'%20fill='%230f0f0f'/%3e%3cpath%20d='M0%200h900v400H0z'%20fill='%23fff'/%3e%3cpath%20d='M0%200h900v200H0z'%20fill='%23047a3f'/%3e%3cpath%20d='m176.26%20375%2048.738-150%2048.738%20150-127.6-92.705h157.72m322.4%2092.705%2048.738-150%2048.738%20150-127.6-92.705h157.72m-352.6%2092.705%2048.738-150%2048.738%20150-127.6-92.705h157.72'%20fill='%23ce1126'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/SZ-Nsmpk1ta.js b/contrib/data/www/web/assets/SZ-Nsmpk1ta.js new file mode 100644 index 00000000..4e6fc608 --- /dev/null +++ b/contrib/data/www/web/assets/SZ-Nsmpk1ta.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20900%20600'%3e%3cpath%20fill='%232B5DEA'%20d='M0,0h900v600H0V0z'/%3e%3cpath%20fill='%23FFDF29'%20d='M0,100h900v400H0V100z'/%3e%3cpath%20fill='%23D70000'%20d='M0,150h900v300H0V150z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M450,171.4v257.2c114.3,0,171.4-85.7,214.3-128.6C621.4,257.1,564.3,171.4,450,171.4z'/%3e%3cpath%20fill='%23000'%20d='M450,171.4c-100,0-171.4,85.7-214.3,128.6C278.6,342.9,350,428.6,450,428.6V171.4z'/%3e%3crect%20x='346.3'%20y='254.3'%20fill='%23FFFFFF'%20width='21'%20height='91.3'/%3e%3crect%20x='398.2'%20y='254.3'%20fill='%23FFFFFF'%20width='21'%20height='91.3'/%3e%3crect%20x='477.8'%20y='254.3'%20fill='%23000'%20width='21'%20height='91.3'/%3e%3crect%20x='529.7'%20y='254.3'%20fill='%23000'%20width='21'%20height='91.3'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/TA-DF1AlPKL.js b/contrib/data/www/web/assets/TA-DF1AlPKL.js new file mode 100644 index 00000000..c7edfb51 --- /dev/null +++ b/contrib/data/www/web/assets/TA-DF1AlPKL.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20341.3'%3e%3crect%20fill='%230052B4'%20width='512'%20height='341.3'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,0%20256,117.4%20209.9,117.4%20256,148.1%20256,170.7%20233.4,170.7%20160,121.8%20160,170.7%2096,170.7%2096,121.8%2022.6,170.7%200,170.7%200,148.1%2046.1,117.4%200,117.4%200,53.4%2046.1,53.4%200,22.7%200,0%2022.6,0%2096,48.9%2096,0%20160,0%20160,48.9%20233.4,0%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='144,0%20112,0%20112,69.4%200,69.4%200,101.4%20112,101.4%20112,170.7%20144,170.7%20144,101.4%20256,101.4%20256,69.4%20144,69.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,0%200,15.1%2057.4,53.4%2080,53.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,0%20256,15.1%20198.6,53.4%20176,53.4%20'/%3e%3c/g%3e%3cpolygon%20fill='%232E52B2'%20points='256,22.7%20256,53.4%20209.9,53.4%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,0%200,15.1%2057.4,53.4%2080,53.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,0%20256,15.1%20198.6,53.4%20176,53.4%20'/%3e%3c/g%3e%3cpolygon%20fill='%232E52B2'%20points='256,22.7%20256,53.4%20209.9,53.4%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,170.7%200,155.6%2057.4,117.4%2080,117.4%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,170.7%20256,155.6%20198.6,117.4%20176,117.4%20'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%2329DBFF'%20d='M448.9,169.5c0,9.6-0.3,29.6-1.4,39.2c-4.1,34.9-23.5,68.8-62.1,85.9c-45.3-17.9-60.8-51-64.9-85.9%20c-1.1-9.6-1.5-19.4-1.5-29l0.3-47.1h129.2L448.9,169.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23FFFFFF'%20d='M447.5,208.7c-0.2,1.6-0.4,3.3-0.6,4.9c-4.8,33.1-22.9,65.4-61.5,81c-43.2-17-59.4-47.9-64.2-81%20c-0.2-1.6-0.4-3.2-0.6-4.9'/%3e%3c/g%3e%3cpolygon%20fill='%2329DBFF'%20points='385.4,251.7%20362.5,208.7%20408.3,208.7%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='385.4,165.8%20362.5,208.7%20408.3,208.7%20'/%3e%3cellipse%20fill='%23FFBE57'%20cx='474.8'%20cy='236.8'%20rx='16.8'%20ry='43.3'/%3e%3cellipse%20fill='%23FFBE57'%20cx='295.3'%20cy='236.8'%20rx='16.8'%20ry='43.3'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='385.4,31.5%20352,75.5%20420.5,75.5%20'/%3e%3cpath%20fill='%23FFFFFF'%20d='M315.5,280c0,0,33.8,29.5,69.9,29.5s67.1-29.5,67.1-29.5l8.5,14.6c0,0-21.8,31.4-75.6,31.4S307,294.6,307,294.6%20L315.5,280z'/%3e%3cellipse%20fill='%23A5A5A5'%20cx='386.3'%20cy='104.3'%20rx='34.3'%20ry='23.3'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/TC-BTPPVZng.js b/contrib/data/www/web/assets/TC-BTPPVZng.js new file mode 100644 index 00000000..c9f906c5 --- /dev/null +++ b/contrib/data/www/web/assets/TC-BTPPVZng.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.333'%20fill='%230052B4'%20width='512'%20height='341.337'/%3e%3cpath%20fill='%23FFDA44'%20d='M332.058,191.996v78.221c0,38.103,51.942,49.779,51.942,49.779s51.942-11.675,51.942-49.779v-78.221%20H332.058z'/%3e%3cpath%20fill='%23FF9811'%20d='M376.579,220.44c0,7.855-6.644,28.445-14.84,28.445s-14.84-20.589-14.84-28.445%20c0-7.856,14.84-14.222,14.84-14.222S376.579,212.585,376.579,220.44z'/%3e%3cpath%20fill='%23A2001D'%20d='M415.961,235.93c2.394-5.6,4.257-13.785,4.257-17.86c0-6.546-8.904-11.852-8.904-11.852%20s-8.904,5.306-8.904,11.852c0,4.075,1.862,12.26,4.257,17.86l-5.141,11.123c3.022,1.178,6.324,1.831,9.788,1.831%20c3.463,0,6.766-0.654,9.788-1.831L415.961,235.93z'/%3e%3cpath%20fill='%236DA544'%20d='M372.87,270.217c0,0-7.421,14.222-7.421,28.445c0,0,22.261,0,37.101,0%20c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111L372.87,270.217z'/%3e%3cpath%20fill='%23D80027'%20d='M395.13,270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666c-6.147,0-11.13,4.776-11.13,10.666v3.555%20H395.13L395.13,270.217z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,85.333%20256,115.886%20210.833,140.985%20256,140.985%20256,200.344%20196.897,200.344%20256,233.179%20256,255.996%20229.32,255.996%20155.826,215.17%20155.826,255.996%20100.174,255.996%20100.174,207.423%2012.744,255.996%200,255.996%200,225.442%2045.167,200.344%200,200.344%200,140.985%2059.103,140.985%200,108.139%200,85.333%2026.68,85.333%20100.174,126.158%20100.174,85.333%20155.826,85.333%20155.826,133.905%20243.256,85.333%20'/%3e%3cpolygon%20fill='%23D80027'%20points='144,85.33%20112,85.33%20112,154.662%200,154.662%200,186.662%20112,186.662%20112,255.996%20144,255.996%20144,186.662%20256,186.662%20256,154.662%20144,154.662%20'/%3e%3cpolygon%20fill='%230052B4'%20points='155.826,200.344%20256,255.996%20256,240.259%20184.153,200.344%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='155.826,200.344%20256,255.996%20256,240.259%20184.153,200.344%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='155.826,200.344%20256,255.996%20256,240.259%20184.153,200.344%20'/%3e%3cpolygon%20fill='%23D80027'%20points='71.846,200.344%200,240.259%200,255.996%200,255.996%20100.174,200.344%20'/%3e%3c/g%3e%3cpolygon%20fill='%230052B4'%20points='100.174,140.982%200,85.33%200,101.067%2071.847,140.982%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='100.174,140.982%200,85.33%200,101.067%2071.847,140.982%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='100.174,140.982%200,85.33%200,101.067%2071.847,140.982%20'/%3e%3cpolygon%20fill='%23D80027'%20points='184.154,140.982%20256,101.067%20256,85.33%20256,85.33%20155.826,140.982%20'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/TD-CSh8i59s.js b/contrib/data/www/web/assets/TD-CSh8i59s.js new file mode 100644 index 00000000..facd9dbf --- /dev/null +++ b/contrib/data/www/web/assets/TD-CSh8i59s.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFDA44'%20width='512'%20height='341.337'/%3e%3crect%20y='85.331'%20fill='%230052B4'%20width='170.663'%20height='341.337'/%3e%3crect%20x='341.337'%20y='85.331'%20fill='%23D80027'%20width='170.663'%20height='341.337'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/TF-BPFEFMdK.js b/contrib/data/www/web/assets/TF-BPFEFMdK.js new file mode 100644 index 00000000..6bf00b3b --- /dev/null +++ b/contrib/data/www/web/assets/TF-BPFEFMdK.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2022.5%2015'%3e%3cpath%20fill='%23FFFFFF'%20d='M0,0h21v15H0V0z'/%3e%3cpath%20fill='%230A388A'%20d='M0,0h22.5v15H0V0z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M0,0h11.3v7.5H0V0z'/%3e%3cpath%20fill='%23D80027'%20d='M7.1,0h3.6v7H7.1V0z'/%3e%3cpath%20fill='%230A388A'%20d='M0,0h3.6v7H0V0z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M3.6,0h3.6v7H3.6V0z'/%3e%3cpath%20fill='%23FFFFFF'%20d='M14.5,6h5L19,7h-1.5v0.5h1l-0.5,1h-0.5V10h-1V7H15L14.5,6z%20M18.5,8.5l1,1.5h-2L18.5,8.5z%20M15.5,8.5l1,1.5h-2%20L15.5,8.5z%20M17,11.5L16,10h2L17,11.5z%20M20,8c-0.3,0-0.5-0.2-0.5-0.5S19.7,7,20,7s0.5,0.2,0.5,0.5S20.3,8,20,8z%20M14,8%20c-0.3,0-0.5-0.2-0.5-0.5S13.7,7,14,7s0.5,0.2,0.5,0.5S14.3,8,14,8z%20M15,12c-0.3,0-0.5-0.2-0.5-0.5S14.7,11,15,11s0.5,0.2,0.5,0.5%20S15.3,12,15,12z%20M19,12c-0.3,0-0.5-0.2-0.5-0.5S18.7,11,19,11s0.5,0.2,0.5,0.5S19.3,12,19,12z%20M17,13c-0.3,0-0.5-0.2-0.5-0.5%20S16.7,12,17,12s0.5,0.2,0.5,0.5S17.3,13,17,13z'/%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/TG-Oa56GPmf.js b/contrib/data/www/web/assets/TG-Oa56GPmf.js new file mode 100644 index 00000000..b7092059 --- /dev/null +++ b/contrib/data/www/web/assets/TG-Oa56GPmf.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFDA44'%20width='512'%20height='341.326'/%3e%3cg%3e%3crect%20y='85.337'%20fill='%23496E2D'%20width='512'%20height='68.263'/%3e%3crect%20y='358.4'%20fill='%23496E2D'%20width='512'%20height='68.263'/%3e%3crect%20y='221.863'%20fill='%23496E2D'%20width='512'%20height='68.263'/%3e%3c/g%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='204.054'%20height='204.054'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='102.026,133.938%20115.286,174.75%20158.202,174.75%20123.484,199.976%20136.744,240.79%20102.026,215.566%2067.307,240.79%2080.57,199.976%2045.852,174.75%2088.765,174.75%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/TH-BJX0syoz.js b/contrib/data/www/web/assets/TH-BJX0syoz.js new file mode 100644 index 00000000..c520cda5 --- /dev/null +++ b/contrib/data/www/web/assets/TH-BJX0syoz.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.334'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='194.056'%20fill='%230052B4'%20width='512'%20height='123.882'/%3e%3cg%3e%3crect%20y='85.334'%20fill='%23D80027'%20width='512'%20height='54.522'/%3e%3crect%20y='372.143'%20fill='%23D80027'%20width='512'%20height='54.522'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/TJ-DtjFN_iR.js b/contrib/data/www/web/assets/TJ-DtjFN_iR.js new file mode 100644 index 00000000..1fe851fa --- /dev/null +++ b/contrib/data/www/web/assets/TJ-DtjFN_iR.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%236DA544'%20width='512'%20height='113.775'/%3e%3cg%3e%3cpolygon%20fill='%23FFDA44'%20points='226.318,300.522%20285.682,300.522%20285.682,275.292%20273.809,281.229%20256,263.421%20238.191,281.229%20226.318,275.292%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='192.355,270.84%20195.118,279.344%20204.058,279.344%20196.825,284.599%20199.588,293.101%20192.355,287.846%20185.121,293.101%20187.884,284.599%20180.651,279.344%20189.591,279.344%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='200.921,241.16%20203.684,249.662%20212.624,249.662%20205.391,254.917%20208.154,263.421%20200.921,258.165%20193.687,263.421%20196.45,254.917%20189.217,249.662%20198.157,249.662%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='225.409,218.899%20228.172,227.401%20237.112,227.401%20229.879,232.656%20232.642,241.16%20225.409,235.904%20218.175,241.16%20220.938,232.656%20213.705,227.401%20222.645,227.401%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='319.645,270.84%20316.882,279.344%20307.942,279.344%20315.175,284.599%20312.412,293.101%20319.645,287.846%20326.879,293.101%20324.116,284.599%20331.349,279.344%20322.409,279.344%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='311.079,241.16%20308.316,249.662%20299.376,249.662%20306.609,254.917%20303.846,263.421%20311.079,258.165%20318.313,263.421%20315.55,254.917%20322.783,249.662%20313.843,249.662%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='286.591,218.899%20283.828,227.401%20274.888,227.401%20282.121,232.656%20279.358,241.16%20286.591,235.904%20293.825,241.16%20291.062,232.656%20298.295,227.401%20289.355,227.401%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='256,207.767%20258.763,216.27%20267.704,216.27%20260.47,221.526%20263.233,230.028%20256,224.774%20248.767,230.028%20251.53,221.526%20244.296,216.27%20253.237,216.27%20'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/TK-CaxH436f.js b/contrib/data/www/web/assets/TK-CaxH436f.js new file mode 100644 index 00000000..6386fd4d --- /dev/null +++ b/contrib/data/www/web/assets/TK-CaxH436f.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%230052B4'%20width='512'%20height='341.326'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='210.715,174.377%20214.399,185.715%20226.318,185.715%20216.675,192.721%20220.359,204.058%20210.715,197.051%20201.071,204.058%20204.755,192.721%20195.11,185.715%20207.031,185.715%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='116.816,281.971%20121.421,296.143%20136.321,296.143%20124.266,304.9%20128.872,319.073%20116.816,310.313%20104.761,319.073%20109.365,304.9%2097.311,296.143%20112.21,296.143%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='144.696,119.679%20149.3,133.851%20164.201,133.851%20152.145,142.609%20156.751,156.78%20144.696,148.021%20132.64,156.78%20137.246,142.609%20125.191,133.851%20140.091,133.851%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='69.539,175.331%2074.143,189.503%2089.043,189.503%2076.988,198.261%2081.594,212.432%2069.539,203.674%2057.483,212.432%2062.089,198.261%2050.034,189.503%2064.934,189.503%20'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23FFDA44'%20d='M483.386,354.503H117.801c0,0,109.234-88.562,310.593-220.938%20C428.395,133.565,339.951,262.5,483.386,354.503z'/%3e%3cpath%20fill='%23FFDA44'%20d='M117.801,366.089c-11.177,0-11.195,17.37,0,17.37h365.585c11.177,0,11.195-17.37,0-17.37H117.801z'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/TL-BPeBNRvt.js b/contrib/data/www/web/assets/TL-BPeBNRvt.js new file mode 100644 index 00000000..098165d6 --- /dev/null +++ b/contrib/data/www/web/assets/TL-BPeBNRvt.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%23FFDA44'%20points='256,256%200,90.691%200,134.933%20155.826,256%200,377.067%200,421.309%20'/%3e%3cpolygon%20fill='%23000'%20points='0,90.691%200,421.309%20189.217,256%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='44.184,213.36%2069.096,236.937%2099.217,220.527%2084.494,251.507%20109.405,275.082%2075.393,270.652%2060.67,301.63%2054.374,267.914%2020.362,263.484%2050.481,247.076%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/TM-DT_5zC_0.js b/contrib/data/www/web/assets/TM-DT_5zC_0.js new file mode 100644 index 00000000..6ae6e6da --- /dev/null +++ b/contrib/data/www/web/assets/TM-DT_5zC_0.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23496E2D'%20width='512'%20height='341.326'/%3e%3cg%3e%3cpath%20fill='%23FFFFFF'%20d='M357.208,183.679c8.397-23.404-1.036-48.858-21.281-61.536c3.641,0.474,7.287,1.331,10.884,2.621%20c27.002,9.688,41.038,39.428,31.35,66.431s-39.428,41.038-66.431,31.35c-3.597-1.291-6.957-2.947-10.069-4.895%20C325.347,220.734,348.811,207.084,357.208,183.679z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='310.637,115.729%20303.34,125.156%20292.12,121.13%20298.832,130.982%20291.536,140.409%20302.979,137.071%20309.691,146.923%20310.052,135.009%20321.496,131.67%20310.275,127.645%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='330.338,146.448%20323.042,155.875%20311.821,151.849%20318.533,161.701%20311.237,171.128%20322.68,167.789%20329.392,177.642%20329.752,165.727%20341.197,162.387%20329.976,158.363%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='275.9,126.916%20268.604,136.343%20257.385,132.319%20264.096,142.17%20256.8,151.596%20268.243,148.258%20274.955,158.11%20275.316,146.195%20286.76,142.858%20275.539,138.831%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='275.101,162.105%20267.805,171.532%20256.584,167.506%20263.296,177.358%20256,186.785%20267.444,183.447%20274.155,193.299%20274.517,181.384%20285.96,178.046%20274.74,174.02%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='308.585,174.118%20301.289,183.545%20290.069,179.519%20296.781,189.372%20289.484,198.798%20300.928,195.46%20307.64,205.312%20308,193.397%20319.443,190.059%20308.224,186.034%20'/%3e%3c/g%3e%3crect%20x='83.478'%20y='85.337'%20fill='%23D80027'%20width='89.043'%20height='341.326'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='117.458,175.191%20102.55,164.086%20102.55,148.381%20117.458,137.276%20138.542,137.276%20153.45,148.381%20153.45,164.086%20138.542,175.191%20'/%3e%3cg%3e%3cpolygon%20fill='%23FF9811'%20points='128,137.276%20117.458,137.276%20102.55,148.381%20102.55,156.059%20128,156.059%20'/%3e%3cpolygon%20fill='%23FF9811'%20points='128,175.191%20138.542,175.191%20153.45,164.086%20153.45,156.074%20128,156.074%20'/%3e%3c/g%3e%3cpolygon%20fill='%23FFFFFF'%20points='117.458,374.725%20102.55,363.619%20102.55,347.915%20117.458,336.81%20138.542,336.81%20153.45,347.915%20153.45,363.619%20138.542,374.725%20'/%3e%3cg%3e%3cpolygon%20fill='%23FF9811'%20points='128,336.81%20117.458,336.81%20102.55,347.915%20102.55,355.593%20128,355.593%20'/%3e%3cpolygon%20fill='%23FF9811'%20points='128,374.725%20138.542,374.725%20153.45,363.619%20153.45,355.608%20128,355.608%20'/%3e%3c/g%3e%3cg%3e%3cpolygon%20fill='%23496E2D'%20points='117.458,274.957%20102.55,263.852%20102.55,248.149%20117.458,237.043%20138.542,237.043%20153.45,248.149%20153.45,263.852%20138.542,274.957%20'/%3e%3cpolygon%20fill='%23496E2D'%20points='153.971,299.391%20147.478,299.391%20147.478,292.898%20136.067,292.898%20127.999,284.83%20119.932,292.898%20108.522,292.898%20108.522,299.391%20102.029,299.391%20102.029,312.377%20108.522,312.377%20108.522,318.869%20119.932,318.869%20128,326.938%20136.068,318.869%20147.478,318.869%20147.478,312.377%20153.971,312.377%20'/%3e%3cpolygon%20fill='%23496E2D'%20points='153.971,199.623%20147.478,199.623%20147.478,193.131%20136.067,193.131%20127.999,185.062%20119.932,193.131%20108.522,193.131%20108.522,199.623%20102.029,199.623%20102.029,212.609%20108.522,212.609%20108.522,219.101%20119.932,219.101%20128,227.171%20136.068,219.101%20147.478,219.101%20147.478,212.609%20153.971,212.609%20'/%3e%3c/g%3e%3cg%3e%3crect%20x='120.576'%20y='248.576'%20fill='%23D80027'%20width='14.84'%20height='14.84'/%3e%3ccircle%20fill='%23D80027'%20cx='128'%20cy='206.113'%20r='7.421'/%3e%3ccircle%20fill='%23D80027'%20cx='128'%20cy='305.887'%20r='7.421'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/TN-Cl0B51zJ.js b/contrib/data/www/web/assets/TN-Cl0B51zJ.js new file mode 100644 index 00000000..2ea14bd4 --- /dev/null +++ b/contrib/data/www/web/assets/TN-Cl0B51zJ.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23D80027'%20width='512'%20height='341.337'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='256'%20cy='255.994'%20r='96'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='267.826,219.291%20284.296,241.986%20310.969,233.337%20294.473,256.013%20310.941,278.708%20284.277,270.027%20267.782,292.703%20267.799,264.663%20241.135,255.981%20267.809,247.333%20'/%3e%3cpath%20fill='%23D80027'%20d='M277.818,312.724c-31.33,0-56.727-25.397-56.727-56.727s25.397-56.727,56.727-56.727%20c9.769,0,18.96,2.47,26.985,6.819c-12.589-12.31-29.804-19.909-48.803-19.909c-38.558,0-69.818,31.259-69.818,69.818%20s31.26,69.818,69.818,69.818c18.999,0,36.215-7.599,48.803-19.909C296.777,310.254,287.587,312.724,277.818,312.724z'/%3e%3c/g%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/TO-BVPa4Mpa.js b/contrib/data/www/web/assets/TO-BVPa4Mpa.js new file mode 100644 index 00000000..8300b4dd --- /dev/null +++ b/contrib/data/www/web/assets/TO-BVPa4Mpa.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23D80027'%20width='512'%20height='341.337'/%3e%3crect%20y='85.331'%20fill='%23FFFFFF'%20width='256'%20height='170.663'/%3e%3cpolygon%20fill='%23D80027'%20points='141.357,157.303%20141.357,130.59%20114.643,130.59%20114.643,157.303%2087.93,157.303%2087.93,184.016%20114.643,184.016%20114.643,210.729%20141.357,210.729%20141.357,184.016%20168.07,184.016%20168.07,157.303%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/TR-Bi14AjTg.js b/contrib/data/www/web/assets/TR-Bi14AjTg.js new file mode 100644 index 00000000..b51215fd --- /dev/null +++ b/contrib/data/www/web/assets/TR-Bi14AjTg.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23E30A17'%20width='513'%20height='342'/%3e%3cpath%20fill='%23FFFFFF'%20d='M259.7,118.6c-13.1-9.5-29-14.6-45.3-14.5c-40.8,0-73.8,30.8-73.8,68.9s33.1,68.9,73.8,68.9%20c17.1,0,32.9-5.4,45.3-14.5c-30,38.6-85.7,45.6-124.3,15.5s-45.6-85.7-15.5-124.3s85.7-45.6,124.3-15.5%20C250,107.6,255.2,112.9,259.7,118.6z%20M299.6,184.4l-18.1,21.9l1.2-28.4l-26.4-10.4l27.3-7.6l1.8-28.3l15.6,23.7l27.5-7.1L311,170.2%20l15.3,23.9L299.6,184.4L299.6,184.4z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/TT-fwwKejP_.js b/contrib/data/www/web/assets/TT-fwwKejP_.js new file mode 100644 index 00000000..e1cc85d1 --- /dev/null +++ b/contrib/data/www/web/assets/TT-fwwKejP_.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='6.066,85.337%20214.027,297.973%20345.611,426.663%20505.934,426.663%20297.973,214.027%20166.389,85.337%20'/%3e%3cpolygon%20fill='%23000'%20points='43.364,85.337%20384.69,426.663%20468.636,426.663%20127.31,85.337%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/TV-_2T_W9_n.js b/contrib/data/www/web/assets/TV-_2T_W9_n.js new file mode 100644 index 00000000..58d580c5 --- /dev/null +++ b/contrib/data/www/web/assets/TV-_2T_W9_n.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20900%20600'%3e%3crect%20fill='%230052B4'%20width='900'%20height='600'/%3e%3cpath%20fill='%2300B2EE'%20d='M0,300h450V0h450v600H0V300z'/%3e%3cpath%20fill='%23FFDA44'%20d='M345.3,480.9l29.4,90.6l-77.1-56H393l-77.1,56L345.3,480.9z'/%3e%3cpath%20fill='%23FFDA44'%20d='M706.4,340l29.4,90.6l-77.1-56h95.3l-77.1,56L706.4,340z'/%3e%3cpath%20fill='%23FFDA44'%20d='M812.8,261.5l29.4,90.6l-77.1-56h95.3l-77.1,56L812.8,261.5z'/%3e%3cpath%20fill='%23FFDA44'%20d='M812.8,37.4l29.4,90.6l-77.1-56h95.3l-77.1,56L812.8,37.4z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='449.9,0%20449.9,206.3%20368.9,206.3%20449.9,260.3%20449.9,300%20410.2,300%20281.2,214.1%20281.2,300%20168.7,300%20168.7,214.1%2039.7,300%200,300%200,260.3%2081,206.3%200,206.3%200,93.8%2081,93.8%200,39.9%200,0%2039.7,0%20168.7,85.9%20168.7,0%20281.2,0%20281.2,85.9%20410.2,0%20'/%3e%3cpolygon%20fill='%23D80027'%20points='253.1,0%20196.8,0%20196.8,122%200,122%200,178.2%20196.8,178.2%20196.8,300%20253.1,300%20253.1,178.2%20449.9,178.2%20449.9,122%20253.1,122%20'/%3e%3cpolygon%20fill='%232E52B2'%20points='449.9,39.9%20449.9,93.8%20368.9,93.8%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,300%200,280.7%20109.9,206.3%20149.6,206.3%2012.8,300%20'/%3e%3cpolygon%20fill='%23D80027'%20points='12.8,0.1%20149.6,93.8%20109.9,93.8%200,19.4%200,0.1%20'/%3e%3cpolygon%20fill='%23D80027'%20points='449.9,0.2%20449.9,19.5%20340,93.8%20300.3,93.8%20437.1,0.2%20'/%3e%3cpolygon%20fill='%23D80027'%20points='437.1,300%20300.3,206.3%20340,206.3%20449.9,280.7%20449.9,300%20'/%3e%3cpath%20fill='%23FFDA44'%20d='M719.9,131.6l29.4,90.6l-77.1-56h95.3l-77.1,56L719.9,131.6z'/%3e%3cpath%20fill='%23FFDA44'%20d='M584,187.7l29.4,90.6l-77.1-56h95.3l-77.1,56L584,187.7z'/%3e%3cpath%20fill='%23FFDA44'%20d='M614,430.6l29.4,90.6l-77.1-56h95.3l-77.1,56L614,430.6z'/%3e%3cpath%20fill='%23FFDA44'%20d='M488,332l29.4,90.6l-77.1-56h95.3l-77.1,56L488,332z'/%3e%3cpath%20fill='%23FFDA44'%20d='M488,464l29.4,90.6l-77.1-56h95.3l-77.1,56L488,464z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/TW-DyIUquWk.js b/contrib/data/www/web/assets/TW-DyIUquWk.js new file mode 100644 index 00000000..a14839f3 --- /dev/null +++ b/contrib/data/www/web/assets/TW-DyIUquWk.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%230052B4'%20width='256'%20height='170.663'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='186.435,170.669%20162.558,181.9%20175.272,205.025%20149.345,200.064%20146.059,226.256%20128,206.993%20109.94,226.256%20106.655,200.064%2080.728,205.024%2093.442,181.899%2069.565,170.669%2093.442,159.438%2080.728,136.313%20106.655,141.273%20109.941,115.081%20128,134.344%20146.06,115.081%20149.345,141.273%20175.273,136.313%20162.558,159.438%20'/%3e%3ccircle%20fill='%230052B4'%20cx='128'%20cy='170.674'%20r='29.006'/%3e%3cpath%20fill='%23FFFFFF'%20d='M128,190.06c-10.692,0-19.391-8.7-19.391-19.391c0-10.692,8.7-19.391,19.391-19.391%20c10.692,0,19.391,8.7,19.391,19.391C147.391,181.36,138.692,190.06,128,190.06z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/TZ-_Cd0rEzL.js b/contrib/data/www/web/assets/TZ-_Cd0rEzL.js new file mode 100644 index 00000000..0fe193ea --- /dev/null +++ b/contrib/data/www/web/assets/TZ-_Cd0rEzL.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23338AF3'%20width='512'%20height='341.326'/%3e%3cpolyline%20fill='%236DA544'%20points='0,426.663%200,85.337%20512,85.337%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='512,152.222%20512,85.337%20411.67,85.337%200,359.778%200,426.663%20100.33,426.663%20'/%3e%3cpolygon%20fill='%23000'%20points='512,85.337%20512,125.462%2060.193,426.663%200,426.663%200,386.538%20451.807,85.337%20'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/UA-DewlWFPj.js b/contrib/data/www/web/assets/UA-DewlWFPj.js new file mode 100644 index 00000000..8e3207c7 --- /dev/null +++ b/contrib/data/www/web/assets/UA-DewlWFPj.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFDA44'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23338AF3'%20width='512'%20height='170.663'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/UG-1AXaIxpM.js b/contrib/data/www/web/assets/UG-1AXaIxpM.js new file mode 100644 index 00000000..7b88bff7 --- /dev/null +++ b/contrib/data/www/web/assets/UG-1AXaIxpM.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20341.3'%3e%3crect%20y='0'%20fill='%23232323'%20width='512'%20height='341.3'/%3e%3crect%20y='56.9'%20fill='%23FFDA44'%20width='512'%20height='56.9'/%3e%3crect%20y='113.8'%20fill='%23D32300'%20width='512'%20height='56.9'/%3e%3crect%20y='227.6'%20fill='%23FFDA44'%20width='512'%20height='56.9'/%3e%3crect%20y='284.4'%20fill='%23D32300'%20width='512'%20height='56.9'/%3e%3ccircle%20fill='%23FFFFFF'%20cx='256'%20cy='170.7'%20r='80.7'/%3e%3cpath%20fill='%23000000'%20d='M234.5,127.5c0.9-1.4-19.6-2-19.6-2c1.7-2.5,18.4-10.5,18.4-10.5s-0.9-6,2.7-9.8l-4.5-9.8c0,0,7-3.4,18.4-3.4%20s19.9,7,21,13.1l-6.4,3.4c-0.1,4.7,1.7,11.6-4.3,17.3c-5.9,5.7-8.3,6.9-8.5,18.8c0,3.9,2.3,8.2,8.8,11.7%20c17.4,9.3,38.6,28.2,44.6,33.9c6.1,5.7,5.1,19.2,2.6,25.2s-12.1,14.3-14.3,13.6c-2.2-0.6,1.2-9.2-3.5-11.6c0,0-8.9-7.6-16.8,0.6%20s-0.2,25.2,3.9,28c4.1,2.8,1.7,5-1.9,5h-28.1c-3.8,0-5.4-2.3-1.9-5c7.6-3.8,12.4-15.3,7.4-20.3c-4.9-4.9-18.3,1.5-21.5,6.3%20c-2.8,2.8-8.8,3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8,0,0,0.1-0.1c0,0,11.9-8.6,29.9-9c3.9,0,4.8-2.2,2.2-4.8%20c0,0-30.9-27.4-28.1-44.2C224.1,141.7,241.1,133.7,234.5,127.5C233.2,125.7,234.5,127.5,234.5,127.5z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/UM-hrHxDpNe.js b/contrib/data/www/web/assets/UM-hrHxDpNe.js new file mode 100644 index 00000000..14022dbd --- /dev/null +++ b/contrib/data/www/web/assets/UM-hrHxDpNe.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23D80027'%3e%3crect%20y='0'%20width='513'%20height='26.3'/%3e%3crect%20y='52.6'%20width='513'%20height='26.3'/%3e%3crect%20y='105.2'%20width='513'%20height='26.3'/%3e%3crect%20y='157.8'%20width='513'%20height='26.3'/%3e%3crect%20y='210.5'%20width='513'%20height='26.3'/%3e%3crect%20y='263.1'%20width='513'%20height='26.3'/%3e%3crect%20y='315.7'%20width='513'%20height='26.3'/%3e%3c/g%3e%3crect%20fill='%232E52B2'%20width='256.5'%20height='184.1'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpolygon%20points='47.8,138.9%2043.8,126.1%2039.4,138.9%2026.2,138.9%2036.9,146.6%2032.9,159.4%2043.8,151.5%2054.4,159.4%2050.3,146.6%2061.2,138.9%20'/%3e%3cpolygon%20points='104.1,138.9%20100,126.1%2095.8,138.9%2082.6,138.9%2093.3,146.6%2089.3,159.4%20100,151.5%20110.8,159.4%20106.8,146.6%20117.5,138.9%20'/%3e%3cpolygon%20points='160.6,138.9%20156.3,126.1%20152.3,138.9%20138.8,138.9%20149.8,146.6%20145.6,159.4%20156.3,151.5%20167.3,159.4%20163.1,146.6%20173.8,138.9%20'/%3e%3cpolygon%20points='216.8,138.9%20212.8,126.1%20208.6,138.9%20195.3,138.9%20206.1,146.6%20202.1,159.4%20212.8,151.5%20223.6,159.4%20219.3,146.6%20230.3,138.9%20'/%3e%3cpolygon%20points='100,75.3%2095.8,88.1%2082.6,88.1%2093.3,96%2089.3,108.6%20100,100.8%20110.8,108.6%20106.8,96%20117.5,88.1%20104.1,88.1%20'/%3e%3cpolygon%20points='43.8,75.3%2039.4,88.1%2026.2,88.1%2036.9,96%2032.9,108.6%2043.8,100.8%2054.4,108.6%2050.3,96%2061.2,88.1%2047.8,88.1%20'/%3e%3cpolygon%20points='156.3,75.3%20152.3,88.1%20138.8,88.1%20149.8,96%20145.6,108.6%20156.3,100.8%20167.3,108.6%20163.1,96%20173.8,88.1%20160.6,88.1%20'/%3e%3cpolygon%20points='212.8,75.3%20208.6,88.1%20195.3,88.1%20206.1,96%20202.1,108.6%20212.8,100.8%20223.6,108.6%20219.3,96%20230.3,88.1%20216.8,88.1%20'/%3e%3cpolygon%20points='43.8,24.7%2039.4,37.3%2026.2,37.3%2036.9,45.2%2032.9,57.9%2043.8,50%2054.4,57.9%2050.3,45.2%2061.2,37.3%2047.8,37.3%20'/%3e%3cpolygon%20points='100,24.7%2095.8,37.3%2082.6,37.3%2093.3,45.2%2089.3,57.9%20100,50%20110.8,57.9%20106.8,45.2%20117.5,37.3%20104.1,37.3%20'/%3e%3cpolygon%20points='156.3,24.7%20152.3,37.3%20138.8,37.3%20149.8,45.2%20145.6,57.9%20156.3,50%20167.3,57.9%20163.1,45.2%20173.8,37.3%20160.6,37.3%20'/%3e%3cpolygon%20points='212.8,24.7%20208.6,37.3%20195.3,37.3%20206.1,45.2%20202.1,57.9%20212.8,50%20223.6,57.9%20219.3,45.2%20230.3,37.3%20216.8,37.3%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/UNKNOWN-DIN2B7u2.js b/contrib/data/www/web/assets/UNKNOWN-DIN2B7u2.js new file mode 100644 index 00000000..55747540 --- /dev/null +++ b/contrib/data/www/web/assets/UNKNOWN-DIN2B7u2.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20version='1.0'%20width='225'%20height='150'%20id='svg2'%3e%3cdefs%20id='defs5'/%3e%3crect%20x='0'%20y='0'%20width='225'%20height='150'%20style='fill:%23d4d4d4'%20id='rect1310'/%3e%3cpath%20d='M%2064.255859,62.075068%20L%2063.136719,62.075068%20C%2063.128904,62.047727%2063.092772,61.948118%2063.02832,61.77624%20C%2062.963866,61.604368%2062.931639,61.453977%2062.931641,61.325068%20C%2062.931639,61.078978%2062.965819,60.84265%2063.03418,60.616084%20C%2063.102537,60.389525%2063.203123,60.177611%2063.335938,59.980341%20C%2063.468748,59.783081%2063.731443,59.467651%2064.124023,59.034052%20C%2064.516598,58.600465%2064.712887,58.243043%2064.712891,57.961787%20C%2064.712887,57.414919%2064.355466,57.141482%2063.640625,57.141474%20C%2063.292967,57.141482%2062.929686,57.31531%2062.550781,57.662959%20L%2061.947266,56.532099%20C%2062.451171,56.137576%2063.113279,55.940311%2063.933594,55.940302%20C%2064.566403,55.940311%2065.094723,56.116092%2065.518555,56.467646%20C%2065.942378,56.819216%2066.154292,57.286013%2066.154297,57.868037%20C%2066.154292,58.266481%2066.077144,58.603394%2065.922852,58.878779%20C%2065.76855,59.154175%2065.497066,59.477417%2065.108398,59.848505%20C%2064.719723,60.219604%2064.466794,60.528197%2064.349609,60.774287%20C%2064.232419,61.020384%2064.173825,61.289915%2064.173828,61.58288%20C%2064.173825,61.645383%2064.201169,61.809446%2064.255859,62.075068%20L%2064.255859,62.075068%20z%20M%2063.757813,62.871943%20C%2064.023435,62.871945%2064.249021,62.965695%2064.43457,63.153193%20C%2064.620114,63.340694%2064.712887,63.567257%2064.712891,63.83288%20C%2064.712887,64.098506%2064.620114,64.325068%2064.43457,64.512568%20C%2064.249021,64.700068%2064.023435,64.793818%2063.757813,64.793818%20C%2063.492185,64.793818%2063.265623,64.700068%2063.078125,64.512568%20C%2062.890623,64.325068%2062.796874,64.098506%2062.796875,63.83288%20C%2062.796874,63.567257%2062.890623,63.340694%2063.078125,63.153193%20C%2063.265623,62.965695%2063.492185,62.871945%2063.757813,62.871943%20L%2063.757813,62.871943%20z%20'%20transform='matrix(10.52848,0,0,10.52848,-561.8574,-560.5734)'%20style='font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%25;writing-mode:lr-tb;text-anchor:start;fill:white;font-family:Trebuchet%20MS'%20id='flowRoot1875'/%3e%3c/svg%3e";export{t as default}; diff --git a/contrib/data/www/web/assets/US-hrHxDpNe.js b/contrib/data/www/web/assets/US-hrHxDpNe.js new file mode 100644 index 00000000..14022dbd --- /dev/null +++ b/contrib/data/www/web/assets/US-hrHxDpNe.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%23D80027'%3e%3crect%20y='0'%20width='513'%20height='26.3'/%3e%3crect%20y='52.6'%20width='513'%20height='26.3'/%3e%3crect%20y='105.2'%20width='513'%20height='26.3'/%3e%3crect%20y='157.8'%20width='513'%20height='26.3'/%3e%3crect%20y='210.5'%20width='513'%20height='26.3'/%3e%3crect%20y='263.1'%20width='513'%20height='26.3'/%3e%3crect%20y='315.7'%20width='513'%20height='26.3'/%3e%3c/g%3e%3crect%20fill='%232E52B2'%20width='256.5'%20height='184.1'/%3e%3cg%20fill='%23FFFFFF'%3e%3cpolygon%20points='47.8,138.9%2043.8,126.1%2039.4,138.9%2026.2,138.9%2036.9,146.6%2032.9,159.4%2043.8,151.5%2054.4,159.4%2050.3,146.6%2061.2,138.9%20'/%3e%3cpolygon%20points='104.1,138.9%20100,126.1%2095.8,138.9%2082.6,138.9%2093.3,146.6%2089.3,159.4%20100,151.5%20110.8,159.4%20106.8,146.6%20117.5,138.9%20'/%3e%3cpolygon%20points='160.6,138.9%20156.3,126.1%20152.3,138.9%20138.8,138.9%20149.8,146.6%20145.6,159.4%20156.3,151.5%20167.3,159.4%20163.1,146.6%20173.8,138.9%20'/%3e%3cpolygon%20points='216.8,138.9%20212.8,126.1%20208.6,138.9%20195.3,138.9%20206.1,146.6%20202.1,159.4%20212.8,151.5%20223.6,159.4%20219.3,146.6%20230.3,138.9%20'/%3e%3cpolygon%20points='100,75.3%2095.8,88.1%2082.6,88.1%2093.3,96%2089.3,108.6%20100,100.8%20110.8,108.6%20106.8,96%20117.5,88.1%20104.1,88.1%20'/%3e%3cpolygon%20points='43.8,75.3%2039.4,88.1%2026.2,88.1%2036.9,96%2032.9,108.6%2043.8,100.8%2054.4,108.6%2050.3,96%2061.2,88.1%2047.8,88.1%20'/%3e%3cpolygon%20points='156.3,75.3%20152.3,88.1%20138.8,88.1%20149.8,96%20145.6,108.6%20156.3,100.8%20167.3,108.6%20163.1,96%20173.8,88.1%20160.6,88.1%20'/%3e%3cpolygon%20points='212.8,75.3%20208.6,88.1%20195.3,88.1%20206.1,96%20202.1,108.6%20212.8,100.8%20223.6,108.6%20219.3,96%20230.3,88.1%20216.8,88.1%20'/%3e%3cpolygon%20points='43.8,24.7%2039.4,37.3%2026.2,37.3%2036.9,45.2%2032.9,57.9%2043.8,50%2054.4,57.9%2050.3,45.2%2061.2,37.3%2047.8,37.3%20'/%3e%3cpolygon%20points='100,24.7%2095.8,37.3%2082.6,37.3%2093.3,45.2%2089.3,57.9%20100,50%20110.8,57.9%20106.8,45.2%20117.5,37.3%20104.1,37.3%20'/%3e%3cpolygon%20points='156.3,24.7%20152.3,37.3%20138.8,37.3%20149.8,45.2%20145.6,57.9%20156.3,50%20167.3,57.9%20163.1,45.2%20173.8,37.3%20160.6,37.3%20'/%3e%3cpolygon%20points='212.8,24.7%20208.6,37.3%20195.3,37.3%20206.1,45.2%20202.1,57.9%20212.8,50%20223.6,57.9%20219.3,45.2%20230.3,37.3%20216.8,37.3%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/UY-D3PEaFKJ.js b/contrib/data/www/web/assets/UY-D3PEaFKJ.js new file mode 100644 index 00000000..bd6ed1df --- /dev/null +++ b/contrib/data/www/web/assets/UY-D3PEaFKJ.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20513%20342'%3e%3crect%20fill='%23FFFFFF'%20width='513'%20height='342'/%3e%3cg%20fill='%230038a8'%3e%3crect%20y='38'%20width='513'%20height='38'/%3e%3crect%20y='114'%20width='513'%20height='38'/%3e%3crect%20y='190'%20width='513'%20height='38'/%3e%3crect%20y='266'%20width='513'%20height='38'/%3e%3c/g%3e%3crect%20fill='%23FFFFFF'%20width='256.5'%20height='190'/%3e%3cpath%20fill='%23FED443'%20d='M128.3,138.7l-15.1,22.6l-3.8-26.9l-23.4,13.8l8.2-25.9L67,124.5l18.6-19.8L60.3,95l25.4-9.7L67,65.5l27.1,2.3%20l-8.2-25.9l23.4,13.8l3.9-26.9l15.1,22.6l15.1-22.6l3.8,26.9l23.4-13.8l-8.2,25.9l27.1-2.2l-18.6,19.8l25.4,9.7l-25.4,9.7l18.6,19.8%20l-27.1-2.2l8.2,25.9l-23.4-13.8l-3.9,26.9L128.3,138.7z%20M128.3,138.2c23.9,0.9,44-17.6,44.9-41.5c0.9-23.9-17.6-44-41.5-44.9%20c-1.1,0-2.3,0-3.4,0c-23.9,0.8-42.6,20.8-41.8,44.6C87.1,119.2,105.5,137.5,128.3,138.2L128.3,138.2z%20M128.3,127.6%20c-18.8,0-34-15.2-34-34s15.2-34,34-34s34,15.2,34,34S147,127.6,128.3,127.6z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/UZ-DbF9PNiH.js b/contrib/data/www/web/assets/UZ-DbF9PNiH.js new file mode 100644 index 00000000..05cb4090 --- /dev/null +++ b/contrib/data/www/web/assets/UZ-DbF9PNiH.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='341.326'/%3e%3crect%20y='322.783'%20fill='%236DA544'%20width='512'%20height='103.88'/%3e%3crect%20id='SVGCleanerId_0'%20y='85.337'%20fill='%23338AF3'%20width='512'%20height='104.515'/%3e%3crect%20y='210.877'%20fill='%23FFFFFF'%20width='512'%20height='89.656'/%3e%3cg%3e%3crect%20id='SVGCleanerId_0_1_'%20y='85.337'%20fill='%23338AF3'%20width='512'%20height='104.515'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23FFFFFF'%20d='M188.688,137.589c0-15.984,11.234-29.339,26.236-32.614c-2.306-0.503-4.698-0.777-7.155-0.777%20c-18.442,0-33.391,14.949-33.391,33.391s14.949,33.391,33.391,33.391c2.458,0,4.85-0.273,7.155-0.777%20C199.922,166.928,188.688,153.573,188.688,137.589z'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='234.658,152.766%20236.919,159.723%20244.234,159.723%20238.316,164.024%20240.577,170.98%20234.658,166.68%20228.74,170.98%20231.001,164.024%20225.083,159.723%20232.398,159.723%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='258.006,152.766%20260.266,159.723%20267.581,159.723%20261.663,164.024%20263.924,170.98%20258.006,166.68%20252.088,170.98%20254.348,164.024%20248.431,159.723%20255.745,159.723%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='281.353,152.766%20283.613,159.723%20290.928,159.723%20285.011,164.024%20287.271,170.98%20281.353,166.68%20275.435,170.98%20277.695,164.024%20271.777,159.723%20279.092,159.723%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='304.7,152.766%20306.962,159.723%20314.277,159.723%20308.358,164.024%20310.619,170.98%20304.7,166.68%20298.782,170.98%20301.044,164.024%20295.125,159.723%20302.439,159.723%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='328.048,152.766%20330.308,159.723%20337.623,159.723%20331.705,164.024%20333.966,170.98%20328.048,166.68%20322.13,170.98%20324.39,164.024%20318.473,159.723%20325.787,159.723%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='258.006,128.482%20260.266,135.438%20267.581,135.438%20261.663,139.738%20263.924,146.695%20258.006,142.396%20252.088,146.695%20254.348,139.738%20248.431,135.438%20255.745,135.438%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='281.353,128.482%20283.613,135.438%20290.928,135.438%20285.011,139.738%20287.271,146.695%20281.353,142.396%20275.435,146.695%20277.695,139.738%20271.777,135.438%20279.092,135.438%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='304.7,128.482%20306.962,135.438%20314.277,135.438%20308.358,139.738%20310.619,146.695%20304.7,142.396%20298.782,146.695%20301.044,139.738%20295.125,135.438%20302.439,135.438%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='328.048,128.482%20330.308,135.438%20337.623,135.438%20331.705,139.738%20333.966,146.695%20328.048,142.396%20322.13,146.695%20324.39,139.738%20318.473,135.438%20325.787,135.438%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='281.353,104.198%20283.613,111.154%20290.928,111.154%20285.011,115.454%20287.271,122.411%20281.353,118.111%20275.435,122.411%20277.695,115.454%20271.777,111.154%20279.092,111.154%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='304.7,104.198%20306.962,111.154%20314.277,111.154%20308.358,115.454%20310.619,122.411%20304.7,118.111%20298.782,122.411%20301.044,115.454%20295.125,111.154%20302.439,111.154%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='328.048,104.198%20330.308,111.154%20337.623,111.154%20331.705,115.454%20333.966,122.411%20328.048,118.111%20322.13,122.411%20324.39,115.454%20318.473,111.154%20325.787,111.154%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/VA-XPVDV5gM.js b/contrib/data/www/web/assets/VA-XPVDV5gM.js new file mode 100644 index 00000000..679f6ce6 --- /dev/null +++ b/contrib/data/www/web/assets/VA-XPVDV5gM.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFDA44'%20width='512'%20height='341.326'/%3e%3crect%20x='256'%20y='85.331'%20fill='%23FFFFFF'%20width='256'%20height='341.337'/%3e%3cpath%20fill='%23ACABB1'%20d='M321.353,233.837l32.073,42.43c-5.053,7.651-5.026,17.961,0.817,25.692%20c7.414,9.807,21.374,11.748,31.182,4.335c9.807-7.414,11.748-21.374,4.334-31.182c-5.843-7.731-15.756-10.568-24.495-7.795%20l-49.988-66.129l-11.838,8.949l-17.759,13.424l17.899,23.677L321.353,233.837z%20M367.528,282.617%20c3.27-2.472,7.923-1.824,10.395,1.445c2.471,3.269,1.824,7.923-1.445,10.395c-3.269,2.47-7.923,1.824-10.394-1.446%20C363.613,289.743,364.259,285.088,367.528,282.617z'/%3e%3cpath%20fill='%23FFDA44'%20d='M376.367,247.24l17.899-23.677l-17.759-13.424l-11.838-8.949l-49.988,66.129%20c-8.74-2.775-18.651,0.063-24.495,7.795c-7.414,9.808-5.473,23.768,4.334,31.182c9.808,7.414,23.768,5.473,31.182-4.335%20c5.845-7.731,5.871-18.041,0.817-25.692l32.073-42.43L376.367,247.24z%20M313.863,293.011c-2.471,3.27-7.125,3.916-10.394,1.446%20c-3.27-2.472-3.916-7.126-1.445-10.395c2.471-3.268,7.125-3.916,10.395-1.445C315.687,285.088,316.334,289.743,313.863,293.011z'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/VC-BDghloKL.js b/contrib/data/www/web/assets/VC-BDghloKL.js new file mode 100644 index 00000000..050f6216 --- /dev/null +++ b/contrib/data/www/web/assets/VC-BDghloKL.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23FFDA44'%20width='512'%20height='341.337'/%3e%3crect%20y='85.331'%20fill='%23338AF3'%20width='170.663'%20height='341.337'/%3e%3cg%3e%3crect%20x='341.337'%20y='85.331'%20fill='%236DA544'%20width='170.663'%20height='341.337'/%3e%3cpolygon%20fill='%236DA544'%20points='214.261,283.82%20180.868,233.734%20214.26,183.647%20247.652,233.734%20'/%3e%3cpolygon%20fill='%236DA544'%20points='297.739,283.82%20264.348,233.734%20297.739,183.647%20331.132,233.734%20'/%3e%3cpolygon%20fill='%236DA544'%20points='256,350.603%20222.609,300.516%20256,250.429%20289.391,300.516%20'/%3e%3c/g%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/VE-BD6sp8D2.js b/contrib/data/www/web/assets/VE-BD6sp8D2.js new file mode 100644 index 00000000..1ff1b809 --- /dev/null +++ b/contrib/data/www/web/assets/VE-BD6sp8D2.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2022.5%2015'%3e%3crect%20fill='%23FFCE00'%20width='22.5'%20height='5'/%3e%3crect%20y='5'%20fill='%23203899'%20width='22.5'%20height='5'/%3e%3crect%20y='10'%20fill='%23D82B2B'%20width='22.5'%20height='5'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='12.13,5.38%2012.27,5.84%2012.72,5.98%2012.33,6.25%2012.34,6.73%2011.96,6.44%2011.51,6.59%2011.66,6.15%2011.38,5.77%2011.85,5.77%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='10.36,5.38%2010.63,5.77%2011.1,5.77%2010.82,6.15%2010.97,6.6%2010.52,6.44%2010.14,6.72%2010.15,6.25%209.76,5.97%2010.21,5.84%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='13.8,5.94%2013.79,6.42%2014.18,6.69%2013.72,6.83%2013.58,7.28%2013.31,6.9%2012.83,6.9%2013.12,6.52%2012.97,6.07%2013.42,6.23%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='8.69,5.96%209.09,6.23%209.53,6.05%209.4,6.51%209.7,6.87%209.23,6.89%208.97,7.29%208.81,6.85%208.35,6.73%208.72,6.43%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='15.24,7.13%2015.04,7.57%2015.29,7.97%2014.82,7.92%2014.51,8.28%2014.41,7.82%2013.98,7.64%2014.39,7.4%2014.42,6.93%2014.77,7.24%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='15.43,8.25%2015.64,8.68%2016.11,8.75%2015.77,9.08%2015.85,9.54%2015.43,9.32%2015.01,9.54%2015.09,9.08%2014.75,8.75%2015.22,8.68%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='7,8.2%207.21,8.63%207.68,8.69%207.34,9.02%207.42,9.49%207,9.27%206.58,9.49%206.66,9.02%206.32,8.69%206.79,8.63%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='7.31,7.05%207.76,7.19%208.14,6.9%208.14,7.38%208.53,7.64%208.08,7.79%207.95,8.25%207.67,7.87%207.2,7.88%207.47,7.5%20'/%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/VG-JWeMT2dO.js b/contrib/data/www/web/assets/VG-JWeMT2dO.js new file mode 100644 index 00000000..69eaf677 --- /dev/null +++ b/contrib/data/www/web/assets/VG-JWeMT2dO.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.334'%20fill='%230052B4'%20width='512'%20height='341.337'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='256,85.334%20256,202.66%20209.931,202.66%20256,233.38%20256,255.997%20233.372,255.997%20160,207.078%20160,255.997%2096,255.997%2096,207.078%2022.628,255.997%200,255.997%200,233.38%2046.069,202.66%200,202.66%200,138.66%2046.069,138.66%200,107.951%200,85.334%2022.628,85.334%2096,134.241%2096,85.334%20160,85.334%20160,134.241%20233.372,85.334%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='144,85.33%20112,85.33%20112,154.663%200,154.663%200,186.663%20112,186.663%20112,255.997%20144,255.997%20144,186.663%20256,186.663%20256,154.663%20144,154.663%20'/%3e%3cpolygon%20fill='%23D80027'%20points='0,85.329%200,100.412%2057.377,138.663%2080,138.663%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,85.329%20256,100.412%20198.623,138.663%20176,138.663%20'/%3e%3c/g%3e%3cpolygon%20fill='%232E52B2'%20points='256,107.951%20256,138.663%20209.931,138.663%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,85.329%200,100.412%2057.377,138.663%2080,138.663%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,85.329%20256,100.412%20198.623,138.663%20176,138.663%20'/%3e%3c/g%3e%3cpolygon%20fill='%232E52B2'%20points='256,107.951%20256,138.663%20209.931,138.663%20'/%3e%3cg%3e%3cpolygon%20fill='%23D80027'%20points='0,255.997%200,240.915%2057.377,202.663%2080,202.663%20'/%3e%3cpolygon%20fill='%23D80027'%20points='256,255.997%20256,240.915%20198.623,202.663%20176,202.663%20'/%3e%3c/g%3e%3cpath%20fill='%23FFDA44'%20d='M384,259.706l-46.129,46.129c8.645,16.675,26.051,28.074,46.129,28.074%20c20.078,0,37.484-11.4,46.129-28.074L384,259.706z'/%3e%3cpath%20fill='%236DA544'%20d='M332.058,178.084v81.623v0.001l0,0C332.059,299.467,384,311.649,384,311.649%20s51.941-12.182,51.942-51.942l0,0v-0.001v-81.622H332.058z'/%3e%3crect%20x='372.87'%20y='215.181'%20fill='%23FFFFFF'%20width='22.261'%20height='59.359'/%3e%3ccircle%20fill='%23A2001D'%20cx='384'%20cy='215.181'%20r='11.13'/%3e%3cg%3e%3crect%20x='346.902'%20y='192.92'%20fill='%23FFDA44'%20width='14.84'%20height='14.84'/%3e%3crect%20x='346.902'%20y='226.312'%20fill='%23FFDA44'%20width='14.84'%20height='14.84'/%3e%3crect%20x='346.902'%20y='259.703'%20fill='%23FFDA44'%20width='14.84'%20height='14.84'/%3e%3crect%20x='406.261'%20y='192.92'%20fill='%23FFDA44'%20width='14.84'%20height='14.84'/%3e%3crect%20x='406.261'%20y='226.312'%20fill='%23FFDA44'%20width='14.84'%20height='14.84'/%3e%3crect%20x='406.261'%20y='259.703'%20fill='%23FFDA44'%20width='14.84'%20height='14.84'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/VI-BLcpEKX1.js b/contrib/data/www/web/assets/VI-BLcpEKX1.js new file mode 100644 index 00000000..38b9adad --- /dev/null +++ b/contrib/data/www/web/assets/VI-BLcpEKX1.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20341.3'%3e%3crect%20y='0'%20fill='%23FFFFFF'%20width='512'%20height='341.3'/%3e%3cpath%20fill='%231583C4'%20d='M397.7,166.3L346.7,264c-1.1,2-0.3,4.5,1.8,5.6c2,1.1,4.5,0.3,5.6-1.8l51-97.7c1-2.1,0.1-4.6-2-5.5%20C401.1,163.7,398.8,164.4,397.7,166.3L397.7,166.3z'/%3e%3cpath%20fill='%231583C4'%20d='M404.9,188l-57.8,75.4c-1.3,1.9-0.8,4.5,1.1,5.8c1.7,1.2,4.1,0.9,5.5-0.7l57.8-75.4c1.4-1.8,1.1-4.4-0.8-5.8%20C408.9,185.8,406.3,186.2,404.9,188L404.9,188z'/%3e%3cpath%20fill='%231583C4'%20d='M379,181.3l-32.5,83.1c-0.8,2.1,0.2,4.6,2.4,5.4c2.1,0.8,4.6-0.2,5.4-2.4l32.5-83.1c0.7-2.2-0.4-4.5-2.6-5.3%20C382.1,178.4,379.9,179.4,379,181.3z'/%3e%3cpath%20fill='%23409347'%20d='M122.1,171.9c0.4,1.7,1.2,4.7,2.2,8.5c1.7,6.4,3.6,12.8,5.6,18.7c2.3,6.9,14.7,31.4,20.2,39.1%20c6.9,9.7,14.1,19.3,21.5,28.6c1.6,1.9,4.5,2.1,6.4,0.5c1.8-1.6,2.1-4.3,0.7-6.2c-7.3-9.2-14.4-18.6-21.2-28.2%20c-4.2-5.8-17.2-31.1-19-36.7c-2.9-8.7-5.4-17.6-7.6-26.5c-0.5-2.4-2.9-4-5.3-3.5c-2.4,0.5-4,2.9-3.5,5.3%20C122,171.7,122.1,171.8,122.1,171.9L122.1,171.9z'/%3e%3cg%3e%3cpath%20fill='%23FFD836'%20stroke='%23231F20'%20stroke-miterlimit='10'%20d='M297.1,114.9c0,0-17.6-72.1-36.1-72.1c-6.9,0-11.9-0.6-15.4,6.4c-0.9,1.7-20.7-1.6-19.1,20.8%20c0.5,6.9,1.1-9.8,14.9-3.4c6.3,3-16.4,48.2-16.4,48.2H297.1z'/%3e%3cpath%20fill='%23FFD836'%20stroke='%23231F20'%20stroke-miterlimit='10'%20d='M466.1,48.4l-90.9,22c-75.3,18.3-42.1,44.4-42.1,44.4l-72.1,12l-72.1-12c0,0,33.2-26.1-42.1-44.4l-90.9-22%20C43.1,45.3,38.1,51.8,45.3,63c0,0,106.6,104,126.8,112c20.2,8.1,40.8,0,40.8,0s-14.9,8.7-24,24c-9.2,15.3-4.6,34.7-38.9,40.2%20c-5.5,6.6-5,14,2.9,19.9c7.9,5.8,72.1-48.1,72.1-48.1s-24,24.4-24,36.1c0,5.1,44.1,53.8,60.1,53.8s60.1-48.7,60.1-53.8%20c0-11.7-24-36.1-24-36.1s64.2,53.9,72.1,48.1s11.4-19.3,2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2c-9.2-15.3-24-24-24-24%20s20.6,8.1,40.8,0S476.7,63,476.7,63C483.9,51.8,479,45.3,466.1,48.4z'/%3e%3c/g%3e%3cpath%20fill='%23FFFFFF'%20stroke='%23231F20'%20stroke-miterlimit='10'%20d='M201.3,111.8v80.3c0,45.7,59.7,59.7,59.7,59.7s59.7-14,59.7-59.7v-80.3H201.3L201.3,111.8z'/%3e%3cg%3e%3cpath%20fill='%23D80027'%20d='M225.2,137.7v97.3c8.2,6,17,10.2,23.9,12.9V137.7H225.2L225.2,137.7z'/%3e%3cpath%20fill='%23D80027'%20d='M296.8,137.7v97.3c-8.2,6-17,10.2-23.9,12.9V137.7H296.8L296.8,137.7z'/%3e%3c/g%3e%3crect%20x='201.3'%20y='111.8'%20fill='%230052B4'%20width='119.4'%20height='37.9'/%3e%3cpolygon%20fill='%231583C4'%20points='60.1,210.5%2038.2,152.4%2015.7,152.4%2047.5,233.2%2072.7,233.2%20104.2,152.4%2081.7,152.4%20'/%3e%3crect%20x='451.5'%20y='151.9'%20fill='%231583C4'%20width='18.9'%20height='81.7'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/VN-88OylpOb.js b/contrib/data/www/web/assets/VN-88OylpOb.js new file mode 100644 index 00000000..6954ef86 --- /dev/null +++ b/contrib/data/www/web/assets/VN-88OylpOb.js @@ -0,0 +1 @@ +const o="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3cpolygon%20fill='%23D80027'%20points='196.641,85.337%200,85.337%200,426.663%20196.641,426.663%20512,426.663%20512,85.337%20'/%3e%3cpolygon%20fill='%23FFDA44'%20points='256,157.279%20278.663,227.026%20352,227.026%20292.668,270.132%20315.332,339.881%20256,296.774%20196.668,339.881%20219.332,270.132%20160,227.026%20233.337,227.026%20'/%3e%3c/svg%3e";export{o as default}; diff --git a/contrib/data/www/web/assets/VU-B3o2l031.js b/contrib/data/www/web/assets/VU-B3o2l031.js new file mode 100644 index 00000000..3e53d8e9 --- /dev/null +++ b/contrib/data/www/web/assets/VU-B3o2l031.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20fill='%23000'%20y='85.337'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%236DA544'%20points='512,256%20512,426.663%200,426.663%20215.185,256%20'/%3e%3cpolygon%20fill='%23D80027'%20points='512,85.337%20512,256%20215.185,256%200,85.337%20'/%3e%3cpolygon%20fill='%23000'%20points='221.001,239.304%2026.868,85.337%208.956,85.337%20217.124,250.435%20512,250.435%20512,239.304%20'/%3e%3cpolygon%20fill='%23000'%20points='8.956,426.663%2026.868,426.663%20221.001,272.696%20512,272.696%20512,261.565%20217.124,261.565%20'/%3e%3cpolygon%20fill='%23000'%20points='0,92.44%200,106.646%20188.317,256%200,405.354%200,419.559%20206.229,256%20'/%3e%3cg%3e%3cpolygon%20fill='%23FFDA44'%20points='8.956,85.337%200,85.337%200,92.44%20206.229,256%200,419.559%200,426.663%208.956,426.663%20217.124,261.565%20512,261.565%20512,250.435%20217.124,250.435%20'/%3e%3cpath%20fill='%23FFDA44'%20d='M63.718,292.382v-14.295c14.265,0,25.87-11.606,25.87-25.869c0-10.092-8.211-18.303-18.304-18.303%20c-6.875,0-12.469,5.593-12.469,12.469c0,4.397,3.577,7.974,7.974,7.974c2.485,0,4.508-2.023,4.508-4.508h14.295%20c0,10.368-8.435,18.804-18.802,18.804c-12.279-0.002-22.269-9.993-22.269-22.271c0-14.758,12.006-26.764,26.764-26.764%20c17.975,0,32.599,14.623,32.599,32.599C103.884,274.363,85.866,292.382,63.718,292.382z'/%3e%3c/g%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/WF-Bv7MkmLx.js b/contrib/data/www/web/assets/WF-Bv7MkmLx.js new file mode 100644 index 00000000..a49f2e05 --- /dev/null +++ b/contrib/data/www/web/assets/WF-Bv7MkmLx.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20150%20100'%3e%3crect%20fill='%23D80B30'%20width='150'%20height='100'/%3e%3crect%20fill='%2300318A'%20width='20'%20height='44.33'/%3e%3crect%20x='20'%20fill='%23FFFFFF'%20width='20'%20height='44.33'/%3e%3cpath%20fill='none'%20stroke='%23FFFFFF'%20stroke-width='3'%20d='M0,44.33h62.75V0'/%3e%3cpath%20fill='%23FFFFFF'%20d='M108.08,43.29L87.96,23.17h40.25L108.08,43.29z%20M101.38,50L81.25,29.88v40.25L101.38,50z%20M108.08,56.71%20L87.96,76.83h40.25L108.08,56.71z%20M114.79,50l20.13-20.13v40.25L114.79,50z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/WS-Cxo8EBUY.js b/contrib/data/www/web/assets/WS-Cxo8EBUY.js new file mode 100644 index 00000000..52d96f51 --- /dev/null +++ b/contrib/data/www/web/assets/WS-Cxo8EBUY.js @@ -0,0 +1 @@ +const F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23D80027'%20width='512'%20height='341.337'/%3e%3crect%20y='85.331'%20fill='%230052B4'%20width='256'%20height='170.663'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='165.483,181.79%20168.247,190.294%20177.186,190.294%20169.954,195.548%20172.717,204.051%20165.483,198.796%20158.25,204.051%20161.013,195.548%20153.78,190.294%20162.72,190.294%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='120.579,115.007%20125.185,129.18%20140.085,129.18%20128.03,137.937%20132.635,152.108%20120.579,143.35%20108.525,152.108%20113.13,137.937%20101.074,129.18%20115.975,129.18%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='165.101,129.848%20169.707,144.02%20184.607,144.02%20172.552,152.777%20177.156,166.95%20165.101,158.19%20153.047,166.95%20157.651,152.777%20145.596,144.02%20160.496,144.02%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='129.909,189.211%20134.515,203.383%20149.415,203.383%20137.36,212.141%20141.964,226.312%20129.909,217.553%20117.855,226.312%20122.459,212.141%20110.404,203.383%20125.304,203.383%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='90.899,152.108%2095.504,166.281%20110.404,166.281%2098.349,175.038%20102.953,189.211%2090.899,180.451%2078.844,189.211%2083.448,175.038%2071.393,166.281%2086.293,166.281%20'/%3e%3c/g%3e%3c/svg%3e";export{F as default}; diff --git a/contrib/data/www/web/assets/XK-DHuA0EV5.js b/contrib/data/www/web/assets/XK-DHuA0EV5.js new file mode 100644 index 00000000..4bc9025c --- /dev/null +++ b/contrib/data/www/web/assets/XK-DHuA0EV5.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20341.33'%3e%3crect%20y='0'%20fill='%230052B4'%20width='512'%20height='341.34'/%3e%3cg%3e%3cpolygon%20fill='%23FFFFFF'%20points='220.72,42.63%20228.67,58.74%20246.44,61.32%20233.58,73.86%20236.62,91.56%20220.72,83.2%20204.82,91.56%20207.85,73.86%20194.99,61.32%20212.77,58.74%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='291.28,42.57%20299.23,58.67%20317.01,61.26%20304.15,73.79%20307.18,91.5%20291.28,83.14%20275.38,91.5%20278.42,73.79%20265.56,61.26%20283.33,58.67%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='353.36,53.93%20361.31,70.04%20379.08,72.62%20366.22,85.16%20369.26,102.86%20353.36,94.51%20337.46,102.86%20340.5,85.16%20327.63,72.62%20345.41,70.04%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='416.37,72.23%20424.32,88.34%20442.09,90.93%20429.23,103.46%20432.27,121.17%20416.37,112.81%20400.47,121.17%20403.5,103.46%20390.64,90.93%20408.42,88.34%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='158.64,53.93%20166.59,70.04%20184.37,72.62%20171.5,85.16%20174.54,102.86%20158.64,94.51%20142.74,102.86%20145.78,85.16%20132.92,72.62%20150.69,70.04%20'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='95.63,72.23%20103.58,88.34%20121.36,90.93%20108.5,103.46%20111.53,121.17%2095.63,112.81%2079.73,121.17%2082.77,103.46%2069.91,90.93%2087.68,88.34%20'/%3e%3c/g%3e%3cpath%20fill='%23FFDA44'%20d='M217.53,259.33l-27.22-13.61l-27.22-54.43h27.22l27.22-27.22l13.61-27.22l27.22-13.61l13.61,13.61l27.22,13.61%20v13.61l13.61,13.61l40.83,27.22L340,245.73l-40.83,40.83l-13.61-27.22l-40.83,27.22v27.22l-13.61-13.61L217.53,259.33z'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/YE-By8P38Ye.js b/contrib/data/www/web/assets/YE-By8P38Ye.js new file mode 100644 index 00000000..7f1788c8 --- /dev/null +++ b/contrib/data/www/web/assets/YE-By8P38Ye.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3crect%20y='85.337'%20fill='%23D80027'%20width='512'%20height='113.775'/%3e%3crect%20y='312.888'%20fill='%23000'%20width='512'%20height='113.775'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/YT-DbhRoF51.js b/contrib/data/www/web/assets/YT-DbhRoF51.js new file mode 100644 index 00000000..6b10f7d1 --- /dev/null +++ b/contrib/data/www/web/assets/YT-DbhRoF51.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2090%2060'%3e%3crect%20fill='%23FFFFFF'%20width='90'%20height='60'/%3e%3cpath%20stroke='%237f7f7f'%20stroke-width='0.25'%20fill='%23ABABAB'%20d='M75.6,39.6c-1.1,0.7,0,1.8-0.6,1.9c-0.6,0.1-1.5-1.4-0.2-2.5c1.6-1.5,5.8,0,5.9,4.3c0,2.2-0.9,6.8-7.2,6.8%20c-7.6,0-11.4-5.7-11.4-11.4c0-4.8,3.7-13.5,6.5-14.6c3.1-1.2,6.7-3.5,6.8-5c0-0.5-1.4-0.1-3.3,0.9c-3.1,1.7-6.6,2.5-6.6,1.4%20s2.9-3.1,4-4.6c1.2-1.6,0.9-5.5,3-5.5c7.6,0,9.9,7.7,7,11.7c-1.9,2.6,4.3,1,4.3,1s0,5.3-3.2,7.3c-3,1.8-4.8,3.9-4.8,3.9%20s0.2-4.6-0.5-3.9c-0.6,0.7-11.1,4.5-10.3,12c0.3,3,4.5,5.4,8.5,5.2s5.7-2.4,5.8-4.9C79.4,39.7,76.3,39.2,75.6,39.6z'/%3e%3cpath%20stroke='%237f7f7f'%20stroke-width='0.25'%20fill='%23ABABAB'%20d='M10.7,43.6c0.1,2.5,1.8,4.7,5.8,4.9s8.2-2.2,8.5-5.2c0.8-7.5-9.7-11.3-10.3-12c-0.7-0.7-0.5,3.9-0.5,3.9%20s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2,1.6,4.3-1c-2.9-4-0.6-11.7,7-11.7c2.1,0,1.8,3.9,3,5.5c1.1,1.5,4,3.5,4,4.6%20S21,21.7,17.9,20c-1.9-1-3.3-1.4-3.3-0.9c0.1,1.5,3.7,3.8,6.8,5c2.8,1.1,6.5,9.8,6.5,14.6c0,5.7-3.8,11.4-11.4,11.4%20c-6.3,0-7.2-4.6-7.2-6.8c0.1-4.3,4.3-5.8,5.9-4.3c1.2,1.1,0.4,2.7-0.2,2.5c-0.6-0.1,0.6-1.2-0.6-1.9C13.8,39.2,10.7,39.7,10.7,43.6z%20'/%3e%3cg%3e%3cpath%20fill='%23DE393A'%20d='M31,28.8c0,0,0,12.1,0,14s2.1,1.6,2.1,1.6s8.2,0,9.3,0c1.2,0,2.6,2.3,2.6,2.3s1.4-2.3,2.5-2.3s9.6,0,9.6,0%20s2,0.2,2-1.8s0-13.9,0-13.9H31z'/%3e%3crect%20x='31'%20y='13.1'%20fill='%233951A3'%20width='28'%20height='15.7'/%3e%3c/g%3e%3cpath%20fill='%23FFFFFF'%20d='M50.1,16.5c-0.4,2.4-2.5,4.2-5.1,4.2c-2.5,0-4.6-1.8-5.1-4.2c-0.5,0.9-0.8,1.9-0.8,3c0,3.3,2.6,5.9,5.9,5.9%20c3.3,0,5.9-2.6,5.9-5.9C50.9,18.4,50.6,17.4,50.1,16.5z'/%3e%3ccircle%20fill='%23FEE05F'%20cx='39.1'%20cy='36.5'%20r='3'/%3e%3ccircle%20fill='%23FEE05F'%20cx='50.9'%20cy='36.5'%20r='3'/%3e%3c/svg%3e";export{c as default}; diff --git a/contrib/data/www/web/assets/ZA-DsWnrAmj.js b/contrib/data/www/web/assets/ZA-DsWnrAmj.js new file mode 100644 index 00000000..57dc9ea9 --- /dev/null +++ b/contrib/data/www/web/assets/ZA-DsWnrAmj.js @@ -0,0 +1 @@ +const l="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.337'%20fill='%23FFFFFF'%20width='512'%20height='341.326'/%3e%3cpolygon%20fill='%23000'%20points='114.024,256.001%200,141.926%200,370.096%20'/%3e%3cpolygon%20fill='%23ffb915'%20points='161.192,256%200,94.7%200,141.926%20114.024,256.001%200,370.096%200,417.234%20'/%3e%3cpath%20fill='%23007847'%20d='M509.833,289.391L509.833,289.391c0.058-0.44,0.804-0.878,2.167-1.318V256v-33.391h-2.167H222.602%20L85.33,85.337H0V94.7L161.192,256L0,417.234v9.429h85.33l137.272-137.272H509.833z'/%3e%3cpolygon%20fill='%23000c8a'%20points='503.181,322.783%20236.433,322.783%20132.552,426.663%20512,426.663%20512,322.783%20'/%3e%3cpolygon%20fill='%23e1392d'%20points='503.181,189.217%20512,189.217%20512,85.337%20132.552,85.337%20236.433,189.217%20'/%3e%3c/svg%3e";export{l as default}; diff --git a/contrib/data/www/web/assets/ZM-CdkX6WZ3.js b/contrib/data/www/web/assets/ZM-CdkX6WZ3.js new file mode 100644 index 00000000..69a5d755 --- /dev/null +++ b/contrib/data/www/web/assets/ZM-CdkX6WZ3.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20y='85.331'%20fill='%23496E2D'%20width='512'%20height='341.337'/%3e%3cpath%20fill='%23FF9811'%20d='M490.668,195.476h-48c0-8.836-7.164-16-16-16s-16,7.164-16,16h-48c0,8.836,7.697,16,16.533,16h-0.533%20c0,8.836,7.162,16,16,16c0,8.836,7.162,16,16,16h32c8.836,0,16-7.164,16-16c8.836,0,16-7.164,16-16h-0.533%20C482.972,211.476,490.668,204.312,490.668,195.476z'/%3e%3crect%20x='341.337'%20y='255.994'%20fill='%23D80027'%20width='56.888'%20height='170.663'/%3e%3crect%20x='455.112'%20y='255.994'%20fill='%23FF9811'%20width='56.888'%20height='170.663'/%3e%3crect%20x='398.225'%20y='255.994'%20fill='%23000'%20width='56.888'%20height='170.663'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/ZW-B1PpRcC0.js b/contrib/data/www/web/assets/ZW-B1PpRcC0.js new file mode 100644 index 00000000..889112cc --- /dev/null +++ b/contrib/data/www/web/assets/ZW-B1PpRcC0.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%2085.333%20512%20341.333'%3e%3crect%20fill='%23000'%20y='85.333'%20width='512'%20height='341.337'/%3e%3cg%3e%3crect%20y='134.196'%20fill='%23FFDA44'%20width='512'%20height='48.868'/%3e%3crect%20y='329.668'%20fill='%23FFDA44'%20width='512'%20height='48.868'/%3e%3c/g%3e%3crect%20y='85.333'%20fill='%23057f44'%20width='512'%20height='48.868'/%3e%3cg%3e%3crect%20y='183.069'%20fill='%23D80027'%20width='512'%20height='48.868'/%3e%3crect%20y='280.806'%20fill='%23D80027'%20width='512'%20height='48.868'/%3e%3c/g%3e%3crect%20y='378.542'%20fill='%23057f44'%20width='512'%20height='48.128'/%3e%3cpolygon%20fill='%23FFFFFF'%20points='276.992,255.996%20106.329,426.659%200,426.659%200,85.333%20106.329,85.333%20'/%3e%3cpolygon%20fill='%23000'%20points='256,255.996%2085.334,426.662%20106.321,426.662%20276.988,255.996%20106.321,85.33%2085.334,85.33%20'/%3e%3cpolygon%20fill='%23D80027'%20points='102.465,202.57%20115.724,243.382%20158.641,243.382%20123.923,268.608%20137.183,309.422%20102.465,284.198%2067.745,309.422%2081.007,268.608%2046.289,243.382%2089.204,243.382%20'/%3e%3cpath%20fill='%23FFDA44'%20d='M138.94,259.335l-34.559-12.243c0,0-2.553-23.955-2.708-24.766%20c-1.173-6.18-6.603-10.851-13.123-10.851c-7.376,0-13.357,5.98-13.357,13.357c0,1.223,0.178,2.402,0.486,3.528l-9.689,9.755%20c0,0,11.509,0,17.229,0c0,17.882-13.344,17.882-13.344,35.691l7.402,17.809h44.522l7.422-17.809h-0.004%20c0.744-1.709,1.194-3.47,1.381-5.231C136.995,265.986,138.94,259.335,138.94,259.335z'/%3e%3c/svg%3e";export{e as default}; diff --git a/contrib/data/www/web/assets/esp32-BPYaDt9v.js b/contrib/data/www/web/assets/esp32-BCJodKc7.js similarity index 96% rename from contrib/data/www/web/assets/esp32-BPYaDt9v.js rename to contrib/data/www/web/assets/esp32-BCJodKc7.js index 3f5e36d6..9aca777e 100644 --- a/contrib/data/www/web/assets/esp32-BPYaDt9v.js +++ b/contrib/data/www/web/assets/esp32-BCJodKc7.js @@ -1 +1 @@ -import{R as o}from"./rom-Caghk6Eh.js";const D=1074521560,w="CAD0PxwA9D8AAPQ/AMD8PxAA9D82QQAh+v/AIAA4AkH5/8AgACgEICB0nOIGBQAAAEH1/4H2/8AgAKgEiAigoHTgCAALImYC54b0/yHx/8AgADkCHfAAAKDr/T8Ya/0/hIAAAEBAAABYq/0/pOv9PzZBALH5/yCgdBARIKXHAJYaBoH2/5KhAZCZEZqYwCAAuAmR8/+goHSaiMAgAJIYAJCQ9BvJwMD0wCAAwlgAmpvAIACiSQDAIACSGACB6v+QkPSAgPSHmUeB5f+SoQGQmRGamMAgAMgJoeX/seP/h5wXxgEAfOiHGt7GCADAIACJCsAgALkJRgIAwCAAuQrAIACJCZHX/5qIDAnAIACSWAAd8AAA+CD0P/gw9D82QQCR/f/AIACICYCAJFZI/5H6/8AgAIgJgIAkVkj/HfAAAAAQIPQ/ACD0PwAAAAg2QQAQESCl/P8h+v8MCMAgAIJiAJH6/4H4/8AgAJJoAMAgAJgIVnn/wCAAiAJ88oAiMCAgBB3wAAAAAEA2QQAQESDl+/8Wav+B7P+R+//AIACSaADAIACYCFZ5/x3wAAAMwPw/////AAQg9D82QQAh/P84QhaDBhARIGX4/xb6BQz4DAQ3qA2YIoCZEIKgAZBIg0BAdBARICX6/xARICXz/4giDBtAmBGQqwHMFICrAbHt/7CZELHs/8AgAJJrAJHO/8AgAKJpAMAgAKgJVnr/HAkMGkCag5AzwJqIOUKJIh3wAAAskgBANkEAoqDAgf3/4AgAHfAAADZBAIKgwK0Ch5IRoqDbgff/4AgAoqDcRgQAAAAAgqDbh5IIgfL/4AgAoqDdgfD/4AgAHfA2QQA6MsYCAACiAgAbIhARIKX7/zeS8R3wAAAAfNoFQNguBkCc2gVAHNsFQDYhIaLREIH6/+AIAEYLAAAADBRARBFAQ2PNBL0BrQKB9f/gCACgoHT8Ws0EELEgotEQgfH/4AgASiJAM8BWA/0iogsQIrAgoiCy0RCB7P/gCACtAhwLEBEgpff/LQOGAAAioGMd8AAA/GcAQNCSAEAIaABANkEhYqEHwGYRGmZZBiwKYtEQDAVSZhqB9//gCAAMGECIEUe4AkZFAK0GgdT/4AgAhjQAAJKkHVBzwOCZERqZQHdjiQnNB70BIKIggc3/4AgAkqQd4JkRGpmgoHSICYyqDAiCZhZ9CIYWAAAAkqQd4JkREJmAgmkAEBEgJer/vQetARARIKXt/xARICXp/80HELEgYKYggbv/4AgAkqQd4JkRGpmICXAigHBVgDe1sJKhB8CZERqZmAmAdcCXtwJG3P+G5v8MCIJGbKKkGxCqoIHK/+AIAFYK/7KiC6IGbBC7sBARIKWPAPfqEvZHD7KiDRC7sHq7oksAG3eG8f9867eawWZHCIImGje4Aoe1nCKiCxAisGC2IK0CgZv/4AgAEBEgpd//rQIcCxARICXj/xARIKXe/ywKgbH/4AgAHfAIIPQ/cOL6P0gkBkDwIgZANmEAEBEg5cr/EKEggfv/4AgAPQoMEvwqiAGSogCQiBCJARARIKXP/5Hy/6CiAcAgAIIpAKCIIMAgAIJpALIhAKHt/4Hu/+AIAKAjgx3wAAD/DwAANkEAgTv/DBmSSAAwnEGZKJH7/zkYKTgwMLSaIiozMDxBDAIpWDlIEBEgJfj/LQqMGiKgxR3wAABQLQZANkEAQSz/WDRQM2MWYwRYFFpTUFxBRgEAEBEgZcr/iESmGASIJIel7xARIKXC/xZq/6gUzQO9AoHx/+AIAKCgdIxKUqDEUmQFWBQ6VVkUWDQwVcBZNB3wAADA/D9PSEFJqOv9P3DgC0AU4AtADAD0PzhA9D///wAAjIAAABBAAACs6/0/vOv9PwTA/D8IwPw/BOz9PxQA9D/w//8AqOv9Pxjr/D8kwPw/fGgAQOxnAEBYhgBAbCoGQDgyBkAULAZAzCwGQEwsBkA0hQBAzJAAQHguBkAw7wVAWJIAQEyCAEA2wQAh3v8MCiJhCEKgAIHu/+AIACHZ/zHa/8YAAEkCSyI3MvgQESBlw/8MS6LBIBARIOXG/yKhARARICXC/1GR/pAiESolMc//sc//wCAAWQIheP4MDAxaMmIAgdz/4AgAMcr/QqEBwCAAKAMsCkAiIMAgACkDgTH/4AgAgdX/4AgAIcP/wCAAKALMuhzDMCIQIsL4DBMgo4MMC4HO/+AIAPG8/wwdwqABDBvioQBA3REAzBGAuwGioACBx//gCAAhtv8MBCpVIcP+ctIrwCAAKAUWcv/AIAA4BQwSwCAASQUiQRAiAwEMKCJBEYJRCUlRJpIHHDiHEh4GCAAiAwOCAwKAIhGAIiBmQhEoI8AgACgCKVFGAQAAHCIiUQkQESCls/8Mi6LBEBARIGW3/4IDAyIDAoCIESCIICGY/yAg9IeyHKKgwBARICWy/6Kg7hARIKWx/xARICWw/4bb/wAAIgMBHDknOTT2IhjG1AAAACLCLyAgdPZCcJGJ/5AioCgCoAIAIsL+ICB0HBknuQLGywCRhP+QIqAoAqACAJLCMJCQdLZZyQbGACxKbQQioMCnGAIGxABJUQxyrQQQESDlqv+tBBARIGWq/xARIOWo/xARIKWo/wyLosEQIsL/EBEg5av/ViL9RikADBJWyCyCYQ+Bev/gCACI8aAog8auACaIBAwSxqwAmCNoM2CJIICAtFbY/pnBEBEgZcf/mMFqKZwqBvf/AACgrEGBbf/gCABW6vxi1vBgosDMJgaBAACgkPRWGf6GBACgoPWZwYFl/+AIAJjBVpr6kGbADBkAmRFgosBnOeEGBAAAAKCsQYFc/+AIAFaq+GLW8GCiwFam/sZvAABtBCKgwCaIAoaNAG0EDALGiwAAACa484ZhAAwSJrgCBoUAuDOoIxARIOWh/6AkgwaBAAwcZrhTiEMgrBFtBCKgwoe6AoZ+ALhTqCPJ4RARIOXA/8YLAAwcZrgviEMgrBFtBCKgwoe6AoZ1ACgzuFOoIyBogsnhEBEgZb7/ITT+SWIi0itpIsjhoMSDLQyGaQChL/5tBLIKACKgxhY7GpgjgsjwIqDAh5kBKFoMCaKg70YCAJqzsgsYG5mwqjCHKfKCAwWSAwSAiBGQiCCSAwZtBACZEYCZIIIDB4CIAZCIIICqwIKgwaAok0ZVAIEY/m0EoggAIqDGFnoUqDgioMhW+hMoWKJIAMZNAByKbQQMEqcYAsZKAPhz6GPYU8hDuDOoI4EM/+AIAG0KoCSDRkQAAAwSJkgCRj8AqCO9BIEE/+AIAAYeAICwNG0EIqDAVgsPgGRBi8N8/UYOAKg8ucHJ4dnRgQD/4AgAyOG4wSgsmByoDNIhDZCSECYCDsAgAOIqACAtMOAiECCZIMAgAJkKG7vCzBBnO8LGm/9mSAJGmv9tBCKgwAYmAAwSJrgCRiEAIdz+mFOII5kCIdv+iQItBIYcAGHX/gwb2AaCyPCtBC0EgCuT0KuDIKoQbQQioMZW6gXB0f4ioMnoDIc+U4DwFCKgwFavBC0KRgIAKqOoaksiqQmtCyD+wCqdhzLtFprfIcT++QyZAsZ7/wwSZogWIcH+iAIWKACCoMhJAiG9/kkCDBKAJINtBEYBAABtBCKg/yCgdBARIOV5/2CgdBARIGV5/xARIOV3/1aiviIDARwoJzge9jICBvf+IsL9ICB0DPgnuAKG8/6BrP6AIqAoAqACAIKg0ocSUoKg1IcSegbt/gAAAIgzoqJxwKoRaCOJ8YGw/uAIACGh/pGi/sAgACgCiPEgNDXAIhGQIhAgIyCAIoKtBGCywoGn/uAIAKKj6IGk/uAIAAbb/gAA2FPIQ7gzqCMQESAlff9G1v4AsgMDIgMCgLsRILsgssvwosMYEBEgZZn/Rs/+ACIDA4IDAmGP/YAiEZg2gCIgIsLwkCJjFiKymBaakpCcQUYCAJnBEBEgZWL/mMGoRqYaBKgmp6nrEBEgpVr/Fmr/qBbNArLDGIGG/uAIAIw6MqDEOVY4FiozORY4NiAjwCk2xrX+ggMCIsMYMgMDDByAMxGAMyAyw/AGIwCBbP6RHf3oCDlx4JnAmWGYJwwal7MBDDqJ8anR6cEQESAlW/+o0ZFj/ujBqQGhYv7dCb0CwsEc8sEYmcGBa/7gCAC4J80KqHGI8aC7wLknoDPAuAiqIqhhmMGqu90EDBq5CMDag5C7wNDgdMx90tuA0K6TFmoBrQmJ8ZnByeEQESAlif+I8ZjByOGSaABhTv2INoyjwJ8xwJnA1ikAVvj11qwAMUn9IqDHKVNGAACMPJwIxoL+FoigYUT9IqDIKVZGf/4AMUH9IqDJKVNGfP4oI1bCnq0EgUX+4AgAoqJxwKoRgT7+4AgAgUL+4AgAxnP+AAAoMxaCnK0EgTz+4AgAoqPogTb+4AgA4AIARmz+HfAAAAA2QQCdAoKgwCgDh5kPzDIMEoYHAAwCKQN84oYPACYSByYiGIYDAAAAgqDbgCkjh5kqDCIpA3zyRggAAAAioNwnmQoMEikDLQgGBAAAAIKg3Xzyh5kGDBIpAyKg2x3wAAA=",h=1074520064,a="GOv8P9jnC0Bx6AtA8+wLQO3oC0CP6AtA7egLQEnpC0AG6gtAeOoLQCHqC0CB5wtAo+kLQPjpC0Bn6QtAmuoLQI7pC0Ca6gtAXegLQLPoC0Dt6AtASekLQHfoC0BM6wtAs+wLQKXmC0DX7AtApeYLQKXmC0Cl5gtApeYLQKXmC0Cl5gtApeYLQKXmC0Dz6gtApeYLQM3rC0Cz7AtA",Q=1073605544,B={entry:D,text:w,text_start:h,data:a,data_start:Q};class M extends o{constructor(){super(...arguments),this.CHIP_NAME="ESP32",this.IMAGE_CHIP_ID=0,this.EFUSE_RD_REG_BASE=1073061888,this.DR_REG_SYSCON_BASE=1073111040,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612856,this.XTAL_CLK_DIVIDER=1,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=4096,this.SPI_REG_BASE=1072963584,this.SPI_USR_OFFS=28,this.SPI_USR1_OFFS=32,this.SPI_USR2_OFFS=36,this.SPI_W0_OFFS=128,this.SPI_MOSI_DLEN_OFFS=40,this.SPI_MISO_DLEN_OFFS=44,this.TEXT_START=B.text_start,this.ENTRY=B.entry,this.DATA_START=B.data_start,this.ROM_DATA=B.data,this.ROM_TEXT=B.text}async readEfuse(C,A){const g=this.EFUSE_RD_REG_BASE+4*A;return C.debug("Read efuse "+g),await C.readReg(g)}async getPkgVersion(C){const A=await this.readEfuse(C,3);let g=A>>9&7;return g+=(A>>2&1)<<3,g}async getChipRevision(C){const A=await this.readEfuse(C,3),g=await this.readEfuse(C,5),I=await C.readReg(this.DR_REG_SYSCON_BASE+124),t=A>>15&1,i=g>>20&1,s=I>>31&1;return t!=0?i!=0?s!=0?3:2:1:0}async getChipDescription(C){const A=["ESP32-D0WDQ6","ESP32-D0WD","ESP32-D2WD","","ESP32-U4WDH","ESP32-PICO-D4","ESP32-PICO-V3-02"];let g="";const I=await this.getPkgVersion(C),t=await this.getChipRevision(C),i=t==3;return(await this.readEfuse(C,3)&1)!=0&&(A[0]="ESP32-S0WDQ6",A[1]="ESP32-S0WD"),i&&(A[5]="ESP32-PICO-V3"),I>=0&&I<=6?g=A[I]:g="Unknown ESP32",i&&(I===0||I===1)&&(g+="-V3"),g+" (revision "+t+")"}async getChipFeatures(C){const A=["Wi-Fi"],g=await this.readEfuse(C,3);(g&2)===0&&A.push(" BT"),(g&1)!==0?A.push(" Single Core"):A.push(" Dual Core"),(g&8192)!==0&&((g&4096)!==0?A.push(" 160MHz"):A.push(" 240MHz"));const s=await this.getPkgVersion(C);[2,4,5,6].indexOf(s)!==-1&&A.push(" Embedded Flash"),s===6&&A.push(" Embedded PSRAM"),(await this.readEfuse(C,4)>>8&31)!==0&&A.push(" VRef calibration in efuse"),(g>>14&1)!==0&&A.push(" BLK3 partially reserved");const E=await this.readEfuse(C,6)&3,e=["None","3/4","Repeat (UNSUPPORTED)","Invalid"];return A.push(" Coding Scheme "+e[E]),A}async getCrystalFreq(C){const A=await C.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,g=C.transport.baudrate*A/1e6/this.XTAL_CLK_DIVIDER;let I;return g>33?I=40:I=26,Math.abs(I-g)>1&&C.info("WARNING: Unsupported crystal in use"),I}_d2h(C){const A=(+C).toString(16);return A.length===1?"0"+A:A}async readMac(C){let A=await this.readEfuse(C,1);A=A>>>0;let g=await this.readEfuse(C,2);g=g>>>0;const I=new Uint8Array(6);return I[0]=g>>8&255,I[1]=g&255,I[2]=A>>24&255,I[3]=A>>16&255,I[4]=A>>8&255,I[5]=A&255,this._d2h(I[0])+":"+this._d2h(I[1])+":"+this._d2h(I[2])+":"+this._d2h(I[3])+":"+this._d2h(I[4])+":"+this._d2h(I[5])}}export{M as ESP32ROM}; +import{R as e}from"./rom-Caghk6Eh.js";const D=1074521560,w="CAD0PxwA9D8AAPQ/AMD8PxAA9D82QQAh+v/AIAA4AkH5/8AgACgEICB0nOIGBQAAAEH1/4H2/8AgAKgEiAigoHTgCAALImYC54b0/yHx/8AgADkCHfAAAKDr/T8Ya/0/hIAAAEBAAABYq/0/pOv9PzZBALH5/yCgdBARIKXHAJYaBoH2/5KhAZCZEZqYwCAAuAmR8/+goHSaiMAgAJIYAJCQ9BvJwMD0wCAAwlgAmpvAIACiSQDAIACSGACB6v+QkPSAgPSHmUeB5f+SoQGQmRGamMAgAMgJoeX/seP/h5wXxgEAfOiHGt7GCADAIACJCsAgALkJRgIAwCAAuQrAIACJCZHX/5qIDAnAIACSWAAd8AAA+CD0P/gw9D82QQCR/f/AIACICYCAJFZI/5H6/8AgAIgJgIAkVkj/HfAAAAAQIPQ/ACD0PwAAAAg2QQAQESCl/P8h+v8MCMAgAIJiAJH6/4H4/8AgAJJoAMAgAJgIVnn/wCAAiAJ88oAiMCAgBB3wAAAAAEA2QQAQESDl+/8Wav+B7P+R+//AIACSaADAIACYCFZ5/x3wAAAMwPw/////AAQg9D82QQAh/P84QhaDBhARIGX4/xb6BQz4DAQ3qA2YIoCZEIKgAZBIg0BAdBARICX6/xARICXz/4giDBtAmBGQqwHMFICrAbHt/7CZELHs/8AgAJJrAJHO/8AgAKJpAMAgAKgJVnr/HAkMGkCag5AzwJqIOUKJIh3wAAAskgBANkEAoqDAgf3/4AgAHfAAADZBAIKgwK0Ch5IRoqDbgff/4AgAoqDcRgQAAAAAgqDbh5IIgfL/4AgAoqDdgfD/4AgAHfA2QQA6MsYCAACiAgAbIhARIKX7/zeS8R3wAAAAfNoFQNguBkCc2gVAHNsFQDYhIaLREIH6/+AIAEYLAAAADBRARBFAQ2PNBL0BrQKB9f/gCACgoHT8Ws0EELEgotEQgfH/4AgASiJAM8BWA/0iogsQIrAgoiCy0RCB7P/gCACtAhwLEBEgpff/LQOGAAAioGMd8AAA/GcAQNCSAEAIaABANkEhYqEHwGYRGmZZBiwKYtEQDAVSZhqB9//gCAAMGECIEUe4AkZFAK0GgdT/4AgAhjQAAJKkHVBzwOCZERqZQHdjiQnNB70BIKIggc3/4AgAkqQd4JkRGpmgoHSICYyqDAiCZhZ9CIYWAAAAkqQd4JkREJmAgmkAEBEgJer/vQetARARIKXt/xARICXp/80HELEgYKYggbv/4AgAkqQd4JkRGpmICXAigHBVgDe1sJKhB8CZERqZmAmAdcCXtwJG3P+G5v8MCIJGbKKkGxCqoIHK/+AIAFYK/7KiC6IGbBC7sBARIKWPAPfqEvZHD7KiDRC7sHq7oksAG3eG8f9867eawWZHCIImGje4Aoe1nCKiCxAisGC2IK0CgZv/4AgAEBEgpd//rQIcCxARICXj/xARIKXe/ywKgbH/4AgAHfAIIPQ/cOL6P0gkBkDwIgZANmEAEBEg5cr/EKEggfv/4AgAPQoMEvwqiAGSogCQiBCJARARIKXP/5Hy/6CiAcAgAIIpAKCIIMAgAIJpALIhAKHt/4Hu/+AIAKAjgx3wAAD/DwAANkEAgTv/DBmSSAAwnEGZKJH7/zkYKTgwMLSaIiozMDxBDAIpWDlIEBEgJfj/LQqMGiKgxR3wAABQLQZANkEAQSz/WDRQM2MWYwRYFFpTUFxBRgEAEBEgZcr/iESmGASIJIel7xARIKXC/xZq/6gUzQO9AoHx/+AIAKCgdIxKUqDEUmQFWBQ6VVkUWDQwVcBZNB3wAADA/D9PSEFJqOv9P3DgC0AU4AtADAD0PzhA9D///wAAjIAAABBAAACs6/0/vOv9PwTA/D8IwPw/BOz9PxQA9D/w//8AqOv9Pxjr/D8kwPw/fGgAQOxnAEBYhgBAbCoGQDgyBkAULAZAzCwGQEwsBkA0hQBAzJAAQHguBkAw7wVAWJIAQEyCAEA2wQAh3v8MCiJhCEKgAIHu/+AIACHZ/zHa/8YAAEkCSyI3MvgQESBlw/8MS6LBIBARIOXG/yKhARARICXC/1GR/pAiESolMc//sc//wCAAWQIheP4MDAxaMmIAgdz/4AgAMcr/QqEBwCAAKAMsCkAiIMAgACkDgTH/4AgAgdX/4AgAIcP/wCAAKALMuhzDMCIQIsL4DBMgo4MMC4HO/+AIAPG8/wwdwqABDBvioQBA3REAzBGAuwGioACBx//gCAAhtv8MBCpVIcP+ctIrwCAAKAUWcv/AIAA4BQwSwCAASQUiQRAiAwEMKCJBEYJRCUlRJpIHHDiHEh4GCAAiAwOCAwKAIhGAIiBmQhEoI8AgACgCKVFGAQAAHCIiUQkQESCls/8Mi6LBEBARIGW3/4IDAyIDAoCIESCIICGY/yAg9IeyHKKgwBARICWy/6Kg7hARIKWx/xARICWw/4bb/wAAIgMBHDknOTT2IhjG1AAAACLCLyAgdPZCcJGJ/5AioCgCoAIAIsL+ICB0HBknuQLGywCRhP+QIqAoAqACAJLCMJCQdLZZyQbGACxKbQQioMCnGAIGxABJUQxyrQQQESDlqv+tBBARIGWq/xARIOWo/xARIKWo/wyLosEQIsL/EBEg5av/ViL9RikADBJWyCyCYQ+Bev/gCACI8aAog8auACaIBAwSxqwAmCNoM2CJIICAtFbY/pnBEBEgZcf/mMFqKZwqBvf/AACgrEGBbf/gCABW6vxi1vBgosDMJgaBAACgkPRWGf6GBACgoPWZwYFl/+AIAJjBVpr6kGbADBkAmRFgosBnOeEGBAAAAKCsQYFc/+AIAFaq+GLW8GCiwFam/sZvAABtBCKgwCaIAoaNAG0EDALGiwAAACa484ZhAAwSJrgCBoUAuDOoIxARIOWh/6AkgwaBAAwcZrhTiEMgrBFtBCKgwoe6AoZ+ALhTqCPJ4RARIOXA/8YLAAwcZrgviEMgrBFtBCKgwoe6AoZ1ACgzuFOoIyBogsnhEBEgZb7/ITT+SWIi0itpIsjhoMSDLQyGaQChL/5tBLIKACKgxhY7GpgjgsjwIqDAh5kBKFoMCaKg70YCAJqzsgsYG5mwqjCHKfKCAwWSAwSAiBGQiCCSAwZtBACZEYCZIIIDB4CIAZCIIICqwIKgwaAok0ZVAIEY/m0EoggAIqDGFnoUqDgioMhW+hMoWKJIAMZNAByKbQQMEqcYAsZKAPhz6GPYU8hDuDOoI4EM/+AIAG0KoCSDRkQAAAwSJkgCRj8AqCO9BIEE/+AIAAYeAICwNG0EIqDAVgsPgGRBi8N8/UYOAKg8ucHJ4dnRgQD/4AgAyOG4wSgsmByoDNIhDZCSECYCDsAgAOIqACAtMOAiECCZIMAgAJkKG7vCzBBnO8LGm/9mSAJGmv9tBCKgwAYmAAwSJrgCRiEAIdz+mFOII5kCIdv+iQItBIYcAGHX/gwb2AaCyPCtBC0EgCuT0KuDIKoQbQQioMZW6gXB0f4ioMnoDIc+U4DwFCKgwFavBC0KRgIAKqOoaksiqQmtCyD+wCqdhzLtFprfIcT++QyZAsZ7/wwSZogWIcH+iAIWKACCoMhJAiG9/kkCDBKAJINtBEYBAABtBCKg/yCgdBARIOV5/2CgdBARIGV5/xARIOV3/1aiviIDARwoJzge9jICBvf+IsL9ICB0DPgnuAKG8/6BrP6AIqAoAqACAIKg0ocSUoKg1IcSegbt/gAAAIgzoqJxwKoRaCOJ8YGw/uAIACGh/pGi/sAgACgCiPEgNDXAIhGQIhAgIyCAIoKtBGCywoGn/uAIAKKj6IGk/uAIAAbb/gAA2FPIQ7gzqCMQESAlff9G1v4AsgMDIgMCgLsRILsgssvwosMYEBEgZZn/Rs/+ACIDA4IDAmGP/YAiEZg2gCIgIsLwkCJjFiKymBaakpCcQUYCAJnBEBEgZWL/mMGoRqYaBKgmp6nrEBEgpVr/Fmr/qBbNArLDGIGG/uAIAIw6MqDEOVY4FiozORY4NiAjwCk2xrX+ggMCIsMYMgMDDByAMxGAMyAyw/AGIwCBbP6RHf3oCDlx4JnAmWGYJwwal7MBDDqJ8anR6cEQESAlW/+o0ZFj/ujBqQGhYv7dCb0CwsEc8sEYmcGBa/7gCAC4J80KqHGI8aC7wLknoDPAuAiqIqhhmMGqu90EDBq5CMDag5C7wNDgdMx90tuA0K6TFmoBrQmJ8ZnByeEQESAlif+I8ZjByOGSaABhTv2INoyjwJ8xwJnA1ikAVvj11qwAMUn9IqDHKVNGAACMPJwIxoL+FoigYUT9IqDIKVZGf/4AMUH9IqDJKVNGfP4oI1bCnq0EgUX+4AgAoqJxwKoRgT7+4AgAgUL+4AgAxnP+AAAoMxaCnK0EgTz+4AgAoqPogTb+4AgA4AIARmz+HfAAAAA2QQCdAoKgwCgDh5kPzDIMEoYHAAwCKQN84oYPACYSByYiGIYDAAAAgqDbgCkjh5kqDCIpA3zyRggAAAAioNwnmQoMEikDLQgGBAAAAIKg3Xzyh5kGDBIpAyKg2x3wAAA=",h=1074520064,a="GOv8P9jnC0Bx6AtA8+wLQO3oC0CP6AtA7egLQEnpC0AG6gtAeOoLQCHqC0CB5wtAo+kLQPjpC0Bn6QtAmuoLQI7pC0Ca6gtAXegLQLPoC0Dt6AtASekLQHfoC0BM6wtAs+wLQKXmC0DX7AtApeYLQKXmC0Cl5gtApeYLQKXmC0Cl5gtApeYLQKXmC0Dz6gtApeYLQM3rC0Cz7AtA",Q=1073605544,B={entry:D,text:w,text_start:h,data:a,data_start:Q};class M extends e{constructor(){super(...arguments),this.CHIP_NAME="ESP32",this.IMAGE_CHIP_ID=0,this.EFUSE_RD_REG_BASE=1073061888,this.DR_REG_SYSCON_BASE=1073111040,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612856,this.XTAL_CLK_DIVIDER=1,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=4096,this.SPI_REG_BASE=1072963584,this.SPI_USR_OFFS=28,this.SPI_USR1_OFFS=32,this.SPI_USR2_OFFS=36,this.SPI_W0_OFFS=128,this.SPI_MOSI_DLEN_OFFS=40,this.SPI_MISO_DLEN_OFFS=44,this.TEXT_START=B.text_start,this.ENTRY=B.entry,this.DATA_START=B.data_start,this.ROM_DATA=B.data,this.ROM_TEXT=B.text}async readEfuse(C,A){const g=this.EFUSE_RD_REG_BASE+4*A;return C.debug("Read efuse "+g),await C.readReg(g)}async getPkgVersion(C){const A=await this.readEfuse(C,3);let g=A>>9&7;return g+=(A>>2&1)<<3,g}async getChipRevision(C){const A=await this.readEfuse(C,3),g=await this.readEfuse(C,5),I=await C.readReg(this.DR_REG_SYSCON_BASE+124),t=A>>15&1,i=g>>20&1,s=I>>31&1;return t!=0?i!=0?s!=0?3:2:1:0}async getChipDescription(C){const A=["ESP32-D0WDQ6","ESP32-D0WD","ESP32-D2WD","","ESP32-U4WDH","ESP32-PICO-D4","ESP32-PICO-V3-02"];let g="";const I=await this.getPkgVersion(C),t=await this.getChipRevision(C),i=t==3;return(await this.readEfuse(C,3)&1)!=0&&(A[0]="ESP32-S0WDQ6",A[1]="ESP32-S0WD"),i&&(A[5]="ESP32-PICO-V3"),I>=0&&I<=6?g=A[I]:g="Unknown ESP32",i&&(I===0||I===1)&&(g+="-V3"),g+" (revision "+t+")"}async getChipFeatures(C){const A=["Wi-Fi"],g=await this.readEfuse(C,3);(g&2)===0&&A.push(" BT"),(g&1)!==0?A.push(" Single Core"):A.push(" Dual Core"),(g&8192)!==0&&((g&4096)!==0?A.push(" 160MHz"):A.push(" 240MHz"));const s=await this.getPkgVersion(C);[2,4,5,6].indexOf(s)!==-1&&A.push(" Embedded Flash"),s===6&&A.push(" Embedded PSRAM"),(await this.readEfuse(C,4)>>8&31)!==0&&A.push(" VRef calibration in efuse"),(g>>14&1)!==0&&A.push(" BLK3 partially reserved");const E=await this.readEfuse(C,6)&3,o=["None","3/4","Repeat (UNSUPPORTED)","Invalid"];return A.push(" Coding Scheme "+o[E]),A}async getCrystalFreq(C){const A=await C.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,g=C.transport.baudrate*A/1e6/this.XTAL_CLK_DIVIDER;let I;return g>33?I=40:I=26,Math.abs(I-g)>1&&C.info("WARNING: Unsupported crystal in use"),I}_d2h(C){const A=(+C).toString(16);return A.length===1?"0"+A:A}async readMac(C){let A=await this.readEfuse(C,1);A=A>>>0;let g=await this.readEfuse(C,2);g=g>>>0;const I=new Uint8Array(6);return I[0]=g>>8&255,I[1]=g&255,I[2]=A>>24&255,I[3]=A>>16&255,I[4]=A>>8&255,I[5]=A&255,this._d2h(I[0])+":"+this._d2h(I[1])+":"+this._d2h(I[2])+":"+this._d2h(I[3])+":"+this._d2h(I[4])+":"+this._d2h(I[5])}}export{M as ESP32ROM}; diff --git a/contrib/data/www/web/assets/esp32c2-CVPL8n1g.js b/contrib/data/www/web/assets/esp32c2-jHqgYmC_.js similarity index 69% rename from contrib/data/www/web/assets/esp32c2-CVPL8n1g.js rename to contrib/data/www/web/assets/esp32c2-jHqgYmC_.js index 7f171ade..24184151 100644 --- a/contrib/data/www/web/assets/esp32c2-CVPL8n1g.js +++ b/contrib/data/www/web/assets/esp32c2-jHqgYmC_.js @@ -1 +1 @@ -import{ESP32C3ROM as M}from"./esp32c3-I3vXmsVg.js";import"./rom-Caghk6Eh.js";const h=1077413304,g="ARG3BwBgTsaDqYcASsg3Sco/JspSxAbOIsy3BABgfVoTCQkAwEwTdPQ/DeDyQGJEI6g0AUJJ0kSySSJKBWGCgIhAgycJABN19Q+Cl30U4xlE/8m/EwcADJRBqodjGOUAhUeFxiOgBQB5VYKABUdjh+YACUZjjcYAfVWCgEIFEwewDUGFY5XnAolHnMH1t5MGwA1jFtUAmMETBQAMgoCTBtANfVVjldcAmMETBbANgoC3dcs/QRGThQW6BsZhP2NFBQa3d8s/k4eHsQOnBwgD1kcIE3X1D5MGFgDCBsGCI5LXCDKXIwCnAAPXRwiRZ5OHBwRjHvcCN/fKPxMHh7GhZ7qXA6YHCLc2yz+3d8s/k4eHsZOGhrVjH+YAI6bHCCOg1wgjkgcIIaD5V+MG9fyyQEEBgoAjptcII6DnCN23NycAYHxLnYv1/zc3AGB8S52L9f+CgEERBsbdN7cnAGAjpgcCNwcACJjDmEN9/8hXskATRfX/BYlBAYKAQREGxtk/fd03BwBAtycAYJjDNycAYBxD/f+yQEEBgoBBESLEN8TKP5MHxABKwAOpBwEGxibCYwoJBEU3OcW9RxMExACBRGPWJwEERL2Ik7QUAH03hT8cRDcGgAATl8cAmeA3BgABt/b/AHWPtyYAYNjCkMKYQn3/QUeR4AVHMwnpQLqXIygkARzEskAiRJJEAklBAYKAQREGxhMHAAxjEOUCEwWwDZcAyP/ngIDjEwXADbJAQQEXA8j/ZwCD4hMHsA3jGOX+lwDI/+eAgOETBdANxbdBESLEJsIGxiqEswS1AGMXlACyQCJEkkRBAYKAA0UEAAUERTfttxMFAAwXA8j/ZwAD3nVxJsPO3v10hWn9cpOEhPqThwkHIsVKwdLc1tqmlwbHFpGzhCcAKokmhS6ElzDI/+eAgJOThwkHBWqKl7OKR0Ep5AVnfXUTBIX5kwcHB6KXM4QnABMFhfqTBwcHqpeihTOFJwCXMMj/54CAkCKFwUW5PwFFhWIWkbpAKkSaRApJ9llmWtZaSWGCgKKJY3OKAIVpTobWhUqFlwDI/+eAQOITdfUPAe1OhtaFJoWXMMj/54DAi06ZMwQ0QVm3EwUwBlW/cXH9ck7PUs1Wy17HBtci1SbTStFayWLFZsNqwe7eqokWkRMFAAIuirKKtosCwpcAyP/ngEBIhWdj7FcRhWR9dBMEhPqThwQHopczhCcAIoWXMMj/54AghX17Eww7+ZMMi/kThwQHk4cEB2KX5pcBSTMMJwCzjCcAEk1je00JY3GpA3mgfTWmhYgYSTVdNSaGjBgihZcwyP/ngCCBppkmmWN1SQOzB6lBY/F3A7MEKkFj85oA1oQmhowYToWXAMj/54Dg0xN19Q9V3QLEgUR5XY1NowEBAGKFlwDI/+eAYMR9+QNFMQDmhS0xY04FAOPinf6FZ5OHBweml4qX2pcjiqf4hQT5t+MWpf2RR+OG9PYFZ311kwcHBxMEhfmilzOEJwATBYX6kwcHB6qXM4UnAKKFlyDI/+eAgHflOyKFwUXxM8U7EwUAApcAyP/ngOA2hWIWkbpQKlSaVApZ+klqStpKSku6SypMmkwKTfZdTWGCgAERBs4izFExNwTOP2wAEwVE/5cAyP/ngKDKqocFRZXnskeT9wcgPsZ5OTcnAGAcR7cGQAATBUT/1Y8cx7JFlwDI/+eAIMgzNaAA8kBiRAVhgoBBEbfHyj8GxpOHxwAFRyOA5wAT18UAmMcFZ30XzMPIx/mNOpWqlbGBjMsjqgcAQTcZwRMFUAyyQEEBgoABESLMN8TKP5MHxAAmysRHTsYGzkrIqokTBMQAY/OVAK6EqcADKUQAJpkTWckAHEhjVfAAHERjXvkC4T593UhAJobOhZcAyP/ngCC7E3X1DwHFkwdADFzIXECml1zAXESFj1zE8kBiRNJEQkmySQVhgoDdNm2/t1dBSRlxk4f3hAFFPs6G3qLcptrK2M7W0tTW0trQ3s7izObK6sjuxpcAyP/ngICtt0fKPzd3yz+ThwcAEweHumPg5xSlOZFFaAixMYU5t/fKP5OHh7EhZz6XIyD3CLcFOEC3BzhAAUaThwcLk4UFADdJyj8VRSMg+QCXAMj/54DgGzcHAGBcRxMFAAK3xMo/k+cXEFzHlwDI/+eAoBq3RwBgiF+BRbd5yz9xiWEVEzUVAJcAyP/ngOCwwWf9FxMHABCFZkFmtwUAAQFFk4TEALdKyj8NapcAyP/ngOCrk4mJsRMJCQATi8oAJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OL5wZRR2OJ5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1EE2oUVIEJE+g8c7AAPHKwCiB9mPEWdBB2N+9wITBbANlwDI/+eAQJQTBcANlwDI/+eAgJMTBeAOlwDI/+eAwJKBNr23I6AHAJEHbb3JRyMT8QJ9twPHGwDRRmPn5gKFRmPm5gABTBME8A+dqHkXE3f3D8lG4+jm/rd2yz8KB5OGxro2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj7uYIt3bLPwoHk4aGvzaXGEMChxMHQAJjmucQAtQdRAFFlwDI/+eAIIoBRYE8TTxFPKFFSBB9FEk0ffABTAFEE3X0DyU8E3X8Dw08UTzjEQTsg8cbAElHY2X3MAlH43n36vUXk/f3Dz1H42P36jd3yz+KBxMHh8C6l5xDgocFRJ3rcBCBRQFFlwDI/+eAQIkd4dFFaBAVNAFEMagFRIHvlwDI/+eAwI0zNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X3mTll9cFsIpz9HH19MwWMQF3cs3eVAZXjwWwzBYxAY+aMAv18MwWMQF3QMYGXAMj/54Bgil35ZpT1tzGBlwDI/+eAYIld8WqU0bdBgZcAyP/ngKCIWfkzBJRBwbchR+OK5/ABTBMEAAw5t0FHzb9BRwVE453n9oOlywADpYsAVTK5v0FHBUTjk+f2A6cLAZFnY+jnHoOlSwEDpYsAMTGBt0FHBUTjlOf0g6cLARFnY2n3HAOnywCDpUsBA6WLADOE5wLdNiOsBAAjJIqwCb8DxwQAYwMHFAOniwDBFxMEAAxjE/cAwEgBR5MG8A5jRvcCg8dbAAPHSwABTKIH2Y8Dx2sAQgddj4PHewDiB9mP44T25hMEEAyFtTOG6wADRoYBBQexjuG3g8cEAP3H3ERjnQcUwEgjgAQAVb1hR2OW5wKDp8sBA6eLAYOmSwEDpgsBg6XLAAOliwCX8Mf/54BgeSqMMzSgAAG9AUwFRCm1EUcFROOd5+a3lwBgtENld30XBWb5jtGOA6WLALTDtEeBRfmO0Y60x/RD+Y7RjvTD1F91j1GP2N+X8Mf/54BAdwW1E/f3AOMXB+qT3EcAE4SLAAFMfV3jd5zbSESX8Mf/54DAYRhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHtbVBRwVE45rn3oOniwADp0sBIyT5ACMi6QDJs4MlSQDBF5Hlic8BTBMEYAyhuwMniQBjZvcGE/c3AOMbB+IDKIkAAUYBRzMF6ECzhuUAY2n3AOMHBtIjJKkAIyLZAA2zM4brABBOEQeQwgVG6b8hRwVE45Tn2AMkiQAZwBMEgAwjJAkAIyIJADM0gAC9swFMEwQgDMW5AUwTBIAM5bEBTBMEkAzFsRMHIA1jg+cMEwdADeOR57oDxDsAg8crACIEXYyX8Mf/54BgXwOsxABBFGNzhAEijOMPDLbAQGKUMYCcSGNV8ACcRGNa9Arv8I/hdd3IQGKGk4WLAZfwx//ngGBbAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwx//ngEBaFb4JZRMFBXEDrMsAA6SLAJfwx//ngEBMtwcAYNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwx//ngOBMEwWAPpfwx//ngOBI3bSDpksBA6YLAYOlywADpYsA7/Av98G8g8U7AIPHKwAThYsBogXdjcEVqTptvO/w79qBtwPEOwCDxysAE4yLASIEXYzcREEUxeORR4VLY/6HCJMHkAzcyHm0A6cNACLQBUizh+xAPtaDJ4qwY3P0AA1IQsY6xO/wb9YiRzJIN8XKP+KFfBCThsoAEBATBUUCl/DH/+eA4Ek398o/kwjHAIJXA6eIsIOlDQAdjB2PPpyyVyOk6LCqi76VI6C9AJOHygCdjQHFoWdjlvUAWoVdOCOgbQEJxNxEmcPjQHD5Y98LAJMHcAyFv4VLt33LP7fMyj+TjY26k4zMAOm/45ULntxE44IHnpMHgAyxt4OniwDjmwecAUWX8Mf/54DAOQllEwUFcZfwx//ngCA2l/DH/+eA4DlNugOkywDjBgSaAUWX8Mf/54AgNxMFgD6X8Mf/54CgMwKUQbr2UGZU1lRGWbZZJlqWWgZb9ktmTNZMRk22TQlhgoA=",F=1077411840,R="DEDKP+AIOEAsCThAhAk4QFIKOEC+CjhAbAo4QKgHOEAOCjhATgo4QJgJOEBYBzhAzAk4QFgHOEC6CDhA/gg4QCwJOECECThAzAg4QBIIOEBCCDhAyAg4QBYNOEAsCThA1gs4QMoMOECkBjhA9Aw4QKQGOECkBjhApAY4QKQGOECkBjhApAY4QKQGOECkBjhAcgs4QKQGOEDyCzhAygw4QA==",n=1070295976,D=1070219264,w={entry:h,text:g,text_start:F,data:R,data_start:n,bss_start:D};class O extends M{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C2",this.IMAGE_CHIP_ID=12,this.EFUSE_BASE=1610647552,this.MAC_EFUSE_REG=this.EFUSE_BASE+64,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.XTAL_CLK_DIVIDER=1,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=w.text_start,this.ENTRY=w.entry,this.DATA_START=w.data_start,this.ROM_DATA=w.data,this.ROM_TEXT=w.text}async getPkgVersion(t){const A=this.EFUSE_BASE+64+4*1;return await t.readReg(A)>>22&7}async getChipRevision(t){const E=this.EFUSE_BASE+64,B=1,A=20,s=E+4*B;return(await t.readReg(s)&3<>A}async getChipDescription(t){let E;const B=await this.getPkgVersion(t);B===0||B===1?E="ESP32-C2":E="unknown ESP32-C2";const A=await this.getChipRevision(t);return E+=" (revision "+A+")",E}async getChipFeatures(t){return["Wi-Fi","BLE"]}async getCrystalFreq(t){const E=await t.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,B=t.transport.baudrate*E/1e6/this.XTAL_CLK_DIVIDER;let A;return B>33?A=40:A=26,Math.abs(A-B)>1&&t.info("WARNING: Unsupported crystal in use"),A}async changeBaudRate(t){await this.getCrystalFreq(t)===26&&t.changeBaud()}_d2h(t){const E=(+t).toString(16);return E.length===1?"0"+E:E}async readMac(t){let E=await t.readReg(this.MAC_EFUSE_REG);E=E>>>0;let B=await t.readReg(this.MAC_EFUSE_REG+4);B=B>>>0&65535;const A=new Uint8Array(6);return A[0]=B>>8&255,A[1]=B&255,A[2]=E>>24&255,A[3]=E>>16&255,A[4]=E>>8&255,A[5]=E&255,this._d2h(A[0])+":"+this._d2h(A[1])+":"+this._d2h(A[2])+":"+this._d2h(A[3])+":"+this._d2h(A[4])+":"+this._d2h(A[5])}getEraseSize(t,E){return E}}export{O as ESP32C2ROM}; +import{ESP32C3ROM as M}from"./esp32c3-BDV5-qos.js";import"./rom-Caghk6Eh.js";const h=1077413304,g="ARG3BwBgTsaDqYcASsg3Sco/JspSxAbOIsy3BABgfVoTCQkAwEwTdPQ/DeDyQGJEI6g0AUJJ0kSySSJKBWGCgIhAgycJABN19Q+Cl30U4xlE/8m/EwcADJRBqodjGOUAhUeFxiOgBQB5VYKABUdjh+YACUZjjcYAfVWCgEIFEwewDUGFY5XnAolHnMH1t5MGwA1jFtUAmMETBQAMgoCTBtANfVVjldcAmMETBbANgoC3dcs/QRGThQW6BsZhP2NFBQa3d8s/k4eHsQOnBwgD1kcIE3X1D5MGFgDCBsGCI5LXCDKXIwCnAAPXRwiRZ5OHBwRjHvcCN/fKPxMHh7GhZ7qXA6YHCLc2yz+3d8s/k4eHsZOGhrVjH+YAI6bHCCOg1wgjkgcIIaD5V+MG9fyyQEEBgoAjptcII6DnCN23NycAYHxLnYv1/zc3AGB8S52L9f+CgEERBsbdN7cnAGAjpgcCNwcACJjDmEN9/8hXskATRfX/BYlBAYKAQREGxtk/fd03BwBAtycAYJjDNycAYBxD/f+yQEEBgoBBESLEN8TKP5MHxABKwAOpBwEGxibCYwoJBEU3OcW9RxMExACBRGPWJwEERL2Ik7QUAH03hT8cRDcGgAATl8cAmeA3BgABt/b/AHWPtyYAYNjCkMKYQn3/QUeR4AVHMwnpQLqXIygkARzEskAiRJJEAklBAYKAQREGxhMHAAxjEOUCEwWwDZcAyP/ngIDjEwXADbJAQQEXA8j/ZwCD4hMHsA3jGOX+lwDI/+eAgOETBdANxbdBESLEJsIGxiqEswS1AGMXlACyQCJEkkRBAYKAA0UEAAUERTfttxMFAAwXA8j/ZwAD3nVxJsPO3v10hWn9cpOEhPqThwkHIsVKwdLc1tqmlwbHFpGzhCcAKokmhS6ElzDI/+eAgJOThwkHBWqKl7OKR0Ep5AVnfXUTBIX5kwcHB6KXM4QnABMFhfqTBwcHqpeihTOFJwCXMMj/54CAkCKFwUW5PwFFhWIWkbpAKkSaRApJ9llmWtZaSWGCgKKJY3OKAIVpTobWhUqFlwDI/+eAQOITdfUPAe1OhtaFJoWXMMj/54DAi06ZMwQ0QVm3EwUwBlW/cXH9ck7PUs1Wy17HBtci1SbTStFayWLFZsNqwe7eqokWkRMFAAIuirKKtosCwpcAyP/ngEBIhWdj7FcRhWR9dBMEhPqThwQHopczhCcAIoWXMMj/54AghX17Eww7+ZMMi/kThwQHk4cEB2KX5pcBSTMMJwCzjCcAEk1je00JY3GpA3mgfTWmhYgYSTVdNSaGjBgihZcwyP/ngCCBppkmmWN1SQOzB6lBY/F3A7MEKkFj85oA1oQmhowYToWXAMj/54Dg0xN19Q9V3QLEgUR5XY1NowEBAGKFlwDI/+eAYMR9+QNFMQDmhS0xY04FAOPinf6FZ5OHBweml4qX2pcjiqf4hQT5t+MWpf2RR+OG9PYFZ311kwcHBxMEhfmilzOEJwATBYX6kwcHB6qXM4UnAKKFlyDI/+eAgHflOyKFwUXxM8U7EwUAApcAyP/ngOA2hWIWkbpQKlSaVApZ+klqStpKSku6SypMmkwKTfZdTWGCgAERBs4izFExNwTOP2wAEwVE/5cAyP/ngKDKqocFRZXnskeT9wcgPsZ5OTcnAGAcR7cGQAATBUT/1Y8cx7JFlwDI/+eAIMgzNaAA8kBiRAVhgoBBEbfHyj8GxpOHxwAFRyOA5wAT18UAmMcFZ30XzMPIx/mNOpWqlbGBjMsjqgcAQTcZwRMFUAyyQEEBgoABESLMN8TKP5MHxAAmysRHTsYGzkrIqokTBMQAY/OVAK6EqcADKUQAJpkTWckAHEhjVfAAHERjXvkC4T593UhAJobOhZcAyP/ngCC7E3X1DwHFkwdADFzIXECml1zAXESFj1zE8kBiRNJEQkmySQVhgoDdNm2/t1dBSRlxk4f3hAFFPs6G3qLcptrK2M7W0tTW0trQ3s7izObK6sjuxpcAyP/ngICtt0fKPzd3yz+ThwcAEweHumPg5xSlOZFFaAixMYU5t/fKP5OHh7EhZz6XIyD3CLcFOEC3BzhAAUaThwcLk4UFADdJyj8VRSMg+QCXAMj/54DgGzcHAGBcRxMFAAK3xMo/k+cXEFzHlwDI/+eAoBq3RwBgiF+BRbd5yz9xiWEVEzUVAJcAyP/ngOCwwWf9FxMHABCFZkFmtwUAAQFFk4TEALdKyj8NapcAyP/ngOCrk4mJsRMJCQATi8oAJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OL5wZRR2OJ5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1EE2oUVIEJE+g8c7AAPHKwCiB9mPEWdBB2N+9wITBbANlwDI/+eAQJQTBcANlwDI/+eAgJMTBeAOlwDI/+eAwJKBNr23I6AHAJEHbb3JRyMT8QJ9twPHGwDRRmPn5gKFRmPm5gABTBME8A+dqHkXE3f3D8lG4+jm/rd2yz8KB5OGxro2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj7uYIt3bLPwoHk4aGvzaXGEMChxMHQAJjmucQAtQdRAFFlwDI/+eAIIoBRYE8TTxFPKFFSBB9FEk0ffABTAFEE3X0DyU8E3X8Dw08UTzjEQTsg8cbAElHY2X3MAlH43n36vUXk/f3Dz1H42P36jd3yz+KBxMHh8C6l5xDgocFRJ3rcBCBRQFFlwDI/+eAQIkd4dFFaBAVNAFEMagFRIHvlwDI/+eAwI0zNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X3mTll9cFsIpz9HH19MwWMQF3cs3eVAZXjwWwzBYxAY+aMAv18MwWMQF3QMYGXAMj/54Bgil35ZpT1tzGBlwDI/+eAYIld8WqU0bdBgZcAyP/ngKCIWfkzBJRBwbchR+OK5/ABTBMEAAw5t0FHzb9BRwVE453n9oOlywADpYsAVTK5v0FHBUTjk+f2A6cLAZFnY+jnHoOlSwEDpYsAMTGBt0FHBUTjlOf0g6cLARFnY2n3HAOnywCDpUsBA6WLADOE5wLdNiOsBAAjJIqwCb8DxwQAYwMHFAOniwDBFxMEAAxjE/cAwEgBR5MG8A5jRvcCg8dbAAPHSwABTKIH2Y8Dx2sAQgddj4PHewDiB9mP44T25hMEEAyFtTOG6wADRoYBBQexjuG3g8cEAP3H3ERjnQcUwEgjgAQAVb1hR2OW5wKDp8sBA6eLAYOmSwEDpgsBg6XLAAOliwCX8Mf/54BgeSqMMzSgAAG9AUwFRCm1EUcFROOd5+a3lwBgtENld30XBWb5jtGOA6WLALTDtEeBRfmO0Y60x/RD+Y7RjvTD1F91j1GP2N+X8Mf/54BAdwW1E/f3AOMXB+qT3EcAE4SLAAFMfV3jd5zbSESX8Mf/54DAYRhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHtbVBRwVE45rn3oOniwADp0sBIyT5ACMi6QDJs4MlSQDBF5Hlic8BTBMEYAyhuwMniQBjZvcGE/c3AOMbB+IDKIkAAUYBRzMF6ECzhuUAY2n3AOMHBtIjJKkAIyLZAA2zM4brABBOEQeQwgVG6b8hRwVE45Tn2AMkiQAZwBMEgAwjJAkAIyIJADM0gAC9swFMEwQgDMW5AUwTBIAM5bEBTBMEkAzFsRMHIA1jg+cMEwdADeOR57oDxDsAg8crACIEXYyX8Mf/54BgXwOsxABBFGNzhAEijOMPDLbAQGKUMYCcSGNV8ACcRGNa9Arv8I/hdd3IQGKGk4WLAZfwx//ngGBbAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwx//ngEBaFb4JZRMFBXEDrMsAA6SLAJfwx//ngEBMtwcAYNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwx//ngOBMEwWAPpfwx//ngOBI3bSDpksBA6YLAYOlywADpYsA7/Av98G8g8U7AIPHKwAThYsBogXdjcEVqTptvO/w79qBtwPEOwCDxysAE4yLASIEXYzcREEUxeORR4VLY/6HCJMHkAzcyHm0A6cNACLQBUizh+xAPtaDJ4qwY3P0AA1IQsY6xO/wb9YiRzJIN8XKP+KFfBCThsoAEBATBUUCl/DH/+eA4Ek398o/kwjHAIJXA6eIsIOlDQAdjB2PPpyyVyOk6LCqi76VI6C9AJOHygCdjQHFoWdjlvUAWoVdOCOgbQEJxNxEmcPjQHD5Y98LAJMHcAyFv4VLt33LP7fMyj+TjY26k4zMAOm/45ULntxE44IHnpMHgAyxt4OniwDjmwecAUWX8Mf/54DAOQllEwUFcZfwx//ngCA2l/DH/+eA4DlNugOkywDjBgSaAUWX8Mf/54AgNxMFgD6X8Mf/54CgMwKUQbr2UGZU1lRGWbZZJlqWWgZb9ktmTNZMRk22TQlhgoA=",F=1077411840,R="DEDKP+AIOEAsCThAhAk4QFIKOEC+CjhAbAo4QKgHOEAOCjhATgo4QJgJOEBYBzhAzAk4QFgHOEC6CDhA/gg4QCwJOECECThAzAg4QBIIOEBCCDhAyAg4QBYNOEAsCThA1gs4QMoMOECkBjhA9Aw4QKQGOECkBjhApAY4QKQGOECkBjhApAY4QKQGOECkBjhAcgs4QKQGOEDyCzhAygw4QA==",D=1070295976,w={entry:h,text:g,text_start:F,data:R,data_start:D};class O extends M{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C2",this.IMAGE_CHIP_ID=12,this.EFUSE_BASE=1610647552,this.MAC_EFUSE_REG=this.EFUSE_BASE+64,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.XTAL_CLK_DIVIDER=1,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=w.text_start,this.ENTRY=w.entry,this.DATA_START=w.data_start,this.ROM_DATA=w.data,this.ROM_TEXT=w.text}async getPkgVersion(t){const A=this.EFUSE_BASE+64+4*1;return await t.readReg(A)>>22&7}async getChipRevision(t){const E=this.EFUSE_BASE+64,B=1,A=20,s=E+4*B;return(await t.readReg(s)&3<>A}async getChipDescription(t){let E;const B=await this.getPkgVersion(t);B===0||B===1?E="ESP32-C2":E="unknown ESP32-C2";const A=await this.getChipRevision(t);return E+=" (revision "+A+")",E}async getChipFeatures(t){return["Wi-Fi","BLE"]}async getCrystalFreq(t){const E=await t.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,B=t.transport.baudrate*E/1e6/this.XTAL_CLK_DIVIDER;let A;return B>33?A=40:A=26,Math.abs(A-B)>1&&t.info("WARNING: Unsupported crystal in use"),A}async changeBaudRate(t){await this.getCrystalFreq(t)===26&&t.changeBaud()}_d2h(t){const E=(+t).toString(16);return E.length===1?"0"+E:E}async readMac(t){let E=await t.readReg(this.MAC_EFUSE_REG);E=E>>>0;let B=await t.readReg(this.MAC_EFUSE_REG+4);B=B>>>0&65535;const A=new Uint8Array(6);return A[0]=B>>8&255,A[1]=B&255,A[2]=E>>24&255,A[3]=E>>16&255,A[4]=E>>8&255,A[5]=E&255,this._d2h(A[0])+":"+this._d2h(A[1])+":"+this._d2h(A[2])+":"+this._d2h(A[3])+":"+this._d2h(A[4])+":"+this._d2h(A[5])}getEraseSize(t,E){return E}}export{O as ESP32C2ROM}; diff --git a/contrib/data/www/web/assets/esp32c3-I3vXmsVg.js b/contrib/data/www/web/assets/esp32c3-BDV5-qos.js similarity index 89% rename from contrib/data/www/web/assets/esp32c3-I3vXmsVg.js rename to contrib/data/www/web/assets/esp32c3-BDV5-qos.js index adbf6db2..e6d9bcc2 100644 --- a/contrib/data/www/web/assets/esp32c3-I3vXmsVg.js +++ b/contrib/data/www/web/assets/esp32c3-BDV5-qos.js @@ -1 +1 @@ -import{R as e}from"./rom-Caghk6Eh.js";const h=1077413532,n="QREixCbCBsa3NwRgEUc3RMg/2Mu3NARgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDdJyD8mylLEBs4izLcEAGB9WhMJCQDATBN09D8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLd1yT9BEZOFhboGxmE/Y0UFBrd3yT+ThweyA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI398g/EwcHsqFnupcDpgcItzbJP7d3yT+Thweyk4YGtmMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3JwBgfEudi/X/NzcAYHxLnYv1/4KAQREGxt03tycAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3JwBgmMM3JwBgHEP9/7JAQQGCgEERIsQ3RMg/kwdEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwREAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3JgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAMj/54Ag8KqHBUWV57JHk/cHID7GiTc3JwBgHEe3BkAAEwVE/9WPHMeyRZcAyP/ngKDtMzWgAPJAYkQFYYKAQRG3R8g/BsaTh0cBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDdEyD+TB0QBJsrER07GBs5KyKqJEwREAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAMj/54Ag4RN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAMj/54AA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcdyTdHyD8TBwcAXEONxxBHHcK3BgxgmEYNinGbUY+YxgVmuE4TBgbA8Y99dhMG9j9xj9mPvM6yQEEBgoBBEQbGeT8RwQ1FskBBARcDyP9nAIPMQREGxpcAyP/ngEDKQTcBxbJAQQHZv7JAQQGCgEERBsYTBwAMYxrlABMFsA3RPxMFwA2yQEEB6bcTB7AN4xvl/sE3EwXQDfW3QREixCbCBsYqhLMEtQBjF5QAskAiRJJEQQGCgANFBAAFBE0/7bc1cSbLTsf9coVp/XQizUrJUsVWwwbPk4SE+haRk4cJB6aXGAizhOcAKokmhS6ElwDI/+eAgBuThwkHGAgFarqXs4pHQTHkBWd9dZMFhfqTBwcHEwWF+RQIqpczhdcAkwcHB66Xs4XXACrGlwDI/+eAQBgyRcFFlTcBRYViFpH6QGpE2kRKSbpJKkqaSg1hgoCiiWNzigCFaU6G1oVKhZcAyP/ngEDGE3X1DwHtTobWhSaFlwDI/+eAgBNOmTMENEFRtxMFMAZVvxMFAAzZtTFx/XIFZ07XUtVW017PBt8i3SbbStla0WLNZstqyW7H/XcWkRMHBwc+lxwIupc+xiOqB/iqiS6Ksoq2ixE9kwcAAhnBtwcCAD6FlwDI/+eAIAyFZ2PlVxMFZH15EwmJ+pMHBAfKlxgIM4nnAEqFlwDI/+eAoAp9exMMO/mTDIv5EwcEB5MHBAcUCGKX5peBRDMM1wCzjNcAUk1jfE0JY/GkA0GomT+ihQgBjTW5NyKGDAFKhZcAyP/ngIAGopmilGP1RAOzh6RBY/F3AzMEmkBj84oAVoQihgwBToWXAMj/54CAtRN19Q9V3QLMAUR5XY1NowkBAGKFlwDI/+eAwKd9+QNFMQHmhWE0Y08FAOPijf6FZ5OHBweilxgIupfalyOKp/gFBPG34xWl/ZFH4wX09gVnfXWTBwcHkwWF+hMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAyP/ngKD8cT0yRcFFZTNRPeUxtwcCABnhkwcAAj6FlwDI/+eAoPmFYhaR+lBqVNpUSlm6WSpamloKW/pLakzaTEpNuk0pYYKAt1dBSRlxk4f3hAFFht6i3KbaytjO1tLU1tLa0N7O4szmyurI7sY+zpcAyP/ngICfQTENzbcEDGCcRDdEyD8TBAQAHMS8TH13Ewf3P1zA+Y+T5wdAvMwTBUAGlwDI/+eAoJUcRPGbk+cXAJzEkTEhwbeHAGA3R9hQk4aHChMHF6qYwhOHBwkjIAcANzcdjyOgBgATB6cSk4YHC5jCk4fHCphDNwYAgFGPmMMjoAYAt0fIPzd3yT+ThwcAEwcHuyGgI6AHAJEH4+3n/kE7kUVoCHE5YTO398g/k4cHsiFnPpcjIPcItwc4QDdJyD+Th4cOIyD5ALd5yT9lPhMJCQCTiQmyYwsFELcnDGBFR7jXhUVFRZcAyP/ngCDjtwU4QAFGk4UFAEVFlwDI/+eAIOQ3NwRgHEs3BQIAk+dHABzLlwDI/+eAIOOXAMj/54Cg87dHAGCcXwnl8YvhFxO1FwCBRZcAyP/ngICWwWe3RMg//RcTBwAQhWZBZrcFAAEBRZOERAENard6yD+XAMj/54AAkSaaE4sKsoOnyQj134OryQiFRyOmCQgjAvECg8cbAAlHIxPhAqMC8QIC1E1HY4HnCFFHY4/nBilHY5/nAIPHOwADxysAogfZjxFHY5bnAIOniwCcQz7UlTmhRUgQQTaDxzsAA8crAKIH2Y8RZ0EHY3T3BBMFsA05PhMFwA0hPhMF4A4JPpkxQbe3BThAAUaThYUDFUWXAMj/54BA1DcHAGBcRxMFAAKT5xcQXMcJt8lHIxPxAk23A8cbANFGY+fmAoVGY+bmAAFMEwTwD4WoeRcTd/cPyUbj6Ob+t3bJPwoHk4ZGuzaXGEMCh5MGBwOT9vYPEUbjadb8Ewf3AhN39w+NRmPr5gi3dsk/CgeThgbANpcYQwKHEwdAAmOY5xAC1B1EAUWFPAFFYTRFNnk+oUVIEH0UZTR19AFMAUQTdfQPhTwTdfwPrTRJNuMeBOqDxxsASUdjY/cuCUfjdvfq9ReT9/cPPUfjYPfqN3fJP4oHEwcHwbqXnEOChwVEnetwEIFFAUWXsMz/54CgAh3h0UVoEKk0AUQxqAVEge+X8Mf/54CAdTM0oAApoCFHY4XnAAVEAUxhtwOsiwADpMsAs2eMANIH9ffv8H+FffHBbCKc/Rx9fTMFjEBV3LN3lQGV48FsMwWMQGPmjAL9fDMFjEBV0DGBl/DH/+eAgHBV+WaU9bcxgZfwx//ngIBvVfFqlNG3QYGX8Mf/54BAblH5MwSUQcG3IUfjiefwAUwTBAAMMbdBR82/QUcFROOc5/aDpcsAA6WLAHU6sb9BRwVE45Ln9gOnCwGRZ2Pl5xyDpUsBA6WLAO/wv4A1v0FHBUTjkuf0g6cLARFnY2X3GgOnywCDpUsBA6WLADOE5wLv8C/+I6wEACMkirAxtwPHBABjDgcQA6eLAMEXEwQADGMT9wDASAFHkwbwDmNG9wKDx1sAA8dLAAFMogfZjwPHawBCB12Pg8d7AOIH2Y/jgfbmEwQQDKm9M4brAANGhgEFB7GO4beDxwQA8cPcRGOYBxLASCOABAB9tWFHY5bnAoOnywEDp4sBg6ZLAQOmCwGDpcsAA6WLAJfwx//ngEBeKowzNKAAKbUBTAVEEbURRwVE45rn5gOliwCBRZfwx//ngABfkbUT9/cA4xoH7JPcRwAThIsAAUx9XeN5nN1IRJfwx//ngIBLGERUQBBA+Y5jB6cBHEITR/f/fY/ZjhTCBQxBBNm/EUdJvUFHBUTjnOfgg6eLAAOnSwEjKPkAIybpAN2zgyXJAMEXkeWJzwFMEwRgDLW7AycJAWNm9wYT9zcA4x4H5AMoCQEBRgFHMwXoQLOG5QBjafcA4wkG1CMoqQAjJtkAmbMzhusAEE4RB5DCBUbpvyFHBUTjlufaAyQJARnAEwSADCMoCQAjJgkAMzSAAEm7AUwTBCAMEbsBTBMEgAwxswFMEwSQDBGzEwcgDWOD5wwTB0AN45DnvAPEOwCDxysAIgRdjJfwx//ngGBJA6zEAEEUY3OEASKM4w4MuMBAYpQxgJxIY1XwAJxEY1v0Cu/wD8513chAYoaThYsBl/DH/+eAYEUBxZMHQAzcyNxA4pfcwNxEs4eHQdzEl/DH/+eAQESJvgllEwUFcQOsywADpIsAl/DH/+eAADa3BwBg2Eu3BgABwRaTV0cBEgd1j72L2Y+zh4cDAUWz1YcCl/DH/+eA4DYTBYA+l/DH/+eAoDIRtoOmSwEDpgsBg6XLAAOliwDv8M/7/bSDxTsAg8crABOFiwGiBd2NwRXv8O/X2bzv8E/HPb+DxzsAA8crABOMiwGiB9mPE40H/wVEt3vJP9xEYwUNAJnDY0yAAGNQBAoTB3AM2MjjnweokweQDGGok4cLu5hDt/fIP5OHB7KZjz7WgyeKsLd8yD9q0JOMTAGTjQu7BUhjc/0ADUhCxjrE7/BPwCJHMkg3Rcg/4oV8EJOGCrIQEBMFxQKX8Mf/54DAMIJXA6eMsIOlDQAzDf1AHY8+nLJXI6TssCqEvpUjoL0Ak4cKsp2NAcWhZ+OS9fZahe/wb8sjoG0Bmb8t9OODB6CTB4AM3Mj1uoOniwDjmwee7/Cv1gllEwUFcZfwx//ngGAg7/Bv0Zfwx//ngKAj0boDpMsA4wcEnO/wL9QTBYA+l/DH/+eAAB7v8A/PApRVuu/wj872UGZU1lRGWbZZJlqWWgZb9ktmTNZMRk22TQlhgoAAAA==",M=1077411840,F="IGvIP3YKOEDGCjhAHgs4QMILOEAuDDhA3As4QEIJOEB+CzhAvgs4QDILOEDyCDhAZgs4QPIIOEBQCjhAlgo4QMYKOEAeCzhAYgo4QKYJOEDWCThAXgo4QIAOOEDGCjhARg04QDgOOEAyCDhAYA44QDIIOEAyCDhAMgg4QDIIOEAyCDhAMgg4QDIIOEAyCDhA4gw4QDIIOEBkDThAOA44QA==",o=1070164912,w={entry:h,text:n,text_start:M,data:F,data_start:o};class a extends e{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C3",this.IMAGE_CHIP_ID=5,this.EFUSE_BASE=1610647552,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=w.text_start,this.ENTRY=w.entry,this.DATA_START=w.data_start,this.ROM_DATA=w.data,this.ROM_TEXT=w.text}async getPkgVersion(B){const E=this.EFUSE_BASE+68+4*3;return await B.readReg(E)>>21&7}async getChipRevision(B){const A=this.EFUSE_BASE+68,s=3,E=18,c=A+4*s;return(await B.readReg(c)&7<>E}async getChipDescription(B){let A;await this.getPkgVersion(B)===0?A="ESP32-C3":A="unknown ESP32-C3";const E=await this.getChipRevision(B);return A+=" (revision "+E+")",A}async getFlashCap(B){const E=this.EFUSE_BASE+68+4*3;return await B.readReg(E)>>27&7}async getFlashVendor(B){const E=this.EFUSE_BASE+68+4*4,t=await B.readReg(E)>>0&7;return{1:"XMC",2:"GD",3:"FM",4:"TT",5:"ZBIT"}[t]||""}async getChipFeatures(B){const A=["Wi-Fi","BLE"],s={0:null,1:"Embedded Flash 4MB",2:"Embedded Flash 2MB",3:"Embedded Flash 1MB",4:"Embedded Flash 8MB"},E=await this.getFlashCap(B),c=await this.getFlashVendor(B),t=s[E],g=t!==void 0?t:"Unknown Embedded Flash";return t!==null&&A.push(`${g} (${c})`),A}async getCrystalFreq(B){return 40}_d2h(B){const A=(+B).toString(16);return A.length===1?"0"+A:A}async readMac(B){let A=await B.readReg(this.MAC_EFUSE_REG);A=A>>>0;let s=await B.readReg(this.MAC_EFUSE_REG+4);s=s>>>0&65535;const E=new Uint8Array(6);return E[0]=s>>8&255,E[1]=s&255,E[2]=A>>24&255,E[3]=A>>16&255,E[4]=A>>8&255,E[5]=A&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}getEraseSize(B,A){return A}}export{a as ESP32C3ROM}; +import{R as e}from"./rom-Caghk6Eh.js";const h=1077413532,n="QREixCbCBsa3NwRgEUc3RMg/2Mu3NARgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDdJyD8mylLEBs4izLcEAGB9WhMJCQDATBN09D8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLd1yT9BEZOFhboGxmE/Y0UFBrd3yT+ThweyA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI398g/EwcHsqFnupcDpgcItzbJP7d3yT+Thweyk4YGtmMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3JwBgfEudi/X/NzcAYHxLnYv1/4KAQREGxt03tycAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3JwBgmMM3JwBgHEP9/7JAQQGCgEERIsQ3RMg/kwdEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwREAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3JgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAMj/54Ag8KqHBUWV57JHk/cHID7GiTc3JwBgHEe3BkAAEwVE/9WPHMeyRZcAyP/ngKDtMzWgAPJAYkQFYYKAQRG3R8g/BsaTh0cBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDdEyD+TB0QBJsrER07GBs5KyKqJEwREAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAMj/54Ag4RN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAMj/54AA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcdyTdHyD8TBwcAXEONxxBHHcK3BgxgmEYNinGbUY+YxgVmuE4TBgbA8Y99dhMG9j9xj9mPvM6yQEEBgoBBEQbGeT8RwQ1FskBBARcDyP9nAIPMQREGxpcAyP/ngEDKQTcBxbJAQQHZv7JAQQGCgEERBsYTBwAMYxrlABMFsA3RPxMFwA2yQEEB6bcTB7AN4xvl/sE3EwXQDfW3QREixCbCBsYqhLMEtQBjF5QAskAiRJJEQQGCgANFBAAFBE0/7bc1cSbLTsf9coVp/XQizUrJUsVWwwbPk4SE+haRk4cJB6aXGAizhOcAKokmhS6ElwDI/+eAgBuThwkHGAgFarqXs4pHQTHkBWd9dZMFhfqTBwcHEwWF+RQIqpczhdcAkwcHB66Xs4XXACrGlwDI/+eAQBgyRcFFlTcBRYViFpH6QGpE2kRKSbpJKkqaSg1hgoCiiWNzigCFaU6G1oVKhZcAyP/ngEDGE3X1DwHtTobWhSaFlwDI/+eAgBNOmTMENEFRtxMFMAZVvxMFAAzZtTFx/XIFZ07XUtVW017PBt8i3SbbStla0WLNZstqyW7H/XcWkRMHBwc+lxwIupc+xiOqB/iqiS6Ksoq2ixE9kwcAAhnBtwcCAD6FlwDI/+eAIAyFZ2PlVxMFZH15EwmJ+pMHBAfKlxgIM4nnAEqFlwDI/+eAoAp9exMMO/mTDIv5EwcEB5MHBAcUCGKX5peBRDMM1wCzjNcAUk1jfE0JY/GkA0GomT+ihQgBjTW5NyKGDAFKhZcAyP/ngIAGopmilGP1RAOzh6RBY/F3AzMEmkBj84oAVoQihgwBToWXAMj/54CAtRN19Q9V3QLMAUR5XY1NowkBAGKFlwDI/+eAwKd9+QNFMQHmhWE0Y08FAOPijf6FZ5OHBweilxgIupfalyOKp/gFBPG34xWl/ZFH4wX09gVnfXWTBwcHkwWF+hMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAyP/ngKD8cT0yRcFFZTNRPeUxtwcCABnhkwcAAj6FlwDI/+eAoPmFYhaR+lBqVNpUSlm6WSpamloKW/pLakzaTEpNuk0pYYKAt1dBSRlxk4f3hAFFht6i3KbaytjO1tLU1tLa0N7O4szmyurI7sY+zpcAyP/ngICfQTENzbcEDGCcRDdEyD8TBAQAHMS8TH13Ewf3P1zA+Y+T5wdAvMwTBUAGlwDI/+eAoJUcRPGbk+cXAJzEkTEhwbeHAGA3R9hQk4aHChMHF6qYwhOHBwkjIAcANzcdjyOgBgATB6cSk4YHC5jCk4fHCphDNwYAgFGPmMMjoAYAt0fIPzd3yT+ThwcAEwcHuyGgI6AHAJEH4+3n/kE7kUVoCHE5YTO398g/k4cHsiFnPpcjIPcItwc4QDdJyD+Th4cOIyD5ALd5yT9lPhMJCQCTiQmyYwsFELcnDGBFR7jXhUVFRZcAyP/ngCDjtwU4QAFGk4UFAEVFlwDI/+eAIOQ3NwRgHEs3BQIAk+dHABzLlwDI/+eAIOOXAMj/54Cg87dHAGCcXwnl8YvhFxO1FwCBRZcAyP/ngICWwWe3RMg//RcTBwAQhWZBZrcFAAEBRZOERAENard6yD+XAMj/54AAkSaaE4sKsoOnyQj134OryQiFRyOmCQgjAvECg8cbAAlHIxPhAqMC8QIC1E1HY4HnCFFHY4/nBilHY5/nAIPHOwADxysAogfZjxFHY5bnAIOniwCcQz7UlTmhRUgQQTaDxzsAA8crAKIH2Y8RZ0EHY3T3BBMFsA05PhMFwA0hPhMF4A4JPpkxQbe3BThAAUaThYUDFUWXAMj/54BA1DcHAGBcRxMFAAKT5xcQXMcJt8lHIxPxAk23A8cbANFGY+fmAoVGY+bmAAFMEwTwD4WoeRcTd/cPyUbj6Ob+t3bJPwoHk4ZGuzaXGEMCh5MGBwOT9vYPEUbjadb8Ewf3AhN39w+NRmPr5gi3dsk/CgeThgbANpcYQwKHEwdAAmOY5xAC1B1EAUWFPAFFYTRFNnk+oUVIEH0UZTR19AFMAUQTdfQPhTwTdfwPrTRJNuMeBOqDxxsASUdjY/cuCUfjdvfq9ReT9/cPPUfjYPfqN3fJP4oHEwcHwbqXnEOChwVEnetwEIFFAUWXsMz/54CgAh3h0UVoEKk0AUQxqAVEge+X8Mf/54CAdTM0oAApoCFHY4XnAAVEAUxhtwOsiwADpMsAs2eMANIH9ffv8H+FffHBbCKc/Rx9fTMFjEBV3LN3lQGV48FsMwWMQGPmjAL9fDMFjEBV0DGBl/DH/+eAgHBV+WaU9bcxgZfwx//ngIBvVfFqlNG3QYGX8Mf/54BAblH5MwSUQcG3IUfjiefwAUwTBAAMMbdBR82/QUcFROOc5/aDpcsAA6WLAHU6sb9BRwVE45Ln9gOnCwGRZ2Pl5xyDpUsBA6WLAO/wv4A1v0FHBUTjkuf0g6cLARFnY2X3GgOnywCDpUsBA6WLADOE5wLv8C/+I6wEACMkirAxtwPHBABjDgcQA6eLAMEXEwQADGMT9wDASAFHkwbwDmNG9wKDx1sAA8dLAAFMogfZjwPHawBCB12Pg8d7AOIH2Y/jgfbmEwQQDKm9M4brAANGhgEFB7GO4beDxwQA8cPcRGOYBxLASCOABAB9tWFHY5bnAoOnywEDp4sBg6ZLAQOmCwGDpcsAA6WLAJfwx//ngEBeKowzNKAAKbUBTAVEEbURRwVE45rn5gOliwCBRZfwx//ngABfkbUT9/cA4xoH7JPcRwAThIsAAUx9XeN5nN1IRJfwx//ngIBLGERUQBBA+Y5jB6cBHEITR/f/fY/ZjhTCBQxBBNm/EUdJvUFHBUTjnOfgg6eLAAOnSwEjKPkAIybpAN2zgyXJAMEXkeWJzwFMEwRgDLW7AycJAWNm9wYT9zcA4x4H5AMoCQEBRgFHMwXoQLOG5QBjafcA4wkG1CMoqQAjJtkAmbMzhusAEE4RB5DCBUbpvyFHBUTjlufaAyQJARnAEwSADCMoCQAjJgkAMzSAAEm7AUwTBCAMEbsBTBMEgAwxswFMEwSQDBGzEwcgDWOD5wwTB0AN45DnvAPEOwCDxysAIgRdjJfwx//ngGBJA6zEAEEUY3OEASKM4w4MuMBAYpQxgJxIY1XwAJxEY1v0Cu/wD8513chAYoaThYsBl/DH/+eAYEUBxZMHQAzcyNxA4pfcwNxEs4eHQdzEl/DH/+eAQESJvgllEwUFcQOsywADpIsAl/DH/+eAADa3BwBg2Eu3BgABwRaTV0cBEgd1j72L2Y+zh4cDAUWz1YcCl/DH/+eA4DYTBYA+l/DH/+eAoDIRtoOmSwEDpgsBg6XLAAOliwDv8M/7/bSDxTsAg8crABOFiwGiBd2NwRXv8O/X2bzv8E/HPb+DxzsAA8crABOMiwGiB9mPE40H/wVEt3vJP9xEYwUNAJnDY0yAAGNQBAoTB3AM2MjjnweokweQDGGok4cLu5hDt/fIP5OHB7KZjz7WgyeKsLd8yD9q0JOMTAGTjQu7BUhjc/0ADUhCxjrE7/BPwCJHMkg3Rcg/4oV8EJOGCrIQEBMFxQKX8Mf/54DAMIJXA6eMsIOlDQAzDf1AHY8+nLJXI6TssCqEvpUjoL0Ak4cKsp2NAcWhZ+OS9fZahe/wb8sjoG0Bmb8t9OODB6CTB4AM3Mj1uoOniwDjmwee7/Cv1gllEwUFcZfwx//ngGAg7/Bv0Zfwx//ngKAj0boDpMsA4wcEnO/wL9QTBYA+l/DH/+eAAB7v8A/PApRVuu/wj872UGZU1lRGWbZZJlqWWgZb9ktmTNZMRk22TQlhgoAAAA==",M=1077411840,F="IGvIP3YKOEDGCjhAHgs4QMILOEAuDDhA3As4QEIJOEB+CzhAvgs4QDILOEDyCDhAZgs4QPIIOEBQCjhAlgo4QMYKOEAeCzhAYgo4QKYJOEDWCThAXgo4QIAOOEDGCjhARg04QDgOOEAyCDhAYA44QDIIOEAyCDhAMgg4QDIIOEAyCDhAMgg4QDIIOEAyCDhA4gw4QDIIOEBkDThAOA44QA==",o=1070164912,t={entry:h,text:n,text_start:M,data:F,data_start:o};class R extends e{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C3",this.IMAGE_CHIP_ID=5,this.EFUSE_BASE=1610647552,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=t.text_start,this.ENTRY=t.entry,this.DATA_START=t.data_start,this.ROM_DATA=t.data,this.ROM_TEXT=t.text}async getPkgVersion(B){const E=this.EFUSE_BASE+68+4*3;return await B.readReg(E)>>21&7}async getChipRevision(B){const A=this.EFUSE_BASE+68,s=3,E=18,w=A+4*s;return(await B.readReg(w)&7<>E}async getChipDescription(B){let A;await this.getPkgVersion(B)===0?A="ESP32-C3":A="unknown ESP32-C3";const E=await this.getChipRevision(B);return A+=" (revision "+E+")",A}async getFlashCap(B){const E=this.EFUSE_BASE+68+4*3;return await B.readReg(E)>>27&7}async getFlashVendor(B){const E=this.EFUSE_BASE+68+4*4,c=await B.readReg(E)>>0&7;return{1:"XMC",2:"GD",3:"FM",4:"TT",5:"ZBIT"}[c]||""}async getChipFeatures(B){const A=["Wi-Fi","BLE"],s={0:null,1:"Embedded Flash 4MB",2:"Embedded Flash 2MB",3:"Embedded Flash 1MB",4:"Embedded Flash 8MB"},E=await this.getFlashCap(B),w=await this.getFlashVendor(B),c=s[E],g=c!==void 0?c:"Unknown Embedded Flash";return c!==null&&A.push(`${g} (${w})`),A}async getCrystalFreq(B){return 40}_d2h(B){const A=(+B).toString(16);return A.length===1?"0"+A:A}async readMac(B){let A=await B.readReg(this.MAC_EFUSE_REG);A=A>>>0;let s=await B.readReg(this.MAC_EFUSE_REG+4);s=s>>>0&65535;const E=new Uint8Array(6);return E[0]=s>>8&255,E[1]=s&255,E[2]=A>>24&255,E[3]=A>>16&255,E[4]=A>>8&255,E[5]=A&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}getEraseSize(B,A){return A}}export{R as ESP32C3ROM}; diff --git a/contrib/data/www/web/assets/esp32c5-CAGCiNY4.js b/contrib/data/www/web/assets/esp32c5-Dz2aR_Ca.js similarity index 60% rename from contrib/data/www/web/assets/esp32c5-CAGCiNY4.js rename to contrib/data/www/web/assets/esp32c5-Dz2aR_Ca.js index 9c15ecba..32cbc245 100644 --- a/contrib/data/www/web/assets/esp32c5-CAGCiNY4.js +++ b/contrib/data/www/web/assets/esp32c5-Dz2aR_Ca.js @@ -1 +1 @@ -import{ESP32C6ROM as _}from"./esp32c6-C93uIFil.js";import"./rom-Caghk6Eh.js";const s=1082132164,g="QREixCbCBsa39wBgEUc3BIRA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDcJhEAmylLEBs4izLcEAGB9WhMJCQDATBN09D8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc1hUBBEZOFhboGxmE/Y0UFBrc3hUCThweyA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t4RAEwcHsqFnupcDpgcIt/aEQLc3hUCThweyk4YGtmMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3hIRAkwdEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwREAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAID/54Cg86qHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwVE/9WPHMeyRZcAgP/ngCDxMzWgAPJAYkQFYYKAQRG3h4RABsaTh0cBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDeEhECTB0QBJsrER07GBs5KyKqJEwREAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Ag5BN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54CA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbcHhECThwcA1EOZzjdnCWATB8cQHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxibCIsSqhJcAgP/ngKDJWTcNyTcHhECTBgcAg9eGABMEBwCFB8IHwYMjlPYAkwYADGOG1AATB+ADY3X3AG03IxQEALJAIkSSREEBgoBBEQbGEwcADGMa5QATBbANRTcTBcANskBBAVm/EwewDeMb5f5xNxMF0A31t0ERIsQmwgbGKoSzBLUAYxeUALJAIkSSREEBgoADRQQABQRNP+23NXEmy07H/XKFaf10Is1KyVLFVsMGz5OEhPoWkZOHCQemlxgIs4TnACqJJoUuhJcAgP/ngEAxk4cJBxgIBWq6l7OKR0Ex5AVnfXWTBYX6kwcHBxMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngAAuMkXBRZU3AUWFYhaR+kBqRNpESkm6SSpKmkoNYYKAooljc4oAhWlOhtaFSoWXAID/54DAxhN19Q8B7U6G1oUmhZcAgP/ngEApTpkzBDRBUbcTBTAGVb8TBQAMSb0xcf1yBWdO11LVVtNezwbfIt0m20rZWtFizWbLaslux/13FpETBwcHPpccCLqXPsYjqgf4qokuirKKtov1M5MHAAIZwbcHAgA+hZcAgP/ngCAghWdj5VcTBWR9eRMJifqTBwQHypcYCDOJ5wBKhZcAgP/ngGAgfXsTDDv5kwyL+RMHBAeTBwQHFAhil+aXgUQzDNcAs4zXAFJNY3xNCWPxpANBqJk/ooUIAY01uTcihgwBSoWXAID/54BAHKKZopRj9UQDs4ekQWPxdwMzBJpAY/OKAFaEIoYMAU6FlwCA/+eAALYTdfUPVd0CzAFEeV2NTaMJAQBihZcAgP/ngECkffkDRTEB5oWFNGNPBQDj4o3+hWeThwcHopcYCLqX2pcjiqf4BQTxt+MVpf2RR+MF9PYFZ311kwcHB5MFhfoTBYX5FAiqlzOF1wCTBwcHrpezhdcAKsaXAID/54BgEnE9MkXBRWUzUT3BMbcHAgAZ4ZMHAAI+hZcAgP/ngKANhWIWkfpQalTaVEpZulkqWppaClv6S2pM2kxKTbpNKWGCgLdXQUkZcZOH94QBRYbeotym2srYztbS1NbS2tDezuLM5srqyO7GPs6XAID/54DAnaE5Ec23Zwlgk4fHEJhDtwaEQCOi5gC3BgMAVY+Ywy05Bc23JwtgN0fYUJOGh8ETBxeqmMIThgfAIyAGACOgBgCThgfCmMKTh8fBmEM3BgQAUY+YwyOgBgC3B4RANzeFQJOHBwATBwe7IaAjoAcAkQfj7ef+XTuRRWgIyTF9M7e3hECThweyIWc+lyMg9wi3B4BANwmEQJOHhw4jIPkAtzmFQF0+EwkJAJOJCbJjBgUQtwcBYBMHEAIjqOcMhUVFRZcAgP/ngAD5twWAQAFGk4UFAEVFlwCA/+eAQPq39wBgEUeYyzcFAgCXAID/54CA+bcXCWCIX4FFt4SEQHGJYRUTNRUAlwCA/+eAgJ/BZ/0XEwcAEIVmQWa3BQABAUWThEQBtwqEQA1qlwCA/+eAQJUTi0oBJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OB5whRR2OP5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1FUxoUVIEEU+g8c7AAPHKwCiB9mPEWdBB2N09wQTBbANKT4TBcANET4TBeAOOTadOUG3twWAQAFGk4WFAxVFlwCA/+eAQOs3BwBgXEcTBQACk+cXEFzHMbfJRyMT8QJNtwPHGwDRRmPn5gKFRmPm5gABTBME8A+FqHkXE3f3D8lG4+jm/rc2hUAKB5OGRrs2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj6+YItzaFQAoHk4YGwDaXGEMChxMHQAJjmOcQAtQdRAFFtTQBRWU8wT75NqFFSBB9FOE8dfQBTAFEE3X0D0U0E3X8D2k8TT7jHgTqg8cbAElHY2j3MAlH43b36vUXk/f3Dz1H42D36jc3hUCKBxMHB8G6l5xDgocFRJ3rcBCBRQFFl/B//+eAgHEd4dFFaBCtPAFEMagFRIHvl/B//+eAQHczNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X37/D/hX3xwWwinP0cfX0zBYxAVdyzd5UBlePBbDMFjEBj5owC/XwzBYxAVdAxgZfwf//ngMBzVflmlPW3MYGX8H//54DAclXxapTRt0GBl/B//+eAAHJR+TMElEHBtyFH44nn8AFMEwQADDG3QUfNv0FHBUTjnOf2g6XLAAOliwD1MrG/QUcFROOS5/YDpwsBkWdj6uceg6VLAQOliwDv8D+BNb9BRwVE45Ln9IOnCwERZ2Nq9xwDp8sAg6VLAQOliwAzhOcC7/Cv/iOsBAAjJIqwMbcDxwQAYwMHFAOniwDBFxMEAAxjE/cAwEgBR5MG8A5jRvcCg8dbAAPHSwABTKIH2Y8Dx2sAQgddj4PHewDiB9mP44H25hMEEAypvTOG6wADRoYBBQexjuG3g8cEAP3H3ERjnQcUwEgjgAQAfbVhR2OW5wKDp8sBA6eLAYOmSwEDpgsBg6XLAAOliwCX8H//54CAYiqMMzSgACm1AUwFRBG1EUcFROOa5+a3lwBgtF9ld30XBWb5jtGOA6WLALTftFeBRfmO0Y601/Rf+Y7RjvTf9FN1j1GP+NOX8H//54CgZSm9E/f3AOMVB+qT3EcAE4SLAAFMfV3jdJzbSESX8H//54AgSBhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHpbVBRwVE45fn3oOniwADp0sBIyj5ACMm6QB1u4MlyQDBF5Hlic8BTBMEYAyJuwMnCQFjZvcGE/c3AOMZB+IDKAkBAUYBRzMF6ECzhuUAY2n3AOMEBtIjKKkAIybZADG7M4brABBOEQeQwgVG6b8hRwVE45Hn2AMkCQEZwBMEgAwjKAkAIyYJADM0gAClswFMEwQgDO2xAUwTBIAMzbEBTBMEkAzpuRMHIA1jg+cMEwdADeOb57gDxDsAg8crACIEXYyX8H//54CASAOsxABBFGNzhAEijOMJDLbAQGKUMYCcSGNV8ACcRGNb9Arv8O/Ldd3IQGKGk4WLAZfwf//ngIBEAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwf//ngGBDJbYJZRMFBXEDrMsAA6SLAJfwf//ngKAytwcAYNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwf//ngAA0EwWAPpfwf//ngEAv6byDpksBA6YLAYOlywADpYsA7/Av/NG0g8U7AIPHKwAThYsBogXdjcEV7/DP1XW07/AvxT2/A8Q7AIPHKwATjIsBIgRdjNxEQRTN45FHhUtj/4cIkweQDNzIQbQDpw0AItAFSLOH7EA+1oMnirBjc/QADUhCxjrE7/CvwCJHMkg3hYRA4oV8EJOGSgEQEBMFxQKX8H//54CgMTe3hECTCEcBglcDp4iwg6UNAB2MHY8+nLJXI6TosKqLvpUjoL0Ak4dKAZ2NAcWhZ2OX9QBahe/wb8sjoG0BCcTcRJnD409w92PfCwCTB3AMvbeFS7c9hUC3jIRAk40Nu5OMTAHpv+OdC5zcROOKB5yTB4AMqbeDp4sA45MHnO/wb9MJZRMFBXGX8H//54CgHO/w786X8H//54BgIVWyA6TLAOMPBJjv8O/QEwWAPpfwf//ngEAa7/CPzAKUUbLv8A/M9lBmVNZURlm2WSZalloGW/ZLZkzWTEZNtk0JYYKAAAA=",M=1082130432,c="FACEQG4KgEC+CoBAFguAQOQLgEBQDIBA/guAQDoJgECgC4BA4AuAQCoLgEDqCIBAXguAQOoIgEBICoBAjgqAQL4KgEAWC4BAWgqAQJ4JgEDOCYBAVgqAQKgOgEC+CoBAaA2AQGAOgEAqCIBAiA6AQCoIgEAqCIBAKgiAQCoIgEAqCIBAKgiAQCoIgEAqCIBABA2AQCoIgECGDYBAYA6AQA==",w=1082469296,T=1082392576,R={entry:s,text:g,text_start:M,data:c,data_start:w,bss_start:T};class h extends _{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C5",this.IMAGE_CHIP_ID=23,this.EFUSE_BASE=1611352064,this.EFUSE_BLOCK1_ADDR=this.EFUSE_BASE+68,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1610612756,this.TEXT_START=R.text_start,this.ENTRY=R.entry,this.DATA_START=R.data_start,this.ROM_DATA=R.data,this.ROM_TEXT=R.text,this.EFUSE_RD_REG_BASE=this.EFUSE_BASE+48,this.EFUSE_PURPOSE_KEY0_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY0_SHIFT=24,this.EFUSE_PURPOSE_KEY1_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY1_SHIFT=28,this.EFUSE_PURPOSE_KEY2_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY2_SHIFT=0,this.EFUSE_PURPOSE_KEY3_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY3_SHIFT=4,this.EFUSE_PURPOSE_KEY4_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY4_SHIFT=8,this.EFUSE_PURPOSE_KEY5_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY5_SHIFT=12,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_REG=this.EFUSE_RD_REG_BASE,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT=1<<20,this.EFUSE_SPI_BOOT_CRYPT_CNT_REG=this.EFUSE_BASE+52,this.EFUSE_SPI_BOOT_CRYPT_CNT_MASK=7<<18,this.EFUSE_SECURE_BOOT_EN_REG=this.EFUSE_BASE+56,this.EFUSE_SECURE_BOOT_EN_MASK=1<<20,this.IROM_MAP_START=1107296256,this.IROM_MAP_END=1115684864,this.DROM_MAP_START=1115684864,this.DROM_MAP_END=1124073472,this.PCR_SYSCLK_CONF_REG=1611227408,this.PCR_SYSCLK_XTAL_FREQ_V=127<<24,this.PCR_SYSCLK_XTAL_FREQ_S=24,this.XTAL_CLK_DIVIDER=1,this.UARTDEV_BUF_NO=1082520860,this.CHIP_DETECT_MAGIC_VALUE=[285294703],this.FLASH_FREQUENCY={"80m":15,"40m":0,"20m":2},this.MEMORY_MAP=[[0,65536,"PADDING"],[1115684864,1124073472,"DROM"],[1082130432,1082523648,"DRAM"],[1082130432,1082523648,"BYTE_ACCESSIBLE"],[1073979392,1074003968,"DROM_MASK"],[1073741824,1073979392,"IROM_MASK"],[1107296256,1115684864,"IROM"],[1082130432,1082523648,"IRAM"],[1342177280,1342193664,"RTC_IRAM"],[1342177280,1342193664,"RTC_DRAM"],[1611653120,1611661312,"MEM_INTERNAL2"]],this.UF2_FAMILY_ID=4145808195,this.EFUSE_MAX_KEY=5,this.KEY_PURPOSES={0:"USER/EMPTY",1:"ECDSA_KEY",2:"XTS_AES_256_KEY_1",3:"XTS_AES_256_KEY_2",4:"XTS_AES_128_KEY",5:"HMAC_DOWN_ALL",6:"HMAC_DOWN_JTAG",7:"HMAC_DOWN_DIGITAL_SIGNATURE",8:"HMAC_UP",9:"SECURE_BOOT_DIGEST0",10:"SECURE_BOOT_DIGEST1",11:"SECURE_BOOT_DIGEST2",12:"KM_INIT_KEY"}}async getPkgVersion(A){return await A.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>26&7}async getMinorChipVersion(A){return await A.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>0&15}async getMajorChipVersion(A){return await A.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>4&3}async getChipDescription(A){const t=await this.getPkgVersion(A);let E;t===0?E="ESP32-C5":E="unknown ESP32-C5";const B=await this.getMajorChipVersion(A),C=await this.getMinorChipVersion(A);return`${E} (revision v${B}.${C})`}async getCrystalFreq(A){const t=await A.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,E=A.transport.baudrate*t/1e6/this.XTAL_CLK_DIVIDER;let B;return E>45?B=48:E>33?B=40:B=26,Math.abs(B-E)>1&&A.info("WARNING: Unsupported crystal in use"),B}async getCrystalFreqRomExpect(A){return(await A.readReg(this.PCR_SYSCLK_CONF_REG)&this.PCR_SYSCLK_XTAL_FREQ_V)>>this.PCR_SYSCLK_XTAL_FREQ_S}}export{h as ESP32C5ROM}; +import{ESP32C6ROM as _}from"./esp32c6-88vftfBr.js";import"./rom-Caghk6Eh.js";const g=1082132164,s="QREixCbCBsa39wBgEUc3BIRA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDcJhEAmylLEBs4izLcEAGB9WhMJCQDATBN09D8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc1hUBBEZOFhboGxmE/Y0UFBrc3hUCThweyA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t4RAEwcHsqFnupcDpgcIt/aEQLc3hUCThweyk4YGtmMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3hIRAkwdEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwREAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAID/54Cg86qHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwVE/9WPHMeyRZcAgP/ngCDxMzWgAPJAYkQFYYKAQRG3h4RABsaTh0cBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDeEhECTB0QBJsrER07GBs5KyKqJEwREAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Ag5BN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54CA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbcHhECThwcA1EOZzjdnCWATB8cQHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxibCIsSqhJcAgP/ngKDJWTcNyTcHhECTBgcAg9eGABMEBwCFB8IHwYMjlPYAkwYADGOG1AATB+ADY3X3AG03IxQEALJAIkSSREEBgoBBEQbGEwcADGMa5QATBbANRTcTBcANskBBAVm/EwewDeMb5f5xNxMF0A31t0ERIsQmwgbGKoSzBLUAYxeUALJAIkSSREEBgoADRQQABQRNP+23NXEmy07H/XKFaf10Is1KyVLFVsMGz5OEhPoWkZOHCQemlxgIs4TnACqJJoUuhJcAgP/ngEAxk4cJBxgIBWq6l7OKR0Ex5AVnfXWTBYX6kwcHBxMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngAAuMkXBRZU3AUWFYhaR+kBqRNpESkm6SSpKmkoNYYKAooljc4oAhWlOhtaFSoWXAID/54DAxhN19Q8B7U6G1oUmhZcAgP/ngEApTpkzBDRBUbcTBTAGVb8TBQAMSb0xcf1yBWdO11LVVtNezwbfIt0m20rZWtFizWbLaslux/13FpETBwcHPpccCLqXPsYjqgf4qokuirKKtov1M5MHAAIZwbcHAgA+hZcAgP/ngCAghWdj5VcTBWR9eRMJifqTBwQHypcYCDOJ5wBKhZcAgP/ngGAgfXsTDDv5kwyL+RMHBAeTBwQHFAhil+aXgUQzDNcAs4zXAFJNY3xNCWPxpANBqJk/ooUIAY01uTcihgwBSoWXAID/54BAHKKZopRj9UQDs4ekQWPxdwMzBJpAY/OKAFaEIoYMAU6FlwCA/+eAALYTdfUPVd0CzAFEeV2NTaMJAQBihZcAgP/ngECkffkDRTEB5oWFNGNPBQDj4o3+hWeThwcHopcYCLqX2pcjiqf4BQTxt+MVpf2RR+MF9PYFZ311kwcHB5MFhfoTBYX5FAiqlzOF1wCTBwcHrpezhdcAKsaXAID/54BgEnE9MkXBRWUzUT3BMbcHAgAZ4ZMHAAI+hZcAgP/ngKANhWIWkfpQalTaVEpZulkqWppaClv6S2pM2kxKTbpNKWGCgLdXQUkZcZOH94QBRYbeotym2srYztbS1NbS2tDezuLM5srqyO7GPs6XAID/54DAnaE5Ec23Zwlgk4fHEJhDtwaEQCOi5gC3BgMAVY+Ywy05Bc23JwtgN0fYUJOGh8ETBxeqmMIThgfAIyAGACOgBgCThgfCmMKTh8fBmEM3BgQAUY+YwyOgBgC3B4RANzeFQJOHBwATBwe7IaAjoAcAkQfj7ef+XTuRRWgIyTF9M7e3hECThweyIWc+lyMg9wi3B4BANwmEQJOHhw4jIPkAtzmFQF0+EwkJAJOJCbJjBgUQtwcBYBMHEAIjqOcMhUVFRZcAgP/ngAD5twWAQAFGk4UFAEVFlwCA/+eAQPq39wBgEUeYyzcFAgCXAID/54CA+bcXCWCIX4FFt4SEQHGJYRUTNRUAlwCA/+eAgJ/BZ/0XEwcAEIVmQWa3BQABAUWThEQBtwqEQA1qlwCA/+eAQJUTi0oBJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OB5whRR2OP5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1FUxoUVIEEU+g8c7AAPHKwCiB9mPEWdBB2N09wQTBbANKT4TBcANET4TBeAOOTadOUG3twWAQAFGk4WFAxVFlwCA/+eAQOs3BwBgXEcTBQACk+cXEFzHMbfJRyMT8QJNtwPHGwDRRmPn5gKFRmPm5gABTBME8A+FqHkXE3f3D8lG4+jm/rc2hUAKB5OGRrs2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj6+YItzaFQAoHk4YGwDaXGEMChxMHQAJjmOcQAtQdRAFFtTQBRWU8wT75NqFFSBB9FOE8dfQBTAFEE3X0D0U0E3X8D2k8TT7jHgTqg8cbAElHY2j3MAlH43b36vUXk/f3Dz1H42D36jc3hUCKBxMHB8G6l5xDgocFRJ3rcBCBRQFFl/B//+eAgHEd4dFFaBCtPAFEMagFRIHvl/B//+eAQHczNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X37/D/hX3xwWwinP0cfX0zBYxAVdyzd5UBlePBbDMFjEBj5owC/XwzBYxAVdAxgZfwf//ngMBzVflmlPW3MYGX8H//54DAclXxapTRt0GBl/B//+eAAHJR+TMElEHBtyFH44nn8AFMEwQADDG3QUfNv0FHBUTjnOf2g6XLAAOliwD1MrG/QUcFROOS5/YDpwsBkWdj6uceg6VLAQOliwDv8D+BNb9BRwVE45Ln9IOnCwERZ2Nq9xwDp8sAg6VLAQOliwAzhOcC7/Cv/iOsBAAjJIqwMbcDxwQAYwMHFAOniwDBFxMEAAxjE/cAwEgBR5MG8A5jRvcCg8dbAAPHSwABTKIH2Y8Dx2sAQgddj4PHewDiB9mP44H25hMEEAypvTOG6wADRoYBBQexjuG3g8cEAP3H3ERjnQcUwEgjgAQAfbVhR2OW5wKDp8sBA6eLAYOmSwEDpgsBg6XLAAOliwCX8H//54CAYiqMMzSgACm1AUwFRBG1EUcFROOa5+a3lwBgtF9ld30XBWb5jtGOA6WLALTftFeBRfmO0Y601/Rf+Y7RjvTf9FN1j1GP+NOX8H//54CgZSm9E/f3AOMVB+qT3EcAE4SLAAFMfV3jdJzbSESX8H//54AgSBhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHpbVBRwVE45fn3oOniwADp0sBIyj5ACMm6QB1u4MlyQDBF5Hlic8BTBMEYAyJuwMnCQFjZvcGE/c3AOMZB+IDKAkBAUYBRzMF6ECzhuUAY2n3AOMEBtIjKKkAIybZADG7M4brABBOEQeQwgVG6b8hRwVE45Hn2AMkCQEZwBMEgAwjKAkAIyYJADM0gAClswFMEwQgDO2xAUwTBIAMzbEBTBMEkAzpuRMHIA1jg+cMEwdADeOb57gDxDsAg8crACIEXYyX8H//54CASAOsxABBFGNzhAEijOMJDLbAQGKUMYCcSGNV8ACcRGNb9Arv8O/Ldd3IQGKGk4WLAZfwf//ngIBEAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwf//ngGBDJbYJZRMFBXEDrMsAA6SLAJfwf//ngKAytwcAYNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwf//ngAA0EwWAPpfwf//ngEAv6byDpksBA6YLAYOlywADpYsA7/Av/NG0g8U7AIPHKwAThYsBogXdjcEV7/DP1XW07/AvxT2/A8Q7AIPHKwATjIsBIgRdjNxEQRTN45FHhUtj/4cIkweQDNzIQbQDpw0AItAFSLOH7EA+1oMnirBjc/QADUhCxjrE7/CvwCJHMkg3hYRA4oV8EJOGSgEQEBMFxQKX8H//54CgMTe3hECTCEcBglcDp4iwg6UNAB2MHY8+nLJXI6TosKqLvpUjoL0Ak4dKAZ2NAcWhZ2OX9QBahe/wb8sjoG0BCcTcRJnD409w92PfCwCTB3AMvbeFS7c9hUC3jIRAk40Nu5OMTAHpv+OdC5zcROOKB5yTB4AMqbeDp4sA45MHnO/wb9MJZRMFBXGX8H//54CgHO/w786X8H//54BgIVWyA6TLAOMPBJjv8O/QEwWAPpfwf//ngEAa7/CPzAKUUbLv8A/M9lBmVNZURlm2WSZalloGW/ZLZkzWTEZNtk0JYYKAAAA=",M=1082130432,w="FACEQG4KgEC+CoBAFguAQOQLgEBQDIBA/guAQDoJgECgC4BA4AuAQCoLgEDqCIBAXguAQOoIgEBICoBAjgqAQL4KgEAWC4BAWgqAQJ4JgEDOCYBAVgqAQKgOgEC+CoBAaA2AQGAOgEAqCIBAiA6AQCoIgEAqCIBAKgiAQCoIgEAqCIBAKgiAQCoIgEAqCIBABA2AQCoIgECGDYBAYA6AQA==",c=1082469296,C={entry:g,text:s,text_start:M,data:w,data_start:c};class D extends _{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C5",this.IMAGE_CHIP_ID=23,this.EFUSE_BASE=1611352064,this.EFUSE_BLOCK1_ADDR=this.EFUSE_BASE+68,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1610612756,this.TEXT_START=C.text_start,this.ENTRY=C.entry,this.DATA_START=C.data_start,this.ROM_DATA=C.data,this.ROM_TEXT=C.text,this.EFUSE_RD_REG_BASE=this.EFUSE_BASE+48,this.EFUSE_PURPOSE_KEY0_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY0_SHIFT=24,this.EFUSE_PURPOSE_KEY1_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY1_SHIFT=28,this.EFUSE_PURPOSE_KEY2_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY2_SHIFT=0,this.EFUSE_PURPOSE_KEY3_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY3_SHIFT=4,this.EFUSE_PURPOSE_KEY4_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY4_SHIFT=8,this.EFUSE_PURPOSE_KEY5_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY5_SHIFT=12,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_REG=this.EFUSE_RD_REG_BASE,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT=1<<20,this.EFUSE_SPI_BOOT_CRYPT_CNT_REG=this.EFUSE_BASE+52,this.EFUSE_SPI_BOOT_CRYPT_CNT_MASK=7<<18,this.EFUSE_SECURE_BOOT_EN_REG=this.EFUSE_BASE+56,this.EFUSE_SECURE_BOOT_EN_MASK=1<<20,this.IROM_MAP_START=1107296256,this.IROM_MAP_END=1115684864,this.DROM_MAP_START=1115684864,this.DROM_MAP_END=1124073472,this.PCR_SYSCLK_CONF_REG=1611227408,this.PCR_SYSCLK_XTAL_FREQ_V=127<<24,this.PCR_SYSCLK_XTAL_FREQ_S=24,this.XTAL_CLK_DIVIDER=1,this.UARTDEV_BUF_NO=1082520860,this.CHIP_DETECT_MAGIC_VALUE=[285294703],this.FLASH_FREQUENCY={"80m":15,"40m":0,"20m":2},this.MEMORY_MAP=[[0,65536,"PADDING"],[1115684864,1124073472,"DROM"],[1082130432,1082523648,"DRAM"],[1082130432,1082523648,"BYTE_ACCESSIBLE"],[1073979392,1074003968,"DROM_MASK"],[1073741824,1073979392,"IROM_MASK"],[1107296256,1115684864,"IROM"],[1082130432,1082523648,"IRAM"],[1342177280,1342193664,"RTC_IRAM"],[1342177280,1342193664,"RTC_DRAM"],[1611653120,1611661312,"MEM_INTERNAL2"]],this.UF2_FAMILY_ID=4145808195,this.EFUSE_MAX_KEY=5,this.KEY_PURPOSES={0:"USER/EMPTY",1:"ECDSA_KEY",2:"XTS_AES_256_KEY_1",3:"XTS_AES_256_KEY_2",4:"XTS_AES_128_KEY",5:"HMAC_DOWN_ALL",6:"HMAC_DOWN_JTAG",7:"HMAC_DOWN_DIGITAL_SIGNATURE",8:"HMAC_UP",9:"SECURE_BOOT_DIGEST0",10:"SECURE_BOOT_DIGEST1",11:"SECURE_BOOT_DIGEST2",12:"KM_INIT_KEY"}}async getPkgVersion(A){return await A.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>26&7}async getMinorChipVersion(A){return await A.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>0&15}async getMajorChipVersion(A){return await A.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>4&3}async getChipDescription(A){const R=await this.getPkgVersion(A);let E;R===0?E="ESP32-C5":E="unknown ESP32-C5";const B=await this.getMajorChipVersion(A),t=await this.getMinorChipVersion(A);return`${E} (revision v${B}.${t})`}async getCrystalFreq(A){const R=await A.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,E=A.transport.baudrate*R/1e6/this.XTAL_CLK_DIVIDER;let B;return E>45?B=48:E>33?B=40:B=26,Math.abs(B-E)>1&&A.info("WARNING: Unsupported crystal in use"),B}async getCrystalFreqRomExpect(A){return(await A.readReg(this.PCR_SYSCLK_CONF_REG)&this.PCR_SYSCLK_XTAL_FREQ_V)>>this.PCR_SYSCLK_XTAL_FREQ_S}}export{D as ESP32C5ROM}; diff --git a/contrib/data/www/web/assets/esp32c6-C93uIFil.js b/contrib/data/www/web/assets/esp32c6-88vftfBr.js similarity index 99% rename from contrib/data/www/web/assets/esp32c6-C93uIFil.js rename to contrib/data/www/web/assets/esp32c6-88vftfBr.js index 3ef5dcf4..fbce06d2 100644 --- a/contrib/data/www/web/assets/esp32c6-C93uIFil.js +++ b/contrib/data/www/web/assets/esp32c6-88vftfBr.js @@ -1 +1 @@ -import{R as F}from"./rom-Caghk6Eh.js";const s=1082132112,C="QREixCbCBsa39wBgEUc3BIRA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDcJhEAmylLEBs4izLcEAGB9WhMJCQDATBN09A8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc1hUBBEZOFRboGxmE/Y0UFBrc3hUCTh8exA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t4RAEwfHsaFnupcDpgcIt/aEQLc3hUCTh8exk4bGtWMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3BIRAkwcEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwQEAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAID/54Cg8qqHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwVE/9WPHMeyRZcAgP/ngCDwMzWgAPJAYkQFYYKAQRG3B4RABsaThwcBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDcEhECTBwQBJsrER07GBs5KyKqJEwQEAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Ag4xN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54BA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbcHhECThwcA1EOZzjdnCWATBwcRHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxpcAgP/ngEDKcTcBxbJAQQHZv7JAQQGCgEERBsYTBwAMYxrlABMFsA3RPxMFwA2yQEEB6bcTB7AN4xvl/sE3EwXQDfW3QREixCbCBsYqhLMEtQBjF5QAskAiRJJEQQGCgANFBAAFBE0/7bc1cSbLTsf9coVp/XQizUrJUsVWwwbPk4SE+haRk4cJB6aXGAizhOcAKokmhS6ElwCA/+eAwC+ThwkHGAgFarqXs4pHQTHkBWd9dZMFhfqTBwcHEwWF+RQIqpczhdcAkwcHB66Xs4XXACrGlwCA/+eAgCwyRcFFlTcBRYViFpH6QGpE2kRKSbpJKkqaSg1hgoCiiWNzigCFaU6G1oVKhZcAgP/ngADJE3X1DwHtTobWhSaFlwCA/+eAwCdOmTMENEFRtxMFMAZVvxMFAAzZtTFx/XIFZ07XUtVW017PBt8i3SbbStla0WLNZstqyW7H/XcWkRMHBwc+lxwIupc+xiOqB/iqiS6Ksoq2iwU1kwcAAhnBtwcCAD6FlwCA/+eAYCCFZ2PlVxMFZH15EwmJ+pMHBAfKlxgIM4nnAEqFlwCA/+eA4B59exMMO/mTDIv5EwcEB5MHBAcUCGKX5peBRDMM1wCzjNcAUk1jfE0JY/GkA0GomT+ihQgBjTW5NyKGDAFKhZcAgP/ngMAaopmilGP1RAOzh6RBY/F3AzMEmkBj84oAVoQihgwBToWXAID/54BAuBN19Q9V3QLMAUR5XY1NowkBAGKFlwCA/+eAgKd9+QNFMQHmhVE8Y08FAOPijf6FZ5OHBweilxgIupfalyOKp/gFBPG34xWl/ZFH4wX09gVnfXWTBwcHkwWF+hMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngOAQcT0yRcFFZTNRPdU5twcCABnhkwcAAj6FlwCA/+eA4A2FYhaR+lBqVNpUSlm6WSpamloKW/pLakzaTEpNuk0pYYKAt1dBSRlxk4f3hAFFht6i3KbaytjO1tLU1tLa0N7O4szmyurI7sY+zpcAgP/ngMCgcTENwTdnCWATBwcRHEO3BoRAI6L2ALcG/f/9FvWPwWbVjxzDpTEFzbcnC2A3R9hQk4aHwRMHF6qYwhOGB8AjIAYAI6AGAJOGB8KYwpOHx8GYQzcGBABRj5jDI6AGALcHhEA3N4VAk4cHABMHx7ohoCOgBwCRB+Pt5/5FO5FFaAh1OWUzt7eEQJOHx7EhZz6XIyD3CLcHgEA3CYRAk4eHDiMg+QC3OYVA1TYTCQkAk4nJsWMHBRC3BwFgRUcjoOcMhUVFRZcAgP/ngED5twWAQAFGk4UFAEVFlwCA/+eAQPo39wBgHEs3BQIAk+dHABzLlwCA/+eAQPm3FwlgiF+BRbcEhEBxiWEVEzUVAJcAgP/ngAChwWf9FxMHABCFZkFmtwUAAQFFk4QEAQ1qtzqEQJcAgP/ngACXJpoTi8qxg6fJCPXfg6vJCIVHI6YJCCMC8QKDxxsACUcjE+ECowLxAgLUTUdjgecIUUdjj+cGKUdjn+cAg8c7AAPHKwCiB9mPEUdjlucAg6eLAJxDPtRxOaFFSBBlNoPHOwADxysAogfZjxFnQQdjdPcEEwWwDZk2EwXADYE2EwXgDi0+vTFBt7cFgEABRpOFhQMVRZcAgP/ngADrNwcAYFxHEwUAApPnFxBcxzG3yUcjE/ECTbcDxxsA0UZj5+YChUZj5uYAAUwTBPAPhah5FxN39w/JRuPo5v63NoVACgeThga7NpcYQwKHkwYHA5P29g8RRuNp1vwTB/cCE3f3D41GY+vmCLc2hUAKB5OGxr82lxhDAocTB0ACY5jnEALUHUQBRWE8AUVFPOE22TahRUgQfRTBPHX0AUwBRBN19A9hPBN1/A9JPG024x4E6oPHGwBJR2Nj9y4JR+N29+r1F5P39w89R+Ng9+o3N4VAigcTB8fAupecQ4KHBUSd63AQgUUBRZfwf//ngAB0HeHRRWgQjTwBRDGoBUSB75fwf//ngAB5MzSgACmgIUdjhecABUQBTGG3A6yLAAOkywCzZ4wA0gf19+/wv4h98cFsIpz9HH19MwWMQFXcs3eVAZXjwWwzBYxAY+aMAv18MwWMQFXQMYGX8H//54CAdVX5ZpT1tzGBl/B//+eAgHRV8WqU0bdBgZfwf//ngMBzUfkzBJRBwbchR+OJ5/ABTBMEAAwxt0FHzb9BRwVE45zn9oOlywADpYsA1TKxv0FHBUTjkuf2A6cLAZFnY+XnHIOlSwEDpYsA7/D/gzW/QUcFROOS5/SDpwsBEWdjZfcaA6fLAIOlSwEDpYsAM4TnAu/wf4EjrAQAIySKsDG3A8cEAGMOBxADp4sAwRcTBAAMYxP3AMBIAUeTBvAOY0b3AoPHWwADx0sAAUyiB9mPA8drAEIHXY+Dx3sA4gfZj+OB9uYTBBAMqb0zhusAA0aGAQUHsY7ht4PHBADxw9xEY5gHEsBII4AEAH21YUdjlucCg6fLAQOniwGDpksBA6YLAYOlywADpYsAl/B//+eAQGQqjDM0oAAptQFMBUQRtRFHBUTjmufmA6WLAIFFl/B//+eAwGmRtRP39wDjGgfsk9xHABOEiwABTH1d43mc3UhEl/B//+eAwE0YRFRAEED5jmMHpwEcQhNH9/99j9mOFMIFDEEE2b8RR0m9QUcFROOc5+CDp4sAA6dLASMm+QAjJOkA3bODJYkAwReR5YnPAUwTBGAMtbsDJ8kAY2b3BhP3NwDjHgfkAyjJAAFGAUczBehAs4blAGNp9wDjCQbUIyapACMk2QCZszOG6wAQThEHkMIFRum/IUcFROOW59oDJMkAGcATBIAMIyYJACMkCQAzNIAASbsBTBMEIAwRuwFMEwSADDGzAUwTBJAMEbMTByANY4PnDBMHQA3jkOe8A8Q7AIPHKwAiBF2Ml/B//+eA4EwDrMQAQRRjc4QBIozjDgy4wEBilDGAnEhjVfAAnERjW/QK7/BP0XXdyEBihpOFiwGX8H//54DgSAHFkwdADNzI3EDil9zA3ESzh4dB3MSX8H//54DAR4m+CWUTBQVxA6zLAAOkiwCX8H//54BAOLcHAGDYS7cGAAHBFpNXRwESB3WPvYvZj7OHhwMBRbPVhwKX8H//54BgORMFgD6X8H//54DgNBG2g6ZLAQOmCwGDpcsAA6WLAO/wT/79tIPFOwCDxysAE4WLAaIF3Y3BFe/wL9vZvO/wj8o9v4PHOwADxysAE4yLAaIH2Y8TjQf/BUS3O4VA3ERjBQ0AmcNjTIAAY1AEChMHcAzYyOOfB6iTB5AMYaiTh8u6mEO3t4RAk4fHsZmPPtaDJ4qwtzyEQGrQk4wMAZONy7oFSGNz/QANSELGOsTv8I/DIkcySDcFhEDihXwQk4bKsRAQEwWFApfwf//ngEA0glcDp4ywg6UNADMN/UAdjz6cslcjpOywKoS+lSOgvQCTh8qxnY0BxaFn45L19lqF7/CvziOgbQGZvy3044MHoJMHgAzcyPW6g6eLAOObB57v8C/ZCWUTBQVxl/B//+eAoCLv8K/Ul/B//+eA4CbRugOkywDjBwSc7/Cv1hMFgD6X8H//54BAIO/wT9IClFW67/DP0fZQZlTWVEZZtlkmWpZaBlv2S2ZM1kxGTbZNCWGCgAAA",Q=1082130432,R="HCuEQEIKgECSCoBA6gqAQI4LgED6C4BAqAuAQA4JgEBKC4BAiguAQP4KgEC+CIBAMguAQL4IgEAcCoBAYgqAQJIKgEDqCoBALgqAQHIJgECiCYBAKgqAQEwOgECSCoBAEg2AQAQOgED+B4BALA6AQP4HgED+B4BA/geAQP4HgED+B4BA/geAQP4HgED+B4BArgyAQP4HgEAwDYBABA6AQA==",h=1082469292,c={entry:s,text:C,text_start:Q,data:R,data_start:h};class H extends F{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C6",this.IMAGE_CHIP_ID=13,this.EFUSE_BASE=1611335680,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=c.text_start,this.ENTRY=c.entry,this.DATA_START=c.data_start,this.ROM_DATA=c.data,this.ROM_TEXT=c.text}async getPkgVersion(E){const B=this.EFUSE_BASE+68+4*3;return await E.readReg(B)>>21&7}async getChipRevision(E){const A=this.EFUSE_BASE+68,w=3,B=18,t=A+4*w;return(await E.readReg(t)&7<>B}async getChipDescription(E){let A;await this.getPkgVersion(E)===0?A="ESP32-C6":A="unknown ESP32-C6";const B=await this.getChipRevision(E);return A+=" (revision "+B+")",A}async getChipFeatures(E){return["Wi-Fi 6","BT 5","IEEE802.15.4"]}async getCrystalFreq(E){return 40}_d2h(E){const A=(+E).toString(16);return A.length===1?"0"+A:A}async readMac(E){let A=await E.readReg(this.MAC_EFUSE_REG);A=A>>>0;let w=await E.readReg(this.MAC_EFUSE_REG+4);w=w>>>0&65535;const B=new Uint8Array(6);return B[0]=w>>8&255,B[1]=w&255,B[2]=A>>24&255,B[3]=A>>16&255,B[4]=A>>8&255,B[5]=A&255,this._d2h(B[0])+":"+this._d2h(B[1])+":"+this._d2h(B[2])+":"+this._d2h(B[3])+":"+this._d2h(B[4])+":"+this._d2h(B[5])}getEraseSize(E,A){return A}}export{H as ESP32C6ROM}; +import{R as F}from"./rom-Caghk6Eh.js";const s=1082132112,C="QREixCbCBsa39wBgEUc3BIRA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDcJhEAmylLEBs4izLcEAGB9WhMJCQDATBN09A8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc1hUBBEZOFRboGxmE/Y0UFBrc3hUCTh8exA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t4RAEwfHsaFnupcDpgcIt/aEQLc3hUCTh8exk4bGtWMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3BIRAkwcEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwQEAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAID/54Cg8qqHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwVE/9WPHMeyRZcAgP/ngCDwMzWgAPJAYkQFYYKAQRG3B4RABsaThwcBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDcEhECTBwQBJsrER07GBs5KyKqJEwQEAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Ag4xN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54BA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbcHhECThwcA1EOZzjdnCWATBwcRHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxpcAgP/ngEDKcTcBxbJAQQHZv7JAQQGCgEERBsYTBwAMYxrlABMFsA3RPxMFwA2yQEEB6bcTB7AN4xvl/sE3EwXQDfW3QREixCbCBsYqhLMEtQBjF5QAskAiRJJEQQGCgANFBAAFBE0/7bc1cSbLTsf9coVp/XQizUrJUsVWwwbPk4SE+haRk4cJB6aXGAizhOcAKokmhS6ElwCA/+eAwC+ThwkHGAgFarqXs4pHQTHkBWd9dZMFhfqTBwcHEwWF+RQIqpczhdcAkwcHB66Xs4XXACrGlwCA/+eAgCwyRcFFlTcBRYViFpH6QGpE2kRKSbpJKkqaSg1hgoCiiWNzigCFaU6G1oVKhZcAgP/ngADJE3X1DwHtTobWhSaFlwCA/+eAwCdOmTMENEFRtxMFMAZVvxMFAAzZtTFx/XIFZ07XUtVW017PBt8i3SbbStla0WLNZstqyW7H/XcWkRMHBwc+lxwIupc+xiOqB/iqiS6Ksoq2iwU1kwcAAhnBtwcCAD6FlwCA/+eAYCCFZ2PlVxMFZH15EwmJ+pMHBAfKlxgIM4nnAEqFlwCA/+eA4B59exMMO/mTDIv5EwcEB5MHBAcUCGKX5peBRDMM1wCzjNcAUk1jfE0JY/GkA0GomT+ihQgBjTW5NyKGDAFKhZcAgP/ngMAaopmilGP1RAOzh6RBY/F3AzMEmkBj84oAVoQihgwBToWXAID/54BAuBN19Q9V3QLMAUR5XY1NowkBAGKFlwCA/+eAgKd9+QNFMQHmhVE8Y08FAOPijf6FZ5OHBweilxgIupfalyOKp/gFBPG34xWl/ZFH4wX09gVnfXWTBwcHkwWF+hMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngOAQcT0yRcFFZTNRPdU5twcCABnhkwcAAj6FlwCA/+eA4A2FYhaR+lBqVNpUSlm6WSpamloKW/pLakzaTEpNuk0pYYKAt1dBSRlxk4f3hAFFht6i3KbaytjO1tLU1tLa0N7O4szmyurI7sY+zpcAgP/ngMCgcTENwTdnCWATBwcRHEO3BoRAI6L2ALcG/f/9FvWPwWbVjxzDpTEFzbcnC2A3R9hQk4aHwRMHF6qYwhOGB8AjIAYAI6AGAJOGB8KYwpOHx8GYQzcGBABRj5jDI6AGALcHhEA3N4VAk4cHABMHx7ohoCOgBwCRB+Pt5/5FO5FFaAh1OWUzt7eEQJOHx7EhZz6XIyD3CLcHgEA3CYRAk4eHDiMg+QC3OYVA1TYTCQkAk4nJsWMHBRC3BwFgRUcjoOcMhUVFRZcAgP/ngED5twWAQAFGk4UFAEVFlwCA/+eAQPo39wBgHEs3BQIAk+dHABzLlwCA/+eAQPm3FwlgiF+BRbcEhEBxiWEVEzUVAJcAgP/ngAChwWf9FxMHABCFZkFmtwUAAQFFk4QEAQ1qtzqEQJcAgP/ngACXJpoTi8qxg6fJCPXfg6vJCIVHI6YJCCMC8QKDxxsACUcjE+ECowLxAgLUTUdjgecIUUdjj+cGKUdjn+cAg8c7AAPHKwCiB9mPEUdjlucAg6eLAJxDPtRxOaFFSBBlNoPHOwADxysAogfZjxFnQQdjdPcEEwWwDZk2EwXADYE2EwXgDi0+vTFBt7cFgEABRpOFhQMVRZcAgP/ngADrNwcAYFxHEwUAApPnFxBcxzG3yUcjE/ECTbcDxxsA0UZj5+YChUZj5uYAAUwTBPAPhah5FxN39w/JRuPo5v63NoVACgeThga7NpcYQwKHkwYHA5P29g8RRuNp1vwTB/cCE3f3D41GY+vmCLc2hUAKB5OGxr82lxhDAocTB0ACY5jnEALUHUQBRWE8AUVFPOE22TahRUgQfRTBPHX0AUwBRBN19A9hPBN1/A9JPG024x4E6oPHGwBJR2Nj9y4JR+N29+r1F5P39w89R+Ng9+o3N4VAigcTB8fAupecQ4KHBUSd63AQgUUBRZfwf//ngAB0HeHRRWgQjTwBRDGoBUSB75fwf//ngAB5MzSgACmgIUdjhecABUQBTGG3A6yLAAOkywCzZ4wA0gf19+/wv4h98cFsIpz9HH19MwWMQFXcs3eVAZXjwWwzBYxAY+aMAv18MwWMQFXQMYGX8H//54CAdVX5ZpT1tzGBl/B//+eAgHRV8WqU0bdBgZfwf//ngMBzUfkzBJRBwbchR+OJ5/ABTBMEAAwxt0FHzb9BRwVE45zn9oOlywADpYsA1TKxv0FHBUTjkuf2A6cLAZFnY+XnHIOlSwEDpYsA7/D/gzW/QUcFROOS5/SDpwsBEWdjZfcaA6fLAIOlSwEDpYsAM4TnAu/wf4EjrAQAIySKsDG3A8cEAGMOBxADp4sAwRcTBAAMYxP3AMBIAUeTBvAOY0b3AoPHWwADx0sAAUyiB9mPA8drAEIHXY+Dx3sA4gfZj+OB9uYTBBAMqb0zhusAA0aGAQUHsY7ht4PHBADxw9xEY5gHEsBII4AEAH21YUdjlucCg6fLAQOniwGDpksBA6YLAYOlywADpYsAl/B//+eAQGQqjDM0oAAptQFMBUQRtRFHBUTjmufmA6WLAIFFl/B//+eAwGmRtRP39wDjGgfsk9xHABOEiwABTH1d43mc3UhEl/B//+eAwE0YRFRAEED5jmMHpwEcQhNH9/99j9mOFMIFDEEE2b8RR0m9QUcFROOc5+CDp4sAA6dLASMm+QAjJOkA3bODJYkAwReR5YnPAUwTBGAMtbsDJ8kAY2b3BhP3NwDjHgfkAyjJAAFGAUczBehAs4blAGNp9wDjCQbUIyapACMk2QCZszOG6wAQThEHkMIFRum/IUcFROOW59oDJMkAGcATBIAMIyYJACMkCQAzNIAASbsBTBMEIAwRuwFMEwSADDGzAUwTBJAMEbMTByANY4PnDBMHQA3jkOe8A8Q7AIPHKwAiBF2Ml/B//+eA4EwDrMQAQRRjc4QBIozjDgy4wEBilDGAnEhjVfAAnERjW/QK7/BP0XXdyEBihpOFiwGX8H//54DgSAHFkwdADNzI3EDil9zA3ESzh4dB3MSX8H//54DAR4m+CWUTBQVxA6zLAAOkiwCX8H//54BAOLcHAGDYS7cGAAHBFpNXRwESB3WPvYvZj7OHhwMBRbPVhwKX8H//54BgORMFgD6X8H//54DgNBG2g6ZLAQOmCwGDpcsAA6WLAO/wT/79tIPFOwCDxysAE4WLAaIF3Y3BFe/wL9vZvO/wj8o9v4PHOwADxysAE4yLAaIH2Y8TjQf/BUS3O4VA3ERjBQ0AmcNjTIAAY1AEChMHcAzYyOOfB6iTB5AMYaiTh8u6mEO3t4RAk4fHsZmPPtaDJ4qwtzyEQGrQk4wMAZONy7oFSGNz/QANSELGOsTv8I/DIkcySDcFhEDihXwQk4bKsRAQEwWFApfwf//ngEA0glcDp4ywg6UNADMN/UAdjz6cslcjpOywKoS+lSOgvQCTh8qxnY0BxaFn45L19lqF7/CvziOgbQGZvy3044MHoJMHgAzcyPW6g6eLAOObB57v8C/ZCWUTBQVxl/B//+eAoCLv8K/Ul/B//+eA4CbRugOkywDjBwSc7/Cv1hMFgD6X8H//54BAIO/wT9IClFW67/DP0fZQZlTWVEZZtlkmWpZaBlv2S2ZM1kxGTbZNCWGCgAAA",Q=1082130432,R="HCuEQEIKgECSCoBA6gqAQI4LgED6C4BAqAuAQA4JgEBKC4BAiguAQP4KgEC+CIBAMguAQL4IgEAcCoBAYgqAQJIKgEDqCoBALgqAQHIJgECiCYBAKgqAQEwOgECSCoBAEg2AQAQOgED+B4BALA6AQP4HgED+B4BA/geAQP4HgED+B4BA/geAQP4HgED+B4BArgyAQP4HgEAwDYBABA6AQA==",h=1082469292,c={entry:s,text:C,text_start:Q,data:R,data_start:h};class H extends F{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C6",this.IMAGE_CHIP_ID=13,this.EFUSE_BASE=1611335680,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.TEXT_START=c.text_start,this.ENTRY=c.entry,this.DATA_START=c.data_start,this.ROM_DATA=c.data,this.ROM_TEXT=c.text}async getPkgVersion(E){const B=this.EFUSE_BASE+68+4*3;return await E.readReg(B)>>21&7}async getChipRevision(E){const A=this.EFUSE_BASE+68,w=3,B=18,g=A+4*w;return(await E.readReg(g)&7<>B}async getChipDescription(E){let A;await this.getPkgVersion(E)===0?A="ESP32-C6":A="unknown ESP32-C6";const B=await this.getChipRevision(E);return A+=" (revision "+B+")",A}async getChipFeatures(E){return["Wi-Fi 6","BT 5","IEEE802.15.4"]}async getCrystalFreq(E){return 40}_d2h(E){const A=(+E).toString(16);return A.length===1?"0"+A:A}async readMac(E){let A=await E.readReg(this.MAC_EFUSE_REG);A=A>>>0;let w=await E.readReg(this.MAC_EFUSE_REG+4);w=w>>>0&65535;const B=new Uint8Array(6);return B[0]=w>>8&255,B[1]=w&255,B[2]=A>>24&255,B[3]=A>>16&255,B[4]=A>>8&255,B[5]=A&255,this._d2h(B[0])+":"+this._d2h(B[1])+":"+this._d2h(B[2])+":"+this._d2h(B[3])+":"+this._d2h(B[4])+":"+this._d2h(B[5])}getEraseSize(E,A){return A}}export{H as ESP32C6ROM}; diff --git a/contrib/data/www/web/assets/esp32c61-Qo5S0GG2.js b/contrib/data/www/web/assets/esp32c61-Cez2MlRb.js similarity index 61% rename from contrib/data/www/web/assets/esp32c61-Qo5S0GG2.js rename to contrib/data/www/web/assets/esp32c61-Cez2MlRb.js index 856bc5cf..732a0bfa 100644 --- a/contrib/data/www/web/assets/esp32c61-Qo5S0GG2.js +++ b/contrib/data/www/web/assets/esp32c61-Cez2MlRb.js @@ -1 +1 @@ -import{ESP32C6ROM as _}from"./esp32c6-C93uIFil.js";import"./rom-Caghk6Eh.js";const w=1082132164,M="QREixCbCBsa39wBgEUc3RIBA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDdJgEAmylLEBs4izLcEAGB9WhMJCQDATBN09A8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLd1gUBBEZOFhboGxmE/Y0UFBrd3gUCThweyA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI394BAEwcHsqFnupcDpgcItzaBQLd3gUCThweyk4YGtmMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3xIBAkwdEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwREAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAID/54Cg86qHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwVE/9WPHMeyRZcAgP/ngCDxMzWgAPJAYkQFYYKAQRG3x4BABsaTh0cBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDfEgECTB0QBJsrER07GBs5KyKqJEwREAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Ag5BN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54CA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbdHgECThwcA1EOZzjdnCWATB4cOHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxibCIsSqhJcAgP/ngKDJWTcNyTdHgECTBgcAg9eGABMEBwCFB8IHwYMjlPYAkwYADGOG1AATB+ADY3X3AG03IxQEALJAIkSSREEBgoBBEQbGEwcADGMa5QATBbANRTcTBcANskBBAVm/EwewDeMb5f5xNxMF0A31t0ERIsQmwgbGKoSzBLUAYxeUALJAIkSSREEBgoADRQQABQRNP+23NXEmy07H/XKFaf10Is1KyVLFVsMGz5OEhPoWkZOHCQemlxgIs4TnACqJJoUuhJcAgP/ngIAvk4cJBxgIBWq6l7OKR0Ex5AVnfXWTBYX6kwcHBxMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngEAsMkXBRZU3AUWFYhaR+kBqRNpESkm6SSpKmkoNYYKAooljc4oAhWlOhtaFSoWXAID/54DAxhN19Q8B7U6G1oUmhZcAgP/ngIAnTpkzBDRBUbcTBTAGVb8TBQAMSb0xcf1yBWdO11LVVtNezwbfIt0m20rZWtFizWbLaslux/13FpETBwcHPpccCLqXPsYjqgf4qokuirKKtov1M5MHAAIZwbcHAgA+hZcAgP/ngGAehWdj5VcTBWR9eRMJifqTBwQHypcYCDOJ5wBKhZcAgP/ngKAefXsTDDv5kwyL+RMHBAeTBwQHFAhil+aXgUQzDNcAs4zXAFJNY3xNCWPxpANBqJk/ooUIAY01uTcihgwBSoWXAID/54CAGqKZopRj9UQDs4ekQWPxdwMzBJpAY/OKAFaEIoYMAU6FlwCA/+eAALYTdfUPVd0CzAFEeV2NTaMJAQBihZcAgP/ngECkffkDRTEB5oWFNGNPBQDj4o3+hWeThwcHopcYCLqX2pcjiqf4BQTxt+MVpf2RR+MF9PYFZ311kwcHB5MFhfoTBYX5FAiqlzOF1wCTBwcHrpezhdcAKsaXAID/54CgEHE9MkXBRWUzUT3BMbcHAgAZ4ZMHAAI+hZcAgP/ngOALhWIWkfpQalTaVEpZulkqWppaClv6S2pM2kxKTbpNKWGCgLdXQUkZcZOH94QBRYbeotym2srYztbS1NbS2tDezuLM5srqyO7GPs6XAID/54DAnaE5DcE3ZwlgEweHDhxDt0aAQCOi9gC3Bv3//Rb1j8Fm1Y8cwxU5Bc23JwtgN0fYUJOGh8ETBxeqmMIThgfAIyAGACOgBgCThgfCmMKTh8fBmEM3BgQAUY+YwyOgBgC3R4BAN3eBQJOHBwATBwe7IaAjoAcAkQfj7ef+RTuRRWgIdTllM7f3gECThweyIWc+lyMg9wi3B4BAN0mAQJOHhw4jIPkAt3mBQEU+EwkJAJOJCbJjBgUQtwcBYBMHEAIjpOcKhUVFRZcAgP/ngOD2twWAQAFGk4UFAEVFlwCA/+eAIPi39wBgEUeYyzcFAgCXAID/54Bg97cXCWCIX4FFt8SAQHGJYRUTNRUAlwCA/+eAIJ/BZ/0XEwcAEIVmQWa3BQABAUWThEQBt0qAQA1qlwCA/+eA4JQTi0oBJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OB5whRR2OP5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1Hk5oUVIEG02g8c7AAPHKwCiB9mPEWdBB2N09wQTBbANET4TBcANOTYTBeAOITaFOUG3twWAQAFGk4WFAxVFlwCA/+eAIOk3BwBgXEcTBQACk+cXEFzHMbfJRyMT8QJNtwPHGwDRRmPn5gKFRmPm5gABTBME8A+FqHkXE3f3D8lG4+jm/rd2gUAKB5OGRrs2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj6+YIt3aBQAoHk4YGwDaXGEMChxMHQAJjmOcQAtQdRAFFnTQBRU086TbhNqFFSBB9FMk8dfQBTAFEE3X0D2k8E3X8D1E8dTbjHgTqg8cbAElHY2j3MAlH43b36vUXk/f3Dz1H42D36jd3gUCKBxMHB8G6l5xDgocFRJ3rcBCBRQFFl/B//+eAIHEd4dFFaBCVPAFEMagFRIHvl/B//+eA4HYzNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X37/CfhX3xwWwinP0cfX0zBYxAVdyzd5UBlePBbDMFjEBj5owC/XwzBYxAVdAxgZfwf//ngGBzVflmlPW3MYGX8H//54BgclXxapTRt0GBl/B//+eAoHFR+TMElEHBtyFH44nn8AFMEwQADDG3QUfNv0FHBUTjnOf2g6XLAAOliwDdMrG/QUcFROOS5/YDpwsBkWdj6uceg6VLAQOliwDv8N+ANb9BRwVE45Ln9IOnCwERZ2Nq9xwDp8sAg6VLAQOliwAzhOcC7/BP/iOsBAAjJIqwMbcDxwQAYwMHFAOniwDBFxMEAAxjE/cAwEgBR5MG8A5jRvcCg8dbAAPHSwABTKIH2Y8Dx2sAQgddj4PHewDiB9mP44H25hMEEAypvTOG6wADRoYBBQexjuG3g8cEAP3H3ERjnQcUwEgjgAQAfbVhR2OW5wKDp8sBA6eLAYOmSwEDpgsBg6XLAAOliwCX8H//54AgYiqMMzSgACm1AUwFRBG1EUcFROOa5+a3lwBgtF9ld30XBWb5jtGOA6WLALTftFeBRfmO0Y601/Rf+Y7RjvTf9FN1j1GP+NOX8H//54BAZSm9E/f3AOMVB+qT3EcAE4SLAAFMfV3jdJzbSESX8H//54DARxhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHpbVBRwVE45fn3oOniwADp0sBIyj5ACMm6QB1u4MlyQDBF5Hlic8BTBMEYAyJuwMnCQFjZvcGE/c3AOMZB+IDKAkBAUYBRzMF6ECzhuUAY2n3AOMEBtIjKKkAIybZADG7M4brABBOEQeQwgVG6b8hRwVE45Hn2AMkCQEZwBMEgAwjKAkAIyYJADM0gAClswFMEwQgDO2xAUwTBIAMzbEBTBMEkAzpuRMHIA1jg+cMEwdADeOb57gDxDsAg8crACIEXYyX8H//54AgSAOsxABBFGNzhAEijOMJDLbAQGKUMYCcSGNV8ACcRGNb9Arv8I/Ldd3IQGKGk4WLAZfwf//ngCBEAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwf//ngABDJbYJZRMFBXEDrMsAA6SLAJfwf//ngEAytwcAYNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwf//ngKAzEwWAPpfwf//ngOAu6byDpksBA6YLAYOlywADpYsA7/DP+9G0g8U7AIPHKwAThYsBogXdjcEV7/Bv1XW07/DPxD2/A8Q7AIPHKwATjIsBIgRdjNxEQRTN45FHhUtj/4cIkweQDNzIQbQDpw0AItAFSLOH7EA+1oMnirBjc/QADUhCxjrE7/BPwCJHMkg3xYBA4oV8EJOGSgEQEBMFxQKX8H//54BAMTf3gECTCEcBglcDp4iwg6UNAB2MHY8+nLJXI6TosKqLvpUjoL0Ak4dKAZ2NAcWhZ2OX9QBahe/wD8sjoG0BCcTcRJnD409w92PfCwCTB3AMvbeFS7d9gUC3zIBAk40Nu5OMTAHpv+OdC5zcROOKB5yTB4AMqbeDp4sA45MHnO/wD9MJZRMFBXGX8H//54BAHO/wj86X8H//54AAIVWyA6TLAOMPBJjv8I/QEwWAPpfwf//ngOAZ7/AvzAKUUbLv8K/L9lBmVNZURlm2WSZalloGW/ZLZkzWTEZNtk0JYYKA",c=1082130432,s="FECAQHQKgEDECoBAHAuAQOoLgEBWDIBABAyAQEAJgECmC4BA5guAQDALgEDwCIBAZAuAQPAIgEBOCoBAlAqAQMQKgEAcC4BAYAqAQKQJgEDUCYBAXAqAQK4OgEDECoBAbg2AQGYOgEAwCIBAjg6AQDAIgEAwCIBAMAiAQDAIgEAwCIBAMAiAQDAIgEAwCIBACg2AQDAIgECMDYBAZg6AQA==",C=1082223536,T=1082146816,R={entry:w,text:M,text_start:c,data:s,data_start:C,bss_start:T};class U extends _{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C61",this.IMAGE_CHIP_ID=20,this.CHIP_DETECT_MAGIC_VALUE=[871374959,606167151],this.TEXT_START=R.text_start,this.ENTRY=R.entry,this.DATA_START=R.data_start,this.ROM_DATA=R.data,this.ROM_TEXT=R.text,this.UART_DATE_REG_ADDR=1610612860,this.EFUSE_BASE=1611352064,this.EFUSE_BLOCK1_ADDR=this.EFUSE_BASE+68,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.EFUSE_RD_REG_BASE=this.EFUSE_BASE+48,this.EFUSE_PURPOSE_KEY0_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY0_SHIFT=0,this.EFUSE_PURPOSE_KEY1_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY1_SHIFT=4,this.EFUSE_PURPOSE_KEY2_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY2_SHIFT=8,this.EFUSE_PURPOSE_KEY3_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY3_SHIFT=12,this.EFUSE_PURPOSE_KEY4_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY4_SHIFT=16,this.EFUSE_PURPOSE_KEY5_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY5_SHIFT=20,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_REG=this.EFUSE_RD_REG_BASE,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT=1<<20,this.EFUSE_SPI_BOOT_CRYPT_CNT_REG=this.EFUSE_BASE+48,this.EFUSE_SPI_BOOT_CRYPT_CNT_MASK=7<<23,this.EFUSE_SECURE_BOOT_EN_REG=this.EFUSE_BASE+52,this.EFUSE_SECURE_BOOT_EN_MASK=1<<26,this.FLASH_FREQUENCY={"80m":15,"40m":0,"20m":2},this.MEMORY_MAP=[[0,65536,"PADDING"],[1098907648,1107296256,"DROM"],[1082130432,1082523648,"DRAM"],[1082130432,1082523648,"BYTE_ACCESSIBLE"],[1074048e3,1074069504,"DROM_MASK"],[1073741824,1074048e3,"IROM_MASK"],[1090519040,1098907648,"IROM"],[1082130432,1082523648,"IRAM"],[1342177280,1342193664,"RTC_IRAM"],[1342177280,1342193664,"RTC_DRAM"],[1611653120,1611661312,"MEM_INTERNAL2"]],this.UF2_FAMILY_ID=2010665156,this.EFUSE_MAX_KEY=5,this.KEY_PURPOSES={0:"USER/EMPTY",1:"ECDSA_KEY",2:"XTS_AES_256_KEY_1",3:"XTS_AES_256_KEY_2",4:"XTS_AES_128_KEY",5:"HMAC_DOWN_ALL",6:"HMAC_DOWN_JTAG",7:"HMAC_DOWN_DIGITAL_SIGNATURE",8:"HMAC_UP",9:"SECURE_BOOT_DIGEST0",10:"SECURE_BOOT_DIGEST1",11:"SECURE_BOOT_DIGEST2",12:"KM_INIT_KEY",13:"XTS_AES_256_KEY_1_PSRAM",14:"XTS_AES_256_KEY_2_PSRAM",15:"XTS_AES_128_KEY_PSRAM"}}async getPkgVersion(E){return await E.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>26&7}async getMinorChipVersion(E){return await E.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>0&15}async getMajorChipVersion(E){return await E.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>4&3}async getChipDescription(E){const B=await this.getPkgVersion(E);let t;B===0?t="ESP32-C61":t="unknown ESP32-C61";const A=await this.getMajorChipVersion(E),g=await this.getMinorChipVersion(E);return`${t} (revision v${A}.${g})`}async getChipFeatures(E){return["WiFi 6","BT 5"]}async readMac(E){let B=await E.readReg(this.MAC_EFUSE_REG);B=B>>>0;let t=await E.readReg(this.MAC_EFUSE_REG+4);t=t>>>0&65535;const A=new Uint8Array(6);return A[0]=t>>8&255,A[1]=t&255,A[2]=B>>24&255,A[3]=B>>16&255,A[4]=B>>8&255,A[5]=B&255,this._d2h(A[0])+":"+this._d2h(A[1])+":"+this._d2h(A[2])+":"+this._d2h(A[3])+":"+this._d2h(A[4])+":"+this._d2h(A[5])}}export{U as ESP32C61ROM}; +import{ESP32C6ROM as _}from"./esp32c6-88vftfBr.js";import"./rom-Caghk6Eh.js";const t=1082132164,M="QREixCbCBsa39wBgEUc3RIBA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDdJgEAmylLEBs4izLcEAGB9WhMJCQDATBN09A8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLd1gUBBEZOFhboGxmE/Y0UFBrd3gUCThweyA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI394BAEwcHsqFnupcDpgcItzaBQLd3gUCThweyk4YGtmMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3xIBAkwdEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwREAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEzj9sABMFRP+XAID/54Cg86qHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwVE/9WPHMeyRZcAgP/ngCDxMzWgAPJAYkQFYYKAQRG3x4BABsaTh0cBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDfEgECTB0QBJsrER07GBs5KyKqJEwREAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Ag5BN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54CA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbdHgECThwcA1EOZzjdnCWATB4cOHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxibCIsSqhJcAgP/ngKDJWTcNyTdHgECTBgcAg9eGABMEBwCFB8IHwYMjlPYAkwYADGOG1AATB+ADY3X3AG03IxQEALJAIkSSREEBgoBBEQbGEwcADGMa5QATBbANRTcTBcANskBBAVm/EwewDeMb5f5xNxMF0A31t0ERIsQmwgbGKoSzBLUAYxeUALJAIkSSREEBgoADRQQABQRNP+23NXEmy07H/XKFaf10Is1KyVLFVsMGz5OEhPoWkZOHCQemlxgIs4TnACqJJoUuhJcAgP/ngIAvk4cJBxgIBWq6l7OKR0Ex5AVnfXWTBYX6kwcHBxMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngEAsMkXBRZU3AUWFYhaR+kBqRNpESkm6SSpKmkoNYYKAooljc4oAhWlOhtaFSoWXAID/54DAxhN19Q8B7U6G1oUmhZcAgP/ngIAnTpkzBDRBUbcTBTAGVb8TBQAMSb0xcf1yBWdO11LVVtNezwbfIt0m20rZWtFizWbLaslux/13FpETBwcHPpccCLqXPsYjqgf4qokuirKKtov1M5MHAAIZwbcHAgA+hZcAgP/ngGAehWdj5VcTBWR9eRMJifqTBwQHypcYCDOJ5wBKhZcAgP/ngKAefXsTDDv5kwyL+RMHBAeTBwQHFAhil+aXgUQzDNcAs4zXAFJNY3xNCWPxpANBqJk/ooUIAY01uTcihgwBSoWXAID/54CAGqKZopRj9UQDs4ekQWPxdwMzBJpAY/OKAFaEIoYMAU6FlwCA/+eAALYTdfUPVd0CzAFEeV2NTaMJAQBihZcAgP/ngECkffkDRTEB5oWFNGNPBQDj4o3+hWeThwcHopcYCLqX2pcjiqf4BQTxt+MVpf2RR+MF9PYFZ311kwcHB5MFhfoTBYX5FAiqlzOF1wCTBwcHrpezhdcAKsaXAID/54CgEHE9MkXBRWUzUT3BMbcHAgAZ4ZMHAAI+hZcAgP/ngOALhWIWkfpQalTaVEpZulkqWppaClv6S2pM2kxKTbpNKWGCgLdXQUkZcZOH94QBRYbeotym2srYztbS1NbS2tDezuLM5srqyO7GPs6XAID/54DAnaE5DcE3ZwlgEweHDhxDt0aAQCOi9gC3Bv3//Rb1j8Fm1Y8cwxU5Bc23JwtgN0fYUJOGh8ETBxeqmMIThgfAIyAGACOgBgCThgfCmMKTh8fBmEM3BgQAUY+YwyOgBgC3R4BAN3eBQJOHBwATBwe7IaAjoAcAkQfj7ef+RTuRRWgIdTllM7f3gECThweyIWc+lyMg9wi3B4BAN0mAQJOHhw4jIPkAt3mBQEU+EwkJAJOJCbJjBgUQtwcBYBMHEAIjpOcKhUVFRZcAgP/ngOD2twWAQAFGk4UFAEVFlwCA/+eAIPi39wBgEUeYyzcFAgCXAID/54Bg97cXCWCIX4FFt8SAQHGJYRUTNRUAlwCA/+eAIJ/BZ/0XEwcAEIVmQWa3BQABAUWThEQBt0qAQA1qlwCA/+eA4JQTi0oBJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OB5whRR2OP5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1Hk5oUVIEG02g8c7AAPHKwCiB9mPEWdBB2N09wQTBbANET4TBcANOTYTBeAOITaFOUG3twWAQAFGk4WFAxVFlwCA/+eAIOk3BwBgXEcTBQACk+cXEFzHMbfJRyMT8QJNtwPHGwDRRmPn5gKFRmPm5gABTBME8A+FqHkXE3f3D8lG4+jm/rd2gUAKB5OGRrs2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj6+YIt3aBQAoHk4YGwDaXGEMChxMHQAJjmOcQAtQdRAFFnTQBRU086TbhNqFFSBB9FMk8dfQBTAFEE3X0D2k8E3X8D1E8dTbjHgTqg8cbAElHY2j3MAlH43b36vUXk/f3Dz1H42D36jd3gUCKBxMHB8G6l5xDgocFRJ3rcBCBRQFFl/B//+eAIHEd4dFFaBCVPAFEMagFRIHvl/B//+eA4HYzNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X37/CfhX3xwWwinP0cfX0zBYxAVdyzd5UBlePBbDMFjEBj5owC/XwzBYxAVdAxgZfwf//ngGBzVflmlPW3MYGX8H//54BgclXxapTRt0GBl/B//+eAoHFR+TMElEHBtyFH44nn8AFMEwQADDG3QUfNv0FHBUTjnOf2g6XLAAOliwDdMrG/QUcFROOS5/YDpwsBkWdj6uceg6VLAQOliwDv8N+ANb9BRwVE45Ln9IOnCwERZ2Nq9xwDp8sAg6VLAQOliwAzhOcC7/BP/iOsBAAjJIqwMbcDxwQAYwMHFAOniwDBFxMEAAxjE/cAwEgBR5MG8A5jRvcCg8dbAAPHSwABTKIH2Y8Dx2sAQgddj4PHewDiB9mP44H25hMEEAypvTOG6wADRoYBBQexjuG3g8cEAP3H3ERjnQcUwEgjgAQAfbVhR2OW5wKDp8sBA6eLAYOmSwEDpgsBg6XLAAOliwCX8H//54AgYiqMMzSgACm1AUwFRBG1EUcFROOa5+a3lwBgtF9ld30XBWb5jtGOA6WLALTftFeBRfmO0Y601/Rf+Y7RjvTf9FN1j1GP+NOX8H//54BAZSm9E/f3AOMVB+qT3EcAE4SLAAFMfV3jdJzbSESX8H//54DARxhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHpbVBRwVE45fn3oOniwADp0sBIyj5ACMm6QB1u4MlyQDBF5Hlic8BTBMEYAyJuwMnCQFjZvcGE/c3AOMZB+IDKAkBAUYBRzMF6ECzhuUAY2n3AOMEBtIjKKkAIybZADG7M4brABBOEQeQwgVG6b8hRwVE45Hn2AMkCQEZwBMEgAwjKAkAIyYJADM0gAClswFMEwQgDO2xAUwTBIAMzbEBTBMEkAzpuRMHIA1jg+cMEwdADeOb57gDxDsAg8crACIEXYyX8H//54AgSAOsxABBFGNzhAEijOMJDLbAQGKUMYCcSGNV8ACcRGNb9Arv8I/Ldd3IQGKGk4WLAZfwf//ngCBEAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwf//ngABDJbYJZRMFBXEDrMsAA6SLAJfwf//ngEAytwcAYNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwf//ngKAzEwWAPpfwf//ngOAu6byDpksBA6YLAYOlywADpYsA7/DP+9G0g8U7AIPHKwAThYsBogXdjcEV7/Bv1XW07/DPxD2/A8Q7AIPHKwATjIsBIgRdjNxEQRTN45FHhUtj/4cIkweQDNzIQbQDpw0AItAFSLOH7EA+1oMnirBjc/QADUhCxjrE7/BPwCJHMkg3xYBA4oV8EJOGSgEQEBMFxQKX8H//54BAMTf3gECTCEcBglcDp4iwg6UNAB2MHY8+nLJXI6TosKqLvpUjoL0Ak4dKAZ2NAcWhZ2OX9QBahe/wD8sjoG0BCcTcRJnD409w92PfCwCTB3AMvbeFS7d9gUC3zIBAk40Nu5OMTAHpv+OdC5zcROOKB5yTB4AMqbeDp4sA45MHnO/wD9MJZRMFBXGX8H//54BAHO/wj86X8H//54AAIVWyA6TLAOMPBJjv8I/QEwWAPpfwf//ngOAZ7/AvzAKUUbLv8K/L9lBmVNZURlm2WSZalloGW/ZLZkzWTEZNtk0JYYKA",c=1082130432,C="FECAQHQKgEDECoBAHAuAQOoLgEBWDIBABAyAQEAJgECmC4BA5guAQDALgEDwCIBAZAuAQPAIgEBOCoBAlAqAQMQKgEAcC4BAYAqAQKQJgEDUCYBAXAqAQK4OgEDECoBAbg2AQGYOgEAwCIBAjg6AQDAIgEAwCIBAMAiAQDAIgEAwCIBAMAiAQDAIgEAwCIBACg2AQDAIgECMDYBAZg6AQA==",T=1082223536,g={entry:t,text:M,text_start:c,data:C,data_start:T};class D extends _{constructor(){super(...arguments),this.CHIP_NAME="ESP32-C61",this.IMAGE_CHIP_ID=20,this.CHIP_DETECT_MAGIC_VALUE=[871374959,606167151],this.TEXT_START=g.text_start,this.ENTRY=g.entry,this.DATA_START=g.data_start,this.ROM_DATA=g.data,this.ROM_TEXT=g.text,this.UART_DATE_REG_ADDR=1610612860,this.EFUSE_BASE=1611352064,this.EFUSE_BLOCK1_ADDR=this.EFUSE_BASE+68,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.EFUSE_RD_REG_BASE=this.EFUSE_BASE+48,this.EFUSE_PURPOSE_KEY0_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY0_SHIFT=0,this.EFUSE_PURPOSE_KEY1_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY1_SHIFT=4,this.EFUSE_PURPOSE_KEY2_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY2_SHIFT=8,this.EFUSE_PURPOSE_KEY3_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY3_SHIFT=12,this.EFUSE_PURPOSE_KEY4_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY4_SHIFT=16,this.EFUSE_PURPOSE_KEY5_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY5_SHIFT=20,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_REG=this.EFUSE_RD_REG_BASE,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT=1<<20,this.EFUSE_SPI_BOOT_CRYPT_CNT_REG=this.EFUSE_BASE+48,this.EFUSE_SPI_BOOT_CRYPT_CNT_MASK=7<<23,this.EFUSE_SECURE_BOOT_EN_REG=this.EFUSE_BASE+52,this.EFUSE_SECURE_BOOT_EN_MASK=1<<26,this.FLASH_FREQUENCY={"80m":15,"40m":0,"20m":2},this.MEMORY_MAP=[[0,65536,"PADDING"],[1098907648,1107296256,"DROM"],[1082130432,1082523648,"DRAM"],[1082130432,1082523648,"BYTE_ACCESSIBLE"],[1074048e3,1074069504,"DROM_MASK"],[1073741824,1074048e3,"IROM_MASK"],[1090519040,1098907648,"IROM"],[1082130432,1082523648,"IRAM"],[1342177280,1342193664,"RTC_IRAM"],[1342177280,1342193664,"RTC_DRAM"],[1611653120,1611661312,"MEM_INTERNAL2"]],this.UF2_FAMILY_ID=2010665156,this.EFUSE_MAX_KEY=5,this.KEY_PURPOSES={0:"USER/EMPTY",1:"ECDSA_KEY",2:"XTS_AES_256_KEY_1",3:"XTS_AES_256_KEY_2",4:"XTS_AES_128_KEY",5:"HMAC_DOWN_ALL",6:"HMAC_DOWN_JTAG",7:"HMAC_DOWN_DIGITAL_SIGNATURE",8:"HMAC_UP",9:"SECURE_BOOT_DIGEST0",10:"SECURE_BOOT_DIGEST1",11:"SECURE_BOOT_DIGEST2",12:"KM_INIT_KEY",13:"XTS_AES_256_KEY_1_PSRAM",14:"XTS_AES_256_KEY_2_PSRAM",15:"XTS_AES_128_KEY_PSRAM"}}async getPkgVersion(E){return await E.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>26&7}async getMinorChipVersion(E){return await E.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>0&15}async getMajorChipVersion(E){return await E.readReg(this.EFUSE_BLOCK1_ADDR+4*2)>>4&3}async getChipDescription(E){const B=await this.getPkgVersion(E);let R;B===0?R="ESP32-C61":R="unknown ESP32-C61";const A=await this.getMajorChipVersion(E),w=await this.getMinorChipVersion(E);return`${R} (revision v${A}.${w})`}async getChipFeatures(E){return["WiFi 6","BT 5"]}async readMac(E){let B=await E.readReg(this.MAC_EFUSE_REG);B=B>>>0;let R=await E.readReg(this.MAC_EFUSE_REG+4);R=R>>>0&65535;const A=new Uint8Array(6);return A[0]=R>>8&255,A[1]=R&255,A[2]=B>>24&255,A[3]=B>>16&255,A[4]=B>>8&255,A[5]=B&255,this._d2h(A[0])+":"+this._d2h(A[1])+":"+this._d2h(A[2])+":"+this._d2h(A[3])+":"+this._d2h(A[4])+":"+this._d2h(A[5])}}export{D as ESP32C61ROM}; diff --git a/contrib/data/www/web/assets/esp32h2-Cf8JbGZQ.js b/contrib/data/www/web/assets/esp32h2-CCJRrESJ.js similarity index 98% rename from contrib/data/www/web/assets/esp32h2-Cf8JbGZQ.js rename to contrib/data/www/web/assets/esp32h2-CCJRrESJ.js index 25583124..820dafbb 100644 --- a/contrib/data/www/web/assets/esp32h2-Cf8JbGZQ.js +++ b/contrib/data/www/web/assets/esp32h2-CCJRrESJ.js @@ -1 +1 @@ -import{R as g}from"./rom-Caghk6Eh.js";const t=1082132112,F="QREixCbCBsa39wBgEUc3BINA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDcJg0AmylLEBs4izLcEAGB9WhMJCQDATBN09A8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc1hEBBEZOFRboGxmE/Y0UFBrc3hECTh8exA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t4NAEwfHsaFnupcDpgcIt/aDQLc3hECTh8exk4bGtWMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3hINAkwcEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwQEAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEhUBsABMFBP+XAID/54Ag8qqHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwUE/9WPHMeyRZcAgP/ngKDvMzWgAPJAYkQFYYKAQRG3h4NABsaThwcBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDeEg0CTBwQBJsrER07GBs5KyKqJEwQEAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Cg4hN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54BA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbcHg0CThwcA1EOZzjdnCWATB8cQHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxpcAgP/ngEDKcTcBxbJAQQHZv7JAQQGCgEERBsYTBwAMYxrlABMFsA3RPxMFwA2yQEEB6bcTB7AN4xvl/sE3EwXQDfW3QREixCbCBsYqhLMEtQBjF5QAskAiRJJEQQGCgANFBAAFBE0/7bc1cSbLTsf9coVp/XQizUrJUsVWwwbPk4SE+haRk4cJB6aXGAizhOcAKokmhS6ElwCA/+eAgCyThwkHGAgFarqXs4pHQTHkBWd9dZMFhfqTBwcHEwWF+RQIqpczhdcAkwcHB66Xs4XXACrGlwCA/+eAQCkyRcFFlTcBRYViFpH6QGpE2kRKSbpJKkqaSg1hgoCiiWNzigCFaU6G1oVKhZcAgP/ngIDIE3X1DwHtTobWhSaFlwCA/+eAgCROmTMENEFRtxMFMAZVvxMFAAzZtTFx/XIFZ07XUtVW017PBt8i3SbbStla0WLNZstqyW7H/XcWkRMHBwc+lxwIupc+xiOqB/iqiS6Ksoq2iwU1kwcAAhnBtwcCAD6FlwCA/+eAIB2FZ2PlVxMFZH15EwmJ+pMHBAfKlxgIM4nnAEqFlwCA/+eAoBt9exMMO/mTDIv5EwcEB5MHBAcUCGKX5peBRDMM1wCzjNcAUk1jfE0JY/GkA0GomT+ihQgBjTW5NyKGDAFKhZcAgP/ngIAXopmilGP1RAOzh6RBY/F3AzMEmkBj84oAVoQihgwBToWXAID/54DAtxN19Q9V3QLMAUR5XY1NowkBAGKFlwCA/+eAgKd9+QNFMQHmhVE8Y08FAOPijf6FZ5OHBweilxgIupfalyOKp/gFBPG34xWl/ZFH4wX09gVnfXWTBwcHkwWF+hMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngKANcT0yRcFFZTNRPdU5twcCABnhkwcAAj6FlwCA/+eAoAqFYhaR+lBqVNpUSlm6WSpamloKW/pLakzaTEpNuk0pYYKAt1dBSRlxk4f3hAFFht6i3KbaytjO1tLU1tLa0N7O4szmyurI7sY+zpcAgP/ngMCgcTENwTdnCWATB8cQHEO3BoNAI6L2ALcG/f/9FvWPwWbVjxzDpTEFzbcnC2A3R9hQk4bHwRMHF6qYwhOGB8AjIAYAI6AGAJOGR8KYwpOHB8KYQzcGBABRj5jDI6AGALcHg0A3N4RAk4cHABMHx7ohoCOgBwCRB+Pt5/5FO5FFaAh1OWUzt7eDQJOHx7EhZz6XIyD3CLcHgEA3CYNAk4eHDiMg+QC3OYRA1TYTCQkAk4nJsWMHBRC3BwFgRUcjqucIhUVFRZcAgP/ngAD2twWAQAFGk4UFAEVFlwCA/+eAAPc39wBgHEs3BQIAk+dHABzLlwCA/+eAAPa3FwlgiF+BRbeEg0BxiWEVEzUVAJcAgP/ngICgwWf9FxMHABCFZkFmtwUAAQFFk4QEAbcKg0ANapcAgP/ngICWE4sKASaag6fJCPXfg6vJCIVHI6YJCCMC8QKDxxsACUcjE+ECowLxAgLUTUdjgecIUUdjj+cGKUdjn+cAg8c7AAPHKwCiB9mPEUdjlucAg6eLAJxDPtRxOaFFSBBlNoPHOwADxysAogfZjxFnQQdjdPcEEwWwDZk2EwXADYE2EwXgDi0+vTFBt7cFgEABRpOFhQMVRZcAgP/ngMDnNwcAYFxHEwUAApPnFxBcxzG3yUcjE/ECTbcDxxsA0UZj5+YChUZj5uYAAUwTBPAPhah5FxN39w/JRuPo5v63NoRACgeThga7NpcYQwKHkwYHA5P29g8RRuNp1vwTB/cCE3f3D41GY+vmCLc2hEAKB5OGxr82lxhDAocTB0ACY5jnEALUHUQBRWE8AUVFPOE22TahRUgQfRTBPHX0AUwBRBN19A9hPBN1/A9JPG024x4E6oPHGwBJR2Nj9y4JR+N29+r1F5P39w89R+Ng9+o3N4RAigcTB8fAupecQ4KHBUSd63AQgUUBRZfwf//ngAB0HeHRRWgQjTwBRDGoBUSB75fwf//ngIB4MzSgACmgIUdjhecABUQBTGG3A6yLAAOkywCzZ4wA0gf19+/wv4h98cFsIpz9HH19MwWMQFXcs3eVAZXjwWwzBYxAY+aMAv18MwWMQFXQMYGX8H//54AAdVX5ZpT1tzGBl/B//+eAAHRV8WqU0bdBgZfwf//ngEBzUfkzBJRBwbchR+OJ5/ABTBMEAAwxt0FHzb9BRwVE45zn9oOlywADpYsA1TKxv0FHBUTjkuf2A6cLAZFnY+XnHIOlSwEDpYsA7/D/gzW/QUcFROOS5/SDpwsBEWdjZfcaA6fLAIOlSwEDpYsAM4TnAu/wf4EjrAQAIySKsDG3A8cEAGMOBxADp4sAwRcTBAAMYxP3AMBIAUeTBvAOY0b3AoPHWwADx0sAAUyiB9mPA8drAEIHXY+Dx3sA4gfZj+OB9uYTBBAMqb0zhusAA0aGAQUHsY7ht4PHBADxw9xEY5gHEsBII4AEAH21YUdjlucCg6fLAQOniwGDpksBA6YLAYOlywADpYsAl/B//+eAwGMqjDM0oAAptQFMBUQRtRFHBUTjmufmA6WLAIFFl/B//+eAQGmRtRP39wDjGgfsk9xHABOEiwABTH1d43mc3UhEl/B//+eAwE0YRFRAEED5jmMHpwEcQhNH9/99j9mOFMIFDEEE2b8RR0m9QUcFROOc5+CDp4sAA6dLASMm+QAjJOkA3bODJYkAwReR5YnPAUwTBGAMtbsDJ8kAY2b3BhP3NwDjHgfkAyjJAAFGAUczBehAs4blAGNp9wDjCQbUIyapACMk2QCZszOG6wAQThEHkMIFRum/IUcFROOW59oDJMkAGcATBIAMIyYJACMkCQAzNIAASbsBTBMEIAwRuwFMEwSADDGzAUwTBJAMEbMTByANY4PnDBMHQA3jkOe8A8Q7AIPHKwAiBF2Ml/B//+eAYEwDrMQAQRRjc4QBIozjDgy4wEBilDGAnEhjVfAAnERjW/QK7/BP0XXdyEBihpOFiwGX8H//54BgSAHFkwdADNzI3EDil9zA3ESzh4dB3MSX8H//54BAR4m+CWUTBQVxA6zLAAOkiwCX8H//54BAOLcHAGDYS7cGAAHBFpNXRwESB3WPvYvZj7OHhwMBRbPVhwKX8H//54BgORMFgD6X8H//54DgNBG2g6ZLAQOmCwGDpcsAA6WLAO/wT/79tIPFOwCDxysAE4WLAaIF3Y3BFe/wL9vZvO/wj8o9vwPEOwCDxysAE4yLASIEXYzcREEUzeORR4VLY/+HCJMHkAzcyG20A6cNACLQBUizh+xAPtaDJ4qwY3P0AA1IQsY6xO/wD8YiRzJIN4WDQOKFfBCThgoBEBATBYUCl/B//+eAwDY3t4NAkwgHAYJXA6eIsIOlDQAdjB2PPpyyVyOk6LCqi76VI6C9AJOHCgGdjQHFoWdjl/UAWoXv8M/QI6BtAQnE3ESZw+NPcPdj3wsAkwdwDL23hUu3PYRAt4yDQJONzbqTjAwB6b/jkgug3ETjjweekweADKm3g6eLAOOYB57v8M/YCWUTBQVxl/B//+eAQCLv8E/Ul/B//+eAgCb5sgOkywDjBASc7/BP1hMFgD6X8H//54DgH+/w79EClH2y7/Bv0fZQZlTWVEZZtlkmWpZaBlv2S2ZM1kxGTbZNCWGCgA==",C=1082130432,R="EACDQEIKgECSCoBA6gqAQI4LgED6C4BAqAuAQA4JgEBKC4BAiguAQP4KgEC+CIBAMguAQL4IgEAcCoBAYgqAQJIKgEDqCoBALgqAQHIJgECiCYBAKgqAQFIOgECSCoBAEg2AQAoOgED+B4BAMg6AQP4HgED+B4BA/geAQP4HgED+B4BA/geAQP4HgED+B4BArgyAQP4HgEAwDYBACg6AQA==",Q=1082403756,w={entry:t,text:F,text_start:C,data:R,data_start:Q};class H extends g{constructor(){super(...arguments),this.CHIP_NAME="ESP32-H2",this.IMAGE_CHIP_ID=16,this.EFUSE_BASE=1610647552,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.USB_RAM_BLOCK=2048,this.UARTDEV_BUF_NO_USB=3,this.UARTDEV_BUF_NO=1070526796,this.TEXT_START=w.text_start,this.ENTRY=w.entry,this.DATA_START=w.data_start,this.ROM_DATA=w.data,this.ROM_TEXT=w.text}async getChipDescription(B){return this.CHIP_NAME}async getChipFeatures(B){return["BLE","IEEE802.15.4"]}async getCrystalFreq(B){return 32}_d2h(B){const A=(+B).toString(16);return A.length===1?"0"+A:A}async postConnect(B){const A=await B.readReg(this.UARTDEV_BUF_NO)&255;B.debug("In _post_connect "+A),A==this.UARTDEV_BUF_NO_USB&&(B.ESP_RAM_BLOCK=this.USB_RAM_BLOCK)}async readMac(B){let A=await B.readReg(this.MAC_EFUSE_REG);A=A>>>0;let c=await B.readReg(this.MAC_EFUSE_REG+4);c=c>>>0&65535;const E=new Uint8Array(6);return E[0]=c>>8&255,E[1]=c&255,E[2]=A>>24&255,E[3]=A>>16&255,E[4]=A>>8&255,E[5]=A&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}getEraseSize(B,A){return A}}export{H as ESP32H2ROM}; +import{R as g}from"./rom-Caghk6Eh.js";const F=1082132112,t="QREixCbCBsa39wBgEUc3BINA2Mu39ABgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDcJg0AmylLEBs4izLcEAGB9WhMJCQDATBN09A8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc1hEBBEZOFRboGxmE/Y0UFBrc3hECTh8exA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t4NAEwfHsaFnupcDpgcIt/aDQLc3hECTh8exk4bGtWMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3NwBgfEudi/X/NycAYHxLnYv1/4KAQREGxt03tzcAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3NwBgmMM3NwBgHEP9/7JAQQGCgEERIsQ3hINAkwcEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwQEAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+3NgBg2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcEhUBsABMFBP+XAID/54Ag8qqHBUWV57JHk/cHID7GiTc3NwBgHEe3BkAAEwUE/9WPHMeyRZcAgP/ngKDvMzWgAPJAYkQFYYKAQRG3h4NABsaThwcBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDeEg0CTBwQBJsrER07GBs5KyKqJEwQEAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAID/54Cg4hN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAID/54BA1gNFhQGyQHUVEzUVAEEBgoBBEQbGxTcNxbcHg0CThwcA1EOZzjdnCWATB8cQHEM3Bv3/fRbxjzcGAwDxjtWPHMOyQEEBgoBBEQbGbTcRwQ1FskBBARcDgP9nAIPMQREGxpcAgP/ngEDKcTcBxbJAQQHZv7JAQQGCgEERBsYTBwAMYxrlABMFsA3RPxMFwA2yQEEB6bcTB7AN4xvl/sE3EwXQDfW3QREixCbCBsYqhLMEtQBjF5QAskAiRJJEQQGCgANFBAAFBE0/7bc1cSbLTsf9coVp/XQizUrJUsVWwwbPk4SE+haRk4cJB6aXGAizhOcAKokmhS6ElwCA/+eAgCyThwkHGAgFarqXs4pHQTHkBWd9dZMFhfqTBwcHEwWF+RQIqpczhdcAkwcHB66Xs4XXACrGlwCA/+eAQCkyRcFFlTcBRYViFpH6QGpE2kRKSbpJKkqaSg1hgoCiiWNzigCFaU6G1oVKhZcAgP/ngIDIE3X1DwHtTobWhSaFlwCA/+eAgCROmTMENEFRtxMFMAZVvxMFAAzZtTFx/XIFZ07XUtVW017PBt8i3SbbStla0WLNZstqyW7H/XcWkRMHBwc+lxwIupc+xiOqB/iqiS6Ksoq2iwU1kwcAAhnBtwcCAD6FlwCA/+eAIB2FZ2PlVxMFZH15EwmJ+pMHBAfKlxgIM4nnAEqFlwCA/+eAoBt9exMMO/mTDIv5EwcEB5MHBAcUCGKX5peBRDMM1wCzjNcAUk1jfE0JY/GkA0GomT+ihQgBjTW5NyKGDAFKhZcAgP/ngIAXopmilGP1RAOzh6RBY/F3AzMEmkBj84oAVoQihgwBToWXAID/54DAtxN19Q9V3QLMAUR5XY1NowkBAGKFlwCA/+eAgKd9+QNFMQHmhVE8Y08FAOPijf6FZ5OHBweilxgIupfalyOKp/gFBPG34xWl/ZFH4wX09gVnfXWTBwcHkwWF+hMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAgP/ngKANcT0yRcFFZTNRPdU5twcCABnhkwcAAj6FlwCA/+eAoAqFYhaR+lBqVNpUSlm6WSpamloKW/pLakzaTEpNuk0pYYKAt1dBSRlxk4f3hAFFht6i3KbaytjO1tLU1tLa0N7O4szmyurI7sY+zpcAgP/ngMCgcTENwTdnCWATB8cQHEO3BoNAI6L2ALcG/f/9FvWPwWbVjxzDpTEFzbcnC2A3R9hQk4bHwRMHF6qYwhOGB8AjIAYAI6AGAJOGR8KYwpOHB8KYQzcGBABRj5jDI6AGALcHg0A3N4RAk4cHABMHx7ohoCOgBwCRB+Pt5/5FO5FFaAh1OWUzt7eDQJOHx7EhZz6XIyD3CLcHgEA3CYNAk4eHDiMg+QC3OYRA1TYTCQkAk4nJsWMHBRC3BwFgRUcjqucIhUVFRZcAgP/ngAD2twWAQAFGk4UFAEVFlwCA/+eAAPc39wBgHEs3BQIAk+dHABzLlwCA/+eAAPa3FwlgiF+BRbeEg0BxiWEVEzUVAJcAgP/ngICgwWf9FxMHABCFZkFmtwUAAQFFk4QEAbcKg0ANapcAgP/ngICWE4sKASaag6fJCPXfg6vJCIVHI6YJCCMC8QKDxxsACUcjE+ECowLxAgLUTUdjgecIUUdjj+cGKUdjn+cAg8c7AAPHKwCiB9mPEUdjlucAg6eLAJxDPtRxOaFFSBBlNoPHOwADxysAogfZjxFnQQdjdPcEEwWwDZk2EwXADYE2EwXgDi0+vTFBt7cFgEABRpOFhQMVRZcAgP/ngMDnNwcAYFxHEwUAApPnFxBcxzG3yUcjE/ECTbcDxxsA0UZj5+YChUZj5uYAAUwTBPAPhah5FxN39w/JRuPo5v63NoRACgeThga7NpcYQwKHkwYHA5P29g8RRuNp1vwTB/cCE3f3D41GY+vmCLc2hEAKB5OGxr82lxhDAocTB0ACY5jnEALUHUQBRWE8AUVFPOE22TahRUgQfRTBPHX0AUwBRBN19A9hPBN1/A9JPG024x4E6oPHGwBJR2Nj9y4JR+N29+r1F5P39w89R+Ng9+o3N4RAigcTB8fAupecQ4KHBUSd63AQgUUBRZfwf//ngAB0HeHRRWgQjTwBRDGoBUSB75fwf//ngIB4MzSgACmgIUdjhecABUQBTGG3A6yLAAOkywCzZ4wA0gf19+/wv4h98cFsIpz9HH19MwWMQFXcs3eVAZXjwWwzBYxAY+aMAv18MwWMQFXQMYGX8H//54AAdVX5ZpT1tzGBl/B//+eAAHRV8WqU0bdBgZfwf//ngEBzUfkzBJRBwbchR+OJ5/ABTBMEAAwxt0FHzb9BRwVE45zn9oOlywADpYsA1TKxv0FHBUTjkuf2A6cLAZFnY+XnHIOlSwEDpYsA7/D/gzW/QUcFROOS5/SDpwsBEWdjZfcaA6fLAIOlSwEDpYsAM4TnAu/wf4EjrAQAIySKsDG3A8cEAGMOBxADp4sAwRcTBAAMYxP3AMBIAUeTBvAOY0b3AoPHWwADx0sAAUyiB9mPA8drAEIHXY+Dx3sA4gfZj+OB9uYTBBAMqb0zhusAA0aGAQUHsY7ht4PHBADxw9xEY5gHEsBII4AEAH21YUdjlucCg6fLAQOniwGDpksBA6YLAYOlywADpYsAl/B//+eAwGMqjDM0oAAptQFMBUQRtRFHBUTjmufmA6WLAIFFl/B//+eAQGmRtRP39wDjGgfsk9xHABOEiwABTH1d43mc3UhEl/B//+eAwE0YRFRAEED5jmMHpwEcQhNH9/99j9mOFMIFDEEE2b8RR0m9QUcFROOc5+CDp4sAA6dLASMm+QAjJOkA3bODJYkAwReR5YnPAUwTBGAMtbsDJ8kAY2b3BhP3NwDjHgfkAyjJAAFGAUczBehAs4blAGNp9wDjCQbUIyapACMk2QCZszOG6wAQThEHkMIFRum/IUcFROOW59oDJMkAGcATBIAMIyYJACMkCQAzNIAASbsBTBMEIAwRuwFMEwSADDGzAUwTBJAMEbMTByANY4PnDBMHQA3jkOe8A8Q7AIPHKwAiBF2Ml/B//+eAYEwDrMQAQRRjc4QBIozjDgy4wEBilDGAnEhjVfAAnERjW/QK7/BP0XXdyEBihpOFiwGX8H//54BgSAHFkwdADNzI3EDil9zA3ESzh4dB3MSX8H//54BAR4m+CWUTBQVxA6zLAAOkiwCX8H//54BAOLcHAGDYS7cGAAHBFpNXRwESB3WPvYvZj7OHhwMBRbPVhwKX8H//54BgORMFgD6X8H//54DgNBG2g6ZLAQOmCwGDpcsAA6WLAO/wT/79tIPFOwCDxysAE4WLAaIF3Y3BFe/wL9vZvO/wj8o9vwPEOwCDxysAE4yLASIEXYzcREEUzeORR4VLY/+HCJMHkAzcyG20A6cNACLQBUizh+xAPtaDJ4qwY3P0AA1IQsY6xO/wD8YiRzJIN4WDQOKFfBCThgoBEBATBYUCl/B//+eAwDY3t4NAkwgHAYJXA6eIsIOlDQAdjB2PPpyyVyOk6LCqi76VI6C9AJOHCgGdjQHFoWdjl/UAWoXv8M/QI6BtAQnE3ESZw+NPcPdj3wsAkwdwDL23hUu3PYRAt4yDQJONzbqTjAwB6b/jkgug3ETjjweekweADKm3g6eLAOOYB57v8M/YCWUTBQVxl/B//+eAQCLv8E/Ul/B//+eAgCb5sgOkywDjBASc7/BP1hMFgD6X8H//54DgH+/w79EClH2y7/Bv0fZQZlTWVEZZtlkmWpZaBlv2S2ZM1kxGTbZNCWGCgA==",C=1082130432,R="EACDQEIKgECSCoBA6gqAQI4LgED6C4BAqAuAQA4JgEBKC4BAiguAQP4KgEC+CIBAMguAQL4IgEAcCoBAYgqAQJIKgEDqCoBALgqAQHIJgECiCYBAKgqAQFIOgECSCoBAEg2AQAoOgED+B4BAMg6AQP4HgED+B4BA/geAQP4HgED+B4BA/geAQP4HgED+B4BArgyAQP4HgEAwDYBACg6AQA==",Q=1082403756,w={entry:F,text:t,text_start:C,data:R,data_start:Q};class H extends g{constructor(){super(...arguments),this.CHIP_NAME="ESP32-H2",this.IMAGE_CHIP_ID=16,this.EFUSE_BASE=1610647552,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1072955412,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612860,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.USB_RAM_BLOCK=2048,this.UARTDEV_BUF_NO_USB=3,this.UARTDEV_BUF_NO=1070526796,this.TEXT_START=w.text_start,this.ENTRY=w.entry,this.DATA_START=w.data_start,this.ROM_DATA=w.data,this.ROM_TEXT=w.text}async getChipDescription(B){return this.CHIP_NAME}async getChipFeatures(B){return["BLE","IEEE802.15.4"]}async getCrystalFreq(B){return 32}_d2h(B){const A=(+B).toString(16);return A.length===1?"0"+A:A}async postConnect(B){const A=await B.readReg(this.UARTDEV_BUF_NO)&255;B.debug("In _post_connect "+A),A==this.UARTDEV_BUF_NO_USB&&(B.ESP_RAM_BLOCK=this.USB_RAM_BLOCK)}async readMac(B){let A=await B.readReg(this.MAC_EFUSE_REG);A=A>>>0;let c=await B.readReg(this.MAC_EFUSE_REG+4);c=c>>>0&65535;const E=new Uint8Array(6);return E[0]=c>>8&255,E[1]=c&255,E[2]=A>>24&255,E[3]=A>>16&255,E[4]=A>>8&255,E[5]=A&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}getEraseSize(B,A){return A}}export{H as ESP32H2ROM}; diff --git a/contrib/data/www/web/assets/esp32p4-DfBdIAkh.js b/contrib/data/www/web/assets/esp32p4-Dm_OZzC4.js similarity index 51% rename from contrib/data/www/web/assets/esp32p4-DfBdIAkh.js rename to contrib/data/www/web/assets/esp32p4-Dm_OZzC4.js index b2c7c8f6..b30b0bc4 100644 --- a/contrib/data/www/web/assets/esp32p4-DfBdIAkh.js +++ b/contrib/data/www/web/assets/esp32p4-Dm_OZzC4.js @@ -1 +1 @@ -import{ESP32ROM as F}from"./esp32-BPYaDt9v.js";import"./rom-Caghk6Eh.js";const e=1341195918,c="QREixCbCBsa3Jw1QEUc3BPVP2Mu3JA1QEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbenDFBOxoOphwBKyDcJ9U8mylLEBs4izLekDFB9WhMJCQDATBN09D8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc19k9BEZOFRboGxmE/Y0UFBrc39k+Th8exA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t/VPEwfHsaFnupcDpgcIt/b1T7c39k+Th8exk4bGtWMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc31whQfEudi/X/N8cIUHxLnYv1/4KAQREGxt03t9cIUCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC31whQmMM31whQHEP9/7JAQQGCgEERIsQ3hPVPkwcEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwQEAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+31ghQ2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcE9E9sABMFxP6XAM//54Ag86qHBUWV57JHk/cHID7GiTc31whQHEe3BkAAEwXE/tWPHMeyRZcAz//ngKDwMzWgAPJAYkQFYYKAQRG3h/VPBsaThwcBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDeE9U+TBwQBJsrER07GBs5KyKqJEwQEAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAM//54Cg4xN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAM//54BA1gNFhQGyQGkVEzUVAEEBgoBBEQbGxTcRwRlFskBBARcDz/9nAOPPQREGxibCIsSqhJcAz//ngADNdT8NyTcH9U+TBgcAg9dGABMEBwCFB8IHwYMjkvYAkwYADGOG1AATB+ADY3X3AG03IxIEALJAIkSSREEBgoBBEQbGEwcADGMa5QATBbANRTcTBcANskBBAVm/EwewDeMb5f5xNxMF0A31t0ERIsQmwgbGKoSzBLUAYxeUALJAIkSSREEBgoADRQQABQRNP+23NXEmy07H/XKFaf10Is1KyVLFVsMGz5OEhPoWkZOHCQemlxgIs4TnACqJJoUuhJcAz//ngOAZk4cJBxgIBWq6l7OKR0Ex5AVnfXWTBYX6kwcHBxMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAz//ngKAWMkXBRZU3AUWFYhaR+kBqRNpESkm6SSpKmkoNYYKAooljc4oAhWlOhtaFSoWXAM//54CgyRN19Q8B7U6G1oUmhZcAz//ngOARTpkzBDRBUbcTBTAGVb8TBQAMSb0xcf1yBWdO11LVVtNezwbfIt0m20rZWtFizWbLaslux/13FpETBwcHPpccCLqXPsYjqgf4qokuirKKtosNNZMHAAIZwbcHAgA+hZcAz//ngIAKhWdj5VcTBWR9eRMJifqTBwQHypcYCDOJ5wBKhZcAz//ngAAJfXsTDDv5kwyL+RMHBAeTBwQHFAhil+aXgUQzDNcAs4zXAFJNY3xNCWPxpANBqJk/ooUIAY01uTcihgwBSoWXAM//54DgBKKZopRj9UQDs4ekQWPxdwMzBJpAY/OKAFaEIoYMAU6FlwDP/+eA4LgTdfUPVd0CzAFEeV2NTaMJAQBihZcAz//ngKCnffkDRTEB5oVZPGNPBQDj4o3+hWeThwcHopcYCLqX2pcjiqf4BQTxt+MVpf2RR+MF9PYFZ311kwcHB5MFhfoTBYX5FAiqlzOF1wCTBwcHrpezhdcAKsaXAM//54AA+3E9MkXBRWUzUT3dObcHAgAZ4ZMHAAI+hZcAz//ngAD4hWIWkfpQalTaVEpZulkqWppaClv6S2pM2kxKTbpNKWGCgLdXQUkZcZOH94QBRYbeotym2srYztbS1NbS2tDezuLM5srqyO7GPs6XAM//54DgoHkxBcU3R9hQt2cRUBMHF6qYzyOgBwAjrAcAmNPYT7cGBABVj9jPI6AHArcH9U83N/ZPk4cHABMHx7ohoCOgBwCRB+Pt5/7VM5FFaAjFOfE7t7f1T5OHx7EhZz6XIyD3CLcH8U83CfVPk4eHDiMg+QC3OfZPKTmTicmxEwkJAGMFBRC3Zw1QEwcQArjPhUVFRZcAz//ngKDmtwXxTwFGk4UFAEVFlwDP/+eAoOe3Jw1QEUeYyzcFAgCXAM//54Dg5rcHDlCIX4FFt4T1T3GJYRUTNRUAlwDP/+eAYKXBZ/0XEwcAEIVmQWa3BQABAUWThAQBtwr1Tw1qlwDP/+eAIJsTiwoBJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OB5whRR2OP5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1NE5oUVIEMU2g8c7AAPHKwCiB9mPEWdBB2N09wQTBbANqTYTBcANkTYTBeAOPT5dMUG3twXxTwFGk4WFAxVFlwDP/+eAoNg3pwxQXEcTBQACk+cXEFzHMbfJRyMT8QJNtwPHGwDRRmPn5gKFRmPm5gABTBME8A+FqHkXE3f3D8lG4+jm/rc29k8KB5OGBrs2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj6+YItzb2TwoHk4bGvzaXGEMChxMHQAJjl+cQAtQdRAFFcTwBReU0ATH9PqFFSBB9FCE2dfQBTAFEE3X0D8E8E3X8D+k0zTbjHgTqg8cbAElHY2v3MAlH43b36vUXk/f3Dz1H42D36jc39k+KBxMHx8C6l5xDgocFRJ3rcBCBRQFFl/DO/+eAoHcd4dFFaBBtNAFEMagFRIHvl/DO/+eAIH0zNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X30TBl9cFsIpz9HH19MwWMQF3cs3eVAZXjwWwzBYxAY+aMAv18MwWMQF3QMYGX8M7/54DAeV35ZpT1tzGBl/DO/+eAwHhd8WqU0bdBgZfwzv/ngAB4WfkzBJRBwbchR+OK5/ABTBMEAAw5t0FHzb9BRwVE453n9oOlywADpYsAOTy5v0FHBUTjk+f2A6cLAZFnY+7nHoOlSwEDpYsA7/C/hz2/QUcFROOT5/SDpwsBEWdjbvccA6fLAIOlSwEDpYsAM4TnAu/wP4UjrAQAIySKsDm3A8cEAGMHBxQDp4sAwRcTBAAMYxP3AMBIAUeTBvAOY0b3AoPHWwADx0sAAUyiB9mPA8drAEIHXY+Dx3sA4gfZj+OC9uYTBBAMsb0zhusAA0aGAQUHsY7ht4PHBAD9y9xEY5EHFsBII4AEAEW9YUdjlucCg6fLAQOniwGDpksBA6YLAYOlywADpYsAl/DO/+eAgGgqjDM0oAAxtQFMBUQZtRFHBUTjm+fmtxcOUPRfZXd9FwVm+Y7RjgOliwCThQcI9N+UQfmO0Y6UwZOFRwiUQfmO0Y6UwbRfgUV1j1GPuN+X8M7/54AgaxG9E/f3AOMRB+qT3EcAE4SLAAFMfV3jcZzbSESX8M7/54AgThhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHhbVBRwVE45Tn3oOniwADp0sBIyb5ACMk6QBdu4MliQDBF5Hlic8BTBMEYAyxswMnyQBjZvcGE/c3AOMVB+IDKMkAAUYBRzMF6ECzhuUAY2n3AOMBBtIjJqkAIyTZABm7M4brABBOEQeQwgVG6b8hRwVE457n1gMkyQAZwBMEgAwjJgkAIyQJADM0gACNswFMEwQgDNWxAUwTBIAM8bkBTBMEkAzRuRMHIA1jg+cMEwdADeOY57gDxDsAg8crACIEXYyX8M7/54AATgOsxABBFGNzhAEijOMGDLbAQGKUMYCcSGNV8ACcRGNb9Arv8O/Rdd3IQGKGk4WLAZfwzv/ngABKAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwzv/ngOBIDbYJZRMFBXEDrMsAA6SLAJfwzv/ngKA4t6cMUNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwzv/ngAA6EwWAPpfwzv/ngEA10byDpksBA6YLAYOlywADpYsA7/DP/n28g8U7AIPHKwAThYsBogXdjcEV7/DP21207/Avyz2/A8Q7AIPHKwATjIsBIgRdjNxEQRTN45FHhUtj/4cIkweQDNzIrbwDpw0AItAFSLOH7EA+1oMnirBjc/QADUhCxjrE7/CvxiJHMkg3hfVP4oV8EJOGCgEQEBMFhQKX8M7/54BgNze39U+TCAcBglcDp4iwg6UNAB2MHY8+nLJXI6TosKqLvpUjoL0Ak4cKAZ2NAcWhZ2OX9QBahe/wb9EjoG0BCcTcRJnD409w92PfCwCTB3AMvbeFS7c99k+3jPVPk43NupOMDAHpv+OaC5zcROOHB5yTB4AMqbeDp4sA45AHnO/wD9YJZRMFBXGX8M7/54CgIpfwzv/ngKAnTbIDpMsA4w4EmO/wz9MTBYA+l/DO/+eAgCAClFmy9lBmVNZURlm2WSZalloGW/ZLZkzWTEZNtk0JYYKAAAA=",i=1341194240,U="EAD1TwYK8U9WCvFPrgrxT4QL8U/wC/FPngvxT9QI8U9AC/FPgAvxT8IK8U+ECPFP9grxT4QI8U/gCfFPJgrxT1YK8U+uCvFP8gnxTzgJ8U9oCfFP7gnxT0AO8U9WCvFPCA3xTwAO8U/EB/FPJA7xT8QH8U/EB/FPxAfxT8QH8U/EB/FPxAfxT8QH8U/EB/FPpAzxT8QH8U8mDfFPAA7xTw==",T=1341533100,P=1341456384,S={entry:e,text:c,text_start:i,data:U,data_start:T,bss_start:P};class w extends F{constructor(){super(...arguments),this.CHIP_NAME="ESP32-P4",this.IMAGE_CHIP_ID=18,this.IROM_MAP_START=1073741824,this.IROM_MAP_END=1275068416,this.DROM_MAP_START=1073741824,this.DROM_MAP_END=1275068416,this.BOOTLOADER_FLASH_OFFSET=8192,this.CHIP_DETECT_MAGIC_VALUE=[0,182303440],this.UART_DATE_REG_ADDR=1343004812,this.EFUSE_BASE=1343410176,this.EFUSE_BLOCK1_ADDR=this.EFUSE_BASE+68,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.SPI_REG_BASE=1342754816,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.EFUSE_RD_REG_BASE=this.EFUSE_BASE+48,this.EFUSE_PURPOSE_KEY0_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY0_SHIFT=24,this.EFUSE_PURPOSE_KEY1_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY1_SHIFT=28,this.EFUSE_PURPOSE_KEY2_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY2_SHIFT=0,this.EFUSE_PURPOSE_KEY3_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY3_SHIFT=4,this.EFUSE_PURPOSE_KEY4_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY4_SHIFT=8,this.EFUSE_PURPOSE_KEY5_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY5_SHIFT=12,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_REG=this.EFUSE_RD_REG_BASE,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT=1<<20,this.EFUSE_SPI_BOOT_CRYPT_CNT_REG=this.EFUSE_BASE+52,this.EFUSE_SPI_BOOT_CRYPT_CNT_MASK=7<<18,this.EFUSE_SECURE_BOOT_EN_REG=this.EFUSE_BASE+56,this.EFUSE_SECURE_BOOT_EN_MASK=1<<20,this.PURPOSE_VAL_XTS_AES256_KEY_1=2,this.PURPOSE_VAL_XTS_AES256_KEY_2=3,this.PURPOSE_VAL_XTS_AES128_KEY=4,this.SUPPORTS_ENCRYPTED_FLASH=!0,this.FLASH_ENCRYPTED_WRITE_ALIGN=16,this.MEMORY_MAP=[[0,65536,"PADDING"],[1073741824,1275068416,"DROM"],[1341128704,1341784064,"DRAM"],[1341128704,1341784064,"BYTE_ACCESSIBLE"],[1337982976,1338114048,"DROM_MASK"],[1337982976,1338114048,"IROM_MASK"],[1073741824,1275068416,"IROM"],[1341128704,1341784064,"IRAM"],[1343258624,1343291392,"RTC_IRAM"],[1343258624,1343291392,"RTC_DRAM"],[1611653120,1611661312,"MEM_INTERNAL2"]],this.UF2_FAMILY_ID=1026592404,this.EFUSE_MAX_KEY=5,this.KEY_PURPOSES={0:"USER/EMPTY",1:"ECDSA_KEY",2:"XTS_AES_256_KEY_1",3:"XTS_AES_256_KEY_2",4:"XTS_AES_128_KEY",5:"HMAC_DOWN_ALL",6:"HMAC_DOWN_JTAG",7:"HMAC_DOWN_DIGITAL_SIGNATURE",8:"HMAC_UP",9:"SECURE_BOOT_DIGEST0",10:"SECURE_BOOT_DIGEST1",11:"SECURE_BOOT_DIGEST2",12:"KM_INIT_KEY"},this.TEXT_START=S.text_start,this.ENTRY=S.entry,this.DATA_START=S.data_start,this.ROM_DATA=S.data,this.ROM_TEXT=S.text}async getPkgVersion(A){const s=this.EFUSE_BLOCK1_ADDR+8;return await A.readReg(s)>>27&7}async getMinorChipVersion(A){const s=this.EFUSE_BLOCK1_ADDR+8;return await A.readReg(s)>>0&15}async getMajorChipVersion(A){const s=this.EFUSE_BLOCK1_ADDR+8;return await A.readReg(s)>>4&3}async getChipDescription(A){const s=await this.getPkgVersion(A)===0?"ESP32-P4":"unknown ESP32-P4",E=await this.getMajorChipVersion(A),B=await this.getMinorChipVersion(A);return`${s} (revision v${E}.${B})`}async getChipFeatures(A){return["High-Performance MCU"]}async getCrystalFreq(A){return 40}async getFlashVoltage(A){}async overrideVddsdio(A){A.debug("VDD_SDIO overrides are not supported for ESP32-P4")}async readMac(A){let t=await A.readReg(this.MAC_EFUSE_REG);t=t>>>0;let s=await A.readReg(this.MAC_EFUSE_REG+4);s=s>>>0&65535;const E=new Uint8Array(6);return E[0]=s>>8&255,E[1]=s&255,E[2]=t>>24&255,E[3]=t>>16&255,E[4]=t>>8&255,E[5]=t&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}async getFlashCryptConfig(A){}async getSecureBootEnabled(A){return await A.readReg(this.EFUSE_SECURE_BOOT_EN_REG)&this.EFUSE_SECURE_BOOT_EN_MASK}async getKeyBlockPurpose(A,t){if(t<0||t>this.EFUSE_MAX_KEY){A.debug(`Valid key block numbers must be in range 0-${this.EFUSE_MAX_KEY}`);return}const s=[[this.EFUSE_PURPOSE_KEY0_REG,this.EFUSE_PURPOSE_KEY0_SHIFT],[this.EFUSE_PURPOSE_KEY1_REG,this.EFUSE_PURPOSE_KEY1_SHIFT],[this.EFUSE_PURPOSE_KEY2_REG,this.EFUSE_PURPOSE_KEY2_SHIFT],[this.EFUSE_PURPOSE_KEY3_REG,this.EFUSE_PURPOSE_KEY3_SHIFT],[this.EFUSE_PURPOSE_KEY4_REG,this.EFUSE_PURPOSE_KEY4_SHIFT],[this.EFUSE_PURPOSE_KEY5_REG,this.EFUSE_PURPOSE_KEY5_SHIFT]],[E,B]=s[t];return await A.readReg(E)>>B&15}async isFlashEncryptionKeyValid(A){const t=[];for(let _=0;_<=this.EFUSE_MAX_KEY;_++){const R=await this.getKeyBlockPurpose(A,_);t.push(R)}if(typeof t.find(_=>_===this.PURPOSE_VAL_XTS_AES128_KEY)!==void 0)return!0;const E=t.find(_=>_===this.PURPOSE_VAL_XTS_AES256_KEY_1),B=t.find(_=>_===this.PURPOSE_VAL_XTS_AES256_KEY_2);return typeof E!==void 0&&typeof B!==void 0}}export{w as ESP32P4ROM}; +import{ESP32ROM as F}from"./esp32-BCJodKc7.js";import"./rom-Caghk6Eh.js";const c=1341195918,e="QREixCbCBsa3Jw1QEUc3BPVP2Mu3JA1QEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbenDFBOxoOphwBKyDcJ9U8mylLEBs4izLekDFB9WhMJCQDATBN09D8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLc19k9BEZOFRboGxmE/Y0UFBrc39k+Th8exA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI3t/VPEwfHsaFnupcDpgcIt/b1T7c39k+Th8exk4bGtWMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc31whQfEudi/X/N8cIUHxLnYv1/4KAQREGxt03t9cIUCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC31whQmMM31whQHEP9/7JAQQGCgEERIsQ3hPVPkwcEAUrAA6kHAQbGJsJjCgkERTc5xb1HEwQEAYFEY9YnAQREvYiTtBQAfTeFPxxENwaAABOXxwCZ4DcGAAG39v8AdY+31ghQ2MKQwphCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswlNzcE9E9sABMFxP6XAM//54Ag86qHBUWV57JHk/cHID7GiTc31whQHEe3BkAAEwXE/tWPHMeyRZcAz//ngKDwMzWgAPJAYkQFYYKAQRG3h/VPBsaThwcBBUcjgOcAE9fFAJjHBWd9F8zDyMf5jTqVqpWxgYzLI6oHAEE3GcETBVAMskBBAYKAAREizDeE9U+TBwQBJsrER07GBs5KyKqJEwQEAWPzlQCuhKnAAylEACaZE1nJABxIY1XwABxEY175ArU9fd1IQCaGzoWXAM//54Cg4xN19Q8BxZMHQAxcyFxAppdcwFxEhY9cxPJAYkTSREJJskkFYYKAaTVtv0ERBsaXAM//54BA1gNFhQGyQGkVEzUVAEEBgoBBEQbGxTcRwRlFskBBARcDz/9nAOPPQREGxibCIsSqhJcAz//ngADNdT8NyTcH9U+TBgcAg9dGABMEBwCFB8IHwYMjkvYAkwYADGOG1AATB+ADY3X3AG03IxIEALJAIkSSREEBgoBBEQbGEwcADGMa5QATBbANRTcTBcANskBBAVm/EwewDeMb5f5xNxMF0A31t0ERIsQmwgbGKoSzBLUAYxeUALJAIkSSREEBgoADRQQABQRNP+23NXEmy07H/XKFaf10Is1KyVLFVsMGz5OEhPoWkZOHCQemlxgIs4TnACqJJoUuhJcAz//ngOAZk4cJBxgIBWq6l7OKR0Ex5AVnfXWTBYX6kwcHBxMFhfkUCKqXM4XXAJMHBweul7OF1wAqxpcAz//ngKAWMkXBRZU3AUWFYhaR+kBqRNpESkm6SSpKmkoNYYKAooljc4oAhWlOhtaFSoWXAM//54CgyRN19Q8B7U6G1oUmhZcAz//ngOARTpkzBDRBUbcTBTAGVb8TBQAMSb0xcf1yBWdO11LVVtNezwbfIt0m20rZWtFizWbLaslux/13FpETBwcHPpccCLqXPsYjqgf4qokuirKKtosNNZMHAAIZwbcHAgA+hZcAz//ngIAKhWdj5VcTBWR9eRMJifqTBwQHypcYCDOJ5wBKhZcAz//ngAAJfXsTDDv5kwyL+RMHBAeTBwQHFAhil+aXgUQzDNcAs4zXAFJNY3xNCWPxpANBqJk/ooUIAY01uTcihgwBSoWXAM//54DgBKKZopRj9UQDs4ekQWPxdwMzBJpAY/OKAFaEIoYMAU6FlwDP/+eA4LgTdfUPVd0CzAFEeV2NTaMJAQBihZcAz//ngKCnffkDRTEB5oVZPGNPBQDj4o3+hWeThwcHopcYCLqX2pcjiqf4BQTxt+MVpf2RR+MF9PYFZ311kwcHB5MFhfoTBYX5FAiqlzOF1wCTBwcHrpezhdcAKsaXAM//54AA+3E9MkXBRWUzUT3dObcHAgAZ4ZMHAAI+hZcAz//ngAD4hWIWkfpQalTaVEpZulkqWppaClv6S2pM2kxKTbpNKWGCgLdXQUkZcZOH94QBRYbeotym2srYztbS1NbS2tDezuLM5srqyO7GPs6XAM//54DgoHkxBcU3R9hQt2cRUBMHF6qYzyOgBwAjrAcAmNPYT7cGBABVj9jPI6AHArcH9U83N/ZPk4cHABMHx7ohoCOgBwCRB+Pt5/7VM5FFaAjFOfE7t7f1T5OHx7EhZz6XIyD3CLcH8U83CfVPk4eHDiMg+QC3OfZPKTmTicmxEwkJAGMFBRC3Zw1QEwcQArjPhUVFRZcAz//ngKDmtwXxTwFGk4UFAEVFlwDP/+eAoOe3Jw1QEUeYyzcFAgCXAM//54Dg5rcHDlCIX4FFt4T1T3GJYRUTNRUAlwDP/+eAYKXBZ/0XEwcAEIVmQWa3BQABAUWThAQBtwr1Tw1qlwDP/+eAIJsTiwoBJpqDp8kI9d+Dq8kIhUcjpgkIIwLxAoPHGwAJRyMT4QKjAvECAtRNR2OB5whRR2OP5wYpR2Of5wCDxzsAA8crAKIH2Y8RR2OW5wCDp4sAnEM+1NE5oUVIEMU2g8c7AAPHKwCiB9mPEWdBB2N09wQTBbANqTYTBcANkTYTBeAOPT5dMUG3twXxTwFGk4WFAxVFlwDP/+eAoNg3pwxQXEcTBQACk+cXEFzHMbfJRyMT8QJNtwPHGwDRRmPn5gKFRmPm5gABTBME8A+FqHkXE3f3D8lG4+jm/rc29k8KB5OGBrs2lxhDAoeTBgcDk/b2DxFG42nW/BMH9wITd/cPjUZj6+YItzb2TwoHk4bGvzaXGEMChxMHQAJjl+cQAtQdRAFFcTwBReU0ATH9PqFFSBB9FCE2dfQBTAFEE3X0D8E8E3X8D+k0zTbjHgTqg8cbAElHY2v3MAlH43b36vUXk/f3Dz1H42D36jc39k+KBxMHx8C6l5xDgocFRJ3rcBCBRQFFl/DO/+eAoHcd4dFFaBBtNAFEMagFRIHvl/DO/+eAIH0zNKAAKaAhR2OF5wAFRAFMYbcDrIsAA6TLALNnjADSB/X30TBl9cFsIpz9HH19MwWMQF3cs3eVAZXjwWwzBYxAY+aMAv18MwWMQF3QMYGX8M7/54DAeV35ZpT1tzGBl/DO/+eAwHhd8WqU0bdBgZfwzv/ngAB4WfkzBJRBwbchR+OK5/ABTBMEAAw5t0FHzb9BRwVE453n9oOlywADpYsAOTy5v0FHBUTjk+f2A6cLAZFnY+7nHoOlSwEDpYsA7/C/hz2/QUcFROOT5/SDpwsBEWdjbvccA6fLAIOlSwEDpYsAM4TnAu/wP4UjrAQAIySKsDm3A8cEAGMHBxQDp4sAwRcTBAAMYxP3AMBIAUeTBvAOY0b3AoPHWwADx0sAAUyiB9mPA8drAEIHXY+Dx3sA4gfZj+OC9uYTBBAMsb0zhusAA0aGAQUHsY7ht4PHBAD9y9xEY5EHFsBII4AEAEW9YUdjlucCg6fLAQOniwGDpksBA6YLAYOlywADpYsAl/DO/+eAgGgqjDM0oAAxtQFMBUQZtRFHBUTjm+fmtxcOUPRfZXd9FwVm+Y7RjgOliwCThQcI9N+UQfmO0Y6UwZOFRwiUQfmO0Y6UwbRfgUV1j1GPuN+X8M7/54AgaxG9E/f3AOMRB+qT3EcAE4SLAAFMfV3jcZzbSESX8M7/54AgThhEVEAQQPmOYwenARxCE0f3/32P2Y4UwgUMQQTZvxFHhbVBRwVE45Tn3oOniwADp0sBIyb5ACMk6QBdu4MliQDBF5Hlic8BTBMEYAyxswMnyQBjZvcGE/c3AOMVB+IDKMkAAUYBRzMF6ECzhuUAY2n3AOMBBtIjJqkAIyTZABm7M4brABBOEQeQwgVG6b8hRwVE457n1gMkyQAZwBMEgAwjJgkAIyQJADM0gACNswFMEwQgDNWxAUwTBIAM8bkBTBMEkAzRuRMHIA1jg+cMEwdADeOY57gDxDsAg8crACIEXYyX8M7/54AATgOsxABBFGNzhAEijOMGDLbAQGKUMYCcSGNV8ACcRGNb9Arv8O/Rdd3IQGKGk4WLAZfwzv/ngABKAcWTB0AM3MjcQOKX3MDcRLOHh0HcxJfwzv/ngOBIDbYJZRMFBXEDrMsAA6SLAJfwzv/ngKA4t6cMUNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwzv/ngAA6EwWAPpfwzv/ngEA10byDpksBA6YLAYOlywADpYsA7/DP/n28g8U7AIPHKwAThYsBogXdjcEV7/DP21207/Avyz2/A8Q7AIPHKwATjIsBIgRdjNxEQRTN45FHhUtj/4cIkweQDNzIrbwDpw0AItAFSLOH7EA+1oMnirBjc/QADUhCxjrE7/CvxiJHMkg3hfVP4oV8EJOGCgEQEBMFhQKX8M7/54BgNze39U+TCAcBglcDp4iwg6UNAB2MHY8+nLJXI6TosKqLvpUjoL0Ak4cKAZ2NAcWhZ2OX9QBahe/wb9EjoG0BCcTcRJnD409w92PfCwCTB3AMvbeFS7c99k+3jPVPk43NupOMDAHpv+OaC5zcROOHB5yTB4AMqbeDp4sA45AHnO/wD9YJZRMFBXGX8M7/54CgIpfwzv/ngKAnTbIDpMsA4w4EmO/wz9MTBYA+l/DO/+eAgCAClFmy9lBmVNZURlm2WSZalloGW/ZLZkzWTEZNtk0JYYKAAAA=",i=1341194240,U="EAD1TwYK8U9WCvFPrgrxT4QL8U/wC/FPngvxT9QI8U9AC/FPgAvxT8IK8U+ECPFP9grxT4QI8U/gCfFPJgrxT1YK8U+uCvFP8gnxTzgJ8U9oCfFP7gnxT0AO8U9WCvFPCA3xTwAO8U/EB/FPJA7xT8QH8U/EB/FPxAfxT8QH8U/EB/FPxAfxT8QH8U/EB/FPpAzxT8QH8U8mDfFPAA7xTw==",T=1341533100,S={entry:c,text:e,text_start:i,data:U,data_start:T};class O extends F{constructor(){super(...arguments),this.CHIP_NAME="ESP32-P4",this.IMAGE_CHIP_ID=18,this.IROM_MAP_START=1073741824,this.IROM_MAP_END=1275068416,this.DROM_MAP_START=1073741824,this.DROM_MAP_END=1275068416,this.BOOTLOADER_FLASH_OFFSET=8192,this.CHIP_DETECT_MAGIC_VALUE=[0,182303440],this.UART_DATE_REG_ADDR=1343004812,this.EFUSE_BASE=1343410176,this.EFUSE_BLOCK1_ADDR=this.EFUSE_BASE+68,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.SPI_REG_BASE=1342754816,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.EFUSE_RD_REG_BASE=this.EFUSE_BASE+48,this.EFUSE_PURPOSE_KEY0_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY0_SHIFT=24,this.EFUSE_PURPOSE_KEY1_REG=this.EFUSE_BASE+52,this.EFUSE_PURPOSE_KEY1_SHIFT=28,this.EFUSE_PURPOSE_KEY2_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY2_SHIFT=0,this.EFUSE_PURPOSE_KEY3_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY3_SHIFT=4,this.EFUSE_PURPOSE_KEY4_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY4_SHIFT=8,this.EFUSE_PURPOSE_KEY5_REG=this.EFUSE_BASE+56,this.EFUSE_PURPOSE_KEY5_SHIFT=12,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_REG=this.EFUSE_RD_REG_BASE,this.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT=1<<20,this.EFUSE_SPI_BOOT_CRYPT_CNT_REG=this.EFUSE_BASE+52,this.EFUSE_SPI_BOOT_CRYPT_CNT_MASK=7<<18,this.EFUSE_SECURE_BOOT_EN_REG=this.EFUSE_BASE+56,this.EFUSE_SECURE_BOOT_EN_MASK=1<<20,this.PURPOSE_VAL_XTS_AES256_KEY_1=2,this.PURPOSE_VAL_XTS_AES256_KEY_2=3,this.PURPOSE_VAL_XTS_AES128_KEY=4,this.SUPPORTS_ENCRYPTED_FLASH=!0,this.FLASH_ENCRYPTED_WRITE_ALIGN=16,this.MEMORY_MAP=[[0,65536,"PADDING"],[1073741824,1275068416,"DROM"],[1341128704,1341784064,"DRAM"],[1341128704,1341784064,"BYTE_ACCESSIBLE"],[1337982976,1338114048,"DROM_MASK"],[1337982976,1338114048,"IROM_MASK"],[1073741824,1275068416,"IROM"],[1341128704,1341784064,"IRAM"],[1343258624,1343291392,"RTC_IRAM"],[1343258624,1343291392,"RTC_DRAM"],[1611653120,1611661312,"MEM_INTERNAL2"]],this.UF2_FAMILY_ID=1026592404,this.EFUSE_MAX_KEY=5,this.KEY_PURPOSES={0:"USER/EMPTY",1:"ECDSA_KEY",2:"XTS_AES_256_KEY_1",3:"XTS_AES_256_KEY_2",4:"XTS_AES_128_KEY",5:"HMAC_DOWN_ALL",6:"HMAC_DOWN_JTAG",7:"HMAC_DOWN_DIGITAL_SIGNATURE",8:"HMAC_UP",9:"SECURE_BOOT_DIGEST0",10:"SECURE_BOOT_DIGEST1",11:"SECURE_BOOT_DIGEST2",12:"KM_INIT_KEY"},this.TEXT_START=S.text_start,this.ENTRY=S.entry,this.DATA_START=S.data_start,this.ROM_DATA=S.data,this.ROM_TEXT=S.text}async getPkgVersion(A){const s=this.EFUSE_BLOCK1_ADDR+8;return await A.readReg(s)>>27&7}async getMinorChipVersion(A){const s=this.EFUSE_BLOCK1_ADDR+8;return await A.readReg(s)>>0&15}async getMajorChipVersion(A){const s=this.EFUSE_BLOCK1_ADDR+8;return await A.readReg(s)>>4&3}async getChipDescription(A){const s=await this.getPkgVersion(A)===0?"ESP32-P4":"unknown ESP32-P4",E=await this.getMajorChipVersion(A),B=await this.getMinorChipVersion(A);return`${s} (revision v${E}.${B})`}async getChipFeatures(A){return["High-Performance MCU"]}async getCrystalFreq(A){return 40}async getFlashVoltage(A){}async overrideVddsdio(A){A.debug("VDD_SDIO overrides are not supported for ESP32-P4")}async readMac(A){let t=await A.readReg(this.MAC_EFUSE_REG);t=t>>>0;let s=await A.readReg(this.MAC_EFUSE_REG+4);s=s>>>0&65535;const E=new Uint8Array(6);return E[0]=s>>8&255,E[1]=s&255,E[2]=t>>24&255,E[3]=t>>16&255,E[4]=t>>8&255,E[5]=t&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}async getFlashCryptConfig(A){}async getSecureBootEnabled(A){return await A.readReg(this.EFUSE_SECURE_BOOT_EN_REG)&this.EFUSE_SECURE_BOOT_EN_MASK}async getKeyBlockPurpose(A,t){if(t<0||t>this.EFUSE_MAX_KEY){A.debug(`Valid key block numbers must be in range 0-${this.EFUSE_MAX_KEY}`);return}const s=[[this.EFUSE_PURPOSE_KEY0_REG,this.EFUSE_PURPOSE_KEY0_SHIFT],[this.EFUSE_PURPOSE_KEY1_REG,this.EFUSE_PURPOSE_KEY1_SHIFT],[this.EFUSE_PURPOSE_KEY2_REG,this.EFUSE_PURPOSE_KEY2_SHIFT],[this.EFUSE_PURPOSE_KEY3_REG,this.EFUSE_PURPOSE_KEY3_SHIFT],[this.EFUSE_PURPOSE_KEY4_REG,this.EFUSE_PURPOSE_KEY4_SHIFT],[this.EFUSE_PURPOSE_KEY5_REG,this.EFUSE_PURPOSE_KEY5_SHIFT]],[E,B]=s[t];return await A.readReg(E)>>B&15}async isFlashEncryptionKeyValid(A){const t=[];for(let _=0;_<=this.EFUSE_MAX_KEY;_++){const R=await this.getKeyBlockPurpose(A,_);t.push(R)}if(typeof t.find(_=>_===this.PURPOSE_VAL_XTS_AES128_KEY)!==void 0)return!0;const E=t.find(_=>_===this.PURPOSE_VAL_XTS_AES256_KEY_1),B=t.find(_=>_===this.PURPOSE_VAL_XTS_AES256_KEY_2);return typeof E!==void 0&&typeof B!==void 0}}export{O as ESP32P4ROM}; diff --git a/contrib/data/www/web/assets/esp32s2-3nCAg6Ct.js b/contrib/data/www/web/assets/esp32s2-CE9Cs3Z2.js similarity index 97% rename from contrib/data/www/web/assets/esp32s2-3nCAg6Ct.js rename to contrib/data/www/web/assets/esp32s2-CE9Cs3Z2.js index 1147e245..9582f898 100644 --- a/contrib/data/www/web/assets/esp32s2-3nCAg6Ct.js +++ b/contrib/data/www/web/assets/esp32s2-CE9Cs3Z2.js @@ -1 +1 @@ -import{R as e}from"./rom-Caghk6Eh.js";const w=1073907696,r="CAAAYBwAAGBIAP0/EAAAYDZBACH7/8AgADgCQfr/wCAAKAQgIJSc4kH4/0YEAAw4MIgBwCAAqAiIBKCgdOAIAAsiZgLohvT/IfH/wCAAOQId8AAA7Cv+P2Sr/T+EgAAAQEAAAKTr/T/wK/4/NkEAsfn/IKB0EBEgZQEBlhoGgfb/kqEBkJkRmpjAIAC4CZHz/6CgdJqIwCAAkhgAkJD0G8nAwPTAIADCWACam8AgAKJJAMAgAJIYAIHq/5CQ9ICA9IeZR4Hl/5KhAZCZEZqYwCAAyAmh5f+x4/+HnBfGAQB86Ica3sYIAMAgAIkKwCAAuQlGAgDAIAC5CsAgAIkJkdf/mogMCcAgAJJYAB3wAABUIEA/VDBAPzZBAJH9/8AgAIgJgIAkVkj/kfr/wCAAiAmAgCRWSP8d8AAAACwgQD8AIEA/AAAACDZBABARIKX8/yH6/wwIwCAAgmIAkfr/gfj/wCAAkmgAwCAAmAhWef/AIACIAnzygCIwICAEHfAAAAAAQDZBABARIOX7/xZq/4Hs/5H7/8AgAJJoAMAgAJgIVnn/HfAAAFgA/T////8ABCBAPzZBACH8/zhCFoMGEBEgZfj/FvoFDPgMBDeoDZgigJkQgqABkEiDQEB0EBEgJfr/EBEgJfP/iCIMG0CYEZCrAcwUgKsBse3/sJkQsez/wCAAkmsAkc7/wCAAomkAwCAAqAlWev8cCQwaQJqDkDPAmog5QokiHfAAAHDi+j8IIEA/hGIBQKRiAUA2YQAQESBl7f8x+f+9Aa0Dgfr/4AgATQoMEuzqiAGSogCQiBCJARARIOXx/5Hy/6CiAcAgAIgJoIggwCAAiQm4Aa0Dge7/4AgAoCSDHfAAAP8PAAA2QQCBxf8MGZJIADCcQZkokfv/ORgpODAwtJoiKjMwPEEMAilYOUgQESAl+P8tCowaIqDFHfAAAMxxAUA2QQBBtv9YNFAzYxZjBFgUWlNQXEFGAQAQESDl7P+IRKYYBIgkh6XvEBEgJeX/Fmr/qBTNA70CgfH/4AgAoKB0jEpSoMRSZAVYFDpVWRRYNDBVwFk0HfAA+Pz/P0QA/T9MAP0/ADIBQOwxAUAwMwFANmEAfMitAoeTLTH3/8YFAKgDDBwQsSCB9//gCACBK/+iAQCICOAIAKgDgfP/4AgA5hrcxgoAAABmAyYMA80BDCsyYQCB7v/gCACYAYHo/zeZDagIZhoIMeb/wCAAokMAmQgd8EAA/T8AAP0/jDEBQDZBACH8/4Hc/8gCqAix+v+B+//gCAAMCIkCHfBgLwFANkEAgf7/4AgAggoYDAmCyP4MEoApkx3w+Cv+P/Qr/j8YAEw/jABMP//z//82QQAQESDl/P8WWgSh+P+ICrzYgff/mAi8abH2/3zMwCAAiAuQkBTAiBCQiCDAIACJC4gKsfH/DDpgqhHAIACYC6CIEKHu/6CZEJCIIMAgAIkLHfAoKwFANkEAEBEgZff/vBqR0f+ICRuoqQmR0P8MCoqZIkkAgsjBDBmAqYOggHTMiqKvQKoiIJiTjPkQESAl8v/GAQCtAoHv/+AIAB3wNkEAoqDAEBEg5fr/HfAAADZBAIKgwK0Ch5IRoqDbEBEgZfn/oqDcRgQAAAAAgqDbh5IIEBEgJfj/oqDdEBEgpff/HfA2QQA6MsYCAKICACLCARARIKX7/zeS8B3wAAAAbFIAQIxyAUCMUgBADFMAQDYhIaLREIH6/+AIAEYLAAAADBRARBFAQ2PNBL0BrQKB9f/gCACgoHT8Ws0EELEgotEQgfH/4AgASiJAM8BWA/0iogsQIrAgoiCy0RCB7P/gCACtAhwLEBEgpff/LQOGAAAioGMd8AAAQCsBQDZBABARICXl/4y6gYj/iAiMSBARICXi/wwKgfj/4AgAHfAAAIQyAUC08QBAkDIBQMDxAEA2QQAQESDl4f+smjFc/4ziqAOB9//gCACiogDGBgAAAKKiAIH0/+AIAKgDgfP/4AgARgUAAAAsCoyCgfD/4AgAhgEAAIHs/+AIAB3w8CsBQDZBIWKhB8BmERpmWQYMBWLREK0FUmYaEBEgZfn/DBhAiBFHuAJGRACtBoG1/+AIAIYzAACSpB1Qc8DgmREamUB3Y4kJzQe9ASCiIIGu/+AIAJKkHeCZERqZoKB0iAmMigwIgmYWfQiGFQCSpB3gmREamYkJEBEgpeL/vQetARARICXm/xARIKXh/80HELEgYKYggZ3/4AgAkqQd4JkRGpmICXAigHBVgDe1tJKhB8CZERqZmAmAdcCXtwJG3f+G5/8MCIJGbKKkGxCqoIHM/+AIAFYK/7KiC6IGbBC7sBARIGWbAPfqEvZHD7KiDRC7sHq7oksAG3eG8f9867eawWZHCIImGje4Aoe1nCKiCxAisGC2IK0CgX3/4AgAEBEgJdj/rQIcCxARIKXb/xARICXX/wwaEBEgpef/HfAAAP0/T0hBSfwr/j9sgAJASDwBQDyDAkAIAAhgEIACQAwAAGA4QEA///8AACiBQD+MgAAAEEAAAAAs/j8QLP4/UAD9P1QA/T9cLP4/FAAAYPD//wD8K/4/ZCv9P3AA/T9c8gBAiNgAQNDxAECk8QBA1DIBQFgyAUCg5ABABHABQAB1AUCASQFA6DUBQOw7AUCAAAFAmCABQOxwAUBscQFADHEBQIQpAUB4dgFA4HcBQJR2AUAAMABAaAABQDbBACHR/wwKKaGB5v/gCAAQESClvP8W6gQx+P5B9/7AIAAoA1H3/ikEwCAAKAVh8f6ioGQpBmHz/mAiEGKkAGAiIMAgACkFgdj/4AgASAR8wkAiEAwkQCIgwCAAKQOGAQBJAksixgEAIbf/Mbj/DAQ3Mu0QESAlw/8MS6LBKBARIKXG/yKhARARIOXB/0H2/ZAiESokwCAASQIxrf8h3v0yYgAQESBls/8WOgYhov7Bov6oAgwrgaT+4AgADJw8CwwKgbr/4AgAsaP/DAwMmoG4/+AIAKKiAIE3/+AIALGe/6gCUqABgbP/4AgAqAKBLv/gCACoAoGw/+AIADGY/8AgACgDUCIgwCAAKQMGCgAAsZT/zQoMWoGm/+AIADGR/1KhAcAgACgDLApQIiDAIAApA4Eg/+AIAIGh/+AIACGK/8AgACgCzLocwzAiECLC+AwTIKODDAuBmv/gCADxg/8MHQwcsqAB4qEAQN0RAMwRgLsBoqAAgZP/4AgAIX7/KkQhDf5i0itGFwAAAFFs/sAgADIFADAwdBbDBKKiAMAgACJFAIEC/+AIAKKiccCqEYF+/+AIAIGE/+AIAHFt/3zowCAAOAd8+oAzEBCqAcAgADkHgX7/4AgAgX3/4AgAIKIggXz/4AgAwCAAKAQWsvkMB8AgADgEDBLAIAB5BCJBHCIDAQwoeYEiQR2CUQ8cN3cSIhxHdxIjZpIlIgMDcgMCgCIRcCIgZkIWKCPAIAAoAimBhgIAHCKGAAAADMIiUQ8QESAlpv8Mi6LBHBARIOWp/7IDAyIDAoC7ESBbICFG/yAg9FeyHKKgwBARIKWk/6Kg7hARICWk/xARIKWi/0bZ/wAAIgMBHEcnNzf2IhlG4QAiwi8gIHS2QgKGJQBxN/9wIqAoAqACACLC/iAgdBwnJ7cCBtgAcTL/cCKgKAKgAgAAAHLCMHBwdLZXxMbRACxJDAcioMCXFQLGzwB5gQxyrQcQESAlnf+tBxARIKWc/xARICWb/xARIOWa/7KgCKLBHCLC/xARICWe/1YS/cYtAAwSVqUvwsEQvQWtBYEu/+AIAFaqLgzLosEQEBEg5Zv/hpgADBJWdS2BKP/gCACgJYPGsgAmhQQMEsawACgjeDNwgiCAgLRW2P4QESDlbv96IpwKBvj/oKxBgR3/4AgAVkr9ctfwcKLAzCcGhgAAoID0Vhj+hgMAoKD1gRb/4AgAVjr7UHfADBUAVRFwosB3NeWGAwCgrEGBDf/gCABWavly1/BwosBWp/5GdgAADAcioMAmhQKGlAAMBy0HxpIAJrX1hmgADBImtQKGjAC4M6IjAnKgABARIOWS/6Ang4aHAAwZZrVciEMgqREMByKgwoe6AgaFALhToiMCkmENEBEg5Wj/mNGgl4OGDQAMGWa1MYhDIKkRDAcioMKHugJGegAoM7hTqCMgeIKZ0RARIOVl/yFd/QwImNGJYiLSK3kioJiDLQnGbQCRV/0MB6IJACKgxneaAkZsAHgjssXwIqDAt5cBKFkMB5Kg70YCAHqDgggYG3eAmTC3J/KCAwVyAwSAiBFwiCByAwYAdxGAdyCCAweAiAFwiCCAmcCCoMEMB5Aok8ZYAIE//SKgxpIIAH0JFlkVmDgMByKgyHcZAgZSAChYkkgARk0AHIkMBwwSlxUCBk0A+HPoY9hTyEO4M6gjgbT+4AgADAh9CqAogwZGAAAADBImRQLGQACoIwwLgav+4AgABh8AUJA0DAcioMB3GQLGPABQVEGLw3z4hg4AAKg8ieGZ0cnBgZv+4AgAyMGI4SgseByoDJIhDXByECYCDsAgANIqACAoMNAiECB3IMAgAHkKG5nCzBBXOcJGlf9mRQLGk/8MByKgwIYmAAwSJrUCxiEAIX7+iFN4I4kCIX3+eQIMAgYdAKF5/gwH2AoMGbLF8I0HLQfQKYOwiZMgiBAioMZ3mGDBc/59COgMIqDJtz5TsPAUIqDAVq8ELQiGAgAAKoOIaEsiiQeNCSD+wCp9tzLtFsjd+Qx5CkZ1/wAMEmaFFyFj/ogCjBiCoMgMB3kCIV/+eQIMEoAngwwHRgEAAAwHIqD/IKB0EBEgZWn/cKB0EBEgpWj/EBEgZWf/VvK6IgMBHCcnNx/2MgJG6P4iwv0gIHQM9ye3Asbk/nFO/nAioCgCoAIAAHKg0ncSX3Kg1HeSAgYhAEbd/gAAKDM4IxARICVW/40KVkq2oqJxwKoRieGBR/7gCABxP/6RQP7AIAB4B4jhcLQ1wHcRkHcQcLsgILuCrQgwu8KBTf7gCACio+iBO/7gCADGyP4AANhTyEO4M6gjEBEgZXP/BsT+sgMDIgMCgLsRILsgssvwosMYEBEg5T7/Rr3+AAAiAwNyAwKAIhFwIiCBO/7gCABxrPwiwvCIN4AiYxYyrYgXioKAjEGGAgCJ4RARICUq/4IhDpInBKYZBJgnl6jpEBEgJSL/Fmr/qBfNArLDGIEr/uAIAIw6MqDEOVc4FyozORc4NyAjwCk3gSX+4AgABqD+AAByAwIiwxgyAwMMGYAzEXAzIDLD8AYiAHEG/oE5/OgHOZHgiMCJQYgmDBmHswEMOZJhDeJhDBARICUi/4H+/ZjR6MGh/f3dCL0CmQHCwSTywRCJ4YEP/uAIALgmnQqokYjhoLvAuSagM8C4B6oiqEEMDKq7DBq5B5DKg4C7wMDQdFZ8AMLbgMCtk5w6rQiCYQ6SYQ0QESDlLf+I4ZjRgmcAUWv8eDWMo5CPMZCIwNYoAFY39tapADFm/CKgxylTRgAAjDmcB4Zt/hY3m1Fh/CKgyClVBmr+ADFe/CKgySlTBmf+AAAoI1ZSmRARIOVS/6KiccCqEYHS/eAIABARICU6/4Hk/eAIAAZd/gAAKDMW0pYQESBlUP+io+iByf3gCAAQESClN//gAgCGVP4AEBEg5Tb/HfAAADZBAJ0CgqDAKAOHmQ/MMgwShgcADAIpA3zihg8AJhIHJiIYhgMAAACCoNuAKSOHmSoMIikDfPJGCAAAACKg3CeZCgwSKQMtCAYEAAAAgqDdfPKHmQYMEikDIqDbHfAAAA==",M=1073905664,a="ZCv9PzaLAkDBiwJAhpACQEqMAkDjiwJASowCQKmMAkByjQJA5Y0CQI2NAkDAigJAC40CQGSNAkDMjAJACI4CQPaMAkAIjgJAr4sCQA6MAkBKjAJAqYwCQMeLAkACiwJAx44CQD2QAkDYiQJAZZACQNiJAkDYiQJA2IkCQNiJAkDYiQJA2IkCQNiJAkDYiQJAZI4CQNiJAkBZjwJAPZACQA==",c=1073622012,i={entry:w,text:r,text_start:M,data:a,data_start:c};class h extends e{constructor(){super(...arguments),this.CHIP_NAME="ESP32-S2",this.IMAGE_CHIP_ID=2,this.MAC_EFUSE_REG=1061265476,this.EFUSE_BASE=1061265408,this.UART_CLKDIV_REG=1061158932,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612856,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=4096,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1061167104,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_W0_OFFS=88,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.TEXT_START=i.text_start,this.ENTRY=i.entry,this.DATA_START=i.data_start,this.ROM_DATA=i.data,this.ROM_TEXT=i.text}async getPkgVersion(C){const g=this.EFUSE_BASE+68+4*3;return await C.readReg(g)>>21&15}async getChipDescription(C){const A=["ESP32-S2","ESP32-S2FH16","ESP32-S2FH32"],B=await this.getPkgVersion(C);return B>=0&&B<=2?A[B]:"unknown ESP32-S2"}async getFlashCap(C){const g=this.EFUSE_BASE+68+4*3;return await C.readReg(g)>>21&15}async getPsramCap(C){const g=this.EFUSE_BASE+68+4*3;return await C.readReg(g)>>28&15}async getBlock2Version(C){const g=this.EFUSE_BASE+92+4*4;return await C.readReg(g)>>4&7}async getChipFeatures(C){const A=["Wi-Fi"],B={0:"No Embedded Flash",1:"Embedded Flash 2MB",2:"Embedded Flash 4MB"},g=await this.getFlashCap(C),I=B[g]||"Unknown Embedded Flash";A.push(I);const E={0:"No Embedded Flash",1:"Embedded PSRAM 2MB",2:"Embedded PSRAM 4MB"},s=await this.getPsramCap(C),o=E[s]||"Unknown Embedded PSRAM";A.push(o);const t={0:"No calibration in BLK2 of efuse",1:"ADC and temperature sensor calibration in BLK2 of efuse V1",2:"ADC and temperature sensor calibration in BLK2 of efuse V2"},Q=await this.getBlock2Version(C),D=t[Q]||"Unknown Calibration in BLK2";return A.push(D),A}async getCrystalFreq(C){return 40}_d2h(C){const A=(+C).toString(16);return A.length===1?"0"+A:A}async readMac(C){let A=await C.readReg(this.MAC_EFUSE_REG);A=A>>>0;let B=await C.readReg(this.MAC_EFUSE_REG+4);B=B>>>0&65535;const g=new Uint8Array(6);return g[0]=B>>8&255,g[1]=B&255,g[2]=A>>24&255,g[3]=A>>16&255,g[4]=A>>8&255,g[5]=A&255,this._d2h(g[0])+":"+this._d2h(g[1])+":"+this._d2h(g[2])+":"+this._d2h(g[3])+":"+this._d2h(g[4])+":"+this._d2h(g[5])}getEraseSize(C,A){return A}}export{h as ESP32S2ROM}; +import{R as e}from"./rom-Caghk6Eh.js";const w=1073907696,M="CAAAYBwAAGBIAP0/EAAAYDZBACH7/8AgADgCQfr/wCAAKAQgIJSc4kH4/0YEAAw4MIgBwCAAqAiIBKCgdOAIAAsiZgLohvT/IfH/wCAAOQId8AAA7Cv+P2Sr/T+EgAAAQEAAAKTr/T/wK/4/NkEAsfn/IKB0EBEgZQEBlhoGgfb/kqEBkJkRmpjAIAC4CZHz/6CgdJqIwCAAkhgAkJD0G8nAwPTAIADCWACam8AgAKJJAMAgAJIYAIHq/5CQ9ICA9IeZR4Hl/5KhAZCZEZqYwCAAyAmh5f+x4/+HnBfGAQB86Ica3sYIAMAgAIkKwCAAuQlGAgDAIAC5CsAgAIkJkdf/mogMCcAgAJJYAB3wAABUIEA/VDBAPzZBAJH9/8AgAIgJgIAkVkj/kfr/wCAAiAmAgCRWSP8d8AAAACwgQD8AIEA/AAAACDZBABARIKX8/yH6/wwIwCAAgmIAkfr/gfj/wCAAkmgAwCAAmAhWef/AIACIAnzygCIwICAEHfAAAAAAQDZBABARIOX7/xZq/4Hs/5H7/8AgAJJoAMAgAJgIVnn/HfAAAFgA/T////8ABCBAPzZBACH8/zhCFoMGEBEgZfj/FvoFDPgMBDeoDZgigJkQgqABkEiDQEB0EBEgJfr/EBEgJfP/iCIMG0CYEZCrAcwUgKsBse3/sJkQsez/wCAAkmsAkc7/wCAAomkAwCAAqAlWev8cCQwaQJqDkDPAmog5QokiHfAAAHDi+j8IIEA/hGIBQKRiAUA2YQAQESBl7f8x+f+9Aa0Dgfr/4AgATQoMEuzqiAGSogCQiBCJARARIOXx/5Hy/6CiAcAgAIgJoIggwCAAiQm4Aa0Dge7/4AgAoCSDHfAAAP8PAAA2QQCBxf8MGZJIADCcQZkokfv/ORgpODAwtJoiKjMwPEEMAilYOUgQESAl+P8tCowaIqDFHfAAAMxxAUA2QQBBtv9YNFAzYxZjBFgUWlNQXEFGAQAQESDl7P+IRKYYBIgkh6XvEBEgJeX/Fmr/qBTNA70CgfH/4AgAoKB0jEpSoMRSZAVYFDpVWRRYNDBVwFk0HfAA+Pz/P0QA/T9MAP0/ADIBQOwxAUAwMwFANmEAfMitAoeTLTH3/8YFAKgDDBwQsSCB9//gCACBK/+iAQCICOAIAKgDgfP/4AgA5hrcxgoAAABmAyYMA80BDCsyYQCB7v/gCACYAYHo/zeZDagIZhoIMeb/wCAAokMAmQgd8EAA/T8AAP0/jDEBQDZBACH8/4Hc/8gCqAix+v+B+//gCAAMCIkCHfBgLwFANkEAgf7/4AgAggoYDAmCyP4MEoApkx3w+Cv+P/Qr/j8YAEw/jABMP//z//82QQAQESDl/P8WWgSh+P+ICrzYgff/mAi8abH2/3zMwCAAiAuQkBTAiBCQiCDAIACJC4gKsfH/DDpgqhHAIACYC6CIEKHu/6CZEJCIIMAgAIkLHfAoKwFANkEAEBEgZff/vBqR0f+ICRuoqQmR0P8MCoqZIkkAgsjBDBmAqYOggHTMiqKvQKoiIJiTjPkQESAl8v/GAQCtAoHv/+AIAB3wNkEAoqDAEBEg5fr/HfAAADZBAIKgwK0Ch5IRoqDbEBEgZfn/oqDcRgQAAAAAgqDbh5IIEBEgJfj/oqDdEBEgpff/HfA2QQA6MsYCAKICACLCARARIKX7/zeS8B3wAAAAbFIAQIxyAUCMUgBADFMAQDYhIaLREIH6/+AIAEYLAAAADBRARBFAQ2PNBL0BrQKB9f/gCACgoHT8Ws0EELEgotEQgfH/4AgASiJAM8BWA/0iogsQIrAgoiCy0RCB7P/gCACtAhwLEBEgpff/LQOGAAAioGMd8AAAQCsBQDZBABARICXl/4y6gYj/iAiMSBARICXi/wwKgfj/4AgAHfAAAIQyAUC08QBAkDIBQMDxAEA2QQAQESDl4f+smjFc/4ziqAOB9//gCACiogDGBgAAAKKiAIH0/+AIAKgDgfP/4AgARgUAAAAsCoyCgfD/4AgAhgEAAIHs/+AIAB3w8CsBQDZBIWKhB8BmERpmWQYMBWLREK0FUmYaEBEgZfn/DBhAiBFHuAJGRACtBoG1/+AIAIYzAACSpB1Qc8DgmREamUB3Y4kJzQe9ASCiIIGu/+AIAJKkHeCZERqZoKB0iAmMigwIgmYWfQiGFQCSpB3gmREamYkJEBEgpeL/vQetARARICXm/xARIKXh/80HELEgYKYggZ3/4AgAkqQd4JkRGpmICXAigHBVgDe1tJKhB8CZERqZmAmAdcCXtwJG3f+G5/8MCIJGbKKkGxCqoIHM/+AIAFYK/7KiC6IGbBC7sBARIGWbAPfqEvZHD7KiDRC7sHq7oksAG3eG8f9867eawWZHCIImGje4Aoe1nCKiCxAisGC2IK0CgX3/4AgAEBEgJdj/rQIcCxARIKXb/xARICXX/wwaEBEgpef/HfAAAP0/T0hBSfwr/j9sgAJASDwBQDyDAkAIAAhgEIACQAwAAGA4QEA///8AACiBQD+MgAAAEEAAAAAs/j8QLP4/UAD9P1QA/T9cLP4/FAAAYPD//wD8K/4/ZCv9P3AA/T9c8gBAiNgAQNDxAECk8QBA1DIBQFgyAUCg5ABABHABQAB1AUCASQFA6DUBQOw7AUCAAAFAmCABQOxwAUBscQFADHEBQIQpAUB4dgFA4HcBQJR2AUAAMABAaAABQDbBACHR/wwKKaGB5v/gCAAQESClvP8W6gQx+P5B9/7AIAAoA1H3/ikEwCAAKAVh8f6ioGQpBmHz/mAiEGKkAGAiIMAgACkFgdj/4AgASAR8wkAiEAwkQCIgwCAAKQOGAQBJAksixgEAIbf/Mbj/DAQ3Mu0QESAlw/8MS6LBKBARIKXG/yKhARARIOXB/0H2/ZAiESokwCAASQIxrf8h3v0yYgAQESBls/8WOgYhov7Bov6oAgwrgaT+4AgADJw8CwwKgbr/4AgAsaP/DAwMmoG4/+AIAKKiAIE3/+AIALGe/6gCUqABgbP/4AgAqAKBLv/gCACoAoGw/+AIADGY/8AgACgDUCIgwCAAKQMGCgAAsZT/zQoMWoGm/+AIADGR/1KhAcAgACgDLApQIiDAIAApA4Eg/+AIAIGh/+AIACGK/8AgACgCzLocwzAiECLC+AwTIKODDAuBmv/gCADxg/8MHQwcsqAB4qEAQN0RAMwRgLsBoqAAgZP/4AgAIX7/KkQhDf5i0itGFwAAAFFs/sAgADIFADAwdBbDBKKiAMAgACJFAIEC/+AIAKKiccCqEYF+/+AIAIGE/+AIAHFt/3zowCAAOAd8+oAzEBCqAcAgADkHgX7/4AgAgX3/4AgAIKIggXz/4AgAwCAAKAQWsvkMB8AgADgEDBLAIAB5BCJBHCIDAQwoeYEiQR2CUQ8cN3cSIhxHdxIjZpIlIgMDcgMCgCIRcCIgZkIWKCPAIAAoAimBhgIAHCKGAAAADMIiUQ8QESAlpv8Mi6LBHBARIOWp/7IDAyIDAoC7ESBbICFG/yAg9FeyHKKgwBARIKWk/6Kg7hARICWk/xARIKWi/0bZ/wAAIgMBHEcnNzf2IhlG4QAiwi8gIHS2QgKGJQBxN/9wIqAoAqACACLC/iAgdBwnJ7cCBtgAcTL/cCKgKAKgAgAAAHLCMHBwdLZXxMbRACxJDAcioMCXFQLGzwB5gQxyrQcQESAlnf+tBxARIKWc/xARICWb/xARIOWa/7KgCKLBHCLC/xARICWe/1YS/cYtAAwSVqUvwsEQvQWtBYEu/+AIAFaqLgzLosEQEBEg5Zv/hpgADBJWdS2BKP/gCACgJYPGsgAmhQQMEsawACgjeDNwgiCAgLRW2P4QESDlbv96IpwKBvj/oKxBgR3/4AgAVkr9ctfwcKLAzCcGhgAAoID0Vhj+hgMAoKD1gRb/4AgAVjr7UHfADBUAVRFwosB3NeWGAwCgrEGBDf/gCABWavly1/BwosBWp/5GdgAADAcioMAmhQKGlAAMBy0HxpIAJrX1hmgADBImtQKGjAC4M6IjAnKgABARIOWS/6Ang4aHAAwZZrVciEMgqREMByKgwoe6AgaFALhToiMCkmENEBEg5Wj/mNGgl4OGDQAMGWa1MYhDIKkRDAcioMKHugJGegAoM7hTqCMgeIKZ0RARIOVl/yFd/QwImNGJYiLSK3kioJiDLQnGbQCRV/0MB6IJACKgxneaAkZsAHgjssXwIqDAt5cBKFkMB5Kg70YCAHqDgggYG3eAmTC3J/KCAwVyAwSAiBFwiCByAwYAdxGAdyCCAweAiAFwiCCAmcCCoMEMB5Aok8ZYAIE//SKgxpIIAH0JFlkVmDgMByKgyHcZAgZSAChYkkgARk0AHIkMBwwSlxUCBk0A+HPoY9hTyEO4M6gjgbT+4AgADAh9CqAogwZGAAAADBImRQLGQACoIwwLgav+4AgABh8AUJA0DAcioMB3GQLGPABQVEGLw3z4hg4AAKg8ieGZ0cnBgZv+4AgAyMGI4SgseByoDJIhDXByECYCDsAgANIqACAoMNAiECB3IMAgAHkKG5nCzBBXOcJGlf9mRQLGk/8MByKgwIYmAAwSJrUCxiEAIX7+iFN4I4kCIX3+eQIMAgYdAKF5/gwH2AoMGbLF8I0HLQfQKYOwiZMgiBAioMZ3mGDBc/59COgMIqDJtz5TsPAUIqDAVq8ELQiGAgAAKoOIaEsiiQeNCSD+wCp9tzLtFsjd+Qx5CkZ1/wAMEmaFFyFj/ogCjBiCoMgMB3kCIV/+eQIMEoAngwwHRgEAAAwHIqD/IKB0EBEgZWn/cKB0EBEgpWj/EBEgZWf/VvK6IgMBHCcnNx/2MgJG6P4iwv0gIHQM9ye3Asbk/nFO/nAioCgCoAIAAHKg0ncSX3Kg1HeSAgYhAEbd/gAAKDM4IxARICVW/40KVkq2oqJxwKoRieGBR/7gCABxP/6RQP7AIAB4B4jhcLQ1wHcRkHcQcLsgILuCrQgwu8KBTf7gCACio+iBO/7gCADGyP4AANhTyEO4M6gjEBEgZXP/BsT+sgMDIgMCgLsRILsgssvwosMYEBEg5T7/Rr3+AAAiAwNyAwKAIhFwIiCBO/7gCABxrPwiwvCIN4AiYxYyrYgXioKAjEGGAgCJ4RARICUq/4IhDpInBKYZBJgnl6jpEBEgJSL/Fmr/qBfNArLDGIEr/uAIAIw6MqDEOVc4FyozORc4NyAjwCk3gSX+4AgABqD+AAByAwIiwxgyAwMMGYAzEXAzIDLD8AYiAHEG/oE5/OgHOZHgiMCJQYgmDBmHswEMOZJhDeJhDBARICUi/4H+/ZjR6MGh/f3dCL0CmQHCwSTywRCJ4YEP/uAIALgmnQqokYjhoLvAuSagM8C4B6oiqEEMDKq7DBq5B5DKg4C7wMDQdFZ8AMLbgMCtk5w6rQiCYQ6SYQ0QESDlLf+I4ZjRgmcAUWv8eDWMo5CPMZCIwNYoAFY39tapADFm/CKgxylTRgAAjDmcB4Zt/hY3m1Fh/CKgyClVBmr+ADFe/CKgySlTBmf+AAAoI1ZSmRARIOVS/6KiccCqEYHS/eAIABARICU6/4Hk/eAIAAZd/gAAKDMW0pYQESBlUP+io+iByf3gCAAQESClN//gAgCGVP4AEBEg5Tb/HfAAADZBAJ0CgqDAKAOHmQ/MMgwShgcADAIpA3zihg8AJhIHJiIYhgMAAACCoNuAKSOHmSoMIikDfPJGCAAAACKg3CeZCgwSKQMtCAYEAAAAgqDdfPKHmQYMEikDIqDbHfAAAA==",r=1073905664,a="ZCv9PzaLAkDBiwJAhpACQEqMAkDjiwJASowCQKmMAkByjQJA5Y0CQI2NAkDAigJAC40CQGSNAkDMjAJACI4CQPaMAkAIjgJAr4sCQA6MAkBKjAJAqYwCQMeLAkACiwJAx44CQD2QAkDYiQJAZZACQNiJAkDYiQJA2IkCQNiJAkDYiQJA2IkCQNiJAkDYiQJAZI4CQNiJAkBZjwJAPZACQA==",c=1073622012,i={entry:w,text:M,text_start:r,data:a,data_start:c};class h extends e{constructor(){super(...arguments),this.CHIP_NAME="ESP32-S2",this.IMAGE_CHIP_ID=2,this.MAC_EFUSE_REG=1061265476,this.EFUSE_BASE=1061265408,this.UART_CLKDIV_REG=1061158932,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612856,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=4096,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1061167104,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_W0_OFFS=88,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.TEXT_START=i.text_start,this.ENTRY=i.entry,this.DATA_START=i.data_start,this.ROM_DATA=i.data,this.ROM_TEXT=i.text}async getPkgVersion(C){const g=this.EFUSE_BASE+68+4*3;return await C.readReg(g)>>21&15}async getChipDescription(C){const A=["ESP32-S2","ESP32-S2FH16","ESP32-S2FH32"],B=await this.getPkgVersion(C);return B>=0&&B<=2?A[B]:"unknown ESP32-S2"}async getFlashCap(C){const g=this.EFUSE_BASE+68+4*3;return await C.readReg(g)>>21&15}async getPsramCap(C){const g=this.EFUSE_BASE+68+4*3;return await C.readReg(g)>>28&15}async getBlock2Version(C){const g=this.EFUSE_BASE+92+4*4;return await C.readReg(g)>>4&7}async getChipFeatures(C){const A=["Wi-Fi"],B={0:"No Embedded Flash",1:"Embedded Flash 2MB",2:"Embedded Flash 4MB"},g=await this.getFlashCap(C),I=B[g]||"Unknown Embedded Flash";A.push(I);const E={0:"No Embedded Flash",1:"Embedded PSRAM 2MB",2:"Embedded PSRAM 4MB"},s=await this.getPsramCap(C),o=E[s]||"Unknown Embedded PSRAM";A.push(o);const t={0:"No calibration in BLK2 of efuse",1:"ADC and temperature sensor calibration in BLK2 of efuse V1",2:"ADC and temperature sensor calibration in BLK2 of efuse V2"},Q=await this.getBlock2Version(C),D=t[Q]||"Unknown Calibration in BLK2";return A.push(D),A}async getCrystalFreq(C){return 40}_d2h(C){const A=(+C).toString(16);return A.length===1?"0"+A:A}async readMac(C){let A=await C.readReg(this.MAC_EFUSE_REG);A=A>>>0;let B=await C.readReg(this.MAC_EFUSE_REG+4);B=B>>>0&65535;const g=new Uint8Array(6);return g[0]=B>>8&255,g[1]=B&255,g[2]=A>>24&255,g[3]=A>>16&255,g[4]=A>>8&255,g[5]=A&255,this._d2h(g[0])+":"+this._d2h(g[1])+":"+this._d2h(g[2])+":"+this._d2h(g[3])+":"+this._d2h(g[4])+":"+this._d2h(g[5])}getEraseSize(C,A){return A}}export{h as ESP32S2ROM}; diff --git a/contrib/data/www/web/assets/esp32s3-mu2zzjDN.js b/contrib/data/www/web/assets/esp32s3-JCQC1yhu.js similarity index 95% rename from contrib/data/www/web/assets/esp32s3-mu2zzjDN.js rename to contrib/data/www/web/assets/esp32s3-JCQC1yhu.js index 76bf1b57..4a55289e 100644 --- a/contrib/data/www/web/assets/esp32s3-mu2zzjDN.js +++ b/contrib/data/www/web/assets/esp32s3-JCQC1yhu.js @@ -1 +1 @@ -import{R as a}from"./rom-Caghk6Eh.js";const w=1077381696,S="FIADYACAA2BIAMo/BIADYDZBAIH7/wxJwCAAmQjGBAAAgfj/wCAAqAiB9/+goHSICOAIACH2/8AgAIgCJ+jhHfAAAAAIAABgHAAAYBAAAGA2QQAh/P/AIAA4AkH7/8AgACgEICCUnOJB6P9GBAAMODCIAcAgAKgIiASgoHTgCAALImYC6Ib0/yHx/8AgADkCHfAAAOwryz9kq8o/hIAAAEBAAACk68o/8CvLPzZBALH5/yCgdBARIKUrAZYaBoH2/5KhAZCZEZqYwCAAuAmR8/+goHSaiMAgAJIYAJCQ9BvJwMD0wCAAwlgAmpvAIACiSQDAIACSGACB6v+QkPSAgPSHmUeB5f+SoQGQmRGamMAgAMgJoeX/seP/h5wXxgEAfOiHGt7GCADAIACJCsAgALkJRgIAwCAAuQrAIACJCZHX/5qIDAnAIACSWAAd8AAAVCAAYFQwAGA2QQCR/f/AIACICYCAJFZI/5H6/8AgAIgJgIAkVkj/HfAAAAAsIABgACAAYAAAAAg2QQAQESCl/P8h+v8MCMAgAIJiAJH6/4H4/8AgAJJoAMAgAJgIVnn/wCAAiAJ88oAiMCAgBB3wAAAAAEA2QQAQESDl+/8Wav+B7P+R+//AIACSaADAIACYCFZ5/x3wAAAUKABANkEAIKIggf3/4AgAHfAAAHDi+j8IIABgvAoAQMgKAEA2YQAQESBl9P8x+f+9Aa0Dgfr/4AgATQoMEuzqiAGSogCQiBCJARARIOX4/5Hy/6CiAcAgAIgJoIggwCAAiQm4Aa0Dge7/4AgAoCSDHfAAAFgAyj//DwAABCAAQOgIAEA2QQCB+/8MGZJIADCcQZkokfn/ORgpODAwtJoiKjMwPEEMAjlIKViB9P/gCAAnGgiB8//gCAAGAwAQESAl9v8tCowaIqDFHfC4CABANoEAgev/4AgAHAYGDAAAAGBUQwwIDBrQlREMjTkx7QKJYalRmUGJIYkR2QEsDwzMDEuB8v/gCABQRMBaM1oi5hTNDAId8AAA////AAQgAGD0CABADAkAQAAJAEA2gQAx0f8oQxaCERARIGXm/xb6EAz4DAQnqAyIIwwSgIA0gCSTIEB0EBEgZej/EBEgJeH/gcf/4AgAFjoKqCOB6/9AKhEW9AQnKDyBwv/gCACB6P/gCADoIwwCDBqpYalRHI9A7hEMjcKg2AxbKUEpMSkhKREpAYHK/+AIAIG1/+AIAIYCAAAAoKQhgdv/4AgAHAoGIAAAACcoOYGu/+AIAIHU/+AIAOgjDBIcj0DuEQyNLAwMW60CKWEpUUlBSTFJIUkRSQGBtv/gCACBov/gCABGAQCByf/gCAAMGoYNAAAoIwwZQCIRkIkBzBSAiQGRv/+QIhCRvv/AIAAiaQAhW//AIACCYgDAIACIAlZ4/xwKDBJAooMoQ6AiwClDKCOqIikjHfAAADaBAIGK/+AIACwGhg8AAACBr//gCABgVEMMCAwa0JUR7QKpYalRiUGJMZkhORGJASwPDI3CoBKyoASBj//gCACBe//gCABaM1oiUETA5hS/HfAAABQKAEA2YQBBcf9YNFAzYxajC1gUWlNQXEFGAQAQESBl5v9oRKYWBWIkAmel7hARIGXM/xZq/4Fn/+AIABaaBmIkAYFl/+AIAGBQdIKhAFB4wHezCM0DvQKtBgYPAM0HvQKtBlLV/xARICX0/zpVUFhBDAjGBQAAAADCoQCJARARIKXy/4gBctcBG4iAgHRwpoBwsoBXOOFww8AQESDl8P+BTv/gCACGBQCoFM0DvQKB1P/gCACgoHSMSiKgxCJkBSgUOiIpFCg0MCLAKTQd8ABcBwBANkEAgf7/4AgAggoYDAmCyPwMEoApkx3wNkEAgfj/4AgAggoYDAmCyP0MEoApkx3wvP/OP0QAyj9MAMo/QCYAQDQmAEDQJgBANmEAfMitAoeTLTH3/8YFAACoAwwcvQGB9//gCACBj/6iAQCICOAIAKgDgfP/4AgA5hrdxgoAAABmAyYMA80BDCsyYQCB7v/gCACYAYHo/zeZDagIZhoIMeb/wCAAokMAmQgd8EAAyj8AAMo/KCYAQDZBACH8/4Hc/8gCqAix+v+B+//gCAAMCIkCHfCQBgBANkEAEBEgpfP/jLqB8v+ICIxIEBEgpfz/EBEg5fD/FioAoqAEgfb/4AgAHfBIBgBANkEAEBEgpfD/vBqR5v+ICRuoqQmR5f8MCoqZIkkAgsjBDBmAqYOggHTMiqKvQKoiIJiTnNkQESBl9/9GBQCtAoHv/+AIABARIOXq/4xKEBEg5ff/HfAAADZBAKKgwBARIOX5/x3wAAA2QQCCoMCtAoeSEaKg2xARIGX4/6Kg3EYEAAAAAIKg24eSCBARICX3/6Kg3RARIKX2/x3wNkEAOjLGAgAAogIAGyIQESCl+/83kvEd8AAAAFwcAEAgCgBAaBwAQHQcAEA2ISGi0RCB+v/gCABGEAAAAAwUQEQRgcb+4AgAQENjzQS9AYyqrQIQESCltf8GAgAArQKB8P/gCACgoHT8Ws0EELEgotEQgez/4AgASiJAM8BWw/siogsQIrAgoiCy0RCB5//gCACtAhwLEBEgZfb/LQOGAAAioGMd8AAAiCYAQIQbAECUJgBAkBsAQDZBABARIGXb/6yKDBNBcf/wMwGMsqgEgfb/4AgArQPGCQCtA4H0/+AIAKgEgfP/4AgABgkAEBEgpdb/DBjwiAEsA6CDg60IFpIAgez/4AgAhgEAAIHo/+AIAB3wYAYAQDZBIWKkHeBmERpmWQYMF1KgAGLREFClIEB3EVJmGhARIOX3/0e3AsZCAK0Ggbb/4AgAxi8AUHPAgYP+4AgAQHdjzQe9AYy6IKIgEBEgpaT/BgIAAK0Cgaz/4AgAoKB0jJoMCIJmFn0IBhIAABARIGXj/70HrQEQESDl5v8QESBl4v/NBxCxIGCmIIGg/+AIAHoielU3tcmSoQfAmRGCpB0ameCIEZgJGoiICJB1wIc3gwbr/wwJkkZsoqQbEKqggc//4AgAVgr/sqILogZsELuwEBEg5acA9+oS9kcPkqINEJmwepmiSQAbd4bx/3zpl5rBZkcSgqEHkiYawIgRGoiZCDe5Ape1iyKiCxAisL0GrQKBf//gCAAQESCl2P+tAhwLEBEgJdz/EBEgpdf/DBoQESDl5v8d8AAAyj9PSEFJsIAAYKE62FCYgABguIAAYCoxHY+0gABg9CvLP6yAN0CYIAxg7IE3QKyFN0AIAAhggCEMYBCAN0AQgANgUIA3QAwAAGA4QABglCzLP///AAAsgQBgjIAAABBAAAD4K8s/CCzLP1AAyj9UAMo/VCzLPxQAAGDw//8A9CvLP2Qryj9wAMo/gAcAQHgbAEC4JgBAZCYAQHQfAEDsCgBAVAkAQFAKAEAABgBAHCkAQCQnAEAIKABA5AYAQHSBBECcCQBA/AkAQAgKAECoBgBAhAkAQGwJAECQCQBAKAgAQNgGAEA24QAhxv8MCinBgeb/4AgAEBEgJbH/FpoEMcH/IcL/QcL/wCAAKQMMAsAgACkEwCAAKQNRvv8xvv9hvv/AIAA5BcAgADgGfPQQRAFAMyDAIAA5BsAgACkFxgEAAEkCSyIGAgAhrf8xtP9CoAA3MuwQESAlwf8MS6LBMBARIKXE/yKhARARIOW//0Fz/ZAiESokwCAASQIxqf8hS/05AhARIKWp/y0KFvoFIar+wav+qAIMK4Gt/uAIADGh/7Gi/xwaDAzAIACpA4G4/+AIAAwa8KoBgSr/4AgAsZv/qAIMFYGz/+AIAKgCgSL/4AgAqAKBsP/gCAAxlf/AIAAoA1AiIMAgACkDhhgAEBEgZaH/vBoxj/8cGrGP/8AgAKJjACDCIIGh/+AIADGM/wxFwCAAKAMMGlAiIMAgACkD8KoBxggAAACxhv/NCgxagZf/4AgAMYP/UqEBwCAAKAMsClAiIMAgACkDgQX/4AgAgZL/4AgAIXz/wCAAKALMuhzDMCIQIsL4DBMgo4MMC4GL/+AIAIGk/eAIAIzaoXP/gYj/4AgAgaH94AgA8XH/DB0MHAwb4qEAQN0RAMwRYLsBDAqBgP/gCAAha/8qRCGU/WLSK4YXAAAAUWH+wCAAMgUAMDB0FtMEDBrwqgHAIAAiRQCB4f7gCACionHAqhGBcv/gCACBcf/gCABxWv986MAgADgHfPqAMxAQqgHAIAA5B4Fr/+AIAIFr/+AIAK0CgWr/4AgAwCAAKAQWovkMB8AgADgEDBLAIAB5BCJBJCIDAQwoeaEiQSWCURMcN3cSJBxHdxIhZpIhIgMDcgMCgCIRcCIgZkISKCPAIAAoAimhhgEAAAAcIiJRExARIKWf/7KgCKLBJBARICWj/7IDAyIDAoC7ESBbICE0/yAg9FeyGqKgwBARIOWd/6Kg7hARIGWd/xARICWc/wba/yIDARxHJzc39iIbxvgAACLCLyAgdLZCAgYlAHEm/3AioCgCoAIAACLC/iAgdBwnJ7cCBu8AcSD/cCKgKAKgAgBywjBwcHS2V8VG6QAsSQwHIqDAlxUCRucAeaEMcq0HEBEgpZb/rQcQESAllv8QESCllP8QESBllP8Mi6LBJCLC/xARIKWX/1Yi/UZEAAwSVqU1wsEQvQWtBYEd/+AIAFaqNBxLosEQEBEgZZX/hrAADBJWdTOBF//gCACgJYPGygAmhQQMEsbIAHgjKDMghyCAgLRW2P4QESClQv8qd6zaBvj/AIEd/eAIAFBcQZwKrQWBRf3gCACGAwAAItLwRgMArQWBBf/gCAAW6v4G7f8gV8DMEsaWAFCQ9FZp/IYLAIEO/eAIAFBQ9ZxKrQWBNf3gCACGBAAAfPgAiBGKIkYDAK0Fgfb+4AgAFqr+Bt3/DBkAmREgV8AnOcVGCwAAAACB/vzgCABQXEGcCq0FgSb94AgAhgMAACLS8EYDAK0Fgeb+4AgAFur+Bs7/IFfAVuL8hncADAcioMAmhQLGlQAMBy0HBpQAJrX1BmoADBImtQIGjgC4M6gjDAcQESDlhv+gJ4OGiQAMGWa1X4hDIKkRDAcioMKHugLGhgC4U6gjkmEREBEg5Tf/kiERoJeDRg4ADBlmtTSIQyCpEQwHIqDCh7oCBnwAKDO4U6gjIHiCkmEREBEg5TT/Ic78DAiSIRGJYiLSK3JiAqCYgy0JBm8AAJHI/AwHogkAIqDGd5oCBm0AeCOyxfAioMC3lwEoWQwHkqDvRgIAeoOCCBgbd4CZMLcn8oIDBXIDBICIEXCIIHIDBgB3EYB3IIIDB4CIAXCIIICZwIKgwQwHkCiThlkAgbD8IqDGkggAfQkWiRWYOAwHIqDIdxkCxlIAKFiSSABGTgAciQwHDBKXFQLGTQD4c+hj2FPIQ7gzqCOBi/7gCAAMCH0KoCiDxkYAAAAMEiZFAsZBAKgjDAuBgf7gCAAGIAAAUJA0DAcioMB3GQJGPQBQVEGLw3z4Rg8AqDyCYRKSYRHCYRCBef7gCADCIRCCIRIoLHgcqAySIRFwchAmAg3AIADYCiAoMNAiECB3IMAgAHkKG5nCzBBXOb7Gk/9mRQJGkv8MByKgwEYmAAwSJrUCxiEAIVX+iFN4I4kCIVT+eQIMAgYdAKFQ/gwH6AoMGbLF8I0HLQewKZPgiYMgiBAioMZ3mF/BSv59CNgMIqDJtz1SsPAUIqDAVp8ELQiGAgAAKoOIaEsiiQeNCSp+IP3AtzLtFmjd+Qx5CsZz/wAMEmaFFyE6/ogCjBiCoMgMB3kCITb+eQIMEoAngwwHBgEADAcioP8goHQQESDlXP9woHQQESBlXP8QESDlWv9WYrUiAwEcJyc3IPYyAgbS/iLC/SAgdAz3J7cChs7+cSX+cCKgKAKgAgAAAHKg0ncSX3Kg1HeSAgYhAMbG/igzOCMQESDlQf+NClbKsKKiccCqEYJhEoEl/uAIAHEX/pEX/sAgAHgHgiEScLQ1wHcRkHcQcLsgILuCrQgwu8KBJP7gCACio+iBGf7gCABGsv4AANhTyEO4M6gjEBEgpWb/hq3+ALIDAyIDAoC7ESC7ILLL8KLDGBARICUs/4am/gAiAwNyAwKAIhFwIiCBEv7gCABxHPwiwvCIN4AiYxaSp4gXioKAjEFGAwAAAIJhEhARIKUQ/4IhEpInBKYZBZInApeo5xARIKX2/hZq/6gXzQKywxiBAf7gCACMOjKgxDlXOBcqMzkXODcgI8ApN4H7/eAIAIaI/gAAcgMCIsMYMgMDDBmAMxFwMyAyw/AGIwBx3P2Bi/uYBzmxkIjAiUGIJgwZh7MBDDmSYREQESDlCP+SIRGB1P2ZAegHodP93QggsiDCwSzywRCCYRKB5f3gCAC4Jp0KqLGCIRKgu8C5JqAzwLgHqiKoQQwMqrsMGrkHkMqDgLvAwNB0VowAwtuAwK2TFmoBrQiCYRKSYREQESClGv+CIRKSIRGCZwBR2ft4NYyjkI8xkIjA1igAVvf11qkAMdT7IqDHKVNGAACMOYz3BlX+FheVUc/7IqDIKVWGUf4xzPsioMkpU8ZO/igjVmKTEBEg5S//oqJxwKoRga/94AgAgbv94AgAxkb+KDMWYpEQESDlLf+io+iBqP3gCADgAgBGQP4d8AAANkEAnQKCoMAoA4eZD8wyDBKGBwAMAikDfOKGDwAmEgcmIhiGAwAAAIKg24ApI4eZKgwiKQN88kYIAAAAIqDcJ5kKDBIpAy0IBgQAAACCoN188oeZBgwSKQMioNsd8AAA",e=1077379072,K="ZCvKP8qNN0CvjjdAcJM3QDqPN0DPjjdAOo83QJmPN0BmkDdA2ZA3QIGQN0BVjTdA/I83QFiQN0C8jzdA+5A3QOaPN0D7kDdAnY43QPqON0A6jzdAmY83QLWON0CWjTdAvJE3QDaTN0ByjDdAVpM3QHKMN0ByjDdAcow3QHKMN0ByjDdAcow3QHKMN0ByjDdAVpE3QHKMN0BRkjdANpM3QAQInwAAAAAAAAAYAQQIBQAAAAAAAAAIAQQIBgAAAAAAAAAAAQQIIQAAAAAAIAAAEQQI3AAAAAAAIAAAEQQIDAAAAAAAIAAAAQQIEgAAAAAAIAAAESAoDAAQAQAA",c=1070279668,Q={entry:w,text:S,text_start:e,data:K,data_start:c};class h extends a{constructor(){super(...arguments),this.CHIP_NAME="ESP32-S3",this.IMAGE_CHIP_ID=9,this.EFUSE_BASE=1610641408,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612864,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.USB_RAM_BLOCK=2048,this.UARTDEV_BUF_NO_USB=3,this.UARTDEV_BUF_NO=1070526796,this.TEXT_START=Q.text_start,this.ENTRY=Q.entry,this.DATA_START=Q.data_start,this.ROM_DATA=Q.data,this.ROM_TEXT=Q.text}async getChipDescription(A){return"ESP32-S3"}async getFlashCap(A){const C=this.EFUSE_BASE+68+4*3;return await A.readReg(C)>>27&7}async getFlashVendor(A){const C=this.EFUSE_BASE+68+4*4,B=await A.readReg(C)>>0&7;return{1:"XMC",2:"GD",3:"FM",4:"TT",5:"BY"}[B]||""}async getPsramCap(A){const C=this.EFUSE_BASE+68+4*4;return await A.readReg(C)>>3&3}async getPsramVendor(A){const C=this.EFUSE_BASE+68+4*4,B=await A.readReg(C)>>7&3;return{1:"AP_3v3",2:"AP_1v8"}[B]||""}async getChipFeatures(A){const g=["Wi-Fi","BLE"],I={0:null,1:"Embedded Flash 8MB",2:"Embedded Flash 4MB"},C=await this.getFlashCap(A),E=await this.getFlashVendor(A),B=I[C],o=B!==void 0?B:"Unknown Embedded Flash";B!==null&&g.push(`${o} (${E})`);const i={0:null,1:"Embedded PSRAM 8MB",2:"Embedded PSRAM 2MB"},s=await this.getPsramCap(A),D=await this.getPsramVendor(A),t=i[s],M=t!==void 0?t:"Unknown Embedded PSRAM";return t!==null&&g.push(`${M} (${D})`),g}async getCrystalFreq(A){return 40}_d2h(A){const g=(+A).toString(16);return g.length===1?"0"+g:g}async postConnect(A){const g=await A.readReg(this.UARTDEV_BUF_NO)&255;A.debug("In _post_connect "+g),g==this.UARTDEV_BUF_NO_USB&&(A.ESP_RAM_BLOCK=this.USB_RAM_BLOCK)}async readMac(A){let g=await A.readReg(this.MAC_EFUSE_REG);g=g>>>0;let I=await A.readReg(this.MAC_EFUSE_REG+4);I=I>>>0&65535;const C=new Uint8Array(6);return C[0]=I>>8&255,C[1]=I&255,C[2]=g>>24&255,C[3]=g>>16&255,C[4]=g>>8&255,C[5]=g&255,this._d2h(C[0])+":"+this._d2h(C[1])+":"+this._d2h(C[2])+":"+this._d2h(C[3])+":"+this._d2h(C[4])+":"+this._d2h(C[5])}getEraseSize(A,g){return g}}export{h as ESP32S3ROM}; +import{R as w}from"./rom-Caghk6Eh.js";const S=1077381696,a="FIADYACAA2BIAMo/BIADYDZBAIH7/wxJwCAAmQjGBAAAgfj/wCAAqAiB9/+goHSICOAIACH2/8AgAIgCJ+jhHfAAAAAIAABgHAAAYBAAAGA2QQAh/P/AIAA4AkH7/8AgACgEICCUnOJB6P9GBAAMODCIAcAgAKgIiASgoHTgCAALImYC6Ib0/yHx/8AgADkCHfAAAOwryz9kq8o/hIAAAEBAAACk68o/8CvLPzZBALH5/yCgdBARIKUrAZYaBoH2/5KhAZCZEZqYwCAAuAmR8/+goHSaiMAgAJIYAJCQ9BvJwMD0wCAAwlgAmpvAIACiSQDAIACSGACB6v+QkPSAgPSHmUeB5f+SoQGQmRGamMAgAMgJoeX/seP/h5wXxgEAfOiHGt7GCADAIACJCsAgALkJRgIAwCAAuQrAIACJCZHX/5qIDAnAIACSWAAd8AAAVCAAYFQwAGA2QQCR/f/AIACICYCAJFZI/5H6/8AgAIgJgIAkVkj/HfAAAAAsIABgACAAYAAAAAg2QQAQESCl/P8h+v8MCMAgAIJiAJH6/4H4/8AgAJJoAMAgAJgIVnn/wCAAiAJ88oAiMCAgBB3wAAAAAEA2QQAQESDl+/8Wav+B7P+R+//AIACSaADAIACYCFZ5/x3wAAAUKABANkEAIKIggf3/4AgAHfAAAHDi+j8IIABgvAoAQMgKAEA2YQAQESBl9P8x+f+9Aa0Dgfr/4AgATQoMEuzqiAGSogCQiBCJARARIOX4/5Hy/6CiAcAgAIgJoIggwCAAiQm4Aa0Dge7/4AgAoCSDHfAAAFgAyj//DwAABCAAQOgIAEA2QQCB+/8MGZJIADCcQZkokfn/ORgpODAwtJoiKjMwPEEMAjlIKViB9P/gCAAnGgiB8//gCAAGAwAQESAl9v8tCowaIqDFHfC4CABANoEAgev/4AgAHAYGDAAAAGBUQwwIDBrQlREMjTkx7QKJYalRmUGJIYkR2QEsDwzMDEuB8v/gCABQRMBaM1oi5hTNDAId8AAA////AAQgAGD0CABADAkAQAAJAEA2gQAx0f8oQxaCERARIGXm/xb6EAz4DAQnqAyIIwwSgIA0gCSTIEB0EBEgZej/EBEgJeH/gcf/4AgAFjoKqCOB6/9AKhEW9AQnKDyBwv/gCACB6P/gCADoIwwCDBqpYalRHI9A7hEMjcKg2AxbKUEpMSkhKREpAYHK/+AIAIG1/+AIAIYCAAAAoKQhgdv/4AgAHAoGIAAAACcoOYGu/+AIAIHU/+AIAOgjDBIcj0DuEQyNLAwMW60CKWEpUUlBSTFJIUkRSQGBtv/gCACBov/gCABGAQCByf/gCAAMGoYNAAAoIwwZQCIRkIkBzBSAiQGRv/+QIhCRvv/AIAAiaQAhW//AIACCYgDAIACIAlZ4/xwKDBJAooMoQ6AiwClDKCOqIikjHfAAADaBAIGK/+AIACwGhg8AAACBr//gCABgVEMMCAwa0JUR7QKpYalRiUGJMZkhORGJASwPDI3CoBKyoASBj//gCACBe//gCABaM1oiUETA5hS/HfAAABQKAEA2YQBBcf9YNFAzYxajC1gUWlNQXEFGAQAQESBl5v9oRKYWBWIkAmel7hARIGXM/xZq/4Fn/+AIABaaBmIkAYFl/+AIAGBQdIKhAFB4wHezCM0DvQKtBgYPAM0HvQKtBlLV/xARICX0/zpVUFhBDAjGBQAAAADCoQCJARARIKXy/4gBctcBG4iAgHRwpoBwsoBXOOFww8AQESDl8P+BTv/gCACGBQCoFM0DvQKB1P/gCACgoHSMSiKgxCJkBSgUOiIpFCg0MCLAKTQd8ABcBwBANkEAgf7/4AgAggoYDAmCyPwMEoApkx3wNkEAgfj/4AgAggoYDAmCyP0MEoApkx3wvP/OP0QAyj9MAMo/QCYAQDQmAEDQJgBANmEAfMitAoeTLTH3/8YFAACoAwwcvQGB9//gCACBj/6iAQCICOAIAKgDgfP/4AgA5hrdxgoAAABmAyYMA80BDCsyYQCB7v/gCACYAYHo/zeZDagIZhoIMeb/wCAAokMAmQgd8EAAyj8AAMo/KCYAQDZBACH8/4Hc/8gCqAix+v+B+//gCAAMCIkCHfCQBgBANkEAEBEgpfP/jLqB8v+ICIxIEBEgpfz/EBEg5fD/FioAoqAEgfb/4AgAHfBIBgBANkEAEBEgpfD/vBqR5v+ICRuoqQmR5f8MCoqZIkkAgsjBDBmAqYOggHTMiqKvQKoiIJiTnNkQESBl9/9GBQCtAoHv/+AIABARIOXq/4xKEBEg5ff/HfAAADZBAKKgwBARIOX5/x3wAAA2QQCCoMCtAoeSEaKg2xARIGX4/6Kg3EYEAAAAAIKg24eSCBARICX3/6Kg3RARIKX2/x3wNkEAOjLGAgAAogIAGyIQESCl+/83kvEd8AAAAFwcAEAgCgBAaBwAQHQcAEA2ISGi0RCB+v/gCABGEAAAAAwUQEQRgcb+4AgAQENjzQS9AYyqrQIQESCltf8GAgAArQKB8P/gCACgoHT8Ws0EELEgotEQgez/4AgASiJAM8BWw/siogsQIrAgoiCy0RCB5//gCACtAhwLEBEgZfb/LQOGAAAioGMd8AAAiCYAQIQbAECUJgBAkBsAQDZBABARIGXb/6yKDBNBcf/wMwGMsqgEgfb/4AgArQPGCQCtA4H0/+AIAKgEgfP/4AgABgkAEBEgpdb/DBjwiAEsA6CDg60IFpIAgez/4AgAhgEAAIHo/+AIAB3wYAYAQDZBIWKkHeBmERpmWQYMF1KgAGLREFClIEB3EVJmGhARIOX3/0e3AsZCAK0Ggbb/4AgAxi8AUHPAgYP+4AgAQHdjzQe9AYy6IKIgEBEgpaT/BgIAAK0Cgaz/4AgAoKB0jJoMCIJmFn0IBhIAABARIGXj/70HrQEQESDl5v8QESBl4v/NBxCxIGCmIIGg/+AIAHoielU3tcmSoQfAmRGCpB0ameCIEZgJGoiICJB1wIc3gwbr/wwJkkZsoqQbEKqggc//4AgAVgr/sqILogZsELuwEBEg5acA9+oS9kcPkqINEJmwepmiSQAbd4bx/3zpl5rBZkcSgqEHkiYawIgRGoiZCDe5Ape1iyKiCxAisL0GrQKBf//gCAAQESCl2P+tAhwLEBEgJdz/EBEgpdf/DBoQESDl5v8d8AAAyj9PSEFJsIAAYKE62FCYgABguIAAYCoxHY+0gABg9CvLP6yAN0CYIAxg7IE3QKyFN0AIAAhggCEMYBCAN0AQgANgUIA3QAwAAGA4QABglCzLP///AAAsgQBgjIAAABBAAAD4K8s/CCzLP1AAyj9UAMo/VCzLPxQAAGDw//8A9CvLP2Qryj9wAMo/gAcAQHgbAEC4JgBAZCYAQHQfAEDsCgBAVAkAQFAKAEAABgBAHCkAQCQnAEAIKABA5AYAQHSBBECcCQBA/AkAQAgKAECoBgBAhAkAQGwJAECQCQBAKAgAQNgGAEA24QAhxv8MCinBgeb/4AgAEBEgJbH/FpoEMcH/IcL/QcL/wCAAKQMMAsAgACkEwCAAKQNRvv8xvv9hvv/AIAA5BcAgADgGfPQQRAFAMyDAIAA5BsAgACkFxgEAAEkCSyIGAgAhrf8xtP9CoAA3MuwQESAlwf8MS6LBMBARIKXE/yKhARARIOW//0Fz/ZAiESokwCAASQIxqf8hS/05AhARIKWp/y0KFvoFIar+wav+qAIMK4Gt/uAIADGh/7Gi/xwaDAzAIACpA4G4/+AIAAwa8KoBgSr/4AgAsZv/qAIMFYGz/+AIAKgCgSL/4AgAqAKBsP/gCAAxlf/AIAAoA1AiIMAgACkDhhgAEBEgZaH/vBoxj/8cGrGP/8AgAKJjACDCIIGh/+AIADGM/wxFwCAAKAMMGlAiIMAgACkD8KoBxggAAACxhv/NCgxagZf/4AgAMYP/UqEBwCAAKAMsClAiIMAgACkDgQX/4AgAgZL/4AgAIXz/wCAAKALMuhzDMCIQIsL4DBMgo4MMC4GL/+AIAIGk/eAIAIzaoXP/gYj/4AgAgaH94AgA8XH/DB0MHAwb4qEAQN0RAMwRYLsBDAqBgP/gCAAha/8qRCGU/WLSK4YXAAAAUWH+wCAAMgUAMDB0FtMEDBrwqgHAIAAiRQCB4f7gCACionHAqhGBcv/gCACBcf/gCABxWv986MAgADgHfPqAMxAQqgHAIAA5B4Fr/+AIAIFr/+AIAK0CgWr/4AgAwCAAKAQWovkMB8AgADgEDBLAIAB5BCJBJCIDAQwoeaEiQSWCURMcN3cSJBxHdxIhZpIhIgMDcgMCgCIRcCIgZkISKCPAIAAoAimhhgEAAAAcIiJRExARIKWf/7KgCKLBJBARICWj/7IDAyIDAoC7ESBbICE0/yAg9FeyGqKgwBARIOWd/6Kg7hARIGWd/xARICWc/wba/yIDARxHJzc39iIbxvgAACLCLyAgdLZCAgYlAHEm/3AioCgCoAIAACLC/iAgdBwnJ7cCBu8AcSD/cCKgKAKgAgBywjBwcHS2V8VG6QAsSQwHIqDAlxUCRucAeaEMcq0HEBEgpZb/rQcQESAllv8QESCllP8QESBllP8Mi6LBJCLC/xARIKWX/1Yi/UZEAAwSVqU1wsEQvQWtBYEd/+AIAFaqNBxLosEQEBEgZZX/hrAADBJWdTOBF//gCACgJYPGygAmhQQMEsbIAHgjKDMghyCAgLRW2P4QESClQv8qd6zaBvj/AIEd/eAIAFBcQZwKrQWBRf3gCACGAwAAItLwRgMArQWBBf/gCAAW6v4G7f8gV8DMEsaWAFCQ9FZp/IYLAIEO/eAIAFBQ9ZxKrQWBNf3gCACGBAAAfPgAiBGKIkYDAK0Fgfb+4AgAFqr+Bt3/DBkAmREgV8AnOcVGCwAAAACB/vzgCABQXEGcCq0FgSb94AgAhgMAACLS8EYDAK0Fgeb+4AgAFur+Bs7/IFfAVuL8hncADAcioMAmhQLGlQAMBy0HBpQAJrX1BmoADBImtQIGjgC4M6gjDAcQESDlhv+gJ4OGiQAMGWa1X4hDIKkRDAcioMKHugLGhgC4U6gjkmEREBEg5Tf/kiERoJeDRg4ADBlmtTSIQyCpEQwHIqDCh7oCBnwAKDO4U6gjIHiCkmEREBEg5TT/Ic78DAiSIRGJYiLSK3JiAqCYgy0JBm8AAJHI/AwHogkAIqDGd5oCBm0AeCOyxfAioMC3lwEoWQwHkqDvRgIAeoOCCBgbd4CZMLcn8oIDBXIDBICIEXCIIHIDBgB3EYB3IIIDB4CIAXCIIICZwIKgwQwHkCiThlkAgbD8IqDGkggAfQkWiRWYOAwHIqDIdxkCxlIAKFiSSABGTgAciQwHDBKXFQLGTQD4c+hj2FPIQ7gzqCOBi/7gCAAMCH0KoCiDxkYAAAAMEiZFAsZBAKgjDAuBgf7gCAAGIAAAUJA0DAcioMB3GQJGPQBQVEGLw3z4Rg8AqDyCYRKSYRHCYRCBef7gCADCIRCCIRIoLHgcqAySIRFwchAmAg3AIADYCiAoMNAiECB3IMAgAHkKG5nCzBBXOb7Gk/9mRQJGkv8MByKgwEYmAAwSJrUCxiEAIVX+iFN4I4kCIVT+eQIMAgYdAKFQ/gwH6AoMGbLF8I0HLQewKZPgiYMgiBAioMZ3mF/BSv59CNgMIqDJtz1SsPAUIqDAVp8ELQiGAgAAKoOIaEsiiQeNCSp+IP3AtzLtFmjd+Qx5CsZz/wAMEmaFFyE6/ogCjBiCoMgMB3kCITb+eQIMEoAngwwHBgEADAcioP8goHQQESDlXP9woHQQESBlXP8QESDlWv9WYrUiAwEcJyc3IPYyAgbS/iLC/SAgdAz3J7cChs7+cSX+cCKgKAKgAgAAAHKg0ncSX3Kg1HeSAgYhAMbG/igzOCMQESDlQf+NClbKsKKiccCqEYJhEoEl/uAIAHEX/pEX/sAgAHgHgiEScLQ1wHcRkHcQcLsgILuCrQgwu8KBJP7gCACio+iBGf7gCABGsv4AANhTyEO4M6gjEBEgpWb/hq3+ALIDAyIDAoC7ESC7ILLL8KLDGBARICUs/4am/gAiAwNyAwKAIhFwIiCBEv7gCABxHPwiwvCIN4AiYxaSp4gXioKAjEFGAwAAAIJhEhARIKUQ/4IhEpInBKYZBZInApeo5xARIKX2/hZq/6gXzQKywxiBAf7gCACMOjKgxDlXOBcqMzkXODcgI8ApN4H7/eAIAIaI/gAAcgMCIsMYMgMDDBmAMxFwMyAyw/AGIwBx3P2Bi/uYBzmxkIjAiUGIJgwZh7MBDDmSYREQESDlCP+SIRGB1P2ZAegHodP93QggsiDCwSzywRCCYRKB5f3gCAC4Jp0KqLGCIRKgu8C5JqAzwLgHqiKoQQwMqrsMGrkHkMqDgLvAwNB0VowAwtuAwK2TFmoBrQiCYRKSYREQESClGv+CIRKSIRGCZwBR2ft4NYyjkI8xkIjA1igAVvf11qkAMdT7IqDHKVNGAACMOYz3BlX+FheVUc/7IqDIKVWGUf4xzPsioMkpU8ZO/igjVmKTEBEg5S//oqJxwKoRga/94AgAgbv94AgAxkb+KDMWYpEQESDlLf+io+iBqP3gCADgAgBGQP4d8AAANkEAnQKCoMAoA4eZD8wyDBKGBwAMAikDfOKGDwAmEgcmIhiGAwAAAIKg24ApI4eZKgwiKQN88kYIAAAAIqDcJ5kKDBIpAy0IBgQAAACCoN188oeZBgwSKQMioNsd8AAA",e=1077379072,K="ZCvKP8qNN0CvjjdAcJM3QDqPN0DPjjdAOo83QJmPN0BmkDdA2ZA3QIGQN0BVjTdA/I83QFiQN0C8jzdA+5A3QOaPN0D7kDdAnY43QPqON0A6jzdAmY83QLWON0CWjTdAvJE3QDaTN0ByjDdAVpM3QHKMN0ByjDdAcow3QHKMN0ByjDdAcow3QHKMN0ByjDdAVpE3QHKMN0BRkjdANpM3QAQInwAAAAAAAAAYAQQIBQAAAAAAAAAIAQQIBgAAAAAAAAAAAQQIIQAAAAAAIAAAEQQI3AAAAAAAIAAAEQQIDAAAAAAAIAAAAQQIEgAAAAAAIAAAESAoDAAQAQAA",c=1070279668,Q={entry:S,text:a,text_start:e,data:K,data_start:c};class h extends w{constructor(){super(...arguments),this.CHIP_NAME="ESP32-S3",this.IMAGE_CHIP_ID=9,this.EFUSE_BASE=1610641408,this.MAC_EFUSE_REG=this.EFUSE_BASE+68,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.UART_DATE_REG_ADDR=1610612864,this.FLASH_WRITE_SIZE=1024,this.BOOTLOADER_FLASH_OFFSET=0,this.FLASH_SIZES={"1MB":0,"2MB":16,"4MB":32,"8MB":48,"16MB":64},this.SPI_REG_BASE=1610620928,this.SPI_USR_OFFS=24,this.SPI_USR1_OFFS=28,this.SPI_USR2_OFFS=32,this.SPI_MOSI_DLEN_OFFS=36,this.SPI_MISO_DLEN_OFFS=40,this.SPI_W0_OFFS=88,this.USB_RAM_BLOCK=2048,this.UARTDEV_BUF_NO_USB=3,this.UARTDEV_BUF_NO=1070526796,this.TEXT_START=Q.text_start,this.ENTRY=Q.entry,this.DATA_START=Q.data_start,this.ROM_DATA=Q.data,this.ROM_TEXT=Q.text}async getChipDescription(A){return"ESP32-S3"}async getFlashCap(A){const C=this.EFUSE_BASE+68+4*3;return await A.readReg(C)>>27&7}async getFlashVendor(A){const C=this.EFUSE_BASE+68+4*4,B=await A.readReg(C)>>0&7;return{1:"XMC",2:"GD",3:"FM",4:"TT",5:"BY"}[B]||""}async getPsramCap(A){const C=this.EFUSE_BASE+68+4*4;return await A.readReg(C)>>3&3}async getPsramVendor(A){const C=this.EFUSE_BASE+68+4*4,B=await A.readReg(C)>>7&3;return{1:"AP_3v3",2:"AP_1v8"}[B]||""}async getChipFeatures(A){const g=["Wi-Fi","BLE"],I={0:null,1:"Embedded Flash 8MB",2:"Embedded Flash 4MB"},C=await this.getFlashCap(A),E=await this.getFlashVendor(A),B=I[C],o=B!==void 0?B:"Unknown Embedded Flash";B!==null&&g.push(`${o} (${E})`);const s={0:null,1:"Embedded PSRAM 8MB",2:"Embedded PSRAM 2MB"},t=await this.getPsramCap(A),D=await this.getPsramVendor(A),i=s[t],M=i!==void 0?i:"Unknown Embedded PSRAM";return i!==null&&g.push(`${M} (${D})`),g}async getCrystalFreq(A){return 40}_d2h(A){const g=(+A).toString(16);return g.length===1?"0"+g:g}async postConnect(A){const g=await A.readReg(this.UARTDEV_BUF_NO)&255;A.debug("In _post_connect "+g),g==this.UARTDEV_BUF_NO_USB&&(A.ESP_RAM_BLOCK=this.USB_RAM_BLOCK)}async readMac(A){let g=await A.readReg(this.MAC_EFUSE_REG);g=g>>>0;let I=await A.readReg(this.MAC_EFUSE_REG+4);I=I>>>0&65535;const C=new Uint8Array(6);return C[0]=I>>8&255,C[1]=I&255,C[2]=g>>24&255,C[3]=g>>16&255,C[4]=g>>8&255,C[5]=g&255,this._d2h(C[0])+":"+this._d2h(C[1])+":"+this._d2h(C[2])+":"+this._d2h(C[3])+":"+this._d2h(C[4])+":"+this._d2h(C[5])}getEraseSize(A,g){return g}}export{h as ESP32S3ROM}; diff --git a/contrib/data/www/web/assets/esp8266-8VKmCx7J.js b/contrib/data/www/web/assets/esp8266-CRPT5jVB.js similarity index 97% rename from contrib/data/www/web/assets/esp8266-8VKmCx7J.js rename to contrib/data/www/web/assets/esp8266-CRPT5jVB.js index 88f5e0c4..bb0951ce 100644 --- a/contrib/data/www/web/assets/esp8266-8VKmCx7J.js +++ b/contrib/data/www/web/assets/esp8266-CRPT5jVB.js @@ -1 +1 @@ -import{R as M}from"./rom-Caghk6Eh.js";const B=1074843652,i="qBAAQAH//0Z0AAAAkIH/PwgB/z+AgAAAhIAAAEBAAABIQf8/lIH/PzH5/xLB8CAgdAJhA4XvATKv/pZyA1H0/0H2/zH0/yAgdDA1gEpVwCAAaANCFQBAMPQbQ0BA9MAgAEJVADo2wCAAIkMAIhUAMev/ICD0N5I/Ieb/Meb/Qen/OjLAIABoA1Hm/yeWEoYAAAAAAMAgACkEwCAAWQNGAgDAIABZBMAgACkDMdv/OiIMA8AgADJSAAgxEsEQDfAAoA0AAJiB/z8Agf4/T0hBSais/z+krP8/KNAQQEzqEEAMAABg//8AAAAQAAAAAAEAAAAAAYyAAAAQQAAAAAD//wBAAAAAgf4/BIH+PxAnAAAUAABg//8PAKis/z8Igf4/uKz/PwCAAAA4KQAAkI//PwiD/z8Qg/8/rKz/P5yv/z8wnf8/iK//P5gbAAAACAAAYAkAAFAOAABQEgAAPCkAALCs/z+0rP8/1Kr/PzspAADwgf8/DK//P5Cu/z+ACwAAEK7/P5Ct/z8BAAAAAAAAALAVAADx/wAAmKz/P5iq/z+8DwBAiA8AQKgPAEBYPwBAREYAQCxMAEB4SABAAEoAQLRJAEDMLgBA2DkAQEjfAECQ4QBATCYAQIRJAEAhvP+SoRCQEcAiYSMioAACYUPCYULSYUHiYUDyYT8B6f/AAAAhsv8xs/8MBAYBAABJAksiNzL4hbUBIqCMDEMqIcWnAYW0ASF8/8F6/zGr/yoswCAAyQIhqP8MBDkCMaj/DFIB2f/AAAAxpv8ioQHAIABIAyAkIMAgACkDIqAgAdP/wAAAAdL/wAAAAdL/wAAAcZ3/UZ7/QZ7/MZ7/YqEADAIBzf/AAAAhnP8xYv8qI8AgADgCFnP/wCAA2AIMA8AgADkCDBIiQYQiDQEMJCJBhUJRQzJhIiaSCRwzNxIghggAAAAiDQMyDQKAIhEwIiBmQhEoLcAgACgCImEiBgEAHCIiUUOFqAEioIQMgxoiBZsBIg0DMg0CgCIRMDIgIX//N7ITIqDAxZUBIqDuRZUBxaUBRtz/AAAiDQEMtEeSAgaZACc0Q2ZiAsbLAPZyIGYyAoZxAPZCCGYiAsZWAEbKAGZCAgaHAGZSAsarAIbGACaCefaCAoarAAyUR5ICho8AZpICBqMABsAAHCRHkgJGfAAnNCcM9EeSAoY+ACc0CwzUR5IChoMAxrcAAGayAkZLABwUR5ICRlgARrMAQqDRRxJoJzQRHDRHkgJGOABCoNBHEk/GrAAAQqDSR5IChi8AMqDTN5ICRpcFRqcALEIMDieTAgZqBUYrACKgAEWIASKgAAWIAYWYAUWYASKghDKgCBoiC8yFigFW3P0MDs0ORpsAAMwThl8FRpUAJoMCxpMABmAFAWn/wAAA+sycIsaPAAAAICxBAWb/wAAAVhIj8t/w8CzAzC+GaQUAIDD0VhP+4Sv/hgMAICD1AV7/wAAAVtIg4P/A8CzA9z7qhgMAICxBAVf/wAAAVlIf8t/w8CzAVq/+RloFJoOAxgEAAABmswJG3f8MDsKgwIZ4AAAAZrMCRkQFBnIAAMKgASazAgZwACItBDEX/+KgAMKgwiezAsZuADhdKC1FdgFGPAUAwqABJrMChmYAMi0EIQ7/4qAAwqDCN7ICRmUAKD0MHCDjgjhdKC2FcwEx9/4MBEljMtMr6SMgxIMGWgAAIfP+DA5CAgDCoMbnlALGWADIUigtMsPwMCLAQqDAIMSTIs0YTQJioO/GAQBSBAAbRFBmMCBUwDcl8TINBVINBCINBoAzEQAiEVBDIEAyICINBwwOgCIBMCIgICbAMqDBIMOThkMAAAAh2f4MDjICAMKgxueTAsY+ADgywqDI5xMCBjwA4kIAyFIGOgAcggwODBwnEwIGNwAGCQVmQwKGDwVGMAAwIDQMDsKgwOcSAoYwADD0QYvtzQJ888YMACg+MmExAQL/wAAASC4oHmIuACAkEDIhMSYEDsAgAFImAEBDMFBEEEAiIMAgACkGG8zizhD3PMjGgf9mQwJGgP8Gov9mswIG+QTGFgAAAGHA/gwOSAYMFTLD8C0OQCWDMF6DUCIQwqDG55JLcbn+7QKIB8KgyTc4PjBQFMKgwKLNGIzVBgwAWiooAktVKQRLRAwSUJjANzXtFmLaSQaZB8Zn/2aDAoblBAwcDA7GAQAAAOKgAMKg/8AgdMVeAeAgdIVeAQVvAVZMwCINAQzzNxIxJzMVZkICxq4EZmIChrMEJjICxvn+BhkAABwjN5ICxqgEMqDSNxJFHBM3EgJG8/5GGQAhlP7oPdItAgHA/sAAACGS/sAgADgCIZH+ICMQ4CKC0D0gxYoBPQItDAG5/sAAACKj6AG2/sAAAMbj/lhdSE04PSItAoVqAQbg/gAyDQMiDQKAMxEgMyAyw/AizRgFSQHG2f4AAABSzRhSYSQiDQMyDQKAIhEwIiAiwvAiYSoMH4Z0BCF3/nGW/rIiAGEy/oKgAyInApIhKoJhJ7DGwCc5BAwaomEnsmE2hTkBsiE2cW3+UiEkYiEqcEvAykRqVQuEUmElgmEshwQCxk0Ed7sCRkwEmO2iLRBSLRUobZJhKKJhJlJhKTxTyH3iLRT4/SezAkbuAzFc/jAioCgCoAIAMUL+DA4MEumT6YMp0ymj4mEm/Q7iYSjNDkYGAHIhJwwTcGEEfMRgQ5NtBDliXQtyISQG4AMAgiEkkiElITP+l7jZMggAG3g5goYGAKIhJwwjMGoQfMUMFGBFg20EOWJdC0bUA3IhJFIhJSEo/le321IHAPiCWZKALxEc81oiQmExUmE0smE2G9cFeQEME0IhMVIhNLIhNlYSASKgICBVEFaFAPAgNCLC+CA1g/D0QYv/DBJhLv4AH0AAUqFXNg8AD0BA8JEMBvBigzBmIJxGDB8GAQAAANIhJCEM/ixDOWJdCwabAF0Ltjwehg4AciEnfMNwYQQMEmAjg20CDDOGFQBdC9IhJEYAAP0GgiElh73bG90LLSICAAAcQAAioYvMIO4gtjzkbQ9x+P3gICQptyAhQSnH4ONBwsz9VuIfwCAkJzwoRhEAkiEnfMOQYQQMEmAjg20CDFMh7P05Yn0NxpQDAAAAXQvSISRGAAD9BqIhJae90RvdCy0iAgAAHEAAIqGLzCDuIMAgJCc84cAgJAACQODgkSKv+CDMEPKgABacBoYMAAAAciEnfMNwYQQMEmAjg20CDGMG5//SISRdC4IhJYe94BvdCy0iAgAAHEAAIqEg7iCLzLaM5CHM/cLM+PoyIeP9KiPiQgDg6EGGDAAAAJIhJwwTkGEEfMRgNINtAwxzxtT/0iEkXQuiISUhv/2nvd1B1v0yDQD6IkoiMkIAG90b//ZPAobc/yHt/Xz28hIcIhIdIGYwYGD0Z58Hxh0A0iEkXQssc8Y/ALaMIAYPAHIhJ3zDcGEEDBJgI4NtAjwzBrz/AABdC9IhJEYAAP0GgiElh73ZG90LLSICAAAcQAAioYvMIO4gtozkbQ/gkHSSYSjg6EHCzPj9BkYCADxDhtQC0iEkXQsha/0nte+iISgLb6JFABtVFoYHVrz4hhwADJPGywJdC9IhJEYAAP0GIWH9J7XqhgYAciEnfMNwYQQMEmAjg20CLGPGmf8AANIhJF0LgiElh73ekVb90GjAUCnAZ7IBbQJnvwFtD00G0D0gUCUgUmE0YmE1smE2Abz9wAAAYiE1UiE0siE2at1qVWBvwFZm+UbQAv0GJjIIxgQAANIhJF0LDKMhb/05Yn0NBhcDAAAMDyYSAkYgACKhICJnESwEIYL9QmcSMqAFUmE0YmE1cmEzsmE2Aab9wAAAciEzsiE2YiE1UiE0PQcioJBCoAhCQ1gLIhszVlL/IqBwDJMyR+gLIht3VlL/HJRyoViRVf0MeEYCAAB6IpoigkIALQMbMkeT8SFq/TFq/QyEBgEAQkIAGyI3kvdGYQEhZ/36IiICACc8HUYPAAAAoiEnfMOgYQQMEmAjg20CDLMGVP/SISRdCyFc/foiYiElZ73bG90LPTIDAAAcQAAzoTDuIDICAIvMNzzhIVT9QVT9+iIyAgAMEgATQAAioUBPoAsi4CIQMMzAAANA4OCRSAQxLf0qJDA/oCJjERv/9j8Cht7/IUf9QqEgDANSYTSyYTYBaP3AAAB9DQwPUiE0siE2RhUAAACCISd8w4BhBAwSYCODbQIM4wa0AnIhJF0LkiEll7fgG3cLJyICAAAcQAAioSDuIIvMtjzkITP9QRL9+iIiAgDgMCQqRCEw/cLM/SokMkIA4ONBG/8hC/0yIhM3P9McMzJiE90HbQ8GHQEATAQyoAAiwURSYTRiYTWyYTZyYTMBQ/3AAAByITOB/fwioWCAh4JBHv0qKPoiDAMiwhiCYTIBO/3AAACCITIhGf1CpIAqKPoiDAMiwhgBNf3AAACoz4IhMvAqoCIiEYr/omEtImEuTQ9SITRiITVyITOyITbGAwAiD1gb/xAioDIiERszMmIRMiEuQC/ANzLmDAIpESkBrQIME+BDEZLBREr5mA9KQSop8CIRGzMpFJqqZrPlMeb8OiKMEvYqKyHW/EKm0EBHgoLIWCqIIqC8KiSCYSsMCXzzQmE5ImEwxkMAAF0L0iEkRgAA/QYsM8aZAACiISuCCgCCYTcWiA4QKKB4Ahv3+QL9CAwC8CIRImE4QiE4cCAEImEvC/9AIiBwcUFWX/4Mp4c3O3B4EZB3IAB3EXBwMUIhMHJhLwwacbb8ABhAAKqhKoRwiJDw+hFyo/+GAgAAQiEvqiJCWAD6iCe38gYgAHIhOSCAlIqHoqCwQan8qohAiJBymAzMZzJYDH0DMsP+IClBoaP88qSwxgoAIIAEgIfAQiE5fPeAhzCKhPCIgKCIkHKYDMx3MlgMMHMgMsP+giE3C4iCYTdCITcMuCAhQYeUyCAgBCB3wHz6IiE5cHowenIipLAqdyGO/CB3kJJXDEIhKxuZG0RCYStyIS6XFwLGvf+CIS0mKALGmQBGggAM4seyAsYwAJIhJdApwKYiAoYlACGj/OAwlEF9/CojQCKQIhIMADIRMCAxlvIAMCkxFjIFJzwCRiQAhhIAAAyjx7NEkZj8fPgAA0DgYJFgYAQgKDAqJpoiQCKQIpIMG3PWggYrYz0HZ7zdhgYAoiEnfMOgYQQMEmAjg20CHAPGdv4AANIhJF0LYiElZ73eIg0AGz0AHEAAIqEg7iCLzAzi3QPHMgLG2v8GCAAiDQEyzAgAE0AAMqEiDQDSzQIAHEAAIqEgIyAg7iDCzBAhdfzgMJRhT/wqI2AikDISDAAzETAgMZaiADA5MSAghEYJAAAAgWz8DKR89xs0AARA4ECRQEAEICcwKiSKImAikCKSDE0DliL+AANA4OCRMMzAImEoDPMnIxUhOvxyISj6MiFe/Bv/KiNyQgAGNAAAgiEoZrga3H8cCZJhKAYBANIhJF0LHBMhL/x89jliBkH+MVP8KiMiwvAiAgAiYSYnPB0GDgCiISd8w6BhBAwSYCODbQIcI8Y1/gAA0iEkXQtiISVnvd4b3QstIgIAciEmABxAACKhi8wg7iB3POGCISYxQPySISgMFgAYQABmoZozC2Yyw/DgJhBiAwAACEDg4JEqZiE5/IDMwCovDANmuQwxDPz6QzE1/Do0MgMATQZSYTRiYTWyYTYBSfzAAABiITVSITRq/7IhNoYAAAAMD3EB/EInEWInEmpkZ78Chnj/95YHhgIA0iEkXQscU0bJ/wDxIfwhIvw9D1JhNGJhNbJhNnJhMwE1/MAAAHIhMyEL/DInEUInEjo/ATD8wAAAsiE2YiE1UiE0Mer7KMMLIinD8ej7eM/WN7iGPgFiISUM4tA2wKZDDkG2+1A0wKYjAkZNAMYyAseyAoYuAKYjAkYlAEHc++AglEAikCISvAAyETAgMZYSATApMRZSBSc8AsYkAAYTAAAAAAyjx7NEfPiSpLAAA0DgYJFgYAQgKDAqJpoiQCKQIpIMG3PWggYrYz0HZ7zdhgYAciEnfMNwYQQMEmAjg20CHHPG1P0AANIhJF0LgiElh73eIg0AGz0AHEAAIqEg7iCLzAzi3QPHMgKG2/8GCAAAACINAYs8ABNAADKhIg0AK90AHEAAIqEgIyAg7iDCzBBBr/vgIJRAIpAiErwAIhEg8DGWjwAgKTHw8ITGCAAMo3z3YqSwGyMAA0DgMJEwMATw9zD682r/QP+Q8p8MPQKWL/4AAkDg4JEgzMAioP/3ogLGQACGAgAAHIMG0wDSISRdCyFp+ye17/JFAG0PG1VG6wAM4scyGTINASINAIAzESAjIAAcQAAioSDuICvdwswQMYr74CCUqiIwIpAiEgwAIhEgMDEgKTHWEwIMpBskAARA4ECRQEAEMDkwOjRBf/uKM0AzkDKTDE0ClvP9/QMAAkDg4JEgzMB3g3xioA7HNhpCDQEiDQCARBEgJCAAHEAAIqEg7iDSzQLCzBBBcPvgIJSqIkAikEISDABEEUAgMUBJMdYSAgymG0YABkDgYJFgYAQgKTAqJmFl+4oiYCKQIpIMbQSW8v0yRQAABEDg4JFAzMB3AggbVf0CRgIAAAAiRQErVQZz//BghGb2AoazACKu/ypmIYH74GYRaiIoAiJhJiF/+3IhJmpi+AYWhwV3PBzGDQCCISd8w4BhBAwSYCODbQIck4Zb/QDSISRdC5IhJZe93xvdCy0iAgCiISYAHEAAIqGLzCDuIKc84WIhJgwSABZAACKhCyLgIhBgzMAABkDg4JEq/wzix7IChjAAciEl0CfApiICxiUAQTP74CCUQCKQItIPIhIMADIRMCAxlgIBMCkxFkIFJzwChiQAxhIAAAAMo8ezRJFW+3z4AANA4GCRYGAEICgwKiaaIkAikCKSDBtz1oIGK2M9B2e83YYGAIIhJ3zDgGEEDBJgI4NtAhyjxiv9AADSISRdC5IhJZe93iINABs9ABxAACKhIO4gi8wM4t0DxzICBtv/BggAAAAiDQGLPAATQAAyoSINACvdABxAACKhICMgIO4gwswQYQb74CCUYCKQItIPMhIMADMRMCAxloIAMDkxICCExggAgSv7DKR89xs0AARA4ECRQEAEICcwKiSKImAikCKSDE0DliL+AANA4OCRMMzAMSH74CIRKjM4AzJhJjEf+6IhJiojKAIiYSgWCganPB5GDgByISd8w3BhBAwSYCODbQIcs8b3/AAAANIhJF0LgiElh73dG90LLSICAJIhJgAcQAAioYvMIO4glzzhoiEmDBIAGkAAIqFiISgLIuAiECpmAApA4OCRoMzAYmEocen6giEocHXAkiEsMeb6gCfAkCIQOiJyYSk9BSe1AT0CQZ36+jNtDze0bQYSACHH+ixTOWLGbQA8UyHE+n0NOWIMJgZsAF0L0iEkRgAA/QYhkvonteGiISliIShyISxgKsAx0PpwIhAqIyICABuqIkUAomEpG1ULb1Yf/QYMAAAyAgBixv0yRQAyAgEyRQEyAgI7IjJFAjtV9jbjFgYBMgIAMkUAZiYFIgIBIkUBalX9BqKgsHz5gqSwcqEABr3+IaP6KLIH4gIGl/zAICQnPCBGDwCCISd8w4BhBAwSYCODbQIsAwas/AAAXQvSISRGAAD9BpIhJZe92RvdCy0iAgAAHEAAIqGLzCDuIMAgJCc84cAgJAACQODgkXyCIMwQfQ1GAQAAC3fCzPiiISR3ugL2jPEht/oxt/pNDFJhNHJhM7JhNgWVAAsisiE2ciEzUiE0IO4QDA8WLAaGDAAAAIIhJ3zDgGEEDBJgI4NtAiyTBg8AciEkXQuSISWXt+AbdwsnIgIAABxAACKhIO4gi8y2jOTgMHTCzPjg6EEGCgCiISd8w6BhBAwSYCODbQIsoyFm+jliRg8AciEkXQtiISVnt9syBwAbd0Fg+hv/KKSAIhEwIiAppPZPCEbe/wByISRdCyFa+iwjOWIMBoYBAHIhJF0LfPYmFhVLJsxyhgMAAAt3wsz4giEkd7gC9ozxgU/6IX/6MX/6yXhNDFJhNGJhNXJhM4JhMrJhNoWGAIIhMpIhKKIhJgsimeiSISng4hCiaBByITOiISRSITSyITZiITX5+OJoFJJoFaDXwLDFwP0GllYOMWz6+NgtDMV+APDg9E0C8PD1fQwMeGIhNbIhNkYlAAAAkgIAogIC6umSAgHqmZru+v7iAgOampr/mp7iAgSa/5qe4gIFmv+anuICBpr/mp7iAgea/5ru6v+LIjqSRznAQCNBsCKwsJBgRgIAADICABsiOu7q/yo5vQJHM+8xTvotDkJhMWJhNXJhM4JhMrJhNgV2ADFI+u0CLQ+FdQBCITFyITOyITZAd8CCITJBQfpiITX9AoyHLQuwOMDG5v8AAAD/ESEI+urv6dL9BtxW+KLw7sB87+D3g0YCAAAAAAwM3Qzyr/0xNPpSISooI2IhJNAiwNBVwNpm0RD6KSM4DXEP+lJhKspTWQ1wNcAMAgwV8CWDYmEkICB0VoIAQtOAQCWDFpIAwQX6LQzFKQDJDYIhKtHs+Yz4KD0WsgDwLzHwIsDWIgDGhPvWjwAioMcpXQY6AABWTw4oPcwSRlH6IqDIhgAAIqDJKV3GTfooLYwSBkz6Ie75ARv6wAAAAR76wAAAhkf6yD3MHMZF+iKj6AEV+sAAAMAMAAZC+gDiYSIMfEaU+gEV+sAAAAwcDAMGCAAAyC34PfAsICAgtMwSxpv6Ri77Mi0DIi0CRTMAMqAADBwgw4PGKft4fWhtWF1ITTg9KC0MDAH7+cAAAO0CDBLgwpOGJfsAAAH1+cAAAAwMBh/7ACHI+UhdOC1JAiHG+TkCBvr/QcT5DAI4BMKgyDDCgykEQcD5PQwMHCkEMMKDBhP7xzICxvP9xvr9KD0WIvLGF/oCIUOSoRDCIULSIUHiIUDyIT+aEQ3wAAAIAABgHAAAYAAAAGAQAABgIfz/EsHw6QHAIADoAgkxySHZESH4/8AgAMgCwMB0nOzRmvlGBAAAADH0/8AgACgDOA0gIHTAAwALzGYM6ob0/yHv/wgxwCAA6QLIIdgR6AESwRAN8AAAAPgCAGAQAgBgAAIAYAAAAAgh/P/AIAA4AjAwJFZD/yH5/0H6/8AgADkCMff/wCAASQPAIABIA1Z0/8AgACgCDBMgIAQwIjAN8AAAgAAAAABA////AAQCAGASwfDJIcFw+QkxKEzZERaCCEX6/xYiCChMDPMMDSejDCgsMCIQDBMg04PQ0HQQESBF+P8WYv8h3v8x7v/AIAA5AsAgADIiAFZj/zHX/8AgACgDICAkVkL/KCwx5f9AQhEhZfnQMoMh5P8gJBBB5P/AIAApBCHP/8AgADkCwCAAOAJWc/8MEhwD0COT3QIoTNAiwClMKCza0tksCDHIIdgREsEQDfAAAABMSgBAEsHgyWHBRfn5Mfg86UEJcdlR7QL3swH9AxYfBNgc2t/Q3EEGAQAAAIXy/yhMphIEKCwnrfJF7f8Wkv8oHE0PPQ4B7v/AAAAgIHSMMiKgxClcKBxIPPoi8ETAKRxJPAhxyGHYUehB+DESwSAN8AAAAP8PAABRKvkSwfAJMQwUQkUAMExBSSVB+v85FSk1MDC0SiIqIyAsQSlFDAIiZQUBXPnAAAAIMTKgxSAjkxLBEA3wAAAAMDsAQBLB8AkxMqDAN5IRIqDbAfv/wAAAIqDcRgQAAAAAMqDbN5IIAfb/wAAAIqDdAfT/wAAACDESwRAN8AAAABLB8Mkh2REJMc0COtJGAgAAIgwAwswBxfr/15zzAiEDwiEC2BESwRAN8AAAWBAAAHAQAAAYmABAHEsAQDSYAEAAmQBAkfv/EsHgyWHpQfkxCXHZUZARwO0CItEQzQMB9f/AAADx+viGCgDdDMe/Ad0PTQ09AS0OAfD/wAAAICB0/EJNDT0BItEQAez/wAAA0O6A0MzAVhz9IeX/MtEQECKAAef/wAAAIeH/HAMaIgX1/y0MBgEAAAAioGOR3f+aEQhxyGHYUehB+DESwSAN8AASwfAioMAJMQG6/8AAAAgxEsEQDfAAAABsEAAAaBAAAHQQAAB4EAAAfBAAAIAQAACQEAAAmA8AQIw7AEASweCR/P/5Mf0CIcb/yWHZUQlx6UGQEcAaIjkCMfL/LAIaM0kDQfD/0tEQGkTCoABSZADCbRoB8P/AAABh6v8hwPgaZmgGZ7ICxkkALQ0Btv/AAAAhs/8x5f8qQRozSQNGPgAAAGGv/zHf/xpmaAYaM+gDwCbA57ICIOIgYd3/PQEaZlkGTQ7wLyABqP/AAAAx2P8gIHQaM1gDjLIMBEJtFu0ExhIAAAAAQdH/6v8aRFkEBfH/PQ4tAYXj/0Xw/00OPQHQLSABmv/AAABhyf/qzBpmWAYhk/8aIigCJ7y8McL/UCzAGjM4AzeyAkbd/0bq/0KgAEJNbCG5/xAigAG//8AAAFYC/2G5/yINbBBmgDgGRQcA9+IR9k4OQbH/GkTqNCJDABvuxvH/Mq/+N5LBJk4pIXv/0D0gECKAAX7/wAAABej/IXb/HAMaIkXa/0Xn/ywCAav4wAAAhgUAYXH/Ui0aGmZoBme1yFc8AgbZ/8bv/wCRoP+aEQhxyGHYUehB+DESwSAN8F0CQqDAKANHlQ7MMgwShgYADAIpA3ziDfAmEgUmIhHGCwBCoNstBUeVKQwiKQMGCAAioNwnlQgMEikDLQQN8ABCoN188keVCwwSKQMioNsN8AB88g3wAAC2IzBtAlD2QEDzQEe1KVBEwAAUQAAzoQwCNzYEMGbAGyLwIhEwMUELRFbE/jc2ARsiDfAAjJMN8Dc2DAwSDfAAAAAAAERJVjAMAg3wtiMoUPJAQPNAR7UXUETAABRAADOhNzICMCLAMDFBQsT/VgT/NzICMCLADfDMUwAAAERJVjAMAg3wAAAAABRA5sQJIDOBACKhDfAAAAAyoQwCDfAA",D=1074843648,w="CIH+PwUFBAACAwcAAwMLALnXEEDv1xBAHdgQQLrYEEBo5xBAHtkQQHTZEEDA2RBAaOcQQILaEED/2hBAwNsQQGjnEEBo5xBAWNwQQGjnEEA33xBAAOAQQDvgEEBo5xBAaOcQQNfgEEBo5xBAv+EQQGXiEECj4xBAY+QQQDTlEEBo5xBAaOcQQGjnEEBo5xBAYuYQQGjnEEBX5xBAkN0QQI/YEECm5RBAq9oQQPzZEEBo5xBA7OYQQDHnEEBo5xBAaOcQQGjnEEBo5xBAaOcQQGjnEEBo5xBAaOcQQCLaEEBf2hBAvuUQQAEAAAACAAAAAwAAAAQAAAAFAAAABwAAAAkAAAANAAAAEQAAABkAAAAhAAAAMQAAAEEAAABhAAAAgQAAAMEAAAABAQAAgQEAAAECAAABAwAAAQQAAAEGAAABCAAAAQwAAAEQAAABGAAAASAAAAEwAAABQAAAAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAgAAAAIAAAADAAAAAwAAAAQAAAAEAAAABQAAAAUAAAAGAAAABgAAAAcAAAAHAAAACAAAAAgAAAAJAAAACQAAAAoAAAAKAAAACwAAAAsAAAAMAAAADAAAAA0AAAANAAAAAAAAAAAAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAANAAAADwAAABEAAAATAAAAFwAAABsAAAAfAAAAIwAAACsAAAAzAAAAOwAAAEMAAABTAAAAYwAAAHMAAACDAAAAowAAAMMAAADjAAAAAgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAgAAAAMAAAADAAAAAwAAAAMAAAAEAAAABAAAAAQAAAAEAAAABQAAAAUAAAAFAAAABQAAAAAAAAAAAAAAAAAAABAREgAIBwkGCgULBAwDDQIOAQ8AAQEAAAEAAAAEAAAA",h=1073720488,Q={entry:B,text:i,text_start:D,data:w,data_start:h};class t extends M{constructor(){super(...arguments),this.CHIP_NAME="ESP8266",this.CHIP_DETECT_MAGIC_VALUE=[4293968129],this.EFUSE_RD_REG_BASE=1072693328,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.XTAL_CLK_DIVIDER=2,this.FLASH_WRITE_SIZE=16384,this.BOOTLOADER_FLASH_OFFSET=0,this.UART_DATE_REG_ADDR=0,this.FLASH_SIZES={"512KB":0,"256KB":16,"1MB":32,"2MB":48,"4MB":64,"2MB-c1":80,"4MB-c1":96,"8MB":128,"16MB":144},this.SPI_REG_BASE=1610613248,this.SPI_USR_OFFS=28,this.SPI_USR1_OFFS=32,this.SPI_USR2_OFFS=36,this.SPI_MOSI_DLEN_OFFS=0,this.SPI_MISO_DLEN_OFFS=0,this.SPI_W0_OFFS=64,this.TEXT_START=Q.text_start,this.ENTRY=Q.entry,this.DATA_START=Q.data_start,this.ROM_DATA=Q.data,this.ROM_TEXT=Q.text,this.getChipFeatures=async A=>{const I=["WiFi"];return await this.getChipDescription(A)=="ESP8285"&&I.push("Embedded Flash"),I}}async readEfuse(A,I){const C=this.EFUSE_RD_REG_BASE+4*I;return A.debug("Read efuse "+C),await A.readReg(C)}async getChipDescription(A){const I=await this.readEfuse(A,2);return(await this.readEfuse(A,0)&16|I&65536)!=0?"ESP8285":"ESP8266EX"}async getCrystalFreq(A){const I=await A.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,C=A.transport.baudrate*I/1e6/this.XTAL_CLK_DIVIDER;let g;return C>33?g=40:g=26,Math.abs(g-C)>1&&A.info("WARNING: Detected crystal freq "+C+"MHz is quite different to normalized freq "+g+"MHz. Unsupported crystal in use?"),g}_d2h(A){const I=(+A).toString(16);return I.length===1?"0"+I:I}async readMac(A){let I=await this.readEfuse(A,0);I=I>>>0;let C=await this.readEfuse(A,1);C=C>>>0;let g=await this.readEfuse(A,3);g=g>>>0;const E=new Uint8Array(6);return g!=0?(E[0]=g>>16&255,E[1]=g>>8&255,E[2]=g&255):C>>16&255?(C>>16&255)==1?(E[0]=172,E[1]=208,E[2]=116):A.error("Unknown OUI"):(E[0]=24,E[1]=254,E[2]=52),E[3]=C>>8&255,E[4]=C&255,E[5]=I>>24&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}getEraseSize(A,I){return I}}export{t as ESP8266ROM}; +import{R as M}from"./rom-Caghk6Eh.js";const B=1074843652,i="qBAAQAH//0Z0AAAAkIH/PwgB/z+AgAAAhIAAAEBAAABIQf8/lIH/PzH5/xLB8CAgdAJhA4XvATKv/pZyA1H0/0H2/zH0/yAgdDA1gEpVwCAAaANCFQBAMPQbQ0BA9MAgAEJVADo2wCAAIkMAIhUAMev/ICD0N5I/Ieb/Meb/Qen/OjLAIABoA1Hm/yeWEoYAAAAAAMAgACkEwCAAWQNGAgDAIABZBMAgACkDMdv/OiIMA8AgADJSAAgxEsEQDfAAoA0AAJiB/z8Agf4/T0hBSais/z+krP8/KNAQQEzqEEAMAABg//8AAAAQAAAAAAEAAAAAAYyAAAAQQAAAAAD//wBAAAAAgf4/BIH+PxAnAAAUAABg//8PAKis/z8Igf4/uKz/PwCAAAA4KQAAkI//PwiD/z8Qg/8/rKz/P5yv/z8wnf8/iK//P5gbAAAACAAAYAkAAFAOAABQEgAAPCkAALCs/z+0rP8/1Kr/PzspAADwgf8/DK//P5Cu/z+ACwAAEK7/P5Ct/z8BAAAAAAAAALAVAADx/wAAmKz/P5iq/z+8DwBAiA8AQKgPAEBYPwBAREYAQCxMAEB4SABAAEoAQLRJAEDMLgBA2DkAQEjfAECQ4QBATCYAQIRJAEAhvP+SoRCQEcAiYSMioAACYUPCYULSYUHiYUDyYT8B6f/AAAAhsv8xs/8MBAYBAABJAksiNzL4hbUBIqCMDEMqIcWnAYW0ASF8/8F6/zGr/yoswCAAyQIhqP8MBDkCMaj/DFIB2f/AAAAxpv8ioQHAIABIAyAkIMAgACkDIqAgAdP/wAAAAdL/wAAAAdL/wAAAcZ3/UZ7/QZ7/MZ7/YqEADAIBzf/AAAAhnP8xYv8qI8AgADgCFnP/wCAA2AIMA8AgADkCDBIiQYQiDQEMJCJBhUJRQzJhIiaSCRwzNxIghggAAAAiDQMyDQKAIhEwIiBmQhEoLcAgACgCImEiBgEAHCIiUUOFqAEioIQMgxoiBZsBIg0DMg0CgCIRMDIgIX//N7ITIqDAxZUBIqDuRZUBxaUBRtz/AAAiDQEMtEeSAgaZACc0Q2ZiAsbLAPZyIGYyAoZxAPZCCGYiAsZWAEbKAGZCAgaHAGZSAsarAIbGACaCefaCAoarAAyUR5ICho8AZpICBqMABsAAHCRHkgJGfAAnNCcM9EeSAoY+ACc0CwzUR5IChoMAxrcAAGayAkZLABwUR5ICRlgARrMAQqDRRxJoJzQRHDRHkgJGOABCoNBHEk/GrAAAQqDSR5IChi8AMqDTN5ICRpcFRqcALEIMDieTAgZqBUYrACKgAEWIASKgAAWIAYWYAUWYASKghDKgCBoiC8yFigFW3P0MDs0ORpsAAMwThl8FRpUAJoMCxpMABmAFAWn/wAAA+sycIsaPAAAAICxBAWb/wAAAVhIj8t/w8CzAzC+GaQUAIDD0VhP+4Sv/hgMAICD1AV7/wAAAVtIg4P/A8CzA9z7qhgMAICxBAVf/wAAAVlIf8t/w8CzAVq/+RloFJoOAxgEAAABmswJG3f8MDsKgwIZ4AAAAZrMCRkQFBnIAAMKgASazAgZwACItBDEX/+KgAMKgwiezAsZuADhdKC1FdgFGPAUAwqABJrMChmYAMi0EIQ7/4qAAwqDCN7ICRmUAKD0MHCDjgjhdKC2FcwEx9/4MBEljMtMr6SMgxIMGWgAAIfP+DA5CAgDCoMbnlALGWADIUigtMsPwMCLAQqDAIMSTIs0YTQJioO/GAQBSBAAbRFBmMCBUwDcl8TINBVINBCINBoAzEQAiEVBDIEAyICINBwwOgCIBMCIgICbAMqDBIMOThkMAAAAh2f4MDjICAMKgxueTAsY+ADgywqDI5xMCBjwA4kIAyFIGOgAcggwODBwnEwIGNwAGCQVmQwKGDwVGMAAwIDQMDsKgwOcSAoYwADD0QYvtzQJ888YMACg+MmExAQL/wAAASC4oHmIuACAkEDIhMSYEDsAgAFImAEBDMFBEEEAiIMAgACkGG8zizhD3PMjGgf9mQwJGgP8Gov9mswIG+QTGFgAAAGHA/gwOSAYMFTLD8C0OQCWDMF6DUCIQwqDG55JLcbn+7QKIB8KgyTc4PjBQFMKgwKLNGIzVBgwAWiooAktVKQRLRAwSUJjANzXtFmLaSQaZB8Zn/2aDAoblBAwcDA7GAQAAAOKgAMKg/8AgdMVeAeAgdIVeAQVvAVZMwCINAQzzNxIxJzMVZkICxq4EZmIChrMEJjICxvn+BhkAABwjN5ICxqgEMqDSNxJFHBM3EgJG8/5GGQAhlP7oPdItAgHA/sAAACGS/sAgADgCIZH+ICMQ4CKC0D0gxYoBPQItDAG5/sAAACKj6AG2/sAAAMbj/lhdSE04PSItAoVqAQbg/gAyDQMiDQKAMxEgMyAyw/AizRgFSQHG2f4AAABSzRhSYSQiDQMyDQKAIhEwIiAiwvAiYSoMH4Z0BCF3/nGW/rIiAGEy/oKgAyInApIhKoJhJ7DGwCc5BAwaomEnsmE2hTkBsiE2cW3+UiEkYiEqcEvAykRqVQuEUmElgmEshwQCxk0Ed7sCRkwEmO2iLRBSLRUobZJhKKJhJlJhKTxTyH3iLRT4/SezAkbuAzFc/jAioCgCoAIAMUL+DA4MEumT6YMp0ymj4mEm/Q7iYSjNDkYGAHIhJwwTcGEEfMRgQ5NtBDliXQtyISQG4AMAgiEkkiElITP+l7jZMggAG3g5goYGAKIhJwwjMGoQfMUMFGBFg20EOWJdC0bUA3IhJFIhJSEo/le321IHAPiCWZKALxEc81oiQmExUmE0smE2G9cFeQEME0IhMVIhNLIhNlYSASKgICBVEFaFAPAgNCLC+CA1g/D0QYv/DBJhLv4AH0AAUqFXNg8AD0BA8JEMBvBigzBmIJxGDB8GAQAAANIhJCEM/ixDOWJdCwabAF0Ltjwehg4AciEnfMNwYQQMEmAjg20CDDOGFQBdC9IhJEYAAP0GgiElh73bG90LLSICAAAcQAAioYvMIO4gtjzkbQ9x+P3gICQptyAhQSnH4ONBwsz9VuIfwCAkJzwoRhEAkiEnfMOQYQQMEmAjg20CDFMh7P05Yn0NxpQDAAAAXQvSISRGAAD9BqIhJae90RvdCy0iAgAAHEAAIqGLzCDuIMAgJCc84cAgJAACQODgkSKv+CDMEPKgABacBoYMAAAAciEnfMNwYQQMEmAjg20CDGMG5//SISRdC4IhJYe94BvdCy0iAgAAHEAAIqEg7iCLzLaM5CHM/cLM+PoyIeP9KiPiQgDg6EGGDAAAAJIhJwwTkGEEfMRgNINtAwxzxtT/0iEkXQuiISUhv/2nvd1B1v0yDQD6IkoiMkIAG90b//ZPAobc/yHt/Xz28hIcIhIdIGYwYGD0Z58Hxh0A0iEkXQssc8Y/ALaMIAYPAHIhJ3zDcGEEDBJgI4NtAjwzBrz/AABdC9IhJEYAAP0GgiElh73ZG90LLSICAAAcQAAioYvMIO4gtozkbQ/gkHSSYSjg6EHCzPj9BkYCADxDhtQC0iEkXQsha/0nte+iISgLb6JFABtVFoYHVrz4hhwADJPGywJdC9IhJEYAAP0GIWH9J7XqhgYAciEnfMNwYQQMEmAjg20CLGPGmf8AANIhJF0LgiElh73ekVb90GjAUCnAZ7IBbQJnvwFtD00G0D0gUCUgUmE0YmE1smE2Abz9wAAAYiE1UiE0siE2at1qVWBvwFZm+UbQAv0GJjIIxgQAANIhJF0LDKMhb/05Yn0NBhcDAAAMDyYSAkYgACKhICJnESwEIYL9QmcSMqAFUmE0YmE1cmEzsmE2Aab9wAAAciEzsiE2YiE1UiE0PQcioJBCoAhCQ1gLIhszVlL/IqBwDJMyR+gLIht3VlL/HJRyoViRVf0MeEYCAAB6IpoigkIALQMbMkeT8SFq/TFq/QyEBgEAQkIAGyI3kvdGYQEhZ/36IiICACc8HUYPAAAAoiEnfMOgYQQMEmAjg20CDLMGVP/SISRdCyFc/foiYiElZ73bG90LPTIDAAAcQAAzoTDuIDICAIvMNzzhIVT9QVT9+iIyAgAMEgATQAAioUBPoAsi4CIQMMzAAANA4OCRSAQxLf0qJDA/oCJjERv/9j8Cht7/IUf9QqEgDANSYTSyYTYBaP3AAAB9DQwPUiE0siE2RhUAAACCISd8w4BhBAwSYCODbQIM4wa0AnIhJF0LkiEll7fgG3cLJyICAAAcQAAioSDuIIvMtjzkITP9QRL9+iIiAgDgMCQqRCEw/cLM/SokMkIA4ONBG/8hC/0yIhM3P9McMzJiE90HbQ8GHQEATAQyoAAiwURSYTRiYTWyYTZyYTMBQ/3AAAByITOB/fwioWCAh4JBHv0qKPoiDAMiwhiCYTIBO/3AAACCITIhGf1CpIAqKPoiDAMiwhgBNf3AAACoz4IhMvAqoCIiEYr/omEtImEuTQ9SITRiITVyITOyITbGAwAiD1gb/xAioDIiERszMmIRMiEuQC/ANzLmDAIpESkBrQIME+BDEZLBREr5mA9KQSop8CIRGzMpFJqqZrPlMeb8OiKMEvYqKyHW/EKm0EBHgoLIWCqIIqC8KiSCYSsMCXzzQmE5ImEwxkMAAF0L0iEkRgAA/QYsM8aZAACiISuCCgCCYTcWiA4QKKB4Ahv3+QL9CAwC8CIRImE4QiE4cCAEImEvC/9AIiBwcUFWX/4Mp4c3O3B4EZB3IAB3EXBwMUIhMHJhLwwacbb8ABhAAKqhKoRwiJDw+hFyo/+GAgAAQiEvqiJCWAD6iCe38gYgAHIhOSCAlIqHoqCwQan8qohAiJBymAzMZzJYDH0DMsP+IClBoaP88qSwxgoAIIAEgIfAQiE5fPeAhzCKhPCIgKCIkHKYDMx3MlgMMHMgMsP+giE3C4iCYTdCITcMuCAhQYeUyCAgBCB3wHz6IiE5cHowenIipLAqdyGO/CB3kJJXDEIhKxuZG0RCYStyIS6XFwLGvf+CIS0mKALGmQBGggAM4seyAsYwAJIhJdApwKYiAoYlACGj/OAwlEF9/CojQCKQIhIMADIRMCAxlvIAMCkxFjIFJzwCRiQAhhIAAAyjx7NEkZj8fPgAA0DgYJFgYAQgKDAqJpoiQCKQIpIMG3PWggYrYz0HZ7zdhgYAoiEnfMOgYQQMEmAjg20CHAPGdv4AANIhJF0LYiElZ73eIg0AGz0AHEAAIqEg7iCLzAzi3QPHMgLG2v8GCAAiDQEyzAgAE0AAMqEiDQDSzQIAHEAAIqEgIyAg7iDCzBAhdfzgMJRhT/wqI2AikDISDAAzETAgMZaiADA5MSAghEYJAAAAgWz8DKR89xs0AARA4ECRQEAEICcwKiSKImAikCKSDE0DliL+AANA4OCRMMzAImEoDPMnIxUhOvxyISj6MiFe/Bv/KiNyQgAGNAAAgiEoZrga3H8cCZJhKAYBANIhJF0LHBMhL/x89jliBkH+MVP8KiMiwvAiAgAiYSYnPB0GDgCiISd8w6BhBAwSYCODbQIcI8Y1/gAA0iEkXQtiISVnvd4b3QstIgIAciEmABxAACKhi8wg7iB3POGCISYxQPySISgMFgAYQABmoZozC2Yyw/DgJhBiAwAACEDg4JEqZiE5/IDMwCovDANmuQwxDPz6QzE1/Do0MgMATQZSYTRiYTWyYTYBSfzAAABiITVSITRq/7IhNoYAAAAMD3EB/EInEWInEmpkZ78Chnj/95YHhgIA0iEkXQscU0bJ/wDxIfwhIvw9D1JhNGJhNbJhNnJhMwE1/MAAAHIhMyEL/DInEUInEjo/ATD8wAAAsiE2YiE1UiE0Mer7KMMLIinD8ej7eM/WN7iGPgFiISUM4tA2wKZDDkG2+1A0wKYjAkZNAMYyAseyAoYuAKYjAkYlAEHc++AglEAikCISvAAyETAgMZYSATApMRZSBSc8AsYkAAYTAAAAAAyjx7NEfPiSpLAAA0DgYJFgYAQgKDAqJpoiQCKQIpIMG3PWggYrYz0HZ7zdhgYAciEnfMNwYQQMEmAjg20CHHPG1P0AANIhJF0LgiElh73eIg0AGz0AHEAAIqEg7iCLzAzi3QPHMgKG2/8GCAAAACINAYs8ABNAADKhIg0AK90AHEAAIqEgIyAg7iDCzBBBr/vgIJRAIpAiErwAIhEg8DGWjwAgKTHw8ITGCAAMo3z3YqSwGyMAA0DgMJEwMATw9zD682r/QP+Q8p8MPQKWL/4AAkDg4JEgzMAioP/3ogLGQACGAgAAHIMG0wDSISRdCyFp+ye17/JFAG0PG1VG6wAM4scyGTINASINAIAzESAjIAAcQAAioSDuICvdwswQMYr74CCUqiIwIpAiEgwAIhEgMDEgKTHWEwIMpBskAARA4ECRQEAEMDkwOjRBf/uKM0AzkDKTDE0ClvP9/QMAAkDg4JEgzMB3g3xioA7HNhpCDQEiDQCARBEgJCAAHEAAIqEg7iDSzQLCzBBBcPvgIJSqIkAikEISDABEEUAgMUBJMdYSAgymG0YABkDgYJFgYAQgKTAqJmFl+4oiYCKQIpIMbQSW8v0yRQAABEDg4JFAzMB3AggbVf0CRgIAAAAiRQErVQZz//BghGb2AoazACKu/ypmIYH74GYRaiIoAiJhJiF/+3IhJmpi+AYWhwV3PBzGDQCCISd8w4BhBAwSYCODbQIck4Zb/QDSISRdC5IhJZe93xvdCy0iAgCiISYAHEAAIqGLzCDuIKc84WIhJgwSABZAACKhCyLgIhBgzMAABkDg4JEq/wzix7IChjAAciEl0CfApiICxiUAQTP74CCUQCKQItIPIhIMADIRMCAxlgIBMCkxFkIFJzwChiQAxhIAAAAMo8ezRJFW+3z4AANA4GCRYGAEICgwKiaaIkAikCKSDBtz1oIGK2M9B2e83YYGAIIhJ3zDgGEEDBJgI4NtAhyjxiv9AADSISRdC5IhJZe93iINABs9ABxAACKhIO4gi8wM4t0DxzICBtv/BggAAAAiDQGLPAATQAAyoSINACvdABxAACKhICMgIO4gwswQYQb74CCUYCKQItIPMhIMADMRMCAxloIAMDkxICCExggAgSv7DKR89xs0AARA4ECRQEAEICcwKiSKImAikCKSDE0DliL+AANA4OCRMMzAMSH74CIRKjM4AzJhJjEf+6IhJiojKAIiYSgWCganPB5GDgByISd8w3BhBAwSYCODbQIcs8b3/AAAANIhJF0LgiElh73dG90LLSICAJIhJgAcQAAioYvMIO4glzzhoiEmDBIAGkAAIqFiISgLIuAiECpmAApA4OCRoMzAYmEocen6giEocHXAkiEsMeb6gCfAkCIQOiJyYSk9BSe1AT0CQZ36+jNtDze0bQYSACHH+ixTOWLGbQA8UyHE+n0NOWIMJgZsAF0L0iEkRgAA/QYhkvonteGiISliIShyISxgKsAx0PpwIhAqIyICABuqIkUAomEpG1ULb1Yf/QYMAAAyAgBixv0yRQAyAgEyRQEyAgI7IjJFAjtV9jbjFgYBMgIAMkUAZiYFIgIBIkUBalX9BqKgsHz5gqSwcqEABr3+IaP6KLIH4gIGl/zAICQnPCBGDwCCISd8w4BhBAwSYCODbQIsAwas/AAAXQvSISRGAAD9BpIhJZe92RvdCy0iAgAAHEAAIqGLzCDuIMAgJCc84cAgJAACQODgkXyCIMwQfQ1GAQAAC3fCzPiiISR3ugL2jPEht/oxt/pNDFJhNHJhM7JhNgWVAAsisiE2ciEzUiE0IO4QDA8WLAaGDAAAAIIhJ3zDgGEEDBJgI4NtAiyTBg8AciEkXQuSISWXt+AbdwsnIgIAABxAACKhIO4gi8y2jOTgMHTCzPjg6EEGCgCiISd8w6BhBAwSYCODbQIsoyFm+jliRg8AciEkXQtiISVnt9syBwAbd0Fg+hv/KKSAIhEwIiAppPZPCEbe/wByISRdCyFa+iwjOWIMBoYBAHIhJF0LfPYmFhVLJsxyhgMAAAt3wsz4giEkd7gC9ozxgU/6IX/6MX/6yXhNDFJhNGJhNXJhM4JhMrJhNoWGAIIhMpIhKKIhJgsimeiSISng4hCiaBByITOiISRSITSyITZiITX5+OJoFJJoFaDXwLDFwP0GllYOMWz6+NgtDMV+APDg9E0C8PD1fQwMeGIhNbIhNkYlAAAAkgIAogIC6umSAgHqmZru+v7iAgOampr/mp7iAgSa/5qe4gIFmv+anuICBpr/mp7iAgea/5ru6v+LIjqSRznAQCNBsCKwsJBgRgIAADICABsiOu7q/yo5vQJHM+8xTvotDkJhMWJhNXJhM4JhMrJhNgV2ADFI+u0CLQ+FdQBCITFyITOyITZAd8CCITJBQfpiITX9AoyHLQuwOMDG5v8AAAD/ESEI+urv6dL9BtxW+KLw7sB87+D3g0YCAAAAAAwM3Qzyr/0xNPpSISooI2IhJNAiwNBVwNpm0RD6KSM4DXEP+lJhKspTWQ1wNcAMAgwV8CWDYmEkICB0VoIAQtOAQCWDFpIAwQX6LQzFKQDJDYIhKtHs+Yz4KD0WsgDwLzHwIsDWIgDGhPvWjwAioMcpXQY6AABWTw4oPcwSRlH6IqDIhgAAIqDJKV3GTfooLYwSBkz6Ie75ARv6wAAAAR76wAAAhkf6yD3MHMZF+iKj6AEV+sAAAMAMAAZC+gDiYSIMfEaU+gEV+sAAAAwcDAMGCAAAyC34PfAsICAgtMwSxpv6Ri77Mi0DIi0CRTMAMqAADBwgw4PGKft4fWhtWF1ITTg9KC0MDAH7+cAAAO0CDBLgwpOGJfsAAAH1+cAAAAwMBh/7ACHI+UhdOC1JAiHG+TkCBvr/QcT5DAI4BMKgyDDCgykEQcD5PQwMHCkEMMKDBhP7xzICxvP9xvr9KD0WIvLGF/oCIUOSoRDCIULSIUHiIUDyIT+aEQ3wAAAIAABgHAAAYAAAAGAQAABgIfz/EsHw6QHAIADoAgkxySHZESH4/8AgAMgCwMB0nOzRmvlGBAAAADH0/8AgACgDOA0gIHTAAwALzGYM6ob0/yHv/wgxwCAA6QLIIdgR6AESwRAN8AAAAPgCAGAQAgBgAAIAYAAAAAgh/P/AIAA4AjAwJFZD/yH5/0H6/8AgADkCMff/wCAASQPAIABIA1Z0/8AgACgCDBMgIAQwIjAN8AAAgAAAAABA////AAQCAGASwfDJIcFw+QkxKEzZERaCCEX6/xYiCChMDPMMDSejDCgsMCIQDBMg04PQ0HQQESBF+P8WYv8h3v8x7v/AIAA5AsAgADIiAFZj/zHX/8AgACgDICAkVkL/KCwx5f9AQhEhZfnQMoMh5P8gJBBB5P/AIAApBCHP/8AgADkCwCAAOAJWc/8MEhwD0COT3QIoTNAiwClMKCza0tksCDHIIdgREsEQDfAAAABMSgBAEsHgyWHBRfn5Mfg86UEJcdlR7QL3swH9AxYfBNgc2t/Q3EEGAQAAAIXy/yhMphIEKCwnrfJF7f8Wkv8oHE0PPQ4B7v/AAAAgIHSMMiKgxClcKBxIPPoi8ETAKRxJPAhxyGHYUehB+DESwSAN8AAAAP8PAABRKvkSwfAJMQwUQkUAMExBSSVB+v85FSk1MDC0SiIqIyAsQSlFDAIiZQUBXPnAAAAIMTKgxSAjkxLBEA3wAAAAMDsAQBLB8AkxMqDAN5IRIqDbAfv/wAAAIqDcRgQAAAAAMqDbN5IIAfb/wAAAIqDdAfT/wAAACDESwRAN8AAAABLB8Mkh2REJMc0COtJGAgAAIgwAwswBxfr/15zzAiEDwiEC2BESwRAN8AAAWBAAAHAQAAAYmABAHEsAQDSYAEAAmQBAkfv/EsHgyWHpQfkxCXHZUZARwO0CItEQzQMB9f/AAADx+viGCgDdDMe/Ad0PTQ09AS0OAfD/wAAAICB0/EJNDT0BItEQAez/wAAA0O6A0MzAVhz9IeX/MtEQECKAAef/wAAAIeH/HAMaIgX1/y0MBgEAAAAioGOR3f+aEQhxyGHYUehB+DESwSAN8AASwfAioMAJMQG6/8AAAAgxEsEQDfAAAABsEAAAaBAAAHQQAAB4EAAAfBAAAIAQAACQEAAAmA8AQIw7AEASweCR/P/5Mf0CIcb/yWHZUQlx6UGQEcAaIjkCMfL/LAIaM0kDQfD/0tEQGkTCoABSZADCbRoB8P/AAABh6v8hwPgaZmgGZ7ICxkkALQ0Btv/AAAAhs/8x5f8qQRozSQNGPgAAAGGv/zHf/xpmaAYaM+gDwCbA57ICIOIgYd3/PQEaZlkGTQ7wLyABqP/AAAAx2P8gIHQaM1gDjLIMBEJtFu0ExhIAAAAAQdH/6v8aRFkEBfH/PQ4tAYXj/0Xw/00OPQHQLSABmv/AAABhyf/qzBpmWAYhk/8aIigCJ7y8McL/UCzAGjM4AzeyAkbd/0bq/0KgAEJNbCG5/xAigAG//8AAAFYC/2G5/yINbBBmgDgGRQcA9+IR9k4OQbH/GkTqNCJDABvuxvH/Mq/+N5LBJk4pIXv/0D0gECKAAX7/wAAABej/IXb/HAMaIkXa/0Xn/ywCAav4wAAAhgUAYXH/Ui0aGmZoBme1yFc8AgbZ/8bv/wCRoP+aEQhxyGHYUehB+DESwSAN8F0CQqDAKANHlQ7MMgwShgYADAIpA3ziDfAmEgUmIhHGCwBCoNstBUeVKQwiKQMGCAAioNwnlQgMEikDLQQN8ABCoN188keVCwwSKQMioNsN8AB88g3wAAC2IzBtAlD2QEDzQEe1KVBEwAAUQAAzoQwCNzYEMGbAGyLwIhEwMUELRFbE/jc2ARsiDfAAjJMN8Dc2DAwSDfAAAAAAAERJVjAMAg3wtiMoUPJAQPNAR7UXUETAABRAADOhNzICMCLAMDFBQsT/VgT/NzICMCLADfDMUwAAAERJVjAMAg3wAAAAABRA5sQJIDOBACKhDfAAAAAyoQwCDfAA",D=1074843648,w="CIH+PwUFBAACAwcAAwMLALnXEEDv1xBAHdgQQLrYEEBo5xBAHtkQQHTZEEDA2RBAaOcQQILaEED/2hBAwNsQQGjnEEBo5xBAWNwQQGjnEEA33xBAAOAQQDvgEEBo5xBAaOcQQNfgEEBo5xBAv+EQQGXiEECj4xBAY+QQQDTlEEBo5xBAaOcQQGjnEEBo5xBAYuYQQGjnEEBX5xBAkN0QQI/YEECm5RBAq9oQQPzZEEBo5xBA7OYQQDHnEEBo5xBAaOcQQGjnEEBo5xBAaOcQQGjnEEBo5xBAaOcQQCLaEEBf2hBAvuUQQAEAAAACAAAAAwAAAAQAAAAFAAAABwAAAAkAAAANAAAAEQAAABkAAAAhAAAAMQAAAEEAAABhAAAAgQAAAMEAAAABAQAAgQEAAAECAAABAwAAAQQAAAEGAAABCAAAAQwAAAEQAAABGAAAASAAAAEwAAABQAAAAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAgAAAAIAAAADAAAAAwAAAAQAAAAEAAAABQAAAAUAAAAGAAAABgAAAAcAAAAHAAAACAAAAAgAAAAJAAAACQAAAAoAAAAKAAAACwAAAAsAAAAMAAAADAAAAA0AAAANAAAAAAAAAAAAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAANAAAADwAAABEAAAATAAAAFwAAABsAAAAfAAAAIwAAACsAAAAzAAAAOwAAAEMAAABTAAAAYwAAAHMAAACDAAAAowAAAMMAAADjAAAAAgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAgAAAAMAAAADAAAAAwAAAAMAAAAEAAAABAAAAAQAAAAEAAAABQAAAAUAAAAFAAAABQAAAAAAAAAAAAAAAAAAABAREgAIBwkGCgULBAwDDQIOAQ8AAQEAAAEAAAAEAAAA",h=1073720488,Q={entry:B,text:i,text_start:D,data:w,data_start:h};class t extends M{constructor(){super(...arguments),this.CHIP_NAME="ESP8266",this.CHIP_DETECT_MAGIC_VALUE=[4293968129],this.EFUSE_RD_REG_BASE=1072693328,this.UART_CLKDIV_REG=1610612756,this.UART_CLKDIV_MASK=1048575,this.XTAL_CLK_DIVIDER=2,this.FLASH_WRITE_SIZE=16384,this.BOOTLOADER_FLASH_OFFSET=0,this.UART_DATE_REG_ADDR=0,this.FLASH_SIZES={"512KB":0,"256KB":16,"1MB":32,"2MB":48,"4MB":64,"2MB-c1":80,"4MB-c1":96,"8MB":128,"16MB":144},this.SPI_REG_BASE=1610613248,this.SPI_USR_OFFS=28,this.SPI_USR1_OFFS=32,this.SPI_USR2_OFFS=36,this.SPI_MOSI_DLEN_OFFS=0,this.SPI_MISO_DLEN_OFFS=0,this.SPI_W0_OFFS=64,this.TEXT_START=Q.text_start,this.ENTRY=Q.entry,this.DATA_START=Q.data_start,this.ROM_DATA=Q.data,this.ROM_TEXT=Q.text,this.getChipFeatures=async A=>{const I=["WiFi"];return await this.getChipDescription(A)=="ESP8285"&&I.push("Embedded Flash"),I}}async readEfuse(A,I){const C=this.EFUSE_RD_REG_BASE+4*I;return A.debug("Read efuse "+C),await A.readReg(C)}async getChipDescription(A){const I=await this.readEfuse(A,2);return(await this.readEfuse(A,0)&16|I&65536)!=0?"ESP8285":"ESP8266EX"}async getCrystalFreq(A){const I=await A.readReg(this.UART_CLKDIV_REG)&this.UART_CLKDIV_MASK,C=A.transport.baudrate*I/1e6/this.XTAL_CLK_DIVIDER;let g;return C>33?g=40:g=26,Math.abs(g-C)>1&&A.info("WARNING: Detected crystal freq "+C+"MHz is quite different to normalized freq "+g+"MHz. Unsupported crystal in use?"),g}_d2h(A){const I=(+A).toString(16);return I.length===1?"0"+I:I}async readMac(A){let I=await this.readEfuse(A,0);I=I>>>0;let C=await this.readEfuse(A,1);C=C>>>0;let g=await this.readEfuse(A,3);g=g>>>0;const E=new Uint8Array(6);return g!=0?(E[0]=g>>16&255,E[1]=g>>8&255,E[2]=g&255):(C>>16&255)==0?(E[0]=24,E[1]=254,E[2]=52):(C>>16&255)==1?(E[0]=172,E[1]=208,E[2]=116):A.error("Unknown OUI"),E[3]=C>>8&255,E[4]=C&255,E[5]=I>>24&255,this._d2h(E[0])+":"+this._d2h(E[1])+":"+this._d2h(E[2])+":"+this._d2h(E[3])+":"+this._d2h(E[4])+":"+this._d2h(E[5])}getEraseSize(A,I){return I}}export{t as ESP8266ROM}; diff --git a/contrib/data/www/web/assets/index-BxL7ekCV.css b/contrib/data/www/web/assets/index-BxL7ekCV.css new file mode 100644 index 00000000..f4b1ebab --- /dev/null +++ b/contrib/data/www/web/assets/index-BxL7ekCV.css @@ -0,0 +1 @@ +body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.ant-layout .ant-layout-sider-children{margin:0!important}.ant-select{width:-webkit-fill-available!important;width:-moz-available!important;width:stretch!important}.ant-menu.ant-menu-dark{background:#141414!important}.ant-list-header{border-block-end:none!important}.ant-menu.ant-menu-root.ant-menu-inline{border-inline-end:none!important}.ant-card-actions{background:transparent!important}.sticky-footer .ant-modal-footer{position:sticky;bottom:0;padding:12px 24px;margin-bottom:0;z-index:10}.sticky-footer .ant-modal-content{padding:20px 24px 0}.ant-select-dropdown img{height:64px!important;width:64px!important;object-fit:cover!important;display:block!important;margin:8px}.ant-table-cell{padding:8px!important}.ant-steps-item-active .ant-steps-item-title{font-weight:500}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ant-steps .ant-steps-item-process.ant-steps-item-in-progress .ant-steps-item-icon{position:relative;border-radius:50%;overflow:hidden}.ant-steps .ant-steps-item-process.ant-steps-item-in-progress .ant-steps-item-icon:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;border:2px solid transparent;border-top-color:#e6f4ff;animation:spin 1s linear infinite;transform-origin:center}.move-file .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.showBigDevicesOnly,.showMediumDevicesOnly{display:none}.showSmallDevicesOnly{display:block}.ant-table-cell img{margin:-7px!important;width:75px!important}@media (max-width: 767px){.ant-menu{background:transparent!important}}@media (min-width: 767px){.showSmallDevicesOnly{display:none}.ant-table-cell img{margin:unset!important;width:100px!important}}@media (min-width: 767px) and (max-width: 1199px){.showMediumDevicesOnly{display:block}}@media (min-width: 1200px){.showBigDevicesOnly{display:block}}.ant-pagination-options-size-changer .ant-select-selection-search input{display:none}.ant-list .ant-row>div,.ant-list .ant-row .ant-col:first-child{display:flex}.ant-list .ant-row .ant-list-item{flex:1 1 auto}.ant-list .ant-row .ant-list-item .ant-card{height:100%;display:flex;flex-direction:column}.ant-card-cover{height:100%;align-content:center}.matrix-theme{--matrix-green: #00ff00;--matrix-green-soft: #33ff33;--matrix-green-secondary: #66ff66;--matrix-green-less-dark: #004400;--matrix-green-dark: #003300;--matrix-green-darker: #002200;--matrix-green-darkest: #001100;--matrix-green-dimmest: #339933;--matrix-black: #000000}.matrix-theme .ant-layout,.matrix-theme .ant-card,.matrix-theme .ant-card-footer,.matrix-theme .ant-layout-header,.matrix-theme .ant-layout-content,.matrix-theme .ant-layout-sider,.matrix-theme .ant-menu{background:transparent!important;box-shadow:none!important;color:var(--matrix-green)!important}.matrix-theme,.matrix-theme .ant-list-item-meta-description,.matrix-theme .ant-list-empty-text,.matrix-theme .ant-breadcrumb,.matrix-theme .ant-breadcrumb-separator,.matrix-theme .ant-radio-button-wrapper-disabled,.matrix-theme .ant-btn-disabled,.matrix-theme .ant-btn-variant-outlined:disabled,.matrix-theme .ant-btn-variant-solid:disabled,.matrix-theme .ant-input-group-addon .anticon.disabled,.matrix-theme .ant-pagination-item-link:disabled{color:var(--matrix-green-dimmest)!important}.matrix-theme .ant-card-meta-description,.matrix-theme .ant-form-item-tooltip.anticon,.matrix-theme .ant-card-actions .anticon:not(.no-cloud):not(.live):not(.online):not(.access-disabled):not(.anticon-stop),.matrix-theme .ant-card-meta-description .anticon:not(.no-cloud):not(.live):not(.online):not(.access-disabled){color:var(--matrix-green-dimmest)!important}.matrix-theme .ant-menu-dark,.matrix-theme .ant-menu-dark .ant-menu-sub{background:var(--matrix-black)!important;color:var(--matrix-green)!important}.matrix-theme .ant-menu-dark .ant-menu-item,.matrix-theme .ant-menu-dark .ant-menu-submenu-title{color:var(--matrix-green)!important}.matrix-theme .ant-menu-dark .ant-menu-item-selected,.matrix-theme .ant-menu-light .ant-menu-item-selected,.matrix-theme .ant-menu-dark .ant-menu-item-active{background-color:var(--matrix-green-dark)!important;color:var(--matrix-green)!important}.matrix-theme .ant-menu-dark .ant-menu-item:hover{background-color:var(--matrix-green-less-dark)!important;color:var(--matrix-green)!important}.matrix-theme .ant-menu-dark .ant-menu-item-disabled{color:var(--matrix-green-dimmest)!important;opacity:.5}.matrix-theme .ant-menu-item:active,.matrix-theme .ant-menu-submenu-title:active{background-color:var(--matrix-green-less-dark)!important}.matrix-theme #teddycloud-header a,.matrix-theme .ant-dropdown-trigger .ant-tag{color:var(--matrix-green)!important}.matrix-theme .ant-empty-normal,.matrix-theme .ant-empty-normal .ant-empty-description{color:var(--matrix-green-dimmest)!important}.matrix-theme .ant-empty-image svg path{fill:var(--matrix-green-darkest)!important;stroke:var(--matrix-green-less-dark)!important}.matrix-theme .ant-input::placeholder,.matrix-theme .ant-select-selection-search-input::placeholder,.matrix-theme .ant-select-single::placeholder,.matrix-theme .ant-select-selection-placeholder,.matrix-theme .ant-picker-input input::placeholder{color:var(--matrix-green-dimmest)!important}.matrix-theme .ant-picker-cell:not(.ant-picker-cell-in-view),.matrix-theme .ant-picker-separator,.matrix-theme .ant-picker-suffix,.matrix-theme .ant-picker-clear:hover,.matrix-theme .ant-picker:hover .ant-picker-clear,.matrix-theme .ant-picker-header button:not(button:hover),.matrix-theme .ant-input-number-handler .anticon{color:var(--matrix-green-dimmest)!important}.matrix-theme .ant-input-number-handler:hover .anticon{color:var(--matrix-green)!important}.matrix-theme .ant-select-selector{color:var(--matrix-green)!important;background-color:#0d0d0d!important;border-color:#060!important}.matrix-theme .ant-select-selection-search-input{color:var(--matrix-green)!important;background-color:transparent!important}.matrix-theme .ant-select:not(.ant-select-disabled):focus-visible .ant-select-selector,.matrix-theme .ant-select:not(.ant-select-disabled):focus .ant-select-selector,.matrix-theme .ant-select-selector:focus-visible,.matrix-theme .ant-input-affix-wrapper-focused,.matrix-theme .ant-input:focus-visible,.matrix-theme .ant-input-number:focus-visible,.matrix-theme .ant-input-number-focused,.matrix-theme .ant-select-open .ant-select-selector,.matrix-theme .ant-picker:focus-visible,.matrix-theme .ant-picker-focused,.matrix-theme .ant-tree-select:focus-visible{box-shadow:0 0 0 2px #0f06!important;outline:none}.matrix-theme .ant-picker-focused{border:1px solid var(--matrix-green-soft)!important}.matrix-theme .ant-select-selector:hover{border:1px solid var(--matrix-green-soft)!important;box-shadow:0 0 0 2px #0f06!important;outline:none}.matrix-theme .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:var(--matrix-green-dark)!important;color:var(--matrix-green)!important}.matrix-theme .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:var(--matrix-green-less-dark)!important;color:var(--matrix-green-secondary)!important}.matrix-theme .ant-select-open .ant-select-selection-item{color:var(--matrix-green-dimmest)!important;opacity:1!important}.matrix-theme .ant-input-disabled{color:var(--matrix-green-secondary)!important}.matrix-theme .ant-input-group-addon .anticon{color:var(--matrix-green)!important}.matrix-theme .ant-btn-primary{background-color:#0c0!important;border-color:#0c0!important;color:var(--matrix-black)!important;box-shadow:none!important}.matrix-theme .ant-btn-primary:hover{background-color:var(--matrix-green)!important;border-color:var(--matrix-green)!important;color:var(--matrix-black)!important}.matrix-theme .ant-btn-primary:active{background-color:#090!important;border-color:#090!important;color:var(--matrix-black)!important}.matrix-theme .ant-btn-primary[disabled],.matrix-theme .ant-btn-primary:disabled{background-color:var(--matrix-green-less-dark)!important;border-color:var(--matrix-green-less-dark)!important;color:var(--matrix-green-dimmest)!important;opacity:.6}.matrix-theme .ant-modal-close{color:var(--matrix-green)!important;opacity:1!important}.matrix-theme .ant-modal-close:hover{color:var(--matrix-green-secondary)!important}.matrix-theme .ant-modal-close-x{font-size:18px!important}.matrix-theme .ant-tooltip-inner{background-color:var(--matrix-black)!important;color:var(--matrix-green)!important;font-family:Courier New,monospace;font-size:12px;border:1px solid var(--matrix-green)}.matrix-theme .ant-tooltip-arrow:before{background-color:var(--matrix-black)!important}.matrix-theme .ant-table-row.ant-table-row-selected>.ant-table-cell,.matrix-theme .ant-table-row.ant-table-row-selected>.ant-table-column-sort{background-color:var(--matrix-green-darker)!important;color:var(--matrix-green)!important}.matrix-theme .ant-table-row.ant-table-row-selected>.ant-table-cell-row-hover{background-color:var(--matrix-green-dark)!important}.matrix-theme .ant-table-row:not(.ant-table-row-selected) .ant-table-cell-row-hover{background-color:var(--matrix-green-darker)!important}.matrix-theme th.ant-table-column-sort{background-color:var(--matrix-black)!important}.matrix-theme th.ant-table-column-sort:hover{background-color:var(--matrix-green-dark)!important}.matrix-theme .ant-steps-item-finish .ant-steps-item-icon{background-color:var(--matrix-green-dimmest)!important}.matrix-theme .ant-steps-item-wait .ant-steps-item-title{color:var(--matrix-green-dimmest)!important}.matrix-theme .ant-steps-item-wait .ant-steps-item-title:hover{color:var(--matrix-green)!important}.matrix-theme pre,.matrix-theme code{background-color:var(--matrix-green-darkest)!important;color:var(--matrix-green-secondary)!important}.matrix-theme pre[class*=language-],.matrix-theme code[class*=language-]{color:var(--matrix-green)!important}.matrix-theme .token.comment,.matrix-theme .token.prolog,.matrix-theme .token.doctype,.matrix-theme .token.cdata{color:#77b9778a!important}.matrix-theme .token.property,.matrix-theme .token.tag,.matrix-theme .token.boolean,.matrix-theme .token.number,.matrix-theme .token.constant,.matrix-theme .token.symbol{color:#0c0!important}.matrix-theme .token.selector,.matrix-theme .token.attr-name,.matrix-theme .token.string,.matrix-theme .token.char,.matrix-theme .token.builtin,.matrix-theme .token.inserted{color:#3f3!important}.matrix-theme .token.operator,.matrix-theme .token.entity,.matrix-theme .token.url,.matrix-theme .language-css .token.string,.matrix-theme .style .token.string{color:#00e6e6!important}.matrix-theme .token.atrule,.matrix-theme .token.keyword{color:#cf0!important}.matrix-theme .token.regex,.matrix-theme .token.important,.matrix-theme .token.deleted{color:#f03!important}.matrix-theme .ant-switch-checked{border-color:var(--matrix-green-soft)!important}.matrix-theme .ant-switch:not(.ant-switch-checked){background-color:var(--matrix-green-dark)!important}.matrix-theme .ant-upload-list-item .ant-upload-list-item-actions .anticon{color:var(--matrix-green)!important}.matrix-theme .ant-upload-list-item:hover .ant-upload-list-item-actions .anticon{color:var(--matrix-green-soft)!important}.matrix-theme .ant-upload-list-item .ant-upload-list-item-actions .anticon:hover{background-color:#001a00;border-radius:4px}.matrix-theme .ant-upload-hint{color:var(--matrix-green-dimmest)!important}.matrix-theme img.teddycloud-logo{display:block;width:auto;height:32px;filter:brightness(100%) saturate(100%) invert(100%) sepia(127%) saturate(7486%) hue-rotate(50deg)}.matrix-theme .audioplayer-container,.matrix-theme .audioplayer-inner{color:var(--matrix-green)!important;background-color:var(--matrix-green-darker)!important}.matrix-theme .ant-progress-success-bg,.matrix-theme .ant-slider-track{background-color:var(--matrix-green-secondary)!important}.matrix-theme .ant-slider-handle:after{box-shadow:0 0 0 2px var(--matrix-green-secondary)!important}.matrix-theme .rtnl-log-container{background-color:var(--matrix-green-darkest)!important}.matrix-theme .ant-notification{background-color:var(--matrix-green-darkest)!important;color:#ccc!important;box-shadow:0 0 10px #00ff4680!important}.matrix-theme .ant-notification-notice{background-color:var(--matrix-green-darkest)!important;border:1px solid var(--matrix-green)!important;color:var(--matrix-green)!important;border-radius:8px!important}.matrix-theme .ant-notification-notice-message,.matrix-theme .ant-notification-notice-description,.matrix-theme .ant-notification-notice-close{color:var(--matrix-green)!important}.matrix-theme .ant-image-preview-root{background-color:#000000a6!important}.matrix-theme .ant-image-preview-switch-left,.matrix-theme .ant-image-preview-switch-right{background-color:var(--matrix-green-dark)!important;color:var(--matrix-green)!important}.matrix-theme .ant-image-preview-switch-left:hover,.matrix-theme .ant-image-preview-switch-right:hover{background-color:var(--matrix-green-dimmest)!important;color:var(--matrix-green-secondary)!important}.matrix-theme .ant-image-preview-operations{background-color:var(--matrix-green-darker)!important}.matrix-theme .ant-image-preview-operations-operation{color:var(--matrix-green)!important}.matrix-theme .ant-image-preview-operations-operation:hover{color:var(--matrix-green-secondary)!important}.matrix-theme .ant-image .ant-image-mask{color:var(--matrix-green)!important}.matrix-theme .ant-image-preview-operations-operation:not(.ant-image-preview-operations-operation-disabled):hover .anticon{color:var(--matrix-green-secondary)!important}.matrix-theme .ant-image-preview-close{color:var(--matrix-green)!important}.matrix-theme .ant-image-preview-close:hover,.matrix-theme .ant-image-preview-count,.matrix-theme .ant-image-preview-progress{color:var(--matrix-green-secondary)!important}.matrix-theme .ant-image-preview-img-wrapper:after{color:var(--matrix-green-soft)!important}.matrix-theme .ant-select-tree-node-selected{background-color:var(--matrix-green-less-dark)!important}.matrix-bg{position:fixed;top:0;left:0;width:100%;height:100%;overflow:hidden;z-index:-1;background-color:#000;pointer-events:none}.matrix-column{position:absolute;top:-110%;display:flex;flex-direction:column;animation-name:matrixScroll;animation-timing-function:linear;animation-iteration-count:infinite;text-align:center}.matrix-char{color:#0f0;font-family:Courier New,Courier,monospace;opacity:.75;-webkit-user-select:none;user-select:none}@keyframes matrixScroll{0%{transform:translateY(0);opacity:0}to{transform:translateY(400%);opacity:1}} diff --git a/contrib/data/www/web/assets/index-DUW332vS.js b/contrib/data/www/web/assets/index-DUW332vS.js deleted file mode 100644 index 37d27008..00000000 --- a/contrib/data/www/web/assets/index-DUW332vS.js +++ /dev/null @@ -1,748 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/esp32-BPYaDt9v.js","assets/rom-Caghk6Eh.js","assets/esp32c2-CVPL8n1g.js","assets/esp32c3-I3vXmsVg.js","assets/esp32c6-C93uIFil.js","assets/esp32c61-Qo5S0GG2.js","assets/esp32c5-CAGCiNY4.js","assets/esp32h2-Cf8JbGZQ.js","assets/esp32s3-mu2zzjDN.js","assets/esp32s2-3nCAg6Ct.js","assets/esp8266-8VKmCx7J.js","assets/esp32p4-DfBdIAkh.js"])))=>i.map(i=>d[i]); -var ote=Object.defineProperty;var ste=(e,t,n)=>t in e?ote(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var lte=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ua=(e,t,n)=>ste(e,typeof t!="symbol"?t+"":t,n);var NZe=lte((ki,Ai)=>{function X$(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var Fa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Za(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gz={exports:{}},V0={},qz={exports:{}},Cn={};/** - * @license React - * react.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 Sm=Symbol.for("react.element"),cte=Symbol.for("react.portal"),ute=Symbol.for("react.fragment"),dte=Symbol.for("react.strict_mode"),fte=Symbol.for("react.profiler"),pte=Symbol.for("react.provider"),gte=Symbol.for("react.context"),mte=Symbol.for("react.forward_ref"),hte=Symbol.for("react.suspense"),vte=Symbol.for("react.memo"),bte=Symbol.for("react.lazy"),p3=Symbol.iterator;function yte(e){return e===null||typeof e!="object"?null:(e=p3&&e[p3]||e["@@iterator"],typeof e=="function"?e:null)}var Kz={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Yz=Object.assign,Xz={};function vf(e,t,n){this.props=e,this.context=t,this.refs=Xz,this.updater=n||Kz}vf.prototype.isReactComponent={};vf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};vf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zz(){}Zz.prototype=vf.prototype;function Z$(e,t,n){this.props=e,this.context=t,this.refs=Xz,this.updater=n||Kz}var Q$=Z$.prototype=new Zz;Q$.constructor=Z$;Yz(Q$,vf.prototype);Q$.isPureReactComponent=!0;var g3=Array.isArray,Qz=Object.prototype.hasOwnProperty,J$={current:null},Jz={key:!0,ref:!0,__self:!0,__source:!0};function e9(e,t,n){var r,a={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Qz.call(t,r)&&!Jz.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(s===1)a.children=n;else if(1>>1,B=A[F];if(0>>1;Fa(H,j))Ka(Y,H)?(A[F]=Y,A[K]=j,F=K):(A[F]=H,A[U]=j,F=U);else if(Ka(Y,j))A[F]=Y,A[K]=j,F=K;else break e}}return L}function a(A,L){var j=A.sortIndex-L.sortIndex;return j!==0?j:A.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],u=[],d=1,p=null,g=3,m=!1,h=!1,b=!1,y=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(A){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=A)r(u),L.sortIndex=L.expirationTime,t(c,L);else break;L=n(u)}}function w(A){if(b=!1,x(A),!h)if(n(c)!==null)h=!0,k(C);else{var L=n(u);L!==null&&N(w,L.startTime-A)}}function C(A,L){h=!1,b&&(b=!1,S(T),T=-1),m=!0;var j=g;try{for(x(L),p=n(c);p!==null&&(!(p.expirationTime>L)||A&&!$());){var F=p.callback;if(typeof F=="function"){p.callback=null,g=p.priorityLevel;var B=F(p.expirationTime<=L);L=e.unstable_now(),typeof B=="function"?p.callback=B:p===n(c)&&r(c),x(L)}else r(c);p=n(c)}if(p!==null)var z=!0;else{var U=n(u);U!==null&&N(w,U.startTime-L),z=!1}return z}finally{p=null,g=j,m=!1}}var E=!1,I=null,T=-1,_=5,R=-1;function $(){return!(e.unstable_now()-R<_)}function M(){if(I!==null){var A=e.unstable_now();R=A;var L=!0;try{L=I(!0,A)}finally{L?P():(E=!1,I=null)}}else E=!1}var P;if(typeof v=="function")P=function(){v(M)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,O=D.port2;D.port1.onmessage=M,P=function(){O.postMessage(null)}}else P=function(){y(M,0)};function k(A){I=A,E||(E=!0,P())}function N(A,L){T=y(function(){A(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){h||m||(h=!0,k(C))},e.unstable_forceFrameRate=function(A){0>A||125F?(A.sortIndex=j,t(u,A),n(c)===null&&A===n(u)&&(b?(S(T),T=-1):b=!0,N(w,j-F))):(A.sortIndex=B,t(c,A),h||m||(h=!0,k(C))),A},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(A){var L=g;return function(){var j=g;g=L;try{return A.apply(this,arguments)}finally{g=j}}}})(i9);a9.exports=i9;var Ote=a9.exports;/** - * @license React - * 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 Nte=l,Mi=Ote;function vt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kT=Object.prototype.hasOwnProperty,kte=/^[: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]*$/,h3={},v3={};function Ate(e){return kT.call(v3,e)?!0:kT.call(h3,e)?!1:kte.test(e)?v3[e]=!0:(h3[e]=!0,!1)}function Dte(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mte(e,t,n,r){if(t===null||typeof t>"u"||Dte(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ja(e,t,n,r,a,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var $a={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$a[e]=new Ja(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$a[t]=new Ja(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$a[e]=new Ja(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$a[e]=new Ja(e,2,!1,e,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(e){$a[e]=new Ja(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$a[e]=new Ja(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$a[e]=new Ja(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$a[e]=new Ja(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$a[e]=new Ja(e,5,!1,e.toLowerCase(),null,!1,!1)});var tO=/[\-:]([a-z])/g;function nO(e){return e[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(e){var t=e.replace(tO,nO);$a[t]=new Ja(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(tO,nO);$a[t]=new Ja(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(tO,nO);$a[t]=new Ja(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$a[e]=new Ja(e,1,!1,e.toLowerCase(),null,!1,!1)});$a.xlinkHref=new Ja("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$a[e]=new Ja(e,1,!1,e.toLowerCase(),null,!0,!0)});function rO(e,t,n,r){var a=$a.hasOwnProperty(t)?$a[t]:null;(a!==null?a.type!==0:r||!(2s||a[o]!==i[s]){var c=` -`+a[o].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=o&&0<=s);break}}}finally{rS=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?wp(e):""}function Pte(e){switch(e.tag){case 5:return wp(e.type);case 16:return wp("Lazy");case 13:return wp("Suspense");case 19:return wp("SuspenseList");case 0:case 2:case 15:return e=aS(e.type,!1),e;case 11:return e=aS(e.type.render,!1),e;case 1:return e=aS(e.type,!0),e;default:return""}}function PT(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case td:return"Fragment";case ed:return"Portal";case AT:return"Profiler";case aO:return"StrictMode";case DT:return"Suspense";case MT:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l9:return(e.displayName||"Context")+".Consumer";case s9:return(e._context.displayName||"Context")+".Provider";case iO:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oO:return t=e.displayName||null,t!==null?t:PT(e.type)||"Memo";case ll:t=e._payload,e=e._init;try{return PT(e(t))}catch{}}return null}function Lte(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return PT(t);case 8:return t===aO?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Fl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function u9(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jte(e){var t=u9(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Eh(e){e._valueTracker||(e._valueTracker=jte(e))}function d9(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=u9(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xb(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function LT(e,t){var n=t.checked;return Or({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function y3(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Fl(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function f9(e,t){t=t.checked,t!=null&&rO(e,"checked",t,!1)}function jT(e,t){f9(e,t);var n=Fl(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?FT(e,t.type,n):t.hasOwnProperty("defaultValue")&&FT(e,t.type,Fl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function x3(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function FT(e,t,n){(t!=="number"||xb(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Cp=Array.isArray;function Cd(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Ih.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vg(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Bp={animationIterationCount:!0,aspectRatio:!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},Fte=["Webkit","ms","Moz","O"];Object.keys(Bp).forEach(function(e){Fte.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bp[t]=Bp[e]})});function h9(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Bp.hasOwnProperty(e)&&Bp[e]?(""+t).trim():t+"px"}function v9(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=h9(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var Bte=Or({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 HT(e,t){if(t){if(Bte[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(vt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(vt(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(vt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(vt(62))}}function UT(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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}}var VT=null;function sO(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var WT=null,Ed=null,Id=null;function C3(e){if(e=Im(e)){if(typeof WT!="function")throw Error(vt(280));var t=e.stateNode;t&&(t=Y0(t),WT(e.stateNode,e.type,t))}}function b9(e){Ed?Id?Id.push(e):Id=[e]:Ed=e}function y9(){if(Ed){var e=Ed,t=Id;if(Id=Ed=null,C3(e),t)for(e=0;e>>=0,e===0?32:31-(Zte(e)/Qte|0)|0}var Th=64,Rh=4194304;function Ep(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Eb(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~a;s!==0?r=Ep(s):(i&=o,i!==0&&(r=Ep(i)))}else o=n&~a,o!==0?r=Ep(o):i!==0&&(r=Ep(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,i=t&-t,a>=i||a===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Cm(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-$o(t),e[t]=n}function nne(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Hp),k3=" ",A3=!1;function F9(e,t){switch(e){case"keyup":return One.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B9(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var nd=!1;function kne(e,t){switch(e){case"compositionend":return B9(t);case"keypress":return t.which!==32?null:(A3=!0,k3);case"textInput":return e=t.data,e===k3&&A3?null:e;default:return null}}function Ane(e,t){if(nd)return e==="compositionend"||!mO&&F9(e,t)?(e=L9(),Fv=fO=ml=null,nd=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=L3(n)}}function V9(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?V9(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function W9(){for(var e=window,t=xb();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xb(e.document)}return t}function hO(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Hne(e){var t=W9(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&V9(n.ownerDocument.documentElement,n)){if(r!==null&&hO(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=r.end===void 0?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=j3(n,i);var o=j3(n,r);a&&o&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,rd=null,ZT=null,Vp=null,QT=!1;function F3(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;QT||rd==null||rd!==xb(r)||(r=rd,"selectionStart"in r&&hO(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}),Vp&&Cg(Vp,r)||(Vp=r,r=Rb(ZT,"onSelect"),0od||(e.current=aR[od],aR[od]=null,od--)}function ur(e,t){od++,aR[od]=e.current,e.current=t}var Bl={},Ba=Kl(Bl),ui=Kl(!1),zc=Bl;function Ld(e,t){var n=e.type.contextTypes;if(!n)return Bl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function di(e){return e=e.childContextTypes,e!=null}function $b(){br(ui),br(Ba)}function G3(e,t,n){if(Ba.current!==Bl)throw Error(vt(168));ur(Ba,t),ur(ui,n)}function eH(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(vt(108,Lte(e)||"Unknown",a));return Or({},n,r)}function Ob(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bl,zc=Ba.current,ur(Ba,e),ur(ui,ui.current),!0}function q3(e,t,n){var r=e.stateNode;if(!r)throw Error(vt(169));n?(e=eH(e,t,zc),r.__reactInternalMemoizedMergedChildContext=e,br(ui),br(Ba),ur(Ba,e)):br(ui),ur(ui,n)}var Ss=null,X0=!1,bS=!1;function tH(e){Ss===null?Ss=[e]:Ss.push(e)}function ere(e){X0=!0,tH(e)}function Yl(){if(!bS&&Ss!==null){bS=!0;var e=0,t=qn;try{var n=Ss;for(qn=1;e>=o,a-=o,Is=1<<32-$o(t)+a|n<T?(_=I,I=null):_=I.sibling;var R=g(S,I,x[T],w);if(R===null){I===null&&(I=_);break}e&&I&&R.alternate===null&&t(S,I),v=i(R,v,T),E===null?C=R:E.sibling=R,E=R,I=_}if(T===x.length)return n(S,I),Sr&&mc(S,T),C;if(I===null){for(;TT?(_=I,I=null):_=I.sibling;var $=g(S,I,R.value,w);if($===null){I===null&&(I=_);break}e&&I&&$.alternate===null&&t(S,I),v=i($,v,T),E===null?C=$:E.sibling=$,E=$,I=_}if(R.done)return n(S,I),Sr&&mc(S,T),C;if(I===null){for(;!R.done;T++,R=x.next())R=p(S,R.value,w),R!==null&&(v=i(R,v,T),E===null?C=R:E.sibling=R,E=R);return Sr&&mc(S,T),C}for(I=r(S,I);!R.done;T++,R=x.next())R=m(I,S,T,R.value,w),R!==null&&(e&&R.alternate!==null&&I.delete(R.key===null?T:R.key),v=i(R,v,T),E===null?C=R:E.sibling=R,E=R);return e&&I.forEach(function(M){return t(S,M)}),Sr&&mc(S,T),C}function y(S,v,x,w){if(typeof x=="object"&&x!==null&&x.type===td&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Ch:e:{for(var C=x.key,E=v;E!==null;){if(E.key===C){if(C=x.type,C===td){if(E.tag===7){n(S,E.sibling),v=a(E,x.props.children),v.return=S,S=v;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===ll&&X3(C)===E.type){n(S,E.sibling),v=a(E,x.props),v.ref=tp(S,E,x),v.return=S,S=v;break e}n(S,E);break}else t(S,E);E=E.sibling}x.type===td?(v=Nc(x.props.children,S.mode,w,x.key),v.return=S,S=v):(w=qv(x.type,x.key,x.props,null,S.mode,w),w.ref=tp(S,v,x),w.return=S,S=w)}return o(S);case ed:e:{for(E=x.key;v!==null;){if(v.key===E)if(v.tag===4&&v.stateNode.containerInfo===x.containerInfo&&v.stateNode.implementation===x.implementation){n(S,v.sibling),v=a(v,x.children||[]),v.return=S,S=v;break e}else{n(S,v);break}else t(S,v);v=v.sibling}v=TS(x,S.mode,w),v.return=S,S=v}return o(S);case ll:return E=x._init,y(S,v,E(x._payload),w)}if(Cp(x))return h(S,v,x,w);if(Xf(x))return b(S,v,x,w);Dh(S,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,v!==null&&v.tag===6?(n(S,v.sibling),v=a(v,x),v.return=S,S=v):(n(S,v),v=IS(x,S.mode,w),v.return=S,S=v),o(S)):n(S,v)}return y}var Fd=iH(!0),oH=iH(!1),Ab=Kl(null),Db=null,cd=null,xO=null;function SO(){xO=cd=Db=null}function wO(e){var t=Ab.current;br(Ab),e._currentValue=t}function sR(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Rd(e,t){Db=e,xO=cd=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(oi=!0),e.firstContext=null)}function ao(e){var t=e._currentValue;if(xO!==e)if(e={context:e,memoizedValue:t,next:null},cd===null){if(Db===null)throw Error(vt(308));cd=e,Db.dependencies={lanes:0,firstContext:e}}else cd=cd.next=e;return t}var xc=null;function CO(e){xc===null?xc=[e]:xc.push(e)}function sH(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,CO(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ds(e,r)}function Ds(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var cl=!1;function EO(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lH(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rs(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _l(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,An&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ds(e,n)}return a=r.interleaved,a===null?(t.next=t,CO(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ds(e,n)}function zv(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,cO(e,n)}}function Z3(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?a=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Mb(e,t,n,r){var a=e.updateQueue;cl=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var c=s,u=c.next;c.next=null,o===null?i=u:o.next=u,o=c;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=c))}if(i!==null){var p=a.baseState;o=0,d=u=c=null,s=i;do{var g=s.lane,m=s.eventTime;if((r&g)===g){d!==null&&(d=d.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,b=s;switch(g=t,m=n,b.tag){case 1:if(h=b.payload,typeof h=="function"){p=h.call(m,p,g);break e}p=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=b.payload,g=typeof h=="function"?h.call(m,p,g):h,g==null)break e;p=Or({},p,g);break e;case 2:cl=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=a.effects,g===null?a.effects=[s]:g.push(s))}else m={eventTime:m,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=m,c=p):d=d.next=m,o|=g;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;g=s,s=g.next,g.next=null,a.lastBaseUpdate=g,a.shared.pending=null}}while(!0);if(d===null&&(c=p),a.baseState=c,a.firstBaseUpdate=u,a.lastBaseUpdate=d,t=a.shared.interleaved,t!==null){a=t;do o|=a.lane,a=a.next;while(a!==t)}else i===null&&(a.shared.lanes=0);Vc|=o,e.lanes=o,e.memoizedState=p}}function Q3(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=xS.transition;xS.transition={};try{e(!1),t()}finally{qn=n,xS.transition=r}}function IH(){return io().memoizedState}function are(e,t,n){var r=Ol(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},TH(e))RH(t,n);else if(n=sH(e,t,n,r),n!==null){var a=Xa();Oo(n,e,r,a),_H(n,t,r)}}function ire(e,t,n){var r=Ol(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(TH(e))RH(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,Mo(s,o)){var c=t.interleaved;c===null?(a.next=a,CO(t)):(a.next=c.next,c.next=a),t.interleaved=a;return}}catch{}finally{}n=sH(e,t,a,r),n!==null&&(a=Xa(),Oo(n,e,r,a),_H(n,t,r))}}function TH(e){var t=e.alternate;return e===$r||t!==null&&t===$r}function RH(e,t){Wp=Lb=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _H(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,cO(e,n)}}var jb={readContext:ao,useCallback:Aa,useContext:Aa,useEffect:Aa,useImperativeHandle:Aa,useInsertionEffect:Aa,useLayoutEffect:Aa,useMemo:Aa,useReducer:Aa,useRef:Aa,useState:Aa,useDebugValue:Aa,useDeferredValue:Aa,useTransition:Aa,useMutableSource:Aa,useSyncExternalStore:Aa,useId:Aa,unstable_isNewReconciler:!1},ore={readContext:ao,useCallback:function(e,t){return Yo().memoizedState=[e,t===void 0?null:t],e},useContext:ao,useEffect:eD,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Uv(4194308,4,xH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Uv(4194308,4,e,t)},useInsertionEffect:function(e,t){return Uv(4,2,e,t)},useMemo:function(e,t){var n=Yo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=are.bind(null,$r,e),[r.memoizedState,e]},useRef:function(e){var t=Yo();return e={current:e},t.memoizedState=e},useState:J3,useDebugValue:kO,useDeferredValue:function(e){return Yo().memoizedState=e},useTransition:function(){var e=J3(!1),t=e[0];return e=rre.bind(null,e[1]),Yo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$r,a=Yo();if(Sr){if(n===void 0)throw Error(vt(407));n=n()}else{if(n=t(),ga===null)throw Error(vt(349));Uc&30||fH(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,eD(gH.bind(null,r,i,e),[e]),r.flags|=2048,Ng(9,pH.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Yo(),t=ga.identifierPrefix;if(Sr){var n=Ts,r=Is;n=(r&~(1<<32-$o(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=$g++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Qo]=t,e[Tg]=r,jH(e,t,!1,!1),t.stateNode=e;e:{switch(o=UT(n,r),n){case"dialog":mr("cancel",e),mr("close",e),a=r;break;case"iframe":case"object":case"embed":mr("load",e),a=r;break;case"video":case"audio":for(a=0;aHd&&(t.flags|=128,r=!0,np(i,!1),t.lanes=4194304)}else{if(!r)if(e=Pb(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),np(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!Sr)return Da(t),null}else 2*Br()-i.renderingStartTime>Hd&&n!==1073741824&&(t.flags|=128,r=!0,np(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Br(),t.sibling=null,n=_r.current,ur(_r,r?n&1|2:n&1),t):(Da(t),null);case 22:case 23:return jO(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ei&1073741824&&(Da(t),t.subtreeFlags&6&&(t.flags|=8192)):Da(t),null;case 24:return null;case 25:return null}throw Error(vt(156,t.tag))}function gre(e,t){switch(bO(t),t.tag){case 1:return di(t.type)&&$b(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Bd(),br(ui),br(Ba),RO(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return TO(t),null;case 13:if(br(_r),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(vt(340));jd()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return br(_r),null;case 4:return Bd(),null;case 10:return wO(t.type._context),null;case 22:case 23:return jO(),null;case 24:return null;default:return null}}var Ph=!1,La=!1,mre=typeof WeakSet=="function"?WeakSet:Set,Lt=null;function ud(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Mr(e,t,r)}else n.current=null}function hR(e,t,n){try{n()}catch(r){Mr(e,t,r)}}var dD=!1;function hre(e,t){if(JT=Ib,e=W9(),hO(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,c=-1,u=0,d=0,p=e,g=null;t:for(;;){for(var m;p!==n||a!==0&&p.nodeType!==3||(s=o+a),p!==i||r!==0&&p.nodeType!==3||(c=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(m=p.firstChild)!==null;)g=p,p=m;for(;;){if(p===e)break t;if(g===n&&++u===a&&(s=o),g===i&&++d===r&&(c=o),(m=p.nextSibling)!==null)break;p=g,g=p.parentNode}p=m}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(eR={focusedElem:e,selectionRange:n},Ib=!1,Lt=t;Lt!==null;)if(t=Lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Lt=e;else for(;Lt!==null;){t=Lt;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var b=h.memoizedProps,y=h.memoizedState,S=t.stateNode,v=S.getSnapshotBeforeUpdate(t.elementType===t.type?b:wo(t.type,b),y);S.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(vt(163))}}catch(w){Mr(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,Lt=e;break}Lt=t.return}return h=dD,dD=!1,h}function Gp(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,i!==void 0&&hR(t,n,i)}a=a.next}while(a!==r)}}function J0(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function vR(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function zH(e){var t=e.alternate;t!==null&&(e.alternate=null,zH(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qo],delete t[Tg],delete t[rR],delete t[Qne],delete t[Jne])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function HH(e){return e.tag===5||e.tag===3||e.tag===4}function fD(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||HH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function bR(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=_b));else if(r!==4&&(e=e.child,e!==null))for(bR(e,t,n),e=e.sibling;e!==null;)bR(e,t,n),e=e.sibling}function yR(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(yR(e,t,n),e=e.sibling;e!==null;)yR(e,t,n),e=e.sibling}var wa=null,Co=!1;function Zs(e,t,n){for(n=n.child;n!==null;)UH(e,t,n),n=n.sibling}function UH(e,t,n){if(ns&&typeof ns.onCommitFiberUnmount=="function")try{ns.onCommitFiberUnmount(W0,n)}catch{}switch(n.tag){case 5:La||ud(n,t);case 6:var r=wa,a=Co;wa=null,Zs(e,t,n),wa=r,Co=a,wa!==null&&(Co?(e=wa,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):wa.removeChild(n.stateNode));break;case 18:wa!==null&&(Co?(e=wa,n=n.stateNode,e.nodeType===8?vS(e.parentNode,n):e.nodeType===1&&vS(e,n),Sg(e)):vS(wa,n.stateNode));break;case 4:r=wa,a=Co,wa=n.stateNode.containerInfo,Co=!0,Zs(e,t,n),wa=r,Co=a;break;case 0:case 11:case 14:case 15:if(!La&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var i=a,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&hR(n,t,o),a=a.next}while(a!==r)}Zs(e,t,n);break;case 1:if(!La&&(ud(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Mr(n,t,s)}Zs(e,t,n);break;case 21:Zs(e,t,n);break;case 22:n.mode&1?(La=(r=La)||n.memoizedState!==null,Zs(e,t,n),La=r):Zs(e,t,n);break;default:Zs(e,t,n)}}function pD(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mre),t.forEach(function(r){var a=Ire.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function vo(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=o),r&=~i}if(r=a,r=Br()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bre(r/1960))-r,10e?16:e,hl===null)var r=!1;else{if(e=hl,hl=null,zb=0,An&6)throw Error(vt(331));var a=An;for(An|=4,Lt=e.current;Lt!==null;){var i=Lt,o=i.child;if(Lt.flags&16){var s=i.deletions;if(s!==null){for(var c=0;cBr()-PO?Oc(e,0):MO|=n),fi(e,t)}function ZH(e,t){t===0&&(e.mode&1?(t=Rh,Rh<<=1,!(Rh&130023424)&&(Rh=4194304)):t=1);var n=Xa();e=Ds(e,t),e!==null&&(Cm(e,t,n),fi(e,n))}function Ere(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ZH(e,n)}function Ire(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(vt(314))}r!==null&&r.delete(t),ZH(e,n)}var QH;QH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ui.current)oi=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return oi=!1,fre(e,t,n);oi=!!(e.flags&131072)}else oi=!1,Sr&&t.flags&1048576&&nH(t,kb,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vv(e,t),e=t.pendingProps;var a=Ld(t,Ba.current);Rd(t,n),a=$O(null,t,r,e,a,n);var i=OO();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,di(r)?(i=!0,Ob(t)):i=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,EO(t),a.updater=Q0,t.stateNode=a,a._reactInternals=t,cR(t,r,e,n),t=fR(null,t,r,!0,i,n)):(t.tag=0,Sr&&i&&vO(t),Ga(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vv(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=Rre(r),e=wo(r,e),a){case 0:t=dR(null,t,r,e,n);break e;case 1:t=lD(null,t,r,e,n);break e;case 11:t=oD(null,t,r,e,n);break e;case 14:t=sD(null,t,r,wo(r.type,e),n);break e}throw Error(vt(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:wo(r,a),dR(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:wo(r,a),lD(e,t,r,a,n);case 3:e:{if(MH(t),e===null)throw Error(vt(387));r=t.pendingProps,i=t.memoizedState,a=i.element,lH(e,t),Mb(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){a=zd(Error(vt(423)),t),t=cD(e,t,r,n,a);break e}else if(r!==a){a=zd(Error(vt(424)),t),t=cD(e,t,r,n,a);break e}else for(Ii=Rl(t.stateNode.containerInfo.firstChild),Di=t,Sr=!0,Ro=null,n=oH(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(jd(),r===a){t=Ms(e,t,n);break e}Ga(e,t,r,n)}t=t.child}return t;case 5:return cH(t),e===null&&oR(t),r=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,o=a.children,tR(r,a)?o=null:i!==null&&tR(r,i)&&(t.flags|=32),DH(e,t),Ga(e,t,o,n),t.child;case 6:return e===null&&oR(t),null;case 13:return PH(e,t,n);case 4:return IO(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fd(t,null,r,n):Ga(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:wo(r,a),oD(e,t,r,a,n);case 7:return Ga(e,t,t.pendingProps,n),t.child;case 8:return Ga(e,t,t.pendingProps.children,n),t.child;case 12:return Ga(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,o=a.value,ur(Ab,r._currentValue),r._currentValue=o,i!==null)if(Mo(i.value,o)){if(i.children===a.children&&!ui.current){t=Ms(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var c=s.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Rs(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),sR(i.return,n,t),s.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(vt(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),sR(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Ga(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Rd(t,n),a=ao(a),r=r(a),t.flags|=1,Ga(e,t,r,n),t.child;case 14:return r=t.type,a=wo(r,t.pendingProps),a=wo(r.type,a),sD(e,t,r,a,n);case 15:return kH(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:wo(r,a),Vv(e,t),t.tag=1,di(r)?(e=!0,Ob(t)):e=!1,Rd(t,n),$H(t,r,a),cR(t,r,a,n),fR(null,t,r,!0,e,n);case 19:return LH(e,t,n);case 22:return AH(e,t,n)}throw Error(vt(156,t.tag))};function JH(e,t){return T9(e,t)}function Tre(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function to(e,t,n,r){return new Tre(e,t,n,r)}function BO(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Rre(e){if(typeof e=="function")return BO(e)?1:0;if(e!=null){if(e=e.$$typeof,e===iO)return 11;if(e===oO)return 14}return 2}function Nl(e,t){var n=e.alternate;return n===null?(n=to(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qv(e,t,n,r,a,i){var o=2;if(r=e,typeof e=="function")BO(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case td:return Nc(n.children,a,i,t);case aO:o=8,a|=8;break;case AT:return e=to(12,n,t,a|2),e.elementType=AT,e.lanes=i,e;case DT:return e=to(13,n,t,a),e.elementType=DT,e.lanes=i,e;case MT:return e=to(19,n,t,a),e.elementType=MT,e.lanes=i,e;case c9:return ty(n,a,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case s9:o=10;break e;case l9:o=9;break e;case iO:o=11;break e;case oO:o=14;break e;case ll:o=16,r=null;break e}throw Error(vt(130,e==null?e:typeof e,""))}return t=to(o,n,t,a),t.elementType=e,t.type=r,t.lanes=i,t}function Nc(e,t,n,r){return e=to(7,e,r,t),e.lanes=n,e}function ty(e,t,n,r){return e=to(22,e,r,t),e.elementType=c9,e.lanes=n,e.stateNode={isHidden:!1},e}function IS(e,t,n){return e=to(6,e,null,t),e.lanes=n,e}function TS(e,t,n){return t=to(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _re(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=oS(0),this.expirationTimes=oS(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oS(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function zO(e,t,n,r,a,i,o,s,c){return e=new _re(e,t,n,s,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=to(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},EO(i),e}function $re(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rU)}catch(e){console.error(e)}}rU(),r9.exports=Li;var Zr=r9.exports;const Ag=Za(Zr),Dre=X$({__proto__:null,default:Ag},[Zr]);var SD=Zr;NT.createRoot=SD.createRoot,NT.hydrateRoot=SD.hydrateRoot;const Mre=(...e)=>{console!=null&&console.warn&&(kc(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},wD={},ER=(...e)=>{kc(e[0])&&wD[e[0]]||(kc(e[0])&&(wD[e[0]]=new Date),Mre(...e))},aU=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},CD=(e,t,n)=>{e.loadNamespaces(t,aU(e,n))},ED=(e,t,n,r)=>{kc(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,aU(e,r))},Pre=(e,t,n={})=>!t.languages||!t.languages.length?(ER("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var i;if(((i=n.bindI18n)==null?void 0:i.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),kc=e=>typeof e=="string",Lre=e=>typeof e=="object"&&e!==null,jre=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Fre={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Bre=e=>Fre[e],zre=e=>e.replace(jre,Bre);let IR={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:zre};const Hre=(e={})=>{IR={...IR,...e}},Ure=()=>IR;let iU;const Vre=e=>{iU=e},Wre=()=>iU,Gre={type:"3rdParty",init(e){Hre(e.options.react),Vre(e)}},qre=l.createContext();class Kre{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Yre=(e,t)=>{const n=l.useRef();return l.useEffect(()=>{n.current=e},[e,t]),n.current},oU=(e,t,n,r)=>e.getFixedT(t,n,r),Xre=(e,t,n,r)=>l.useCallback(oU(e,t,n,r),[e,t,n,r]),Nt=(e,t={})=>{var w,C,E,I;const{i18n:n}=t,{i18n:r,defaultNS:a}=l.useContext(qre)||{},i=n||r||Wre();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Kre),!i){ER("You will need to pass in an i18next instance by using initReactI18next");const T=(R,$)=>kc($)?$:Lre($)&&kc($.defaultValue)?$.defaultValue:Array.isArray(R)?R[R.length-1]:R,_=[T,{},!1];return _.t=T,_.i18n={},_.ready=!1,_}(w=i.options.react)!=null&&w.wait&&ER("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Ure(),...i.options.react,...t},{useSuspense:s,keyPrefix:c}=o;let u=a||((C=i.options)==null?void 0:C.defaultNS);u=kc(u)?[u]:u||["translation"],(I=(E=i.reportNamespaces).addUsedNamespaces)==null||I.call(E,u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(T=>Pre(T,i,o)),p=Xre(i,t.lng||null,o.nsMode==="fallback"?u:u[0],c),g=()=>p,m=()=>oU(i,t.lng||null,o.nsMode==="fallback"?u:u[0],c),[h,b]=l.useState(g);let y=u.join();t.lng&&(y=`${t.lng}${y}`);const S=Yre(y),v=l.useRef(!0);l.useEffect(()=>{const{bindI18n:T,bindI18nStore:_}=o;v.current=!0,!d&&!s&&(t.lng?ED(i,t.lng,u,()=>{v.current&&b(m)}):CD(i,u,()=>{v.current&&b(m)})),d&&S&&S!==y&&v.current&&b(m);const R=()=>{v.current&&b(m)};return T&&(i==null||i.on(T,R)),_&&(i==null||i.store.on(_,R)),()=>{v.current=!1,i&&(T==null||T.split(" ").forEach($=>i.off($,R))),_&&i&&_.split(" ").forEach($=>i.store.off($,R))}},[i,y]),l.useEffect(()=>{v.current&&d&&b(g)},[i,c,d]);const x=[h,i,d];if(x.t=h,x.i18n=i,x.ready=d,d||!d&&!s)return x;throw new Promise(T=>{t.lng?ED(i,t.lng,u,()=>T()):CD(i,u,()=>T())})},dn=e=>typeof e=="string",ap=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},ID=e=>e==null?"":""+e,Zre=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Qre=/###/g,TD=e=>e&&e.indexOf("###")>-1?e.replace(Qre,"."):e,RD=e=>!e||dn(e),Yp=(e,t,n)=>{const r=dn(t)?t.split("."):t;let a=0;for(;a{const{obj:r,k:a}=Yp(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let i=t[t.length-1],o=t.slice(0,t.length-1),s=Yp(e,o,Object);for(;s.obj===void 0&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),s=Yp(e,o,Object),s&&s.obj&&typeof s.obj[`${s.k}.${i}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},Jre=(e,t,n,r)=>{const{obj:a,k:i}=Yp(e,t,Object);a[i]=a[i]||[],a[i].push(n)},Vb=(e,t)=>{const{obj:n,k:r}=Yp(e,t);if(n)return n[r]},eae=(e,t,n)=>{const r=Vb(e,n);return r!==void 0?r:Vb(t,n)},sU=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?dn(e[r])||e[r]instanceof String||dn(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):sU(e[r],t[r],n):e[r]=t[r]);return e},$u=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var tae={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const nae=e=>dn(e)?e.replace(/[&<>"'\/]/g,t=>tae[t]):e;class rae{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const aae=[" ",",","?","!",";"],iae=new rae(20),oae=(e,t,n)=>{t=t||"",n=n||"";const r=aae.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const a=iae.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let i=!a.test(e);if(!i){const o=e.indexOf(n);o>0&&!a.test(e.substring(0,o))&&(i=!0)}return i},TR=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let i=0;i-1&&ce&&e.replace("_","-"),sae={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Gb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||sae,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{let[s,c]=o;for(let u=0;u{let[s,c]=o;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,o=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):dn(r)&&i?s.push(...r.split(i)):s.push(r)));const c=Vb(this.data,s);return!c&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),c||!o||!dn(r)?c:TR(this.data&&this.data[t]&&this.data[t][n],r,i)}addResource(t,n,r,a){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(s=t.split("."),a=n,n=s[1]),this.addNamespaces(n),_D(this.data,s,a),i.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in r)(dn(r[i])||Array.isArray(r[i]))&&this.addResource(t,n,i,r[i],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),a=r,r=n,n=s[1]),this.addNamespaces(n);let c=Vb(this.data,s)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?sU(c,r,i):c={...c,...r},_D(this.data,s,c),o.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var lU={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,r,a))}),t}};const OD={};class qb extends oy{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Zre(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=es.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const o=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!oae(t,r,a);if(o&&!s){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:i};const u=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(a)}return dn(i)&&(i=[i]),{key:t,namespaces:i}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],n),c=s[s.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const w=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${w}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${w}${o}`}return a?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:o}const p=this.resolve(t,n);let g=p&&p.res;const m=p&&p.usedKey||o,h=p&&p.exactUsedKey||o,b=Object.prototype.toString.apply(g),y=["[object Number]","[object Function]","[object RegExp]"],S=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,x=!dn(g)&&typeof g!="boolean"&&typeof g!="number";if(v&&g&&x&&y.indexOf(b)<0&&!(dn(S)&&Array.isArray(g))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,g,{...n,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return a?(p.res=w,p.usedParams=this.getUsedParamsDetails(n),p):w}if(i){const w=Array.isArray(g),C=w?[]:{},E=w?h:m;for(const I in g)if(Object.prototype.hasOwnProperty.call(g,I)){const T=`${E}${i}${I}`;C[I]=this.translate(T,{...n,joinArrays:!1,ns:s}),C[I]===T&&(C[I]=g[I])}g=C}}else if(v&&dn(S)&&Array.isArray(g))g=g.join(S),g&&(g=this.extendTranslation(g,t,n,r));else{let w=!1,C=!1;const E=n.count!==void 0&&!dn(n.count),I=qb.hasDefaultValue(n),T=E?this.pluralResolver.getSuffix(u,n.count,n):"",_=n.ordinal&&E?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",R=E&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),$=R&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${T}`]||n[`defaultValue${_}`]||n.defaultValue;!this.isValidLookup(g)&&I&&(w=!0,g=$),this.isValidLookup(g)||(C=!0,g=o);const P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:g,D=I&&$!==g&&this.options.updateMissing;if(C||w||D){if(this.logger.log(D?"updateKey":"missingKey",u,c,o,D?$:g),i){const A=this.resolve(o,{...n,keySeparator:!1});A&&A.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let O=[];const k=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&k&&k[0])for(let A=0;A{const F=I&&j!==g?j:P;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,L,F,D,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(A,c,L,F,D,n),this.emit("missingKey",A,c,L,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?O.forEach(A=>{const L=this.pluralResolver.getSuffixes(A,n);R&&n[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(j=>{N([A],o+j,n[`defaultValue${j}`]||$)})}):N(O,o,$))}g=this.extendTranslation(g,t,n,p,r),C&&g===o&&this.options.appendNamespaceToMissingKey&&(g=`${c}:${o}`),(C||w)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,w?g:void 0):g=this.options.parseMissingKeyHandler(g))}return a?(p.res=g,p.usedParams=this.getUsedParamsDetails(n),p):g}extendTranslation(t,n,r,a,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=dn(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const g=t.match(this.interpolator.nestingRegexp);d=g&&g.length}let p=r.replace&&!dn(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language||a.usedLng,r),u){const g=t.match(this.interpolator.nestingRegexp),m=g&&g.length;d1&&arguments[1]!==void 0?arguments[1]:{},r,a,i,o,s;return dn(t)&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(c,n),d=u.key;a=d;let p=u.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const g=n.count!==void 0&&!dn(n.count),m=g&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),h=n.context!==void 0&&(dn(n.context)||typeof n.context=="number")&&n.context!=="",b=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(y=>{this.isValidLookup(r)||(s=y,!OD[`${b[0]}-${y}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(OD[`${b[0]}-${y}`]=!0,this.logger.warn(`key "${a}" for languages "${b.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(S=>{if(this.isValidLookup(r))return;o=S;const v=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(v,d,S,y,n);else{let w;g&&(w=this.pluralResolver.getSuffix(S,n.count,n));const C=`${this.options.pluralSeparator}zero`,E=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(g&&(v.push(d+w),n.ordinal&&w.indexOf(E)===0&&v.push(d+w.replace(E,this.options.pluralSeparator)),m&&v.push(d+C)),h){const I=`${d}${this.options.contextSeparator}${n.context}`;v.push(I),g&&(v.push(I+w),n.ordinal&&w.indexOf(E)===0&&v.push(I+w.replace(E,this.options.pluralSeparator)),m&&v.push(I+C))}}let x;for(;x=v.pop();)this.isValidLookup(r)||(i=x,r=this.getResource(S,y,x,n))}))})}),{res:r,usedKey:a,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!dn(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const i of n)delete a[i]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const RS=e=>e.charAt(0).toUpperCase()+e.slice(1);class ND{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=es.create("languageUtils")}getScriptPartFromCode(t){if(t=Wb(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Wb(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(dn(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let a=Intl.getCanonicalLocales(t)[0];if(a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a)return a}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=RS(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=RS(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=RS(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(i=>{if(i===a)return i;if(!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),dn(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],i=o=>{o&&(this.isSupportedCode(o)?a.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return dn(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):dn(t)&&i(this.formatLanguageCode(t)),r.forEach(o=>{a.indexOf(o)<0&&i(this.formatLanguageCode(o))}),a}}let lae=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],cae={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const uae=["v1","v2","v3"],dae=["v4"],kD={zero:0,one:1,two:2,few:3,many:4,other:5},fae=()=>{const e={};return lae.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:cae[t.fc]}})}),e};class pae{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=es.create("pluralResolver"),(!this.options.compatibilityJSON||dae.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=fae(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=Wb(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const o=new Intl.PluralRules(r,{type:a});return this.pluralRulesCache[i]=o,o}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,i)=>kD[a]-kD[i]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const i=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!uae.includes(this.options.compatibilityJSON)}}const AD=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=eae(e,t,n);return!i&&a&&dn(n)&&(i=TR(e,n,r),i===void 0&&(i=TR(t,n,r))),i},_S=e=>e.replace(/\$/g,"$$$$");class gae{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=es.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:i,prefixEscaped:o,suffix:s,suffixEscaped:c,formatSeparator:u,unescapeSuffix:d,unescapePrefix:p,nestingPrefix:g,nestingPrefixEscaped:m,nestingSuffix:h,nestingSuffixEscaped:b,nestingOptionsSeparator:y,maxReplaces:S,alwaysFormat:v}=t.interpolation;this.escape=n!==void 0?n:nae,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=i?$u(i):o||"{{",this.suffix=s?$u(s):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=g?$u(g):m||$u("$t("),this.nestingSuffix=h?$u(h):b||$u(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=S||1e3,this.alwaysFormat=v!==void 0?v:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let i,o,s;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(m.indexOf(this.formatSeparator)<0){const S=AD(n,c,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,r,{...a,...n,interpolationkey:m}):S}const h=m.split(this.formatSeparator),b=h.shift().trim(),y=h.join(this.formatSeparator).trim();return this.format(AD(n,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),y,r,{...a,...n,interpolationkey:b})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,p=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>_S(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?_S(this.escape(m)):_S(m)}].forEach(m=>{for(s=0;i=m.regex.exec(t);){const h=i[1].trim();if(o=u(h),o===void 0)if(typeof d=="function"){const y=d(t,i,a);o=dn(y)?y:""}else if(a&&Object.prototype.hasOwnProperty.call(a,h))o="";else if(p){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),o="";else!dn(o)&&!this.useRawValueToEscape&&(o=ID(o));const b=m.safeValue(o);if(t=t.replace(i[0],b),p?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=i[0].length):m.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,i,o;const s=(c,u)=>{const d=this.nestingOptionsSeparator;if(c.indexOf(d)<0)return c;const p=c.split(new RegExp(`${d}[ ]*{`));let g=`{${p[1]}`;c=p[0],g=this.interpolate(g,o);const m=g.match(/'/g),h=g.match(/"/g);(m&&m.length%2===0&&!h||h.length%2!==0)&&(g=g.replace(/'/g,'"'));try{o=JSON.parse(g),u&&(o={...u,...o})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${d}${g}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];o={...r},o=o.replace&&!dn(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(p=>p.trim());a[1]=d.shift(),c=d,u=!0}if(i=n(s.call(this,a[1].trim(),o),o),i&&a[0]===t&&!dn(i))return i;dn(i)||(i=ID(i)),i||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),i=""),u&&(i=c.reduce((d,p)=>this.format(d,p,r.lng,{...r,interpolationkey:a[1].trim()}),i.trim())),t=t.replace(a[0],i),this.regexp.lastIndex=0}return t}}const mae=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(o=>{if(o){const[s,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=u),u==="false"&&(n[d]=!1),u==="true"&&(n[d]=!0),isNaN(u)||(n[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},Ou=e=>{const t={};return(n,r,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const o=r+JSON.stringify(i);let s=t[o];return s||(s=e(Wb(r),a),t[o]=s),s(n)}};class hae{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=es.create("formatter"),this.options=t,this.formats={number:Ou((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return i=>a.format(i)}),currency:Ou((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return i=>a.format(i)}),datetime:Ou((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return i=>a.format(i)}),relativetime:Ou((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return i=>a.format(i,r.range||"day")}),list:Ou((n,r)=>{const a=new Intl.ListFormat(n,{...r});return i=>a.format(i)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Ou(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=n.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(s=>s.indexOf(")")>-1)){const s=i.findIndex(c=>c.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,s)].join(this.formatSeparator)}return i.reduce((s,c)=>{const{formatName:u,formatOptions:d}=mae(c);if(this.formats[u]){let p=s;try{const g=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},m=g.locale||g.lng||a.locale||a.lng||r;p=this.formats[u](s,m,{...d,...a,...g})}catch(g){this.logger.warn(g)}return p}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const vae=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class bae extends oy{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=es.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const i={},o={},s={},c={};return t.forEach(u=>{let d=!0;n.forEach(p=>{const g=`${u}|${p}`;!r.reload&&this.store.hasResourceBundle(u,p)?this.state[g]=2:this.state[g]<0||(this.state[g]===1?o[g]===void 0&&(o[g]=!0):(this.state[g]=1,d=!1,o[g]===void 0&&(o[g]=!0),i[g]===void 0&&(i[g]=!0),c[p]===void 0&&(c[p]=!0)))}),d||(s[u]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const a=t.split("|"),i=a[0],o=a[1];n&&this.emit("failedLoading",i,o,n),!n&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(c=>{Jre(c.loaded,[i],o),vae(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{s[u]||(s[u]={});const d=c.loaded[u];d.length&&d.forEach(p=>{s[u][p]===void 0&&(s[u][p]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:i,callback:o});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(u&&d&&a{this.read.call(this,t,n,r,a+1,i*2,o)},i);return}o(u,d)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return c(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();dn(t)&&(t=this.languageUtils.toResolveHierarchy(t)),dn(n)&&(n=[n]);const i=this.queueLoad(t,n,r,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],i=r[1];this.read(a,i,"read",void 0,void 0,(o,s)=>{o&&this.logger.warn(`${n}loading namespace ${i} for language ${a} failed`,o),!o&&s&&this.logger.log(`${n}loaded namespace ${i} for language ${a}`,s),this.loaded(t,o,s)})}saveMissing(t,n,r,a,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,a,c):d=u(t,n,r,a),d&&typeof d.then=="function"?d.then(p=>s(null,p)).catch(s):s(null,d)}catch(d){s(d)}else u(t,n,r,a,s,c)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const DD=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),dn(e[1])&&(t.defaultValue=e[1]),dn(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),MD=e=>(dn(e.ns)&&(e.ns=[e.ns]),dn(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),dn(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Fh=()=>{},yae=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Dg extends oy{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=MD(t),this.services={},this.logger=es,this.modules={external:[]},yae(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(dn(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=DD();this.options={...a,...this.options,...MD(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?es.init(i(this.modules.logger),this.options):es.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=hae);const p=new ND(this.options);this.store=new $D(this.options.resources,this.options);const g=this.services;g.logger=es,g.resourceStore=this.store,g.languageUtils=p,g.pluralResolver=new pae(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(g.formatter=i(d),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new gae(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new bae(i(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(m){for(var h=arguments.length,b=new Array(h>1?h-1:0),y=1;y1?h-1:0),y=1;y{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Fh),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const c=ap(),u=()=>{const d=(p,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(g),r(p,g)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fh;const a=dn(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],o=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};a?o(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>o(c)),this.options.preload&&this.options.preload.forEach(s=>o(s)),this.services.backendConnector.load(i,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const a=ap();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Fh),this.services.backendConnector.reload(t,n,i=>{a.resolve(),r(i)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&lU.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=ap();this.emit("languageChanging",t);const i=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},s=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=dn(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{o(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),a}getFixedT(t,n,r){var a=this;const i=function(o,s){let c;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),p=2;p`${c.keyPrefix}${g}${h}`):m=c.keyPrefix?`${c.keyPrefix}${g}${o}`:o,a.t(m,c)};return dn(t)?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(s,c)=>{const u=this.services.backendConnector.state[`${s}|${c}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,o);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!a||o(i,t)))}loadNamespaces(t,n){const r=ap();return this.options.ns?(dn(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=ap();dn(t)&&(t=[t]);const a=this.options.preload||[],i=t.filter(o=>a.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return i.length?(this.options.preload=a.concat(i),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new ND(DD());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Dg(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fh;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},i=new Dg(a);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(s=>{i[s]=this[s]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new $D(this.store.data,a),i.services.resourceStore=i.store),i.translator=new qb(i.services,a),i.translator.on("*",function(s){for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d"u"?"undefined":RR(XMLHttpRequest))==="object"}function xae(e){return!!e&&typeof e.then=="function"}function Sae(e){return xae(e)?e:Promise.resolve(e)}function wae(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _R={exports:{}},Bh={exports:{}},PD;function Cae(){return PD||(PD=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Fa<"u"&&Fa,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(o){var s=typeof i<"u"&&i||typeof self<"u"&&self||typeof s<"u"&&s,c={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function u(O){return O&&DataView.prototype.isPrototypeOf(O)}if(c.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(O){return O&&d.indexOf(Object.prototype.toString.call(O))>-1};function g(O){if(typeof O!="string"&&(O=String(O)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(O)||O==="")throw new TypeError('Invalid character in header field name: "'+O+'"');return O.toLowerCase()}function m(O){return typeof O!="string"&&(O=String(O)),O}function h(O){var k={next:function(){var N=O.shift();return{done:N===void 0,value:N}}};return c.iterable&&(k[Symbol.iterator]=function(){return k}),k}function b(O){this.map={},O instanceof b?O.forEach(function(k,N){this.append(N,k)},this):Array.isArray(O)?O.forEach(function(k){this.append(k[0],k[1])},this):O&&Object.getOwnPropertyNames(O).forEach(function(k){this.append(k,O[k])},this)}b.prototype.append=function(O,k){O=g(O),k=m(k);var N=this.map[O];this.map[O]=N?N+", "+k:k},b.prototype.delete=function(O){delete this.map[g(O)]},b.prototype.get=function(O){return O=g(O),this.has(O)?this.map[O]:null},b.prototype.has=function(O){return this.map.hasOwnProperty(g(O))},b.prototype.set=function(O,k){this.map[g(O)]=m(k)},b.prototype.forEach=function(O,k){for(var N in this.map)this.map.hasOwnProperty(N)&&O.call(k,this.map[N],N,this)},b.prototype.keys=function(){var O=[];return this.forEach(function(k,N){O.push(N)}),h(O)},b.prototype.values=function(){var O=[];return this.forEach(function(k){O.push(k)}),h(O)},b.prototype.entries=function(){var O=[];return this.forEach(function(k,N){O.push([N,k])}),h(O)},c.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function y(O){if(O.bodyUsed)return Promise.reject(new TypeError("Already read"));O.bodyUsed=!0}function S(O){return new Promise(function(k,N){O.onload=function(){k(O.result)},O.onerror=function(){N(O.error)}})}function v(O){var k=new FileReader,N=S(k);return k.readAsArrayBuffer(O),N}function x(O){var k=new FileReader,N=S(k);return k.readAsText(O),N}function w(O){for(var k=new Uint8Array(O),N=new Array(k.length),A=0;A-1?k:O}function _(O,k){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');k=k||{};var N=k.body;if(O instanceof _){if(O.bodyUsed)throw new TypeError("Already read");this.url=O.url,this.credentials=O.credentials,k.headers||(this.headers=new b(O.headers)),this.method=O.method,this.mode=O.mode,this.signal=O.signal,!N&&O._bodyInit!=null&&(N=O._bodyInit,O.bodyUsed=!0)}else this.url=String(O);if(this.credentials=k.credentials||this.credentials||"same-origin",(k.headers||!this.headers)&&(this.headers=new b(k.headers)),this.method=T(k.method||this.method||"GET"),this.mode=k.mode||this.mode||null,this.signal=k.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(N),(this.method==="GET"||this.method==="HEAD")&&(k.cache==="no-store"||k.cache==="no-cache")){var A=/([?&])_=[^&]*/;if(A.test(this.url))this.url=this.url.replace(A,"$1_="+new Date().getTime());else{var L=/\?/;this.url+=(L.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})};function R(O){var k=new FormData;return O.trim().split("&").forEach(function(N){if(N){var A=N.split("="),L=A.shift().replace(/\+/g," "),j=A.join("=").replace(/\+/g," ");k.append(decodeURIComponent(L),decodeURIComponent(j))}}),k}function $(O){var k=new b,N=O.replace(/\r?\n[\t ]+/g," ");return N.split("\r").map(function(A){return A.indexOf(` -`)===0?A.substr(1,A.length):A}).forEach(function(A){var L=A.split(":"),j=L.shift().trim();if(j){var F=L.join(":").trim();k.append(j,F)}}),k}E.call(_.prototype);function M(O,k){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');k||(k={}),this.type="default",this.status=k.status===void 0?200:k.status,this.ok=this.status>=200&&this.status<300,this.statusText=k.statusText===void 0?"":""+k.statusText,this.headers=new b(k.headers),this.url=k.url||"",this._initBody(O)}E.call(M.prototype),M.prototype.clone=function(){return new M(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},M.error=function(){var O=new M(null,{status:0,statusText:""});return O.type="error",O};var P=[301,302,303,307,308];M.redirect=function(O,k){if(P.indexOf(k)===-1)throw new RangeError("Invalid status code");return new M(null,{status:k,headers:{location:O}})},o.DOMException=s.DOMException;try{new o.DOMException}catch{o.DOMException=function(k,N){this.message=k,this.name=N;var A=Error(k);this.stack=A.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function D(O,k){return new Promise(function(N,A){var L=new _(O,k);if(L.signal&&L.signal.aborted)return A(new o.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function F(){j.abort()}j.onload=function(){var z={status:j.status,statusText:j.statusText,headers:$(j.getAllResponseHeaders()||"")};z.url="responseURL"in j?j.responseURL:z.headers.get("X-Request-URL");var U="response"in j?j.response:j.responseText;setTimeout(function(){N(new M(U,z))},0)},j.onerror=function(){setTimeout(function(){A(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){A(new TypeError("Network request failed"))},0)},j.onabort=function(){setTimeout(function(){A(new o.DOMException("Aborted","AbortError"))},0)};function B(z){try{return z===""&&s.location.href?s.location.href:z}catch{return z}}j.open(L.method,B(L.url),!0),L.credentials==="include"?j.withCredentials=!0:L.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(c.blob?j.responseType="blob":c.arrayBuffer&&L.headers.get("Content-Type")&&L.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(j.responseType="arraybuffer")),k&&typeof k.headers=="object"&&!(k.headers instanceof b)?Object.getOwnPropertyNames(k.headers).forEach(function(z){j.setRequestHeader(z,m(k.headers[z]))}):L.headers.forEach(function(z,U){j.setRequestHeader(U,z)}),L.signal&&(L.signal.addEventListener("abort",F),j.onreadystatechange=function(){j.readyState===4&&L.signal.removeEventListener("abort",F)}),j.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}return D.polyfill=!0,s.fetch||(s.fetch=D,s.Headers=b,s.Request=_,s.Response=M),o.Headers=b,o.Request=_,o.Response=M,o.fetch=D,o})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=n.fetch?n:r;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t}(Bh,Bh.exports)),Bh.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Fa<"u"&&Fa.fetch?n=Fa.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof wae<"u"&&typeof window>"u"){var r=n||Cae();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(_R,_R.exports);var uU=_R.exports;const dU=Za(uU),LD=X$({__proto__:null,default:dU},[uU]);function jD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function FD(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(i["Content-Type"]="application/json");var o=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=FD({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},zD?{}:o),c=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{BD(n,s,a,c)}catch(u){if(!o||Object.keys(o).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(o).forEach(function(d){delete s[d]}),BD(n,s,a,c),zD=!0}catch(d){a(d)}}},_ae=function(t,n,r,a){r&&Gc(r)==="object"&&(r=$R("",r).slice(1)),t.queryStringParams&&(n=$R(n,t.queryStringParams));try{var i;Mg?i=new Mg:i=new Kb("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var o=t.customHeaders;if(o=typeof o=="function"?o():o,o)for(var s in o)i.setRequestHeader(s,o[s]);i.onreadystatechange=function(){i.readyState>3&&a(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(c){console&&console.log(c)}},$ae=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},_s&&n.indexOf("file:")!==0)return Rae(t,n,r,a);if(cU()||typeof ActiveXObject=="function")return _ae(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function Ud(e){"@babel/helpers - typeof";return Ud=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},Ud(e)}function HD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function $S(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Oae(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return kae(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=$S($S($S({},Dae()),this.options||{}),a),this.allOptions=i,this.services&&this.options.reloadInterval){var o=setInterval(function(){return r.reload()},this.options.reloadInterval);Ud(o)==="object"&&typeof o.unref=="function"&&o.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,i,o){var s=this,c=this.options.loadPath;typeof this.options.loadPath=="function"&&(c=this.options.loadPath(n,a)),c=Sae(c),c.then(function(u){if(!u)return o(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:a.join("+")});s.loadUrl(d,o,r,i)})}},{key:"loadUrl",value:function(n,r,a,i){var o=this,s=typeof a=="string"?[a]:a,c=typeof i=="string"?[i]:i,u=this.options.parseLoadPayload(s,c);this.options.request(this.options,n,u,function(d,p){if(p&&(p.status>=500&&p.status<600||!p.status))return r("failed loading "+n+"; status code: "+p.status,!0);if(p&&p.status>=400&&p.status<500)return r("failed loading "+n+"; status code: "+p.status,!1);if(!p&&d&&d.message){var g=d.message.toLowerCase(),m=["failed","fetch","network","load"].find(function(y){return g.indexOf(y)>-1});if(m)return r("failed loading "+n+": "+d.message,!0)}if(d)return r(d,!1);var h,b;try{typeof p.data=="string"?h=o.options.parse(p.data,a,i):h=p.data}catch{b="failed parsing "+n+" to json"}if(b)return r(b,!1);r(null,h)})}},{key:"create",value:function(n,r,a,i,o){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var c=this.options.parsePayload(r,a,i),u=0,d=[],p=[];n.forEach(function(g){var m=s.options.addPath;typeof s.options.addPath=="function"&&(m=s.options.addPath(g,r));var h=s.services.interpolator.interpolate(m,{lng:g,ns:r});s.options.request(s.options,h,c,function(b,y){u+=1,d.push(b),p.push(y),u===n.length&&typeof o=="function"&&o(d,p)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,i=r.languageUtils,o=r.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var c=[],u=function(p){var g=i.toResolveHierarchy(p);g.forEach(function(m){c.indexOf(m)<0&&c.push(m)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),c.forEach(function(d){n.allOptions.ns.forEach(function(p){a.read(d,p,"read",null,null,function(g,m){g&&o.warn("loading namespace ".concat(p," for language ").concat(d," failed"),g),!g&&m&&o.log("loaded namespace ".concat(p," for language ").concat(d),m),a.loaded("".concat(d,"|").concat(p),g,m)})})})}}}])}();gU.type="backend";const{slice:Mae,forEach:Pae}=[];function Lae(e){return Pae.call(Mae.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const UD=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,jae=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let i=`${e}=${a}`;if(r.maxAge>0){const o=r.maxAge-0;if(Number.isNaN(o))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(o)}`}if(r.domain){if(!UD.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!UD.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},VD={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=jae(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const o=a.substring(1).split("&");for(let s=0;s0&&o[s].substring(0,c)===t&&(n=o[s].substring(c+1))}}return n}};let ip=null;const WD=()=>{if(ip!==null)return ip;try{ip=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{ip=!1}return ip};var zae={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&WD())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&WD()&&window.localStorage.setItem(n,e)}};let op=null;const GD=()=>{if(op!==null)return op;try{op=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{op=!1}return op};var Hae={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&GD())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&GD()&&window.sessionStorage.setItem(n,e)}},Uae={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let i=0;i0?t:void 0}},Vae={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Wae={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},Gae={name:"subdomain",lookup(e){var a,i;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((i=(a=window.location)==null?void 0:a.hostname)==null?void 0:i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function qae(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class mU{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=Lae(n,this.options||{},qae()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(Fae),this.addDetector(Bae),this.addDetector(zae),this.addDetector(Hae),this.addDetector(Uae),this.addDetector(Vae),this.addDetector(Wae),this.addDetector(Gae)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}mU.type="languageDetector";pr.use(gU).use(mU).use(Gre).init({supportedLngs:["en","de","fr","es"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});/** - * @remix-run/router v1.20.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Pg(){return Pg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function hU(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Yae(){return Math.random().toString(36).substr(2,8)}function KD(e,t){return{usr:e.state,key:e.key,idx:t}}function OR(e,t,n,r){return n===void 0&&(n=null),Pg({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?xf(t):t,{state:n,key:t&&t.key||r||Yae()})}function Yb(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function xf(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Xae(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,s=vl.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(Pg({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function p(){s=vl.Pop;let y=d(),S=y==null?null:y-u;u=y,c&&c({action:s,location:b.location,delta:S})}function g(y,S){s=vl.Push;let v=OR(b.location,y,S);u=d()+1;let x=KD(v,u),w=b.createHref(v);try{o.pushState(x,"",w)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(w)}i&&c&&c({action:s,location:b.location,delta:1})}function m(y,S){s=vl.Replace;let v=OR(b.location,y,S);u=d();let x=KD(v,u),w=b.createHref(v);o.replaceState(x,"",w),i&&c&&c({action:s,location:b.location,delta:0})}function h(y){let S=a.location.origin!=="null"?a.location.origin:a.location.href,v=typeof y=="string"?y:Yb(y);return v=v.replace(/ $/,"%20"),qr(S,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,S)}let b={get action(){return s},get location(){return e(a,o)},listen(y){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(qD,p),c=y,()=>{a.removeEventListener(qD,p),c=null}},createHref(y){return t(a,y)},createURL:h,encodeLocation(y){let S=h(y);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:m,go(y){return o.go(y)}};return b}var YD;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(YD||(YD={}));function Zae(e,t,n){return n===void 0&&(n="/"),Qae(e,t,n,!1)}function Qae(e,t,n,r){let a=typeof t=="string"?xf(t):t,i=WO(a.pathname||"/",n);if(i==null)return null;let o=vU(e);Jae(o);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(qr(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=kl([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(qr(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),vU(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:oie(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,o);else for(let c of bU(i.path))a(i,o,c)}),t}function bU(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=bU(r.join("/")),s=[];return s.push(...o.map(c=>c===""?i:[i,c].join("/"))),a&&s.push(...o),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function Jae(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:sie(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const eie=/^:[\w-]+$/,tie=3,nie=2,rie=1,aie=10,iie=-2,XD=e=>e==="*";function oie(e,t){let n=e.split("/"),r=n.length;return n.some(XD)&&(r+=iie),t&&(r+=nie),n.filter(a=>!XD(a)).reduce((a,i)=>a+(eie.test(i)?tie:i===""?rie:aie),r)}function sie(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function lie(e,t,n){let{routesMeta:r}=e,a={},i="/",o=[];for(let s=0;s{let{paramName:g,isOptional:m}=d;if(g==="*"){let b=s[p]||"";o=i.slice(0,i.length-b.length).replace(/(.)\/+$/,"$1")}const h=s[p];return m&&!h?u[g]=void 0:u[g]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function cie(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),hU(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function uie(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return hU(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function WO(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function die(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?xf(e):e;return{pathname:n?n.startsWith("/")?n:fie(n,t):t,search:mie(r),hash:hie(a)}}function fie(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function OS(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function pie(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function yU(e,t){let n=pie(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function xU(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=xf(e):(a=Pg({},e),qr(!a.pathname||!a.pathname.includes("?"),OS("?","pathname","search",a)),qr(!a.pathname||!a.pathname.includes("#"),OS("#","pathname","hash",a)),qr(!a.search||!a.search.includes("#"),OS("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,s;if(o==null)s=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),p-=1;a.pathname=g.join("/")}s=p>=0?t[p]:"/"}let c=die(a,s),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const kl=e=>e.join("/").replace(/\/\/+/g,"/"),gie=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mie=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,hie=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function vie(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const SU=["post","put","patch","delete"];new Set(SU);const bie=["get",...SU];new Set(bie);/** - * React Router v6.27.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Lg(){return Lg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),l.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let p=xU(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:kl([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,o,i,e])}function EU(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=l.useContext(su),{matches:a}=l.useContext(lu),{pathname:i}=go(),o=JSON.stringify(yU(a,r.v7_relativeSplatPath));return l.useMemo(()=>xU(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function wie(e,t){return Cie(e,t)}function Cie(e,t,n,r){Rm()||qr(!1);let{navigator:a}=l.useContext(su),{matches:i}=l.useContext(lu),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=go(),d;if(t){var p;let y=typeof t=="string"?xf(t):t;c==="/"||(p=y.pathname)!=null&&p.startsWith(c)||qr(!1),d=y}else d=u;let g=d.pathname||"/",m=g;if(c!=="/"){let y=c.replace(/^\//,"").split("/");m="/"+g.replace(/^\//,"").split("/").slice(y.length).join("/")}let h=Zae(e,{pathname:m}),b=_ie(h&&h.map(y=>Object.assign({},y,{params:Object.assign({},s,y.params),pathname:kl([c,a.encodeLocation?a.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?c:kl([c,a.encodeLocation?a.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),i,n,r);return t&&b?l.createElement(sy.Provider,{value:{location:Lg({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:vl.Pop}},b):b}function Eie(){let e=kie(),t=vie(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},t),n?l.createElement("pre",{style:a},n):null,null)}const Iie=l.createElement(Eie,null);class Tie extends l.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?l.createElement(lu.Provider,{value:this.props.routeContext},l.createElement(wU.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Rie(e){let{routeContext:t,match:n,children:r}=e,a=l.useContext(GO);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(lu.Provider,{value:t},r)}function _ie(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(a=n)==null?void 0:a.errors;if(s!=null){let d=o.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);d>=0||qr(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,p,g)=>{let m,h=!1,b=null,y=null;n&&(m=s&&p.route.id?s[p.route.id]:void 0,b=p.route.errorElement||Iie,c&&(u<0&&g===0?(h=!0,y=null):u===g&&(h=!0,y=p.route.hydrateFallbackElement||null)));let S=t.concat(o.slice(0,g+1)),v=()=>{let x;return m?x=b:h?x=y:p.route.Component?x=l.createElement(p.route.Component,null):p.route.element?x=p.route.element:x=d,l.createElement(Rie,{match:p,routeContext:{outlet:d,matches:S,isDataRoute:n!=null},children:x})};return n&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?l.createElement(Tie,{location:n.location,revalidation:n.revalidation,component:b,error:m,children:v(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):v()},null)}var IU=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(IU||{}),Xb=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Xb||{});function $ie(e){let t=l.useContext(GO);return t||qr(!1),t}function Oie(e){let t=l.useContext(yie);return t||qr(!1),t}function Nie(e){let t=l.useContext(lu);return t||qr(!1),t}function TU(e){let t=Nie(),n=t.matches[t.matches.length-1];return n.route.id||qr(!1),n.route.id}function kie(){var e;let t=l.useContext(wU),n=Oie(Xb.UseRouteError),r=TU(Xb.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Aie(){let{router:e}=$ie(IU.UseNavigateStable),t=TU(Xb.UseNavigateStable),n=l.useRef(!1);return CU(()=>{n.current=!0}),l.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Lg({fromRouteId:t},i)))},[e,t])}function kn(e){qr(!1)}function Die(e){let{basename:t="/",children:n=null,location:r,navigationType:a=vl.Pop,navigator:i,static:o=!1,future:s}=e;Rm()&&qr(!1);let c=t.replace(/^\/*/,"/"),u=l.useMemo(()=>({basename:c,navigator:i,static:o,future:Lg({v7_relativeSplatPath:!1},s)}),[c,s,i,o]);typeof r=="string"&&(r=xf(r));let{pathname:d="/",search:p="",hash:g="",state:m=null,key:h="default"}=r,b=l.useMemo(()=>{let y=WO(d,c);return y==null?null:{location:{pathname:y,search:p,hash:g,state:m,key:h},navigationType:a}},[c,d,p,g,m,h,a]);return b==null?null:l.createElement(su.Provider,{value:u},l.createElement(sy.Provider,{children:n,value:b}))}function Mie(e){let{children:t,location:n}=e;return wie(NR(t),n)}new Promise(()=>{});function NR(e,t){t===void 0&&(t=[]);let n=[];return l.Children.forEach(e,(r,a)=>{if(!l.isValidElement(r))return;let i=[...t,a];if(r.type===l.Fragment){n.push.apply(n,NR(r.props.children,i));return}r.type!==kn&&qr(!1),!r.props.index||!r.props.children||qr(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=NR(r.props.children,i)),n.push(o)}),n}/** - * React Router DOM v6.27.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function kR(){return kR=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function Lie(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function jie(e,t){return e.button===0&&(!t||t==="_self")&&!Lie(e)}const Fie=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Bie="6";try{window.__reactRouterVersion=Bie}catch{}const zie="startTransition",QD=wm[zie];function Hie(e){let{basename:t,children:n,future:r,window:a}=e,i=l.useRef();i.current==null&&(i.current=Kae({window:a,v5Compat:!0}));let o=i.current,[s,c]=l.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=l.useCallback(p=>{u&&QD?QD(()=>c(p)):c(p)},[c,u]);return l.useLayoutEffect(()=>o.listen(d),[o,d]),l.createElement(Die,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const Uie=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Vie=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ot=l.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:s,target:c,to:u,preventScrollReset:d,viewTransition:p}=t,g=Pie(t,Fie),{basename:m}=l.useContext(su),h,b=!1;if(typeof u=="string"&&Vie.test(u)&&(h=u,Uie))try{let x=new URL(window.location.href),w=u.startsWith("//")?new URL(x.protocol+u):new URL(u),C=WO(w.pathname,m);w.origin===x.origin&&C!=null?u=C+w.search+w.hash:b=!0}catch{}let y=xie(u,{relative:a}),S=Wie(u,{replace:o,state:s,target:c,preventScrollReset:d,relative:a,viewTransition:p});function v(x){r&&r(x),x.defaultPrevented||S(x)}return l.createElement("a",kR({},g,{href:h||y,onClick:b||i?r:v,ref:n,target:c}))});var JD;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(JD||(JD={}));var eM;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(eM||(eM={}));function Wie(e,t){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,viewTransition:s}=t===void 0?{}:t,c=cu(),u=go(),d=EU(e,{relative:o});return l.useCallback(p=>{if(jie(p,n)){p.preventDefault();let g=r!==void 0?r:Yb(u)===Yb(d);c(e,{replace:g,state:a,preventScrollReset:i,relative:o,viewTransition:s})}},[u,c,d,r,a,n,e,i,o,s])}var RU={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",o=0;o1&&arguments[1]!==void 0?arguments[1]:{},n=[];return de.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Nr(r)):Xp.isFragment(r)&&r.props?n=n.concat(Nr(r.props.children,t)):n.push(r))}),n}var AR={},Yie=function(t){};function Xie(e,t){}function Zie(e,t){}function Qie(){AR={}}function OU(e,t,n){!t&&!AR[n]&&(e(!1,n),AR[n]=!0)}function $n(e,t){OU(Xie,e,t)}function NU(e,t){OU(Zie,e,t)}$n.preMessage=Yie;$n.resetWarned=Qie;$n.noteOnce=NU;function mt(e){"@babel/helpers - typeof";return mt=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},mt(e)}function Jie(e,t){if(mt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(mt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kU(e){var t=Jie(e,"string");return mt(t)=="symbol"?t:t+""}function V(e,t,n){return(t=kU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t=19;var MR=l.createContext(null);function toe(e){var t=e.children,n=e.onBatchResize,r=l.useRef(0),a=l.useRef([]),i=l.useContext(MR),o=l.useCallback(function(s,c,u){r.current+=1;var d=r.current;a.current.push({size:s,element:c,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(a.current),a.current=[])}),i==null||i(s,c,u)},[n,i]);return l.createElement(MR.Provider,{value:o},t)}var AU=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,i){return a[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,i=this.__entries__;a0},e.prototype.connect_=function(){!PR||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),soe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!PR||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=ooe.some(function(i){return!!~r.indexOf(i)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),DU=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Vd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new hoe(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Vd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new voe(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),PU=typeof WeakMap<"u"?new WeakMap:new AU,LU=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=loe.getInstance(),r=new boe(t,n,this);PU.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){LU.prototype[e]=function(){var t;return(t=PU.get(this))[e].apply(t,arguments)}});var yoe=function(){return typeof Zb.ResizeObserver<"u"?Zb.ResizeObserver:LU}(),bl=new Map;function xoe(e){e.forEach(function(t){var n,r=t.target;(n=bl.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var jU=new yoe(xoe);function Soe(e,t){bl.has(e)||(bl.set(e,new Set),jU.observe(e)),bl.get(e).add(t)}function woe(e,t){bl.has(e)&&(bl.get(e).delete(t),bl.get(e).size||(jU.unobserve(e),bl.delete(e)))}function Jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rM(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;aM+=1;var r=aM;function a(i){if(i===0)UU(r),t();else{var o=zU(function(){a(i-1)});ZO.set(r,o)}}return a(n),r};Gt.cancel=function(e){var t=ZO.get(e);return UU(e),HU(t)};function VU(e){if(Array.isArray(e))return e}function Ooe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,i,o,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(d){u=!0,a=d}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function WU(){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 se(e,t){return VU(e)||Ooe(e,t)||XO(e,t)||WU()}function zg(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function ma(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function jR(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var iM="data-rc-order",oM="data-rc-priority",Noe="rc-util-key",FR=new Map;function GU(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Noe}function xy(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function koe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function QO(e){return Array.from((FR.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function qU(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ma())return null;var n=t.csp,r=t.prepend,a=t.priority,i=a===void 0?0:a,o=koe(r),s=o==="prependQueue",c=document.createElement("style");c.setAttribute(iM,o),s&&i&&c.setAttribute(oM,"".concat(i)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=xy(t),d=u.firstChild;if(r){if(s){var p=(t.styles||QO(u)).filter(function(g){if(!["prepend","prependQueue"].includes(g.getAttribute(iM)))return!1;var m=Number(g.getAttribute(oM)||0);return i>=m});if(p.length)return u.insertBefore(c,p[p.length-1].nextSibling),c}u.insertBefore(c,d)}else u.appendChild(c);return c}function KU(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=xy(t);return(t.styles||QO(n)).find(function(r){return r.getAttribute(GU(t))===e})}function Hg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=KU(e,t);if(n){var r=xy(t);r.removeChild(n)}}function Aoe(e,t){var n=FR.get(e);if(!n||!jR(document,n)){var r=qU("",t),a=r.parentNode;FR.set(e,a),e.removeChild(r)}}function $s(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=xy(n),a=QO(r),i=X(X({},n),{},{styles:a});Aoe(r,i);var o=KU(t,i);if(o){var s,c;if((s=i.csp)!==null&&s!==void 0&&s.nonce&&o.nonce!==((c=i.csp)===null||c===void 0?void 0:c.nonce)){var u;o.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var d=qU(e,i);return d.setAttribute(GU(i),t),d}function Doe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Ct(e,t){if(e==null)return{};var n,r,a=Doe(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=r.has(i);if($n(!c,"Warning: There may be circular references"),c)return!1;if(i===o)return!0;if(n&&s>1)return!1;r.add(i);var u=s+1;if(Array.isArray(i)){if(!Array.isArray(o)||i.length!==o.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(s){if(!o)o=void 0;else{var c;o=(c=o)===null||c===void 0||(c=c.map)===null||c===void 0?void 0:c.get(s)}}),(r=o)!==null&&r!==void 0&&r.value&&i&&(o.value[1]=this.cacheCallTimes++),(a=o)===null||a===void 0?void 0:a.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var a=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(u,d){var p=se(u,2),g=p[1];return a.internalGet(d)[1]0,void 0),sM+=1}return er(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),NS=new JO;function Ug(e){var t=Array.isArray(e)?e:[e];return NS.has(t)||NS.set(t,new YU(t)),NS.get(t)}var Foe=new WeakMap,kS={};function Boe(e,t){for(var n=Foe,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=lM.get(e)||"";return n||(Object.keys(e).forEach(function(r){var a=e[r];n+=r,a instanceof YU?n+=a.id:a&&mt(a)==="object"?n+=Qp(a,t):n+=a}),t&&(n=zg(n)),lM.set(e,n)),n}function cM(e,t){return zg("".concat(t,"_").concat(Qp(e,!0)))}var zR=ma();function G(e){return typeof e=="number"?"".concat(e,"px"):e}function Jb(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return e;var i=X(X({},r),{},V(V({},Wd,t),No,n)),o=Object.keys(i).map(function(s){var c=i[s];return c?"".concat(s,'="').concat(c,'"'):null}).filter(function(s){return s}).join(" ");return"")}var Kv=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},zoe=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(a){var i=se(a,2),o=i[0],s=i[1];return"".concat(o,":").concat(s,";")}).join(""),"}"):""},XU=function(t,n,r){var a={},i={};return Object.entries(t).forEach(function(o){var s,c,u=se(o,2),d=u[0],p=u[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[d])i[d]=p;else if((typeof p=="string"||typeof p=="number")&&!(r!=null&&(c=r.ignore)!==null&&c!==void 0&&c[d])){var g,m=Kv(d,r==null?void 0:r.prefix);a[m]=typeof p=="number"&&!(r!=null&&(g=r.unitless)!==null&&g!==void 0&&g[d])?"".concat(p,"px"):String(p),i[d]="var(".concat(m,")")}}),[i,zoe(a,n,{scope:r==null?void 0:r.scope})]},uM=ma()?l.useLayoutEffect:l.useEffect,Zt=function(t,n){var r=l.useRef(!0);uM(function(){return t(r.current)},n),uM(function(){return r.current=!1,function(){r.current=!0}},[])},Ac=function(t,n){Zt(function(r){if(!r)return t()},n)},Hoe=X({},wm),dM=Hoe.useInsertionEffect,Uoe=function(t,n,r){l.useMemo(t,r),Zt(function(){return n(!0)},r)},Voe=dM?function(e,t,n){return dM(function(){return e(),t()},n)}:Uoe,Woe=X({},wm),Goe=Woe.useInsertionEffect,qoe=function(t){var n=[],r=!1;function a(i){r||n.push(i)}return l.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(i){return i()})}},t),a},Koe=function(){return function(t){t()}},Yoe=typeof Goe<"u"?qoe:Koe;function eN(e,t,n,r,a){var i=l.useContext(Sy),o=i.cache,s=[e].concat(Me(t)),c=BR(s),u=Yoe([c]),d=function(h){o.opUpdate(c,function(b){var y=b||[void 0,void 0],S=se(y,2),v=S[0],x=v===void 0?0:v,w=S[1],C=w,E=C||n(),I=[x,E];return h?h(I):I})};l.useMemo(function(){d()},[c]);var p=o.opGet(c),g=p[1];return Voe(function(){a==null||a(g)},function(m){return d(function(h){var b=se(h,2),y=b[0],S=b[1];return m&&y===0&&(a==null||a(g)),[y+1,S]}),function(){o.opUpdate(c,function(h){var b=h||[],y=se(b,2),S=y[0],v=S===void 0?0:S,x=y[1],w=v-1;return w===0?(u(function(){(m||!o.opGet(c))&&(r==null||r(x,!1))}),null):[v-1,x]})}},[c]),g}var Xoe={},Zoe="css",bc=new Map;function Qoe(e){bc.set(e,(bc.get(e)||0)+1)}function Joe(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(Wd,'="').concat(e,'"]'));n.forEach(function(r){if(r[yl]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var ese=0;function tse(e,t){bc.set(e,(bc.get(e)||0)-1);var n=Array.from(bc.keys()),r=n.filter(function(a){var i=bc.get(a)||0;return i<=0});n.length-r.length>ese&&r.forEach(function(a){Joe(a,t),bc.delete(a)})}var ZU=function(t,n,r,a){var i=r.getDerivativeToken(t),o=X(X({},i),n);return a&&(o=a(o)),o},QU="token";function nse(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=l.useContext(Sy),a=r.cache.instanceId,i=r.container,o=n.salt,s=o===void 0?"":o,c=n.override,u=c===void 0?Xoe:c,d=n.formatToken,p=n.getComputedToken,g=n.cssVar,m=Boe(function(){return Object.assign.apply(Object,[{}].concat(Me(t)))},t),h=Qp(m),b=Qp(u),y=g?Qp(g):"",S=eN(QU,[s,e.id,h,b,y],function(){var v,x=p?p(m,u,e):ZU(m,u,e,d),w=X({},x),C="";if(g){var E=XU(x,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),I=se(E,2);x=I[0],C=I[1]}var T=cM(x,s);x._tokenKey=T,w._tokenKey=cM(w,s);var _=(v=g==null?void 0:g.key)!==null&&v!==void 0?v:T;x._themeKey=_,Qoe(_);var R="".concat(Zoe,"-").concat(zg(T));return x._hashId=R,[x,R,w,C,(g==null?void 0:g.key)||""]},function(v){tse(v[0]._themeKey,a)},function(v){var x=se(v,4),w=x[0],C=x[3];if(g&&C){var E=$s(C,zg("css-variables-".concat(w._themeKey)),{mark:No,prepend:"queue",attachTo:i,priority:-999});E[yl]=a,E.setAttribute(Wd,w._themeKey)}});return S}var rse=function(t,n,r){var a=se(t,5),i=a[2],o=a[3],s=a[4],c=r||{},u=c.plain;if(!o)return null;var d=i._tokenKey,p=-999,g={"data-rc-order":"prependQueue","data-rc-priority":"".concat(p)},m=Jb(o,s,d,g,u);return[p,d,m]},ase={animationIterationCount: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},JU="comm",eV="rule",tV="decl",ise="@import",ose="@keyframes",sse="@layer",nV=Math.abs,tN=String.fromCharCode;function rV(e){return e.trim()}function Yv(e,t,n){return e.replace(t,n)}function lse(e,t,n){return e.indexOf(t,n)}function Vg(e,t){return e.charCodeAt(t)|0}function Gd(e,t,n){return e.slice(t,n)}function Xo(e){return e.length}function cse(e){return e.length}function zh(e,t){return t.push(e),e}var wy=1,qd=1,aV=0,so=0,Ur=0,Sf="";function nN(e,t,n,r,a,i,o,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:wy,column:qd,length:o,return:"",siblings:s}}function use(){return Ur}function dse(){return Ur=so>0?Vg(Sf,--so):0,qd--,Ur===10&&(qd=1,wy--),Ur}function ko(){return Ur=so2||Wg(Ur)>3?"":" "}function mse(e,t){for(;--t&&ko()&&!(Ur<48||Ur>102||Ur>57&&Ur<65||Ur>70&&Ur<97););return Cy(e,Xv()+(t<6&&xl()==32&&ko()==32))}function HR(e){for(;ko();)switch(Ur){case e:return so;case 34:case 39:e!==34&&e!==39&&HR(Ur);break;case 40:e===41&&HR(e);break;case 92:ko();break}return so}function hse(e,t){for(;ko()&&e+Ur!==57;)if(e+Ur===84&&xl()===47)break;return"/*"+Cy(t,so-1)+"*"+tN(e===47?e:ko())}function vse(e){for(;!Wg(xl());)ko();return Cy(e,so)}function bse(e){return pse(Zv("",null,null,null,[""],e=fse(e),0,[0],e))}function Zv(e,t,n,r,a,i,o,s,c){for(var u=0,d=0,p=o,g=0,m=0,h=0,b=1,y=1,S=1,v=0,x="",w=a,C=i,E=r,I=x;y;)switch(h=v,v=ko()){case 40:if(h!=108&&Vg(I,p-1)==58){lse(I+=Yv(AS(v),"&","&\f"),"&\f",nV(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:I+=AS(v);break;case 9:case 10:case 13:case 32:I+=gse(h);break;case 92:I+=mse(Xv()-1,7);continue;case 47:switch(xl()){case 42:case 47:zh(yse(hse(ko(),Xv()),t,n,c),c),(Wg(h||1)==5||Wg(xl()||1)==5)&&Xo(I)&&Gd(I,-1,void 0)!==" "&&(I+=" ");break;default:I+="/"}break;case 123*b:s[u++]=Xo(I)*S;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+d:S==-1&&(I=Yv(I,/\f/g,"")),m>0&&(Xo(I)-p||b===0&&h===47)&&zh(m>32?pM(I+";",r,n,p-1,c):pM(Yv(I," ","")+";",r,n,p-2,c),c);break;case 59:I+=";";default:if(zh(E=fM(I,t,n,u,d,a,s,x,w=[],C=[],p,i),i),v===123)if(d===0)Zv(I,t,E,E,w,i,p,s,C);else switch(g===99&&Vg(I,3)===110?100:g){case 100:case 108:case 109:case 115:Zv(e,E,E,r&&zh(fM(e,E,E,0,0,a,s,x,a,w=[],p,C),C),a,C,p,s,r?w:C);break;default:Zv(I,E,E,E,[""],C,0,s,C)}}u=d=m=0,b=S=1,x=I="",p=o;break;case 58:p=1+Xo(I),m=h;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&dse()==125)continue}switch(I+=tN(v),v*b){case 38:S=d>0?1:(I+="\f",-1);break;case 44:s[u++]=(Xo(I)-1)*S,S=1;break;case 64:xl()===45&&(I+=AS(ko())),g=xl(),d=p=Xo(x=I+=vse(Xv())),v++;break;case 45:h===45&&Xo(I)==2&&(b=0)}}return i}function fM(e,t,n,r,a,i,o,s,c,u,d,p){for(var g=a-1,m=a===0?i:[""],h=cse(m),b=0,y=0,S=0;b0?m[v]+" "+x:Yv(x,/&\f/g,m[v])))&&(c[S++]=w);return nN(e,t,n,a===0?eV:s,c,u,d,p)}function yse(e,t,n,r){return nN(e,t,n,JU,tN(use()),Gd(e,2,-2),0,r)}function pM(e,t,n,r,a){return nN(e,t,n,tV,Gd(e,0,r),Gd(e,r+1,-1),r,a)}function UR(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,i=r.injectHash,o=r.parentSelectors,s=n.hashId,c=n.layer;n.path;var u=n.hashPriority,d=n.transformers,p=d===void 0?[]:d;n.linters;var g="",m={};function h(S){var v=S.getName(s);if(!m[v]){var x=e(S.style,n,{root:!1,parentSelectors:o}),w=se(x,1),C=w[0];m[v]="@keyframes ".concat(S.getName(s)).concat(C)}}function b(S){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return S.forEach(function(x){Array.isArray(x)?b(x,v):x&&v.push(x)}),v}var y=b(Array.isArray(t)?t:[t]);return y.forEach(function(S){var v=typeof S=="string"&&!a?{}:S;if(typeof v=="string")g+="".concat(v,` -`);else if(v._keyframe)h(v);else{var x=p.reduce(function(w,C){var E;return(C==null||(E=C.visit)===null||E===void 0?void 0:E.call(C,w))||w},v);Object.keys(x).forEach(function(w){var C=x[w];if(mt(C)==="object"&&C&&(w!=="animationName"||!C._keyframe)&&!Ise(C)){var E=!1,I=w.trim(),T=!1;(a||i)&&s?I.startsWith("@")?E=!0:I==="&"?I=mM("",s,u):I=mM(w,s,u):a&&!s&&(I==="&"||I==="")&&(I="",T=!0);var _=e(C,n,{root:T,injectHash:E,parentSelectors:[].concat(Me(o),[I])}),R=se(_,2),$=R[0],M=R[1];m=X(X({},m),M),g+="".concat(I).concat($)}else{let O=function(k,N){var A=k.replace(/[A-Z]/g,function(j){return"-".concat(j.toLowerCase())}),L=N;!ase[k]&&typeof L=="number"&&L!==0&&(L="".concat(L,"px")),k==="animationName"&&N!==null&&N!==void 0&&N._keyframe&&(h(N),L=N.getName(s)),g+="".concat(A,":").concat(L,";")};var P,D=(P=C==null?void 0:C.value)!==null&&P!==void 0?P:C;mt(C)==="object"&&C!==null&&C!==void 0&&C[sV]&&Array.isArray(D)?D.forEach(function(k){O(w,k)}):O(w,D)}})}}),a?c&&(g="@layer ".concat(c.name," {").concat(g,"}"),c.dependencies&&(m["@layer ".concat(c.name)]=c.dependencies.map(function(S){return"@layer ".concat(S,", ").concat(c.name,";")}).join(` -`))):g="{".concat(g,"}"),[g,m]};function lV(e,t){return zg("".concat(e.join("%")).concat(t))}function Rse(){return null}var cV="style";function VR(e,t){var n=e.token,r=e.path,a=e.hashId,i=e.layer,o=e.nonce,s=e.clientOnly,c=e.order,u=c===void 0?0:c,d=l.useContext(Sy),p=d.autoClear;d.mock;var g=d.defaultCache,m=d.hashPriority,h=d.container,b=d.ssrInline,y=d.transformers,S=d.linters,v=d.cache,x=d.layer,w=n._tokenKey,C=[w];x&&C.push("layer"),C.push.apply(C,Me(r));var E=zR,I=eN(cV,C,function(){var M=C.join("|");if(wse(M)){var P=Cse(M),D=se(P,2),O=D[0],k=D[1];if(O)return[O,w,k,{},s,u]}var N=t(),A=Tse(N,{hashId:a,hashPriority:m,layer:x?i:void 0,path:r.join("-"),transformers:y,linters:S}),L=se(A,2),j=L[0],F=L[1],B=Qv(j),z=lV(C,B);return[B,w,z,F,s,u]},function(M,P){var D=se(M,3),O=D[2];(P||p)&&zR&&Hg(O,{mark:No})},function(M){var P=se(M,4),D=P[0];P[1];var O=P[2],k=P[3];if(E&&D!==iV){var N={mark:No,prepend:x?!1:"queue",attachTo:h,priority:u},A=typeof o=="function"?o():o;A&&(N.csp={nonce:A});var L=[],j=[];Object.keys(k).forEach(function(B){B.startsWith("@layer")?L.push(B):j.push(B)}),L.forEach(function(B){$s(Qv(k[B]),"_layer-".concat(B),X(X({},N),{},{prepend:!0}))});var F=$s(D,O,N);F[yl]=v.instanceId,F.setAttribute(Wd,w),j.forEach(function(B){$s(Qv(k[B]),"_effect-".concat(B),N)})}}),T=se(I,3),_=T[0],R=T[1],$=T[2];return function(M){var P;return!b||E||!g?P=l.createElement(Rse,null):P=l.createElement("style",be({},V(V({},Wd,R),No,$),{dangerouslySetInnerHTML:{__html:_}})),l.createElement(l.Fragment,null,P,M)}}var _se=function(t,n,r){var a=se(t,6),i=a[0],o=a[1],s=a[2],c=a[3],u=a[4],d=a[5],p=r||{},g=p.plain;if(u)return null;var m=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return m=Jb(i,o,s,h,g),c&&Object.keys(c).forEach(function(b){if(!n[b]){n[b]=!0;var y=Qv(c[b]),S=Jb(y,o,"_effect-".concat(b),h,g);b.startsWith("@layer")?m=S+m:m+=S}}),[d,s,m]},uV="cssVar",$se=function(t,n){var r=t.key,a=t.prefix,i=t.unitless,o=t.ignore,s=t.token,c=t.scope,u=c===void 0?"":c,d=l.useContext(Sy),p=d.cache.instanceId,g=d.container,m=s._tokenKey,h=[].concat(Me(t.path),[r,u,m]),b=eN(uV,h,function(){var y=n(),S=XU(y,r,{prefix:a,unitless:i,ignore:o,scope:u}),v=se(S,2),x=v[0],w=v[1],C=lV(h,w);return[x,w,C,r]},function(y){var S=se(y,3),v=S[2];zR&&Hg(v,{mark:No})},function(y){var S=se(y,3),v=S[1],x=S[2];if(v){var w=$s(v,x,{mark:No,prepend:"queue",attachTo:g,priority:-999});w[yl]=p,w.setAttribute(Wd,r)}});return b},Ose=function(t,n,r){var a=se(t,4),i=a[1],o=a[2],s=a[3],c=r||{},u=c.plain;if(!i)return null;var d=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},g=Jb(i,s,o,p,u);return[d,o,g]};V(V(V({},cV,_se),QU,rse),uV,Ose);var nn=function(){function e(t,n){Jn(this,e),V(this,"name",void 0),V(this,"style",void 0),V(this,"_keyframe",!0),this.name=t,this.style=n}return er(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Nu(e){return e.notSplit=!0,e}Nu(["borderTop","borderBottom"]),Nu(["borderTop"]),Nu(["borderBottom"]),Nu(["borderLeft","borderRight"]),Nu(["borderLeft"]),Nu(["borderRight"]);var rN=l.createContext({});function dV(e){return VU(e)||BU(e)||XO(e)||WU()}function Ti(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ti(e,t.slice(0,-1))?e:fV(e,t,n,r)}function Nse(e){return mt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function hM(e){return Array.isArray(e)?[]:{}}var kse=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function fd(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=Ase,e},pV=l.createContext(void 0);var gV={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},Mse={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Pse=X(X({},Mse),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const mV={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},e0={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Pse),timePickerLocale:Object.assign({},mV)},vi="${label} is not a valid ${type}",lo={locale:"en",Pagination:gV,DatePicker:e0,TimePicker:mV,Calendar:e0,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:vi,method:vi,array:vi,object:vi,number:vi,date:vi,boolean:vi,integer:vi,float:vi,regexp:vi,email:vi,url:vi,hex:vi},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let Jv=Object.assign({},lo.Modal),eb=[];const vM=()=>eb.reduce((e,t)=>Object.assign(Object.assign({},e),t),lo.Modal);function Lse(e){if(e){const t=Object.assign({},e);return eb.push(t),Jv=vM(),()=>{eb=eb.filter(n=>n!==t),Jv=vM()}}Jv=Object.assign({},lo.Modal)}function hV(){return Jv}const aN=l.createContext(void 0),us=(e,t)=>{const n=l.useContext(aN),r=l.useMemo(()=>{var i;const o=t||lo[e],s=(i=n==null?void 0:n[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof o=="function"?o():o),s||{})},[e,t,n]),a=l.useMemo(()=>{const i=n==null?void 0:n.locale;return n!=null&&n.exist&&!i?lo.locale:i},[n]);return[r,a]},jse="internalMark",Fse=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;l.useEffect(()=>Lse(t==null?void 0:t.Modal),[t]);const a=l.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return l.createElement(aN.Provider,{value:a},n)};function Ra(e,t){Bse(e)&&(e="100%");var n=zse(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Hh(e){return Math.min(1,Math.max(0,e))}function Bse(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function zse(e){return typeof e=="string"&&e.indexOf("%")!==-1}function vV(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Uh(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wc(e){return e.length===1?"0"+e:String(e)}function Hse(e,t,n){return{r:Ra(e,255)*255,g:Ra(t,255)*255,b:Ra(n,255)*255}}function bM(e,t,n){e=Ra(e,255),t=Ra(t,255),n=Ra(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=0,s=(r+a)/2;if(r===a)o=0,i=0;else{var c=r-a;switch(o=s>.5?c/(2-r-a):c/(r+a),r){case e:i=(t-n)/c+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Use(e,t,n){var r,a,i;if(e=Ra(e,360),t=Ra(t,100),n=Ra(n,100),t===0)a=n,i=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=DS(s,o,e+1/3),a=DS(s,o,e),i=DS(s,o,e-1/3)}return{r:r*255,g:a*255,b:i*255}}function WR(e,t,n){e=Ra(e,255),t=Ra(t,255),n=Ra(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=r,s=r-a,c=r===0?0:s/r;if(r===a)i=0;else{switch(r){case e:i=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var qR={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",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",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",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"};function Zu(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,s=!1;return typeof e=="string"&&(e=Xse(e)),typeof e=="object"&&(gs(e.r)&&gs(e.g)&&gs(e.b)?(t=Hse(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):gs(e.h)&&gs(e.s)&&gs(e.v)?(r=Uh(e.s),a=Uh(e.v),t=Vse(e.h,r,a),o=!0,s="hsv"):gs(e.h)&&gs(e.s)&&gs(e.l)&&(r=Uh(e.s),i=Uh(e.l),t=Use(e.h,r,i),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=vV(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Kse="[-\\+]?\\d+%?",Yse="[-\\+]?\\d*\\.\\d+%?",Sl="(?:".concat(Yse,")|(?:").concat(Kse,")"),MS="[\\s|\\(]+(".concat(Sl,")[,|\\s]+(").concat(Sl,")[,|\\s]+(").concat(Sl,")\\s*\\)?"),PS="[\\s|\\(]+(".concat(Sl,")[,|\\s]+(").concat(Sl,")[,|\\s]+(").concat(Sl,")[,|\\s]+(").concat(Sl,")\\s*\\)?"),xo={CSS_UNIT:new RegExp(Sl),rgb:new RegExp("rgb"+MS),rgba:new RegExp("rgba"+PS),hsl:new RegExp("hsl"+MS),hsla:new RegExp("hsla"+PS),hsv:new RegExp("hsv"+MS),hsva:new RegExp("hsva"+PS),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Xse(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(qR[e])e=qR[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=xo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=xo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=xo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=xo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=xo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=xo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=xo.hex8.exec(e),n?{r:xi(n[1]),g:xi(n[2]),b:xi(n[3]),a:yM(n[4]),format:t?"name":"hex8"}:(n=xo.hex6.exec(e),n?{r:xi(n[1]),g:xi(n[2]),b:xi(n[3]),format:t?"name":"hex"}:(n=xo.hex4.exec(e),n?{r:xi(n[1]+n[1]),g:xi(n[2]+n[2]),b:xi(n[3]+n[3]),a:yM(n[4]+n[4]),format:t?"name":"hex8"}:(n=xo.hex3.exec(e),n?{r:xi(n[1]+n[1]),g:xi(n[2]+n[2]),b:xi(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function gs(e){return!!xo.CSS_UNIT.exec(String(e))}var cn=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=qse(t)),this.originalInput=t;var a=Zu(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,i=t.r/255,o=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=vV(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=WR(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=WR(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=bM(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=bM(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),GR(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Wse(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ra(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ra(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+GR(this.r,this.g,this.b,!1),n=0,r=Object.entries(qR);n=0,i=!n&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Hh(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Hh(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Hh(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Hh(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),i=n/100,o={r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,i=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,i=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:a,v:i})),i=(i+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],i=360/t,o=1;o=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Vh*t:Math.round(e.h)+Vh*t:r=n?Math.round(e.h)+Vh*t:Math.round(e.h)-Vh*t,r<0?r+=360:r>=360&&(r-=360),r}function CM(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-xM*t:t===yV?r=e.s+xM:r=e.s+Zse*t,r>1&&(r=1),n&&t===bV&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function EM(e,t,n){var r;return n?r=e.v+Qse*t:r=e.v-Jse*t,r>1&&(r=1),Number(r.toFixed(2))}function Kc(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Zu(e),a=bV;a>0;a-=1){var i=SM(r),o=Wh(Zu({h:wM(i,a,!0),s:CM(i,a,!0),v:EM(i,a,!0)}));n.push(o)}n.push(Wh(r));for(var s=1;s<=yV;s+=1){var c=SM(r),u=Wh(Zu({h:wM(c,s),s:CM(c,s),v:EM(c,s)}));n.push(u)}return t.theme==="dark"?ele.map(function(d){var p=d.index,g=d.opacity,m=Wh(tle(Zu(t.backgroundColor||"#141414"),Zu(n[p]),g*100));return m}):n}var $d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},KR=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];KR.primary=KR[5];var YR=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];YR.primary=YR[5];var XR=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];XR.primary=XR[5];var t0=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];t0.primary=t0[5];var ZR=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];ZR.primary=ZR[5];var QR=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];QR.primary=QR[5];var JR=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];JR.primary=JR[5];var e_=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];e_.primary=e_[5];var Kd=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Kd.primary=Kd[5];var t_=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];t_.primary=t_[5];var n_=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];n_.primary=n_[5];var r_=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];r_.primary=r_[5];var a_=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];a_.primary=a_[5];var LS={red:KR,volcano:YR,orange:XR,gold:t0,yellow:ZR,lime:QR,green:JR,cyan:e_,blue:Kd,geekblue:t_,purple:n_,magenta:r_,grey:a_};const iN={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Yd=Object.assign(Object.assign({},iN),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, -'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function xV(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:i,colorError:o,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,p=n(c),g=n(a),m=n(i),h=n(o),b=n(s),y=r(u,d),S=e.colorLink||e.colorInfo,v=n(S),x=new cn(h[1]).mix(new cn(h[3]),50).toHexString();return Object.assign(Object.assign({},y),{colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:g[1],colorSuccessBgHover:g[2],colorSuccessBorder:g[3],colorSuccessBorderHover:g[4],colorSuccessHover:g[4],colorSuccess:g[6],colorSuccessActive:g[7],colorSuccessTextHover:g[8],colorSuccessText:g[9],colorSuccessTextActive:g[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBgFilledHover:x,colorErrorBgActive:h[3],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new cn("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const nle=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function rle(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},nle(r))}const SV=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function tb(e){return(e+8)/e}function ale(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,i=e*Math.pow(Math.E,a/5),o=r>1?Math.floor(i):Math.ceil(i);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:tb(n)}))}const wV=e=>{const t=ale(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),a=n[1],i=n[0],o=n[2],s=r[1],c=r[0],u=r[2];return{fontSizeSM:i,fontSize:a,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(s*a),fontHeightLG:Math.round(u*o),fontHeightSM:Math.round(c*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function ile(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Hi=(e,t)=>new cn(e).setAlpha(t).toRgbString(),sp=(e,t)=>new cn(e).darken(t).toHexString(),ole=e=>{const t=Kc(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},sle=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Hi(r,.88),colorTextSecondary:Hi(r,.65),colorTextTertiary:Hi(r,.45),colorTextQuaternary:Hi(r,.25),colorFill:Hi(r,.15),colorFillSecondary:Hi(r,.06),colorFillTertiary:Hi(r,.04),colorFillQuaternary:Hi(r,.02),colorBgSolid:Hi(r,1),colorBgSolidHover:Hi(r,.75),colorBgSolidActive:Hi(r,.95),colorBgLayout:sp(n,4),colorBgContainer:sp(n,0),colorBgElevated:sp(n,0),colorBgSpotlight:Hi(r,.85),colorBgBlur:"transparent",colorBorder:sp(n,15),colorBorderSecondary:sp(n,6)}};function _m(e){$d.pink=$d.magenta,LS.pink=LS.magenta;const t=Object.keys(iN).map(n=>{const r=e[n]===$d[n]?LS[n]:Kc(e[n]);return new Array(10).fill(1).reduce((a,i,o)=>(a[`${n}-${o+1}`]=r[o],a[`${n}${o+1}`]=r[o],a),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),xV(e,{generateColorPalettes:ole,generateNeutralColorPalettes:sle})),wV(e.fontSize)),ile(e)),SV(e)),rle(e))}const CV=Ug(_m),Gg={token:Yd,override:{override:Yd},hashed:!0},oN=de.createContext(Gg),qg="ant",sN="anticon",lle=["outlined","borderless","filled"],cle=(e,t)=>t||(e?`${qg}-${e}`:qg),st=l.createContext({getPrefixCls:cle,iconPrefixCls:sN}),ule=`-ant-${Date.now()}-${Math.random()}`;function dle(e,t){const n={},r=(o,s)=>{let c=o.clone();return c=(s==null?void 0:s(c))||c,c.toRgbString()},a=(o,s)=>{const c=new cn(o),u=Kc(c.toRgbString());n[`${s}-color`]=r(c),n[`${s}-color-disabled`]=u[1],n[`${s}-color-hover`]=u[4],n[`${s}-color-active`]=u[6],n[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=u[0],n[`${s}-color-deprecated-border`]=u[2]};if(t.primaryColor){a(t.primaryColor,"primary");const o=new cn(t.primaryColor),s=Kc(o.toRgbString());s.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(o,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(o,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(o,u=>u.setAlpha(u.getAlpha()*.12));const c=new cn(s[0]);n["primary-color-active-deprecated-f-30"]=r(c,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(c,u=>u.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),` - :root { - ${Object.keys(n).map(o=>`--${e}-${o}: ${n[o]};`).join(` -`)} - } - `.trim()}function fle(e,t){const n=dle(e,t);ma()&&$s(n,`${ule}-dynamic-theme`)}const ha=l.createContext(!1),lN=e=>{let{children:t,disabled:n}=e;const r=l.useContext(ha);return l.createElement(ha.Provider,{value:n??r},t)},Yc=l.createContext(void 0),ple=e=>{let{children:t,size:n}=e;const r=l.useContext(Yc);return l.createElement(Yc.Provider,{value:n||r},t)};function gle(){const e=l.useContext(ha),t=l.useContext(Yc);return{componentDisabled:e,componentSize:t}}var EV=er(function e(){Jn(this,e)}),IV="CALC_UNIT",mle=new RegExp(IV,"g");function jS(e){return typeof e=="number"?"".concat(e).concat(IV):e}var hle=function(e){gi(n,e);var t=Fi(n);function n(r,a){var i;Jn(this,n),i=t.call(this),V(Ke(i),"result",""),V(Ke(i),"unitlessCssVar",void 0),V(Ke(i),"lowPriority",void 0);var o=mt(r);return i.unitlessCssVar=a,r instanceof n?i.result="(".concat(r.result,")"):o==="number"?i.result=jS(r):o==="string"&&(i.result=r),i}return er(n,[{key:"add",value:function(a){return a instanceof n?this.result="".concat(this.result," + ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," + ").concat(jS(a))),this.lowPriority=!0,this}},{key:"sub",value:function(a){return a instanceof n?this.result="".concat(this.result," - ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," - ").concat(jS(a))),this.lowPriority=!0,this}},{key:"mul",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," * ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," * ").concat(a)),this.lowPriority=!1,this}},{key:"div",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," / ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," / ").concat(a)),this.lowPriority=!1,this}},{key:"getResult",value:function(a){return this.lowPriority||a?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(a){var i=this,o=a||{},s=o.unit,c=!0;return typeof s=="boolean"?c=s:Array.from(this.unitlessCssVar).some(function(u){return i.result.includes(u)})&&(c=!1),this.result=this.result.replace(mle,c?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(EV),vle=function(e){gi(n,e);var t=Fi(n);function n(r){var a;return Jn(this,n),a=t.call(this),V(Ke(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return er(n,[{key:"add",value:function(a){return a instanceof n?this.result+=a.result:typeof a=="number"&&(this.result+=a),this}},{key:"sub",value:function(a){return a instanceof n?this.result-=a.result:typeof a=="number"&&(this.result-=a),this}},{key:"mul",value:function(a){return a instanceof n?this.result*=a.result:typeof a=="number"&&(this.result*=a),this}},{key:"div",value:function(a){return a instanceof n?this.result/=a.result:typeof a=="number"&&(this.result/=a),this}},{key:"equal",value:function(){return this.result}}]),n}(EV),ble=function(t,n){var r=t==="css"?hle:vle;return function(a){return new r(a,n)}},IM=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Yt(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1e4){var r=Date.now();this.lastAccessBeat.forEach(function(a,i){r-a>wle&&(n.map.delete(i),n.lastAccessBeat.delete(i))}),this.accessBeat=0}}}]),e}(),$M=new Cle;function Ele(e,t){return de.useMemo(function(){var n=$M.get(t);if(n)return n;var r=e();return $M.set(t,r),r},t)}var Ile=function(){return{}};function Tle(e){var t=e.useCSP,n=t===void 0?Ile:t,r=e.useToken,a=e.usePrefix,i=e.getResetStyles,o=e.getCommonStyle,s=e.getCompUnitless;function c(g,m,h,b){var y=Array.isArray(g)?g[0]:g;function S(T){return"".concat(String(y)).concat(T.slice(0,1).toUpperCase()).concat(T.slice(1))}var v=(b==null?void 0:b.unitless)||{},x=typeof s=="function"?s(g):{},w=X(X({},x),{},V({},S("zIndexPopup"),!0));Object.keys(v).forEach(function(T){w[S(T)]=v[T]});var C=X(X({},b),{},{unitless:w,prefixToken:S}),E=d(g,m,h,C),I=u(y,h,C);return function(T){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T,R=E(T,_),$=se(R,2),M=$[1],P=I(_),D=se(P,2),O=D[0],k=D[1];return[O,M,k]}}function u(g,m,h){var b=h.unitless,y=h.injectStyle,S=y===void 0?!0:y,v=h.prefixToken,x=h.ignore,w=function(I){var T=I.rootCls,_=I.cssVar,R=_===void 0?{}:_,$=r(),M=$.realToken;return $se({path:[g],prefix:R.prefix,key:R.key,unitless:b,ignore:x,token:M,scope:T},function(){var P=_M(g,M,m),D=TM(g,M,P,{deprecatedTokens:h==null?void 0:h.deprecatedTokens});return Object.keys(P).forEach(function(O){D[v(O)]=D[O],delete D[O]}),D}),null},C=function(I){var T=r(),_=T.cssVar;return[function(R){return S&&_?de.createElement(de.Fragment,null,de.createElement(w,{rootCls:I,cssVar:_,component:g}),R):R},_==null?void 0:_.key]};return C}function d(g,m,h){var b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},y=Array.isArray(g)?g:[g,g],S=se(y,1),v=S[0],x=y.join("-"),w=e.layer||{name:"antd"};return function(C){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C,I=r(),T=I.theme,_=I.realToken,R=I.hashId,$=I.token,M=I.cssVar,P=a(),D=P.rootPrefixCls,O=P.iconPrefixCls,k=n(),N=M?"css":"js",A=Ele(function(){var U=new Set;return M&&Object.keys(b.unitless||{}).forEach(function(H){U.add(Kv(H,M.prefix)),U.add(Kv(H,IM(v,M.prefix)))}),ble(N,U)},[N,v,M==null?void 0:M.prefix]),L=Sle(N),j=L.max,F=L.min,B={theme:T,token:$,hashId:R,nonce:function(){return k.nonce},clientOnly:b.clientOnly,layer:w,order:b.order||-999};VR(X(X({},B),{},{clientOnly:!1,path:["Shared",D]}),function(){return typeof i=="function"?i($):[]});var z=VR(X(X({},B),{},{path:[x,C,O]}),function(){if(b.injectStyle===!1)return[];var U=xle($),H=U.token,K=U.flush,Y=_M(v,_,h),ee=".".concat(C),ae=TM(v,_,Y,{deprecatedTokens:b.deprecatedTokens});M&&Y&&mt(Y)==="object"&&Object.keys(Y).forEach(function(Q){Y[Q]="var(".concat(Kv(Q,IM(v,M.prefix)),")")});var W=zt(H,{componentCls:ee,prefixCls:C,iconCls:".".concat(O),antCls:".".concat(D),calc:A,max:j,min:F},M?Y:ae),q=m(W,{hashId:R,prefixCls:C,rootPrefixCls:D,iconPrefixCls:O});K(v,ae);var Z=typeof o=="function"?o(W,C,E,b.resetFont):null;return[b.resetStyle===!1?null:Z,q]});return[z,R]}}function p(g,m,h){var b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},y=d(g,m,h,X({resetStyle:!1,order:-998},b)),S=function(x){var w=x.prefixCls,C=x.rootCls,E=C===void 0?w:C;return y(w,E),null};return S}return{genStyleHooks:c,genSubStyleComponent:p,genComponentStyleHook:d}}const Kg=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Rle="5.21.5";function BS(e){return e>=0&&e<=255}function Gh(e,t){const{r:n,g:r,b:a,a:i}=new cn(e).toRgb();if(i<1)return e;const{r:o,g:s,b:c}=new cn(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-o*(1-u))/u),p=Math.round((r-s*(1-u))/u),g=Math.round((a-c*(1-u))/u);if(BS(d)&&BS(p)&&BS(g))return new cn({r:d,g:p,b:g,a:Math.round(u*100)/100}).toRgbString()}return new cn({r:n,g:r,b:a,a:1}).toRgbString()}var _le=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{delete r[g]});const a=Object.assign(Object.assign({},n),r),i=480,o=576,s=768,c=992,u=1200,d=1600;if(a.motion===!1){const g="0s";a.motionDurationFast=g,a.motionDurationMid=g,a.motionDurationSlow=g}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:Gh(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:Gh(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:Gh(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidthFocus:a.lineWidth*3,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:Gh(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:i,screenXSMin:i,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new cn("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new cn("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new cn("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var OM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const r=n.getDerivativeToken(e),{override:a}=t,i=OM(t,["override"]);let o=Object.assign(Object.assign({},r),{override:a});return o=cN(o),i&&Object.entries(i).forEach(s=>{let[c,u]=s;const{theme:d}=u,p=OM(u,["theme"]);let g=p;d&&(g=_V(Object.assign(Object.assign({},o),p),{override:p},d)),o[c]=g}),o};function ia(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=de.useContext(oN),i=`${Rle}-${t||""}`,o=n||CV,[s,c,u]=nse(o,[Yd,e],{salt:i,override:r,getComputedToken:_V,formatToken:cN,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:RV,ignore:$le,preserve:Ole}});return[o,u,t?c:"",s,a]}const Pi={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},ln=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},wf=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Lo=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Nle=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),kle=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:a,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),o),{[a]:o})}},Ps=e=>({outline:`${G(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),co=e=>({"&:focus-visible":Object.assign({},Ps(e))}),uN=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},co(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),$V=(e,t)=>{const[n,r]=ia();return VR({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},wf()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:an,genComponentStyleHook:Ale,genSubStyleComponent:uu}=Tle({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=l.useContext(st);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=ia();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=l.useContext(st);return $V(t,e),e??{}},getResetStyles:e=>[{"&":Nle(e)}],getCommonStyle:kle,getCompUnitless:()=>RV});function Ey(e,t){return Kg.reduce((n,r)=>{const a=e[`${r}1`],i=e[`${r}3`],o=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:a,lightBorderColor:i,darkColor:o,textColor:s}))},{})}const Dle=Object.assign({},wm),{useId:NM}=Dle,Mle=()=>"",Ple=typeof NM>"u"?Mle:NM;function Lle(e,t,n){var r;Zl();const a=e||{},i=a.inherit===!1||!t?Object.assign(Object.assign({},Gg),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:Gg.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=Ple();return Xl(()=>{var s,c;if(!e)return t;const u=Object.assign({},i.components);Object.keys(e.components||{}).forEach(g=>{u[g]=Object.assign(Object.assign({},u[g]),e.components[g])});const d=`css-var-${o.replace(/:/g,"")}`,p=((s=a.cssVar)!==null&&s!==void 0?s:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof i.cssVar=="object"?i.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((c=a.cssVar)===null||c===void 0?void 0:c.key)||d});return Object.assign(Object.assign(Object.assign({},i),a),{token:Object.assign(Object.assign({},i.token),a.token),components:u,cssVar:p})},[a,i],(s,c)=>s.some((u,d)=>{const p=c[d];return!oo(u,p,!0)}))}var jle=["children"],OV=l.createContext({});function Fle(e){var t=e.children,n=Ct(e,jle);return l.createElement(OV.Provider,{value:n},t)}var Ble=function(e){gi(n,e);var t=Fi(n);function n(){return Jn(this,n),t.apply(this,arguments)}return er(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component);function zle(e){var t=l.useReducer(function(s){return s+1},0),n=se(t,2),r=n[1],a=l.useRef(e),i=Yt(function(){return a.current}),o=Yt(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[i,o]}var al="none",qh="appear",Kh="enter",Yh="leave",kM="none",Io="prepare",pd="start",gd="active",dN="end",NV="prepared";function AM(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Hle(e,t){var n={animationend:AM("Animation","AnimationEnd"),transitionend:AM("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Ule=Hle(ma(),typeof window<"u"?window:{}),kV={};if(ma()){var Vle=document.createElement("div");kV=Vle.style}var Xh={};function AV(e){if(Xh[e])return Xh[e];var t=Ule[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Gt(function(){a<=1?r({isCanceled:function(){return i!==e.current}}):n(r,a-1)});e.current=i}return l.useEffect(function(){return function(){t()}},[]),[n,t]};var qle=[Io,pd,gd,dN],Kle=[Io,NV],jV=!1,Yle=!0;function FV(e){return e===gd||e===dN}const Xle=function(e,t,n){var r=Xc(kM),a=se(r,2),i=a[0],o=a[1],s=Gle(),c=se(s,2),u=c[0],d=c[1];function p(){o(Io,!0)}var g=t?Kle:qle;return LV(function(){if(i!==kM&&i!==dN){var m=g.indexOf(i),h=g[m+1],b=n(i);b===jV?o(h,!0):h&&u(function(y){function S(){y.isCanceled()||o(h,!0)}b===!0?S():Promise.resolve(b).then(S)})}},[e,i]),l.useEffect(function(){return function(){d()}},[]),[p,i]};function Zle(e,t,n,r){var a=r.motionEnter,i=a===void 0?!0:a,o=r.motionAppear,s=o===void 0?!0:o,c=r.motionLeave,u=c===void 0?!0:c,d=r.motionDeadline,p=r.motionLeaveImmediately,g=r.onAppearPrepare,m=r.onEnterPrepare,h=r.onLeavePrepare,b=r.onAppearStart,y=r.onEnterStart,S=r.onLeaveStart,v=r.onAppearActive,x=r.onEnterActive,w=r.onLeaveActive,C=r.onAppearEnd,E=r.onEnterEnd,I=r.onLeaveEnd,T=r.onVisibleChanged,_=Xc(),R=se(_,2),$=R[0],M=R[1],P=zle(al),D=se(P,2),O=D[0],k=D[1],N=Xc(null),A=se(N,2),L=A[0],j=A[1],F=O(),B=l.useRef(!1),z=l.useRef(null);function U(){return n()}var H=l.useRef(!1);function K(){k(al),j(null,!0)}var Y=Yt(function(fe){var ge=O();if(ge!==al){var ne=U();if(!(fe&&!fe.deadline&&fe.target!==ne)){var ue=H.current,me;ge===qh&&ue?me=C==null?void 0:C(ne,fe):ge===Kh&&ue?me=E==null?void 0:E(ne,fe):ge===Yh&&ue&&(me=I==null?void 0:I(ne,fe)),ue&&me!==!1&&K()}}}),ee=Wle(Y),ae=se(ee,1),W=ae[0],q=function(ge){switch(ge){case qh:return V(V(V({},Io,g),pd,b),gd,v);case Kh:return V(V(V({},Io,m),pd,y),gd,x);case Yh:return V(V(V({},Io,h),pd,S),gd,w);default:return{}}},Z=l.useMemo(function(){return q(F)},[F]),Q=Xle(F,!e,function(fe){if(fe===Io){var ge=Z[Io];return ge?ge(U()):jV}if(ce in Z){var ne;j(((ne=Z[ce])===null||ne===void 0?void 0:ne.call(Z,U(),null))||null)}return ce===gd&&F!==al&&(W(U()),d>0&&(clearTimeout(z.current),z.current=setTimeout(function(){Y({deadline:!0})},d))),ce===NV&&K(),Yle}),J=se(Q,2),le=J[0],ce=J[1],pe=FV(ce);H.current=pe,LV(function(){M(t);var fe=B.current;B.current=!0;var ge;!fe&&t&&s&&(ge=qh),fe&&t&&i&&(ge=Kh),(fe&&!t&&u||!fe&&p&&!t&&u)&&(ge=Yh);var ne=q(ge);ge&&(e||ne[Io])?(k(ge),le()):k(al)},[t]),l.useEffect(function(){(F===qh&&!s||F===Kh&&!i||F===Yh&&!u)&&k(al)},[s,i,u]),l.useEffect(function(){return function(){B.current=!1,clearTimeout(z.current)}},[]);var te=l.useRef(!1);l.useEffect(function(){$&&(te.current=!0),$!==void 0&&F===al&&((te.current||$)&&(T==null||T($)),te.current=!0)},[$,F]);var ie=L;return Z[Io]&&ce===pd&&(ie=X({transition:"none"},ie)),[F,ce,ie,$??t]}function Qle(e){var t=e;mt(e)==="object"&&(t=e.transitionSupport);function n(a,i){return!!(a.motionName&&t&&i!==!1)}var r=l.forwardRef(function(a,i){var o=a.visible,s=o===void 0?!0:o,c=a.removeOnLeave,u=c===void 0?!0:c,d=a.forceRender,p=a.children,g=a.motionName,m=a.leavedClassName,h=a.eventProps,b=l.useContext(OV),y=b.motion,S=n(a,y),v=l.useRef(),x=l.useRef();function w(){try{return v.current instanceof HTMLElement?v.current:Zp(x.current)}catch{return null}}var C=Zle(S,s,w,a),E=se(C,4),I=E[0],T=E[1],_=E[2],R=E[3],$=l.useRef(R);R&&($.current=!0);var M=l.useCallback(function(L){v.current=L,Fg(i,L)},[i]),P,D=X(X({},h),{},{visible:s});if(!p)P=null;else if(I===al)R?P=p(X({},D),M):!u&&$.current&&m?P=p(X(X({},D),{},{className:m}),M):d||!u&&!m?P=p(X(X({},D),{},{style:{display:"none"}}),M):P=null;else{var O;T===Io?O="prepare":FV(T)?O="active":T===pd&&(O="start");var k=PM(g,"".concat(I,"-").concat(O));P=p(X(X({},D),{},{className:oe(PM(g,I),V(V({},k,k&&O),g,typeof g=="string")),style:_}),M)}if(l.isValidElement(P)&&Po(P)){var N=P,A=N.ref;A||(P=l.cloneElement(P,{ref:M}))}return l.createElement(Ble,{ref:x},P)});return r.displayName="CSSMotion",r}const na=Qle(PV);var o_="add",s_="keep",l_="remove",zS="removed";function Jle(e){var t;return e&&mt(e)==="object"&&"key"in e?t=e:t={key:e},X(X({},t),{},{key:String(t.key)})}function c_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Jle)}function ece(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,i=c_(e),o=c_(t);i.forEach(function(u){for(var d=!1,p=r;p1});return c.forEach(function(u){n=n.filter(function(d){var p=d.key,g=d.status;return p!==u||g!==l_}),n.forEach(function(d){d.key===u&&(d.status=s_)})}),n}var tce=["component","children","onVisibleChanged","onAllRemoved"],nce=["status"],rce=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ace(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:na,n=function(r){gi(i,r);var a=Fi(i);function i(){var o;Jn(this,i);for(var s=arguments.length,c=new Array(s),u=0;unull;var sce=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at.endsWith("Color"))}const dce=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(n0=t),n!==void 0&&(BV=n),"holderRender"in e&&(HV=a),r&&(uce(r)?fle(nb(),r):zV=r)},UV=()=>({getPrefixCls:(e,t)=>t||(e?`${nb()}-${e}`:nb()),getIconPrefixCls:cce,getRootPrefixCls:()=>n0||nb(),getTheme:()=>zV,holderRender:HV}),fce=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:i,form:o,locale:s,componentSize:c,direction:u,space:d,splitter:p,virtual:g,dropdownMatchSelectWidth:m,popupMatchSelectWidth:h,popupOverflow:b,legacyLocale:y,parentContext:S,iconPrefixCls:v,theme:x,componentDisabled:w,segmented:C,statistic:E,spin:I,calendar:T,carousel:_,cascader:R,collapse:$,typography:M,checkbox:P,descriptions:D,divider:O,drawer:k,skeleton:N,steps:A,image:L,layout:j,list:F,mentions:B,modal:z,progress:U,result:H,slider:K,breadcrumb:Y,menu:ee,pagination:ae,input:W,textArea:q,empty:Z,badge:Q,radio:J,rate:le,switch:ce,transfer:pe,avatar:te,message:ie,tag:fe,table:ge,card:ne,tabs:ue,timeline:me,timePicker:xe,upload:Ie,notification:ke,tree:$e,colorPicker:Le,datePicker:je,rangePicker:He,flex:Be,wave:Pe,dropdown:Se,warning:Ne,tour:Te,floatButtonGroup:Ce,variant:De,inputNumber:Ge,treeSelect:lt}=e,he=l.useCallback((We,qe)=>{const{prefixCls:Qe}=e;if(qe)return qe;const it=Qe||S.getPrefixCls("");return We?`${it}-${We}`:it},[S.getPrefixCls,e.prefixCls]),re=v||S.iconPrefixCls||sN,ve=n||S.csp;$V(re,ve);const _e=Lle(x,S.theme,{prefixCls:he("")}),ze={csp:ve,autoInsertSpaceInButton:r,alert:a,anchor:i,locale:s||y,direction:u,space:d,splitter:p,virtual:g,popupMatchSelectWidth:h??m,popupOverflow:b,getPrefixCls:he,iconPrefixCls:re,theme:_e,segmented:C,statistic:E,spin:I,calendar:T,carousel:_,cascader:R,collapse:$,typography:M,checkbox:P,descriptions:D,divider:O,drawer:k,skeleton:N,steps:A,image:L,input:W,textArea:q,layout:j,list:F,mentions:B,modal:z,progress:U,result:H,slider:K,breadcrumb:Y,menu:ee,pagination:ae,empty:Z,badge:Q,radio:J,rate:le,switch:ce,transfer:pe,avatar:te,message:ie,tag:fe,table:ge,card:ne,tabs:ue,timeline:me,timePicker:xe,upload:Ie,notification:ke,tree:$e,colorPicker:Le,datePicker:je,rangePicker:He,flex:Be,wave:Pe,dropdown:Se,warning:Ne,tour:Te,floatButtonGroup:Ce,variant:De,inputNumber:Ge,treeSelect:lt},Ue=Object.assign({},S);Object.keys(ze).forEach(We=>{ze[We]!==void 0&&(Ue[We]=ze[We])}),lce.forEach(We=>{const qe=e[We];qe&&(Ue[We]=qe)}),typeof r<"u"&&(Ue.button=Object.assign({autoInsertSpace:r},Ue.button));const Ae=Xl(()=>Ue,Ue,(We,qe)=>{const Qe=Object.keys(We),it=Object.keys(qe);return Qe.length!==it.length||Qe.some(wt=>We[wt]!==qe[wt])}),Oe=l.useMemo(()=>({prefixCls:re,csp:ve}),[re,ve]);let Re=l.createElement(l.Fragment,null,l.createElement(oce,{dropdownMatchSelectWidth:m}),t);const at=l.useMemo(()=>{var We,qe,Qe,it;return fd(((We=lo.Form)===null||We===void 0?void 0:We.defaultValidateMessages)||{},((Qe=(qe=Ae.locale)===null||qe===void 0?void 0:qe.Form)===null||Qe===void 0?void 0:Qe.defaultValidateMessages)||{},((it=Ae.form)===null||it===void 0?void 0:it.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[Ae,o==null?void 0:o.validateMessages]);Object.keys(at).length>0&&(Re=l.createElement(pV.Provider,{value:at},Re)),s&&(Re=l.createElement(Fse,{locale:s,_ANT_MARK__:jse},Re)),(re||ve)&&(Re=l.createElement(rN.Provider,{value:Oe},Re)),c&&(Re=l.createElement(ple,{size:c},Re)),Re=l.createElement(ice,null,Re);const Ye=l.useMemo(()=>{const We=_e||{},{algorithm:qe,token:Qe,components:it,cssVar:wt}=We,kt=sce(We,["algorithm","token","components","cssVar"]),xt=qe&&(!Array.isArray(qe)||qe.length>0)?Ug(qe):CV,nt={};Object.entries(it||{}).forEach(bt=>{let[Ot,ht]=bt;const ct=Object.assign({},ht);"algorithm"in ct&&(ct.algorithm===!0?ct.theme=xt:(Array.isArray(ct.algorithm)||typeof ct.algorithm=="function")&&(ct.theme=Ug(ct.algorithm)),delete ct.algorithm),nt[Ot]=ct});const rt=Object.assign(Object.assign({},Yd),Qe);return Object.assign(Object.assign({},kt),{theme:xt,token:rt,components:nt,override:Object.assign({override:rt},nt),cssVar:wt})},[_e]);return x&&(Re=l.createElement(oN.Provider,{value:Ye},Re)),Ae.warning&&(Re=l.createElement(Dse.Provider,{value:Ae.warning},Re)),w!==void 0&&(Re=l.createElement(lN,{disabled:w},Re)),l.createElement(st.Provider,{value:Ae},Re)},zo=e=>{const t=l.useContext(st),n=l.useContext(aN);return l.createElement(fce,Object.assign({parentContext:t,legacyLocale:n},e))};zo.ConfigContext=st;zo.SizeContext=Yc;zo.config=dce;zo.useConfig=gle;Object.defineProperty(zo,"SizeContext",{get:()=>Yc});var pce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function VV(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function gce(e){return VV(e)instanceof ShadowRoot}function r0(e){return gce(e)?VV(e):null}function mce(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function hce(e,t){$n(e,"[@ant-design/icons] ".concat(t))}function LM(e){return mt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(mt(e.icon)==="object"||typeof e.icon=="function")}function jM(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[mce(n)]=r}return t},{})}function u_(e,t,n){return n?de.createElement(e.tag,X(X({key:t},jM(e.attrs)),n),(e.children||[]).map(function(r,a){return u_(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):de.createElement(e.tag,X({key:t},jM(e.attrs)),(e.children||[]).map(function(r,a){return u_(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function WV(e){return Kc(e)[0]}function GV(e){return e?Array.isArray(e)?e:[e]:[]}var vce=` -.anticon { - display: inline-flex; - align-items: center; - color: inherit; - font-style: normal; - line-height: 0; - text-align: center; - text-transform: none; - vertical-align: -0.125em; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.anticon > * { - line-height: 1; -} - -.anticon svg { - display: inline-block; -} - -.anticon::before { - display: none; -} - -.anticon .anticon-icon { - display: block; -} - -.anticon[tabindex] { - cursor: pointer; -} - -.anticon-spin::before, -.anticon-spin { - display: inline-block; - -webkit-animation: loadingCircle 1s infinite linear; - animation: loadingCircle 1s infinite linear; -} - -@-webkit-keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -`,bce=function(t){var n=l.useContext(rN),r=n.csp,a=n.prefixCls,i=vce;a&&(i=i.replace(/anticon/g,a)),l.useEffect(function(){var o=t.current,s=r0(o);$s(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},yce=["icon","className","onClick","style","primaryColor","secondaryColor"],Jp={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function xce(e){var t=e.primaryColor,n=e.secondaryColor;Jp.primaryColor=t,Jp.secondaryColor=n||WV(t),Jp.calculated=!!n}function Sce(){return X({},Jp)}var Cf=function(t){var n=t.icon,r=t.className,a=t.onClick,i=t.style,o=t.primaryColor,s=t.secondaryColor,c=Ct(t,yce),u=l.useRef(),d=Jp;if(o&&(d={primaryColor:o,secondaryColor:s||WV(o)}),bce(u),hce(LM(n),"icon should be icon definiton, but got ".concat(n)),!LM(n))return null;var p=n;return p&&typeof p.icon=="function"&&(p=X(X({},p),{},{icon:p.icon(d.primaryColor,d.secondaryColor)})),u_(p.icon,"svg-".concat(p.name),X(X({className:r,onClick:a,style:i,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};Cf.displayName="IconReact";Cf.getTwoToneColors=Sce;Cf.setTwoToneColors=xce;function qV(e){var t=GV(e),n=se(t,2),r=n[0],a=n[1];return Cf.setTwoToneColors({primaryColor:r,secondaryColor:a})}function wce(){var e=Cf.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Cce=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];qV(Kd.primary);var Je=l.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,o=e.tabIndex,s=e.onClick,c=e.twoToneColor,u=Ct(e,Cce),d=l.useContext(rN),p=d.prefixCls,g=p===void 0?"anticon":p,m=d.rootClassName,h=oe(m,g,V(V({},"".concat(g,"-").concat(r.name),!!r.name),"".concat(g,"-spin"),!!a||r.name==="loading"),n),b=o;b===void 0&&s&&(b=-1);var y=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,S=GV(c),v=se(S,2),x=v[0],w=v[1];return l.createElement("span",be({role:"img","aria-label":r.name},u,{ref:t,tabIndex:b,onClick:s,className:h}),l.createElement(Cf,{icon:r,primaryColor:x,secondaryColor:w,style:y}))});Je.displayName="AntdIcon";Je.getTwoToneColor=wce;Je.setTwoToneColor=qV;var Ece=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:pce}))},Ef=l.forwardRef(Ece),Ice={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},Tce=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:Ice}))},Ql=l.forwardRef(Tce),Rce={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},_ce=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:Rce}))},va=l.forwardRef(_ce),$ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},Oce=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:$ce}))},$m=l.forwardRef(Oce),Nce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},kce=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:Nce}))},Iy=l.forwardRef(kce),Ace=`accept acceptCharset accessKey action allowFullScreen allowTransparency - alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge - charSet checked classID className colSpan cols content contentEditable contextMenu - controls coords crossOrigin data dateTime default defer dir disabled download draggable - encType form formAction formEncType formMethod formNoValidate formTarget frameBorder - headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity - is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media - mediaGroup method min minLength multiple muted name noValidate nonce open - optimum pattern placeholder poster preload radioGroup readOnly rel required - reversed role rowSpan rows sandbox scope scoped scrolling seamless selected - shape size sizes span spellCheck src srcDoc srcLang srcSet start step style - summary tabIndex target title type useMap value width wmode wrap`,Dce=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown - onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick - onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown - onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel - onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough - onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Mce="".concat(Ace," ").concat(Dce).split(/[\s\n]+/),Pce="aria-",Lce="data-";function FM(e,t){return e.indexOf(t)===0}function fr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=X({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||FM(a,Pce))||n.data&&FM(a,Lce)||n.attr&&Mce.includes(a))&&(r[a]=e[a])}),r}function KV(e){return e&&de.isValidElement(e)&&e.type===de.Fragment}const pN=(e,t,n)=>de.isValidElement(e)?de.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function kr(e,t){return pN(e,e,t)}const Zh=(e,t,n,r,a)=>({background:e,border:`${G(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),jce=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:i,fontSizeLG:o,lineHeight:s,borderRadiusLG:c,motionEaseInOutCirc:u,withDescriptionIconSize:d,colorText:p,colorTextHeading:g,withDescriptionPadding:m,defaultPadding:h}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{position:"relative",display:"flex",alignItems:"center",padding:h,wordWrap:"break-word",borderRadius:c,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:s},"&-message":{color:g},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, - padding-top ${n} ${u}, padding-bottom ${n} ${u}, - margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:m,[`${t}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:g,fontSize:o},[`${t}-description`]:{display:"block",color:p}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},Fce=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:i,colorWarningBorder:o,colorWarningBg:s,colorError:c,colorErrorBorder:u,colorErrorBg:d,colorInfo:p,colorInfoBorder:g,colorInfoBg:m}=e;return{[t]:{"&-success":Zh(a,r,n,e,t),"&-info":Zh(m,g,p,e,t),"&-warning":Zh(s,o,i,e,t),"&-error":Object.assign(Object.assign({},Zh(d,u,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},Bce=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:i,colorIcon:o,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:i,lineHeight:G(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:o,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${r}`,"&:hover":{color:s}}}}},zce=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),Hce=an("Alert",e=>[jce(e),Fce(e),Bce(e)],zce);var BM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{icon:t,prefixCls:n,type:r}=e,a=Uce[r]||null;return t?pN(t,l.createElement("span",{className:`${n}-icon`},t),()=>({className:oe(`${n}-icon`,{[t.props.className]:t.props.className})})):l.createElement(a,{className:`${n}-icon`})},Wce=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:i}=e,o=r===!0||r===void 0?l.createElement(va,null):r;return t?l.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},i),o):null},YV=l.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:a,banner:i,className:o,rootClassName:s,style:c,onMouseEnter:u,onMouseLeave:d,onClick:p,afterClose:g,showIcon:m,closable:h,closeText:b,closeIcon:y,action:S,id:v}=e,x=BM(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[w,C]=l.useState(!1),E=l.useRef(null);l.useImperativeHandle(t,()=>({nativeElement:E.current}));const{getPrefixCls:I,direction:T,alert:_}=l.useContext(st),R=I("alert",r),[$,M,P]=Hce(R),D=B=>{var z;C(!0),(z=e.onClose)===null||z===void 0||z.call(e,B)},O=l.useMemo(()=>e.type!==void 0?e.type:i?"warning":"info",[e.type,i]),k=l.useMemo(()=>typeof h=="object"&&h.closeIcon||b?!0:typeof h=="boolean"?h:y!==!1&&y!==null&&y!==void 0?!0:!!(_!=null&&_.closable),[b,y,h,_==null?void 0:_.closable]),N=i&&m===void 0?!0:m,A=oe(R,`${R}-${O}`,{[`${R}-with-description`]:!!n,[`${R}-no-icon`]:!N,[`${R}-banner`]:!!i,[`${R}-rtl`]:T==="rtl"},_==null?void 0:_.className,o,s,P,M),L=fr(x,{aria:!0,data:!0}),j=l.useMemo(()=>{var B,z;return typeof h=="object"&&h.closeIcon?h.closeIcon:b||(y!==void 0?y:typeof(_==null?void 0:_.closable)=="object"&&(!((B=_==null?void 0:_.closable)===null||B===void 0)&&B.closeIcon)?(z=_==null?void 0:_.closable)===null||z===void 0?void 0:z.closeIcon:_==null?void 0:_.closeIcon)},[y,h,b,_==null?void 0:_.closeIcon]),F=l.useMemo(()=>{const B=h??(_==null?void 0:_.closable);return typeof B=="object"?BM(B,["closeIcon"]):{}},[h,_==null?void 0:_.closable]);return $(l.createElement(na,{visible:!w,motionName:`${R}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:B=>({maxHeight:B.offsetHeight}),onLeaveEnd:g},(B,z)=>{let{className:U,style:H}=B;return l.createElement("div",Object.assign({id:v,ref:ba(E,z),"data-show":!w,className:oe(A,U),style:Object.assign(Object.assign(Object.assign({},_==null?void 0:_.style),c),H),onMouseEnter:u,onMouseLeave:d,onClick:p,role:"alert"},L),N?l.createElement(Vce,{description:n,icon:e.icon,prefixCls:R,type:O}):null,l.createElement("div",{className:`${R}-content`},a?l.createElement("div",{className:`${R}-message`},a):null,n?l.createElement("div",{className:`${R}-description`},n):null),S?l.createElement("div",{className:`${R}-action`},S):null,l.createElement(Wce,{isClosable:k,prefixCls:R,closeIcon:j,handleClose:D,ariaProps:F}))}))});function Gce(e,t,n){return t=qc(t),FU(e,yy()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}let qce=function(e){function t(){var n;return Jn(this,t),n=Gce(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return gi(t,e),er(t,[{key:"componentDidCatch",value:function(r,a){this.setState({error:r,info:a})}},{key:"render",value:function(){const{message:r,description:a,id:i,children:o}=this.props,{error:s,info:c}=this.state,u=(c==null?void 0:c.componentStack)||null,d=typeof r>"u"?(s||"").toString():r,p=typeof a>"u"?u:a;return s?l.createElement(YV,{id:i,type:"error",message:d,description:l.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},p)}):o}}])}(l.Component);const wn=YV;wn.ErrorBoundary=qce;const zM=e=>typeof e=="object"&&e!=null&&e.nodeType===1,HM=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",HS=(e,t)=>{if(e.clientHeight{const a=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!a&&(a.clientHeightit||i>e&&o=t&&s>=n?i-e-r:o>t&&sn?o-t+a:0,Kce=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},UM=(e,t)=>{var n,r,a,i;if(typeof document>"u")return[];const{scrollMode:o,block:s,inline:c,boundary:u,skipOverflowHiddenElements:d}=t,p=typeof u=="function"?u:k=>k!==u;if(!zM(e))throw new TypeError("Invalid target");const g=document.scrollingElement||document.documentElement,m=[];let h=e;for(;zM(h)&&p(h);){if(h=Kce(h),h===g){m.push(h);break}h!=null&&h===document.body&&HS(h)&&!HS(document.documentElement)||h!=null&&HS(h,d)&&m.push(h)}const b=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,y=(i=(a=window.visualViewport)==null?void 0:a.height)!=null?i:innerHeight,{scrollX:S,scrollY:v}=window,{height:x,width:w,top:C,right:E,bottom:I,left:T}=e.getBoundingClientRect(),{top:_,right:R,bottom:$,left:M}=(k=>{const N=window.getComputedStyle(k);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let P=s==="start"||s==="nearest"?C-_:s==="end"?I+$:C+x/2-_+$,D=c==="center"?T+w/2-M+R:c==="end"?E+R:T-M;const O=[];for(let k=0;k=0&&T>=0&&I<=y&&E<=b&&C>=j&&I<=B&&T>=z&&E<=F)return O;const U=getComputedStyle(N),H=parseInt(U.borderLeftWidth,10),K=parseInt(U.borderTopWidth,10),Y=parseInt(U.borderRightWidth,10),ee=parseInt(U.borderBottomWidth,10);let ae=0,W=0;const q="offsetWidth"in N?N.offsetWidth-N.clientWidth-H-Y:0,Z="offsetHeight"in N?N.offsetHeight-N.clientHeight-K-ee:0,Q="offsetWidth"in N?N.offsetWidth===0?0:L/N.offsetWidth:0,J="offsetHeight"in N?N.offsetHeight===0?0:A/N.offsetHeight:0;if(g===N)ae=s==="start"?P:s==="end"?P-y:s==="nearest"?Qh(v,v+y,y,K,ee,v+P,v+P+x,x):P-y/2,W=c==="start"?D:c==="center"?D-b/2:c==="end"?D-b:Qh(S,S+b,b,H,Y,S+D,S+D+w,w),ae=Math.max(0,ae+v),W=Math.max(0,W+S);else{ae=s==="start"?P-j-K:s==="end"?P-B+ee+Z:s==="nearest"?Qh(j,B,A,K,ee+Z,P,P+x,x):P-(j+A/2)+Z/2,W=c==="start"?D-z-H:c==="center"?D-(z+L/2)+q/2:c==="end"?D-F+Y+q:Qh(z,F,L,H,Y+q,D,D+w,w);const{scrollLeft:le,scrollTop:ce}=N;ae=J===0?0:Math.max(0,Math.min(ce+ae/J,N.scrollHeight-A/J+Z)),W=Q===0?0:Math.max(0,Math.min(le+W/Q,N.scrollWidth-L/Q+q)),P+=ce-ae,D+=le-W}O.push({el:N,top:ae,left:W})}return O},Yce=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Xce(e,t){if(!e.isConnected||!(a=>{let i=a;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const n=(a=>{const i=window.getComputedStyle(a);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(t))return t.behavior(UM(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:i,left:o}of UM(e,Yce(t))){const s=i-n.top+n.bottom,c=o-n.left+n.right;a.scroll({top:s,left:c,behavior:r})}}function d_(e){return e!=null&&e===e.window}const Zce=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return d_(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!d_(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function Qce(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function Jce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,i=n(),o=Zce(i),s=Date.now(),c=()=>{const d=Date.now()-s,p=Qce(d>a?a:d,o,e,a);d_(i)?i.scrollTo(window.pageXOffset,p):i instanceof Document||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=p:i.scrollTop=p,d{const[,,,,t]=ia();return t?`${e}-css-var`:""};var Fe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=Fe.F1&&n<=Fe.F12)return!1;switch(n){case Fe.ALT:case Fe.CAPS_LOCK:case Fe.CONTEXT_MENU:case Fe.CTRL:case Fe.DOWN:case Fe.END:case Fe.ESC:case Fe.HOME:case Fe.INSERT:case Fe.LEFT:case Fe.MAC_FF_META:case Fe.META:case Fe.NUMLOCK:case Fe.NUM_CENTER:case Fe.PAGE_DOWN:case Fe.PAGE_UP:case Fe.PAUSE:case Fe.PRINT_SCREEN:case Fe.RIGHT:case Fe.SHIFT:case Fe.UP:case Fe.WIN_KEY:case Fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Fe.ZERO&&t<=Fe.NINE||t>=Fe.NUM_ZERO&&t<=Fe.NUM_MULTIPLY||t>=Fe.A&&t<=Fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Fe.SPACE:case Fe.QUESTION_MARK:case Fe.NUM_PLUS:case Fe.NUM_MINUS:case Fe.NUM_PERIOD:case Fe.NUM_DIVISION:case Fe.SEMICOLON:case Fe.DASH:case Fe.EQUALS:case Fe.COMMA:case Fe.PERIOD:case Fe.SLASH:case Fe.APOSTROPHE:case Fe.SINGLE_QUOTE:case Fe.OPEN_SQUARE_BRACKET:case Fe.BACKSLASH:case Fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},XV=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,i=e.duration,o=i===void 0?4.5:i,s=e.showProgress,c=e.pauseOnHover,u=c===void 0?!0:c,d=e.eventKey,p=e.content,g=e.closable,m=e.closeIcon,h=m===void 0?"x":m,b=e.props,y=e.onClick,S=e.onNoticeClose,v=e.times,x=e.hovering,w=l.useState(!1),C=se(w,2),E=C[0],I=C[1],T=l.useState(0),_=se(T,2),R=_[0],$=_[1],M=l.useState(0),P=se(M,2),D=P[0],O=P[1],k=x||E,N=o>0&&s,A=function(){S(d)},L=function(H){(H.key==="Enter"||H.code==="Enter"||H.keyCode===Fe.ENTER)&&A()};l.useEffect(function(){if(!k&&o>0){var U=Date.now()-D,H=setTimeout(function(){A()},o*1e3-D);return function(){u&&clearTimeout(H),O(Date.now()-U)}}},[o,k,v]),l.useEffect(function(){if(!k&&N&&(u||D===0)){var U=performance.now(),H,K=function Y(){cancelAnimationFrame(H),H=requestAnimationFrame(function(ee){var ae=ee+D-U,W=Math.min(ae/(o*1e3),1);$(W*100),W<1&&Y()})};return K(),function(){u&&cancelAnimationFrame(H)}}},[o,D,k,N,v]);var j=l.useMemo(function(){return mt(g)==="object"&&g!==null?g:g?{closeIcon:h}:{}},[g,h]),F=fr(j,!0),B=100-(!R||R<0?0:R>100?100:R),z="".concat(n,"-notice");return l.createElement("div",be({},b,{ref:t,className:oe(z,a,V({},"".concat(z,"-closable"),g)),style:r,onMouseEnter:function(H){var K;I(!0),b==null||(K=b.onMouseEnter)===null||K===void 0||K.call(b,H)},onMouseLeave:function(H){var K;I(!1),b==null||(K=b.onMouseLeave)===null||K===void 0||K.call(b,H)},onClick:y}),l.createElement("div",{className:"".concat(z,"-content")},p),g&&l.createElement("a",be({tabIndex:0,className:"".concat(z,"-close"),onKeyDown:L,"aria-label":"Close"},F,{onClick:function(H){H.preventDefault(),H.stopPropagation(),A()}}),j.closeIcon),N&&l.createElement("progress",{className:"".concat(z,"-progress"),max:"100",value:B},B+"%"))}),ZV=de.createContext({}),eue=function(t){var n=t.children,r=t.classNames;return de.createElement(ZV.Provider,{value:{classNames:r}},n)},VM=8,WM=3,GM=16,tue=function(t){var n={offset:VM,threshold:WM,gap:GM};if(t&&mt(t)==="object"){var r,a,i;n.offset=(r=t.offset)!==null&&r!==void 0?r:VM,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:WM,n.gap=(i=t.gap)!==null&&i!==void 0?i:GM}return[!!t,n]},nue=["className","style","classNames","styles"],rue=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,i=t.className,o=t.style,s=t.motion,c=t.onAllNoticeRemoved,u=t.onNoticeClose,d=t.stack,p=l.useContext(ZV),g=p.classNames,m=l.useRef({}),h=l.useState(null),b=se(h,2),y=b[0],S=b[1],v=l.useState([]),x=se(v,2),w=x[0],C=x[1],E=n.map(function(k){return{config:k,key:String(k.key)}}),I=tue(d),T=se(I,2),_=T[0],R=T[1],$=R.offset,M=R.threshold,P=R.gap,D=_&&(w.length>0||E.length<=M),O=typeof s=="function"?s(r):s;return l.useEffect(function(){_&&w.length>1&&C(function(k){return k.filter(function(N){return E.some(function(A){var L=A.key;return N===L})})})},[w,E,_]),l.useEffect(function(){var k;if(_&&m.current[(k=E[E.length-1])===null||k===void 0?void 0:k.key]){var N;S(m.current[(N=E[E.length-1])===null||N===void 0?void 0:N.key])}},[E,_]),de.createElement(fN,be({key:r,className:oe(a,"".concat(a,"-").concat(r),g==null?void 0:g.list,i,V(V({},"".concat(a,"-stack"),!!_),"".concat(a,"-stack-expanded"),D)),style:o,keys:E,motionAppear:!0},O,{onAllRemoved:function(){c(r)}}),function(k,N){var A=k.config,L=k.className,j=k.style,F=k.index,B=A,z=B.key,U=B.times,H=String(z),K=A,Y=K.className,ee=K.style,ae=K.classNames,W=K.styles,q=Ct(K,nue),Z=E.findIndex(function(me){return me.key===H}),Q={};if(_){var J=E.length-1-(Z>-1?Z:F-1),le=r==="top"||r==="bottom"?"-50%":"0";if(J>0){var ce,pe,te;Q.height=D?(ce=m.current[H])===null||ce===void 0?void 0:ce.offsetHeight:y==null?void 0:y.offsetHeight;for(var ie=0,fe=0;fe-1?m.current[H]=xe:delete m.current[H]},prefixCls:a,classNames:ae,styles:W,className:oe(Y,g==null?void 0:g.notice),style:ee,times:U,key:z,eventKey:z,onNoticeClose:u,hovering:_&&w.length>0})))})},aue=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,a=e.container,i=e.motion,o=e.maxCount,s=e.className,c=e.style,u=e.onAllRemoved,d=e.stack,p=e.renderNotifications,g=l.useState([]),m=se(g,2),h=m[0],b=m[1],y=function(_){var R,$=h.find(function(M){return M.key===_});$==null||(R=$.onClose)===null||R===void 0||R.call($),b(function(M){return M.filter(function(P){return P.key!==_})})};l.useImperativeHandle(t,function(){return{open:function(_){b(function(R){var $=Me(R),M=$.findIndex(function(O){return O.key===_.key}),P=X({},_);if(M>=0){var D;P.times=(((D=R[M])===null||D===void 0?void 0:D.times)||0)+1,$[M]=P}else P.times=0,$.push(P);return o>0&&$.length>o&&($=$.slice(-o)),$})},close:function(_){y(_)},destroy:function(){b([])}}});var S=l.useState({}),v=se(S,2),x=v[0],w=v[1];l.useEffect(function(){var T={};h.forEach(function(_){var R=_.placement,$=R===void 0?"topRight":R;$&&(T[$]=T[$]||[],T[$].push(_))}),Object.keys(x).forEach(function(_){T[_]=T[_]||[]}),w(T)},[h]);var C=function(_){w(function(R){var $=X({},R),M=$[_]||[];return M.length||delete $[_],$})},E=l.useRef(!1);if(l.useEffect(function(){Object.keys(x).length>0?E.current=!0:E.current&&(u==null||u(),E.current=!1)},[x]),!a)return null;var I=Object.keys(x);return Zr.createPortal(l.createElement(l.Fragment,null,I.map(function(T){var _=x[T],R=l.createElement(rue,{key:T,configList:_,placement:T,prefixCls:r,className:s==null?void 0:s(T),style:c==null?void 0:c(T),motion:i,onNoticeClose:y,onAllNoticeRemoved:C,stack:d});return p?p(R,{prefixCls:r,key:T}):R})),a)}),iue=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],oue=function(){return document.body},qM=0;function sue(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?oue:t,r=e.motion,a=e.prefixCls,i=e.maxCount,o=e.className,s=e.style,c=e.onAllRemoved,u=e.stack,d=e.renderNotifications,p=Ct(e,iue),g=l.useState(),m=se(g,2),h=m[0],b=m[1],y=l.useRef(),S=l.createElement(aue,{container:h,ref:y,prefixCls:a,motion:r,maxCount:i,className:o,style:s,onAllRemoved:c,stack:u,renderNotifications:d}),v=l.useState([]),x=se(v,2),w=x[0],C=x[1],E=l.useMemo(function(){return{open:function(T){var _=sue(p,T);(_.key===null||_.key===void 0)&&(_.key="rc-notification-".concat(qM),qM+=1),C(function(R){return[].concat(Me(R),[{type:"open",config:_}])})},close:function(T){C(function(_){return[].concat(Me(_),[{type:"close",key:T}])})},destroy:function(){C(function(T){return[].concat(Me(T),[{type:"destroy"}])})}}},[]);return l.useEffect(function(){b(n())}),l.useEffect(function(){y.current&&w.length&&(w.forEach(function(I){switch(I.type){case"open":y.current.open(I.config);break;case"close":y.current.close(I.key);break;case"destroy":y.current.destroy();break}}),C(function(I){return I.filter(function(T){return!w.includes(T)})}))},[w]),[E,S]}var cue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},uue=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:cue}))},uo=l.forwardRef(uue);const Om=de.createContext(void 0),il=100,due=10,QV=il*due,JV={Modal:il,Drawer:il,Popover:il,Popconfirm:il,Tooltip:il,Tour:il,FloatButton:il},fue={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function pue(e){return e in JV}const Ho=(e,t)=>{const[,n]=ia(),r=de.useContext(Om),a=pue(e);let i;if(t!==void 0)i=[t,t];else{let o=r??0;a?o+=(r?0:n.zIndexPopupBase)+JV[e]:o+=fue[e],i=[r===void 0?t:o,o]}return i};function gue(){const[e,t]=l.useState([]),n=l.useCallback(r=>(t(a=>[].concat(Me(a),[r])),()=>{t(a=>a.filter(i=>i!==r))}),[]);return[e,n]}function ar(){ar=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(k,N,A){k[N]=A.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(k,N,A){return Object.defineProperty(k,N,{value:A,enumerable:!0,configurable:!0,writable:!0}),k[N]}try{u({},"")}catch{u=function(A,L,j){return A[L]=j}}function d(k,N,A,L){var j=N&&N.prototype instanceof S?N:S,F=Object.create(j.prototype),B=new D(L||[]);return a(F,"_invoke",{value:R(k,A,B)}),F}function p(k,N,A){try{return{type:"normal",arg:k.call(N,A)}}catch(L){return{type:"throw",arg:L}}}t.wrap=d;var g="suspendedStart",m="suspendedYield",h="executing",b="completed",y={};function S(){}function v(){}function x(){}var w={};u(w,o,function(){return this});var C=Object.getPrototypeOf,E=C&&C(C(O([])));E&&E!==n&&r.call(E,o)&&(w=E);var I=x.prototype=S.prototype=Object.create(w);function T(k){["next","throw","return"].forEach(function(N){u(k,N,function(A){return this._invoke(N,A)})})}function _(k,N){function A(j,F,B,z){var U=p(k[j],k,F);if(U.type!=="throw"){var H=U.arg,K=H.value;return K&&mt(K)=="object"&&r.call(K,"__await")?N.resolve(K.__await).then(function(Y){A("next",Y,B,z)},function(Y){A("throw",Y,B,z)}):N.resolve(K).then(function(Y){H.value=Y,B(H)},function(Y){return A("throw",Y,B,z)})}z(U.arg)}var L;a(this,"_invoke",{value:function(F,B){function z(){return new N(function(U,H){A(F,B,U,H)})}return L=L?L.then(z,z):z()}})}function R(k,N,A){var L=g;return function(j,F){if(L===h)throw Error("Generator is already running");if(L===b){if(j==="throw")throw F;return{value:e,done:!0}}for(A.method=j,A.arg=F;;){var B=A.delegate;if(B){var z=$(B,A);if(z){if(z===y)continue;return z}}if(A.method==="next")A.sent=A._sent=A.arg;else if(A.method==="throw"){if(L===g)throw L=b,A.arg;A.dispatchException(A.arg)}else A.method==="return"&&A.abrupt("return",A.arg);L=h;var U=p(k,N,A);if(U.type==="normal"){if(L=A.done?b:m,U.arg===y)continue;return{value:U.arg,done:A.done}}U.type==="throw"&&(L=b,A.method="throw",A.arg=U.arg)}}}function $(k,N){var A=N.method,L=k.iterator[A];if(L===e)return N.delegate=null,A==="throw"&&k.iterator.return&&(N.method="return",N.arg=e,$(k,N),N.method==="throw")||A!=="return"&&(N.method="throw",N.arg=new TypeError("The iterator does not provide a '"+A+"' method")),y;var j=p(L,k.iterator,N.arg);if(j.type==="throw")return N.method="throw",N.arg=j.arg,N.delegate=null,y;var F=j.arg;return F?F.done?(N[k.resultName]=F.value,N.next=k.nextLoc,N.method!=="return"&&(N.method="next",N.arg=e),N.delegate=null,y):F:(N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,y)}function M(k){var N={tryLoc:k[0]};1 in k&&(N.catchLoc=k[1]),2 in k&&(N.finallyLoc=k[2],N.afterLoc=k[3]),this.tryEntries.push(N)}function P(k){var N=k.completion||{};N.type="normal",delete N.arg,k.completion=N}function D(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(M,this),this.reset(!0)}function O(k){if(k||k===""){var N=k[o];if(N)return N.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var A=-1,L=function j(){for(;++A=0;--j){var F=this.tryEntries[j],B=F.completion;if(F.tryLoc==="root")return L("end");if(F.tryLoc<=this.prev){var z=r.call(F,"catchLoc"),U=r.call(F,"finallyLoc");if(z&&U){if(this.prev=0;--L){var j=this.tryEntries[L];if(j.tryLoc<=this.prev&&r.call(j,"finallyLoc")&&this.prev=0;--A){var L=this.tryEntries[A];if(L.finallyLoc===N)return this.complete(L.completion,L.afterLoc),P(L),y}},catch:function(N){for(var A=this.tryEntries.length-1;A>=0;--A){var L=this.tryEntries[A];if(L.tryLoc===N){var j=L.completion;if(j.type==="throw"){var F=j.arg;P(L)}return F}}throw Error("illegal catch attempt")},delegateYield:function(N,A,L){return this.delegate={iterator:O(N),resultName:A,nextLoc:L},this.method==="next"&&(this.arg=e),y}},t}function KM(e,t,n,r,a,i,o){try{var s=e[i](o),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,a)}function Ri(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(c){KM(i,r,a,o,s,"next",c)}function s(c){KM(i,r,a,o,s,"throw",c)}o(void 0)})}}var Nm=X({},Dre),mue=Nm.version,hue=Nm.render,vue=Nm.unmountComponentAtNode,Ty;try{var bue=Number((mue||"").split(".")[0]);bue>=18&&(Ty=Nm.createRoot)}catch{}function YM(e){var t=Nm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&mt(t)==="object"&&(t.usingClientEntryPoint=e)}var a0="__rc_react_root__";function yue(e,t){YM(!0);var n=t[a0]||Ty(t);YM(!1),n.render(e),t[a0]=n}function xue(e,t){hue(e,t)}function gN(e,t){if(Ty){yue(e,t);return}xue(e,t)}function Sue(e){return f_.apply(this,arguments)}function f_(){return f_=Ri(ar().mark(function e(t){return ar().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[a0])===null||a===void 0||a.unmount(),delete t[a0]}));case 1:case"end":return r.stop()}},e)})),f_.apply(this,arguments)}function wue(e){vue(e)}function eW(e){return p_.apply(this,arguments)}function p_(){return p_=Ri(ar().mark(function e(t){return ar().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Ty===void 0){r.next=2;break}return r.abrupt("return",Sue(t));case 2:wue(t);case 3:case"end":return r.stop()}},e)})),p_.apply(this,arguments)}const US=()=>({height:0,opacity:0}),XM=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},Cue=e=>({height:e?e.offsetHeight:0}),VS=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Xd=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:qg}-motion-collapse`,onAppearStart:US,onEnterStart:US,onAppearActive:XM,onEnterActive:XM,onLeaveStart:Cue,onLeaveActive:US,onAppearEnd:VS,onEnterEnd:VS,onLeaveEnd:VS,motionDeadline:500}},za=(e,t,n)=>n!==void 0?n:`${e}-${t}`,If=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),i=a.width,o=a.height;if(i||o)return!0}}return!1},Eue=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Iue=Ale("Wave",e=>[Eue(e)]),Ry=`${qg}-wave-target`;function WS(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Tue(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return WS(t)?t:WS(n)?n:WS(r)?r:null}function GS(e){return Number.isNaN(e)?0:e}const Rue=e=>{const{className:t,target:n,component:r}=e,a=l.useRef(null),[i,o]=l.useState(null),[s,c]=l.useState([]),[u,d]=l.useState(0),[p,g]=l.useState(0),[m,h]=l.useState(0),[b,y]=l.useState(0),[S,v]=l.useState(!1),x={left:u,top:p,width:m,height:b,borderRadius:s.map(E=>`${E}px`).join(" ")};i&&(x["--wave-color"]=i);function w(){const E=getComputedStyle(n);o(Tue(n));const I=E.position==="static",{borderLeftWidth:T,borderTopWidth:_}=E;d(I?n.offsetLeft:GS(-parseFloat(T))),g(I?n.offsetTop:GS(-parseFloat(_))),h(n.offsetWidth),y(n.offsetHeight);const{borderTopLeftRadius:R,borderTopRightRadius:$,borderBottomLeftRadius:M,borderBottomRightRadius:P}=E;c([R,$,P,M].map(D=>GS(parseFloat(D))))}if(l.useEffect(()=>{if(n){const E=Gt(()=>{w(),v(!0)});let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver(w),I.observe(n)),()=>{Gt.cancel(E),I==null||I.disconnect()}}},[]),!S)return null;const C=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Ry));return l.createElement(na,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,I)=>{var T;if(I.deadline||I.propertyName==="opacity"){const _=(T=a.current)===null||T===void 0?void 0:T.parentElement;eW(_).then(()=>{_==null||_.remove()})}return!1}},(E,I)=>{let{className:T}=E;return l.createElement("div",{ref:ba(a,I),className:oe(t,T,{"wave-quick":C}),style:x})})},_ue=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const a=document.createElement("div");a.style.position="absolute",a.style.left="0px",a.style.top="0px",e==null||e.insertBefore(a,e==null?void 0:e.firstChild),gN(l.createElement(Rue,Object.assign({},t,{target:e})),a)},$ue=(e,t,n)=>{const{wave:r}=l.useContext(st),[,a,i]=ia(),o=Yt(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const p=d.querySelector(`.${Ry}`)||d,{showEffect:g}=r||{};(g||_ue)(p,{className:t,token:a,component:n,event:u,hashId:i})}),s=l.useRef();return u=>{Gt.cancel(s.current),s.current=Gt(()=>{o(u)})}},km=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=l.useContext(st),i=l.useRef(null),o=a("wave"),[,s]=Iue(o),c=$ue(i,oe(o,s),r);if(de.useEffect(()=>{const d=i.current;if(!d||d.nodeType!==1||n)return;const p=g=>{!If(g.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||c(g)};return d.addEventListener("click",p,!0),()=>{d.removeEventListener("click",p,!0)}},[n]),!de.isValidElement(t))return t??null;const u=Po(t)?ba(t.ref,i):i;return kr(t,{ref:u})},zr=e=>{const t=de.useContext(Yc);return de.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},Oue=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Nue=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},kue=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},tW=an("Space",e=>{const t=zt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Nue(t),kue(t),Oue(t)]},()=>({}),{resetStyle:!1});var nW=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(_y),r=l.useMemo(()=>{if(!n)return"";const{compactDirection:a,isFirstItem:i,isLastItem:o}=n,s=a==="vertical"?"-vertical-":"-";return oe(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:o,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},Aue=e=>{let{children:t}=e;return l.createElement(_y.Provider,{value:null},t)},Due=e=>{var{children:t}=e,n=nW(e,["children"]);return l.createElement(_y.Provider,{value:n},t)},Mue=e=>{const{getPrefixCls:t,direction:n}=l.useContext(st),{size:r,direction:a,block:i,prefixCls:o,className:s,rootClassName:c,children:u}=e,d=nW(e,["size","direction","block","prefixCls","className","rootClassName","children"]),p=zr(x=>r??x),g=t("space-compact",o),[m,h]=tW(g),b=oe(g,h,{[`${g}-rtl`]:n==="rtl",[`${g}-block`]:i,[`${g}-vertical`]:a==="vertical"},s,c),y=l.useContext(_y),S=Nr(u),v=l.useMemo(()=>S.map((x,w)=>{const C=(x==null?void 0:x.key)||`${g}-item-${w}`;return l.createElement(Due,{key:C,compactSize:p,compactDirection:a,isFirstItem:w===0&&(!y||(y==null?void 0:y.isFirstItem)),isLastItem:w===S.length-1&&(!y||(y==null?void 0:y.isLastItem))},x)}),[r,S,y]);return S.length===0?null:m(l.createElement("div",Object.assign({className:b},d),v))};var Pue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n}=l.useContext(st),{prefixCls:r,size:a,className:i}=e,o=Pue(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,c]=ia();let u="";switch(a){case"large":u="lg";break;case"small":u="sm";break}const d=oe(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},i,c);return l.createElement(rW.Provider,{value:a},l.createElement("div",Object.assign({},o,{className:d})))},ZM=/^[\u4E00-\u9FA5]{2}$/,g_=ZM.test.bind(ZM);function aW(e){return e==="danger"?{danger:!0}:{type:e}}function QM(e){return typeof e=="string"}function qS(e){return e==="text"||e==="link"}function jue(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&QM(e.type)&&g_(e.props.children)?kr(e,{children:e.props.children.split("").join(n)}):QM(e)?g_(e)?de.createElement("span",null,e.split("").join(n)):de.createElement("span",null,e):KV(e)?de.createElement("span",null,e):e}function Fue(e,t){let n=!1;const r=[];return de.Children.forEach(e,a=>{const i=typeof a,o=i==="string"||i==="number";if(n&&o){const s=r.length-1,c=r[s];r[s]=`${c}${a}`}else r.push(a);n=o}),de.Children.map(r,a=>jue(a,t))}const iW=l.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:i}=e,o=oe(`${i}-icon`,n);return de.createElement("span",{ref:t,className:o,style:r},a)}),JM=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:i}=e,o=oe(`${n}-loading-icon`,r);return de.createElement(iW,{prefixCls:n,className:o,style:a,ref:t},de.createElement(uo,{className:i}))}),KS=()=>({width:0,opacity:0,transform:"scale(0)"}),YS=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Bue=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:i}=e,o=!!n;return r?de.createElement(JM,{prefixCls:t,className:a,style:i}):de.createElement(na,{visible:o,motionName:`${t}-loading-icon-motion`,motionLeave:o,removeOnLeave:!0,onAppearStart:KS,onAppearActive:YS,onEnterStart:KS,onEnterActive:YS,onLeaveStart:YS,onLeaveActive:KS},(s,c)=>{let{className:u,style:d}=s;return de.createElement(JM,{prefixCls:t,className:a,style:Object.assign(Object.assign({},i),d),ref:c,iconClassName:u})})},e4=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),zue=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:a,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},e4(`${t}-primary`,a),e4(`${t}-danger`,i)]}},oa=Math.round;function XS(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(a=>parseFloat(a));for(let a=0;a<3;a+=1)r[a]=t(r[a]||0,n[a]||"",a);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const t4=(e,t,n)=>n===0?e:e/100;function lp(e,t){const n=t||255;return e>n?n:e<0?0:e}class $y{constructor(t){V(this,"isValid",!0),V(this,"r",0),V(this,"g",0),V(this,"b",0),V(this,"a",1),V(this,"_h",void 0),V(this,"_s",void 0),V(this,"_l",void 0),V(this,"_v",void 0),V(this,"_max",void 0),V(this,"_min",void 0),V(this,"_brightness",void 0);function n(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let i=function(o){return a.startsWith(o)};var r=i;const a=t.trim();/^#?[A-F\d]{3,8}$/i.test(a)?this.fromHexString(a):i("rgb")?this.fromRgbString(a):i("hsl")?this.fromHslString(a):(i("hsv")||i("hsb"))&&this.fromHsvString(a)}else if(t instanceof $y)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=lp(t.r),this.g=lp(t.g),this.b=lp(t.b),this.a=typeof t.a=="number"?lp(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(i){const o=i/255;return o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),a=t(this.b);return .2126*n+.7152*r+.0722*a}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=oa(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let a=this.getLightness()-t/100;return a<0&&(a=0),this._c({h:n,s:r,l:a,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let a=this.getLightness()+t/100;return a>1&&(a=1),this._c({h:n,s:r,l:a,a:this.a})}mix(t,n=50){const r=this._c(t),a=n/100,i=s=>(r[s]-this[s])*a+this[s],o={r:oa(i("r")),g:oa(i("g")),b:oa(i("b")),a:oa(i("a")*100)/100};return this._c(o)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),a=i=>oa((this[i]*this.a+n[i]*n.a*(1-this.a))/r);return this._c({r:a("r"),g:a("g"),b:a("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const a=(this.b||0).toString(16);if(t+=a.length===2?a:"0"+a,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=oa(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=oa(this.getSaturation()*100),r=oa(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const a=this.clone();return a[t]=lp(n,r),a}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(a,i){return parseInt(n[a]+n[i||a],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof a=="number"?a:1,n<=0){const g=oa(r*255);this.r=g,this.g=g,this.b=g}let i=0,o=0,s=0;const c=t/60,u=(1-Math.abs(2*r-1))*n,d=u*(1-Math.abs(c%2-1));c>=0&&c<1?(i=u,o=d):c>=1&&c<2?(i=d,o=u):c>=2&&c<3?(o=u,s=d):c>=3&&c<4?(o=d,s=u):c>=4&&c<5?(i=d,s=u):c>=5&&c<6&&(i=u,s=d);const p=r-u/2;this.r=oa((i+p)*255),this.g=oa((o+p)*255),this.b=oa((s+p)*255)}fromHsv({h:t,s:n,v:r,a}){this._h=t%360,this._s=n,this._v=r,this.a=typeof a=="number"?a:1;const i=oa(r*255);if(this.r=i,this.g=i,this.b=i,n<=0)return;const o=t/60,s=Math.floor(o),c=o-s,u=oa(r*(1-n)*255),d=oa(r*(1-n*c)*255),p=oa(r*(1-n*(1-c))*255);switch(s){case 0:this.g=p,this.b=u;break;case 1:this.r=d,this.b=u;break;case 2:this.r=u,this.b=p;break;case 3:this.r=u,this.g=d;break;case 4:this.r=p,this.g=u;break;case 5:default:this.g=u,this.b=d;break}}fromHsvString(t){const n=XS(t,t4);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=XS(t,t4);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=XS(t,(r,a)=>a.includes("%")?oa(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}var Hue=["b"],Uue=["v"],ZS=function(t){return Math.round(Number(t||0))},Vue=function(t){if(t instanceof $y)return t;if(t&&mt(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,a=Ct(n,Hue);return X(X({},a),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},Yg=function(e){gi(n,e);var t=Fi(n);function n(r){return Jn(this,n),t.call(this,Vue(r))}return er(n,[{key:"toHsbString",value:function(){var a=this.toHsb(),i=ZS(a.s*100),o=ZS(a.b*100),s=ZS(a.h),c=a.a,u="hsb(".concat(s,", ").concat(i,"%, ").concat(o,"%)"),d="hsba(".concat(s,", ").concat(i,"%, ").concat(o,"%, ").concat(c.toFixed(c===0?0:2),")");return c===1?u:d}},{key:"toHsb",value:function(){var a=this.toHsv(),i=a.v,o=Ct(a,Uue);return X(X({},o),{},{b:i,a:this.a})}}]),n}($y),Wue=function(t){return t instanceof Yg?t:new Yg(t)};Wue("#1677ff");const Gue=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",que=(e,t)=>e?Gue(e,t):"";let Kue=function(){function e(t){Jn(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(a=>({color:new e(a.color),percent:a.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(a=>{let{color:i,percent:o}=a;return{color:new e(i),percent:o}}),this.metaColor=new Yg(this.colors[0].color.metaColor)):this.metaColor=new Yg(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return er(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return que(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(a=>`${a.color.toRgbString()} ${a.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,a)=>{const i=n.colors[a];return r.percent===i.percent&&r.color.equals(i.color)}):this.toHexString()===n.toHexString()}}])}();var Yue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Xue=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:Yue}))},pi=l.forwardRef(Xue),oW=de.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,a=e.className,i=e.style,o=e.children,s=e.isActive,c=e.role,u=e.classNames,d=e.styles,p=de.useState(s||r),g=se(p,2),m=g[0],h=g[1];return de.useEffect(function(){(r||s)&&h(!0)},[r,s]),m?de.createElement("div",{ref:t,className:oe("".concat(n,"-content"),V(V({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:i,role:c},de.createElement("div",{className:oe("".concat(n,"-content-box"),u==null?void 0:u.body),style:d==null?void 0:d.body},o)):null});oW.displayName="PanelContent";var Zue=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],sW=de.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,a=e.headerClass,i=e.isActive,o=e.onItemClick,s=e.forceRender,c=e.className,u=e.classNames,d=u===void 0?{}:u,p=e.styles,g=p===void 0?{}:p,m=e.prefixCls,h=e.collapsible,b=e.accordion,y=e.panelKey,S=e.extra,v=e.header,x=e.expandIcon,w=e.openMotion,C=e.destroyInactivePanel,E=e.children,I=Ct(e,Zue),T=h==="disabled",_=h==="header",R=h==="icon",$=S!=null&&typeof S!="boolean",M=function(){o==null||o(y)},P=function(L){(L.key==="Enter"||L.keyCode===Fe.ENTER||L.which===Fe.ENTER)&&M()},D=typeof x=="function"?x(e):de.createElement("i",{className:"arrow"});D&&(D=de.createElement("div",{className:"".concat(m,"-expand-icon"),onClick:["header","icon"].includes(h)?M:void 0},D));var O=oe(V(V(V({},"".concat(m,"-item"),!0),"".concat(m,"-item-active"),i),"".concat(m,"-item-disabled"),T),c),k=oe(a,V(V(V({},"".concat(m,"-header"),!0),"".concat(m,"-header-collapsible-only"),_),"".concat(m,"-icon-collapsible-only"),R),d.header),N={className:k,"aria-expanded":i,"aria-disabled":T,onKeyDown:P,style:g.header};return!_&&!R&&(N.onClick=M,N.role=b?"tab":"button",N.tabIndex=T?-1:0),de.createElement("div",be({},I,{ref:t,className:O}),de.createElement("div",N,r&&D,de.createElement("span",{className:"".concat(m,"-header-text"),onClick:h==="header"?M:void 0},v),$&&de.createElement("div",{className:"".concat(m,"-extra")},S)),de.createElement(na,be({visible:i,leavedClassName:"".concat(m,"-content-hidden")},w,{forceRender:s,removeOnLeave:C}),function(A,L){var j=A.className,F=A.style;return de.createElement(oW,{ref:L,prefixCls:m,className:j,classNames:d,style:F,styles:g,isActive:i,forceRender:s,role:b?"tabpanel":void 0},E)}))}),Que=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Jue=function(t,n){var r=n.prefixCls,a=n.accordion,i=n.collapsible,o=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon;return t.map(function(p,g){var m=p.children,h=p.label,b=p.key,y=p.collapsible,S=p.onItemClick,v=p.destroyInactivePanel,x=Ct(p,Que),w=String(b??g),C=y??i,E=v??o,I=function(R){C!=="disabled"&&(s(R),S==null||S(R))},T=!1;return a?T=c[0]===w:T=c.indexOf(w)>-1,de.createElement(sW,be({},x,{prefixCls:r,key:w,panelKey:w,isActive:T,accordion:a,openMotion:u,expandIcon:d,header:h,collapsible:C,onItemClick:I,destroyInactivePanel:E}),m)})},ede=function(t,n,r){if(!t)return null;var a=r.prefixCls,i=r.accordion,o=r.collapsible,s=r.destroyInactivePanel,c=r.onItemClick,u=r.activeKey,d=r.openMotion,p=r.expandIcon,g=t.key||String(n),m=t.props,h=m.header,b=m.headerClass,y=m.destroyInactivePanel,S=m.collapsible,v=m.onItemClick,x=!1;i?x=u[0]===g:x=u.indexOf(g)>-1;var w=S??o,C=function(T){w!=="disabled"&&(c(T),v==null||v(T))},E={key:g,panelKey:g,header:h,headerClass:b,isActive:x,prefixCls:a,destroyInactivePanel:y??s,openMotion:d,accordion:i,children:t.props.children,onItemClick:C,expandIcon:p,collapsible:w};return typeof t.type=="string"?t:(Object.keys(E).forEach(function(I){typeof E[I]>"u"&&delete E[I]}),de.cloneElement(t,E))};function tde(e,t,n){return Array.isArray(e)?Jue(e,n):Nr(t).map(function(r,a){return ede(r,a,n)})}function nde(e){var t=e;if(!Array.isArray(t)){var n=mt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var rde=de.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,a=e.destroyInactivePanel,i=a===void 0?!1:a,o=e.style,s=e.accordion,c=e.className,u=e.children,d=e.collapsible,p=e.openMotion,g=e.expandIcon,m=e.activeKey,h=e.defaultActiveKey,b=e.onChange,y=e.items,S=oe(r,c),v=pn([],{value:m,onChange:function(_){return b==null?void 0:b(_)},defaultValue:h,postState:nde}),x=se(v,2),w=x[0],C=x[1],E=function(_){return C(function(){if(s)return w[0]===_?[]:[_];var R=w.indexOf(_),$=R>-1;return $?w.filter(function(M){return M!==_}):[].concat(Me(w),[_])})};$n(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var I=tde(y,u,{prefixCls:r,accordion:s,openMotion:p,expandIcon:g,collapsible:d,destroyInactivePanel:i,onItemClick:E,activeKey:w});return de.createElement("div",be({ref:t,className:S,style:o,role:s?"tablist":void 0},fr(e,{aria:!0,data:!0})),I)});const mN=Object.assign(rde,{Panel:sW});mN.Panel;const ade=l.forwardRef((e,t)=>{const{getPrefixCls:n}=l.useContext(st),{prefixCls:r,className:a,showArrow:i=!0}=e,o=n("collapse",r),s=oe({[`${o}-no-arrow`]:!i},a);return l.createElement(mN.Panel,Object.assign({ref:t},e,{prefixCls:o,className:s}))}),Am=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),ide=e=>({animationDuration:e,animationFillMode:"both"}),ode=e=>({animationDuration:e,animationFillMode:"both"}),Oy=function(e,t,n,r){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` - ${i}${e}-enter, - ${i}${e}-appear - `]:Object.assign(Object.assign({},ide(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},ode(r)),{animationPlayState:"paused"}),[` - ${i}${e}-enter${e}-enter-active, - ${i}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},sde=new nn("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),lde=new nn("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),hN=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,a=t?"&":"";return[Oy(r,sde,lde,e.motionDurationMid,t),{[` - ${a}${r}-enter, - ${a}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]},cde=new nn("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ude=new nn("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),dde=new nn("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),fde=new nn("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),pde=new nn("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),gde=new nn("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),mde=new nn("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),hde=new nn("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),vde={"move-up":{inKeyframes:mde,outKeyframes:hde},"move-down":{inKeyframes:cde,outKeyframes:ude},"move-left":{inKeyframes:dde,outKeyframes:fde},"move-right":{inKeyframes:pde,outKeyframes:gde}},Zd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=vde[t];return[Oy(r,a,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Ny=new nn("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ky=new nn("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ay=new nn("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Dy=new nn("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),bde=new nn("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),yde=new nn("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),xde=new nn("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Sde=new nn("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),wde={"slide-up":{inKeyframes:Ny,outKeyframes:ky},"slide-down":{inKeyframes:Ay,outKeyframes:Dy},"slide-left":{inKeyframes:bde,outKeyframes:yde},"slide-right":{inKeyframes:xde,outKeyframes:Sde}},ss=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=wde[t];return[Oy(r,a,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},vN=new nn("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Cde=new nn("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),n4=new nn("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),r4=new nn("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Ede=new nn("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Ide=new nn("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Tde=new nn("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Rde=new nn("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),_de=new nn("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),$de=new nn("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Ode=new nn("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Nde=new nn("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),kde={zoom:{inKeyframes:vN,outKeyframes:Cde},"zoom-big":{inKeyframes:n4,outKeyframes:r4},"zoom-big-fast":{inKeyframes:n4,outKeyframes:r4},"zoom-left":{inKeyframes:Tde,outKeyframes:Rde},"zoom-right":{inKeyframes:_de,outKeyframes:$de},"zoom-up":{inKeyframes:Ede,outKeyframes:Ide},"zoom-down":{inKeyframes:Ode,outKeyframes:Nde}},Tf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=kde[t];return[Oy(r,a,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Ade=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:p,colorText:g,colorTextHeading:m,colorTextDisabled:h,fontSizeLG:b,lineHeight:y,lineHeightLG:S,marginSM:v,paddingSM:x,paddingLG:w,paddingXS:C,motionDurationSlow:E,fontSizeIcon:I,contentPadding:T,fontHeight:_,fontHeightLG:R}=e,$=`${G(u)} ${d} ${p}`;return{[t]:Object.assign(Object.assign({},ln(e)),{backgroundColor:a,border:$,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:$,"&:last-child":{[` - &, - & > ${t}-header`]:{borderRadius:`0 0 ${G(c)} ${G(c)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:m,lineHeight:y,cursor:"pointer",transition:`all ${E}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:_,display:"flex",alignItems:"center",paddingInlineEnd:v},[`${t}-arrow`]:Object.assign(Object.assign({},wf()),{fontSize:I,transition:`transform ${E}`,svg:{transition:`transform ${E}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:g,backgroundColor:n,borderTop:$,[`& > ${t}-content-box`]:{padding:T},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(x).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},"&-large":{[`> ${t}-item`]:{fontSize:b,lineHeight:S,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:R,marginInlineStart:e.calc(w).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${G(c)} ${G(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}},Dde=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Mde=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` - > ${t}-item:last-child, - > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},Pde=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},Lde=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),jde=an("Collapse",e=>{const t=zt(e,{collapseHeaderPaddingSM:`${G(e.paddingXS)} ${G(e.paddingSM)}`,collapseHeaderPaddingLG:`${G(e.padding)} ${G(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[Ade(t),Mde(t),Pde(t),Dde(t),Am(t)]},Lde),Fde=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:a}=l.useContext(st),{prefixCls:i,className:o,rootClassName:s,style:c,bordered:u=!0,ghost:d,size:p,expandIconPosition:g="start",children:m,expandIcon:h}=e,b=zr($=>{var M;return(M=p??$)!==null&&M!==void 0?M:"middle"}),y=n("collapse",i),S=n(),[v,x,w]=jde(y),C=l.useMemo(()=>g==="left"?"start":g==="right"?"end":g,[g]),E=h??(a==null?void 0:a.expandIcon),I=l.useCallback(function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const M=typeof E=="function"?E($):l.createElement(pi,{rotate:$.isActive?90:void 0,"aria-label":$.isActive?"expanded":"collapsed"});return kr(M,()=>{var P;return{className:oe((P=M==null?void 0:M.props)===null||P===void 0?void 0:P.className,`${y}-arrow`)}})},[E,y]),T=oe(`${y}-icon-position-${C}`,{[`${y}-borderless`]:!u,[`${y}-rtl`]:r==="rtl",[`${y}-ghost`]:!!d,[`${y}-${b}`]:b!=="middle"},a==null?void 0:a.className,o,s,x,w),_=Object.assign(Object.assign({},Xd(S)),{motionAppear:!1,leavedClassName:`${y}-content-hidden`}),R=l.useMemo(()=>m?Nr(m).map(($,M)=>{var P,D;if(!((P=$.props)===null||P===void 0)&&P.disabled){const O=(D=$.key)!==null&&D!==void 0?D:String(M),{disabled:k,collapsible:N}=$.props,A=Object.assign(Object.assign({},Dn($.props,["disabled"])),{key:O,collapsible:N??(k?"disabled":void 0)});return kr($,A)}return $}):null,[m]);return v(l.createElement(mN,Object.assign({ref:t,openMotion:_},Dn(e,["rootClassName"]),{expandIcon:I,prefixCls:y,className:T,style:Object.assign(Object.assign({},a==null?void 0:a.style),c)}),R))}),Ls=Object.assign(Fde,{Panel:ade}),Bde=(e,t)=>{const{r:n,g:r,b:a,a:i}=e.toRgb(),o=new Yg(e.toRgbString()).onBackground(t).toHsv();return i<=.5?o.v>.5:n*.299+r*.587+a*.114>192},lW=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return zt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},cW=e=>{var t,n,r,a,i,o;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,c=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(a=e.contentLineHeight)!==null&&a!==void 0?a:tb(s),p=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:tb(c),g=(o=e.contentLineHeightLG)!==null&&o!==void 0?o:tb(u),m=Bde(new Kue(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:m,contentFontSize:s,contentFontSizeSM:c,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:p,contentLineHeightLG:g,paddingBlock:Math.max((e.controlHeight-s*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*p)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*g)/2-e.lineWidth,0)}},zde=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${G(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},co(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},uW=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Hde=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ude=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Vde=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),bN=(e,t,n,r,a,i,o,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},uW(e,Object.assign({background:t},o),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:i||void 0}})}),Wde=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},Vde(e))}),Gde=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),My=(e,t,n,r)=>{const i=r&&["link","text"].includes(r)?Gde:Wde;return Object.assign(Object.assign({},i(e)),uW(e.componentCls,t,n))},yN=(e,t,n,r,a)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},My(e,r,a))}),xN=(e,t,n,r,a)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},My(e,r,a))}),SN=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),wN=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},My(e,n,r))}),Qd=(e,t,n,r,a)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},My(e,r,a,n))}),qde=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},yN(e,e.solidTextColor,e.colorBgSolid,{background:e.colorBgSolidHover},{background:e.colorBgSolidActive})),SN(e)),wN(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),Qd(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),bN(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),Kde=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},xN(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),SN(e)),wN(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),Qd(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),bN(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Yde=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},yN(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),xN(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),SN(e)),wN(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),Qd(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),Qd(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),bN(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Xde=e=>{const{componentCls:t}=e;return{[`${t}-color-default`]:qde(e),[`${t}-color-primary`]:Kde(e),[`${t}-color-dangerous`]:Yde(e)}},Zde=e=>Object.assign(Object.assign(Object.assign(Object.assign({},xN(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Qd(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),yN(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),Qd(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),CN=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:a,lineHeight:i,borderRadius:o,buttonPaddingHorizontal:s,iconCls:c,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[t]:{fontSize:a,lineHeight:i,height:r,padding:`${G(u)} ${G(s)}`,borderRadius:o,[`&${d}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:Hde(e)},{[`${n}${n}-round${t}`]:Ude(e)}]},Qde=e=>{const t=zt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return CN(t,e.componentCls)},Jde=e=>{const t=zt(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return CN(t,`${e.componentCls}-sm`)},efe=e=>{const t=zt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return CN(t,`${e.componentCls}-lg`)},tfe=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},nfe=an("Button",e=>{const t=lW(e);return[zde(t),Qde(t),Jde(t),efe(t),tfe(t),Xde(t),Zde(t),zue(t)]},cW,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function rfe(e,t,n){const{focusElCls:r,focus:a,borderElCls:i}=n,o=i?"> *":"",s=["hover",a?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function afe(e,t,n){const{borderElCls:r}=n,a=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Dm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},rfe(e,r,t)),afe(n,r,t))}}function ife(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function ofe(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function sfe(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},ife(e,t)),ofe(e.componentCls,t))}}const lfe=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${G(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${G(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},cfe=uu(["Button","compact"],e=>{const t=lW(e);return[Dm(t),sfe(t),lfe(t)]},cW);var ufe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a,i;const{loading:o=!1,prefixCls:s,color:c,variant:u,type:d,danger:p=!1,shape:g="default",size:m,styles:h,disabled:b,className:y,rootClassName:S,children:v,icon:x,iconPosition:w="start",ghost:C=!1,block:E=!1,htmlType:I="button",classNames:T,style:_={},autoInsertSpace:R}=e,$=ufe(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),M=d||"default",[P,D]=l.useMemo(()=>{if(c&&u)return[c,u];const He=ffe[M]||[];return p?["danger",He[1]]:He},[d,c,u,p]),k=P==="danger"?"dangerous":P,{getPrefixCls:N,direction:A,button:L}=l.useContext(st),j=(n=R??(L==null?void 0:L.autoInsertSpace))!==null&&n!==void 0?n:!0,F=N("btn",s),[B,z,U]=nfe(F),H=l.useContext(ha),K=b??H,Y=l.useContext(rW),ee=l.useMemo(()=>dfe(o),[o]),[ae,W]=l.useState(ee.loading),[q,Z]=l.useState(!1),J=ba(t,l.createRef()),le=l.Children.count(v)===1&&!x&&!qS(D);l.useEffect(()=>{let He=null;ee.delay>0?He=setTimeout(()=>{He=null,W(!0)},ee.delay):W(ee.loading);function Be(){He&&(clearTimeout(He),He=null)}return Be},[ee]),l.useEffect(()=>{if(!J||!J.current||!j)return;const He=J.current.textContent;le&&g_(He)?q||Z(!0):q&&Z(!1)},[J]);const ce=de.useCallback(He=>{var Be;if(ae||K){He.preventDefault();return}(Be=e.onClick)===null||Be===void 0||Be.call(e,He)},[e.onClick,ae,K]),{compactSize:pe,compactItemClassnames:te}=Ws(F,A),ie={large:"lg",small:"sm",middle:void 0},fe=zr(He=>{var Be,Pe;return(Pe=(Be=m??pe)!==null&&Be!==void 0?Be:Y)!==null&&Pe!==void 0?Pe:He}),ge=fe&&(r=ie[fe])!==null&&r!==void 0?r:"",ne=ae?"loading":x,ue=Dn($,["navigate"]),me=oe(F,z,U,{[`${F}-${g}`]:g!=="default"&&g,[`${F}-${M}`]:M,[`${F}-dangerous`]:p,[`${F}-color-${k}`]:k,[`${F}-variant-${D}`]:D,[`${F}-${ge}`]:ge,[`${F}-icon-only`]:!v&&v!==0&&!!ne,[`${F}-background-ghost`]:C&&!qS(D),[`${F}-loading`]:ae,[`${F}-two-chinese-chars`]:q&&j&&!ae,[`${F}-block`]:E,[`${F}-rtl`]:A==="rtl",[`${F}-icon-end`]:w==="end"},te,y,S,L==null?void 0:L.className),xe=Object.assign(Object.assign({},L==null?void 0:L.style),_),Ie=oe(T==null?void 0:T.icon,(a=L==null?void 0:L.classNames)===null||a===void 0?void 0:a.icon),ke=Object.assign(Object.assign({},(h==null?void 0:h.icon)||{}),((i=L==null?void 0:L.styles)===null||i===void 0?void 0:i.icon)||{}),$e=x&&!ae?de.createElement(iW,{prefixCls:F,className:Ie,style:ke},x):de.createElement(Bue,{existIcon:!!x,prefixCls:F,loading:ae}),Le=v||v===0?Fue(v,le&&j):null;if(ue.href!==void 0)return B(de.createElement("a",Object.assign({},ue,{className:oe(me,{[`${F}-disabled`]:K}),href:K?void 0:ue.href,style:xe,onClick:ce,ref:J,tabIndex:K?-1:0}),$e,Le));let je=de.createElement("button",Object.assign({},$,{type:I,className:me,style:xe,onClick:ce,disabled:K,ref:J}),$e,Le,!!te&&de.createElement(cfe,{key:"compact",prefixCls:F}));return qS(D)||(je=de.createElement(km,{component:"Button",disabled:ae},je)),B(je)}),tt=pfe;tt.Group=Lue;tt.__ANT_BUTTON=!0;function QS(e){return!!(e!=null&&e.then)}const dW=e=>{const{type:t,children:n,prefixCls:r,buttonProps:a,close:i,autoFocus:o,emitEvent:s,isSilent:c,quitOnNullishReturnValue:u,actionFn:d}=e,p=l.useRef(!1),g=l.useRef(null),[m,h]=Xc(!1),b=function(){i==null||i.apply(void 0,arguments)};l.useEffect(()=>{let v=null;return o&&(v=setTimeout(()=>{var x;(x=g.current)===null||x===void 0||x.focus()})),()=>{v&&clearTimeout(v)}},[]);const y=v=>{QS(v)&&(h(!0),v.then(function(){h(!1,!0),b.apply(void 0,arguments),p.current=!1},x=>{if(h(!1,!0),p.current=!1,!(c!=null&&c()))return Promise.reject(x)}))},S=v=>{if(p.current)return;if(p.current=!0,!d){b();return}let x;if(s){if(x=d(v),u&&!QS(x)){p.current=!1,b(v);return}}else if(d.length)x=d(i),p.current=!1;else if(x=d(),!QS(x)){b();return}y(x)};return l.createElement(tt,Object.assign({},aW(t),{onClick:S,loading:m,prefixCls:r},a,{ref:g}),n)},Mm=de.createContext({}),{Provider:fW}=Mm,a4=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:i,close:o,onCancel:s,onConfirm:c}=l.useContext(Mm);return a?de.createElement(dW,{isSilent:r,actionFn:s,close:function(){o==null||o.apply(void 0,arguments),c==null||c(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${i}-btn`},n):null},i4=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:i,okType:o,onConfirm:s,onOk:c}=l.useContext(Mm);return de.createElement(dW,{isSilent:n,type:o||"primary",actionFn:c,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${a}-btn`},i)};var pW=l.createContext(null),o4=[];function gfe(e,t){var n=l.useState(function(){if(!ma())return null;var h=document.createElement("div");return h}),r=se(n,1),a=r[0],i=l.useRef(!1),o=l.useContext(pW),s=l.useState(o4),c=se(s,2),u=c[0],d=c[1],p=o||(i.current?void 0:function(h){d(function(b){var y=[h].concat(Me(b));return y})});function g(){a.parentElement||document.body.appendChild(a),i.current=!0}function m(){var h;(h=a.parentElement)===null||h===void 0||h.removeChild(a),i.current=!1}return Zt(function(){return e?o?o(g):g():m(),m},[e]),Zt(function(){u.length&&(u.forEach(function(h){return h()}),d(o4))},[u]),[a,p]}var JS;function gW(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var a,i;if(e){var o=getComputedStyle(e);r.scrollbarColor=o.scrollbarColor,r.scrollbarWidth=o.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(s.width,10),u=parseInt(s.height,10);try{var d=c?"width: ".concat(s.width,";"):"",p=u?"height: ".concat(s.height,";"):"";$s(` -#`.concat(t,`::-webkit-scrollbar { -`).concat(d,` -`).concat(p,` -}`),t)}catch(h){console.error(h),a=c,i=u}}document.body.appendChild(n);var g=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,m=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),Hg(t),{width:g,height:m}}function s4(e){return typeof document>"u"?0:(JS===void 0&&(JS=gW()),JS.width)}function m_(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:gW(e)}function mfe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var hfe="rc-util-locker-".concat(Date.now()),l4=0;function vfe(e){var t=!!e,n=l.useState(function(){return l4+=1,"".concat(hfe,"_").concat(l4)}),r=se(n,1),a=r[0];Zt(function(){if(t){var i=m_(document.body).width,o=mfe();$s(` -html body { - overflow-y: hidden; - `.concat(o?"width: calc(100% - ".concat(i,"px);"):"",` -}`),a)}else Hg(a);return function(){Hg(a)}},[t,a])}var bfe=!1;function yfe(e){return bfe}var c4=function(t){return t===!1?!1:!ma()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Pm=l.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var i=e.autoDestroy,o=i===void 0?!0:i,s=e.children,c=l.useState(n),u=se(c,2),d=u[0],p=u[1],g=d||n;l.useEffect(function(){(o||n)&&p(n)},[n,o]);var m=l.useState(function(){return c4(a)}),h=se(m,2),b=h[0],y=h[1];l.useEffect(function(){var $=c4(a);y($??null)});var S=gfe(g&&!b),v=se(S,2),x=v[0],w=v[1],C=b??x;vfe(r&&n&&ma()&&(C===x||C===document.body));var E=null;if(s&&Po(s)&&t){var I=s;E=I.ref}var T=Vs(E,t);if(!g||!ma()||b===void 0)return null;var _=C===!1||yfe(),R=s;return t&&(R=l.cloneElement(s,{ref:T})),l.createElement(pW.Provider,{value:w},_?R:Zr.createPortal(R,C))}),mW=l.createContext({});function xfe(){var e=X({},wm);return e.useId}var u4=0,d4=xfe();const hW=d4?function(t){var n=d4();return t||n}:function(t){var n=l.useState("ssr-id"),r=se(n,2),a=r[0],i=r[1];return l.useEffect(function(){var o=u4;u4+=1,i("rc_unique_".concat(o))},[]),t||a};function f4(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function p4(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var a=e.document;n=a.documentElement[r],typeof n!="number"&&(n=a.body[r])}return n}function Sfe(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=p4(a),n.top+=p4(a,!0),n}const wfe=l.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var Cfe={width:0,height:0,overflow:"hidden",outline:"none"},Efe={outline:"none"},vW=de.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.title,o=e.ariaId,s=e.footer,c=e.closable,u=e.closeIcon,d=e.onClose,p=e.children,g=e.bodyStyle,m=e.bodyProps,h=e.modalRender,b=e.onMouseDown,y=e.onMouseUp,S=e.holderRef,v=e.visible,x=e.forceRender,w=e.width,C=e.height,E=e.classNames,I=e.styles,T=de.useContext(mW),_=T.panel,R=Vs(S,_),$=l.useRef(),M=l.useRef();de.useImperativeHandle(t,function(){return{focus:function(){var B;(B=$.current)===null||B===void 0||B.focus({preventScroll:!0})},changeActive:function(B){var z=document,U=z.activeElement;B&&U===M.current?$.current.focus({preventScroll:!0}):!B&&U===$.current&&M.current.focus({preventScroll:!0})}}});var P={};w!==void 0&&(P.width=w),C!==void 0&&(P.height=C);var D=s?de.createElement("div",{className:oe("".concat(n,"-footer"),E==null?void 0:E.footer),style:X({},I==null?void 0:I.footer)},s):null,O=i?de.createElement("div",{className:oe("".concat(n,"-header"),E==null?void 0:E.header),style:X({},I==null?void 0:I.header)},de.createElement("div",{className:"".concat(n,"-title"),id:o},i)):null,k=l.useMemo(function(){return mt(c)==="object"&&c!==null?c:c?{closeIcon:u??de.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u,n]),N=fr(k,!0),A=mt(c)==="object"&&c.disabled,L=c?de.createElement("button",be({type:"button",onClick:d,"aria-label":"Close"},N,{className:"".concat(n,"-close"),disabled:A}),k.closeIcon):null,j=de.createElement("div",{className:oe("".concat(n,"-content"),E==null?void 0:E.content),style:I==null?void 0:I.content},L,O,de.createElement("div",be({className:oe("".concat(n,"-body"),E==null?void 0:E.body),style:X(X({},g),I==null?void 0:I.body)},m),p),D);return de.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?o:null,"aria-modal":"true",ref:R,style:X(X({},a),P),className:oe(n,r),onMouseDown:b,onMouseUp:y},de.createElement("div",{ref:$,tabIndex:0,style:Efe},de.createElement(wfe,{shouldUpdate:v||x},h?h(j):j)),de.createElement("div",{tabIndex:0,ref:M,style:Cfe}))}),bW=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,a=e.style,i=e.className,o=e.visible,s=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,g=e.mousePosition,m=l.useRef(),h=l.useState(),b=se(h,2),y=b[0],S=b[1],v={};y&&(v.transformOrigin=y);function x(){var w=Sfe(m.current);S(g&&(g.x||g.y)?"".concat(g.x-w.left,"px ").concat(g.y-w.top,"px"):"")}return l.createElement(na,{visible:o,onVisibleChanged:p,onAppearPrepare:x,onEnterPrepare:x,forceRender:s,motionName:u,removeOnLeave:c,ref:m},function(w,C){var E=w.className,I=w.style;return l.createElement(vW,be({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:C,style:X(X(X({},I),a),v),className:oe(i,E)}))})});bW.displayName="Content";var Ife=function(t){var n=t.prefixCls,r=t.style,a=t.visible,i=t.maskProps,o=t.motionName,s=t.className;return l.createElement(na,{key:"mask",visible:a,motionName:o,leavedClassName:"".concat(n,"-mask-hidden")},function(c,u){var d=c.className,p=c.style;return l.createElement("div",be({ref:u,style:X(X({},p),r),className:oe("".concat(n,"-mask"),d,s)},i))})},Tfe=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,a=t.zIndex,i=t.visible,o=i===void 0?!1:i,s=t.keyboard,c=s===void 0?!0:s,u=t.focusTriggerAfterClose,d=u===void 0?!0:u,p=t.wrapStyle,g=t.wrapClassName,m=t.wrapProps,h=t.onClose,b=t.afterOpenChange,y=t.afterClose,S=t.transitionName,v=t.animation,x=t.closable,w=x===void 0?!0:x,C=t.mask,E=C===void 0?!0:C,I=t.maskTransitionName,T=t.maskAnimation,_=t.maskClosable,R=_===void 0?!0:_,$=t.maskStyle,M=t.maskProps,P=t.rootClassName,D=t.classNames,O=t.styles,k=l.useRef(),N=l.useRef(),A=l.useRef(),L=l.useState(o),j=se(L,2),F=j[0],B=j[1],z=hW();function U(){jR(N.current,document.activeElement)||(k.current=document.activeElement)}function H(){if(!jR(N.current,document.activeElement)){var le;(le=A.current)===null||le===void 0||le.focus()}}function K(le){if(le)H();else{if(B(!1),E&&k.current&&d){try{k.current.focus({preventScroll:!0})}catch{}k.current=null}F&&(y==null||y())}b==null||b(le)}function Y(le){h==null||h(le)}var ee=l.useRef(!1),ae=l.useRef(),W=function(){clearTimeout(ae.current),ee.current=!0},q=function(){ae.current=setTimeout(function(){ee.current=!1})},Z=null;R&&(Z=function(ce){ee.current?ee.current=!1:N.current===ce.target&&Y(ce)});function Q(le){if(c&&le.keyCode===Fe.ESC){le.stopPropagation(),Y(le);return}o&&le.keyCode===Fe.TAB&&A.current.changeActive(!le.shiftKey)}l.useEffect(function(){o&&(B(!0),U())},[o]),l.useEffect(function(){return function(){clearTimeout(ae.current)}},[]);var J=X(X(X({zIndex:a},p),O==null?void 0:O.wrapper),{},{display:F?null:"none"});return l.createElement("div",be({className:oe("".concat(r,"-root"),P)},fr(t,{data:!0})),l.createElement(Ife,{prefixCls:r,visible:E&&o,motionName:f4(r,I,T),style:X(X({zIndex:a},$),O==null?void 0:O.mask),maskProps:M,className:D==null?void 0:D.mask}),l.createElement("div",be({tabIndex:-1,onKeyDown:Q,className:oe("".concat(r,"-wrap"),g,D==null?void 0:D.wrapper),ref:N,onClick:Z,style:J},m),l.createElement(bW,be({},t,{onMouseDown:W,onMouseUp:q,ref:A,closable:w,ariaId:z,prefixCls:r,visible:o&&F,onClose:Y,onVisibleChanged:K,motionName:f4(r,S,v)}))))},EN=function(t){var n=t.visible,r=t.getContainer,a=t.forceRender,i=t.destroyOnClose,o=i===void 0?!1:i,s=t.afterClose,c=t.panelRef,u=l.useState(n),d=se(u,2),p=d[0],g=d[1],m=l.useMemo(function(){return{panel:c}},[c]);return l.useEffect(function(){n&&g(!0)},[n]),!a&&o&&!p?null:l.createElement(mW.Provider,{value:m},l.createElement(Pm,{open:n||a||p,autoDestroy:!1,getContainer:r,autoLock:n||p},l.createElement(Tfe,be({},t,{destroyOnClose:o,afterClose:function(){s==null||s(),g(!1)}}))))};EN.displayName="Dialog";var Cc="RC_FORM_INTERNAL_HOOKS",Zn=function(){$n(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Zc=l.createContext({getFieldValue:Zn,getFieldsValue:Zn,getFieldError:Zn,getFieldWarning:Zn,getFieldsError:Zn,isFieldsTouched:Zn,isFieldTouched:Zn,isFieldValidating:Zn,isFieldsValidating:Zn,resetFields:Zn,setFields:Zn,setFieldValue:Zn,setFieldsValue:Zn,validateFields:Zn,submit:Zn,getInternalHooks:function(){return Zn(),{dispatch:Zn,initEntityValue:Zn,registerField:Zn,useSubscribe:Zn,setInitialValues:Zn,destroyForm:Zn,setCallbacks:Zn,registerWatch:Zn,getFields:Zn,setValidateMessages:Zn,setPreserve:Zn,getInitialValue:Zn}}}),Xg=l.createContext(null);function h_(e){return e==null?[]:Array.isArray(e)?e:[e]}function Rfe(e){return e&&!!e._init}function v_(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var b_=v_();function _fe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function $fe(e,t,n){if(yy())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&Bg(a,n.prototype),a}function y_(e){var t=typeof Map=="function"?new Map:void 0;return y_=function(r){if(r===null||!_fe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return $fe(r,arguments,qc(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Bg(a,r)},y_(e)}var Ofe=/%[sdj%]/g,Nfe=function(){};function x_(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function _i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return s;switch(s){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function kfe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ra(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||kfe(t)&&typeof e=="string"&&!e)}function Afe(e,t,n){var r=[],a=0,i=e.length;function o(s){r.push.apply(r,Me(s||[])),a++,a===i&&n(r)}e.forEach(function(s){t(s,o)})}function g4(e,t,n){var r=0,a=e.length;function i(o){if(o&&o.length){n(o);return}var s=r;r=r+1,st.max?a.push(_i(i.messages[p].max,t.fullField,t.max)):s&&c&&(dt.max)&&a.push(_i(i.messages[p].range,t.fullField,t.min,t.max))},yW=function(t,n,r,a,i,o){t.required&&(!r.hasOwnProperty(t.field)||ra(n,o||t.type))&&a.push(_i(i.messages.required,t.fullField))},Jh;const zfe=function(){if(Jh)return Jh;var e="[a-fA-F\\d:]",t=function(E){return E&&E.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",a=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(a.join("|"),")").concat(i),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),c=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(o,"$")),d=function(E){return E&&E.exact?s:new RegExp("(?:".concat(t(E)).concat(n).concat(t(E),")|(?:").concat(t(E)).concat(o).concat(t(E),")"),"g")};d.v4=function(C){return C&&C.exact?c:new RegExp("".concat(t(C)).concat(n).concat(t(C)),"g")},d.v6=function(C){return C&&C.exact?u:new RegExp("".concat(t(C)).concat(o).concat(t(C)),"g")};var p="(?:(?:[a-z]+:)?//)",g="(?:\\S+(?::\\S*)?@)?",m=d.v4().source,h=d.v6().source,b="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",y="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",S="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",x='(?:[/?#][^\\s"]*)?',w="(?:".concat(p,"|www\\.)").concat(g,"(?:localhost|").concat(m,"|").concat(h,"|").concat(b).concat(y).concat(S,")").concat(v).concat(x);return Jh=new RegExp("(?:^".concat(w,"$)"),"i"),Jh};var b4={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Tp={integer:function(t){return Tp.number(t)&&parseInt(t,10)===t},float:function(t){return Tp.number(t)&&!Tp.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return mt(t)==="object"&&!Tp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(b4.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(zfe())},hex:function(t){return typeof t=="string"&&!!t.match(b4.hex)}},Hfe=function(t,n,r,a,i){if(t.required&&n===void 0){yW(t,n,r,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Tp[s](n)||a.push(_i(i.messages.types[s],t.fullField,t.type)):s&&mt(n)!==t.type&&a.push(_i(i.messages.types[s],t.fullField,t.type))},Ufe=function(t,n,r,a,i){(/^\s+$/.test(n)||n==="")&&a.push(_i(i.messages.whitespace,t.fullField))};const In={required:yW,whitespace:Ufe,type:Hfe,range:Bfe,enum:jfe,pattern:Ffe};var Vfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i)}r(o)},Wfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();In.required(t,n,a,o,i,"array"),n!=null&&(In.type(t,n,a,o,i),In.range(t,n,a,o,i))}r(o)},Gfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i),n!==void 0&&In.type(t,n,a,o,i)}r(o)},qfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n,"date")&&!t.required)return r();if(In.required(t,n,a,o,i),!ra(n,"date")){var c;n instanceof Date?c=n:c=new Date(n),In.type(t,c,a,o,i),c&&In.range(t,c.getTime(),a,o,i)}}r(o)},Kfe="enum",Yfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i),n!==void 0&&In[Kfe](t,n,a,o,i)}r(o)},Xfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i),n!==void 0&&(In.type(t,n,a,o,i),In.range(t,n,a,o,i))}r(o)},Zfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i),n!==void 0&&(In.type(t,n,a,o,i),In.range(t,n,a,o,i))}r(o)},Qfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i),n!==void 0&&In.type(t,n,a,o,i)}r(o)},Jfe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),ra(n)&&!t.required)return r();In.required(t,n,a,o,i),n!==void 0&&(In.type(t,n,a,o,i),In.range(t,n,a,o,i))}r(o)},epe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i),n!==void 0&&In.type(t,n,a,o,i)}r(o)},tpe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n,"string")&&!t.required)return r();In.required(t,n,a,o,i),ra(n,"string")||In.pattern(t,n,a,o,i)}r(o)},npe=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n)&&!t.required)return r();In.required(t,n,a,o,i),ra(n)||In.type(t,n,a,o,i)}r(o)},rpe=function(t,n,r,a,i){var o=[],s=Array.isArray(n)?"array":mt(n);In.required(t,n,a,o,i,s),r(o)},ape=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(ra(n,"string")&&!t.required)return r();In.required(t,n,a,o,i,"string"),ra(n,"string")||(In.type(t,n,a,o,i),In.range(t,n,a,o,i),In.pattern(t,n,a,o,i),t.whitespace===!0&&In.whitespace(t,n,a,o,i))}r(o)},e1=function(t,n,r,a,i){var o=t.type,s=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(ra(n,o)&&!t.required)return r();In.required(t,n,a,s,i,o),ra(n,o)||In.type(t,n,a,s,i)}r(s)};const eg={string:ape,method:Qfe,number:Jfe,boolean:Gfe,regexp:npe,integer:Zfe,float:Xfe,array:Wfe,object:epe,enum:Yfe,pattern:tpe,date:qfe,url:e1,hex:e1,email:e1,required:rpe,any:Vfe};var Lm=function(){function e(t){Jn(this,e),V(this,"rules",null),V(this,"_messages",b_),this.define(t)}return er(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(mt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var i=n[a];r.rules[a]=Array.isArray(i)?i:[i]})}},{key:"messages",value:function(n){return n&&(this._messages=v4(v_(),n)),this._messages}},{key:"validate",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,s=a,c=i;if(typeof s=="function"&&(c=s,s={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,o),Promise.resolve(o);function u(h){var b=[],y={};function S(x){if(Array.isArray(x)){var w;b=(w=b).concat.apply(w,Me(x))}else b.push(x)}for(var v=0;v0&&arguments[0]!==void 0?arguments[0]:[],T=Array.isArray(I)?I:[I];!s.suppressWarning&&T.length&&e.warning("async-validator:",T),T.length&&y.message!==void 0&&(T=[].concat(y.message));var _=T.map(h4(y,o));if(s.first&&_.length)return m[y.field]=1,b(_);if(!S)b(_);else{if(y.required&&!h.value)return y.message!==void 0?_=[].concat(y.message).map(h4(y,o)):s.error&&(_=[s.error(y,_i(s.messages.required,y.field))]),b(_);var R={};y.defaultField&&Object.keys(h.value).map(function(P){R[P]=y.defaultField}),R=X(X({},R),h.rule.fields);var $={};Object.keys(R).forEach(function(P){var D=R[P],O=Array.isArray(D)?D:[D];$[P]=O.map(v.bind(null,P))});var M=new e($);M.messages(s.messages),h.rule.options&&(h.rule.options.messages=s.messages,h.rule.options.error=s.error),M.validate(h.value,h.rule.options||s,function(P){var D=[];_&&_.length&&D.push.apply(D,Me(_)),P&&P.length&&D.push.apply(D,Me(P)),b(D.length?D:null)})}}var w;if(y.asyncValidator)w=y.asyncValidator(y,h.value,x,h.source,s);else if(y.validator){try{w=y.validator(y,h.value,x,h.source,s)}catch(I){var C,E;(C=(E=console).error)===null||C===void 0||C.call(E,I),s.suppressValidatorError||setTimeout(function(){throw I},0),x(I.message)}w===!0?x():w===!1?x(typeof y.message=="function"?y.message(y.fullField||y.field):y.message||"".concat(y.fullField||y.field," fails")):w instanceof Array?x(w):w instanceof Error&&x(w.message)}w&&w.then&&w.then(function(){return x()},function(I){return x(I)})},function(h){u(h)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!eg.hasOwnProperty(n.type))throw new Error(_i("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),a=r.indexOf("message");return a!==-1&&r.splice(a,1),r.length===1&&r[0]==="required"?eg.required:eg[this.getType(n)]||void 0}}]),e}();V(Lm,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");eg[t]=n});V(Lm,"warning",Nfe);V(Lm,"messages",b_);V(Lm,"validators",eg);var bi="'${name}' is not a valid ${type}",xW={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:bi,method:bi,array:bi,object:bi,number:bi,date:bi,boolean:bi,integer:bi,float:bi,regexp:bi,email:bi,url:bi,hex:bi},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},y4=Lm;function ipe(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var x4="CODE_LOGIC_ERROR";function S_(e,t,n,r,a){return w_.apply(this,arguments)}function w_(){return w_=Ri(ar().mark(function e(t,n,r,a,i){var o,s,c,u,d,p,g,m,h;return ar().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return o=X({},r),delete o.ruleIndex,y4.warning=function(){},o.validator&&(s=o.validator,o.validator=function(){try{return s.apply(void 0,arguments)}catch(S){return console.error(S),Promise.reject(x4)}}),c=null,o&&o.type==="array"&&o.defaultField&&(c=o.defaultField,delete o.defaultField),u=new y4(V({},t,[o])),d=fd(xW,a.validateMessages),u.messages(d),p=[],y.prev=10,y.next=13,Promise.resolve(u.validate(V({},t,n),X({},a)));case 13:y.next=18;break;case 15:y.prev=15,y.t0=y.catch(10),y.t0.errors&&(p=y.t0.errors.map(function(S,v){var x=S.message,w=x===x4?d.default:x;return l.isValidElement(w)?l.cloneElement(w,{key:"error_".concat(v)}):w}));case 18:if(!(!p.length&&c)){y.next=23;break}return y.next=21,Promise.all(n.map(function(S,v){return S_("".concat(t,".").concat(v),S,c,a,i)}));case 21:return g=y.sent,y.abrupt("return",g.reduce(function(S,v){return[].concat(Me(S),Me(v))},[]));case 23:return m=X(X({},r),{},{name:t,enum:(r.enum||[]).join(", ")},i),h=p.map(function(S){return typeof S=="string"?ipe(S,m):S}),y.abrupt("return",h);case 26:case"end":return y.stop()}},e,null,[[10,15]])})),w_.apply(this,arguments)}function ope(e,t,n,r,a,i){var o=e.join("."),s=n.map(function(d,p){var g=d.validator,m=X(X({},d),{},{ruleIndex:p});return g&&(m.validator=function(h,b,y){var S=!1,v=function(){for(var C=arguments.length,E=new Array(C),I=0;I2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return SW(t,r,n)})}function SW(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,a){return e[a]===r})}function cpe(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||mt(e)!=="object"||mt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return Me(a).every(function(i){var o=e[i],s=t[i];return typeof o=="function"&&typeof s=="function"?!0:o===s})}function upe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&mt(t.target)==="object"&&e in t.target?t.target[e]:t}function w4(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var a=e[t],i=t-n;return i>0?[].concat(Me(e.slice(0,n)),[a],Me(e.slice(n,t)),Me(e.slice(t+1,r))):i<0?[].concat(Me(e.slice(0,t)),Me(e.slice(t+1,n+1)),[a],Me(e.slice(n+1,r))):e}var dpe=["name"],Ui=[];function t1(e,t,n,r,a,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==a}var IN=function(e){gi(n,e);var t=Fi(n);function n(r){var a;if(Jn(this,n),a=t.call(this,r),V(Ke(a),"state",{resetCount:0}),V(Ke(a),"cancelRegisterFunc",null),V(Ke(a),"mounted",!1),V(Ke(a),"touched",!1),V(Ke(a),"dirty",!1),V(Ke(a),"validatePromise",void 0),V(Ke(a),"prevValidating",void 0),V(Ke(a),"errors",Ui),V(Ke(a),"warnings",Ui),V(Ke(a),"cancelRegister",function(){var c=a.props,u=c.preserve,d=c.isListField,p=c.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(d,u,Fr(p)),a.cancelRegisterFunc=null}),V(Ke(a),"getNamePath",function(){var c=a.props,u=c.name,d=c.fieldContext,p=d.prefixName,g=p===void 0?[]:p;return u!==void 0?[].concat(Me(g),Me(u)):[]}),V(Ke(a),"getRules",function(){var c=a.props,u=c.rules,d=u===void 0?[]:u,p=c.fieldContext;return d.map(function(g){return typeof g=="function"?g(p):g})}),V(Ke(a),"refresh",function(){a.mounted&&a.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),V(Ke(a),"metaCache",null),V(Ke(a),"triggerMetaEvent",function(c){var u=a.props.onMetaChange;if(u){var d=X(X({},a.getMeta()),{},{destroy:c});oo(a.metaCache,d)||u(d),a.metaCache=d}else a.metaCache=null}),V(Ke(a),"onStoreChange",function(c,u,d){var p=a.props,g=p.shouldUpdate,m=p.dependencies,h=m===void 0?[]:m,b=p.onReset,y=d.store,S=a.getNamePath(),v=a.getValue(c),x=a.getValue(y),w=u&&Od(u,S);switch(d.type==="valueUpdate"&&d.source==="external"&&!oo(v,x)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=Ui,a.warnings=Ui,a.triggerMetaEvent()),d.type){case"reset":if(!u||w){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=Ui,a.warnings=Ui,a.triggerMetaEvent(),b==null||b(),a.refresh();return}break;case"remove":{if(g&&t1(g,c,y,v,x,d)){a.reRender();return}break}case"setField":{var C=d.data;if(w){"touched"in C&&(a.touched=C.touched),"validating"in C&&!("originRCField"in C)&&(a.validatePromise=C.validating?Promise.resolve([]):null),"errors"in C&&(a.errors=C.errors||Ui),"warnings"in C&&(a.warnings=C.warnings||Ui),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in C&&Od(u,S,!0)){a.reRender();return}if(g&&!S.length&&t1(g,c,y,v,x,d)){a.reRender();return}break}case"dependenciesUpdate":{var E=h.map(Fr);if(E.some(function(I){return Od(d.relatedFields,I)})){a.reRender();return}break}default:if(w||(!h.length||S.length||g)&&t1(g,c,y,v,x,d)){a.reRender();return}break}g===!0&&a.reRender()}),V(Ke(a),"validateRules",function(c){var u=a.getNamePath(),d=a.getValue(),p=c||{},g=p.triggerName,m=p.validateOnly,h=m===void 0?!1:m,b=Promise.resolve().then(Ri(ar().mark(function y(){var S,v,x,w,C,E,I;return ar().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(a.mounted){_.next=2;break}return _.abrupt("return",[]);case 2:if(S=a.props,v=S.validateFirst,x=v===void 0?!1:v,w=S.messageVariables,C=S.validateDebounce,E=a.getRules(),g&&(E=E.filter(function(R){return R}).filter(function(R){var $=R.validateTrigger;if(!$)return!0;var M=h_($);return M.includes(g)})),!(C&&g)){_.next=10;break}return _.next=8,new Promise(function(R){setTimeout(R,C)});case 8:if(a.validatePromise===b){_.next=10;break}return _.abrupt("return",[]);case 10:return I=ope(u,d,E,c,x,w),I.catch(function(R){return R}).then(function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ui;if(a.validatePromise===b){var $;a.validatePromise=null;var M=[],P=[];($=R.forEach)===null||$===void 0||$.call(R,function(D){var O=D.rule.warningOnly,k=D.errors,N=k===void 0?Ui:k;O?P.push.apply(P,Me(N)):M.push.apply(M,Me(N))}),a.errors=M,a.warnings=P,a.triggerMetaEvent(),a.reRender()}}),_.abrupt("return",I);case 13:case"end":return _.stop()}},y)})));return h||(a.validatePromise=b,a.dirty=!0,a.errors=Ui,a.warnings=Ui,a.triggerMetaEvent(),a.reRender()),b}),V(Ke(a),"isFieldValidating",function(){return!!a.validatePromise}),V(Ke(a),"isFieldTouched",function(){return a.touched}),V(Ke(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var c=a.props.fieldContext,u=c.getInternalHooks(Cc),d=u.getInitialValue;return d(a.getNamePath())!==void 0}),V(Ke(a),"getErrors",function(){return a.errors}),V(Ke(a),"getWarnings",function(){return a.warnings}),V(Ke(a),"isListField",function(){return a.props.isListField}),V(Ke(a),"isList",function(){return a.props.isList}),V(Ke(a),"isPreserve",function(){return a.props.preserve}),V(Ke(a),"getMeta",function(){a.prevValidating=a.isFieldValidating();var c={touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,warnings:a.warnings,name:a.getNamePath(),validated:a.validatePromise===null};return c}),V(Ke(a),"getOnlyChild",function(c){if(typeof c=="function"){var u=a.getMeta();return X(X({},a.getOnlyChild(c(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var d=Nr(c);return d.length!==1||!l.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),V(Ke(a),"getValue",function(c){var u=a.props.fieldContext.getFieldsValue,d=a.getNamePath();return Ti(c||u(!0),d)}),V(Ke(a),"getControlled",function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.props,d=u.name,p=u.trigger,g=u.validateTrigger,m=u.getValueFromEvent,h=u.normalize,b=u.valuePropName,y=u.getValueProps,S=u.fieldContext,v=g!==void 0?g:S.validateTrigger,x=a.getNamePath(),w=S.getInternalHooks,C=S.getFieldsValue,E=w(Cc),I=E.dispatch,T=a.getValue(),_=y||function(D){return V({},b,D)},R=c[p],$=d!==void 0?_(T):{},M=X(X({},c),$);M[p]=function(){a.touched=!0,a.dirty=!0,a.triggerMetaEvent();for(var D,O=arguments.length,k=new Array(O),N=0;N=0&&R<=$.length?(d.keys=[].concat(Me(d.keys.slice(0,R)),[d.id],Me(d.keys.slice(R))),x([].concat(Me($.slice(0,R)),[_],Me($.slice(R))))):(d.keys=[].concat(Me(d.keys),[d.id]),x([].concat(Me($),[_]))),d.id+=1},remove:function(_){var R=C(),$=new Set(Array.isArray(_)?_:[_]);$.size<=0||(d.keys=d.keys.filter(function(M,P){return!$.has(P)}),x(R.filter(function(M,P){return!$.has(P)})))},move:function(_,R){if(_!==R){var $=C();_<0||_>=$.length||R<0||R>=$.length||(d.keys=w4(d.keys,_,R),x(w4($,_,R)))}}},I=v||[];return Array.isArray(I)||(I=[]),r(I.map(function(T,_){var R=d.keys[_];return R===void 0&&(d.keys[_]=d.id,R=d.keys[_],d.id+=1),{name:_,key:R,isListField:!0}}),E,y)})))}function fpe(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(a,i){e.forEach(function(o,s){o.catch(function(c){return t=!0,c}).then(function(c){n-=1,r[s]=c,!(n>0)&&(t&&i(r),a(r))})})}):Promise.resolve([])}var CW="__@field_split__";function n1(e){return e.map(function(t){return"".concat(mt(t),":").concat(t)}).join(CW)}var Au=function(){function e(){Jn(this,e),V(this,"kvs",new Map)}return er(e,[{key:"set",value:function(n,r){this.kvs.set(n1(n),r)}},{key:"get",value:function(n){return this.kvs.get(n1(n))}},{key:"update",value:function(n,r){var a=this.get(n),i=r(a);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(n1(n))}},{key:"map",value:function(n){return Me(this.kvs.entries()).map(function(r){var a=se(r,2),i=a[0],o=a[1],s=i.split(CW);return n({key:s.map(function(c){var u=c.match(/^([^:]*):(.*)$/),d=se(u,3),p=d[1],g=d[2];return p==="number"?Number(g):g}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var a=r.key,i=r.value;return n[a.join(".")]=i,null}),n}}]),e}(),ppe=["name"],gpe=er(function e(t){var n=this;Jn(this,e),V(this,"formHooked",!1),V(this,"forceRootUpdate",void 0),V(this,"subscribable",!0),V(this,"store",{}),V(this,"fieldEntities",[]),V(this,"initialValues",{}),V(this,"callbacks",{}),V(this,"validateMessages",null),V(this,"preserve",null),V(this,"lastValidatePromise",null),V(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),V(this,"getInternalHooks",function(r){return r===Cc?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):($n(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),V(this,"useSubscribe",function(r){n.subscribable=r}),V(this,"prevWithoutPreserves",null),V(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var i,o=fd(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(s){var c=s.key;o=Eo(o,c,Ti(r,c))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),V(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new Au;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||a.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),V(this,"getInitialValue",function(r){var a=Ti(n.initialValues,r);return r.length?fd(a):a}),V(this,"setCallbacks",function(r){n.callbacks=r}),V(this,"setValidateMessages",function(r){n.validateMessages=r}),V(this,"setPreserve",function(r){n.preserve=r}),V(this,"watchList",[]),V(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),V(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var a=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(a,i,r)})}}),V(this,"timeoutId",null),V(this,"warningUnhooked",function(){}),V(this,"updateStore",function(r){n.store=r}),V(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(a){return a.getNamePath().length}):n.fieldEntities}),V(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new Au;return n.getFieldEntities(r).forEach(function(i){var o=i.getNamePath();a.set(o,i)}),a}),V(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(i){var o=Fr(i);return a.get(o)||{INVALIDATE_NAME_PATH:Fr(i)}})}),V(this,"getFieldsValue",function(r,a){n.warningUnhooked();var i,o,s;if(r===!0||Array.isArray(r)?(i=r,o=a):r&&mt(r)==="object"&&(s=r.strict,o=r.filter),i===!0&&!o)return n.store;var c=n.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),u=[];return c.forEach(function(d){var p,g,m="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(s){var h,b;if((h=(b=d).isList)!==null&&h!==void 0&&h.call(b))return}else if(!i&&(p=(g=d).isListField)!==null&&p!==void 0&&p.call(g))return;if(!o)u.push(m);else{var y="getMeta"in d?d.getMeta():null;o(y)&&u.push(m)}}),S4(n.store,u.map(Fr))}),V(this,"getFieldValue",function(r){n.warningUnhooked();var a=Fr(r);return Ti(n.store,a)}),V(this,"getFieldsError",function(r){n.warningUnhooked();var a=n.getFieldEntitiesForNamePathList(r);return a.map(function(i,o){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:Fr(r[o]),errors:[],warnings:[]}})}),V(this,"getFieldError",function(r){n.warningUnhooked();var a=Fr(r),i=n.getFieldsError([a])[0];return i.errors}),V(this,"getFieldWarning",function(r){n.warningUnhooked();var a=Fr(r),i=n.getFieldsError([a])[0];return i.warnings}),V(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,a=new Array(r),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},a=new Au,i=n.getFieldEntities(!0);i.forEach(function(c){var u=c.props.initialValue,d=c.getNamePath();if(u!==void 0){var p=a.get(d)||new Set;p.add({entity:c,value:u}),a.set(d,p)}});var o=function(u){u.forEach(function(d){var p=d.props.initialValue;if(p!==void 0){var g=d.getNamePath(),m=n.getInitialValue(g);if(m!==void 0)$n(!1,"Form already set 'initialValues' with path '".concat(g.join("."),"'. Field can not overwrite it."));else{var h=a.get(g);if(h&&h.size>1)$n(!1,"Multiple Field with path '".concat(g.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(h){var b=n.getFieldValue(g),y=d.isListField();!y&&(!r.skipExist||b===void 0)&&n.updateStore(Eo(n.store,g,Me(h)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(c){var u=a.get(c);if(u){var d;(d=s).push.apply(d,Me(Me(u).map(function(p){return p.entity})))}})):s=i,o(s)}),V(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore(fd(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var i=r.map(Fr);i.forEach(function(o){var s=n.getInitialValue(o);n.updateStore(Eo(n.store,o,s))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(a,i,{type:"reset"}),n.notifyWatch(i)}),V(this,"setFields",function(r){n.warningUnhooked();var a=n.store,i=[];r.forEach(function(o){var s=o.name,c=Ct(o,ppe),u=Fr(s);i.push(u),"value"in c&&n.updateStore(Eo(n.store,u,c.value)),n.notifyObservers(a,[u],{type:"setField",data:o})}),n.notifyWatch(i)}),V(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(i){var o=i.getNamePath(),s=i.getMeta(),c=X(X({},s),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(c,"originRCField",{value:!0}),c});return a}),V(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var i=r.getNamePath(),o=Ti(n.store,i);o===void 0&&n.updateStore(Eo(n.store,i,a))}}),V(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),V(this,"registerField",function(r){n.fieldEntities.push(r);var a=r.getNamePath();if(n.notifyWatch([a]),r.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(i,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(p){return p!==r}),!n.isMergedPreserve(s)&&(!o||c.length>1)){var u=o?void 0:n.getInitialValue(a);if(a.length&&n.getFieldValue(a)!==u&&n.fieldEntities.every(function(p){return!SW(p.getNamePath(),a)})){var d=n.store;n.updateStore(Eo(d,a,u,!0)),n.notifyObservers(d,[a],{type:"remove"}),n.triggerDependenciesUpdate(d,a)}}n.notifyWatch([a])}}),V(this,"dispatch",function(r){switch(r.type){case"updateValue":{var a=r.namePath,i=r.value;n.updateValue(a,i);break}case"validateField":{var o=r.namePath,s=r.triggerName;n.validateFields([o],{triggerName:s});break}}}),V(this,"notifyObservers",function(r,a,i){if(n.subscribable){var o=X(X({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var c=s.onStoreChange;c(r,a,o)})}else n.forceRootUpdate()}),V(this,"triggerDependenciesUpdate",function(r,a){var i=n.getDependencyChildrenFields(a);return i.length&&n.validateFields(i),n.notifyObservers(r,i,{type:"dependenciesUpdate",relatedFields:[a].concat(Me(i))}),i}),V(this,"updateValue",function(r,a){var i=Fr(r),o=n.store;n.updateStore(Eo(n.store,i,a)),n.notifyObservers(o,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var s=n.triggerDependenciesUpdate(o,i),c=n.callbacks.onValuesChange;if(c){var u=S4(n.store,[i]);c(u,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat(Me(s)))}),V(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var i=fd(n.store,r);n.updateStore(i)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),V(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a}])}),V(this,"getDependencyChildrenFields",function(r){var a=new Set,i=[],o=new Au;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(d){var p=Fr(d);o.update(p,function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return g.add(c),g})})});var s=function c(u){var d=o.get(u)||new Set;d.forEach(function(p){if(!a.has(p)){a.add(p);var g=p.getNamePath();p.isFieldDirty()&&g.length&&(i.push(g),c(g))}})};return s(r),i}),V(this,"triggerOnFieldsChange",function(r,a){var i=n.callbacks.onFieldsChange;if(i){var o=n.getFields();if(a){var s=new Au;a.forEach(function(u){var d=u.name,p=u.errors;s.set(d,p)}),o.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var c=o.filter(function(u){var d=u.name;return Od(r,d)});c.length&&i(c,o)}}),V(this,"validateFields",function(r,a){n.warningUnhooked();var i,o;Array.isArray(r)||typeof r=="string"||typeof a=="string"?(i=r,o=a):o=r;var s=!!i,c=s?i.map(Fr):[],u=[],d=String(Date.now()),p=new Set,g=o||{},m=g.recursive,h=g.dirty;n.getFieldEntities(!0).forEach(function(v){if(s||c.push(v.getNamePath()),!(!v.props.rules||!v.props.rules.length)&&!(h&&!v.isFieldDirty())){var x=v.getNamePath();if(p.add(x.join(d)),!s||Od(c,x,m)){var w=v.validateRules(X({validateMessages:X(X({},xW),n.validateMessages)},o));u.push(w.then(function(){return{name:x,errors:[],warnings:[]}}).catch(function(C){var E,I=[],T=[];return(E=C.forEach)===null||E===void 0||E.call(C,function(_){var R=_.rule.warningOnly,$=_.errors;R?T.push.apply(T,Me($)):I.push.apply(I,Me($))}),I.length?Promise.reject({name:x,errors:I,warnings:T}):{name:x,errors:I,warnings:T}}))}}});var b=fpe(u);n.lastValidatePromise=b,b.catch(function(v){return v}).then(function(v){var x=v.map(function(w){var C=w.name;return C});n.notifyObservers(n.store,x,{type:"validateFinish"}),n.triggerOnFieldsChange(x,v)});var y=b.then(function(){return n.lastValidatePromise===b?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(v){var x=v.filter(function(w){return w&&w.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:x,outOfDate:n.lastValidatePromise!==b})});y.catch(function(v){return v});var S=c.filter(function(v){return p.has(v.join(d))});return n.triggerOnFieldsChange(S),y}),V(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var a=n.callbacks.onFinish;if(a)try{a(r)}catch(i){console.error(i)}}).catch(function(r){var a=n.callbacks.onFinishFailed;a&&a(r)})}),this.forceRootUpdate=t});function RN(e){var t=l.useRef(),n=l.useState({}),r=se(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var i=function(){a({})},o=new gpe(i);t.current=o.getForm()}return[t.current]}var I_=l.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),EW=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,i=t.children,o=l.useContext(I_),s=l.useRef({});return l.createElement(I_.Provider,{value:X(X({},o),{},{validateMessages:X(X({},o.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:s.current}),o.triggerFormChange(u,d)},triggerFormFinish:function(u,d){a&&a(u,{values:d,forms:s.current}),o.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(s.current=X(X({},s.current),{},V({},u,d))),o.registerForm(u,d)},unregisterForm:function(u){var d=X({},s.current);delete d[u],s.current=d,o.unregisterForm(u)}})},i)},mpe=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],hpe=function(t,n){var r=t.name,a=t.initialValues,i=t.fields,o=t.form,s=t.preserve,c=t.children,u=t.component,d=u===void 0?"form":u,p=t.validateMessages,g=t.validateTrigger,m=g===void 0?"onChange":g,h=t.onValuesChange,b=t.onFieldsChange,y=t.onFinish,S=t.onFinishFailed,v=t.clearOnDestroy,x=Ct(t,mpe),w=l.useRef(null),C=l.useContext(I_),E=RN(o),I=se(E,1),T=I[0],_=T.getInternalHooks(Cc),R=_.useSubscribe,$=_.setInitialValues,M=_.setCallbacks,P=_.setValidateMessages,D=_.setPreserve,O=_.destroyForm;l.useImperativeHandle(n,function(){return X(X({},T),{},{nativeElement:w.current})}),l.useEffect(function(){return C.registerForm(r,T),function(){C.unregisterForm(r)}},[C,T,r]),P(X(X({},C.validateMessages),p)),M({onValuesChange:h,onFieldsChange:function(U){if(C.triggerFormChange(r,U),b){for(var H=arguments.length,K=new Array(H>1?H-1:0),Y=1;Y{}}),TW=l.createContext(null),RW=e=>{const t=Dn(e,["prefixCls"]);return l.createElement(EW,Object.assign({},t))},_N=l.createContext({prefixCls:""}),aa=l.createContext({}),bpe=e=>{let{children:t,status:n,override:r}=e;const a=l.useContext(aa),i=l.useMemo(()=>{const o=Object.assign({},a);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,a]);return l.createElement(aa.Provider,{value:i},t)},_W=l.createContext(void 0),ls=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=de.createElement(bpe,{override:!0,status:!0},a)),t&&(a=de.createElement(Aue,null,a)),a};function Jd(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function E4(e){const{closable:t,closeIcon:n}=e||{};return de.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function I4(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(i=>{a[i]!==void 0&&(e[i]=a[i])})}),e}const ype={};function $N(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ype;const r=E4(e),a=E4(t),i=typeof r!="boolean"?!!(r!=null&&r.disabled):!1,o=de.useMemo(()=>Object.assign({closeIcon:de.createElement(va,null)},n),[n]),s=de.useMemo(()=>r===!1?!1:r?I4(o,a,r):a===!1?!1:a?I4(o,a):o.closable?o:!1,[r,a,o]);return de.useMemo(()=>{if(s===!1)return[!1,null,i];const{closeIconRender:c}=o,{closeIcon:u}=s;let d=u;if(d!=null){c&&(d=c(u));const p=fr(s,!0);Object.keys(p).length&&(d=de.isValidElement(d)?de.cloneElement(d,p):de.createElement("span",Object.assign({},p),d))}return[!0,d,i]},[s,o])}var $W=function(t){if(ma()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(a){return a in r.style})}return!1},xpe=function(t,n){if(!$W(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function T_(e,t){return!Array.isArray(e)&&t!==void 0?xpe(e,t):$W(e)}const Spe=()=>ma()&&window.document.documentElement,Py=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:i}=e,o=oe({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),s=oe({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),c=l.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return l.createElement("span",{className:oe(t,o,s,n),style:Object.assign(Object.assign({},c),r)})},wpe=new nn("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ly=e=>({height:e,lineHeight:G(e)}),Nd=e=>Object.assign({width:e},Ly(e)),Cpe=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:wpe,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),r1=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Ly(e)),Epe=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Nd(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Nd(a)),[`${t}${t}-sm`]:Object.assign({},Nd(i))}},Ipe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},r1(t,s)),[`${r}-lg`]:Object.assign({},r1(a,s)),[`${r}-sm`]:Object.assign({},r1(i,s))}},T4=e=>Object.assign({width:e},Ly(e)),Tpe=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:a},T4(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},T4(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},a1=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},i1=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Ly(e)),Rpe=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},i1(r,s))},a1(e,r,n)),{[`${n}-lg`]:Object.assign({},i1(a,s))}),a1(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},i1(i,s))}),a1(e,i,`${n}-sm`))},_pe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:o,skeletonImageCls:s,controlHeight:c,controlHeightLG:u,controlHeightSM:d,gradientFromColor:p,padding:g,marginSM:m,borderRadius:h,titleHeight:b,blockRadius:y,paragraphLiHeight:S,controlHeightXS:v,paragraphMarginTop:x}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:p},Nd(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Nd(u)),[`${n}-sm`]:Object.assign({},Nd(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:b,background:p,borderRadius:y,[`+ ${a}`]:{marginBlockStart:d}},[a]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:p,borderRadius:y,"+ li":{marginBlockStart:v}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:m,[`+ ${a}`]:{marginBlockStart:x}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Rpe(e)),Epe(e)),Ipe(e)),Tpe(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[o]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${a} > li, - ${n}, - ${i}, - ${o}, - ${s} - `]:Object.assign({},Cpe(e))}}},$pe=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},_f=an("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=zt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[_pe(r)]},$pe,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ope=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:i="circle",size:o="default"}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,p]=_f(c),g=Dn(e,["prefixCls","className"]),m=oe(c,`${c}-element`,{[`${c}-active`]:a},n,r,d,p);return u(l.createElement("div",{className:m},l.createElement(Py,Object.assign({prefixCls:`${c}-avatar`,shape:i,size:o},g))))},Npe=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i=!1,size:o="default"}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,p]=_f(c),g=Dn(e,["prefixCls"]),m=oe(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:i},n,r,d,p);return u(l.createElement("div",{className:m},l.createElement(Py,Object.assign({prefixCls:`${c}-button`,size:o},g))))},kpe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",Ape=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i}=e,{getPrefixCls:o}=l.useContext(st),s=o("skeleton",t),[c,u,d]=_f(s),p=oe(s,`${s}-element`,{[`${s}-active`]:i},n,r,u,d);return c(l.createElement("div",{className:p},l.createElement("div",{className:oe(`${s}-image`,n),style:a},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},l.createElement("title",null,"Image placeholder"),l.createElement("path",{d:kpe,className:`${s}-image-path`})))))},Dpe=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i,size:o="default"}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,p]=_f(c),g=Dn(e,["prefixCls"]),m=oe(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:i},n,r,d,p);return u(l.createElement("div",{className:m},l.createElement(Py,Object.assign({prefixCls:`${c}-input`,size:o},g))))},Mpe=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i,children:o}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,p]=_f(c),g=oe(c,`${c}-element`,{[`${c}-active`]:i},d,n,r,p);return u(l.createElement("div",{className:g},l.createElement("div",{className:oe(`${c}-image`,n),style:a},o)))},Ppe=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},Lpe=e=>{const{prefixCls:t,className:n,style:r,rows:a}=e,i=Me(new Array(a)).map((o,s)=>l.createElement("li",{key:s,style:{width:Ppe(s,e)}}));return l.createElement("ul",{className:oe(t,n),style:r},i)},jpe=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return l.createElement("h3",{className:oe(t,n),style:Object.assign({width:r},a)})};function o1(e){return e&&typeof e=="object"?e:{}}function Fpe(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Bpe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function zpe(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Jl=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:i,children:o,avatar:s=!1,title:c=!0,paragraph:u=!0,active:d,round:p}=e,{getPrefixCls:g,direction:m,skeleton:h}=l.useContext(st),b=g("skeleton",t),[y,S,v]=_f(b);if(n||!("loading"in e)){const x=!!s,w=!!c,C=!!u;let E;if(x){const _=Object.assign(Object.assign({prefixCls:`${b}-avatar`},Fpe(w,C)),o1(s));E=l.createElement("div",{className:`${b}-header`},l.createElement(Py,Object.assign({},_)))}let I;if(w||C){let _;if(w){const $=Object.assign(Object.assign({prefixCls:`${b}-title`},Bpe(x,C)),o1(c));_=l.createElement(jpe,Object.assign({},$))}let R;if(C){const $=Object.assign(Object.assign({prefixCls:`${b}-paragraph`},zpe(x,w)),o1(u));R=l.createElement(Lpe,Object.assign({},$))}I=l.createElement("div",{className:`${b}-content`},_,R)}const T=oe(b,{[`${b}-with-avatar`]:x,[`${b}-active`]:d,[`${b}-rtl`]:m==="rtl",[`${b}-round`]:p},h==null?void 0:h.className,r,a,S,v);return y(l.createElement("div",{className:T,style:Object.assign(Object.assign({},h==null?void 0:h.style),i)},E,I))}return o??null};Jl.Button=Npe;Jl.Avatar=Ope;Jl.Input=Dpe;Jl.Image=Ape;Jl.Node=Mpe;function R4(){}const Hpe=l.createContext({add:R4,remove:R4});function OW(e){const t=l.useContext(Hpe),n=l.useRef();return Yt(a=>{if(a){const i=e?a.querySelector(e):a;t.add(i),n.current=i}else t.remove(n.current)})}const _4=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=l.useContext(Mm);return de.createElement(tt,Object.assign({onClick:n},e),t)},$4=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=l.useContext(Mm);return de.createElement(tt,Object.assign({},aW(n),{loading:e,onClick:a},t),r)};function NW(e,t){return de.createElement("span",{className:`${e}-close-x`},t||de.createElement(va,{className:`${e}-close-icon`}))}const kW=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:i,onCancel:o,okButtonProps:s,cancelButtonProps:c,footer:u}=e,[d]=us("Modal",hV()),p=t||(d==null?void 0:d.okText),g=r||(d==null?void 0:d.cancelText),m={confirmLoading:a,okButtonProps:s,cancelButtonProps:c,okTextLocale:p,cancelTextLocale:g,okType:n,onOk:i,onCancel:o},h=de.useMemo(()=>m,Me(Object.values(m)));let b;return typeof u=="function"||typeof u>"u"?(b=de.createElement(de.Fragment,null,de.createElement(_4,null),de.createElement($4,null)),typeof u=="function"&&(b=u(b,{OkBtn:$4,CancelBtn:_4})),b=de.createElement(fW,{value:h},b)):b=u,de.createElement(lN,{disabled:!1},b)};function O4(e){return{position:e,inset:0}}const AW=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},O4("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},O4("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:hN(e)}]},Upe=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${G(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},ln(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${G(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:G(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},co(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${G(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, - ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},Vpe=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},DW=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return zt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},MW=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${G(e.paddingMD)} ${G(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${G(e.padding)} ${G(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${G(e.paddingXS)} ${G(e.padding)}`:0,footerBorderTop:e.wireframe?`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${G(e.padding*2)} ${G(e.padding*2)} ${G(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),PW=an("Modal",e=>{const t=DW(e);return[Upe(t),Vpe(t),AW(t),Tf(t,"zoom")]},MW,{unitless:{titleLineHeight:!0}});var Wpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{R_={x:e.pageX,y:e.pageY},setTimeout(()=>{R_=null},100)};Spe()&&document.documentElement.addEventListener("click",Gpe,!0);const LW=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:a,modal:i}=l.useContext(st),o=z=>{const{onCancel:U}=e;U==null||U(z)},s=z=>{const{onOk:U}=e;U==null||U(z)},{prefixCls:c,className:u,rootClassName:d,open:p,wrapClassName:g,centered:m,getContainer:h,focusTriggerAfterClose:b=!0,style:y,visible:S,width:v=520,footer:x,classNames:w,styles:C,children:E,loading:I}=e,T=Wpe(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),_=r("modal",c),R=r(),$=ir(_),[M,P,D]=PW(_,$),O=oe(g,{[`${_}-centered`]:!!m,[`${_}-wrap-rtl`]:a==="rtl"}),k=x!==null&&!I?l.createElement(kW,Object.assign({},e,{onOk:s,onCancel:o})):null,[N,A,L]=$N(Jd(e),Jd(i),{closable:!0,closeIcon:l.createElement(va,{className:`${_}-close-icon`}),closeIconRender:z=>NW(_,z)}),j=OW(`.${_}-content`),[F,B]=Ho("Modal",T.zIndex);return M(l.createElement(ls,{form:!0,space:!0},l.createElement(Om.Provider,{value:B},l.createElement(EN,Object.assign({width:v},T,{zIndex:F,getContainer:h===void 0?n:h,prefixCls:_,rootClassName:oe(P,d,D,$),footer:k,visible:p??S,mousePosition:(t=T.mousePosition)!==null&&t!==void 0?t:R_,onClose:o,closable:N&&{disabled:L,closeIcon:A},closeIcon:A,focusTriggerAfterClose:b,transitionName:za(R,"zoom",e.transitionName),maskTransitionName:za(R,"fade",e.maskTransitionName),className:oe(P,u,i==null?void 0:i.className),style:Object.assign(Object.assign({},i==null?void 0:i.style),y),classNames:Object.assign(Object.assign(Object.assign({},i==null?void 0:i.classNames),w),{wrapper:oe(O,w==null?void 0:w.wrapper)}),styles:Object.assign(Object.assign({},i==null?void 0:i.styles),C),panelRef:j}),I?l.createElement(Jl,{active:!0,title:!1,paragraph:{rows:4},className:`${_}-body-skeleton`}):E))))},qpe=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:a,fontSize:i,lineHeight:o,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:u}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},Lo()),[`&${t} ${t}-body`]:{padding:u},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:a,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(a).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(a).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${G(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${d}-content`]:{color:e.colorText,fontSize:i,lineHeight:o},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls}, - ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Kpe=uu(["Modal","confirm"],e=>{const t=DW(e);return[qpe(t)]},MW,{order:-1e3});var Ype=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);av,Me(Object.values(v))),w=l.createElement(l.Fragment,null,l.createElement(a4,null),l.createElement(i4,null)),C=e.title!==void 0&&e.title!==null,E=`${i}-body`;return l.createElement("div",{className:`${i}-body-wrapper`},l.createElement("div",{className:oe(E,{[`${E}-has-title`]:C})},p,l.createElement("div",{className:`${i}-paragraph`},C&&l.createElement("span",{className:`${i}-title`},e.title),l.createElement("div",{className:`${i}-content`},e.content))),c===void 0||typeof c=="function"?l.createElement(fW,{value:x},l.createElement("div",{className:`${i}-btns`},typeof c=="function"?c(w,{OkBtn:i4,CancelBtn:a4}):w)):c,l.createElement(Kpe,{prefixCls:t}))}const Xpe=e=>{const{close:t,zIndex:n,afterClose:r,open:a,keyboard:i,centered:o,getContainer:s,maskStyle:c,direction:u,prefixCls:d,wrapClassName:p,rootPrefixCls:g,bodyStyle:m,closable:h=!1,closeIcon:b,modalRender:y,focusTriggerAfterClose:S,onConfirm:v,styles:x}=e,w=`${d}-confirm`,C=e.width||416,E=e.style||{},I=e.mask===void 0?!0:e.mask,T=e.maskClosable===void 0?!1:e.maskClosable,_=oe(w,`${w}-${e.type}`,{[`${w}-rtl`]:u==="rtl"},e.className),[,R]=ia(),$=l.useMemo(()=>n!==void 0?n:R.zIndexPopupBase+QV,[n,R]);return l.createElement(LW,{prefixCls:d,className:_,wrapClassName:oe({[`${w}-centered`]:!!e.centered},p),onCancel:()=>{t==null||t({triggerCancel:!0}),v==null||v(!1)},open:a,title:"",footer:null,transitionName:za(g||"","zoom",e.transitionName),maskTransitionName:za(g||"","fade",e.maskTransitionName),mask:I,maskClosable:T,style:E,styles:Object.assign({body:m,mask:c},x),width:C,zIndex:$,afterClose:r,keyboard:i,centered:o,getContainer:s,closable:h,closeIcon:b,modalRender:y,focusTriggerAfterClose:S},l.createElement(jW,Object.assign({},e,{confirmPrefixCls:w})))},FW=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return l.createElement(zo,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},l.createElement(Xpe,Object.assign({},e)))},Ec=[];let BW="";function zW(){return BW}const Zpe=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:i}=e,o=hV(),s=l.useContext(st),c=zW()||s.getPrefixCls(),u=r||`${c}-modal`;let d=a;return d===!1&&(d=void 0),de.createElement(FW,Object.assign({},e,{rootPrefixCls:c,prefixCls:u,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:i??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:o,getContainer:d}))};function jm(e){const t=UV(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:s,open:!0}),a;function i(){for(var u,d=arguments.length,p=new Array(d),g=0;gb==null?void 0:b.triggerCancel)){var h;(u=e.onCancel)===null||u===void 0||(h=u).call.apply(h,[e,()=>{}].concat(Me(p.slice(1))))}for(let b=0;b{const d=t.getPrefixCls(void 0,zW()),p=t.getIconPrefixCls(),g=t.getTheme(),m=de.createElement(Zpe,Object.assign({},u));gN(de.createElement(zo,{prefixCls:d,iconPrefixCls:p,theme:g},t.holderRender?t.holderRender(m):m),n)})}function s(){for(var u=arguments.length,d=new Array(u),p=0;p{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,d)}}),r.visible&&delete r.visible,o(r)}function c(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),o(r)}return o(r),Ec.push(s),{destroy:s,update:c}}function HW(e){return Object.assign(Object.assign({},e),{type:"warning"})}function UW(e){return Object.assign(Object.assign({},e),{type:"info"})}function VW(e){return Object.assign(Object.assign({},e),{type:"success"})}function WW(e){return Object.assign(Object.assign({},e),{type:"error"})}function GW(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Qpe(e){let{rootPrefixCls:t}=e;BW=t}var Jpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,{afterClose:r,config:a}=e,i=Jpe(e,["afterClose","config"]);const[o,s]=l.useState(!0),[c,u]=l.useState(a),{direction:d,getPrefixCls:p}=l.useContext(st),g=p("modal"),m=p(),h=()=>{var v;r(),(v=c.afterClose)===null||v===void 0||v.call(c)},b=function(){var v;s(!1);for(var x=arguments.length,w=new Array(x),C=0;CT==null?void 0:T.triggerCancel)){var I;(v=c.onCancel)===null||v===void 0||(I=v).call.apply(I,[c,()=>{}].concat(Me(w.slice(1))))}};l.useImperativeHandle(t,()=>({destroy:b,update:v=>{u(x=>Object.assign(Object.assign({},x),v))}}));const y=(n=c.okCancel)!==null&&n!==void 0?n:c.type==="confirm",[S]=us("Modal",lo.Modal);return l.createElement(FW,Object.assign({prefixCls:g,rootPrefixCls:m},c,{close:b,open:o,afterClose:h,okText:c.okText||(y?S==null?void 0:S.okText:S==null?void 0:S.justOkText),direction:c.direction||d,cancelText:c.cancelText||(S==null?void 0:S.cancelText)},i))},tge=l.forwardRef(ege);let N4=0;const nge=l.memo(l.forwardRef((e,t)=>{const[n,r]=gue();return l.useImperativeHandle(t,()=>({patchElement:r}),[]),l.createElement(l.Fragment,null,n)}));function rge(){const e=l.useRef(null),[t,n]=l.useState([]);l.useEffect(()=>{t.length&&(Me(t).forEach(o=>{o()}),n([]))},[t]);const r=l.useCallback(i=>function(s){var c;N4+=1;const u=l.createRef();let d;const p=new Promise(y=>{d=y});let g=!1,m;const h=l.createElement(tge,{key:`modal-${N4}`,config:i(s),ref:u,afterClose:()=>{m==null||m()},isSilent:()=>g,onConfirm:y=>{d(y)}});return m=(c=e.current)===null||c===void 0?void 0:c.patchElement(h),m&&Ec.push(m),{destroy:()=>{function y(){var S;(S=u.current)===null||S===void 0||S.destroy()}u.current?y():n(S=>[].concat(Me(S),[y]))},update:y=>{function S(){var v;(v=u.current)===null||v===void 0||v.update(y)}u.current?S():n(v=>[].concat(Me(v),[S]))},then:y=>(g=!0,p.then(y))}},[]);return[l.useMemo(()=>({info:r(UW),success:r(VW),error:r(WW),warning:r(HW),confirm:r(GW)}),[]),l.createElement(nge,{key:"modal-holder",ref:e})]}const age=e=>{const{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,a=`${t}-notice`,i=new nn("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),o=new nn("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new nn("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new nn("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[a]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[a]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:c}}}}},ige=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],oge={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},sge=(e,t)=>{const{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[oge[t]]:{value:0,_skip_check_:!0}}}}},lge=e=>{const t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},cge=e=>{const t={};for(let n=1;n{const{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},lge(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},cge(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},ige.map(n=>sge(e,n)).reduce((n,r)=>Object.assign(Object.assign({},n),r),{}))},qW=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:a,notificationMarginBottom:i,borderRadiusLG:o,colorSuccess:s,colorInfo:c,colorWarning:u,colorError:d,colorTextHeading:p,notificationBg:g,notificationPadding:m,notificationMarginEdge:h,notificationProgressBg:b,notificationProgressHeight:y,fontSize:S,lineHeight:v,width:x,notificationIconSize:w,colorText:C}=e,E=`${n}-notice`;return{position:"relative",marginBottom:i,marginInlineStart:"auto",background:g,borderRadius:o,boxShadow:r,[E]:{padding:m,width:x,maxWidth:`calc(100vw - ${G(e.calc(h).mul(2).equal())})`,overflow:"hidden",lineHeight:v,wordWrap:"break-word"},[`${E}-message`]:{marginBottom:e.marginXS,color:p,fontSize:a,lineHeight:e.lineHeightLG},[`${E}-description`]:{fontSize:S,color:C},[`${E}-closable ${E}-message`]:{paddingInlineEnd:e.paddingLG},[`${E}-with-icon ${E}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:a},[`${E}-with-icon ${E}-description`]:{marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:S},[`${E}-icon`]:{position:"absolute",fontSize:w,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:d}},[`${E}-close`]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},co(e)),[`${E}-progress`]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:`calc(100% - ${G(o)} * 2)`,left:{_skip_check_:!0,value:o},right:{_skip_check_:!0,value:o},bottom:0,blockSize:y,border:0,"&, &::-webkit-progress-bar":{borderRadius:o,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:b},"&::-webkit-progress-value":{borderRadius:o,background:b}},[`${E}-btn`]:{float:"right",marginTop:e.marginSM}}},dge=e=>{const{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:a,motionEaseInOut:i}=e,o=`${t}-notice`,s=new nn("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},ln(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:i,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:i,animationFillMode:"both",animationDuration:a,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${o}-btn`]:{float:"left"}}})},{[t]:{[`${o}-wrapper`]:Object.assign({},qW(e))}}]},KW=e=>({zIndexPopup:e.zIndexPopupBase+QV+50,width:384}),YW=e=>{const t=e.paddingMD,n=e.paddingLG;return zt(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${G(e.paddingMD)} ${G(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`})},XW=an("Notification",e=>{const t=YW(e);return[dge(t),age(t),uge(t)]},KW),fge=uu(["Notification","PurePanel"],e=>{const t=`${e.componentCls}-notice`,n=YW(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},qW(n)),{width:n.width,maxWidth:`calc(100vw - ${G(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},KW);var pge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,icon:n,type:r,message:a,description:i,btn:o,role:s="alert"}=e;let c=null;return n?c=l.createElement("span",{className:`${t}-icon`},n):r&&(c=l.createElement(gge[r]||null,{className:oe(`${t}-icon`,`${t}-icon-${r}`)})),l.createElement("div",{className:oe({[`${t}-with-icon`]:c}),role:s},c,l.createElement("div",{className:`${t}-message`},a),l.createElement("div",{className:`${t}-description`},i),o&&l.createElement("div",{className:`${t}-btn`},o))},mge=e=>{const{prefixCls:t,className:n,icon:r,type:a,message:i,description:o,btn:s,closable:c=!0,closeIcon:u,className:d}=e,p=pge(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:g}=l.useContext(st),m=t||g("notification"),h=`${m}-notice`,b=ir(m),[y,S,v]=XW(m,b);return y(l.createElement("div",{className:oe(`${h}-pure-panel`,S,n,v,b)},l.createElement(fge,{prefixCls:m}),l.createElement(XV,Object.assign({},p,{prefixCls:m,eventKey:"pure",duration:null,closable:c,className:oe({notificationClassName:d}),closeIcon:ON(m,u),content:l.createElement(ZW,{prefixCls:h,icon:r,type:a,message:i,description:o,btn:s})}))))};function hge(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function vge(e){return{motionName:`${e}-fade`}}var bge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{children:t,prefixCls:n}=e;const r=ir(n),[a,i,o]=XW(n,r);return a(de.createElement(eue,{classNames:{list:oe(i,o,r)}},t))},wge=(e,t)=>{let{prefixCls:n,key:r}=t;return de.createElement(Sge,{prefixCls:n,key:r},e)},Cge=de.forwardRef((e,t)=>{const{top:n,bottom:r,prefixCls:a,getContainer:i,maxCount:o,rtl:s,onAllRemoved:c,stack:u,duration:d,pauseOnHover:p=!0,showProgress:g}=e,{getPrefixCls:m,getPopupContainer:h,notification:b,direction:y}=l.useContext(st),[,S]=ia(),v=a||m("notification"),x=T=>hge(T,n??k4,r??k4),w=()=>oe({[`${v}-rtl`]:s??y==="rtl"}),C=()=>vge(v),[E,I]=lue({prefixCls:v,style:x,className:w,motion:C,closable:!0,closeIcon:ON(v),duration:d??yge,getContainer:()=>(i==null?void 0:i())||(h==null?void 0:h())||document.body,maxCount:o,pauseOnHover:p,showProgress:g,onAllRemoved:c,renderNotifications:wge,stack:u===!1?!1:{threshold:typeof u=="object"?u==null?void 0:u.threshold:void 0,offset:8,gap:S.margin}});return de.useImperativeHandle(t,()=>Object.assign(Object.assign({},E),{prefixCls:v,notification:b})),I});function QW(e){const t=de.useRef(null);return Zl(),[de.useMemo(()=>{const r=s=>{var c;if(!t.current)return;const{open:u,prefixCls:d,notification:p}=t.current,g=`${d}-notice`,{message:m,description:h,icon:b,type:y,btn:S,className:v,style:x,role:w="alert",closeIcon:C,closable:E}=s,I=bge(s,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),T=ON(g,typeof C<"u"?C:p==null?void 0:p.closeIcon);return u(Object.assign(Object.assign({placement:(c=e==null?void 0:e.placement)!==null&&c!==void 0?c:xge},I),{content:de.createElement(ZW,{prefixCls:g,icon:b,type:y,message:m,description:h,btn:S,role:w}),className:oe(y&&`${g}-${y}`,v,p==null?void 0:p.className),style:Object.assign(Object.assign({},p==null?void 0:p.style),x),closeIcon:T,closable:E??!!T}))},i={open:r,destroy:s=>{var c,u;s!==void 0?(c=t.current)===null||c===void 0||c.close(s):(u=t.current)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(s=>{i[s]=c=>r(Object.assign(Object.assign({},c),{type:s}))}),i},[]),de.createElement(Cge,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Ege(e){return QW(e)}const Ige=de.createContext({});function JW(e){return t=>l.createElement(zo,{theme:{token:{motion:!1,zIndexPopupBase:0}}},l.createElement(e,Object.assign({},t)))}const Fm=(e,t,n,r)=>JW(i=>{const{prefixCls:o,style:s}=i,c=l.useRef(null),[u,d]=l.useState(0),[p,g]=l.useState(0),[m,h]=pn(!1,{value:i.open}),{getPrefixCls:b}=l.useContext(st),y=b(t||"select",o);l.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const x=new ResizeObserver(C=>{const E=C[0].target;d(E.offsetHeight+8),g(E.offsetWidth)}),w=setInterval(()=>{var C;const E=n?`.${n(y)}`:`.${y}-dropdown`,I=(C=c.current)===null||C===void 0?void 0:C.querySelector(E);I&&(clearInterval(w),x.observe(I))},10);return()=>{clearInterval(w),x.disconnect()}}},[]);let S=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:m,visible:m,getPopupContainer:()=>c.current});r&&(S=r(S));const v={paddingBottom:u,position:"relative",minWidth:p};return l.createElement("div",{ref:c,style:v},l.createElement(e,Object.assign({},S)))}),jy=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var Fy=function(t){var n=t.className,r=t.customizeIcon,a=t.customizeIconProps,i=t.children,o=t.onMouseDown,s=t.onClick,c=typeof r=="function"?r(a):r;return l.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),o==null||o(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},c!==void 0?c:l.createElement("span",{className:oe(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},i))},Tge=function(t,n,r,a,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=de.useMemo(function(){if(mt(a)==="object")return a.clearIcon;if(i)return i},[a,i]),d=de.useMemo(function(){return!!(!o&&a&&(r.length||s)&&!(c==="combobox"&&s===""))},[a,o,r.length,s,c]);return{allowClear:d,clearIcon:de.createElement(Fy,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},eG=l.createContext(null);function tG(){return l.useContext(eG)}function Rge(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=l.useState(!1),n=se(t,2),r=n[0],a=n[1],i=l.useRef(null),o=function(){window.clearTimeout(i.current)};l.useEffect(function(){return o},[]);var s=function(u,d){o(),i.current=window.setTimeout(function(){a(u),d&&d()},e)};return[r,s,o]}function nG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=l.useRef(null),n=l.useRef(null);l.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(a){(a||t.current===null)&&(t.current=a),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function _ge(e,t,n,r){var a=l.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},l.useEffect(function(){function i(o){var s;if(!((s=a.current)!==null&&s!==void 0&&s.customizedTrigger)){var c=o.target;c.shadowRoot&&o.composed&&(c=o.composedPath()[0]||c),a.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(c)&&u!==c})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",i),function(){return window.removeEventListener("mousedown",i)}},[])}function $ge(e){return![Fe.ESC,Fe.SHIFT,Fe.BACKSPACE,Fe.TAB,Fe.WIN_KEY,Fe.ALT,Fe.META,Fe.WIN_KEY_RIGHT,Fe.CTRL,Fe.SEMICOLON,Fe.EQUALS,Fe.CAPS_LOCK,Fe.CONTEXT_MENU,Fe.F1,Fe.F2,Fe.F3,Fe.F4,Fe.F5,Fe.F6,Fe.F7,Fe.F8,Fe.F9,Fe.F10,Fe.F11,Fe.F12].includes(e)}var Oge=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Du=void 0;function Nge(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,i=e.renderItem,o=e.responsive,s=e.responsiveDisabled,c=e.registerSize,u=e.itemKey,d=e.className,p=e.style,g=e.children,m=e.display,h=e.order,b=e.component,y=b===void 0?"div":b,S=Ct(e,Oge),v=o&&!m;function x(T){c(u,T)}l.useEffect(function(){return function(){x(null)}},[]);var w=i&&a!==Du?i(a):g,C;r||(C={opacity:v?0:1,height:v?0:Du,overflowY:v?"hidden":Du,order:o?h:Du,pointerEvents:v?"none":Du,position:v?"absolute":Du});var E={};v&&(E["aria-hidden"]=!0);var I=l.createElement(y,be({className:oe(!r&&n,d),style:X(X({},C),p)},E,S,{ref:t}),w);return o&&(I=l.createElement(Ta,{onResize:function(_){var R=_.offsetWidth;x(R)},disabled:s},I)),I}var tg=l.forwardRef(Nge);tg.displayName="Item";function kge(e){if(typeof MessageChannel>"u")Gt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Age(){var e=l.useRef(null),t=function(r){e.current||(e.current=[],kge(function(){Zr.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function cp(e,t){var n=l.useState(t),r=se(n,2),a=r[0],i=r[1],o=Yt(function(s){e(function(){i(s)})});return[a,o]}var i0=de.createContext(null),Dge=["component"],Mge=["className"],Pge=["className"],Lge=function(t,n){var r=l.useContext(i0);if(!r){var a=t.component,i=a===void 0?"div":a,o=Ct(t,Dge);return l.createElement(i,be({},o,{ref:n}))}var s=r.className,c=Ct(r,Mge),u=t.className,d=Ct(t,Pge);return l.createElement(i0.Provider,{value:null},l.createElement(tg,be({ref:n,className:oe(s,u)},c,d)))},rG=l.forwardRef(Lge);rG.displayName="RawItem";var jge=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],aG="responsive",iG="invalidate";function Fge(e){return"+ ".concat(e.length," ...")}function Bge(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,i=a===void 0?[]:a,o=e.renderItem,s=e.renderRawItem,c=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,p=e.ssr,g=e.style,m=e.className,h=e.maxCount,b=e.renderRest,y=e.renderRawRest,S=e.suffix,v=e.component,x=v===void 0?"div":v,w=e.itemComponent,C=e.onVisibleChange,E=Ct(e,jge),I=p==="full",T=Age(),_=cp(T,null),R=se(_,2),$=R[0],M=R[1],P=$||0,D=cp(T,new Map),O=se(D,2),k=O[0],N=O[1],A=cp(T,0),L=se(A,2),j=L[0],F=L[1],B=cp(T,0),z=se(B,2),U=z[0],H=z[1],K=cp(T,0),Y=se(K,2),ee=Y[0],ae=Y[1],W=l.useState(null),q=se(W,2),Z=q[0],Q=q[1],J=l.useState(null),le=se(J,2),ce=le[0],pe=le[1],te=l.useMemo(function(){return ce===null&&I?Number.MAX_SAFE_INTEGER:ce||0},[ce,$]),ie=l.useState(!1),fe=se(ie,2),ge=fe[0],ne=fe[1],ue="".concat(r,"-item"),me=Math.max(j,U),xe=h===aG,Ie=i.length&&xe,ke=h===iG,$e=Ie||typeof h=="number"&&i.length>h,Le=l.useMemo(function(){var Ae=i;return Ie?$===null&&I?Ae=i:Ae=i.slice(0,Math.min(i.length,P/d)):typeof h=="number"&&(Ae=i.slice(0,h)),Ae},[i,d,$,h,Ie]),je=l.useMemo(function(){return Ie?i.slice(te+1):i.slice(Le.length)},[i,Le,Ie,te]),He=l.useCallback(function(Ae,Oe){var Re;return typeof c=="function"?c(Ae):(Re=c&&(Ae==null?void 0:Ae[c]))!==null&&Re!==void 0?Re:Oe},[c]),Be=l.useCallback(o||function(Ae){return Ae},[o]);function Pe(Ae,Oe,Re){ce===Ae&&(Oe===void 0||Oe===Z)||(pe(Ae),Re||(ne(AeP){Pe(at-1,Ae-Ye-ee+U);break}}S&&De(0)+ee>P&&Q(null)}},[P,k,U,ee,He,Le]);var Ge=ge&&!!je.length,lt={};Z!==null&&Ie&&(lt={position:"absolute",left:Z,top:0});var he={prefixCls:ue,responsive:Ie,component:w,invalidate:ke},re=s?function(Ae,Oe){var Re=He(Ae,Oe);return l.createElement(i0.Provider,{key:Re,value:X(X({},he),{},{order:Oe,item:Ae,itemKey:Re,registerSize:Ne,display:Oe<=te})},s(Ae,Oe))}:function(Ae,Oe){var Re=He(Ae,Oe);return l.createElement(tg,be({},he,{order:Oe,key:Re,item:Ae,renderItem:Be,itemKey:Re,registerSize:Ne,display:Oe<=te}))},ve,_e={order:Ge?te:Number.MAX_SAFE_INTEGER,className:"".concat(ue,"-rest"),registerSize:Te,display:Ge};if(y)y&&(ve=l.createElement(i0.Provider,{value:X(X({},he),_e)},y(je)));else{var ze=b||Fge;ve=l.createElement(tg,be({},he,_e),typeof ze=="function"?ze(je):ze)}var Ue=l.createElement(x,be({className:oe(!ke&&r,m),style:g,ref:t},E),Le.map(re),$e?ve:null,S&&l.createElement(tg,be({},he,{responsive:xe,responsiveDisabled:!Ie,order:te,className:"".concat(ue,"-suffix"),registerSize:Ce,display:!0,style:lt}),S));return xe&&(Ue=l.createElement(Ta,{onResize:Se,disabled:!Ie},Ue)),Ue}var Ao=l.forwardRef(Bge);Ao.displayName="Overflow";Ao.Item=rG;Ao.RESPONSIVE=aG;Ao.INVALIDATE=iG;var zge=function(t,n){var r,a=t.prefixCls,i=t.id,o=t.inputElement,s=t.disabled,c=t.tabIndex,u=t.autoFocus,d=t.autoComplete,p=t.editable,g=t.activeDescendantId,m=t.value,h=t.maxLength,b=t.onKeyDown,y=t.onMouseDown,S=t.onChange,v=t.onPaste,x=t.onCompositionStart,w=t.onCompositionEnd,C=t.open,E=t.attrs,I=o||l.createElement("input",null),T=I,_=T.ref,R=T.props,$=R.onKeyDown,M=R.onChange,P=R.onMouseDown,D=R.onCompositionStart,O=R.onCompositionEnd,k=R.style;return"maxLength"in I.props,I=l.cloneElement(I,X(X(X({type:"search"},R),{},{id:i,ref:ba(n,_),disabled:s,tabIndex:c,autoComplete:d||"off",autoFocus:u,className:oe("".concat(a,"-selection-search-input"),(r=I)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":C||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":C?g:void 0},E),{},{value:p?m:"",maxLength:h,readOnly:!p,unselectable:p?null:"on",style:X(X({},k),{},{opacity:p?null:0}),onKeyDown:function(A){b(A),$&&$(A)},onMouseDown:function(A){y(A),P&&P(A)},onChange:function(A){S(A),M&&M(A)},onCompositionStart:function(A){x(A),D&&D(A)},onCompositionEnd:function(A){w(A),O&&O(A)},onPaste:v})),I},oG=l.forwardRef(zge);function sG(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var Hge=typeof window<"u"&&window.document&&window.document.documentElement,Uge=Hge;function Vge(e){return e!=null}function Wge(e){return!e&&e!==0}function A4(e){return["string","number"].includes(mt(e))}function lG(e){var t=void 0;return e&&(A4(e.title)?t=e.title.toString():A4(e.label)&&(t=e.label.toString())),t}function Gge(e,t){Uge?l.useLayoutEffect(e,t):l.useEffect(e,t)}function qge(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var D4=function(t){t.preventDefault(),t.stopPropagation()},Kge=function(t){var n=t.id,r=t.prefixCls,a=t.values,i=t.open,o=t.searchValue,s=t.autoClearSearchValue,c=t.inputRef,u=t.placeholder,d=t.disabled,p=t.mode,g=t.showSearch,m=t.autoFocus,h=t.autoComplete,b=t.activeDescendantId,y=t.tabIndex,S=t.removeIcon,v=t.maxTagCount,x=t.maxTagTextLength,w=t.maxTagPlaceholder,C=w===void 0?function(Q){return"+ ".concat(Q.length," ...")}:w,E=t.tagRender,I=t.onToggleOpen,T=t.onRemove,_=t.onInputChange,R=t.onInputPaste,$=t.onInputKeyDown,M=t.onInputMouseDown,P=t.onInputCompositionStart,D=t.onInputCompositionEnd,O=l.useRef(null),k=l.useState(0),N=se(k,2),A=N[0],L=N[1],j=l.useState(!1),F=se(j,2),B=F[0],z=F[1],U="".concat(r,"-selection"),H=i||p==="multiple"&&s===!1||p==="tags"?o:"",K=p==="tags"||p==="multiple"&&s===!1||g&&(i||B);Gge(function(){L(O.current.scrollWidth)},[H]);var Y=function(J,le,ce,pe,te){return l.createElement("span",{title:lG(J),className:oe("".concat(U,"-item"),V({},"".concat(U,"-item-disabled"),ce))},l.createElement("span",{className:"".concat(U,"-item-content")},le),pe&&l.createElement(Fy,{className:"".concat(U,"-item-remove"),onMouseDown:D4,onClick:te,customizeIcon:S},"×"))},ee=function(J,le,ce,pe,te,ie){var fe=function(ne){D4(ne),I(!i)};return l.createElement("span",{onMouseDown:fe},E({label:le,value:J,disabled:ce,closable:pe,onClose:te,isMaxTag:!!ie}))},ae=function(J){var le=J.disabled,ce=J.label,pe=J.value,te=!d&&!le,ie=ce;if(typeof x=="number"&&(typeof ce=="string"||typeof ce=="number")){var fe=String(ie);fe.length>x&&(ie="".concat(fe.slice(0,x),"..."))}var ge=function(ue){ue&&ue.stopPropagation(),T(J)};return typeof E=="function"?ee(pe,ie,le,te,ge):Y(J,ie,le,te,ge)},W=function(J){var le=typeof C=="function"?C(J):C;return typeof E=="function"?ee(void 0,le,!1,!1,void 0,!0):Y({title:le},le,!1)},q=l.createElement("div",{className:"".concat(U,"-search"),style:{width:A},onFocus:function(){z(!0)},onBlur:function(){z(!1)}},l.createElement(oG,{ref:c,open:i,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:m,autoComplete:h,editable:K,activeDescendantId:b,value:H,onKeyDown:$,onMouseDown:M,onChange:_,onPaste:R,onCompositionStart:P,onCompositionEnd:D,tabIndex:y,attrs:fr(t,!0)}),l.createElement("span",{ref:O,className:"".concat(U,"-search-mirror"),"aria-hidden":!0},H," ")),Z=l.createElement(Ao,{prefixCls:"".concat(U,"-overflow"),data:a,renderItem:ae,renderRest:W,suffix:q,itemKey:qge,maxCount:v});return l.createElement(l.Fragment,null,Z,!a.length&&!H&&l.createElement("span",{className:"".concat(U,"-placeholder")},u))},Yge=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,i=t.inputRef,o=t.disabled,s=t.autoFocus,c=t.autoComplete,u=t.activeDescendantId,d=t.mode,p=t.open,g=t.values,m=t.placeholder,h=t.tabIndex,b=t.showSearch,y=t.searchValue,S=t.activeValue,v=t.maxLength,x=t.onInputKeyDown,w=t.onInputMouseDown,C=t.onInputChange,E=t.onInputPaste,I=t.onInputCompositionStart,T=t.onInputCompositionEnd,_=t.title,R=l.useState(!1),$=se(R,2),M=$[0],P=$[1],D=d==="combobox",O=D||b,k=g[0],N=y||"";D&&S&&!M&&(N=S),l.useEffect(function(){D&&P(!1)},[D,S]);var A=d!=="combobox"&&!p&&!b?!1:!!N,L=_===void 0?lG(k):_,j=l.useMemo(function(){return k?null:l.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:A?{visibility:"hidden"}:void 0},m)},[k,A,m,r]);return l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(r,"-selection-search")},l.createElement(oG,{ref:i,prefixCls:r,id:a,open:p,inputElement:n,disabled:o,autoFocus:s,autoComplete:c,editable:O,activeDescendantId:u,value:N,onKeyDown:x,onMouseDown:w,onChange:function(B){P(!0),C(B)},onPaste:E,onCompositionStart:I,onCompositionEnd:T,tabIndex:h,attrs:fr(t,!0),maxLength:D?v:void 0})),!D&&k?l.createElement("span",{className:"".concat(r,"-selection-item"),title:L,style:A?{visibility:"hidden"}:void 0},k.label):null,j)},Xge=function(t,n){var r=l.useRef(null),a=l.useRef(!1),i=t.prefixCls,o=t.open,s=t.mode,c=t.showSearch,u=t.tokenWithEnter,d=t.disabled,p=t.autoClearSearchValue,g=t.onSearch,m=t.onSearchSubmit,h=t.onToggleOpen,b=t.onInputKeyDown,y=t.domRef;l.useImperativeHandle(n,function(){return{focus:function(A){r.current.focus(A)},blur:function(){r.current.blur()}}});var S=nG(0),v=se(S,2),x=v[0],w=v[1],C=function(A){var L=A.which;(L===Fe.UP||L===Fe.DOWN)&&A.preventDefault(),b&&b(A),L===Fe.ENTER&&s==="tags"&&!a.current&&!o&&(m==null||m(A.target.value)),$ge(L)&&h(!0)},E=function(){w(!0)},I=l.useRef(null),T=function(A){g(A,!0,a.current)!==!1&&h(!0)},_=function(){a.current=!0},R=function(A){a.current=!1,s!=="combobox"&&T(A.target.value)},$=function(A){var L=A.target.value;if(u&&I.current&&/[\r\n]/.test(I.current)){var j=I.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");L=L.replace(j,I.current)}I.current=null,T(L)},M=function(A){var L=A.clipboardData,j=L==null?void 0:L.getData("text");I.current=j||""},P=function(A){var L=A.target;if(L!==r.current){var j=document.body.style.msTouchAction!==void 0;j?setTimeout(function(){r.current.focus()}):r.current.focus()}},D=function(A){var L=x();A.target!==r.current&&!L&&!(s==="combobox"&&d)&&A.preventDefault(),(s!=="combobox"&&(!c||!L)||!o)&&(o&&p!==!1&&g("",!0,!1),h())},O={inputRef:r,onInputKeyDown:C,onInputMouseDown:E,onInputChange:$,onInputPaste:M,onInputCompositionStart:_,onInputCompositionEnd:R},k=s==="multiple"||s==="tags"?l.createElement(Kge,be({},t,O)):l.createElement(Yge,be({},t,O));return l.createElement("div",{ref:y,className:"".concat(i,"-selector"),onClick:P,onMouseDown:D},k)},Zge=l.forwardRef(Xge);function Qge(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,i=r||{},o=i.className,s=i.content,c=a.x,u=c===void 0?0:c,d=a.y,p=d===void 0?0:d,g=l.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(n.autoArrow!==!1){var h=n.points[0],b=n.points[1],y=h[0],S=h[1],v=b[0],x=b[1];y===v||!["t","b"].includes(y)?m.top=p:y==="t"?m.top=0:m.bottom=0,S===x||!["l","r"].includes(S)?m.left=u:S==="l"?m.left=0:m.right=0}return l.createElement("div",{ref:g,className:oe("".concat(t,"-arrow"),o),style:m},s)}function Jge(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,i=e.motion;return a?l.createElement(na,be({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(o){var s=o.className;return l.createElement("div",{style:{zIndex:r},className:oe("".concat(t,"-mask"),s)})}):null}var eme=l.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),tme=l.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,i=e.style,o=e.target,s=e.onVisibleChanged,c=e.open,u=e.keepDom,d=e.fresh,p=e.onClick,g=e.mask,m=e.arrow,h=e.arrowPos,b=e.align,y=e.motion,S=e.maskMotion,v=e.forceRender,x=e.getPopupContainer,w=e.autoDestroy,C=e.portal,E=e.zIndex,I=e.onMouseEnter,T=e.onMouseLeave,_=e.onPointerEnter,R=e.ready,$=e.offsetX,M=e.offsetY,P=e.offsetR,D=e.offsetB,O=e.onAlign,k=e.onPrepare,N=e.stretch,A=e.targetWidth,L=e.targetHeight,j=typeof n=="function"?n():n,F=c||u,B=(x==null?void 0:x.length)>0,z=l.useState(!x||!B),U=se(z,2),H=U[0],K=U[1];if(Zt(function(){!H&&B&&o&&K(!0)},[H,B,o]),!H)return null;var Y="auto",ee={left:"-1000vw",top:"-1000vh",right:Y,bottom:Y};if(R||!c){var ae,W=b.points,q=b.dynamicInset||((ae=b._experimental)===null||ae===void 0?void 0:ae.dynamicInset),Z=q&&W[0][1]==="r",Q=q&&W[0][0]==="b";Z?(ee.right=P,ee.left=Y):(ee.left=$,ee.right=Y),Q?(ee.bottom=D,ee.top=Y):(ee.top=M,ee.bottom=Y)}var J={};return N&&(N.includes("height")&&L?J.height=L:N.includes("minHeight")&&L&&(J.minHeight=L),N.includes("width")&&A?J.width=A:N.includes("minWidth")&&A&&(J.minWidth=A)),c||(J.pointerEvents="none"),l.createElement(C,{open:v||F,getContainer:x&&function(){return x(o)},autoDestroy:w},l.createElement(Jge,{prefixCls:a,open:c,zIndex:E,mask:g,motion:S}),l.createElement(Ta,{onResize:O,disabled:!c},function(le){return l.createElement(na,be({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:v,leavedClassName:"".concat(a,"-hidden")},y,{onAppearPrepare:k,onEnterPrepare:k,visible:c,onVisibleChanged:function(pe){var te;y==null||(te=y.onVisibleChanged)===null||te===void 0||te.call(y,pe),s(pe)}}),function(ce,pe){var te=ce.className,ie=ce.style,fe=oe(a,te,r);return l.createElement("div",{ref:ba(le,t,pe),className:fe,style:X(X(X(X({"--arrow-x":"".concat(h.x||0,"px"),"--arrow-y":"".concat(h.y||0,"px")},ee),J),ie),{},{boxSizing:"border-box",zIndex:E},i),onMouseEnter:I,onMouseLeave:T,onPointerEnter:_,onClick:p},m&&l.createElement(Qge,{prefixCls:a,arrow:m,arrowPos:h,align:b}),l.createElement(eme,{cache:!c&&!d},j))})}))}),nme=l.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=Po(n),i=l.useCallback(function(s){Fg(t,r?r(s):s)},[r]),o=Vs(i,n.ref);return a?l.cloneElement(n,{ref:o}):n}),M4=l.createContext(null);function P4(e){return e?Array.isArray(e)?e:[e]:[]}function rme(e,t,n,r){return l.useMemo(function(){var a=P4(n??t),i=P4(r??t),o=new Set(a),s=new Set(i);return e&&(o.has("hover")&&(o.delete("hover"),o.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[o,s]},[e,t,n,r])}function ame(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function ime(e,t,n,r){for(var a=n.points,i=Object.keys(e),o=0;o1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function up(e){return Zg(parseFloat(e),0)}function j4(e,t){var n=X({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=Bm(r).getComputedStyle(r),i=a.overflow,o=a.overflowClipMargin,s=a.borderTopWidth,c=a.borderBottomWidth,u=a.borderLeftWidth,d=a.borderRightWidth,p=r.getBoundingClientRect(),g=r.offsetHeight,m=r.clientHeight,h=r.offsetWidth,b=r.clientWidth,y=up(s),S=up(c),v=up(u),x=up(d),w=Zg(Math.round(p.width/h*1e3)/1e3),C=Zg(Math.round(p.height/g*1e3)/1e3),E=(h-b-v-x)*w,I=(g-m-y-S)*C,T=y*C,_=S*C,R=v*w,$=x*w,M=0,P=0;if(i==="clip"){var D=up(o);M=D*w,P=D*C}var O=p.x+R-M,k=p.y+T-P,N=O+p.width+2*M-R-$-E,A=k+p.height+2*P-T-_-I;n.left=Math.max(n.left,O),n.top=Math.max(n.top,k),n.right=Math.min(n.right,N),n.bottom=Math.min(n.bottom,A)}}),n}function F4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function B4(e,t){var n=t||[],r=se(n,2),a=r[0],i=r[1];return[F4(e.width,a),F4(e.height,i)]}function z4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Mu(e,t){var n=t[0],r=t[1],a,i;return n==="t"?i=e.y:n==="b"?i=e.y+e.height:i=e.y+e.height/2,r==="l"?a=e.x:r==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:i}}function Qs(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,a){return a===t?n[r]||"c":r}).join("")}function ome(e,t,n,r,a,i,o){var s=l.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),c=se(s,2),u=c[0],d=c[1],p=l.useRef(0),g=l.useMemo(function(){return t?__(t):[]},[t]),m=l.useRef({}),h=function(){m.current={}};e||h();var b=Yt(function(){if(t&&n&&e){let Ir=function(ka,Sa){var zi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:me,Iu=U.x+ka,Tu=U.y+Sa,Pt=Iu+Q,Qt=Tu+Z,Xn=Math.max(Iu,zi.left),yr=Math.max(Tu,zi.top),lr=Math.min(Pt,zi.right),Xs=Math.min(Qt,zi.bottom);return Math.max(0,(lr-Xn)*(Xs-yr))},xa=function(){Ot=U.y+Re,ht=Ot+Z,ct=U.x+Oe,Et=ct+Q};var Hn=Ir,sr=xa,v,x,w,C,E=t,I=E.ownerDocument,T=Bm(E),_=T.getComputedStyle(E),R=_.width,$=_.height,M=_.position,P=E.style.left,D=E.style.top,O=E.style.right,k=E.style.bottom,N=E.style.overflow,A=X(X({},a[r]),i),L=I.createElement("div");(v=E.parentElement)===null||v===void 0||v.appendChild(L),L.style.left="".concat(E.offsetLeft,"px"),L.style.top="".concat(E.offsetTop,"px"),L.style.position=M,L.style.height="".concat(E.offsetHeight,"px"),L.style.width="".concat(E.offsetWidth,"px"),E.style.left="0",E.style.top="0",E.style.right="auto",E.style.bottom="auto",E.style.overflow="hidden";var j;if(Array.isArray(n))j={x:n[0],y:n[1],width:0,height:0};else{var F,B,z=n.getBoundingClientRect();z.x=(F=z.x)!==null&&F!==void 0?F:z.left,z.y=(B=z.y)!==null&&B!==void 0?B:z.top,j={x:z.x,y:z.y,width:z.width,height:z.height}}var U=E.getBoundingClientRect();U.x=(x=U.x)!==null&&x!==void 0?x:U.left,U.y=(w=U.y)!==null&&w!==void 0?w:U.top;var H=I.documentElement,K=H.clientWidth,Y=H.clientHeight,ee=H.scrollWidth,ae=H.scrollHeight,W=H.scrollTop,q=H.scrollLeft,Z=U.height,Q=U.width,J=j.height,le=j.width,ce={left:0,top:0,right:K,bottom:Y},pe={left:-q,top:-W,right:ee-q,bottom:ae-W},te=A.htmlRegion,ie="visible",fe="visibleFirst";te!=="scroll"&&te!==fe&&(te=ie);var ge=te===fe,ne=j4(pe,g),ue=j4(ce,g),me=te===ie?ue:ne,xe=ge?ue:me;E.style.left="auto",E.style.top="auto",E.style.right="0",E.style.bottom="0";var Ie=E.getBoundingClientRect();E.style.left=P,E.style.top=D,E.style.right=O,E.style.bottom=k,E.style.overflow=N,(C=E.parentElement)===null||C===void 0||C.removeChild(L);var ke=Zg(Math.round(Q/parseFloat(R)*1e3)/1e3),$e=Zg(Math.round(Z/parseFloat($)*1e3)/1e3);if(ke===0||$e===0||jg(n)&&!If(n))return;var Le=A.offset,je=A.targetOffset,He=B4(U,Le),Be=se(He,2),Pe=Be[0],Se=Be[1],Ne=B4(j,je),Te=se(Ne,2),Ce=Te[0],De=Te[1];j.x-=Ce,j.y-=De;var Ge=A.points||[],lt=se(Ge,2),he=lt[0],re=lt[1],ve=z4(re),_e=z4(he),ze=Mu(j,ve),Ue=Mu(U,_e),Ae=X({},A),Oe=ze.x-Ue.x+Pe,Re=ze.y-Ue.y+Se,at=Ir(Oe,Re),Ye=Ir(Oe,Re,ue),We=Mu(j,["t","l"]),qe=Mu(U,["t","l"]),Qe=Mu(j,["b","r"]),it=Mu(U,["b","r"]),wt=A.overflow||{},kt=wt.adjustX,xt=wt.adjustY,nt=wt.shiftX,rt=wt.shiftY,bt=function(Sa){return typeof Sa=="boolean"?Sa:Sa>=0},Ot,ht,ct,Et;xa();var Ze=bt(xt),ut=_e[0]===ve[0];if(Ze&&_e[0]==="t"&&(ht>xe.bottom||m.current.bt)){var pt=Re;ut?pt-=Z-J:pt=We.y-it.y-Se;var et=Ir(Oe,pt),Xe=Ir(Oe,pt,ue);et>at||et===at&&(!ge||Xe>=Ye)?(m.current.bt=!0,Re=pt,Se=-Se,Ae.points=[Qs(_e,0),Qs(ve,0)]):m.current.bt=!1}if(Ze&&_e[0]==="b"&&(Otat||At===at&&(!ge||qt>=Ye)?(m.current.tb=!0,Re=$t,Se=-Se,Ae.points=[Qs(_e,0),Qs(ve,0)]):m.current.tb=!1}var hn=bt(kt),gn=_e[1]===ve[1];if(hn&&_e[1]==="l"&&(Et>xe.right||m.current.rl)){var yt=Oe;gn?yt-=Q-le:yt=We.x-it.x-Pe;var Dt=Ir(yt,Re),jt=Ir(yt,Re,ue);Dt>at||Dt===at&&(!ge||jt>=Ye)?(m.current.rl=!0,Oe=yt,Pe=-Pe,Ae.points=[Qs(_e,1),Qs(ve,1)]):m.current.rl=!1}if(hn&&_e[1]==="r"&&(ctat||Nn===at&&(!ge||Dr>=Ye)?(m.current.lr=!0,Oe=Jt,Pe=-Pe,Ae.points=[Qs(_e,1),Qs(ve,1)]):m.current.lr=!1}xa();var or=nt===!0?0:nt;typeof or=="number"&&(ctue.right&&(Oe-=Et-ue.right-Pe,j.x>ue.right-or&&(Oe+=j.x-ue.right+or)));var wr=rt===!0?0:rt;typeof wr=="number"&&(Otue.bottom&&(Re-=ht-ue.bottom-Se,j.y>ue.bottom-wr&&(Re+=j.y-ue.bottom+wr)));var tr=U.x+Oe,Pr=tr+Q,nr=U.y+Re,en=nr+Z,Rt=j.x,Ht=Rt+le,Vt=j.y,on=Vt+J,It=Math.max(tr,Rt),Mt=Math.min(Pr,Ht),bn=(It+Mt)/2,zn=bn-tr,Cr=Math.max(nr,Vt),Er=Math.min(en,on),Lr=(Cr+Er)/2,Xt=Lr-nr;o==null||o(t,Ae);var gt=Ie.right-U.x-(Oe+U.width),St=Ie.bottom-U.y-(Re+U.height);ke===1&&(Oe=Math.round(Oe),gt=Math.round(gt)),$e===1&&(Re=Math.round(Re),St=Math.round(St));var un={ready:!0,offsetX:Oe/ke,offsetY:Re/$e,offsetR:gt/ke,offsetB:St/$e,arrowX:zn/ke,arrowY:Xt/$e,scaleX:ke,scaleY:$e,align:Ae};d(un)}}),y=function(){p.current+=1;var x=p.current;Promise.resolve().then(function(){p.current===x&&b()})},S=function(){d(function(x){return X(X({},x),{},{ready:!1})})};return Zt(S,[r]),Zt(function(){e||S()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,y]}function sme(e,t,n,r,a){Zt(function(){if(e&&t&&n){let g=function(){r(),a()};var p=g,i=t,o=n,s=__(i),c=__(o),u=Bm(o),d=new Set([u].concat(Me(s),Me(c)));return d.forEach(function(m){m.addEventListener("scroll",g,{passive:!0})}),u.addEventListener("resize",g,{passive:!0}),r(),function(){d.forEach(function(m){m.removeEventListener("scroll",g),u.removeEventListener("resize",g)})}}},[e,t,n])}function lme(e,t,n,r,a,i,o,s){var c=l.useRef(e);c.current=e,l.useEffect(function(){if(t&&r&&(!a||i)){var u=function(m){var h;c.current&&!o(((h=m.composedPath)===null||h===void 0||(h=h.call(m))===null||h===void 0?void 0:h[0])||m.target)&&s(!1)},d=Bm(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var p=r0(n);return p&&(p.addEventListener("mousedown",u,!0),p.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),p&&(p.removeEventListener("mousedown",u,!0),p.removeEventListener("contextmenu",u,!0))}}},[t,n,r,a,i])}var cme=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ume(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pm,t=l.forwardRef(function(n,r){var a=n.prefixCls,i=a===void 0?"rc-trigger-popup":a,o=n.children,s=n.action,c=s===void 0?"hover":s,u=n.showAction,d=n.hideAction,p=n.popupVisible,g=n.defaultPopupVisible,m=n.onPopupVisibleChange,h=n.afterPopupVisibleChange,b=n.mouseEnterDelay,y=n.mouseLeaveDelay,S=y===void 0?.1:y,v=n.focusDelay,x=n.blurDelay,w=n.mask,C=n.maskClosable,E=C===void 0?!0:C,I=n.getPopupContainer,T=n.forceRender,_=n.autoDestroy,R=n.destroyPopupOnHide,$=n.popup,M=n.popupClassName,P=n.popupStyle,D=n.popupPlacement,O=n.builtinPlacements,k=O===void 0?{}:O,N=n.popupAlign,A=n.zIndex,L=n.stretch,j=n.getPopupClassNameFromAlign,F=n.fresh,B=n.alignPoint,z=n.onPopupClick,U=n.onPopupAlign,H=n.arrow,K=n.popupMotion,Y=n.maskMotion,ee=n.popupTransitionName,ae=n.popupAnimation,W=n.maskTransitionName,q=n.maskAnimation,Z=n.className,Q=n.getTriggerDOMNode,J=Ct(n,cme),le=_||R||!1,ce=l.useState(!1),pe=se(ce,2),te=pe[0],ie=pe[1];Zt(function(){ie(jy())},[]);var fe=l.useRef({}),ge=l.useContext(M4),ne=l.useMemo(function(){return{registerSubPopup:function(Qt,Xn){fe.current[Qt]=Xn,ge==null||ge.registerSubPopup(Qt,Xn)}}},[ge]),ue=hW(),me=l.useState(null),xe=se(me,2),Ie=xe[0],ke=xe[1],$e=l.useRef(null),Le=Yt(function(Pt){$e.current=Pt,jg(Pt)&&Ie!==Pt&&ke(Pt),ge==null||ge.registerSubPopup(ue,Pt)}),je=l.useState(null),He=se(je,2),Be=He[0],Pe=He[1],Se=l.useRef(null),Ne=Yt(function(Pt){jg(Pt)&&Be!==Pt&&(Pe(Pt),Se.current=Pt)}),Te=l.Children.only(o),Ce=(Te==null?void 0:Te.props)||{},De={},Ge=Yt(function(Pt){var Qt,Xn,yr=Be;return(yr==null?void 0:yr.contains(Pt))||((Qt=r0(yr))===null||Qt===void 0?void 0:Qt.host)===Pt||Pt===yr||(Ie==null?void 0:Ie.contains(Pt))||((Xn=r0(Ie))===null||Xn===void 0?void 0:Xn.host)===Pt||Pt===Ie||Object.values(fe.current).some(function(lr){return(lr==null?void 0:lr.contains(Pt))||Pt===lr})}),lt=L4(i,K,ae,ee),he=L4(i,Y,q,W),re=l.useState(g||!1),ve=se(re,2),_e=ve[0],ze=ve[1],Ue=p??_e,Ae=Yt(function(Pt){p===void 0&&ze(Pt)});Zt(function(){ze(p||!1)},[p]);var Oe=l.useRef(Ue);Oe.current=Ue;var Re=l.useRef([]);Re.current=[];var at=Yt(function(Pt){var Qt;Ae(Pt),((Qt=Re.current[Re.current.length-1])!==null&&Qt!==void 0?Qt:Ue)!==Pt&&(Re.current.push(Pt),m==null||m(Pt))}),Ye=l.useRef(),We=function(){clearTimeout(Ye.current)},qe=function(Qt){var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;We(),Xn===0?at(Qt):Ye.current=setTimeout(function(){at(Qt)},Xn*1e3)};l.useEffect(function(){return We},[]);var Qe=l.useState(!1),it=se(Qe,2),wt=it[0],kt=it[1];Zt(function(Pt){(!Pt||Ue)&&kt(!0)},[Ue]);var xt=l.useState(null),nt=se(xt,2),rt=nt[0],bt=nt[1],Ot=l.useState(null),ht=se(Ot,2),ct=ht[0],Et=ht[1],Ze=function(Qt){Et([Qt.clientX,Qt.clientY])},ut=ome(Ue,Ie,B&&ct!==null?ct:Be,D,k,N,U),pt=se(ut,11),et=pt[0],Xe=pt[1],$t=pt[2],At=pt[3],qt=pt[4],hn=pt[5],gn=pt[6],yt=pt[7],Dt=pt[8],jt=pt[9],Jt=pt[10],Nn=rme(te,c,u,d),Dr=se(Nn,2),or=Dr[0],wr=Dr[1],tr=or.has("click"),Pr=wr.has("click")||wr.has("contextMenu"),nr=Yt(function(){wt||Jt()}),en=function(){Oe.current&&B&&Pr&&qe(!1)};sme(Ue,Be,Ie,nr,en),Zt(function(){nr()},[ct,D]),Zt(function(){Ue&&!(k!=null&&k[D])&&nr()},[JSON.stringify(N)]);var Rt=l.useMemo(function(){var Pt=ime(k,i,jt,B);return oe(Pt,j==null?void 0:j(jt))},[jt,j,k,i,B]);l.useImperativeHandle(r,function(){return{nativeElement:Se.current,popupElement:$e.current,forceAlign:nr}});var Ht=l.useState(0),Vt=se(Ht,2),on=Vt[0],It=Vt[1],Mt=l.useState(0),bn=se(Mt,2),zn=bn[0],Cr=bn[1],Er=function(){if(L&&Be){var Qt=Be.getBoundingClientRect();It(Qt.width),Cr(Qt.height)}},Lr=function(){Er(),nr()},Xt=function(Qt){kt(!1),Jt(),h==null||h(Qt)},gt=function(){return new Promise(function(Qt){Er(),bt(function(){return Qt})})};Zt(function(){rt&&(Jt(),rt(),bt(null))},[rt]);function St(Pt,Qt,Xn,yr){De[Pt]=function(lr){var Xs;yr==null||yr(lr),qe(Qt,Xn);for(var Yf=arguments.length,xh=new Array(Yf>1?Yf-1:0),Ru=1;Ru1?Xn-1:0),lr=1;lr1?Xn-1:0),lr=1;lr1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],i=cG(n,!1),o=i.label,s=i.value,c=i.options,u=i.groupLabel;function d(p,g){Array.isArray(p)&&p.forEach(function(m){if(g||!(c in m)){var h=m[s];a.push({key:H4(m,a.length),groupOption:g,data:m,label:m[o],value:h})}else{var b=m[u];b===void 0&&r&&(b=m.label),a.push({key:H4(m,a.length),group:!0,data:m,label:b}),d(m[c],!0)}})}return d(e,!1),a}function O_(e){var t=X({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return $n(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var hme=function(t,n,r){if(!n||!n.length)return null;var a=!1,i=function s(c,u){var d=dV(u),p=d[0],g=d.slice(1);if(!p)return[c];var m=c.split(p);return a=a||m.length>1,m.reduce(function(h,b){return[].concat(Me(h),Me(s(b,g)))},[]).filter(Boolean)},o=i(t,n);return a?typeof r<"u"?o.slice(0,r):o:null},NN=l.createContext(null);function vme(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return l.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(a){var i=a.label,o=a.value;return["number","string"].includes(mt(i))?i:o}).join(", ")),n.length>r?", ...":null)}var bme=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],yme=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],N_=function(t){return t==="tags"||t==="multiple"},uG=l.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,i=e.className,o=e.showSearch,s=e.tagRender,c=e.direction,u=e.omitDomProps,d=e.displayValues,p=e.onDisplayValuesChange,g=e.emptyOptions,m=e.notFoundContent,h=m===void 0?"Not Found":m,b=e.onClear,y=e.mode,S=e.disabled,v=e.loading,x=e.getInputElement,w=e.getRawInputElement,C=e.open,E=e.defaultOpen,I=e.onDropdownVisibleChange,T=e.activeValue,_=e.onActiveValueChange,R=e.activeDescendantId,$=e.searchValue,M=e.autoClearSearchValue,P=e.onSearch,D=e.onSearchSplit,O=e.tokenSeparators,k=e.allowClear,N=e.suffixIcon,A=e.clearIcon,L=e.OptionList,j=e.animation,F=e.transitionName,B=e.dropdownStyle,z=e.dropdownClassName,U=e.dropdownMatchSelectWidth,H=e.dropdownRender,K=e.dropdownAlign,Y=e.placement,ee=e.builtinPlacements,ae=e.getPopupContainer,W=e.showAction,q=W===void 0?[]:W,Z=e.onFocus,Q=e.onBlur,J=e.onKeyUp,le=e.onKeyDown,ce=e.onMouseDown,pe=Ct(e,bme),te=N_(y),ie=(o!==void 0?o:te)||y==="combobox",fe=X({},pe);yme.forEach(function(en){delete fe[en]}),u==null||u.forEach(function(en){delete fe[en]});var ge=l.useState(!1),ne=se(ge,2),ue=ne[0],me=ne[1];l.useEffect(function(){me(jy())},[]);var xe=l.useRef(null),Ie=l.useRef(null),ke=l.useRef(null),$e=l.useRef(null),Le=l.useRef(null),je=l.useRef(!1),He=Rge(),Be=se(He,3),Pe=Be[0],Se=Be[1],Ne=Be[2];l.useImperativeHandle(t,function(){var en,Rt;return{focus:(en=$e.current)===null||en===void 0?void 0:en.focus,blur:(Rt=$e.current)===null||Rt===void 0?void 0:Rt.blur,scrollTo:function(Vt){var on;return(on=Le.current)===null||on===void 0?void 0:on.scrollTo(Vt)},nativeElement:xe.current||Ie.current}});var Te=l.useMemo(function(){var en;if(y!=="combobox")return $;var Rt=(en=d[0])===null||en===void 0?void 0:en.value;return typeof Rt=="string"||typeof Rt=="number"?String(Rt):""},[$,y,d]),Ce=y==="combobox"&&typeof x=="function"&&x()||null,De=typeof w=="function"&&w(),Ge=Vs(Ie,De==null||(n=De.props)===null||n===void 0?void 0:n.ref),lt=l.useState(!1),he=se(lt,2),re=he[0],ve=he[1];Zt(function(){ve(!0)},[]);var _e=pn(!1,{defaultValue:E,value:C}),ze=se(_e,2),Ue=ze[0],Ae=ze[1],Oe=re?Ue:!1,Re=!h&&g;(S||Re&&Oe&&y==="combobox")&&(Oe=!1);var at=Re?!1:Oe,Ye=l.useCallback(function(en){var Rt=en!==void 0?en:!Oe;S||(Ae(Rt),Oe!==Rt&&(I==null||I(Rt)))},[S,Oe,Ae,I]),We=l.useMemo(function(){return(O||[]).some(function(en){return[` -`,`\r -`].includes(en)})},[O]),qe=l.useContext(NN)||{},Qe=qe.maxCount,it=qe.rawValues,wt=function(Rt,Ht,Vt){if(!(te&&$_(Qe)&&(it==null?void 0:it.size)>=Qe)){var on=!0,It=Rt;_==null||_(null);var Mt=hme(Rt,O,$_(Qe)?Qe-it.size:void 0),bn=Vt?null:Mt;return y!=="combobox"&&bn&&(It="",D==null||D(bn),Ye(!1),on=!1),P&&Te!==It&&P(It,{source:Ht?"typing":"effect"}),on}},kt=function(Rt){!Rt||!Rt.trim()||P(Rt,{source:"submit"})};l.useEffect(function(){!Oe&&!te&&y!=="combobox"&&wt("",!1,!1)},[Oe]),l.useEffect(function(){Ue&&S&&Ae(!1),S&&!je.current&&Se(!1)},[S]);var xt=nG(),nt=se(xt,2),rt=nt[0],bt=nt[1],Ot=l.useRef(!1),ht=function(Rt){var Ht=rt(),Vt=Rt.key,on=Vt==="Enter";if(on&&(y!=="combobox"&&Rt.preventDefault(),Oe||Ye(!0)),bt(!!Te),Vt==="Backspace"&&!Ht&&te&&!Te&&d.length){for(var It=Me(d),Mt=null,bn=It.length-1;bn>=0;bn-=1){var zn=It[bn];if(!zn.disabled){It.splice(bn,1),Mt=zn;break}}Mt&&p(It,{type:"remove",values:[Mt]})}for(var Cr=arguments.length,Er=new Array(Cr>1?Cr-1:0),Lr=1;Lr1?Ht-1:0),on=1;on1?Mt-1:0),zn=1;zn"u"?"undefined":mt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const fG=function(e,t,n,r){var a=l.useRef(!1),i=l.useRef(null);function o(){clearTimeout(i.current),a.current=!0,i.current=setTimeout(function(){a.current=!1},50)}var s=l.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(c,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=c?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return d&&p?(clearTimeout(i.current),a.current=!1):(!p||a.current)&&o(),!a.current&&p}};function Eme(e,t,n,r,a,i,o){var s=l.useRef(0),c=l.useRef(null),u=l.useRef(null),d=l.useRef(!1),p=fG(t,n,r,a);function g(v,x){if(Gt.cancel(c.current),!p(!1,x)){var w=v;if(!w._virtualHandled)w._virtualHandled=!0;else return;s.current+=x,u.current=x,U4||w.preventDefault(),c.current=Gt(function(){var C=d.current?10:1;o(s.current*C,!1),s.current=0})}}function m(v,x){o(x,!0),U4||v.preventDefault()}var h=l.useRef(null),b=l.useRef(null);function y(v){if(e){Gt.cancel(b.current),b.current=Gt(function(){h.current=null},2);var x=v.deltaX,w=v.deltaY,C=v.shiftKey,E=x,I=w;(h.current==="sx"||!h.current&&C&&w&&!x)&&(E=w,I=0,h.current="sx");var T=Math.abs(E),_=Math.abs(I);h.current===null&&(h.current=i&&T>_?"x":"y"),h.current==="y"?g(v,I):m(v,E)}}function S(v){e&&(d.current=v.detail===u.current)}return[y,S]}function Ime(e,t,n,r){var a=l.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=se(a,2),o=i[0],s=i[1],c=function(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,g=o.get(d),m=o.get(p);if(g===void 0||m===void 0)for(var h=e.length,b=s.length;b0&&arguments[0]!==void 0?arguments[0]:!1;d();var h=function(){s.current.forEach(function(y,S){if(y&&y.offsetParent){var v=Zp(y),x=v.offsetHeight;c.current.get(S)!==x&&c.current.set(S,v.offsetHeight)}}),o(function(y){return y+1})};m?h():u.current=Gt(h)}function g(m,h){var b=e(m);s.current.get(b),h?(s.current.set(b,h),p()):s.current.delete(b)}return l.useEffect(function(){return d},[]),[g,p,c.current,i]}var V4=14/15;function _me(e,t,n){var r=l.useRef(!1),a=l.useRef(0),i=l.useRef(0),o=l.useRef(null),s=l.useRef(null),c,u=function(m){if(r.current){var h=Math.ceil(m.touches[0].pageX),b=Math.ceil(m.touches[0].pageY),y=a.current-h,S=i.current-b,v=Math.abs(y)>Math.abs(S);v?a.current=h:i.current=b;var x=n(v,v?y:S,!1,m);x&&m.preventDefault(),clearInterval(s.current),x&&(s.current=setInterval(function(){v?y*=V4:S*=V4;var w=Math.floor(v?y:S);(!n(v,w,!0)||Math.abs(w)<=.1)&&clearInterval(s.current)},16))}},d=function(){r.current=!1,c()},p=function(m){c(),m.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(m.touches[0].pageX),i.current=Math.ceil(m.touches[0].pageY),o.current=m.target,o.current.addEventListener("touchmove",u,{passive:!1}),o.current.addEventListener("touchend",d,{passive:!0}))};c=function(){o.current&&(o.current.removeEventListener("touchmove",u),o.current.removeEventListener("touchend",d))},Zt(function(){return e&&t.current.addEventListener("touchstart",p,{passive:!0}),function(){var g;(g=t.current)===null||g===void 0||g.removeEventListener("touchstart",p),c(),clearInterval(s.current)}},[e])}var $me=10;function Ome(e,t,n,r,a,i,o,s){var c=l.useRef(),u=l.useState(null),d=se(u,2),p=d[0],g=d[1];return Zt(function(){if(p&&p.times<$me){if(!e.current){g(function(L){return X({},L)});return}i();var m=p.targetAlign,h=p.originAlign,b=p.index,y=p.offset,S=e.current.clientHeight,v=!1,x=m,w=null;if(S){for(var C=m||h,E=0,I=0,T=0,_=Math.min(t.length-1,b),R=0;R<=_;R+=1){var $=a(t[R]);I=E;var M=n.get($);T=I+(M===void 0?r:M),E=T}for(var P=C==="top"?y:S-y,D=_;D>=0;D-=1){var O=a(t[D]),k=n.get(O);if(k===void 0){v=!0;break}if(P-=k,P<=0)break}switch(C){case"top":w=I-y;break;case"bottom":w=T-S+y;break;default:{var N=e.current.scrollTop,A=N+S;IA&&(x="bottom")}}w!==null&&o(w),w!==p.lastTop&&(v=!0)}v&&g(X(X({},p),{},{times:p.times+1,targetAlign:x,lastTop:w}))}},[p,e.current]),function(m){if(m==null){s();return}if(Gt.cancel(c.current),typeof m=="number")o(m);else if(m&&mt(m)==="object"){var h,b=m.align;"index"in m?h=m.index:h=t.findIndex(function(v){return a(v)===m.key});var y=m.offset,S=y===void 0?0:y;g({times:0,index:h,offset:S,originAlign:b})}}}function W4(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var G4=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,i=e.scrollRange,o=e.onStartMove,s=e.onStopMove,c=e.onScroll,u=e.horizontal,d=e.spinSize,p=e.containerSize,g=e.style,m=e.thumbStyle,h=l.useState(!1),b=se(h,2),y=b[0],S=b[1],v=l.useState(null),x=se(v,2),w=x[0],C=x[1],E=l.useState(null),I=se(E,2),T=I[0],_=I[1],R=!r,$=l.useRef(),M=l.useRef(),P=l.useState(!1),D=se(P,2),O=D[0],k=D[1],N=l.useRef(),A=function(){clearTimeout(N.current),k(!0),N.current=setTimeout(function(){k(!1)},3e3)},L=i-p||0,j=p-d||0,F=l.useMemo(function(){if(a===0||L===0)return 0;var W=a/L;return W*j},[a,L,j]),B=function(q){q.stopPropagation(),q.preventDefault()},z=l.useRef({top:F,dragging:y,pageY:w,startTop:T});z.current={top:F,dragging:y,pageY:w,startTop:T};var U=function(q){S(!0),C(W4(q,u)),_(z.current.top),o(),q.stopPropagation(),q.preventDefault()};l.useEffect(function(){var W=function(J){J.preventDefault()},q=$.current,Z=M.current;return q.addEventListener("touchstart",W,{passive:!1}),Z.addEventListener("touchstart",U,{passive:!1}),function(){q.removeEventListener("touchstart",W),Z.removeEventListener("touchstart",U)}},[]);var H=l.useRef();H.current=L;var K=l.useRef();K.current=j,l.useEffect(function(){if(y){var W,q=function(J){var le=z.current,ce=le.dragging,pe=le.pageY,te=le.startTop;Gt.cancel(W);var ie=$.current.getBoundingClientRect(),fe=p/(u?ie.width:ie.height);if(ce){var ge=(W4(J,u)-pe)*fe,ne=te;!R&&u?ne-=ge:ne+=ge;var ue=H.current,me=K.current,xe=me?ne/me:0,Ie=Math.ceil(xe*ue);Ie=Math.max(Ie,0),Ie=Math.min(Ie,ue),W=Gt(function(){c(Ie,u)})}},Z=function(){S(!1),s()};return window.addEventListener("mousemove",q,{passive:!0}),window.addEventListener("touchmove",q,{passive:!0}),window.addEventListener("mouseup",Z,{passive:!0}),window.addEventListener("touchend",Z,{passive:!0}),function(){window.removeEventListener("mousemove",q),window.removeEventListener("touchmove",q),window.removeEventListener("mouseup",Z),window.removeEventListener("touchend",Z),Gt.cancel(W)}}},[y]),l.useEffect(function(){return A(),function(){clearTimeout(N.current)}},[a]),l.useImperativeHandle(t,function(){return{delayHidden:A}});var Y="".concat(n,"-scrollbar"),ee={position:"absolute",visibility:O?null:"hidden"},ae={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(ee.height=8,ee.left=0,ee.right=0,ee.bottom=0,ae.height="100%",ae.width=d,R?ae.left=F:ae.right=F):(ee.width=8,ee.top=0,ee.bottom=0,R?ee.right=0:ee.left=0,ae.width="100%",ae.height=d,ae.top=F),l.createElement("div",{ref:$,className:oe(Y,V(V(V({},"".concat(Y,"-horizontal"),u),"".concat(Y,"-vertical"),!u),"".concat(Y,"-visible"),O)),style:X(X({},ee),g),onMouseDown:B,onMouseMove:A},l.createElement("div",{ref:M,className:oe("".concat(Y,"-thumb"),V({},"".concat(Y,"-thumb-moving"),y)),style:X(X({},ae),m),onMouseDown:U}))}),Nme=20;function q4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,Nme),Math.floor(n)}var kme=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Ame=[],Dme={overflowY:"auto",overflowAnchor:"none"};function Mme(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,i=e.height,o=e.itemHeight,s=e.fullHeight,c=s===void 0?!0:s,u=e.style,d=e.data,p=e.children,g=e.itemKey,m=e.virtual,h=e.direction,b=e.scrollWidth,y=e.component,S=y===void 0?"div":y,v=e.onScroll,x=e.onVirtualScroll,w=e.onVisibleChange,C=e.innerProps,E=e.extraRender,I=e.styles,T=Ct(e,kme),_=l.useCallback(function(Ze){return typeof g=="function"?g(Ze):Ze==null?void 0:Ze[g]},[g]),R=Rme(_),$=se(R,4),M=$[0],P=$[1],D=$[2],O=$[3],k=!!(m!==!1&&i&&o),N=l.useMemo(function(){return Object.values(D.maps).reduce(function(Ze,ut){return Ze+ut},0)},[D.id,D.maps]),A=k&&d&&(Math.max(o*d.length,N)>i||!!b),L=h==="rtl",j=oe(r,V({},"".concat(r,"-rtl"),L),a),F=d||Ame,B=l.useRef(),z=l.useRef(),U=l.useRef(),H=l.useState(0),K=se(H,2),Y=K[0],ee=K[1],ae=l.useState(0),W=se(ae,2),q=W[0],Z=W[1],Q=l.useState(!1),J=se(Q,2),le=J[0],ce=J[1],pe=function(){ce(!0)},te=function(){ce(!1)},ie={getKey:_};function fe(Ze){ee(function(ut){var pt;typeof Ze=="function"?pt=Ze(ut):pt=Ze;var et=re(pt);return B.current.scrollTop=et,et})}var ge=l.useRef({start:0,end:F.length}),ne=l.useRef(),ue=Cme(F,_),me=se(ue,1),xe=me[0];ne.current=xe;var Ie=l.useMemo(function(){if(!k)return{scrollHeight:void 0,start:0,end:F.length-1,offset:void 0};if(!A){var Ze;return{scrollHeight:((Ze=z.current)===null||Ze===void 0?void 0:Ze.offsetHeight)||0,start:0,end:F.length-1,offset:void 0}}for(var ut=0,pt,et,Xe,$t=F.length,At=0;At<$t;At+=1){var qt=F[At],hn=_(qt),gn=D.get(hn),yt=ut+(gn===void 0?o:gn);yt>=Y&&pt===void 0&&(pt=At,et=ut),yt>Y+i&&Xe===void 0&&(Xe=At),ut=yt}return pt===void 0&&(pt=0,et=0,Xe=Math.ceil(i/o)),Xe===void 0&&(Xe=F.length-1),Xe=Math.min(Xe+1,F.length-1),{scrollHeight:ut,start:pt,end:Xe,offset:et}},[A,k,Y,F,O,i]),ke=Ie.scrollHeight,$e=Ie.start,Le=Ie.end,je=Ie.offset;ge.current.start=$e,ge.current.end=Le;var He=l.useState({width:0,height:i}),Be=se(He,2),Pe=Be[0],Se=Be[1],Ne=function(ut){Se({width:ut.offsetWidth,height:ut.offsetHeight})},Te=l.useRef(),Ce=l.useRef(),De=l.useMemo(function(){return q4(Pe.width,b)},[Pe.width,b]),Ge=l.useMemo(function(){return q4(Pe.height,ke)},[Pe.height,ke]),lt=ke-i,he=l.useRef(lt);he.current=lt;function re(Ze){var ut=Ze;return Number.isNaN(he.current)||(ut=Math.min(ut,he.current)),ut=Math.max(ut,0),ut}var ve=Y<=0,_e=Y>=lt,ze=q<=0,Ue=q>=b,Ae=fG(ve,_e,ze,Ue),Oe=function(){return{x:L?-q:q,y:Y}},Re=l.useRef(Oe()),at=Yt(function(Ze){if(x){var ut=X(X({},Oe()),Ze);(Re.current.x!==ut.x||Re.current.y!==ut.y)&&(x(ut),Re.current=ut)}});function Ye(Ze,ut){var pt=Ze;ut?(Zr.flushSync(function(){Z(pt)}),at()):fe(pt)}function We(Ze){var ut=Ze.currentTarget.scrollTop;ut!==Y&&fe(ut),v==null||v(Ze),at()}var qe=function(ut){var pt=ut,et=b?b-Pe.width:0;return pt=Math.max(pt,0),pt=Math.min(pt,et),pt},Qe=Yt(function(Ze,ut){ut?(Zr.flushSync(function(){Z(function(pt){var et=pt+(L?-Ze:Ze);return qe(et)})}),at()):fe(function(pt){var et=pt+Ze;return et})}),it=Eme(k,ve,_e,ze,Ue,!!b,Qe),wt=se(it,2),kt=wt[0],xt=wt[1];_me(k,B,function(Ze,ut,pt,et){var Xe=et;return Ae(Ze,ut,pt)?!1:!Xe||!Xe._virtualHandled?(Xe&&(Xe._virtualHandled=!0),kt({preventDefault:function(){},deltaX:Ze?ut:0,deltaY:Ze?0:ut}),!0):!1}),Zt(function(){function Ze(pt){var et=ve&&pt.detail<0,Xe=_e&&pt.detail>0;k&&!et&&!Xe&&pt.preventDefault()}var ut=B.current;return ut.addEventListener("wheel",kt,{passive:!1}),ut.addEventListener("DOMMouseScroll",xt,{passive:!0}),ut.addEventListener("MozMousePixelScroll",Ze,{passive:!1}),function(){ut.removeEventListener("wheel",kt),ut.removeEventListener("DOMMouseScroll",xt),ut.removeEventListener("MozMousePixelScroll",Ze)}},[k,ve,_e]),Zt(function(){if(b){var Ze=qe(q);Z(Ze),at({x:Ze})}},[Pe.width,b]);var nt=function(){var ut,pt;(ut=Te.current)===null||ut===void 0||ut.delayHidden(),(pt=Ce.current)===null||pt===void 0||pt.delayHidden()},rt=Ome(B,F,D,o,_,function(){return P(!0)},fe,nt);l.useImperativeHandle(t,function(){return{nativeElement:U.current,getScrollInfo:Oe,scrollTo:function(ut){function pt(et){return et&&mt(et)==="object"&&("left"in et||"top"in et)}pt(ut)?(ut.left!==void 0&&Z(qe(ut.left)),rt(ut.top)):rt(ut)}}}),Zt(function(){if(w){var Ze=F.slice($e,Le+1);w(Ze,F)}},[$e,Le,F]);var bt=Ime(F,_,D,o),Ot=E==null?void 0:E({start:$e,end:Le,virtual:A,offsetX:q,offsetY:je,rtl:L,getSize:bt}),ht=Sme(F,$e,Le,b,q,M,p,ie),ct=null;i&&(ct=X(V({},c?"height":"maxHeight",i),Dme),k&&(ct.overflowY="hidden",b&&(ct.overflowX="hidden"),le&&(ct.pointerEvents="none")));var Et={};return L&&(Et.dir="rtl"),l.createElement("div",be({ref:U,style:X(X({},u),{},{position:"relative"}),className:j},Et,T),l.createElement(Ta,{onResize:Ne},l.createElement(S,{className:"".concat(r,"-holder"),style:ct,ref:B,onScroll:We,onMouseEnter:nt},l.createElement(dG,{prefixCls:r,height:ke,offsetX:q,offsetY:je,scrollWidth:b,onInnerResize:P,ref:z,innerProps:C,rtl:L,extra:Ot},ht))),A&&ke>i&&l.createElement(G4,{ref:Te,prefixCls:r,scrollOffset:Y,scrollRange:ke,rtl:L,onScroll:Ye,onStartMove:pe,onStopMove:te,spinSize:Ge,containerSize:Pe.height,style:I==null?void 0:I.verticalScrollBar,thumbStyle:I==null?void 0:I.verticalScrollBarThumb}),A&&b>Pe.width&&l.createElement(G4,{ref:Ce,prefixCls:r,scrollOffset:q,scrollRange:b,rtl:L,onScroll:Ye,onStartMove:pe,onStopMove:te,spinSize:De,containerSize:Pe.width,horizontal:!0,style:I==null?void 0:I.horizontalScrollBar,thumbStyle:I==null?void 0:I.horizontalScrollBarThumb}))}var By=l.forwardRef(Mme);By.displayName="List";function Pme(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Lme=["disabled","title","children","style","className"];function K4(e){return typeof e=="string"||typeof e=="number"}var jme=function(t,n){var r=tG(),a=r.prefixCls,i=r.id,o=r.open,s=r.multiple,c=r.mode,u=r.searchValue,d=r.toggleOpen,p=r.notFoundContent,g=r.onPopupScroll,m=l.useContext(NN),h=m.maxCount,b=m.flattenOptions,y=m.onActiveValue,S=m.defaultActiveFirstOption,v=m.onSelect,x=m.menuItemSelectedIcon,w=m.rawValues,C=m.fieldNames,E=m.virtual,I=m.direction,T=m.listHeight,_=m.listItemHeight,R=m.optionRender,$="".concat(a,"-item"),M=Xl(function(){return b},[o,b],function(W,q){return q[0]&&W[1]!==q[1]}),P=l.useRef(null),D=l.useMemo(function(){return s&&$_(h)&&(w==null?void 0:w.size)>=h},[s,h,w==null?void 0:w.size]),O=function(q){q.preventDefault()},k=function(q){var Z;(Z=P.current)===null||Z===void 0||Z.scrollTo(typeof q=="number"?{index:q}:q)},N=function(q){for(var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Q=M.length,J=0;J1&&arguments[1]!==void 0?arguments[1]:!1;F(q);var Q={source:Z?"keyboard":"mouse"},J=M[q];if(!J){y(null,-1,Q);return}y(J.value,q,Q)};l.useEffect(function(){B(S!==!1?N(0):-1)},[M.length,u]);var z=l.useCallback(function(W){return w.has(W)&&c!=="combobox"},[c,Me(w).toString(),w.size]);l.useEffect(function(){var W=setTimeout(function(){if(!s&&o&&w.size===1){var Z=Array.from(w)[0],Q=M.findIndex(function(J){var le=J.data;return le.value===Z});Q!==-1&&(B(Q),k(Q))}});if(o){var q;(q=P.current)===null||q===void 0||q.scrollTo(void 0)}return function(){return clearTimeout(W)}},[o,u]);var U=function(q){q!==void 0&&v(q,{selected:!w.has(q)}),s||d(!1)};if(l.useImperativeHandle(n,function(){return{onKeyDown:function(q){var Z=q.which,Q=q.ctrlKey;switch(Z){case Fe.N:case Fe.P:case Fe.UP:case Fe.DOWN:{var J=0;if(Z===Fe.UP?J=-1:Z===Fe.DOWN?J=1:Pme()&&Q&&(Z===Fe.N?J=1:Z===Fe.P&&(J=-1)),J!==0){var le=N(j+J,J);k(le),B(le,!0)}break}case Fe.ENTER:{var ce,pe=M[j];pe&&!(pe!=null&&(ce=pe.data)!==null&&ce!==void 0&&ce.disabled)&&!D?U(pe.value):U(void 0),o&&q.preventDefault();break}case Fe.ESC:d(!1),o&&q.stopPropagation()}},onKeyUp:function(){},scrollTo:function(q){k(q)}}}),M.length===0)return l.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat($,"-empty"),onMouseDown:O},p);var H=Object.keys(C).map(function(W){return C[W]}),K=function(q){return q.label};function Y(W,q){var Z=W.group;return{role:Z?"presentation":"option",id:"".concat(i,"_list_").concat(q)}}var ee=function(q){var Z=M[q];if(!Z)return null;var Q=Z.data||{},J=Q.value,le=Z.group,ce=fr(Q,!0),pe=K(Z);return Z?l.createElement("div",be({"aria-label":typeof pe=="string"&&!le?pe:null},ce,{key:q},Y(Z,q),{"aria-selected":z(J)}),J):null},ae={role:"listbox",id:"".concat(i,"_list")};return l.createElement(l.Fragment,null,E&&l.createElement("div",be({},ae,{style:{height:0,width:0,overflow:"hidden"}}),ee(j-1),ee(j),ee(j+1)),l.createElement(By,{itemKey:"key",ref:P,data:M,height:T,itemHeight:_,fullHeight:!1,onMouseDown:O,onScroll:g,virtual:E,direction:I,innerProps:E?null:ae},function(W,q){var Z=W.group,Q=W.groupOption,J=W.data,le=W.label,ce=W.value,pe=J.key;if(Z){var te,ie=(te=J.title)!==null&&te!==void 0?te:K4(le)?le.toString():void 0;return l.createElement("div",{className:oe($,"".concat($,"-group"),J.className),title:ie},le!==void 0?le:pe)}var fe=J.disabled,ge=J.title;J.children;var ne=J.style,ue=J.className,me=Ct(J,Lme),xe=Dn(me,H),Ie=z(ce),ke=fe||!Ie&&D,$e="".concat($,"-option"),Le=oe($,$e,ue,V(V(V(V({},"".concat($e,"-grouped"),Q),"".concat($e,"-active"),j===q&&!ke),"".concat($e,"-disabled"),ke),"".concat($e,"-selected"),Ie)),je=K(W),He=!x||typeof x=="function"||Ie,Be=typeof je=="number"?je:je||ce,Pe=K4(Be)?Be.toString():void 0;return ge!==void 0&&(Pe=ge),l.createElement("div",be({},fr(xe),E?{}:Y(W,q),{"aria-selected":Ie,className:Le,title:Pe,onMouseMove:function(){j===q||ke||B(q)},onClick:function(){ke||U(ce)},style:ne}),l.createElement("div",{className:"".concat($e,"-content")},typeof R=="function"?R(W,{index:q}):Be),l.isValidElement(x)||Ie,He&&l.createElement(Fy,{className:"".concat($,"-option-state"),customizeIcon:x,customizeIconProps:{value:ce,disabled:ke,isSelected:Ie}},Ie?"✓":null))}))},Fme=l.forwardRef(jme);const Bme=function(e,t){var n=l.useRef({values:new Map,options:new Map}),r=l.useMemo(function(){var i=n.current,o=i.values,s=i.options,c=e.map(function(p){if(p.label===void 0){var g;return X(X({},p),{},{label:(g=o.get(p.value))===null||g===void 0?void 0:g.label})}return p}),u=new Map,d=new Map;return c.forEach(function(p){u.set(p.value,p),d.set(p.value,t.get(p.value)||s.get(p.value))}),n.current.values=u,n.current.options=d,c},[e,t]),a=l.useCallback(function(i){return t.get(i)||n.current.options.get(i)},[t]);return[r,a]};function s1(e,t){return sG(e).join("").toUpperCase().includes(t)}const zme=function(e,t,n,r,a){return l.useMemo(function(){if(!n||r===!1)return e;var i=t.options,o=t.label,s=t.value,c=[],u=typeof r=="function",d=n.toUpperCase(),p=u?r:function(m,h){return a?s1(h[a],d):h[i]?s1(h[o!=="children"?o:"label"],d):s1(h[s],d)},g=u?function(m){return O_(m)}:function(m){return m};return e.forEach(function(m){if(m[i]){var h=p(n,g(m));if(h)c.push(m);else{var b=m[i].filter(function(y){return p(n,g(y))});b.length&&c.push(X(X({},m),{},V({},i,b)))}return}p(n,g(m))&&c.push(m)}),c},[e,r,a,n,t])};var Y4=0,Hme=ma();function Ume(){var e;return Hme?(e=Y4,Y4+=1):e="TEST_OR_SSR",e}function pG(e){var t=l.useState(),n=se(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_select_".concat(Ume()))},[]),e||r}var Vme=["children","value"],Wme=["children"];function Gme(e){var t=e,n=t.key,r=t.props,a=r.children,i=r.value,o=Ct(r,Vme);return X({key:n,value:i!==void 0?i:n,children:a},o)}function gG(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Nr(e).map(function(n,r){if(!l.isValidElement(n)||!n.type)return null;var a=n,i=a.type.isSelectOptGroup,o=a.key,s=a.props,c=s.children,u=Ct(s,Wme);return t||!i?Gme(n):X(X({key:"__RC_SELECT_GRP__".concat(o===null?r:o,"__"),label:o},u),{},{options:gG(c)})}).filter(function(n){return n})}var qme=function(t,n,r,a,i){return l.useMemo(function(){var o=t,s=!t;s&&(o=gG(n));var c=new Map,u=new Map,d=function(m,h,b){b&&typeof b=="string"&&m.set(h[b],h)},p=function g(m){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,b=0;b0?We(it.options):it.options}):it})},Pe=l.useMemo(function(){return v?Be(He):He},[He,v,W]),Se=l.useMemo(function(){return mme(Pe,{fieldNames:Y,childrenAsData:H})},[Pe,Y,H]),Ne=function(qe){var Qe=ce(qe);if(fe(Qe),j&&(Qe.length!==me.length||Qe.some(function(kt,xt){var nt;return((nt=me[xt])===null||nt===void 0?void 0:nt.value)!==(kt==null?void 0:kt.value)}))){var it=L?Qe:Qe.map(function(kt){return kt.value}),wt=Qe.map(function(kt){return O_(xe(kt.value))});j(U?it:it[0],U?wt:wt[0])}},Te=l.useState(null),Ce=se(Te,2),De=Ce[0],Ge=Ce[1],lt=l.useState(0),he=se(lt,2),re=he[0],ve=he[1],_e=T!==void 0?T:r!=="combobox",ze=l.useCallback(function(We,qe){var Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},it=Qe.source,wt=it===void 0?"keyboard":it;ve(qe),o&&r==="combobox"&&We!==null&&wt==="keyboard"&&Ge(String(We))},[o,r]),Ue=function(qe,Qe,it){var wt=function(){var Ze,ut=xe(qe);return[L?{label:ut==null?void 0:ut[Y.label],value:qe,key:(Ze=ut==null?void 0:ut.key)!==null&&Ze!==void 0?Ze:qe}:qe,O_(ut)]};if(Qe&&m){var kt=wt(),xt=se(kt,2),nt=xt[0],rt=xt[1];m(nt,rt)}else if(!Qe&&h&&it!=="clear"){var bt=wt(),Ot=se(bt,2),ht=Ot[0],ct=Ot[1];h(ht,ct)}},Ae=X4(function(We,qe){var Qe,it=U?qe.selected:!0;it?Qe=U?[].concat(Me(me),[We]):[We]:Qe=me.filter(function(wt){return wt.value!==We}),Ne(Qe),Ue(We,it),r==="combobox"?Ge(""):(!N_||g)&&(q(""),Ge(""))}),Oe=function(qe,Qe){Ne(qe);var it=Qe.type,wt=Qe.values;(it==="remove"||it==="clear")&&wt.forEach(function(kt){Ue(kt.value,!1,it)})},Re=function(qe,Qe){if(q(qe),Ge(null),Qe.source==="submit"){var it=(qe||"").trim();if(it){var wt=Array.from(new Set([].concat(Me(ke),[it])));Ne(wt),Ue(it,!0),q("")}return}Qe.source!=="blur"&&(r==="combobox"&&Ne(qe),d==null||d(qe))},at=function(qe){var Qe=qe;r!=="tags"&&(Qe=qe.map(function(wt){var kt=J.get(wt);return kt==null?void 0:kt.value}).filter(function(wt){return wt!==void 0}));var it=Array.from(new Set([].concat(Me(ke),Me(Qe))));Ne(it),it.forEach(function(wt){Ue(wt,!0)})},Ye=l.useMemo(function(){var We=R!==!1&&y!==!1;return X(X({},Z),{},{flattenOptions:Se,onActiveValue:ze,defaultActiveFirstOption:_e,onSelect:Ae,menuItemSelectedIcon:_,rawValues:ke,fieldNames:Y,virtual:We,direction:$,listHeight:P,listItemHeight:O,childrenAsData:H,maxCount:F,optionRender:E})},[F,Z,Se,ze,_e,Ae,_,ke,Y,R,y,$,P,O,H,E]);return l.createElement(NN.Provider,{value:Ye},l.createElement(uG,be({},B,{id:z,prefixCls:i,ref:t,omitDomProps:Yme,mode:r,displayValues:Ie,onDisplayValuesChange:Oe,direction:$,searchValue:W,onSearch:Re,autoClearSearchValue:g,onSearchSplit:at,dropdownMatchSelectWidth:y,OptionList:Fme,emptyOptions:!Se.length,activeValue:De,activeDescendantId:"".concat(z,"_list_").concat(re)})))}),DN=Zme;DN.Option=AN;DN.OptGroup=kN;function Fs(e,t,n){return oe({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const ec=(e,t)=>t||e,Qme=()=>{const[,e]=ia(),n=new cn(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return l.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"empty image"),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),l.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),l.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),l.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),l.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),l.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Jme=()=>{const[,e]=ia(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:a}=e,{borderColor:i,shadowColor:o,contentColor:s}=l.useMemo(()=>({borderColor:new cn(t).onBackground(a).toHexShortString(),shadowColor:new cn(n).onBackground(a).toHexShortString(),contentColor:new cn(r).onBackground(a).toHexShortString()}),[t,n,r,a]);return l.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"Simple Empty"),l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{fill:o,cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{fillRule:"nonzero",stroke:i},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},ehe=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:i,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:o,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},the=an("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=zt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[ehe(a)]});var nhe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{className:t,rootClassName:n,prefixCls:r,image:a=mG,description:i,children:o,imageStyle:s,style:c}=e,u=nhe(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:p,empty:g}=l.useContext(st),m=d("empty",r),[h,b,y]=the(m),[S]=us("Empty"),v=typeof i<"u"?i:S==null?void 0:S.description,x=typeof v=="string"?v:"empty";let w=null;return typeof a=="string"?w=l.createElement("img",{alt:x,src:a}):w=a,h(l.createElement("div",Object.assign({className:oe(b,y,m,g==null?void 0:g.className,{[`${m}-normal`]:a===hG,[`${m}-rtl`]:p==="rtl"},t,n),style:Object.assign(Object.assign({},g==null?void 0:g.style),c)},u),l.createElement("div",{className:`${m}-image`,style:s},w),v&&l.createElement("div",{className:`${m}-description`},v),o&&l.createElement("div",{className:`${m}-footer`},o)))};Qr.PRESENTED_IMAGE_DEFAULT=mG;Qr.PRESENTED_IMAGE_SIMPLE=hG;const zy=e=>{const{componentName:t}=e,{getPrefixCls:n}=l.useContext(st),r=n("empty");switch(t){case"Table":case"List":return de.createElement(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return de.createElement(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return de.createElement(Qr,null)}},du=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,a;const{variant:i,[e]:o}=l.useContext(st),s=l.useContext(_W),c=o==null?void 0:o.variant;let u;typeof t<"u"?u=t:n===!1?u="borderless":u=(a=(r=s??c)!==null&&r!==void 0?r:i)!==null&&a!==void 0?a:"outlined";const d=lle.includes(u);return[u,d]},rhe=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function vG(e,t){return e||rhe(t)}const Z4=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:a}=e;return{position:"relative",display:"block",minHeight:t,padding:a,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},ahe=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},ln(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` - ${a}${s}bottomLeft, - ${i}${s}bottomLeft - `]:{animationName:Ny},[` - ${a}${s}topLeft, - ${i}${s}topLeft, - ${a}${s}topRight, - ${i}${s}topRight - `]:{animationName:Ay},[`${o}${s}bottomLeft`]:{animationName:ky},[` - ${o}${s}topLeft, - ${o}${s}topRight - `]:{animationName:Dy},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},Z4(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Pi),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Z4(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},ss(e,"slide-up"),ss(e,"slide-down"),Zd(e,"move-up"),Zd(e,"move-down")]},bG=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:a}=e,i=e.max(e.calc(n).sub(r).equal(),0),o=e.max(e.calc(i).sub(a).equal(),0);return{basePadding:i,containerPadding:o,itemHeight:G(t),itemLineHeight:G(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},ihe=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},yG=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:a,paddingXS:i,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${a}, line-height ${a}, height ${a}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},wf()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},ohe=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,o=ihe(e),s=t?`${n}-${t}`:"",c=bG(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},yG(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${G(r)} 0`,lineHeight:G(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:c.itemHeight,lineHeight:G(c.itemLineHeight)},[`${a}-item + ${a}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${a}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(o).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:G(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function l1(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",a={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` - &${n}-show-arrow ${n}-selector, - &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[ohe(e,t),a]}const she=e=>{const{componentCls:t}=e,n=zt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=zt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[l1(e),l1(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},l1(r,"lg")]};function c1(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a,fontSizeIcon:i}=e,o=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),s=e.calc(r).add(i).equal(),c=t?`${n}-${t}`:"";return{[`${n}-single${c}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},ln(e,!0)),{display:"flex",borderRadius:a,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:G(s),bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` - ${n}-selection-item, - ${n}-selection-placeholder - `]:{padding:0,lineHeight:G(o),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${G(r)}`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:G(o)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${G(r)}`,"&:after":{display:"none"}}}}}}}function lhe(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[c1(e),c1(zt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${G(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` - &${t}-show-arrow ${t}-selection-item, - &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},c1(zt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const che=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:i,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:d,fontWeightStrong:p,controlItemBgActive:g,controlItemBgHover:m,colorBgContainer:h,colorFillSecondary:b,colorBgContainerDisabled:y,colorTextDisabled:S,colorPrimaryHover:v,colorPrimary:x,controlOutline:w}=e,C=s*2,E=r*2,I=Math.min(a-C,a-E),T=Math.min(i-C,i-E),_=Math.min(o-C,o-E);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:p,optionSelectedBg:g,optionActiveBg:m,optionPadding:`${(a-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:h,clearBg:h,singleItemHeightLG:o,multipleItemBg:b,multipleItemBorderColor:"transparent",multipleItemHeight:I,multipleItemHeightSM:T,multipleItemHeightLG:_,multipleSelectorBgDisabled:y,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:v,activeBorderColor:x,activeOutlineColor:w}},xG=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${G(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${G(a)} ${t.activeOutlineColor}`,outline:0}}}},Q4=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},xG(e,t))}),uhe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},xG(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor})),Q4(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline})),Q4(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),SG=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${G(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},J4=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},SG(e,t))}),dhe=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},SG(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),J4(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),J4(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),fhe=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),phe=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},uhe(e)),dhe(e)),fhe(e))}),ghe=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},mhe=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},hhe=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},ln(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},ghe(e)),mhe(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Pi),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},Pi),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},wf()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[a]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},vhe=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},hhe(e),lhe(e),she(e),ahe(e),{[`${t}-rtl`]:{direction:"rtl"}},Dm(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},wG=an("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=zt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[vhe(r),phe(r)]},che,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var bhe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},yhe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:bhe}))},$f=l.forwardRef(yhe),xhe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},She=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:xhe}))},Hy=l.forwardRef(She),whe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Che=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:whe}))},Hm=l.forwardRef(Che);function MN(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:a,loading:i,multiple:o,hasFeedback:s,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:p,componentName:g}=e;const m=n??l.createElement(Ql,null),h=v=>t===null&&!s&&!p?null:l.createElement(l.Fragment,null,u!==!1&&v,s&&d);let b=null;if(t!==void 0)b=h(t);else if(i)b=h(l.createElement(uo,{spin:!0}));else{const v=`${c}-suffix`;b=x=>{let{open:w,showSearch:C}=x;return h(w&&C?l.createElement(Hm,{className:v}):l.createElement(Hy,{className:v}))}}let y=null;r!==void 0?y=r:o?y=l.createElement($f,null):y=null;let S=null;return a!==void 0?S=a:S=l.createElement(va,null),{clearIcon:m,suffixIcon:b,itemIcon:y,removeIcon:S}}function CG(e,t){return t!==void 0?t:e!==null}var Ehe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a,className:i,rootClassName:o,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:p,listItemHeight:g,size:m,disabled:h,notFoundContent:b,status:y,builtinPlacements:S,dropdownMatchSelectWidth:v,popupMatchSelectWidth:x,direction:w,style:C,allowClear:E,variant:I,dropdownStyle:T,transitionName:_,tagRender:R,maxCount:$}=e,M=Ehe(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:D,renderEmpty:O,direction:k,virtual:N,popupMatchSelectWidth:A,popupOverflow:L,select:j}=l.useContext(st),[,F]=ia(),B=g??(F==null?void 0:F.controlHeight),z=D("select",r),U=D(),H=w??k,{compactSize:K,compactItemClassnames:Y}=Ws(z,H),[ee,ae]=du("select",I,a),W=ir(z),[q,Z,Q]=wG(z,W),J=l.useMemo(()=>{const{mode:Ce}=e;if(Ce!=="combobox")return Ce===EG?"combobox":Ce},[e.mode]),le=J==="multiple"||J==="tags",ce=CG(e.suffixIcon,e.showArrow),pe=(n=x??v)!==null&&n!==void 0?n:A,{status:te,hasFeedback:ie,isFormItemInput:fe,feedbackIcon:ge}=l.useContext(aa),ne=ec(te,y);let ue;b!==void 0?ue=b:J==="combobox"?ue=null:ue=(O==null?void 0:O("Select"))||l.createElement(zy,{componentName:"Select"});const{suffixIcon:me,itemIcon:xe,removeIcon:Ie,clearIcon:ke}=MN(Object.assign(Object.assign({},M),{multiple:le,hasFeedback:ie,feedbackIcon:ge,showSuffixIcon:ce,prefixCls:z,componentName:"Select"})),$e=E===!0?{clearIcon:ke}:E,Le=Dn(M,["suffixIcon","itemIcon"]),je=oe(c||u,{[`${z}-dropdown-${H}`]:H==="rtl"},o,Q,W,Z),He=zr(Ce=>{var De;return(De=m??K)!==null&&De!==void 0?De:Ce}),Be=l.useContext(ha),Pe=h??Be,Se=oe({[`${z}-lg`]:He==="large",[`${z}-sm`]:He==="small",[`${z}-rtl`]:H==="rtl",[`${z}-${ee}`]:ae,[`${z}-in-form-item`]:fe},Fs(z,ne,ie),Y,j==null?void 0:j.className,i,o,Q,W,Z),Ne=l.useMemo(()=>p!==void 0?p:H==="rtl"?"bottomRight":"bottomLeft",[p,H]),[Te]=Ho("SelectLike",T==null?void 0:T.zIndex);return q(l.createElement(DN,Object.assign({ref:t,virtual:N,showSearch:j==null?void 0:j.showSearch},Le,{style:Object.assign(Object.assign({},j==null?void 0:j.style),C),dropdownMatchSelectWidth:pe,transitionName:za(U,"slide-up",_),builtinPlacements:vG(S,L),listHeight:d,listItemHeight:B,mode:J,prefixCls:z,placement:Ne,direction:H,suffixIcon:me,menuItemSelectedIcon:xe,removeIcon:Ie,allowClear:$e,notFoundContent:ue,className:Se,getPopupContainer:s||P,dropdownClassName:je,disabled:Pe,dropdownStyle:Object.assign(Object.assign({},T),{zIndex:Te}),maxCount:le?$:void 0,tagRender:le?R:void 0})))},dr=l.forwardRef(Ihe),The=Fm(dr);dr.SECRET_COMBOBOX_MODE_DO_NOT_USE=EG;dr.Option=AN;dr.OptGroup=kN;dr._InternalPanelDoNotUseOrYouWillBeFired=The;const Qc=["xxl","xl","lg","md","sm","xs"],Rhe=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),_he=e=>{const t=e,n=[].concat(Qc).reverse();return n.forEach((r,a)=>{const i=r.toUpperCase(),o=`screen${i}Min`,s=`screen${i}`;if(!(t[o]<=t[s]))throw new Error(`${o}<=${s} fails : !(${t[o]}<=${t[s]})`);if(a{const n=new Map;let r=-1,a={};return{matchHandlers:{},dispatch(i){return a=i,n.forEach(o=>o(a)),n.size>=1},subscribe(i){return n.size||this.register(),r+=1,n.set(r,i),i(a),r},unsubscribe(i){n.delete(i),n.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const o=t[i],s=this.matchHandlers[o];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(i=>{const o=t[i],s=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},a),{[i]:d}))},c=window.matchMedia(o);c.addListener(s),this.matchHandlers[o]={mql:c,listener:s},s(c)})},responsiveMap:t}},[e])}function PN(){const[,e]=l.useReducer(t=>t+1,0);return e}function Uy(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=l.useRef({}),n=PN(),r=IG();return Zt(()=>{const a=r.subscribe(i=>{t.current=i,e&&n()});return()=>r.unsubscribe(a)},[]),t.current}const o0=e=>e?typeof e=="function"?e():e:null;function LN(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,i=e.className,o=e.style;return l.createElement("div",{className:oe("".concat(n,"-content"),i),style:o},l.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},typeof t=="function"?t():t))}var Pu={shiftX:64,adjustY:1},Lu={adjustX:1,shiftY:!0},Vi=[0,0],$he={left:{points:["cr","cl"],overflow:Lu,offset:[-4,0],targetOffset:Vi},right:{points:["cl","cr"],overflow:Lu,offset:[4,0],targetOffset:Vi},top:{points:["bc","tc"],overflow:Pu,offset:[0,-4],targetOffset:Vi},bottom:{points:["tc","bc"],overflow:Pu,offset:[0,4],targetOffset:Vi},topLeft:{points:["bl","tl"],overflow:Pu,offset:[0,-4],targetOffset:Vi},leftTop:{points:["tr","tl"],overflow:Lu,offset:[-4,0],targetOffset:Vi},topRight:{points:["br","tr"],overflow:Pu,offset:[0,-4],targetOffset:Vi},rightTop:{points:["tl","tr"],overflow:Lu,offset:[4,0],targetOffset:Vi},bottomRight:{points:["tr","br"],overflow:Pu,offset:[0,4],targetOffset:Vi},rightBottom:{points:["bl","br"],overflow:Lu,offset:[4,0],targetOffset:Vi},bottomLeft:{points:["tl","bl"],overflow:Pu,offset:[0,4],targetOffset:Vi},leftBottom:{points:["br","bl"],overflow:Lu,offset:[-4,0],targetOffset:Vi}},Ohe=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Nhe=function(t,n){var r=t.overlayClassName,a=t.trigger,i=a===void 0?["hover"]:a,o=t.mouseEnterDelay,s=o===void 0?0:o,c=t.mouseLeaveDelay,u=c===void 0?.1:c,d=t.overlayStyle,p=t.prefixCls,g=p===void 0?"rc-tooltip":p,m=t.children,h=t.onVisibleChange,b=t.afterVisibleChange,y=t.transitionName,S=t.animation,v=t.motion,x=t.placement,w=x===void 0?"right":x,C=t.align,E=C===void 0?{}:C,I=t.destroyTooltipOnHide,T=I===void 0?!1:I,_=t.defaultVisible,R=t.getTooltipContainer,$=t.overlayInnerStyle;t.arrowContent;var M=t.overlay,P=t.id,D=t.showArrow,O=D===void 0?!0:D,k=Ct(t,Ohe),N=l.useRef(null);l.useImperativeHandle(n,function(){return N.current});var A=X({},k);"visible"in t&&(A.popupVisible=t.visible);var L=function(){return l.createElement(LN,{key:"content",prefixCls:g,id:P,overlayInnerStyle:$},M)};return l.createElement(zm,be({popupClassName:r,prefixCls:g,popup:L,action:i,builtinPlacements:$he,popupPlacement:w,ref:N,popupAlign:E,getPopupContainer:R,onPopupVisibleChange:h,afterPopupVisibleChange:b,popupTransitionName:y,popupAnimation:S,popupMotion:v,defaultPopupVisible:_,autoDestroy:T,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:O},A),m)};const khe=l.forwardRef(Nhe);function Vy(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,a=t/2,i=0,o=a,s=r*1/Math.sqrt(2),c=a-r*(1-1/Math.sqrt(2)),u=a-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),p=2*a-u,g=d,m=2*a-s,h=c,b=2*a-i,y=o,S=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),v=r*(Math.sqrt(2)-1),x=`polygon(${v}px 100%, 50% ${v}px, ${2*a-v}px 100%, ${v}px 100%)`,w=`path('M ${i} ${o} A ${r} ${r} 0 0 0 ${s} ${c} L ${u} ${d} A ${n} ${n} 0 0 1 ${p} ${g} L ${m} ${h} A ${r} ${r} 0 0 0 ${b} ${y} Z')`;return{arrowShadowWidth:S,arrowPath:w,arrowPolygon:x}}const TG=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:a,arrowPath:i,arrowShadowWidth:o,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[a,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:o,height:o,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${G(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},RG=8;function Wy(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?RG:r}}function ev(e,t){return e?t:{}}function jN(e,t,n){const{componentCls:r,boxShadowPopoverArrow:a,arrowOffsetVertical:i,arrowOffsetHorizontal:o}=e,{arrowDistance:s=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},TG(e,t,a)),{"&:before":{background:t}})]},ev(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${G(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),ev(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${G(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),ev(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),ev(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}function Ahe(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const a=r&&typeof r=="object"?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+n,i.shiftX=!0,i.adjustX=!0;break}const o=Object.assign(Object.assign({},i),a);return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const eP={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Dhe={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Mhe=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function _G(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:i,visibleFirst:o}=e,s=t/2,c={};return Object.keys(eP).forEach(u=>{const d=r&&Dhe[u]||eP[u],p=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=p,Mhe.has(u)&&(p.autoArrow=!1),u){case"top":case"topLeft":case"topRight":p.offset[1]=-s-a;break;case"bottom":case"bottomLeft":case"bottomRight":p.offset[1]=s+a;break;case"left":case"leftTop":case"leftBottom":p.offset[0]=-s-a;break;case"right":case"rightTop":case"rightBottom":p.offset[0]=s+a;break}const g=Wy({contentRadius:i,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":p.offset[0]=-g.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":p.offset[0]=g.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":p.offset[1]=-g.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":p.offset[1]=g.arrowOffsetHorizontal*2-s;break}p.overflow=Ahe(u,g,t,n),o&&(p.htmlRegion="visibleFirst")}),c}const Phe=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:o,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{position:"absolute",zIndex:o,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${G(e.calc(u).div(2).equal())} ${G(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,RG)}},[`${t}-content`]:{position:"relative"}}),Ey(e,(p,g)=>{let{darkColor:m}=g;return{[`&${t}-${p}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},jN(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Lhe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Wy({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Vy(zt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),$G=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return an("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:i,colorBgSpotlight:o}=r,s=zt(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:a,tooltipBg:o});return[Phe(s),Tf(r,"zoom-big-fast")]},Lhe,{resetStyle:!1,injectStyle:t})(e)},jhe=Kg.map(e=>`${e}-inverse`),Fhe=["success","processing","error","default","warning"];function Gy(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Me(jhe),Me(Kg)).includes(e):Kg.includes(e)}function Bhe(e){return Fhe.includes(e)}function OG(e,t){const n=Gy(t),r=oe({[`${e}-${t}`]:t&&n}),a={},i={};return t&&!n&&(a.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:i}}const zhe=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:i,overlayInnerStyle:o}=e,{getPrefixCls:s}=l.useContext(st),c=s("tooltip",t),[u,d,p]=$G(c),g=OG(c,i),m=g.arrowStyle,h=Object.assign(Object.assign({},o),g.overlayStyle),b=oe(d,p,c,`${c}-pure`,`${c}-placement-${r}`,n,g.className);return u(l.createElement("div",{className:b,style:m},l.createElement("div",{className:`${c}-arrow`}),l.createElement(LN,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:h}),a)))};var Hhe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,openClassName:i,getTooltipContainer:o,overlayClassName:s,color:c,overlayInnerStyle:u,children:d,afterOpenChange:p,afterVisibleChange:g,destroyTooltipOnHide:m,arrow:h=!0,title:b,overlay:y,builtinPlacements:S,arrowPointAtCenter:v=!1,autoAdjustOverflow:x=!0}=e,w=!!h,[,C]=ia(),{getPopupContainer:E,getPrefixCls:I,direction:T}=l.useContext(st),_=Zl(),R=l.useRef(null),$=()=>{var ue;(ue=R.current)===null||ue===void 0||ue.forceAlign()};l.useImperativeHandle(t,()=>{var ue;return{forceAlign:$,forcePopupAlign:()=>{_.deprecated(!1,"forcePopupAlign","forceAlign"),$()},nativeElement:(ue=R.current)===null||ue===void 0?void 0:ue.nativeElement}});const[M,P]=pn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),D=!b&&!y&&b!==0,O=ue=>{var me,xe;P(D?!1:ue),D||((me=e.onOpenChange)===null||me===void 0||me.call(e,ue),(xe=e.onVisibleChange)===null||xe===void 0||xe.call(e,ue))},k=l.useMemo(()=>{var ue,me;let xe=v;return typeof h=="object"&&(xe=(me=(ue=h.pointAtCenter)!==null&&ue!==void 0?ue:h.arrowPointAtCenter)!==null&&me!==void 0?me:v),S||_G({arrowPointAtCenter:xe,autoAdjustOverflow:x,arrowWidth:w?C.sizePopupArrow:0,borderRadius:C.borderRadius,offset:C.marginXXS,visibleFirst:!0})},[v,h,S,C]),N=l.useMemo(()=>b===0?b:y||b||"",[y,b]),A=l.createElement(ls,{space:!0},typeof N=="function"?N():N),{getPopupContainer:L,placement:j="top",mouseEnterDelay:F=.1,mouseLeaveDelay:B=.1,overlayStyle:z,rootClassName:U}=e,H=Hhe(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),K=I("tooltip",a),Y=I(),ee=e["data-popover-inject"];let ae=M;!("open"in e)&&!("visible"in e)&&D&&(ae=!1);const W=l.isValidElement(d)&&!KV(d)?d:l.createElement("span",null,d),q=W.props,Z=!q.className||typeof q.className=="string"?oe(q.className,i||`${K}-open`):q.className,[Q,J,le]=$G(K,!ee),ce=OG(K,c),pe=ce.arrowStyle,te=Object.assign(Object.assign({},u),ce.overlayStyle),ie=oe(s,{[`${K}-rtl`]:T==="rtl"},ce.className,U,J,le),[fe,ge]=Ho("Tooltip",H.zIndex),ne=l.createElement(khe,Object.assign({},H,{zIndex:fe,showArrow:w,placement:j,mouseEnterDelay:F,mouseLeaveDelay:B,prefixCls:K,overlayClassName:ie,overlayStyle:Object.assign(Object.assign({},pe),z),getTooltipContainer:L||o||E,ref:R,builtinPlacements:k,overlay:A,visible:ae,onVisibleChange:O,afterVisibleChange:p??g,overlayInnerStyle:te,arrowContent:l.createElement("span",{className:`${K}-arrow-content`}),motion:{motionName:za(Y,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),ae?kr(W,{className:Z}):W);return Q(l.createElement(Om.Provider,{value:ge},ne))}),Ft=Uhe;Ft._InternalPanelDoNotUseOrYouWillBeFired=zhe;const Vhe=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:a,innerPadding:i,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:p,popoverBg:g,titleBorderBottom:m,innerContentPadding:h,titlePadding:b}=e;return[{[t]:Object.assign(Object.assign({},ln(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:g,backgroundClip:"padding-box",borderRadius:c,boxShadow:o,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:a,borderBottom:m,padding:b},[`${t}-inner-content`]:{color:n,padding:h}})},jN(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Whe=e=>{const{componentCls:t}=e;return{[t]:Kg.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Ghe=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:a,wireframe:i,zIndexPopupBase:o,borderRadiusLG:s,marginXS:c,lineType:u,colorSplit:d,paddingSM:p}=e,g=n-r,m=g/2,h=g/2-t,b=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:o+30},Vy(e)),Wy({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:c,titlePadding:i?`${m}px ${b}px ${h}px`:0,titleBorderBottom:i?`${t}px ${u} ${d}`:"none",innerContentPadding:i?`${p}px ${b}px`:0})},NG=an("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=zt(e,{popoverBg:t,popoverColor:n});return[Vhe(r),Whe(r),Tf(r,"zoom-big")]},Ghe,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var qhe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:l.createElement(l.Fragment,null,t&&l.createElement("div",{className:`${r}-title`},t),n&&l.createElement("div",{className:`${r}-inner-content`},n))},Khe=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:i="top",title:o,content:s,children:c}=e,u=o0(o),d=o0(s),p=oe(t,n,`${n}-pure`,`${n}-placement-${i}`,r);return l.createElement("div",{className:p,style:a},l.createElement("div",{className:`${n}-arrow`}),l.createElement(LN,Object.assign({},e,{className:t,prefixCls:n}),c||l.createElement(kG,{prefixCls:n,title:u,content:d})))},Yhe=e=>{const{prefixCls:t,className:n}=e,r=qhe(e,["prefixCls","className"]),{getPrefixCls:a}=l.useContext(st),i=a("popover",t),[o,s,c]=NG(i);return o(l.createElement(Khe,Object.assign({},r,{prefixCls:i,hashId:s,className:oe(n,c)})))};var Xhe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,title:i,content:o,overlayClassName:s,placement:c="top",trigger:u="hover",children:d,mouseEnterDelay:p=.1,mouseLeaveDelay:g=.1,onOpenChange:m,overlayStyle:h={}}=e,b=Xhe(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:y}=l.useContext(st),S=y("popover",a),[v,x,w]=NG(S),C=y(),E=oe(s,x,w),[I,T]=pn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),_=(D,O)=>{T(D,!0),m==null||m(D,O)},R=D=>{D.keyCode===Fe.ESC&&_(!1,D)},$=D=>{_(D)},M=o0(i),P=o0(o);return v(l.createElement(Ft,Object.assign({placement:c,trigger:u,mouseEnterDelay:p,mouseLeaveDelay:g,overlayStyle:h},b,{prefixCls:S,overlayClassName:E,ref:t,open:I,onOpenChange:$,overlay:M||P?l.createElement(kG,{prefixCls:S,title:M,content:P}):null,transitionName:za(C,"zoom-big",b.transitionName),"data-popover-inject":!0}),kr(d,{onKeyDown:D=>{var O,k;l.isValidElement(d)&&((k=d==null?void 0:(O=d.props).onKeyDown)===null||k===void 0||k.call(O,D)),R(D)}})))}),AG=Zhe;AG._InternalPanelDoNotUseOrYouWillBeFired=Yhe;const Qhe=new nn("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),Jhe=new nn("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),eve=new nn("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),tve=new nn("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),nve=new nn("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),rve=new nn("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),ave=e=>{const{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:a,textFontSize:i,textFontSizeSM:o,statusSize:s,dotSize:c,textFontWeight:u,indicatorHeight:d,indicatorHeightSM:p,marginXS:g,calc:m}=e,h=`${r}-scroll-number`,b=Ey(e,(y,S)=>{let{darkColor:v}=S;return{[`&${t} ${t}-color-${y}`]:{background:v,[`&:not(${t}-count)`]:{color:v},"a:hover &":{background:v}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:d,height:d,color:e.badgeTextColor,fontWeight:u,fontSize:i,lineHeight:G(d),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:m(d).div(2).equal(),boxShadow:`0 0 0 ${G(a)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:p,height:p,fontSize:o,lineHeight:G(p),borderRadius:m(p).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${G(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${G(a)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${h}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:rve,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:Qhe,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:g,color:e.colorText,fontSize:e.fontSize}}}),b),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:Jhe,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:eve,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:tve,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:nve,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${h}-custom-component, ${t}-count`]:{transform:"none"},[`${h}-custom-component, ${h}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[h]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${h}-only`]:{position:"relative",display:"inline-block",height:d,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${h}-only-unit`]:{height:d,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${h}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${h}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},DG=e=>{const{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:a}=e,i=t,o=n,s=e.colorTextLightSolid,c=e.colorError,u=e.colorErrorHover;return zt(e,{badgeFontHeight:i,badgeShadowSize:o,badgeTextColor:s,badgeColor:c,badgeColorHover:u,badgeShadowColor:a,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},MG=e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:a}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*a,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},ive=an("Badge",e=>{const t=DG(e);return ave(t)},MG),ove=e=>{const{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:a,calc:i}=e,o=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,c=Ey(e,(u,d)=>{let{darkColor:p}=d;return{[`&${o}-color-${u}`]:{background:p,color:p}}});return{[s]:{position:"relative"},[o]:Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{position:"absolute",top:r,padding:`0 ${G(e.paddingXS)}`,color:e.colorPrimary,lineHeight:G(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${o}-text`]:{color:e.badgeTextColor},[`${o}-corner`]:{position:"absolute",top:"100%",width:a,height:a,color:"currentcolor",border:`${G(i(a).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),c),{[`&${o}-placement-end`]:{insetInlineEnd:i(a).mul(-1).equal(),borderEndEndRadius:0,[`${o}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${o}-placement-start`]:{insetInlineStart:i(a).mul(-1).equal(),borderEndStartRadius:0,[`${o}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},sve=an(["Badge","Ribbon"],e=>{const t=DG(e);return ove(t)},MG),lve=e=>{const{className:t,prefixCls:n,style:r,color:a,children:i,text:o,placement:s="end",rootClassName:c}=e,{getPrefixCls:u,direction:d}=l.useContext(st),p=u("ribbon",n),g=`${p}-wrapper`,[m,h,b]=sve(p,g),y=Gy(a,!1),S=oe(p,`${p}-placement-${s}`,{[`${p}-rtl`]:d==="rtl",[`${p}-color-${a}`]:y},t),v={},x={};return a&&!y&&(v.background=a,x.color=a),m(l.createElement("div",{className:oe(g,c,h,b)},i,l.createElement("div",{className:oe(S,h),style:Object.assign(Object.assign({},v),r)},l.createElement("span",{className:`${p}-text`},o),l.createElement("div",{className:`${p}-corner`,style:x}))))},tP=e=>{const{prefixCls:t,value:n,current:r,offset:a=0}=e;let i;return a&&(i={position:"absolute",top:`${a}00%`,left:0}),l.createElement("span",{style:i,className:oe(`${t}-only-unit`,{current:r})},n)};function cve(e,t,n){let r=e,a=0;for(;(r+10)%10!==t;)r+=n,a+=n;return a}const uve=e=>{const{prefixCls:t,count:n,value:r}=e,a=Number(r),i=Math.abs(n),[o,s]=l.useState(a),[c,u]=l.useState(i),d=()=>{s(a),u(i)};l.useEffect(()=>{const m=setTimeout(d,1e3);return()=>clearTimeout(m)},[a]);let p,g;if(o===a||Number.isNaN(a)||Number.isNaN(o))p=[l.createElement(tP,Object.assign({},e,{key:a,current:!0}))],g={transition:"none"};else{p=[];const m=a+10,h=[];for(let S=a;S<=m;S+=1)h.push(S);const b=h.findIndex(S=>S%10===o);p=h.map((S,v)=>{const x=S%10;return l.createElement(tP,Object.assign({},e,{key:S,value:x,offset:v-b,current:v===b}))});const y=c{const{prefixCls:n,count:r,className:a,motionClassName:i,style:o,title:s,show:c,component:u="sup",children:d}=e,p=dve(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:g}=l.useContext(st),m=g("scroll-number",n),h=Object.assign(Object.assign({},p),{"data-show":c,style:o,className:oe(m,a,i),title:s});let b=r;if(r&&Number(r)%1===0){const y=String(r).split("");b=l.createElement("bdi",null,y.map((S,v)=>l.createElement(uve,{prefixCls:m,count:Number(r),value:S,key:y.length-v})))}return o!=null&&o.borderColor&&(h.style=Object.assign(Object.assign({},o),{boxShadow:`0 0 0 1px ${o.borderColor} inset`})),d?kr(d,y=>({className:oe(`${m}-custom-component`,y==null?void 0:y.className,i)})):l.createElement(u,Object.assign({},h,{ref:t}),b)});var pve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a,i,o;const{prefixCls:s,scrollNumberPrefixCls:c,children:u,status:d,text:p,color:g,count:m=null,overflowCount:h=99,dot:b=!1,size:y="default",title:S,offset:v,style:x,className:w,rootClassName:C,classNames:E,styles:I,showZero:T=!1}=e,_=pve(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:R,direction:$,badge:M}=l.useContext(st),P=R("badge",s),[D,O,k]=ive(P),N=m>h?`${h}+`:m,A=N==="0"||N===0,L=m===null||A&&!T,j=(d!=null||g!=null)&&L,F=b&&!A,B=F?"":N,z=l.useMemo(()=>(B==null||B===""||A&&!T)&&!F,[B,A,T,F]),U=l.useRef(m);z||(U.current=m);const H=U.current,K=l.useRef(B);z||(K.current=B);const Y=K.current,ee=l.useRef(F);z||(ee.current=F);const ae=l.useMemo(()=>{if(!v)return Object.assign(Object.assign({},M==null?void 0:M.style),x);const pe={marginTop:v[1]};return $==="rtl"?pe.left=parseInt(v[0],10):pe.right=-parseInt(v[0],10),Object.assign(Object.assign(Object.assign({},pe),M==null?void 0:M.style),x)},[$,v,x,M==null?void 0:M.style]),W=S??(typeof H=="string"||typeof H=="number"?H:void 0),q=z||!p?null:l.createElement("span",{className:`${P}-status-text`},p),Z=!H||typeof H!="object"?void 0:kr(H,pe=>({style:Object.assign(Object.assign({},ae),pe.style)})),Q=Gy(g,!1),J=oe(E==null?void 0:E.indicator,(n=M==null?void 0:M.classNames)===null||n===void 0?void 0:n.indicator,{[`${P}-status-dot`]:j,[`${P}-status-${d}`]:!!d,[`${P}-color-${g}`]:Q}),le={};g&&!Q&&(le.color=g,le.background=g);const ce=oe(P,{[`${P}-status`]:j,[`${P}-not-a-wrapper`]:!u,[`${P}-rtl`]:$==="rtl"},w,C,M==null?void 0:M.className,(r=M==null?void 0:M.classNames)===null||r===void 0?void 0:r.root,E==null?void 0:E.root,O,k);if(!u&&j){const pe=ae.color;return D(l.createElement("span",Object.assign({},_,{className:ce,style:Object.assign(Object.assign(Object.assign({},I==null?void 0:I.root),(a=M==null?void 0:M.styles)===null||a===void 0?void 0:a.root),ae)}),l.createElement("span",{className:J,style:Object.assign(Object.assign(Object.assign({},I==null?void 0:I.indicator),(i=M==null?void 0:M.styles)===null||i===void 0?void 0:i.indicator),le)}),p&&l.createElement("span",{style:{color:pe},className:`${P}-status-text`},p)))}return D(l.createElement("span",Object.assign({ref:t},_,{className:ce,style:Object.assign(Object.assign({},(o=M==null?void 0:M.styles)===null||o===void 0?void 0:o.root),I==null?void 0:I.root)}),u,l.createElement(na,{visible:!z,motionName:`${P}-zoom`,motionAppear:!1,motionDeadline:1e3},pe=>{let{className:te}=pe;var ie,fe;const ge=R("scroll-number",c),ne=ee.current,ue=oe(E==null?void 0:E.indicator,(ie=M==null?void 0:M.classNames)===null||ie===void 0?void 0:ie.indicator,{[`${P}-dot`]:ne,[`${P}-count`]:!ne,[`${P}-count-sm`]:y==="small",[`${P}-multiple-words`]:!ne&&Y&&Y.toString().length>1,[`${P}-status-${d}`]:!!d,[`${P}-color-${g}`]:Q});let me=Object.assign(Object.assign(Object.assign({},I==null?void 0:I.indicator),(fe=M==null?void 0:M.styles)===null||fe===void 0?void 0:fe.indicator),ae);return g&&!Q&&(me=me||{},me.background=g),l.createElement(fve,{prefixCls:ge,show:!z,motionClassName:te,className:ue,count:Y,title:W,style:me,key:"scrollNumber"},Z)}),q))}),PG=gve;PG.Ribbon=lve;var mve=Fe.ESC,hve=Fe.TAB;function vve(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,i=e.overlayRef,o=l.useRef(!1),s=function(){if(t){var p,g;(p=n.current)===null||p===void 0||(g=p.focus)===null||g===void 0||g.call(p),r==null||r(!1)}},c=function(){var p;return(p=i.current)!==null&&p!==void 0&&p.focus?(i.current.focus(),o.current=!0,!0):!1},u=function(p){switch(p.keyCode){case mve:s();break;case hve:{var g=!1;o.current||(g=c()),g?p.preventDefault():s();break}}};l.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Gt(c,3),function(){window.removeEventListener("keydown",u),o.current=!1}):function(){o.current=!1}},[t])}var bve=l.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,i=l.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),o=ba(t,i==null?void 0:i.ref);return de.createElement(de.Fragment,null,r&&de.createElement("div",{className:"".concat(a,"-arrow")}),de.cloneElement(i,{ref:Po(i)?o:void 0}))}),ju={adjustX:1,adjustY:1},Fu=[0,0],yve={topLeft:{points:["bl","tl"],overflow:ju,offset:[0,-4],targetOffset:Fu},top:{points:["bc","tc"],overflow:ju,offset:[0,-4],targetOffset:Fu},topRight:{points:["br","tr"],overflow:ju,offset:[0,-4],targetOffset:Fu},bottomLeft:{points:["tl","bl"],overflow:ju,offset:[0,4],targetOffset:Fu},bottom:{points:["tc","bc"],overflow:ju,offset:[0,4],targetOffset:Fu},bottomRight:{points:["tr","br"],overflow:ju,offset:[0,4],targetOffset:Fu}},xve=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Sve(e,t){var n,r=e.arrow,a=r===void 0?!1:r,i=e.prefixCls,o=i===void 0?"rc-dropdown":i,s=e.transitionName,c=e.animation,u=e.align,d=e.placement,p=d===void 0?"bottomLeft":d,g=e.placements,m=g===void 0?yve:g,h=e.getPopupContainer,b=e.showAction,y=e.hideAction,S=e.overlayClassName,v=e.overlayStyle,x=e.visible,w=e.trigger,C=w===void 0?["hover"]:w,E=e.autoFocus,I=e.overlay,T=e.children,_=e.onVisibleChange,R=Ct(e,xve),$=de.useState(),M=se($,2),P=M[0],D=M[1],O="visible"in e?x:P,k=de.useRef(null),N=de.useRef(null),A=de.useRef(null);de.useImperativeHandle(t,function(){return k.current});var L=function(ee){D(ee),_==null||_(ee)};vve({visible:O,triggerRef:A,onVisibleChange:L,autoFocus:E,overlayRef:N});var j=function(ee){var ae=e.onOverlayClick;D(!1),ae&&ae(ee)},F=function(){return de.createElement(bve,{ref:N,overlay:I,prefixCls:o,arrow:a})},B=function(){return typeof I=="function"?F:F()},z=function(){var ee=e.minOverlayWidthMatchTrigger,ae=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?ee:!ae},U=function(){var ee=e.openClassName;return ee!==void 0?ee:"".concat(o,"-open")},H=de.cloneElement(T,{className:oe((n=T.props)===null||n===void 0?void 0:n.className,O&&U()),ref:Po(T)?ba(A,T.ref):void 0}),K=y;return!K&&C.indexOf("contextMenu")!==-1&&(K=["click"]),de.createElement(zm,be({builtinPlacements:m},R,{prefixCls:o,ref:k,popupClassName:oe(S,V({},"".concat(o,"-show-arrow"),a)),popupStyle:v,action:C,showAction:b,hideAction:K,popupPlacement:p,popupAlign:u,popupTransitionName:s,popupAnimation:c,popupVisible:O,stretch:z()?"minWidth":"",popup:B(),onPopupVisibleChange:L,onPopupClick:j,getPopupContainer:h}),H)}const LG=de.forwardRef(Sve);var jG=l.createContext(null);function FG(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function BG(e){var t=l.useContext(jG);return FG(t,e)}var wve=["children","locked"],jo=l.createContext(null);function Cve(e,t){var n=X({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function Qg(e){var t=e.children,n=e.locked,r=Ct(e,wve),a=l.useContext(jo),i=Xl(function(){return Cve(a,r)},[a,r],function(o,s){return!n&&(o[0]!==s[0]||!oo(o[1],s[1],!0))});return l.createElement(jo.Provider,{value:i},t)}var Eve=[],zG=l.createContext(null);function qy(){return l.useContext(zG)}var HG=l.createContext(Eve);function Of(e){var t=l.useContext(HG);return l.useMemo(function(){return e!==void 0?[].concat(Me(t),[e]):t},[t,e])}var UG=l.createContext(null),FN=l.createContext({});function nP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(If(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),i=Number(a),o=null;return a&&!Number.isNaN(i)?o=i:r&&o===null&&(o=0),r&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function Ive(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Me(e.querySelectorAll("*")).filter(function(r){return nP(r,t)});return nP(e,t)&&n.unshift(e),n}var k_=Fe.LEFT,A_=Fe.RIGHT,D_=Fe.UP,rb=Fe.DOWN,ab=Fe.ENTER,VG=Fe.ESC,dp=Fe.HOME,fp=Fe.END,rP=[D_,rb,k_,A_];function Tve(e,t,n,r){var a,i="prev",o="next",s="children",c="parent";if(e==="inline"&&r===ab)return{inlineTrigger:!0};var u=V(V({},D_,i),rb,o),d=V(V(V(V({},k_,n?o:i),A_,n?i:o),rb,s),ab,s),p=V(V(V(V(V(V({},D_,i),rb,o),ab,s),VG,c),k_,n?s:c),A_,n?c:s),g={inline:u,horizontal:d,vertical:p,inlineSub:u,horizontalSub:p,verticalSub:p},m=(a=g["".concat(e).concat(t?"":"Sub")])===null||a===void 0?void 0:a[r];switch(m){case i:return{offset:-1,sibling:!0};case o:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}function Rve(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function _ve(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function BN(e,t){var n=Ive(e,!0);return n.filter(function(r){return t.has(r)})}function aP(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=BN(e,t),i=a.length,o=a.findIndex(function(s){return n===s});return r<0?o===-1?o=i-1:o-=1:r>0&&(o+=1),o=(o+i)%i,a[o]}var M_=function(t,n){var r=new Set,a=new Map,i=new Map;return t.forEach(function(o){var s=document.querySelector("[data-menu-id='".concat(FG(n,o),"']"));s&&(r.add(s),i.set(s,o),a.set(o,s))}),{elements:r,key2element:a,element2key:i}};function $ve(e,t,n,r,a,i,o,s,c,u){var d=l.useRef(),p=l.useRef();p.current=t;var g=function(){Gt.cancel(d.current)};return l.useEffect(function(){return function(){g()}},[]),function(m){var h=m.which;if([].concat(rP,[ab,VG,dp,fp]).includes(h)){var b=i(),y=M_(b,r),S=y,v=S.elements,x=S.key2element,w=S.element2key,C=x.get(t),E=_ve(C,v),I=w.get(E),T=Tve(e,o(I,!0).length===1,n,h);if(!T&&h!==dp&&h!==fp)return;(rP.includes(h)||[dp,fp].includes(h))&&m.preventDefault();var _=function(N){if(N){var A=N,L=N.querySelector("a");L!=null&&L.getAttribute("href")&&(A=L);var j=w.get(N);s(j),g(),d.current=Gt(function(){p.current===j&&A.focus()})}};if([dp,fp].includes(h)||T.sibling||!E){var R;!E||e==="inline"?R=a.current:R=Rve(E);var $,M=BN(R,v);h===dp?$=M[0]:h===fp?$=M[M.length-1]:$=aP(R,v,E,T.offset),_($)}else if(T.inlineTrigger)c(I);else if(T.offset>0)c(I,!0),g(),d.current=Gt(function(){y=M_(b,r);var k=E.getAttribute("aria-controls"),N=document.getElementById(k),A=aP(N,y.elements);_(A)},5);else if(T.offset<0){var P=o(I,!0),D=P[P.length-2],O=x.get(D);c(D,!1),_(O)}}u==null||u(m)}}function Ove(e){Promise.resolve().then(e)}var zN="__RC_UTIL_PATH_SPLIT__",iP=function(t){return t.join(zN)},Nve=function(t){return t.split(zN)},P_="rc-menu-more";function kve(){var e=l.useState({}),t=se(e,2),n=t[1],r=l.useRef(new Map),a=l.useRef(new Map),i=l.useState([]),o=se(i,2),s=o[0],c=o[1],u=l.useRef(0),d=l.useRef(!1),p=function(){d.current||n({})},g=l.useCallback(function(x,w){var C=iP(w);a.current.set(C,x),r.current.set(x,C),u.current+=1;var E=u.current;Ove(function(){E===u.current&&p()})},[]),m=l.useCallback(function(x,w){var C=iP(w);a.current.delete(C),r.current.delete(x)},[]),h=l.useCallback(function(x){c(x)},[]),b=l.useCallback(function(x,w){var C=r.current.get(x)||"",E=Nve(C);return w&&s.includes(E[0])&&E.unshift(P_),E},[s]),y=l.useCallback(function(x,w){return x.filter(function(C){return C!==void 0}).some(function(C){var E=b(C,!0);return E.includes(w)})},[b]),S=function(){var w=Me(r.current.keys());return s.length&&w.push(P_),w},v=l.useCallback(function(x){var w="".concat(r.current.get(x)).concat(zN),C=new Set;return Me(a.current.keys()).forEach(function(E){E.startsWith(w)&&C.add(a.current.get(E))}),C},[]);return l.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:g,unregisterPath:m,refreshOverflowKeys:h,isSubPathKey:y,getKeyPath:b,getKeys:S,getSubPathKeys:v}}function Rp(e){var t=l.useRef(e);t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1&&(v.motionAppear=!1);var x=v.onVisibleChanged;return v.onVisibleChanged=function(w){return!g.current&&!w&&y(!0),x==null?void 0:x(w)},b?null:l.createElement(Qg,{mode:i,locked:!g.current},l.createElement(na,be({visible:S},v,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(w){var C=w.className,E=w.style;return l.createElement(HN,{id:t,className:C,style:E},a)}))}var Yve=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Xve=["active"],Zve=l.forwardRef(function(e,t){var n=e.style,r=e.className,a=e.title,i=e.eventKey;e.warnKey;var o=e.disabled,s=e.internalPopupClose,c=e.children,u=e.itemIcon,d=e.expandIcon,p=e.popupClassName,g=e.popupOffset,m=e.popupStyle,h=e.onClick,b=e.onMouseEnter,y=e.onMouseLeave,S=e.onTitleClick,v=e.onTitleMouseEnter,x=e.onTitleMouseLeave,w=Ct(e,Yve),C=BG(i),E=l.useContext(jo),I=E.prefixCls,T=E.mode,_=E.openKeys,R=E.disabled,$=E.overflowDisabled,M=E.activeKey,P=E.selectedKeys,D=E.itemIcon,O=E.expandIcon,k=E.onItemClick,N=E.onOpenChange,A=E.onActive,L=l.useContext(FN),j=L._internalRenderSubMenuItem,F=l.useContext(UG),B=F.isSubPathKey,z=Of(),U="".concat(I,"-submenu"),H=R||o,K=l.useRef(),Y=l.useRef(),ee=u??D,ae=d??O,W=_.includes(i),q=!$&&W,Z=B(P,i),Q=WG(i,H,v,x),J=Q.active,le=Ct(Q,Xve),ce=l.useState(!1),pe=se(ce,2),te=pe[0],ie=pe[1],fe=function(Ne){H||ie(Ne)},ge=function(Ne){fe(!0),b==null||b({key:i,domEvent:Ne})},ne=function(Ne){fe(!1),y==null||y({key:i,domEvent:Ne})},ue=l.useMemo(function(){return J||(T!=="inline"?te||B([M],i):!1)},[T,J,M,te,i,B]),me=GG(z.length),xe=function(Ne){H||(S==null||S({key:i,domEvent:Ne}),T==="inline"&&N(i,!W))},Ie=Rp(function(Se){h==null||h(s0(Se)),k(Se)}),ke=function(Ne){T!=="inline"&&N(i,Ne)},$e=function(){A(i)},Le=C&&"".concat(C,"-popup"),je=l.createElement("div",be({role:"menuitem",style:me,className:"".concat(U,"-title"),tabIndex:H?null:-1,ref:K,title:typeof a=="string"?a:null,"data-menu-id":$&&C?null:C,"aria-expanded":q,"aria-haspopup":!0,"aria-controls":Le,"aria-disabled":H,onClick:xe,onFocus:$e},le),a,l.createElement(qG,{icon:T!=="horizontal"?ae:void 0,props:X(X({},e),{},{isOpen:q,isSubMenu:!0})},l.createElement("i",{className:"".concat(U,"-arrow")}))),He=l.useRef(T);if(T!=="inline"&&z.length>1?He.current="vertical":He.current=T,!$){var Be=He.current;je=l.createElement(qve,{mode:Be,prefixCls:U,visible:!s&&q&&T!=="inline",popupClassName:p,popupOffset:g,popupStyle:m,popup:l.createElement(Qg,{mode:Be==="horizontal"?"vertical":Be},l.createElement(HN,{id:Le,ref:Y},c)),disabled:H,onVisibleChange:ke},je)}var Pe=l.createElement(Ao.Item,be({ref:t,role:"none"},w,{component:"li",style:n,className:oe(U,"".concat(U,"-").concat(T),r,V(V(V(V({},"".concat(U,"-open"),q),"".concat(U,"-active"),ue),"".concat(U,"-selected"),Z),"".concat(U,"-disabled"),H)),onMouseEnter:ge,onMouseLeave:ne}),je,!$&&l.createElement(Kve,{id:Le,open:q,keyPath:z},c));return j&&(Pe=j(Pe,e,{selected:Z,active:ue,open:q,disabled:H})),l.createElement(Qg,{onItemClick:Ie,mode:T==="horizontal"?"vertical":T,itemIcon:ee,expandIcon:ae},Pe)}),Ky=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Of(n),i=UN(r,a),o=qy();l.useEffect(function(){if(o)return o.registerPath(n,a),function(){o.unregisterPath(n,a)}},[a]);var s;return o?s=i:s=l.createElement(Zve,be({ref:t},e),i),l.createElement(HG.Provider,{value:a},s)});function VN(e){var t=e.className,n=e.style,r=l.useContext(jo),a=r.prefixCls,i=qy();return i?null:l.createElement("li",{role:"separator",className:oe("".concat(a,"-item-divider"),t),style:n})}var Qve=["className","title","eventKey","children"],Jve=l.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,i=Ct(e,Qve),o=l.useContext(jo),s=o.prefixCls,c="".concat(s,"-item-group");return l.createElement("li",be({ref:t,role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:oe(c,n)}),l.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof r=="string"?r:void 0},r),l.createElement("ul",{role:"group",className:"".concat(c,"-list")},a))}),WN=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Of(n),i=UN(r,a),o=qy();return o?i:l.createElement(Jve,be({ref:t},Dn(e,["warnKey"])),i)}),ebe=["label","children","key","type","extra"];function L_(e,t,n){var r=t.item,a=t.group,i=t.submenu,o=t.divider;return(e||[]).map(function(s,c){if(s&&mt(s)==="object"){var u=s,d=u.label,p=u.children,g=u.key,m=u.type,h=u.extra,b=Ct(u,ebe),y=g??"tmp-".concat(c);return p||m==="group"?m==="group"?l.createElement(a,be({key:y},b,{title:d}),L_(p,t,n)):l.createElement(i,be({key:y},b,{title:d}),L_(p,t,n)):m==="divider"?l.createElement(o,be({key:y},b)):l.createElement(r,be({key:y},b),d,(!!h||h===0)&&l.createElement("span",{className:"".concat(n,"-item-extra")},h))}return null}).filter(function(s){return s})}function sP(e,t,n,r,a){var i=e,o=X({divider:VN,item:Um,group:WN,submenu:Ky},r);return t&&(i=L_(t,o,a)),UN(i,n)}var tbe=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],sc=[],nbe=l.forwardRef(function(e,t){var n,r=e,a=r.prefixCls,i=a===void 0?"rc-menu":a,o=r.rootClassName,s=r.style,c=r.className,u=r.tabIndex,d=u===void 0?0:u,p=r.items,g=r.children,m=r.direction,h=r.id,b=r.mode,y=b===void 0?"vertical":b,S=r.inlineCollapsed,v=r.disabled,x=r.disabledOverflow,w=r.subMenuOpenDelay,C=w===void 0?.1:w,E=r.subMenuCloseDelay,I=E===void 0?.1:E,T=r.forceSubMenuRender,_=r.defaultOpenKeys,R=r.openKeys,$=r.activeKey,M=r.defaultActiveFirst,P=r.selectable,D=P===void 0?!0:P,O=r.multiple,k=O===void 0?!1:O,N=r.defaultSelectedKeys,A=r.selectedKeys,L=r.onSelect,j=r.onDeselect,F=r.inlineIndent,B=F===void 0?24:F,z=r.motion,U=r.defaultMotions,H=r.triggerSubMenuAction,K=H===void 0?"hover":H,Y=r.builtinPlacements,ee=r.itemIcon,ae=r.expandIcon,W=r.overflowedIndicator,q=W===void 0?"...":W,Z=r.overflowedIndicatorPopupClassName,Q=r.getPopupContainer,J=r.onClick,le=r.onOpenChange,ce=r.onKeyDown;r.openAnimation,r.openTransitionName;var pe=r._internalRenderMenuItem,te=r._internalRenderSubMenuItem,ie=r._internalComponents,fe=Ct(r,tbe),ge=l.useMemo(function(){return[sP(g,p,sc,ie,i),sP(g,p,sc,{},i)]},[g,p,ie]),ne=se(ge,2),ue=ne[0],me=ne[1],xe=l.useState(!1),Ie=se(xe,2),ke=Ie[0],$e=Ie[1],Le=l.useRef(),je=Dve(h),He=m==="rtl",Be=pn(_,{value:R,postState:function(Ht){return Ht||sc}}),Pe=se(Be,2),Se=Pe[0],Ne=Pe[1],Te=function(Ht){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function on(){Ne(Ht),le==null||le(Ht)}Vt?Zr.flushSync(on):on()},Ce=l.useState(Se),De=se(Ce,2),Ge=De[0],lt=De[1],he=l.useRef(!1),re=l.useMemo(function(){return(y==="inline"||y==="vertical")&&S?["vertical",S]:[y,!1]},[y,S]),ve=se(re,2),_e=ve[0],ze=ve[1],Ue=_e==="inline",Ae=l.useState(_e),Oe=se(Ae,2),Re=Oe[0],at=Oe[1],Ye=l.useState(ze),We=se(Ye,2),qe=We[0],Qe=We[1];l.useEffect(function(){at(_e),Qe(ze),he.current&&(Ue?Ne(Ge):Te(sc))},[_e,ze]);var it=l.useState(0),wt=se(it,2),kt=wt[0],xt=wt[1],nt=kt>=ue.length-1||Re!=="horizontal"||x;l.useEffect(function(){Ue&<(Se)},[Se]),l.useEffect(function(){return he.current=!0,function(){he.current=!1}},[]);var rt=kve(),bt=rt.registerPath,Ot=rt.unregisterPath,ht=rt.refreshOverflowKeys,ct=rt.isSubPathKey,Et=rt.getKeyPath,Ze=rt.getKeys,ut=rt.getSubPathKeys,pt=l.useMemo(function(){return{registerPath:bt,unregisterPath:Ot}},[bt,Ot]),et=l.useMemo(function(){return{isSubPathKey:ct}},[ct]);l.useEffect(function(){ht(nt?sc:ue.slice(kt+1).map(function(Rt){return Rt.key}))},[kt,nt]);var Xe=pn($||M&&((n=ue[0])===null||n===void 0?void 0:n.key),{value:$}),$t=se(Xe,2),At=$t[0],qt=$t[1],hn=Rp(function(Rt){qt(Rt)}),gn=Rp(function(){qt(void 0)});l.useImperativeHandle(t,function(){return{list:Le.current,focus:function(Ht){var Vt,on=Ze(),It=M_(on,je),Mt=It.elements,bn=It.key2element,zn=It.element2key,Cr=BN(Le.current,Mt),Er=At??(Cr[0]?zn.get(Cr[0]):(Vt=ue.find(function(gt){return!gt.props.disabled}))===null||Vt===void 0?void 0:Vt.key),Lr=bn.get(Er);if(Er&&Lr){var Xt;Lr==null||(Xt=Lr.focus)===null||Xt===void 0||Xt.call(Lr,Ht)}}}});var yt=pn(N||[],{value:A,postState:function(Ht){return Array.isArray(Ht)?Ht:Ht==null?sc:[Ht]}}),Dt=se(yt,2),jt=Dt[0],Jt=Dt[1],Nn=function(Ht){if(D){var Vt=Ht.key,on=jt.includes(Vt),It;k?on?It=jt.filter(function(bn){return bn!==Vt}):It=[].concat(Me(jt),[Vt]):It=[Vt],Jt(It);var Mt=X(X({},Ht),{},{selectedKeys:It});on?j==null||j(Mt):L==null||L(Mt)}!k&&Se.length&&Re!=="inline"&&Te(sc)},Dr=Rp(function(Rt){J==null||J(s0(Rt)),Nn(Rt)}),or=Rp(function(Rt,Ht){var Vt=Se.filter(function(It){return It!==Rt});if(Ht)Vt.push(Rt);else if(Re!=="inline"){var on=ut(Rt);Vt=Vt.filter(function(It){return!on.has(It)})}oo(Se,Vt,!0)||Te(Vt,!0)}),wr=function(Ht,Vt){var on=Vt??!Se.includes(Ht);or(Ht,on)},tr=$ve(Re,At,He,je,Le,Ze,Et,qt,wr,ce);l.useEffect(function(){$e(!0)},[]);var Pr=l.useMemo(function(){return{_internalRenderMenuItem:pe,_internalRenderSubMenuItem:te}},[pe,te]),nr=Re!=="horizontal"||x?ue:ue.map(function(Rt,Ht){return l.createElement(Qg,{key:Rt.key,overflowDisabled:Ht>kt},Rt)}),en=l.createElement(Ao,be({id:h,ref:Le,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:Um,className:oe(i,"".concat(i,"-root"),"".concat(i,"-").concat(Re),c,V(V({},"".concat(i,"-inline-collapsed"),qe),"".concat(i,"-rtl"),He),o),dir:m,style:s,role:"menu",tabIndex:d,data:nr,renderRawItem:function(Ht){return Ht},renderRawRest:function(Ht){var Vt=Ht.length,on=Vt?ue.slice(-Vt):null;return l.createElement(Ky,{eventKey:P_,title:q,disabled:nt,internalPopupClose:Vt===0,popupClassName:Z},on)},maxCount:Re!=="horizontal"||x?Ao.INVALIDATE:Ao.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ht){xt(Ht)},onKeyDown:tr},fe));return l.createElement(FN.Provider,{value:Pr},l.createElement(jG.Provider,{value:je},l.createElement(Qg,{prefixCls:i,rootClassName:o,mode:Re,openKeys:Se,rtl:He,disabled:v,motion:ke?z:null,defaultMotions:ke?U:null,activeKey:At,onActive:hn,onInactive:gn,selectedKeys:jt,inlineIndent:B,subMenuOpenDelay:C,subMenuCloseDelay:I,forceSubMenuRender:T,builtinPlacements:Y,triggerSubMenuAction:K,getPopupContainer:Q,itemIcon:ee,expandIcon:ae,onItemClick:Dr,onOpenChange:or},l.createElement(UG.Provider,{value:et},en),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(zG.Provider,{value:pt},me)))))}),Nf=nbe;Nf.Item=Um;Nf.SubMenu=Ky;Nf.ItemGroup=WN;Nf.Divider=VN;var rbe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},abe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:rbe}))},ibe=l.forwardRef(abe),obe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},sbe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:obe}))},Bs=l.forwardRef(sbe);const lbe=e=>!isNaN(parseFloat(e))&&isFinite(e),YG=l.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),cbe=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:a,headerHeight:i,headerPadding:o,headerColor:s,footerPadding:c,fontSize:u,bodyBg:d,headerBg:p}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:d,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:i,padding:o,color:s,lineHeight:G(i),background:p,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:c,color:r,fontSize:u,background:a},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},XG=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:a,controlHeightSM:i,marginXXS:o,colorTextLightSolid:s,colorBgContainer:c}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:a,footerPadding:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+o*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}},ZG=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],QG=an("Layout",e=>[cbe(e)],XG,{deprecatedTokens:ZG}),ube=e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:a,antCls:i,triggerHeight:o,triggerColor:s,triggerBg:c,headerHeight:u,zeroTriggerWidth:d,zeroTriggerHeight:p,borderRadius:g,lightSiderBg:m,lightTriggerColor:h,lightTriggerBg:b,bodyBg:y}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:o},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${i}-menu${i}-menu-inline-collapsed`]:{width:"auto"}},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:o,color:s,lineHeight:G(o),textAlign:"center",background:c,cursor:"pointer",transition:`all ${r}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:u,insetInlineEnd:e.calc(d).mul(-1).equal(),zIndex:1,width:d,height:p,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderStartStartRadius:0,borderStartEndRadius:g,borderEndEndRadius:g,borderEndStartRadius:0,cursor:"pointer",transition:`background ${a} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${a}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(d).mul(-1).equal(),borderStartStartRadius:g,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:g}}},"&-light":{background:m,[`${t}-trigger`]:{color:h,background:b},[`${t}-zero-width-trigger`]:{color:h,background:b,border:`1px solid ${y}`,borderInlineStart:0}}}}},dbe=an(["Layout","Sider"],e=>[ube(e)],XG,{deprecatedTokens:ZG});var fbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),GN=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:a,children:i,defaultCollapsed:o=!1,theme:s="dark",style:c={},collapsible:u=!1,reverseArrow:d=!1,width:p=200,collapsedWidth:g=80,zeroWidthTriggerStyle:m,breakpoint:h,onCollapse:b,onBreakpoint:y}=e,S=fbe(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:v}=l.useContext(YG),[x,w]=l.useState("collapsed"in e?e.collapsed:o),[C,E]=l.useState(!1);l.useEffect(()=>{"collapsed"in e&&w(e.collapsed)},[e.collapsed]);const I=(N,A)=>{"collapsed"in e||w(N),b==null||b(N,A)},{getPrefixCls:T}=l.useContext(st),_=T("layout-sider",n),[R,$,M]=dbe(_),P=l.useRef();P.current=N=>{E(N.matches),y==null||y(N.matches),x!==N.matches&&I(N.matches,"responsive")},l.useEffect(()=>{function N(L){return P.current(L)}let A;if(typeof window<"u"){const{matchMedia:L}=window;if(L&&h&&h in lP){A=L(`screen and (max-width: ${lP[h]})`);try{A.addEventListener("change",N)}catch{A.addListener(N)}N(A)}}return()=>{try{A==null||A.removeEventListener("change",N)}catch{A==null||A.removeListener(N)}}},[h]),l.useEffect(()=>{const N=pbe("ant-sider-");return v.addSider(N),()=>v.removeSider(N)},[]);const D=()=>{I(!x,"clickTrigger")},O=()=>{const N=Dn(S,["collapsed"]),A=x?g:p,L=lbe(A)?`${A}px`:String(A),j=parseFloat(String(g||0))===0?l.createElement("span",{onClick:D,className:oe(`${_}-zero-width-trigger`,`${_}-zero-width-trigger-${d?"right":"left"}`),style:m},a||l.createElement(ibe,null)):null,z={expanded:d?l.createElement(pi,null):l.createElement(Bs,null),collapsed:d?l.createElement(Bs,null):l.createElement(pi,null)}[x?"collapsed":"expanded"],U=a!==null?j||l.createElement("div",{className:`${_}-trigger`,onClick:D,style:{width:L}},a||z):null,H=Object.assign(Object.assign({},c),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),K=oe(_,`${_}-${s}`,{[`${_}-collapsed`]:!!x,[`${_}-has-trigger`]:u&&a!==null&&!j,[`${_}-below`]:!!C,[`${_}-zero-width`]:parseFloat(L)===0},r,$,M);return l.createElement("aside",Object.assign({className:K},N,{style:H,ref:t}),l.createElement("div",{className:`${_}-children`},i),u||C&&j?U:null)},k=l.useMemo(()=>({siderCollapsed:x}),[x]);return R(l.createElement(Yy.Provider,{value:k},O()))});var gbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},mbe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:gbe}))},qN=l.forwardRef(mbe);const l0=l.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var hbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,dashed:r}=e,a=hbe(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=l.useContext(st),o=i("menu",t),s=oe({[`${o}-item-divider-dashed`]:!!r},n);return l.createElement(VN,Object.assign({className:s},a))},eq=e=>{var t;const{className:n,children:r,icon:a,title:i,danger:o}=e,{prefixCls:s,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:p}=l.useContext(l0),g=v=>{const x=r==null?void 0:r[0],w=l.createElement("span",{className:`${s}-title-content`},r);return(!a||l.isValidElement(r)&&r.type==="span")&&r&&v&&c&&typeof x=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},x.charAt(0)):w},{siderCollapsed:m}=l.useContext(Yy);let h=i;typeof i>"u"?h=c?r:"":i===!1&&(h="");const b={title:h};!m&&!p&&(b.title=null,b.open=!1);const y=Nr(r).length;let S=l.createElement(Um,Object.assign({},Dn(e,["title","icon","danger"]),{className:oe({[`${s}-item-danger`]:o,[`${s}-item-only-child`]:(a?y+1:y)===1},n),title:typeof i=="string"?i:void 0}),kr(a,{className:oe(l.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),g(p));return d||(S=l.createElement(Ft,Object.assign({},b,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),S)),S};var vbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{children:n}=e,r=vbe(e,["children"]),a=l.useContext(c0),i=l.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=eoe(n),s=Vs(t,o?n.ref:null);return l.createElement(c0.Provider,{value:i},l.createElement(ls,{space:!0},o?l.cloneElement(n,{ref:s}):n))}),bbe=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:a,lineWidth:i,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${G(i)} ${o} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, - > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},ybe=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${G(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${G(n)})`}}}}},cP=e=>Object.assign({},Ps(e)),uP=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,groupTitleColor:i,itemBg:o,subMenuItemBg:s,itemSelectedBg:c,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:p,motionDurationSlow:g,motionEaseInOut:m,motionEaseOut:h,itemPaddingInline:b,motionDurationMid:y,itemHoverColor:S,lineType:v,colorSplit:x,itemDisabledColor:w,dangerItemColor:C,dangerItemHoverColor:E,dangerItemSelectedColor:I,dangerItemActiveBg:T,dangerItemSelectedBg:_,popupBg:R,itemHoverBg:$,itemActiveBg:M,menuSubMenuBg:P,horizontalItemSelectedColor:D,horizontalItemSelectedBg:O,horizontalItemBorderRadius:k,horizontalItemHoverBg:N}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:o,[`&${n}-root:focus-visible`]:Object.assign({},cP(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:a}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},cP(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:S}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:M}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:M}}},[`${n}-item-danger`]:{color:C,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:E}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:I},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:_}},[`&${n}-submenu > ${n}`]:{backgroundColor:P},[`&${n}-popup > ${n}`]:{backgroundColor:R},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:R},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:p,marginTop:e.calc(p).mul(-1).equal(),marginBottom:0,borderRadius:k,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${G(u)} solid transparent`,transition:`border-color ${g} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:N,"&::after":{borderBottomWidth:u,borderBottomColor:D}},"&-selected":{color:D,backgroundColor:O,"&:hover":{backgroundColor:O},"&::after":{borderBottomWidth:u,borderBottomColor:D}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${G(p)} ${v} ${x}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${G(d)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${y} ${h}`,`opacity ${y} ${h}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:I}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${y} ${m}`,`opacity ${y} ${m}`].join(",")}}}}}},dP=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:i,marginXS:o,itemMarginBlock:s,itemWidth:c,itemPaddingInline:u}=e,d=e.calc(i).add(a).add(o).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:G(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:c},[`> ${t}-item, - > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:G(n)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:d}}},xbe=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:i,controlHeightLG:o,motionEaseOut:s,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationFast:p,motionDurationSlow:g,paddingXS:m,boxShadowSecondary:h,collapsedWidth:b,collapsedIconSize:y}=e,S={height:r,lineHeight:G(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},dP(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},dP(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${G(e.calc(o).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${g}`,`background ${g}`,`padding ${p} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:S,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:S}},{[`${t}-inline-collapsed`]:{width:b,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, - > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${G(e.calc(d).div(2).equal())} - ${G(u)})`,textOverflow:"clip",[` - ${t}-submenu-arrow, - ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:y,lineHeight:G(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:Object.assign(Object.assign({},Pi),{paddingInline:m})}}]},fP=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:i,iconCls:o,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${a}`].join(","),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},wf()),[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pP=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:i,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${G(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${G(o)})`}}}}},Sbe=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOut:o,paddingXS:s,padding:c,colorSplit:u,lineWidth:d,zIndexPopup:p,borderRadiusLG:g,subMenuItemBorderRadius:m,menuArrowSize:h,menuArrowOffset:b,lineType:y,groupTitleLineHeight:S,groupTitleFontSize:v}=e;return[{"":{[n]:Object.assign(Object.assign({},Lo()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),Lo()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${G(s)} ${G(c)}`,fontSize:v,lineHeight:S,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`,`padding ${i} ${o}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${o}`,`padding ${a} ${o}`].join(",")},[`${n}-title-content`]:{display:"inline-flex",alignItems:"center",transition:`color ${a}`,"> a:first-child":{flexGrow:1},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding,fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:y,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),fP(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${G(e.calc(r).mul(2).equal())} ${G(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,borderRadius:g,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:g},fP(e)),pP(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${o}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),pP(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${G(b)})`},"&::after":{transform:`rotate(45deg) translateX(${G(e.calc(b).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${G(e.calc(h).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${G(e.calc(b).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${G(b)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},wbe=e=>{var t,n,r;const{colorPrimary:a,colorError:i,colorTextDisabled:o,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:p,colorFillContent:g,lineWidth:m,lineWidthBold:h,controlItemBgActive:b,colorBgTextHover:y,controlHeightLG:S,lineHeight:v,colorBgElevated:x,marginXXS:w,padding:C,fontSize:E,controlHeightSM:I,fontSizeLG:T,colorTextLightSolid:_,colorErrorHover:R}=e,$=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,M=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:m,P=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,D=new cn(_).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:y,itemHoverBg:y,colorItemBgActive:g,itemActiveBg:b,colorSubItemBg:p,subMenuItemBg:p,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:$,colorActiveBarHeight:h,activeBarHeight:h,colorActiveBarBorderSize:m,activeBarBorderWidth:M,colorItemTextDisabled:o,itemDisabledColor:o,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:P,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:S,groupTitleLineHeight:v,collapsedWidth:S*2,popupBg:x,itemMarginBlock:w,itemPaddingInline:C,horizontalLineHeight:`${S*1.15}px`,iconSize:E,iconMarginInlineEnd:I-E,collapsedIconSize:T,groupTitleFontSize:E,darkItemDisabledColor:new cn(_).setAlpha(.25).toRgbString(),darkItemColor:D,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:_,darkItemSelectedBg:a,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:D,darkItemHoverColor:_,darkDangerItemHoverColor:R,darkDangerItemSelectedColor:_,darkDangerItemActiveBg:i,itemWidth:$?`calc(100% + ${M}px)`:`calc(100% - ${P*2}px)`}},Cbe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return an("Menu",a=>{const{colorBgElevated:i,controlHeightLG:o,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:p,darkItemSelectedColor:g,darkItemSelectedBg:m,darkDangerItemSelectedBg:h,darkItemHoverBg:b,darkGroupTitleColor:y,darkItemHoverColor:S,darkItemDisabledColor:v,darkDangerItemHoverColor:x,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:C,popupBg:E,darkPopupBg:I}=a,T=a.calc(s).div(7).mul(5).equal(),_=zt(a,{menuArrowSize:T,menuHorizontalHeight:a.calc(o).mul(1.15).equal(),menuArrowOffset:a.calc(T).mul(.25).equal(),menuSubMenuBg:i,calc:a.calc,popupBg:E}),R=zt(_,{itemColor:c,itemHoverColor:S,groupTitleColor:y,itemSelectedColor:g,itemBg:d,popupBg:I,subMenuItemBg:p,itemActiveBg:"transparent",itemSelectedBg:m,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:b,itemDisabledColor:v,dangerItemColor:u,dangerItemHoverColor:x,dangerItemSelectedColor:w,dangerItemActiveBg:C,dangerItemSelectedBg:h,menuSubMenuBg:p,horizontalItemSelectedColor:g,horizontalItemSelectedBg:m});return[Sbe(_),bbe(_),xbe(_),uP(_,"light"),uP(R,"dark"),ybe(_),Am(_),ss(_,"slide-up"),ss(_,"slide-down"),Tf(_,"zoom-big")]},wbe,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)},nq=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:i}=e,o=l.useContext(l0),{prefixCls:s,inlineCollapsed:c,theme:u}=o,d=Of();let p;if(!r)p=c&&!d.length&&a&&typeof a=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},a.charAt(0)):l.createElement("span",{className:`${s}-title-content`},a);else{const h=l.isValidElement(a)&&a.type==="span";p=l.createElement(l.Fragment,null,kr(r,{className:oe(l.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),h?a:l.createElement("span",{className:`${s}-title-content`},a))}const g=l.useMemo(()=>Object.assign(Object.assign({},o),{firstLevel:!1}),[o]),[m]=Ho("Menu");return l.createElement(l0.Provider,{value:g},l.createElement(Ky,Object.assign({},Dn(e,["icon"]),{title:p,popupClassName:oe(s,n,`${s}-${i||u}`),popupStyle:Object.assign({zIndex:m},e.popupStyle)})))};var Ebe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const r=l.useContext(c0),a=r||{},{getPrefixCls:i,getPopupContainer:o,direction:s,menu:c}=l.useContext(st),u=i(),{prefixCls:d,className:p,style:g,theme:m="light",expandIcon:h,_internalDisableMenuItemTitleTooltip:b,inlineCollapsed:y,siderCollapsed:S,rootClassName:v,mode:x,selectable:w,onClick:C,overflowedIndicatorPopupClassName:E}=e,I=Ebe(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),T=Dn(I,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:x});const _=Yt(function(){var B;C==null||C.apply(void 0,arguments),(B=a.onClick)===null||B===void 0||B.call(a)}),R=a.mode||x,$=w??a.selectable,M=l.useMemo(()=>S!==void 0?S:y,[y,S]),P={horizontal:{motionName:`${u}-slide-up`},inline:Xd(u),other:{motionName:`${u}-zoom-big`}},D=i("menu",d||a.prefixCls),O=ir(D),[k,N,A]=Cbe(D,O,!r),L=oe(`${D}-${m}`,c==null?void 0:c.className,p),j=l.useMemo(()=>{var B,z;if(typeof h=="function"||u1(h))return h||null;if(typeof a.expandIcon=="function"||u1(a.expandIcon))return a.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||u1(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const U=(B=h??(a==null?void 0:a.expandIcon))!==null&&B!==void 0?B:c==null?void 0:c.expandIcon;return kr(U,{className:oe(`${D}-submenu-expand-icon`,l.isValidElement(U)?(z=U.props)===null||z===void 0?void 0:z.className:void 0)})},[h,a==null?void 0:a.expandIcon,c==null?void 0:c.expandIcon,D]),F=l.useMemo(()=>({prefixCls:D,inlineCollapsed:M||!1,direction:s,firstLevel:!0,theme:m,mode:R,disableMenuItemTitleTooltip:b}),[D,M,s,b,m]);return k(l.createElement(c0.Provider,{value:null},l.createElement(l0.Provider,{value:F},l.createElement(Nf,Object.assign({getPopupContainer:o,overflowedIndicator:l.createElement(qN,null),overflowedIndicatorPopupClassName:oe(D,`${D}-${m}`,E),mode:R,selectable:$,onClick:_},T,{inlineCollapsed:M,style:Object.assign(Object.assign({},c==null?void 0:c.style),g),className:L,prefixCls:D,direction:s,defaultMotions:P,expandIcon:j,ref:t,rootClassName:oe(v,N,a.rootClassName,A,O),_internalComponents:Ibe})))))}),Gs=l.forwardRef((e,t)=>{const n=l.useRef(null),r=l.useContext(Yy);return l.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var i;(i=n.current)===null||i===void 0||i.focus(a)}})),l.createElement(Tbe,Object.assign({ref:n},e,r))});Gs.Item=eq;Gs.SubMenu=nq;Gs.Divider=JG;Gs.ItemGroup=WN;const Rbe=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},_be=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,sizePopupArrow:i,antCls:o,iconCls:s,motionDurationMid:c,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:p,colorTextDisabled:g,fontSizeIcon:m,controlPaddingHorizontal:h,colorBgElevated:b}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:m}},[`${t}-wrap`]:{position:"relative",[`${o}-btn > ${s}-down`]:{fontSize:m},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomLeft, - &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottom, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottom, - &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomRight, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Ny},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topLeft, - &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-top, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-top, - &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topRight, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Ay},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, - &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottom, - &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:ky},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, - &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-top, - &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Dy}}},jN(e,b,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},ln(e)),{[n]:Object.assign(Object.assign({padding:p,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},co(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${G(u)} ${G(h)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{display:"flex",alignItems:"center",flex:"auto","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${G(u)} ${G(h)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},co(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:g,cursor:"not-allowed","&:hover":{color:g,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${G(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:m,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${G(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(h).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:g,backgroundColor:b,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[ss(e,"slide-up"),ss(e,"slide-down"),Zd(e,"move-up"),Zd(e,"move-down"),Tf(e,"zoom-big")]]},$be=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},Wy({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),Vy(e)),Obe=an("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,i=zt(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[_be(i),Rbe(i)]},$be,{resetStyle:!1}),Vm=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:i,trigger:o,disabled:s,dropdownRender:c,getPopupContainer:u,overlayClassName:d,rootClassName:p,overlayStyle:g,open:m,onOpenChange:h,visible:b,onVisibleChange:y,mouseEnterDelay:S=.15,mouseLeaveDelay:v=.1,autoAdjustOverflow:x=!0,placement:w="",overlay:C,transitionName:E}=e,{getPopupContainer:I,getPrefixCls:T,direction:_,dropdown:R}=l.useContext(st);Zl();const $=l.useMemo(()=>{const Q=T();return E!==void 0?E:w.includes("top")?`${Q}-slide-down`:`${Q}-slide-up`},[T,w,E]),M=l.useMemo(()=>w?w.includes("Center")?w.slice(0,w.indexOf("Center")):w:_==="rtl"?"bottomRight":"bottomLeft",[w,_]),P=T("dropdown",a),D=ir(P),[O,k,N]=Obe(P,D),[,A]=ia(),L=l.Children.only(i),j=kr(L,{className:oe(`${P}-trigger`,{[`${P}-rtl`]:_==="rtl"},L.props.className),disabled:(t=L.props.disabled)!==null&&t!==void 0?t:s}),F=s?[]:o,B=!!(F!=null&&F.includes("contextMenu")),[z,U]=pn(!1,{value:m??b}),H=Yt(Q=>{h==null||h(Q,{source:"trigger"}),y==null||y(Q),U(Q)}),K=oe(d,p,k,N,D,R==null?void 0:R.className,{[`${P}-rtl`]:_==="rtl"}),Y=_G({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:x,offset:A.marginXXS,arrowWidth:r?A.sizePopupArrow:0,borderRadius:A.borderRadius}),ee=l.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(h==null||h(!1,{source:"menu"}),U(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),ae=()=>{let Q;return n!=null&&n.items?Q=l.createElement(Gs,Object.assign({},n)):typeof C=="function"?Q=C():Q=C,c&&(Q=c(Q)),Q=l.Children.only(typeof Q=="string"?l.createElement("span",null,Q):Q),l.createElement(tq,{prefixCls:`${P}-menu`,rootClassName:oe(N,D),expandIcon:l.createElement("span",{className:`${P}-menu-submenu-arrow`},l.createElement(pi,{className:`${P}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ee,validator:J=>{}},Q)},[W,q]=Ho("Dropdown",g==null?void 0:g.zIndex);let Z=l.createElement(LG,Object.assign({alignPoint:B},Dn(e,["rootClassName"]),{mouseEnterDelay:S,mouseLeaveDelay:v,visible:z,builtinPlacements:Y,arrow:!!r,overlayClassName:K,prefixCls:P,getPopupContainer:u||I,transitionName:$,trigger:F,overlay:ae,placement:M,onVisibleChange:H,overlayStyle:Object.assign(Object.assign(Object.assign({},R==null?void 0:R.style),g),{zIndex:W})}),j);return W&&(Z=l.createElement(Om.Provider,{value:q},Z)),O(Z)};function Nbe(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const kbe=Fm(Vm,"dropdown",e=>e,Nbe),Abe=e=>l.createElement(kbe,Object.assign({},e),l.createElement("span",null));Vm._InternalPanelDoNotUseOrYouWillBeFired=Abe;const Xy=e=>{let{children:t}=e;const{getPrefixCls:n}=l.useContext(st),r=n("breadcrumb");return l.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};Xy.__ANT_BREADCRUMB_SEPARATOR=!0;var Dbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at[a]||r)}function rq(e,t,n,r){if(n==null)return null;const{className:a,onClick:i}=t,o=Dbe(t,["className","onClick"]),s=Object.assign(Object.assign({},fr(o,{data:!0,aria:!0})),{onClick:i});return r!==void 0?l.createElement("a",Object.assign({},s,{className:oe(`${e}-link`,a),href:r}),n):l.createElement("span",Object.assign({},s,{className:oe(`${e}-link`,a)}),n)}function Pbe(e,t){return(r,a,i,o,s)=>{if(t)return t(r,a,i,o);const c=Mbe(r,a);return rq(e,r,c,s)}}var j_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,separator:n="/",children:r,menu:a,overlay:i,dropdownProps:o,href:s}=e,u=(d=>{if(a||i){const p=Object.assign({},o);if(a){const g=a||{},{items:m}=g,h=j_(g,["items"]);p.menu=Object.assign(Object.assign({},h),{items:m==null?void 0:m.map((b,y)=>{var{key:S,title:v,label:x,path:w}=b,C=j_(b,["key","title","label","path"]);let E=x??v;return w&&(E=l.createElement("a",{href:`${s}${w}`},E)),Object.assign(Object.assign({},C),{key:S??y,label:E})})})}else i&&(p.overlay=i);return l.createElement(Vm,Object.assign({placement:"bottom"},p),l.createElement("span",{className:`${t}-overlay-link`},d,l.createElement(Hy,null)))}return d})(r);return u!=null?l.createElement(l.Fragment,null,l.createElement("li",null,u),n&&l.createElement(Xy,null,n)):null},iq=e=>{const{prefixCls:t,children:n,href:r}=e,a=j_(e,["prefixCls","children","href"]),{getPrefixCls:i}=l.useContext(st),o=i("breadcrumb",t);return l.createElement(aq,Object.assign({},a,{prefixCls:o}),rq(o,a,n,r))};iq.__ANT_BREADCRUMB_ITEM=!0;const Lbe=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${G(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},co(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` - > ${n} + span, - > ${n} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${G(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},jbe=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),Fbe=an("Breadcrumb",e=>{const t=zt(e,{});return Lbe(t)},jbe);var gP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{breadcrumbName:o}=i,s=gP(i,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:o})})}),a}function zbe(e,t){return l.useMemo(()=>e||(t?t.map(Bbe):null),[e,t])}var Hbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},Wm=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:i,routes:o,items:s,children:c,itemRender:u,params:d={}}=e,p=Hbe(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:g,direction:m,breadcrumb:h}=l.useContext(st);let b;const y=g("breadcrumb",t),[S,v,x]=Fbe(y),w=zbe(s,o),C=Pbe(y,u);if(w&&w.length>0){const T=[],_=s||o;b=w.map((R,$)=>{const{path:M,key:P,type:D,menu:O,overlay:k,onClick:N,className:A,separator:L,dropdownProps:j}=R,F=Ube(d,M);F!==void 0&&T.push(F);const B=P??$;if(D==="separator")return l.createElement(Xy,{key:B},L);const z={},U=$===w.length-1;O?z.menu=O:k&&(z.overlay=k);let{href:H}=R;return T.length&&F!==void 0&&(H=`#/${T.join("/")}`),l.createElement(aq,Object.assign({key:B},z,fr(R,{data:!0,aria:!0}),{className:A,dropdownProps:j,href:H,separator:U?"":n,onClick:N,prefixCls:y}),C(R,d,_,T,H))})}else if(c){const T=Nr(c).length;b=Nr(c).map((_,R)=>{if(!_)return _;const $=R===T-1;return kr(_,{separator:$?"":n,key:R})})}const E=oe(y,h==null?void 0:h.className,{[`${y}-rtl`]:m==="rtl"},a,i,v,x),I=Object.assign(Object.assign({},h==null?void 0:h.style),r);return S(l.createElement("nav",Object.assign({className:E,style:I},p),l.createElement("ol",null,b)))};Wm.Item=iq;Wm.Separator=Xy;var oq={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Fa,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",s="minute",c="hour",u="day",d="week",p="month",g="quarter",m="year",h="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(D){var O=["th","st","nd","rd"],k=D%100;return"["+D+(O[(k-20)%10]||O[k]||O[0])+"]"}},x=function(D,O,k){var N=String(D);return!N||N.length>=O?D:""+Array(O+1-N.length).join(k)+D},w={s:x,z:function(D){var O=-D.utcOffset(),k=Math.abs(O),N=Math.floor(k/60),A=k%60;return(O<=0?"+":"-")+x(N,2,"0")+":"+x(A,2,"0")},m:function D(O,k){if(O.date()1)return D(j[0])}else{var F=O.name;E[F]=O,A=F}return!N&&A&&(C=A),A||!N&&C},R=function(D,O){if(T(D))return D.clone();var k=typeof O=="object"?O:{};return k.date=D,k.args=arguments,new M(k)},$=w;$.l=_,$.i=T,$.w=function(D,O){return R(D,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var M=function(){function D(k){this.$L=_(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[I]=!0}var O=D.prototype;return O.parse=function(k){this.$d=function(N){var A=N.date,L=N.utc;if(A===null)return new Date(NaN);if($.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var j=A.match(y);if(j){var F=j[2]-1||0,B=(j[7]||"0").substring(0,3);return L?new Date(Date.UTC(j[1],F,j[3]||1,j[4]||0,j[5]||0,j[6]||0,B)):new Date(j[1],F,j[3]||1,j[4]||0,j[5]||0,j[6]||0,B)}}return new Date(A)}(k),this.init()},O.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},O.$utils=function(){return $},O.isValid=function(){return this.$d.toString()!==b},O.isSame=function(k,N){var A=R(k);return this.startOf(N)<=A&&A<=this.endOf(N)},O.isAfter=function(k,N){return R(k)25){var d=o(this).startOf(r).add(1,r).date(u),p=o(this).endOf(n);if(d.isBefore(p))return 1}var g=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),m=this.diff(g,n,!0);return m<0?o(this).startOf("week").week():Math.ceil(m)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(cq);var Ybe=cq.exports;const Xbe=Za(Ybe);var uq={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Fa,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),i=this.week(),o=this.year();return i===1&&a===11?o+1:a===0&&i>=52?o-1:o}}})})(uq);var Zbe=uq.exports;const Qbe=Za(Zbe);var dq={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Fa,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(o){var s=this,c=this.$locale();if(!this.isValid())return i.bind(this)(o);var u=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return c.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return c.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),p==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),p==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return p}});return i.bind(this)(d)}}})})(dq);var Jbe=dq.exports;const e0e=Za(Jbe);var fq={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Fa,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,c={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(S){this[y]=+S}},p=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var v=S.match(/([+-]|\d\d)/g),x=60*v[1]+(+v[2]||0);return x===0?0:v[0]==="+"?-x:x}(y)}],g=function(y){var S=c[y];return S&&(S.indexOf?S:S.s.concat(S.f))},m=function(y,S){var v,x=c.meridiem;if(x){for(var w=1;w<=24;w+=1)if(y.indexOf(x(w,0,S))>-1){v=w>12;break}}else v=y===(S?"pm":"PM");return v},h={A:[s,function(y){this.afternoon=m(y,!1)}],a:[s,function(y){this.afternoon=m(y,!0)}],Q:[a,function(y){this.month=3*(y-1)+1}],S:[a,function(y){this.milliseconds=100*+y}],SS:[i,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[i,d("day")],Do:[s,function(y){var S=c.ordinal,v=y.match(/\d+/);if(this.day=v[0],S)for(var x=1;x<=31;x+=1)S(x).replace(/\[|\]/g,"")===y&&(this.day=x)}],w:[o,d("week")],ww:[i,d("week")],M:[o,d("month")],MM:[i,d("month")],MMM:[s,function(y){var S=g("months"),v=(g("monthsShort")||S.map(function(x){return x.slice(0,3)})).indexOf(y)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[s,function(y){var S=g("months").indexOf(y)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,d("year")],YY:[i,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:p,ZZ:p};function b(y){var S,v;S=y,v=c&&c.formats;for(var x=(y=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(R,$,M){var P=M&&M.toUpperCase();return $||v[M]||n[M]||v[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(D,O,k){return O||k.slice(1)})})).match(r),w=x.length,C=0;C-1)return new Date((A==="X"?1e3:1)*N);var F=b(A)(N),B=F.year,z=F.month,U=F.day,H=F.hours,K=F.minutes,Y=F.seconds,ee=F.milliseconds,ae=F.zone,W=F.week,q=new Date,Z=U||(B||z?1:q.getDate()),Q=B||q.getFullYear(),J=0;B&&!z||(J=z>0?z-1:q.getMonth());var le,ce=H||0,pe=K||0,te=Y||0,ie=ee||0;return ae?new Date(Date.UTC(Q,J,Z,ce,pe,te,ie+60*ae.offset*1e3)):L?new Date(Date.UTC(Q,J,Z,ce,pe,te,ie)):(le=new Date(Q,J,Z,ce,pe,te,ie),W&&(le=j(le).week(W).toDate()),le)}catch{return new Date("")}}(E,_,I,v),this.init(),P&&P!==!0&&(this.$L=this.locale(P).$L),M&&E!=this.format(_)&&(this.$d=new Date("")),c={}}else if(_ instanceof Array)for(var D=_.length,O=1;O<=D;O+=1){T[1]=_[O-1];var k=v.apply(this,T);if(k.isValid()){this.$d=k.$d,this.$L=k.$L,this.init();break}O===D&&(this.$d=new Date(""))}else w.call(this,C)}}})})(fq);var t0e=fq.exports;const n0e=Za(t0e);ri.extend(n0e);ri.extend(e0e);ri.extend(Gbe);ri.extend(Kbe);ri.extend(Xbe);ri.extend(Qbe);ri.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(i){var o=(i||"").replace("Wo","wo");return r.bind(this)(o)}});var r0e={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},lc=function(t){var n=r0e[t];return n||t.split("_")[0]},mP=function(){NU(!1,"Not match any format. Please help to fire a issue about this.")},a0e={getNow:function(){var t=ri();return typeof t.tz=="function"?t.tz():t},getFixedDate:function(t){return ri(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return ri().locale(lc(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(lc(t)).weekday(0)},getWeek:function(t,n){return n.locale(lc(t)).week()},getShortWeekDays:function(t){return ri().locale(lc(t)).localeData().weekdaysMin()},getShortMonths:function(t){return ri().locale(lc(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(lc(t)).format(r)},parse:function(t,n,r){for(var a=lc(t),i=0;i2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=l.useState([!1,!1]),a=se(r,2),i=a[0],o=a[1],s=function(d,p){o(function(g){return ng(g,p,d)})},c=l.useMemo(function(){return i.map(function(u,d){if(u)return!0;var p=e[d];return p?!!(!n[d]&&!p||p&&t(p,{activeIndex:d})):!1})},[e,i,t,n]);return[c,s]}function yq(e,t,n,r,a){var i="",o=[];return e&&o.push(a?"hh":"HH"),t&&o.push("mm"),n&&o.push("ss"),i=o.join(":"),r&&(i+=".SSS"),a&&(i+=" A"),i}function o0e(e,t,n,r,a,i){var o=e.fieldDateTimeFormat,s=e.fieldDateFormat,c=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,p=e.fieldWeekFormat,g=e.fieldQuarterFormat,m=e.yearFormat,h=e.cellYearFormat,b=e.cellQuarterFormat,y=e.dayFormat,S=e.cellDateFormat,v=yq(t,n,r,a,i);return X(X({},e),{},{fieldDateTimeFormat:o||"YYYY-MM-DD ".concat(v),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:c||v,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:p||"gggg-wo",fieldQuarterFormat:g||"YYYY-[Q]Q",yearFormat:m||"YYYY",cellYearFormat:h||"YYYY",cellQuarterFormat:b||"[Q]Q",cellDateFormat:S||y||"D"})}function xq(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,i=t.showMillisecond,o=t.use12Hours;return de.useMemo(function(){return o0e(e,n,r,a,i,o)},[e,n,r,a,i,o])}function pp(e,t,n){return n??t.some(function(r){return e.includes(r)})}var s0e=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function l0e(e){var t=Qy(e,s0e),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=mt(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function c0e(e){return e&&typeof e=="string"}function Sq(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function wq(e,t,n,r,a){var i=t,o=n,s=r;if(!e&&!i&&!o&&!s&&!a)i=!0,o=!0,s=!0;else if(e){var c,u,d,p=[i,o,s].some(function(h){return h===!1}),g=[i,o,s].some(function(h){return h===!0}),m=p?!0:!g;i=(c=i)!==null&&c!==void 0?c:m,o=(u=o)!==null&&u!==void 0?u:m,s=(d=s)!==null&&d!==void 0?d:m}return[i,o,s,a]}function Cq(e){var t=e.showTime,n=l0e(e),r=se(n,2),a=r[0],i=r[1],o=t&&mt(t)==="object"?t:{},s=X(X({defaultOpenValue:o.defaultOpenValue||o.defaultValue},a),o),c=s.showMillisecond,u=s.showHour,d=s.showMinute,p=s.showSecond,g=Sq(u,d,p,c),m=wq(g,u,d,p,c),h=se(m,3);return u=h[0],d=h[1],p=h[2],[s,X(X({},s),{},{showHour:u,showMinute:d,showSecond:p,showMillisecond:c}),s.format,i]}function Eq(e,t,n,r,a){var i=e==="time";if(e==="datetime"||i){for(var o=r,s=mq(e,a,null),c=s,u=[t,n],d=0;d1&&(o=t.addDate(o,-7)),o}function ta(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return e?typeof a=="function"?a(e):n.locale.format(r.locale,e,a):""}function u0(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],i=["setHour","setMinute","setSecond","setMillisecond"];return i.forEach(function(o,s){n?r=e[o](r,e[a[s]](n)):r=e[o](r,0)}),r}function p0e(e,t,n,r,a){var i=Yt(function(o,s){return!!(n&&n(o,s)||r&&e.isAfter(r,o)&&!ja(e,t,r,o,s.type)||a&&e.isAfter(o,a)&&!ja(e,t,a,o,s.type))});return i}function g0e(e,t,n){return l.useMemo(function(){var r=mq(e,t,n),a=fu(r),i=a[0],o=mt(i)==="object"&&i.type==="mask"?i.format:null;return[a.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),o]},[e,t,n])}function m0e(e,t,n){return typeof e[0]=="function"||n?!0:t}function h0e(e,t,n,r){var a=Yt(function(i,o){var s=X({type:t},o);if(delete s.activeIndex,!e.isValidate(i)||n&&n(i,s))return!0;if((t==="date"||t==="time")&&r){var c,u=o&&o.activeIndex===1?"end":"start",d=((c=r.disabledTime)===null||c===void 0?void 0:c.call(r,i,u,{from:s.from}))||{},p=d.disabledHours,g=d.disabledMinutes,m=d.disabledSeconds,h=d.disabledMilliseconds,b=r.disabledHours,y=r.disabledMinutes,S=r.disabledSeconds,v=p||b,x=g||y,w=m||S,C=e.getHour(i),E=e.getMinute(i),I=e.getSecond(i),T=e.getMillisecond(i);if(v&&v().includes(C)||x&&x(C).includes(E)||w&&w(C,E).includes(I)||h&&h(C,E,I).includes(T))return!0}return!1});return a}function nv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=l.useMemo(function(){var r=e&&fu(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function Rq(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,i=a===void 0?"date":a,o=e.prefixCls,s=o===void 0?"rc-picker":o,c=e.styles,u=c===void 0?{}:c,d=e.classNames,p=d===void 0?{}:d,g=e.order,m=g===void 0?!0:g,h=e.components,b=h===void 0?{}:h,y=e.inputRender,S=e.allowClear,v=e.clearIcon,x=e.needConfirm,w=e.multiple,C=e.format,E=e.inputReadOnly,I=e.disabledDate,T=e.minDate,_=e.maxDate,R=e.showTime,$=e.value,M=e.defaultValue,P=e.pickerValue,D=e.defaultPickerValue,O=nv($),k=nv(M),N=nv(P),A=nv(D),L=i==="date"&&R?"datetime":i,j=L==="time"||L==="datetime",F=j||w,B=x??j,z=Cq(e),U=se(z,4),H=U[0],K=U[1],Y=U[2],ee=U[3],ae=xq(r,K),W=l.useMemo(function(){return Eq(L,Y,ee,H,ae)},[L,Y,ee,H,ae]),q=l.useMemo(function(){return X(X({},e),{},{prefixCls:s,locale:ae,picker:i,styles:u,classNames:p,order:m,components:X({input:y},b),clearIcon:u0e(s,S,v),showTime:W,value:O,defaultValue:k,pickerValue:N,defaultPickerValue:A},t==null?void 0:t())},[e]),Z=g0e(L,ae,C),Q=se(Z,2),J=Q[0],le=Q[1],ce=m0e(J,E,w),pe=p0e(n,r,I,T,_),te=h0e(n,i,pe,W),ie=l.useMemo(function(){return X(X({},q),{},{needConfirm:B,inputReadOnly:ce,disabledDate:pe})},[q,B,ce,pe]);return[ie,L,F,J,le,te]}function v0e(e,t,n){var r=pn(t,{value:e}),a=se(r,2),i=a[0],o=a[1],s=de.useRef(e),c=de.useRef(),u=function(){Gt.cancel(c.current)},d=Yt(function(){o(s.current),n&&i!==s.current&&n(s.current)}),p=Yt(function(g,m){u(),s.current=g,g||m?d():c.current=Gt(d)});return de.useEffect(function(){return u},[]),[i,p]}function _q(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,a=n.every(function(d){return d})?!1:e,i=v0e(a,t||!1,r),o=se(i,2),s=o[0],c=o[1];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!p.inherit||s)&&c(d,p.force)}return[s,u]}function $q(e){var t=l.useRef();return l.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var i;(i=t.current)===null||i===void 0||i.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function Oq(e,t){return l.useMemo(function(){return e||(t?($n(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=se(n,2),a=r[0],i=r[1];return{label:a,value:i}})):[])},[e,t])}function QN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=l.useRef(t);r.current=t,Ac(function(){if(e)r.current(e);else{var a=Gt(function(){r.current(e)},n);return function(){Gt.cancel(a)}}},[e])}function Nq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=l.useState(0),a=se(r,2),i=a[0],o=a[1],s=l.useState(!1),c=se(s,2),u=c[0],d=c[1],p=l.useRef([]),g=l.useRef(null),m=function(S){d(S)},h=function(S){return S&&(g.current=S),g.current},b=function(S){var v=p.current,x=new Set(v.filter(function(C){return S[C]||t[C]})),w=v[v.length-1]===0?1:0;return x.size>=2||e[w]?null:w};return QN(u||n,function(){u||(p.current=[])}),l.useEffect(function(){u&&p.current.push(i)},[u,i]),[u,m,h,i,o,b,p.current]}function b0e(e,t,n,r,a,i){var o=n[n.length-1],s=function(u,d){var p=se(e,2),g=p[0],m=p[1],h=X(X({},d),{},{from:hq(e,n)});return o===1&&t[0]&&g&&!ja(r,a,g,u,h.type)&&r.isAfter(g,u)||o===0&&t[1]&&m&&!ja(r,a,m,u,h.type)&&r.isAfter(u,m)?!0:i==null?void 0:i(u,h)};return s}function $p(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var f1=[];function kq(e,t,n,r,a,i,o,s){var c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:f1,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:f1,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:f1,p=arguments.length>11?arguments[11]:void 0,g=arguments.length>12?arguments[12]:void 0,m=arguments.length>13?arguments[13]:void 0,h=o==="time",b=i||0,y=function(N){var A=e.getNow();return h&&(A=u0(e,A)),c[N]||n[N]||A},S=se(u,2),v=S[0],x=S[1],w=pn(function(){return y(0)},{value:v}),C=se(w,2),E=C[0],I=C[1],T=pn(function(){return y(1)},{value:x}),_=se(T,2),R=_[0],$=_[1],M=l.useMemo(function(){var k=[E,R][b];return h?k:u0(e,k,d[b])},[h,E,R,b,e,d]),P=function(N){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",L=[I,$][b];L(N);var j=[E,R];j[b]=N,p&&(!ja(e,t,E,j[0],o)||!ja(e,t,R,j[1],o))&&p(j,{source:A,range:b===1?"end":"start",mode:r})},D=function(N,A){if(s){var L={date:"month",week:"month",month:"year",quarter:"year"},j=L[o];if(j&&!ja(e,t,N,A,j))return $p(e,o,A,-1);if(o==="year"&&N){var F=Math.floor(e.getYear(N)/10),B=Math.floor(e.getYear(A)/10);if(F!==B)return $p(e,o,A,-1)}}return A},O=l.useRef(null);return Zt(function(){if(a&&!c[b]){var k=h?null:e.getNow();if(O.current!==null&&O.current!==b?k=[E,R][b^1]:n[b]?k=b===0?n[0]:D(n[0],n[1]):n[b^1]&&(k=n[b^1]),k){g&&e.isAfter(g,k)&&(k=g);var N=s?$p(e,o,k,1):k;m&&e.isAfter(N,m)&&(k=s?$p(e,o,m,-1):m),P(k,"reset")}}},[a,b,n[b]]),l.useEffect(function(){a?O.current=b:O.current=null},[a,b]),Zt(function(){a&&c&&c[b]&&P(c[b],"reset")},[a,b]),[M,P]}function Aq(e,t){var n=l.useRef(e),r=l.useState({}),a=se(r,2),i=a[1],o=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,i({})};return[o,s,o(!0)]}var y0e=[];function Dq(e,t,n){var r=function(o){return o.map(function(s){return ta(s,{generateConfig:e,locale:t,format:n[0]})})},a=function(o,s){for(var c=Math.max(o.length,s.length),u=-1,d=0;d2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var u=a.includes(c);(!u||!r)&&o.push({label:KN(c,i),value:c,disabled:u})}return o}function JN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},a=r.use12Hours,i=r.hourStep,o=i===void 0?1:i,s=r.minuteStep,c=s===void 0?1:s,u=r.secondStep,d=u===void 0?1:u,p=r.millisecondStep,g=p===void 0?100:p,m=r.hideDisabledOptions,h=r.disabledTime,b=r.disabledHours,y=r.disabledMinutes,S=r.disabledSeconds,v=l.useMemo(function(){return n||e.getNow()},[n,e]),x=l.useCallback(function(A){var L=(h==null?void 0:h(A))||{};return[L.disabledHours||b||rv,L.disabledMinutes||y||rv,L.disabledSeconds||S||rv,L.disabledMilliseconds||rv]},[h,b,y,S]),w=l.useMemo(function(){return x(v)},[v,x]),C=se(w,4),E=C[0],I=C[1],T=C[2],_=C[3],R=l.useCallback(function(A,L,j,F){var B=av(0,23,o,m,A()),z=a?B.map(function(Y){return X(X({},Y),{},{label:KN(Y.value%12||12,2)})}):B,U=function(ee){return av(0,59,c,m,L(ee))},H=function(ee,ae){return av(0,59,d,m,j(ee,ae))},K=function(ee,ae,W){return av(0,999,g,m,F(ee,ae,W),3)};return[z,U,H,K]},[m,o,a,g,c,d]),$=l.useMemo(function(){return R(E,I,T,_)},[R,E,I,T,_]),M=se($,4),P=M[0],D=M[1],O=M[2],k=M[3],N=function(L,j){var F=function(){return P},B=D,z=O,U=k;if(j){var H=x(j),K=se(H,4),Y=K[0],ee=K[1],ae=K[2],W=K[3],q=R(Y,ee,ae,W),Z=se(q,4),Q=Z[0],J=Z[1],le=Z[2],ce=Z[3];F=function(){return Q},B=J,z=le,U=ce}var pe=S0e(L,F,B,z,U,e);return pe};return[N,P,D,O,k]}function w0e(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,i=e.showTime,o=e.onSubmit,s=e.onNow,c=e.invalid,u=e.needConfirm,d=e.generateConfig,p=e.disabledDate,g=l.useContext(Uo),m=g.prefixCls,h=g.locale,b=g.button,y=b===void 0?"button":b,S=d.getNow(),v=JN(d,i,S),x=se(v,1),w=x[0],C=r==null?void 0:r(t),E=p(S,{type:t}),I=function(){if(!E){var D=w(S);s(D)}},T="".concat(m,"-now"),_="".concat(T,"-btn"),R=a&&l.createElement("li",{className:T},l.createElement("a",{className:oe(_,E&&"".concat(_,"-disabled")),"aria-disabled":E,onClick:I},n==="date"?h.today:h.now)),$=u&&l.createElement("li",{className:"".concat(m,"-ok")},l.createElement(y,{disabled:c,onClick:o},h.ok)),M=(R||$)&&l.createElement("ul",{className:"".concat(m,"-ranges")},R,$);return!C&&!M?null:l.createElement("div",{className:"".concat(m,"-footer")},C&&l.createElement("div",{className:"".concat(m,"-footer-extra")},C),M)}function Fq(e,t,n){function r(a,i){var o=a.findIndex(function(c){return ja(e,t,c,i,n)});if(o===-1)return[].concat(Me(a),[i]);var s=Me(a);return s.splice(o,1),s}return r}var pu=l.createContext(null);function ex(){return l.useContext(pu)}function kf(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,i=e.disabledDate,o=e.minDate,s=e.maxDate,c=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,p=e.onHover,g=e.values,m=e.pickerValue,h=e.onSelect,b=e.prevIcon,y=e.nextIcon,S=e.superPrevIcon,v=e.superNextIcon,x=r.getNow(),w={now:x,values:g,pickerValue:m,prefixCls:n,disabledDate:i,minDate:o,maxDate:s,cellRender:c,hoverValue:u,hoverRangeValue:d,onHover:p,locale:a,generateConfig:r,onSelect:h,panelType:t,prevIcon:b,nextIcon:y,superPrevIcon:S,superNextIcon:v};return[w,x]}var Al=l.createContext({});function Gm(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,i=e.prefixColumn,o=e.rowClassName,s=e.titleFormat,c=e.getCellText,u=e.getCellClassName,d=e.headerCells,p=e.cellSelection,g=p===void 0?!0:p,m=e.disabledDate,h=ex(),b=h.prefixCls,y=h.panelType,S=h.now,v=h.disabledDate,x=h.cellRender,w=h.onHover,C=h.hoverValue,E=h.hoverRangeValue,I=h.generateConfig,T=h.values,_=h.locale,R=h.onSelect,$=m||v,M="".concat(b,"-cell"),P=l.useContext(Al),D=P.onCellDblClick,O=function(z){return T.some(function(U){return U&&ja(I,_,z,U,y)})},k=[],N=0;N1&&arguments[1]!==void 0?arguments[1]:!1;ne(Ne),y==null||y(Ne),Te&&ue(Ne)},xe=function(Ne,Te){ae(Ne),Te&&me(Te),ue(Te,Ne)},Ie=function(Ne){if(te(Ne),me(Ne),ee!==w){var Te=["decade","year"],Ce=[].concat(Te,["month"]),De={quarter:[].concat(Te,["quarter"]),week:[].concat(Me(Ce),["week"]),date:[].concat(Me(Ce),["date"])},Ge=De[w]||Ce,lt=Ge.indexOf(ee),he=Ge[lt+1];he&&xe(he,Ne)}},ke=l.useMemo(function(){var Se,Ne;if(Array.isArray(I)){var Te=se(I,2);Se=Te[0],Ne=Te[1]}else Se=I;return!Se&&!Ne?null:(Se=Se||Ne,Ne=Ne||Se,a.isAfter(Se,Ne)?[Ne,Se]:[Se,Ne])},[I,a]),$e=YN(T,_,R),Le=M[W]||A0e[W]||tx,je=l.useContext(Al),He=l.useMemo(function(){return X(X({},je),{},{hideHeader:P})},[je,P]),Be="".concat(D,"-panel"),Pe=Qy(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return l.createElement(Al.Provider,{value:He},l.createElement("div",{ref:O,tabIndex:c,className:oe(Be,V({},"".concat(Be,"-rtl"),i==="rtl"))},l.createElement(Le,be({},Pe,{showTime:U,prefixCls:D,locale:B,generateConfig:a,onModeChange:xe,pickerValue:ge,onPickerValueChange:function(Ne){me(Ne,!0)},value:ce[0],onSelect:Ie,values:ce,cellRender:$e,hoverRangeValue:ke,hoverValue:E}))))}var p1=l.memo(l.forwardRef(D0e));function M0e(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,i=e.needConfirm,o=e.onSubmit,s=e.range,c=e.hoverValue,u=l.useContext(Uo),d=u.prefixCls,p=u.generateConfig,g=l.useCallback(function(v,x){return $p(p,t,v,x)},[p,t]),m=l.useMemo(function(){return g(r,1)},[r,g]),h=function(x){a(g(x,-1))},b={onCellDblClick:function(){i&&o()}},y=t==="time",S=X(X({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:y});return s?S.hoverRangeValue=c:S.hoverValue=c,n?l.createElement("div",{className:"".concat(d,"-panels")},l.createElement(Al.Provider,{value:X(X({},b),{},{hideNext:!0})},l.createElement(p1,S)),l.createElement(Al.Provider,{value:X(X({},b),{},{hidePrev:!0})},l.createElement(p1,be({},S,{pickerValue:m,onPickerValueChange:h})))):l.createElement(Al.Provider,{value:X({},b)},l.createElement(p1,S))}function vP(e){return typeof e=="function"?e():e}function P0e(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?l.createElement("div",{className:"".concat(t,"-presets")},l.createElement("ul",null,n.map(function(i,o){var s=i.label,c=i.value;return l.createElement("li",{key:o,onClick:function(){r(vP(c))},onMouseEnter:function(){a(vP(c))},onMouseLeave:function(){a(null)}},s)}))):null}function zq(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,i=e.range,o=e.multiple,s=e.activeOffset,c=s===void 0?0:s,u=e.placement,d=e.presets,p=e.onPresetHover,g=e.onPresetSubmit,m=e.onFocus,h=e.onBlur,b=e.onPanelMouseDown,y=e.direction,S=e.value,v=e.onSelect,x=e.isInvalid,w=e.defaultOpenValue,C=e.onOk,E=e.onSubmit,I=l.useContext(Uo),T=I.prefixCls,_="".concat(T,"-panel"),R=y==="rtl",$=l.useRef(null),M=l.useRef(null),P=l.useState(0),D=se(P,2),O=D[0],k=D[1],N=l.useState(0),A=se(N,2),L=A[0],j=A[1],F=function(pe){pe.offsetWidth&&k(pe.offsetWidth)};l.useEffect(function(){if(i){var ce,pe=((ce=$.current)===null||ce===void 0?void 0:ce.offsetWidth)||0,te=O-pe;c<=te?j(0):j(c+pe-O)}},[O,c,i]);function B(ce){return ce.filter(function(pe){return pe})}var z=l.useMemo(function(){return B(fu(S))},[S]),U=r==="time"&&!z.length,H=l.useMemo(function(){return U?B([w]):z},[U,z,w]),K=U?w:z,Y=l.useMemo(function(){return H.length?H.some(function(ce){return x(ce)}):!0},[H,x]),ee=function(){U&&v(w),C(),E()},ae=l.createElement("div",{className:"".concat(T,"-panel-layout")},l.createElement(P0e,{prefixCls:T,presets:d,onClick:g,onHover:p}),l.createElement("div",null,l.createElement(M0e,be({},e,{value:K})),l.createElement(w0e,be({},e,{showNow:o?!1:a,invalid:Y,onSubmit:ee}))));t&&(ae=t(ae));var W="".concat(_,"-container"),q="marginLeft",Z="marginRight",Q=l.createElement("div",{onMouseDown:b,tabIndex:-1,className:oe(W,"".concat(T,"-").concat(n,"-panel-container")),style:V(V({},R?Z:q,L),R?q:Z,"auto"),onFocus:m,onBlur:h},ae);if(i){var J=Zy(u,R),le=pq(J,R);Q=l.createElement("div",{onMouseDown:b,ref:M,className:oe("".concat(T,"-range-wrapper"),"".concat(T,"-").concat(r,"-range-wrapper"))},l.createElement("div",{ref:$,className:"".concat(T,"-range-arrow"),style:V({},le,c)}),l.createElement(Ta,{onResize:F},Q))}return Q}function Hq(e,t){var n=e.format,r=e.maskFormat,a=e.generateConfig,i=e.locale,o=e.preserveInvalidOnBlur,s=e.inputReadOnly,c=e.required,u=e["aria-required"],d=e.onSubmit,p=e.onFocus,g=e.onBlur,m=e.onInputChange,h=e.onInvalid,b=e.open,y=e.onOpenChange,S=e.onKeyDown,v=e.onChange,x=e.activeHelp,w=e.name,C=e.autoComplete,E=e.id,I=e.value,T=e.invalid,_=e.placeholder,R=e.disabled,$=e.activeIndex,M=e.allHelp,P=e.picker,D=function(B,z){var U=a.locale.parse(i.locale,B,[z]);return U&&a.isValidate(U)?U:null},O=n[0],k=l.useCallback(function(F){return ta(F,{locale:i,format:O,generateConfig:a})},[i,a,O]),N=l.useMemo(function(){return I.map(k)},[I,k]),A=l.useMemo(function(){var F=P==="time"?8:10,B=typeof O=="function"?O(a.getNow()).length:O.length;return Math.max(F,B)+2},[O,P,a]),L=function(B){for(var z=0;z=s&&n<=c)return i;var u=Math.min(Math.abs(n-s),Math.abs(n-c));u0?Ae:Oe));var We=Ye+_e,qe=Oe-Ae+1;return String(Ae+(qe+We-Ae)%qe)};switch(Ne){case"Backspace":case"Delete":Te="",Ce=Ge;break;case"ArrowLeft":Te="",lt(-1);break;case"ArrowRight":Te="",lt(1);break;case"ArrowUp":Te="",Ce=he(1);break;case"ArrowDown":Te="",Ce=he(-1);break;default:isNaN(Number(Ne))||(Te=F+Ne,Ce=Te);break}if(Te!==null&&(B(Te),Te.length>=De&&(lt(1),B(""))),Ce!==null){var re=q.slice(0,pe)+KN(Ce,De)+q.slice(te);fe(re.slice(0,o.length))}W({})},He=l.useRef();Zt(function(){if(!(!P||!o||ue.current)){if(!J.match(q)){fe(o);return}return Q.current.setSelectionRange(pe,te),He.current=Gt(function(){Q.current.setSelectionRange(pe,te)}),function(){Gt.cancel(He.current)}}},[J,o,P,q,H,pe,te,ae,fe]);var Be=o?{onFocus:Ie,onBlur:$e,onKeyDown:je,onMouseDown:me,onMouseUp:xe,onPaste:ne}:{};return l.createElement("div",{ref:Z,className:oe(R,V(V({},"".concat(R,"-active"),n&&a),"".concat(R,"-placeholder"),u))},l.createElement(_,be({ref:Q,"aria-invalid":b,autoComplete:"off"},S,{onKeyDown:Le,onBlur:ke},Be,{value:q,onChange:ge})),l.createElement(nx,{type:"suffix",icon:i}),y)}),U0e=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],V0e=["index"];function W0e(e,t){var n=e.id,r=e.clearIcon,a=e.suffixIcon,i=e.separator,o=i===void 0?"~":i,s=e.activeIndex;e.activeHelp,e.allHelp;var c=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,p=e.style,g=e.onClick,m=e.onClear,h=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var b=e.disabled,y=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var v=e.onActiveOffset,x=e.placement,w=e.onMouseDown;e.required,e["aria-required"];var C=e.autoFocus,E=Ct(e,U0e),I=S==="rtl",T=l.useContext(Uo),_=T.prefixCls,R=l.useMemo(function(){if(typeof n=="string")return[n];var q=n||{};return[q.start,q.end]},[n]),$=l.useRef(),M=l.useRef(),P=l.useRef(),D=function(Z){var Q;return(Q=[M,P][Z])===null||Q===void 0?void 0:Q.current};l.useImperativeHandle(t,function(){return{nativeElement:$.current,focus:function(Z){if(mt(Z)==="object"){var Q,J=Z||{},le=J.index,ce=le===void 0?0:le,pe=Ct(J,V0e);(Q=D(ce))===null||Q===void 0||Q.focus(pe)}else{var te;(te=D(Z??0))===null||te===void 0||te.focus()}},blur:function(){var Z,Q;(Z=D(0))===null||Z===void 0||Z.blur(),(Q=D(1))===null||Q===void 0||Q.blur()}}});var O=Uq(E),k=l.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),N=Hq(X(X({},e),{},{id:R,placeholder:k})),A=se(N,1),L=A[0],j=Zy(x,I),F=pq(j,I),B=j==null?void 0:j.toLowerCase().endsWith("right"),z=l.useState({position:"absolute",width:0}),U=se(z,2),H=U[0],K=U[1],Y=Yt(function(){var q=D(s);if(q){var Z=q.nativeElement,Q=Z.offsetWidth,J=Z.offsetLeft,le=Z.offsetParent,ce=(le==null?void 0:le.offsetWidth)||0,pe=B?ce-Q-J:J;K(function(te){return X(X({},te),{},V({width:Q},F,pe))}),v(pe)}});l.useEffect(function(){Y()},[s]);var ee=r&&(h[0]&&!b[0]||h[1]&&!b[1]),ae=C&&!b[0],W=C&&!ae&&!b[1];return l.createElement(Ta,{onResize:Y},l.createElement("div",be({},O,{className:oe(_,"".concat(_,"-range"),V(V(V(V({},"".concat(_,"-focused"),c),"".concat(_,"-disabled"),b.every(function(q){return q})),"".concat(_,"-invalid"),y.some(function(q){return q})),"".concat(_,"-rtl"),I),d),style:p,ref:$,onClick:g,onMouseDown:function(Z){var Q=Z.target;Q!==M.current.inputElement&&Q!==P.current.inputElement&&Z.preventDefault(),w==null||w(Z)}}),l.createElement(z_,be({ref:M},L(0),{autoFocus:ae,"date-range":"start"})),l.createElement("div",{className:"".concat(_,"-range-separator")},o),l.createElement(z_,be({ref:P},L(1),{autoFocus:W,"date-range":"end"})),l.createElement("div",{className:"".concat(_,"-active-bar"),style:H}),l.createElement(nx,{type:"suffix",icon:a}),ee&&l.createElement(B_,{icon:r,onClear:m})))}var G0e=l.forwardRef(W0e);function yP(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function ov(e){return e===1?"end":"start"}function q0e(e,t){var n=Rq(e,function(){var Xt=e.disabled,gt=e.allowEmpty,St=yP(Xt,!1),un=yP(gt,!1);return{disabled:St,allowEmpty:un}}),r=se(n,6),a=r[0],i=r[1],o=r[2],s=r[3],c=r[4],u=r[5],d=a.prefixCls,p=a.styles,g=a.classNames,m=a.placement,h=a.defaultValue,b=a.value,y=a.needConfirm,S=a.onKeyDown,v=a.disabled,x=a.allowEmpty,w=a.disabledDate,C=a.minDate,E=a.maxDate,I=a.defaultOpen,T=a.open,_=a.onOpenChange,R=a.locale,$=a.generateConfig,M=a.picker,P=a.showNow,D=a.showToday,O=a.showTime,k=a.mode,N=a.onPanelChange,A=a.onCalendarChange,L=a.onOk,j=a.defaultPickerValue,F=a.pickerValue,B=a.onPickerValueChange,z=a.inputReadOnly,U=a.suffixIcon,H=a.onFocus,K=a.onBlur,Y=a.presets,ee=a.ranges,ae=a.components,W=a.cellRender,q=a.dateRender,Z=a.monthCellRender,Q=a.onClick,J=$q(t),le=_q(T,I,v,_),ce=se(le,2),pe=ce[0],te=ce[1],ie=function(gt,St){(v.some(function(un){return!un})||!gt)&&te(gt,St)},fe=Pq($,R,s,!0,!1,h,b,A,L),ge=se(fe,5),ne=ge[0],ue=ge[1],me=ge[2],xe=ge[3],Ie=ge[4],ke=me(),$e=Nq(v,x,pe),Le=se($e,7),je=Le[0],He=Le[1],Be=Le[2],Pe=Le[3],Se=Le[4],Ne=Le[5],Te=Le[6],Ce=function(gt,St){He(!0),H==null||H(gt,{range:ov(St??Pe)})},De=function(gt,St){He(!1),K==null||K(gt,{range:ov(St??Pe)})},Ge=l.useMemo(function(){if(!O)return null;var Xt=O.disabledTime,gt=Xt?function(St){var un=ov(Pe),Hn=hq(ke,Te,Pe);return Xt(St,un,{from:Hn})}:void 0;return X(X({},O),{},{disabledTime:gt})},[O,Pe,ke,Te]),lt=pn([M,M],{value:k}),he=se(lt,2),re=he[0],ve=he[1],_e=re[Pe]||M,ze=_e==="date"&&Ge?"datetime":_e,Ue=ze===M&&ze!=="time",Ae=jq(M,_e,P,D,!0),Oe=Lq(a,ne,ue,me,xe,v,s,je,pe,u),Re=se(Oe,2),at=Re[0],Ye=Re[1],We=b0e(ke,v,Te,$,R,w),qe=bq(ke,u,x),Qe=se(qe,2),it=Qe[0],wt=Qe[1],kt=kq($,R,ke,re,pe,Pe,i,Ue,j,F,Ge==null?void 0:Ge.defaultOpenValue,B,C,E),xt=se(kt,2),nt=xt[0],rt=xt[1],bt=Yt(function(Xt,gt,St){var un=ng(re,Pe,gt);if((un[0]!==re[0]||un[1]!==re[1])&&ve(un),N&&St!==!1){var Hn=Me(ke);Xt&&(Hn[Pe]=Xt),N(Hn,un)}}),Ot=function(gt,St){return ng(ke,St,gt)},ht=function(gt,St){var un=ke;gt&&(un=Ot(gt,Pe));var Hn=Ne(un);xe(un),at(Pe,Hn===null),Hn===null?ie(!1,{force:!0}):St||J.current.focus({index:Hn})},ct=function(gt){var St,un=gt.target.getRootNode();if(!J.current.nativeElement.contains((St=un.activeElement)!==null&&St!==void 0?St:document.activeElement)){var Hn=v.findIndex(function(sr){return!sr});Hn>=0&&J.current.focus({index:Hn})}ie(!0),Q==null||Q(gt)},Et=function(){Ye(null),ie(!1,{force:!0})},Ze=l.useState(null),ut=se(Ze,2),pt=ut[0],et=ut[1],Xe=l.useState(null),$t=se(Xe,2),At=$t[0],qt=$t[1],hn=l.useMemo(function(){return At||ke},[ke,At]);l.useEffect(function(){pe||qt(null)},[pe]);var gn=l.useState(0),yt=se(gn,2),Dt=yt[0],jt=yt[1],Jt=Oq(Y,ee),Nn=function(gt){qt(gt),et("preset")},Dr=function(gt){var St=Ye(gt);St&&ie(!1,{force:!0})},or=function(gt){ht(gt)},wr=function(gt){qt(gt?Ot(gt,Pe):null),et("cell")},tr=function(gt){ie(!0),Ce(gt)},Pr=function(){Be("panel")},nr=function(gt){var St=ng(ke,Pe,gt);xe(St),!y&&!o&&i===ze&&ht(gt)},en=function(){ie(!1)},Rt=YN(W,q,Z,ov(Pe)),Ht=ke[Pe]||null,Vt=Yt(function(Xt){return u(Xt,{activeIndex:Pe})}),on=l.useMemo(function(){var Xt=fr(a,!1),gt=Dn(a,[].concat(Me(Object.keys(Xt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return gt},[a]),It=l.createElement(zq,be({},on,{showNow:Ae,showTime:Ge,range:!0,multiplePanel:Ue,activeOffset:Dt,placement:m,disabledDate:We,onFocus:tr,onBlur:De,onPanelMouseDown:Pr,picker:M,mode:_e,internalMode:ze,onPanelChange:bt,format:c,value:Ht,isInvalid:Vt,onChange:null,onSelect:nr,pickerValue:nt,defaultOpenValue:fu(O==null?void 0:O.defaultOpenValue)[Pe],onPickerValueChange:rt,hoverValue:hn,onHover:wr,needConfirm:y,onSubmit:ht,onOk:Ie,presets:Jt,onPresetHover:Nn,onPresetSubmit:Dr,onNow:or,cellRender:Rt})),Mt=function(gt,St){var un=Ot(gt,St);xe(un)},bn=function(){Be("input")},zn=function(gt,St){Be("input"),ie(!0,{inherit:!0}),Pe!==St&&pe&&!y&&o&&ht(null,!0),Se(St),Ce(gt,St)},Cr=function(gt,St){if(ie(!1),!y&&Be()==="input"){var un=Ne(ke);at(Pe,un===null)}De(gt,St)},Er=function(gt,St){gt.key==="Tab"&&ht(null,!0),S==null||S(gt,St)},Lr=l.useMemo(function(){return{prefixCls:d,locale:R,generateConfig:$,button:ae.button,input:ae.input}},[d,R,$,ae.button,ae.input]);return Zt(function(){pe&&Pe!==void 0&&bt(null,M,!1)},[pe,Pe,M]),Zt(function(){var Xt=Be();!pe&&Xt==="input"&&(ie(!1),ht(null,!0)),!pe&&o&&!y&&Xt==="panel"&&(ie(!0),ht())},[pe]),l.createElement(Uo.Provider,{value:Lr},l.createElement(gq,be({},vq(a),{popupElement:It,popupStyle:p.popup,popupClassName:g.popup,visible:pe,onClose:en,range:!0}),l.createElement(G0e,be({},a,{ref:J,suffixIcon:U,activeIndex:je||pe?Pe:null,activeHelp:!!At,allHelp:!!At&&pt==="preset",focused:je,onFocus:zn,onBlur:Cr,onKeyDown:Er,onSubmit:ht,value:hn,maskFormat:c,onChange:Mt,onInputChange:bn,format:s,inputReadOnly:z,disabled:v,open:pe,onOpenChange:ie,onClick:ct,onClear:Et,invalid:it,onInvalid:wt,onActiveOffset:jt}))))}var K0e=l.forwardRef(q0e);function Y0e(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,i=a===void 0?"×":a,o=e.formatDate,s=e.disabled,c=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),p="".concat(t,"-selection"),g="".concat(p,"-overflow");function m(y,S){return l.createElement("span",{className:oe("".concat(p,"-item")),title:typeof y=="string"?y:null},l.createElement("span",{className:"".concat(p,"-item-content")},y),!s&&S&&l.createElement("span",{onMouseDown:function(x){x.preventDefault()},onClick:S,className:"".concat(p,"-item-remove")},i))}function h(y){var S=o(y),v=function(w){w&&w.stopPropagation(),r(y)};return m(S,v)}function b(y){var S="+ ".concat(y.length," ...");return m(S)}return l.createElement("div",{className:d},l.createElement(Ao,{prefixCls:g,data:n,renderItem:h,renderRest:b,itemKey:function(S){return o(S)},maxCount:c}),!n.length&&l.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var X0e=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function Z0e(e,t){e.id;var n=e.open,r=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var o=e.locale,s=e.generateConfig,c=e.placeholder,u=e.className,d=e.style,p=e.onClick,g=e.onClear,m=e.internalPicker,h=e.value,b=e.onChange,y=e.onSubmit;e.onInputChange;var S=e.multiple,v=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var x=e.disabled,w=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var E=e.onMouseDown;e.required,e["aria-required"];var I=e.autoFocus,T=e.removeIcon,_=Ct(e,X0e),R=C==="rtl",$=l.useContext(Uo),M=$.prefixCls,P=l.useRef(),D=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(H){var K;(K=D.current)===null||K===void 0||K.focus(H)},blur:function(){var H;(H=D.current)===null||H===void 0||H.blur()}}});var O=Uq(_),k=function(H){b([H])},N=function(H){var K=h.filter(function(Y){return Y&&!ja(s,o,Y,H,m)});b(K),n||y()},A=Hq(X(X({},e),{},{onChange:k}),function(U){var H=U.valueTexts;return{value:H[0]||"",active:i}}),L=se(A,2),j=L[0],F=L[1],B=!!(r&&h.length&&!x),z=S?l.createElement(l.Fragment,null,l.createElement(Y0e,{prefixCls:M,value:h,onRemove:N,formatDate:F,maxTagCount:v,disabled:x,removeIcon:T,placeholder:c}),l.createElement("input",{className:"".concat(M,"-multiple-input"),value:h.map(F).join(","),ref:D,readOnly:!0,autoFocus:I}),l.createElement(nx,{type:"suffix",icon:a}),B&&l.createElement(B_,{icon:r,onClear:g})):l.createElement(z_,be({ref:D},j(),{autoFocus:I,suffixIcon:a,clearIcon:B&&l.createElement(B_,{icon:r,onClear:g}),showActiveCls:!1}));return l.createElement("div",be({},O,{className:oe(M,V(V(V(V(V({},"".concat(M,"-multiple"),S),"".concat(M,"-focused"),i),"".concat(M,"-disabled"),x),"".concat(M,"-invalid"),w),"".concat(M,"-rtl"),R),u),style:d,ref:P,onClick:p,onMouseDown:function(H){var K,Y=H.target;Y!==((K=D.current)===null||K===void 0?void 0:K.inputElement)&&H.preventDefault(),E==null||E(H)}}),z)}var Q0e=l.forwardRef(Z0e);function J0e(e,t){var n=Rq(e),r=se(n,6),a=r[0],i=r[1],o=r[2],s=r[3],c=r[4],u=r[5],d=a,p=d.prefixCls,g=d.styles,m=d.classNames,h=d.order,b=d.defaultValue,y=d.value,S=d.needConfirm,v=d.onChange,x=d.onKeyDown,w=d.disabled,C=d.disabledDate,E=d.minDate,I=d.maxDate,T=d.defaultOpen,_=d.open,R=d.onOpenChange,$=d.locale,M=d.generateConfig,P=d.picker,D=d.showNow,O=d.showToday,k=d.showTime,N=d.mode,A=d.onPanelChange,L=d.onCalendarChange,j=d.onOk,F=d.multiple,B=d.defaultPickerValue,z=d.pickerValue,U=d.onPickerValueChange,H=d.inputReadOnly,K=d.suffixIcon,Y=d.removeIcon,ee=d.onFocus,ae=d.onBlur,W=d.presets,q=d.components,Z=d.cellRender,Q=d.dateRender,J=d.monthCellRender,le=d.onClick,ce=$q(t);function pe(It){return It===null?null:F?It:It[0]}var te=Fq(M,$,i),ie=_q(_,T,[w],R),fe=se(ie,2),ge=fe[0],ne=fe[1],ue=function(Mt,bn,zn){if(L){var Cr=X({},zn);delete Cr.range,L(pe(Mt),pe(bn),Cr)}},me=function(Mt){j==null||j(pe(Mt))},xe=Pq(M,$,s,!1,h,b,y,ue,me),Ie=se(xe,5),ke=Ie[0],$e=Ie[1],Le=Ie[2],je=Ie[3],He=Ie[4],Be=Le(),Pe=Nq([w]),Se=se(Pe,4),Ne=Se[0],Te=Se[1],Ce=Se[2],De=Se[3],Ge=function(Mt){Te(!0),ee==null||ee(Mt,{})},lt=function(Mt){Te(!1),ae==null||ae(Mt,{})},he=pn(P,{value:N}),re=se(he,2),ve=re[0],_e=re[1],ze=ve==="date"&&k?"datetime":ve,Ue=jq(P,ve,D,O),Ae=v&&function(It,Mt){v(pe(It),pe(Mt))},Oe=Lq(X(X({},a),{},{onChange:Ae}),ke,$e,Le,je,[],s,Ne,ge,u),Re=se(Oe,2),at=Re[1],Ye=bq(Be,u),We=se(Ye,2),qe=We[0],Qe=We[1],it=l.useMemo(function(){return qe.some(function(It){return It})},[qe]),wt=function(Mt,bn){if(U){var zn=X(X({},bn),{},{mode:bn.mode[0]});delete zn.range,U(Mt[0],zn)}},kt=kq(M,$,Be,[ve],ge,De,i,!1,B,z,fu(k==null?void 0:k.defaultOpenValue),wt,E,I),xt=se(kt,2),nt=xt[0],rt=xt[1],bt=Yt(function(It,Mt,bn){if(_e(Mt),A&&bn!==!1){var zn=It||Be[Be.length-1];A(zn,Mt)}}),Ot=function(){at(Le()),ne(!1,{force:!0})},ht=function(Mt){!w&&!ce.current.nativeElement.contains(document.activeElement)&&ce.current.focus(),ne(!0),le==null||le(Mt)},ct=function(){at(null),ne(!1,{force:!0})},Et=l.useState(null),Ze=se(Et,2),ut=Ze[0],pt=Ze[1],et=l.useState(null),Xe=se(et,2),$t=Xe[0],At=Xe[1],qt=l.useMemo(function(){var It=[$t].concat(Me(Be)).filter(function(Mt){return Mt});return F?It:It.slice(0,1)},[Be,$t,F]),hn=l.useMemo(function(){return!F&&$t?[$t]:Be.filter(function(It){return It})},[Be,$t,F]);l.useEffect(function(){ge||At(null)},[ge]);var gn=Oq(W),yt=function(Mt){At(Mt),pt("preset")},Dt=function(Mt){var bn=F?te(Le(),Mt):[Mt],zn=at(bn);zn&&!F&&ne(!1,{force:!0})},jt=function(Mt){Dt(Mt)},Jt=function(Mt){At(Mt),pt("cell")},Nn=function(Mt){ne(!0),Ge(Mt)},Dr=function(Mt){Ce("panel");var bn=F?te(Le(),Mt):[Mt];je(bn),!S&&!o&&i===ze&&Ot()},or=function(){ne(!1)},wr=YN(Z,Q,J),tr=l.useMemo(function(){var It=fr(a,!1),Mt=Dn(a,[].concat(Me(Object.keys(It)),["onChange","onCalendarChange","style","className","onPanelChange"]));return X(X({},Mt),{},{multiple:a.multiple})},[a]),Pr=l.createElement(zq,be({},tr,{showNow:Ue,showTime:k,disabledDate:C,onFocus:Nn,onBlur:lt,picker:P,mode:ve,internalMode:ze,onPanelChange:bt,format:c,value:Be,isInvalid:u,onChange:null,onSelect:Dr,pickerValue:nt,defaultOpenValue:k==null?void 0:k.defaultOpenValue,onPickerValueChange:rt,hoverValue:qt,onHover:Jt,needConfirm:S,onSubmit:Ot,onOk:He,presets:gn,onPresetHover:yt,onPresetSubmit:Dt,onNow:jt,cellRender:wr})),nr=function(Mt){je(Mt)},en=function(){Ce("input")},Rt=function(Mt){Ce("input"),ne(!0,{inherit:!0}),Ge(Mt)},Ht=function(Mt){ne(!1),lt(Mt)},Vt=function(Mt,bn){Mt.key==="Tab"&&Ot(),x==null||x(Mt,bn)},on=l.useMemo(function(){return{prefixCls:p,locale:$,generateConfig:M,button:q.button,input:q.input}},[p,$,M,q.button,q.input]);return Zt(function(){ge&&De!==void 0&&bt(null,P,!1)},[ge,De,P]),Zt(function(){var It=Ce();!ge&&It==="input"&&(ne(!1),Ot()),!ge&&o&&!S&&It==="panel"&&(ne(!0),Ot())},[ge]),l.createElement(Uo.Provider,{value:on},l.createElement(gq,be({},vq(a),{popupElement:Pr,popupStyle:g.popup,popupClassName:m.popup,visible:ge,onClose:or}),l.createElement(Q0e,be({},a,{ref:ce,suffixIcon:K,removeIcon:Y,activeHelp:!!$t,allHelp:!!$t&&ut==="preset",focused:Ne,onFocus:Rt,onBlur:Ht,onKeyDown:Vt,onSubmit:Ot,value:hn,maskFormat:c,onChange:nr,onInputChange:en,internalPicker:i,format:s,inputReadOnly:H,disabled:w,open:ge,onOpenChange:ne,onClick:ht,onClear:ct,invalid:it,onInvalid:function(Mt){Qe(Mt,0)}}))))}var eye=l.forwardRef(J0e);const Vq=l.createContext(null),tye=Vq.Provider,Wq=l.createContext(null),nye=Wq.Provider;var rye=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Gq=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,a=e.className,i=e.style,o=e.checked,s=e.disabled,c=e.defaultChecked,u=c===void 0?!1:c,d=e.type,p=d===void 0?"checkbox":d,g=e.title,m=e.onChange,h=Ct(e,rye),b=l.useRef(null),y=l.useRef(null),S=pn(u,{value:o}),v=se(S,2),x=v[0],w=v[1];l.useImperativeHandle(t,function(){return{focus:function(T){var _;(_=b.current)===null||_===void 0||_.focus(T)},blur:function(){var T;(T=b.current)===null||T===void 0||T.blur()},input:b.current,nativeElement:y.current}});var C=oe(r,a,V(V({},"".concat(r,"-checked"),x),"".concat(r,"-disabled"),s)),E=function(T){s||("checked"in e||w(T.target.checked),m==null||m({target:X(X({},e),{},{type:p,checked:T.target.checked}),stopPropagation:function(){T.stopPropagation()},preventDefault:function(){T.preventDefault()},nativeEvent:T.nativeEvent}))};return l.createElement("span",{className:C,title:g,style:i,ref:y},l.createElement("input",be({},h,{className:"".concat(r,"-input"),ref:b,onChange:E,disabled:s,checked:!!x,type:p})),l.createElement("span",{className:"".concat(r,"-inner")}))});const aye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},ln(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`&${r}-block`]:{display:"flex"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},iye=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:i,motionDurationMid:o,motionEaseInOutCirc:s,colorBgContainer:c,colorBorder:u,lineWidth:d,colorBgContainerDisabled:p,colorTextDisabled:g,paddingXS:m,dotColorDisabled:h,lineType:b,radioColor:y,radioBgColor:S,calc:v}=e,x=`${t}-inner`,C=v(a).sub(v(4).mul(2)),E=v(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},ln(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${G(d)} ${b} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},ln(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${x}`]:{borderColor:r},[`${t}-input:focus-visible + ${x}`]:Object.assign({},Ps(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:v(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:v(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:y,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:c,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${o}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[x]:{borderColor:r,backgroundColor:S,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:p,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:g,cursor:"not-allowed"},[`&${t}-checked`]:{[x]:{"&::after":{transform:`scale(${v(C).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},oye=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:i,colorBorder:o,motionDurationSlow:s,motionDurationMid:c,buttonPaddingInline:u,fontSize:d,buttonBg:p,fontSizeLG:g,controlHeightLG:m,controlHeightSM:h,paddingXS:b,borderRadius:y,borderRadiusSM:S,borderRadiusLG:v,buttonCheckedBg:x,buttonSolidCheckedColor:w,colorTextDisabled:C,colorBgContainerDisabled:E,buttonCheckedBgDisabled:I,buttonCheckedColorDisabled:T,colorPrimary:_,colorPrimaryHover:R,colorPrimaryActive:$,buttonSolidCheckedBg:M,buttonSolidCheckedHoverBg:P,buttonSolidCheckedActiveBg:D,calc:O}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:G(O(n).sub(O(a).mul(2)).equal()),background:p,border:`${G(a)} ${i} ${o}`,borderBlockStartWidth:O(a).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:O(a).mul(-1).equal(),insetInlineStart:O(a).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:o,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${G(a)} ${i} ${o}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${r}-group-large &`]:{height:m,fontSize:g,lineHeight:G(O(m).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${r}-group-small &`]:{height:h,paddingInline:O(b).sub(a).equal(),paddingBlock:0,lineHeight:G(O(h).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},"&:hover":{position:"relative",color:_},"&:has(:focus-visible)":Object.assign({},Ps(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:_,background:x,borderColor:_,"&::before":{backgroundColor:_},"&:first-child":{borderColor:_},"&:hover":{color:R,borderColor:R,"&::before":{backgroundColor:R}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:w,background:M,borderColor:M,"&:hover":{color:w,background:P,borderColor:P},"&:active":{color:w,background:D,borderColor:D}},"&-disabled":{color:C,backgroundColor:E,borderColor:o,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:E,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:T,backgroundColor:I,borderColor:o,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},sye=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:i,colorText:o,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:p,colorPrimaryHover:g,colorPrimaryActive:m,colorWhite:h}=e,b=4,y=i,S=t?y-b*2:y-(b+a)*2;return{radioSize:y,dotSize:S,dotColorDisabled:c,buttonSolidCheckedColor:d,buttonSolidCheckedBg:p,buttonSolidCheckedHoverBg:g,buttonSolidCheckedActiveBg:m,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:c,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?p:h,radioBgColor:t?s:p}},qq=an("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${G(n)} ${t}`,i=zt(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[aye(i),iye(i),oye(i)]},sye,{unitless:{radioSize:!0,dotSize:!0}});var lye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const a=l.useContext(Vq),i=l.useContext(Wq),{getPrefixCls:o,direction:s,radio:c}=l.useContext(st),u=l.useRef(null),d=ba(t,u),{isFormItemInput:p}=l.useContext(aa),g=D=>{var O,k;(O=e.onChange)===null||O===void 0||O.call(e,D),(k=a==null?void 0:a.onChange)===null||k===void 0||k.call(a,D)},{prefixCls:m,className:h,rootClassName:b,children:y,style:S,title:v}=e,x=lye(e,["prefixCls","className","rootClassName","children","style","title"]),w=o("radio",m),C=((a==null?void 0:a.optionType)||i)==="button",E=C?`${w}-button`:w,I=ir(w),[T,_,R]=qq(w,I),$=Object.assign({},x),M=l.useContext(ha);a&&($.name=a.name,$.onChange=g,$.checked=e.value===a.value,$.disabled=(n=$.disabled)!==null&&n!==void 0?n:a.disabled),$.disabled=(r=$.disabled)!==null&&r!==void 0?r:M;const P=oe(`${E}-wrapper`,{[`${E}-wrapper-checked`]:$.checked,[`${E}-wrapper-disabled`]:$.disabled,[`${E}-wrapper-rtl`]:s==="rtl",[`${E}-wrapper-in-form-item`]:p,[`${E}-wrapper-block`]:!!(a!=null&&a.block)},c==null?void 0:c.className,h,b,_,R,I);return T(l.createElement(km,{component:"Radio",disabled:$.disabled},l.createElement("label",{className:P,style:Object.assign(Object.assign({},c==null?void 0:c.style),S),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v},l.createElement(Gq,Object.assign({},$,{className:oe($.className,{[Ry]:!C}),type:"radio",prefixCls:E,ref:d})),y!==void 0?l.createElement("span",null,y):null)))},d0=l.forwardRef(cye),uye=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=l.useContext(st),{prefixCls:a,className:i,rootClassName:o,options:s,buttonStyle:c="outline",disabled:u,children:d,size:p,style:g,id:m,optionType:h,name:b,defaultValue:y,value:S,block:v=!1,onChange:x,onMouseEnter:w,onMouseLeave:C,onFocus:E,onBlur:I}=e,[T,_]=pn(y,{value:S}),R=l.useCallback(F=>{const B=T,z=F.target.value;"value"in e||_(z),z!==B&&(x==null||x(F))},[T,_,x]),$=n("radio",a),M=`${$}-group`,P=ir($),[D,O,k]=qq($,P);let N=d;s&&s.length>0&&(N=s.map(F=>typeof F=="string"||typeof F=="number"?l.createElement(d0,{key:F.toString(),prefixCls:$,disabled:u,value:F,checked:T===F},F):l.createElement(d0,{key:`radio-group-value-options-${F.value}`,prefixCls:$,disabled:F.disabled||u,value:F.value,checked:T===F.value,title:F.title,style:F.style,id:F.id,required:F.required},F.label)));const A=zr(p),L=oe(M,`${M}-${c}`,{[`${M}-${A}`]:A,[`${M}-rtl`]:r==="rtl",[`${M}-block`]:v},i,o,O,k,P),j=l.useMemo(()=>({onChange:R,value:T,disabled:u,name:b,optionType:h,block:v}),[R,T,u,b,h,v]);return D(l.createElement("div",Object.assign({},fr(e,{aria:!0,data:!0}),{className:L,style:g,onMouseEnter:w,onMouseLeave:C,onFocus:E,onBlur:I,id:m,ref:t}),l.createElement(tye,{value:j},N)))}),dye=l.memo(uye);var fye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n}=l.useContext(st),{prefixCls:r}=e,a=fye(e,["prefixCls"]),i=n("radio",r);return l.createElement(nye,{value:"button"},l.createElement(d0,Object.assign({prefixCls:i},a,{type:"radio",ref:t})))},gye=l.forwardRef(pye),$i=d0;$i.Button=gye;$i.Group=dye;$i.__ANT_RADIO=!0;function qm(e){return zt(e,{inputAffixPadding:e.paddingXXS})}const Km=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightSM:i,controlHeightLG:o,fontSizeLG:s,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:p,colorFillAlter:g,colorPrimaryHover:m,colorPrimary:h,controlOutlineWidth:b,controlOutline:y,colorErrorOutline:S,colorWarningOutline:v,colorBgContainer:x}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-a,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-a,0),paddingBlockLG:Math.ceil((o-s*c)/2*10)/10-a,paddingInline:u-a,paddingInlineSM:d-a,paddingInlineLG:p-a,addonBg:g,activeBorderColor:h,hoverBorderColor:m,activeShadow:`0 0 0 ${b}px ${y}`,errorActiveShadow:`0 0 0 ${b}px ${S}`,warningActiveShadow:`0 0 0 ${b}px ${v}`,hoverBg:x,activeBg:x,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},mye=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),rx=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},mye(zt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),ek=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),xP=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},ek(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),tk=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ek(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},rx(e))}),xP(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),xP(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),SP=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),Kq=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},SP(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),SP(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},rx(e))}})}),nk=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},Yq=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),wP=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Yq(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),rk=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Yq(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},rx(e))}),wP(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),wP(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),CP=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),Xq=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},CP(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),CP(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),ak=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Zq=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${G(t)} ${G(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},ik=e=>({padding:`${G(e.paddingBlockSM)} ${G(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Ym=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${G(e.paddingBlock)} ${G(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},ak(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Zq(e)),"&-sm":Object.assign({},ik(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Qq=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Zq(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},ik(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${G(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${G(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${G(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${G(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${G(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Lo()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${t}-affix-wrapper, - & > ${t}-number-affix-wrapper, - & > ${n}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, - & > ${n}-select-auto-complete ${t}, - & > ${n}-cascader-picker ${t}, - & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${n}-select:first-child > ${n}-select-selector, - & > ${n}-select-auto-complete:first-child ${t}, - & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, - & > ${n}-select:last-child > ${n}-select-selector, - & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},hye=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:a}=e,o=a(n).sub(a(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),Ym(e)),tk(e)),rk(e)),nk(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},vye=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${G(e.inputAffixPadding)}`}}}},bye=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:i,colorIconHover:o,iconCls:s}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},Ym(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),vye(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:o}}}),[u]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},yye=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},ln(e)),Qq(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},Kq(e)),Xq(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},xye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, - > ${t}, - ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Sye=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` - &-allow-clear > ${t}, - &-affix-wrapper${r}-has-feedback ${t} - `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},wye=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},ok=an("Input",e=>{const t=zt(e,qm(e));return[hye(t),Sye(t),bye(t),yye(t),xye(t),wye(t),Dm(t)]},Km,{resetFont:!1}),m1=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",i=bG(e);return[{[`${n}-multiple${a}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:r,[`${n}-selection-item`]:{height:i.itemHeight,lineHeight:G(i.itemLineHeight)}}}]},Cye=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=zt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=zt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[m1(a,"small"),m1(e),m1(i,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},yG(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Eye=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:i,cellHoverBg:o,lineWidth:s,lineType:c,colorPrimary:u,cellActiveWithRangeBg:d,colorTextLightSolid:p,colorTextDisabled:g,cellBgDisabled:m,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:G(r),borderRadius:a,transition:`background ${i}`},[`&:hover:not(${t}-in-view):not(${t}-disabled), - &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:o}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${G(s)} ${c} ${u}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range, - &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:d}},[`&-in-view${t}-selected, - &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:p,background:u},[`&${t}-disabled ${n}`]:{background:h}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:g,cursor:"not-allowed",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:g}}},Iye=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:i,cellWidth:o,paddingSM:s,paddingXS:c,paddingXXS:u,colorBgContainer:d,lineWidth:p,lineType:g,borderRadiusLG:m,colorPrimary:h,colorTextHeading:b,colorSplit:y,pickerControlIconBorderWidth:S,colorIcon:v,textHeight:x,motionDurationMid:w,colorIconHover:C,fontWeightStrong:E,cellHeight:I,pickerCellPaddingVertical:T,colorTextDisabled:_,colorText:R,fontSize:$,motionDurationSlow:M,withoutTimeCellHeight:P,pickerQuarterPanelContentHeight:D,borderRadiusSM:O,colorTextLightSolid:k,cellHoverBg:N,timeColumnHeight:A,timeColumnWidth:L,timeCellHeight:j,controlItemBgActive:F,marginXXS:B,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:U}=e,H=e.calc(o).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:m,outline:"none","&-focused":{borderColor:h},"&-rtl":{[`${t}-prev-icon, - ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:H},"&-header":{display:"flex",padding:`0 ${G(c)}`,color:b,borderBottom:`${G(p)} ${g} ${y}`,"> *":{flex:"none"},button:{padding:0,color:v,lineHeight:G(x),background:"transparent",border:0,cursor:"pointer",transition:`color ${w}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:$,"&:hover":{color:C},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:G(x),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:h}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${G(S)} 0`,borderInlineWidth:`${G(S)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:U,insetInlineStart:U,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${G(S)} 0`,borderInlineWidth:`${G(S)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:I,fontWeight:"normal"},th:{height:e.calc(I).add(e.calc(T).mul(2)).equal(),color:R,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${G(T)} 0`,color:_,cursor:"pointer","&-in-view":{color:R}},Eye(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(P).mul(4).equal()},[r]:{padding:`0 ${G(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:D}},"&-decade-panel":{[r]:{padding:`0 ${G(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${G(c)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${G(c)} ${G(z)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, - &-selected ${r}, - ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${w}`},"&:first-child:before":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child:before":{borderStartEndRadius:O,borderEndEndRadius:O}},"&:hover td":{"&:before":{background:N}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:h},[`&${t}-cell-week`]:{color:new cn(k).setAlpha(.5).toHexString()},[r]:{color:k}}},"&-range-hover td:before":{background:F}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${G(c)} ${G(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${G(p)} ${g} ${y}`},[`${t}-date-panel, - ${t}-time-panel`]:{transition:`opacity ${M}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:A},"&-column":{flex:"1 0 auto",width:L,margin:`${G(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${w}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(j).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${G(p)} ${g} ${y}`},"&-active":{background:new cn(F).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:B,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(B).mul(2)).equal(),height:j,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(j).div(2).equal(),color:R,lineHeight:G(j),borderRadius:O,cursor:"pointer",transition:`background ${w}`,"&:hover":{background:N}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:F}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:_,background:"transparent",cursor:"not-allowed"}}}}}}}}},Tye=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:i,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${G(r)} ${u} ${d}`,"&-extra":{padding:`0 ${G(a)}`,lineHeight:G(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${G(r)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:G(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:G(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:o,background:s,borderColor:c,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},Rye=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(r).div(2)).equal()}},_ye=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:i,lineWidth:o}=e,s=i*2,c=o*2,u=Math.min(n-s,n-c),d=Math.min(r-s,r-c),p=Math.min(a-s,a-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new cn(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new cn(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:a*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:a,withoutTimeCellHeight:a*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:d,multipleItemHeightLG:p,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},$ye=e=>Object.assign(Object.assign(Object.assign(Object.assign({},Km(e)),_ye(e)),Vy(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),Oye=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},tk(e)),rk(e)),nk(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},h1=(e,t,n,r)=>{const a=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(a).div(2).equal(),0),o=e.max(e.calc(t).sub(a).sub(i).equal(),0);return{padding:`${G(i)} ${G(r)} ${G(o)}`}},Nye=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},kye=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:a,lineWidth:i,lineType:o,colorBorder:s,borderRadius:c,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:p,controlHeightLG:g,fontSizeLG:m,controlHeightSM:h,paddingInlineSM:b,paddingXS:y,marginXS:S,colorTextDescription:v,lineWidthBold:x,colorPrimary:w,motionDurationSlow:C,zIndexPopup:E,paddingXXS:I,sizePopupArrow:T,colorBgElevated:_,borderRadiusLG:R,boxShadowSecondary:$,borderRadiusSM:M,colorSplit:P,cellHoverBg:D,presetsWidth:O,presetsMaxWidth:k,boxShadowPopoverArrow:N,fontHeight:A,fontHeightLG:L,lineHeightLG:j}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},ln(e)),h1(e,r,A,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},ak(p)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:d,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:p}}},"&-large":Object.assign(Object.assign({},h1(e,g,L,a)),{[`${t}-input > input`]:{fontSize:m,lineHeight:j}}),"&-small":Object.assign({},h1(e,h,A,b)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(y).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:S}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:d,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:v}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:m,color:d,fontSize:m,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:v},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:x,background:w,opacity:0,transition:`all ${C} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${G(y)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:b}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},ln(e)),Iye(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, - &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, - &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Ay},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Ny},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Dy},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:ky},[`${t}-panel > ${t}-time-panel`]:{paddingTop:I},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${C} ease-out`},TG(e,_,N)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:_,borderRadius:R,boxShadow:$,transition:`margin ${C}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:O,maxWidth:k,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:y,borderInlineEnd:`${G(i)} ${o} ${P}`,li:Object.assign(Object.assign({},Pi),{borderRadius:M,paddingInline:y,paddingBlock:e.calc(h).sub(A).div(2).equal(),cursor:"pointer",transition:`all ${C}`,"+ li":{marginTop:S},"&:hover":{background:D}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${G(e.calc(T).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},ss(e,"slide-up"),ss(e,"slide-down"),Zd(e,"move-up"),Zd(e,"move-down")]},Jq=an("DatePicker",e=>{const t=zt(qm(e),Rye(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Tye(t),kye(t),Oye(t),Nye(t),Cye(t),Dm(e,{focusElCls:`${e.componentCls}-focused`})]},$ye);var Aye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Dye=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:Aye}))},Xm=l.forwardRef(Dye);const ax=l.createContext(null);var Mye=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,i=t.indicator,o=i===void 0?{}:i,s=o.size,c=o.align,u=c===void 0?"center":c,d=l.useState(),p=se(d,2),g=p[0],m=p[1],h=l.useRef(),b=de.useCallback(function(S){return typeof s=="function"?s(S):typeof s=="number"?s:S},[s]);function y(){Gt.cancel(h.current)}return l.useEffect(function(){var S={};if(n)if(r){S.width=b(n.width);var v=a?"right":"left";u==="start"&&(S[v]=n[v]),u==="center"&&(S[v]=n[v]+n.width/2,S.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(S[v]=n[v]+n.width,S.transform="translateX(-100%)")}else S.height=b(n.height),u==="start"&&(S.top=n.top),u==="center"&&(S.top=n.top+n.height/2,S.transform="translateY(-50%)"),u==="end"&&(S.top=n.top+n.height,S.transform="translateY(-100%)");return y(),h.current=Gt(function(){m(S)}),y},[n,r,a,u,b]),{style:g}},EP={width:0,height:0,left:0,top:0};function Pye(e,t,n){return l.useMemo(function(){for(var r,a=new Map,i=t.get((r=e[0])===null||r===void 0?void 0:r.key)||EP,o=i.left+i.width,s=0;sD?(M=R,E.current="x"):(M=$,E.current="y"),t(-M,-M)&&_.preventDefault()}var T=l.useRef(null);T.current={onTouchStart:x,onTouchMove:w,onTouchEnd:C,onWheel:I},l.useEffect(function(){function _(P){T.current.onTouchStart(P)}function R(P){T.current.onTouchMove(P)}function $(P){T.current.onTouchEnd(P)}function M(P){T.current.onWheel(P)}return document.addEventListener("touchmove",R,{passive:!1}),document.addEventListener("touchend",$,{passive:!0}),e.current.addEventListener("touchstart",_,{passive:!0}),e.current.addEventListener("wheel",M,{passive:!1}),function(){document.removeEventListener("touchmove",R),document.removeEventListener("touchend",$)}},[])}function eK(e){var t=l.useState(0),n=se(t,2),r=n[0],a=n[1],i=l.useRef(0),o=l.useRef();return o.current=e,Ac(function(){var s;(s=o.current)===null||s===void 0||s.call(o)},[r]),function(){i.current===r&&(i.current+=1,a(i.current))}}function Fye(e){var t=l.useRef([]),n=l.useState({}),r=se(n,2),a=r[1],i=l.useRef(typeof e=="function"?e():e),o=eK(function(){var c=i.current;t.current.forEach(function(u){c=u(c)}),t.current=[],i.current=c,a({})});function s(c){t.current.push(c),o()}return[i.current,s]}var _P={width:0,height:0,left:0,top:0,right:0};function Bye(e,t,n,r,a,i,o){var s=o.tabs,c=o.tabPosition,u=o.rtl,d,p,g;return["top","bottom"].includes(c)?(d="width",p=u?"right":"left",g=Math.abs(n)):(d="height",p="top",g=-n),l.useMemo(function(){if(!s.length)return[0,0];for(var m=s.length,h=m,b=0;bMath.floor(g+t)){h=b-1;break}}for(var S=0,v=m-1;v>=0;v-=1){var x=e.get(s[v].key)||_P;if(x[p]=h?[0,0]:[S,h]},[e,t,r,a,i,g,c,s.map(function(m){return m.key}).join("_"),u])}function $P(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var zye="TABS_DQ";function tK(e){return String(e).replace(/"/g,zye)}function nK(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var rK=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,i=e.style;return!r||r.showAdd===!1?null:l.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),OP=l.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var i,o={};return mt(a)==="object"&&!l.isValidElement(a)?o=a:o.right=a,n==="right"&&(i=o.right),n==="left"&&(i=o.left),i?l.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},i):null}),Hye=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,i=e.locale,o=e.mobile,s=e.more,c=s===void 0?{}:s,u=e.style,d=e.className,p=e.editable,g=e.tabBarGutter,m=e.rtl,h=e.removeAriaLabel,b=e.onTabClick,y=e.getPopupContainer,S=e.popupClassName,v=l.useState(!1),x=se(v,2),w=x[0],C=x[1],E=l.useState(null),I=se(E,2),T=I[0],_=I[1],R=c.icon,$=R===void 0?"More":R,M="".concat(r,"-more-popup"),P="".concat(n,"-dropdown"),D=T!==null?"".concat(M,"-").concat(T):null,O=i==null?void 0:i.dropdownAriaLabel;function k(z,U){z.preventDefault(),z.stopPropagation(),p.onEdit("remove",{key:U,event:z})}var N=l.createElement(Nf,{onClick:function(U){var H=U.key,K=U.domEvent;b(H,K),C(!1)},prefixCls:"".concat(P,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":D,selectedKeys:[T],"aria-label":O!==void 0?O:"expanded dropdown"},a.map(function(z){var U=z.closable,H=z.disabled,K=z.closeIcon,Y=z.key,ee=z.label,ae=nK(U,K,p,H);return l.createElement(Um,{key:Y,id:"".concat(M,"-").concat(Y),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(Y),disabled:H},l.createElement("span",null,ee),ae&&l.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(q){q.stopPropagation(),k(q,Y)}},K||p.removeIcon||"×"))}));function A(z){for(var U=a.filter(function(ae){return!ae.disabled}),H=U.findIndex(function(ae){return ae.key===T})||0,K=U.length,Y=0;Yrt?"left":"right"})}),P=se(M,2),D=P[0],O=P[1],k=IP(0,function(nt,rt){!$&&b&&b({direction:nt>rt?"top":"bottom"})}),N=se(k,2),A=N[0],L=N[1],j=l.useState([0,0]),F=se(j,2),B=F[0],z=F[1],U=l.useState([0,0]),H=se(U,2),K=H[0],Y=H[1],ee=l.useState([0,0]),ae=se(ee,2),W=ae[0],q=ae[1],Z=l.useState([0,0]),Q=se(Z,2),J=Q[0],le=Q[1],ce=Fye(new Map),pe=se(ce,2),te=pe[0],ie=pe[1],fe=Pye(x,te,K[0]),ge=sv(B,$),ne=sv(K,$),ue=sv(W,$),me=sv(J,$),xe=Math.floor(ge)Le?Le:nt}var He=l.useRef(null),Be=l.useState(),Pe=se(Be,2),Se=Pe[0],Ne=Pe[1];function Te(){Ne(Date.now())}function Ce(){He.current&&clearTimeout(He.current)}jye(I,function(nt,rt){function bt(Ot,ht){Ot(function(ct){var Et=je(ct+ht);return Et})}return xe?($?bt(O,nt):bt(L,rt),Ce(),Te(),!0):!1}),l.useEffect(function(){return Ce(),Se&&(He.current=setTimeout(function(){Ne(0)},100)),Ce},[Se]);var De=Bye(fe,Ie,$?D:A,ne,ue,me,X(X({},e),{},{tabs:x})),Ge=se(De,2),lt=Ge[0],he=Ge[1],re=Yt(function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o,rt=fe.get(nt)||{width:0,height:0,left:0,right:0,top:0};if($){var bt=D;s?rt.rightD+Ie&&(bt=rt.right+rt.width-Ie):rt.left<-D?bt=-rt.left:rt.left+rt.width>-D+Ie&&(bt=-(rt.left+rt.width-Ie)),L(0),O(je(bt))}else{var Ot=A;rt.top<-A?Ot=-rt.top:rt.top+rt.height>-A+Ie&&(Ot=-(rt.top+rt.height-Ie)),O(0),L(je(Ot))}}),ve={};p==="top"||p==="bottom"?ve[s?"marginRight":"marginLeft"]=g:ve.marginTop=g;var _e=x.map(function(nt,rt){var bt=nt.key;return l.createElement(Vye,{id:a,prefixCls:v,key:bt,tab:nt,style:rt===0?void 0:ve,closable:nt.closable,editable:u,active:bt===o,renderWrapper:m,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(ht){h(bt,ht)},onFocus:function(){re(bt),Te(),I.current&&(s||(I.current.scrollLeft=0),I.current.scrollTop=0)}})}),ze=function(){return ie(function(){var rt,bt=new Map,Ot=(rt=T.current)===null||rt===void 0?void 0:rt.getBoundingClientRect();return x.forEach(function(ht){var ct,Et=ht.key,Ze=(ct=T.current)===null||ct===void 0?void 0:ct.querySelector('[data-node-key="'.concat(tK(Et),'"]'));if(Ze){var ut=Wye(Ze,Ot),pt=se(ut,4),et=pt[0],Xe=pt[1],$t=pt[2],At=pt[3];bt.set(Et,{width:et,height:Xe,left:$t,top:At})}}),bt})};l.useEffect(function(){ze()},[x.map(function(nt){return nt.key}).join("_")]);var Ue=eK(function(){var nt=Bu(w),rt=Bu(C),bt=Bu(E);z([nt[0]-rt[0]-bt[0],nt[1]-rt[1]-bt[1]]);var Ot=Bu(R);q(Ot);var ht=Bu(_);le(ht);var ct=Bu(T);Y([ct[0]-Ot[0],ct[1]-Ot[1]]),ze()}),Ae=x.slice(0,lt),Oe=x.slice(he+1),Re=[].concat(Me(Ae),Me(Oe)),at=fe.get(o),Ye=Mye({activeTabOffset:at,horizontal:$,indicator:y,rtl:s}),We=Ye.style;l.useEffect(function(){re()},[o,$e,Le,$P(at),$P(fe),$]),l.useEffect(function(){Ue()},[s]);var qe=!!Re.length,Qe="".concat(v,"-nav-wrap"),it,wt,kt,xt;return $?s?(wt=D>0,it=D!==Le):(it=D<0,wt=D!==$e):(kt=A<0,xt=A!==$e),l.createElement(Ta,{onResize:Ue},l.createElement("div",{ref:Vs(t,w),role:"tablist",className:oe("".concat(v,"-nav"),n),style:r,onKeyDown:function(){Te()}},l.createElement(OP,{ref:C,position:"left",extra:c,prefixCls:v}),l.createElement(Ta,{onResize:Ue},l.createElement("div",{className:oe(Qe,V(V(V(V({},"".concat(Qe,"-ping-left"),it),"".concat(Qe,"-ping-right"),wt),"".concat(Qe,"-ping-top"),kt),"".concat(Qe,"-ping-bottom"),xt)),ref:I},l.createElement(Ta,{onResize:Ue},l.createElement("div",{ref:T,className:"".concat(v,"-nav-list"),style:{transform:"translate(".concat(D,"px, ").concat(A,"px)"),transition:Se?"none":void 0}},_e,l.createElement(rK,{ref:R,prefixCls:v,locale:d,editable:u,style:X(X({},_e.length===0?void 0:ve),{},{visibility:qe?"hidden":null})}),l.createElement("div",{className:oe("".concat(v,"-ink-bar"),V({},"".concat(v,"-ink-bar-animated"),i.inkBar)),style:We}))))),l.createElement(Uye,be({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:_,prefixCls:v,tabs:Re,className:!qe&&ke,tabMoving:!!Se})),l.createElement(OP,{ref:E,position:"right",extra:c,prefixCls:v})))}),aK=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.id,o=e.active,s=e.tabKey,c=e.children;return l.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:o?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!o,style:a,className:oe(n,o&&"".concat(n,"-active"),r),ref:t},c)}),Gye=["renderTabBar"],qye=["label","key"],Kye=function(t){var n=t.renderTabBar,r=Ct(t,Gye),a=l.useContext(ax),i=a.tabs;if(n){var o=X(X({},r),{},{panes:i.map(function(s){var c=s.label,u=s.key,d=Ct(s,qye);return l.createElement(aK,be({tab:c,key:u,tabKey:u},d))})});return n(o,NP)}return l.createElement(NP,r)},Yye=["key","forceRender","style","className","destroyInactiveTabPane"],Xye=function(t){var n=t.id,r=t.activeKey,a=t.animated,i=t.tabPosition,o=t.destroyInactiveTabPane,s=l.useContext(ax),c=s.prefixCls,u=s.tabs,d=a.tabPane,p="".concat(c,"-tabpane");return l.createElement("div",{className:oe("".concat(c,"-content-holder"))},l.createElement("div",{className:oe("".concat(c,"-content"),"".concat(c,"-content-").concat(i),V({},"".concat(c,"-content-animated"),d))},u.map(function(g){var m=g.key,h=g.forceRender,b=g.style,y=g.className,S=g.destroyInactiveTabPane,v=Ct(g,Yye),x=m===r;return l.createElement(na,be({key:m,visible:x,forceRender:h,removeOnLeave:!!(o||S),leavedClassName:"".concat(p,"-hidden")},a.tabPaneMotion),function(w,C){var E=w.style,I=w.className;return l.createElement(aK,be({},v,{prefixCls:p,id:n,tabKey:m,animated:d,active:x,style:X(X({},b),E),className:oe(y,I),ref:C}))})})))};function Zye(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=X({inkBar:!0},mt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var Qye=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],kP=0,Jye=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tabs":r,i=e.className,o=e.items,s=e.direction,c=e.activeKey,u=e.defaultActiveKey,d=e.editable,p=e.animated,g=e.tabPosition,m=g===void 0?"top":g,h=e.tabBarGutter,b=e.tabBarStyle,y=e.tabBarExtraContent,S=e.locale,v=e.more,x=e.destroyInactiveTabPane,w=e.renderTabBar,C=e.onChange,E=e.onTabClick,I=e.onTabScroll,T=e.getPopupContainer,_=e.popupClassName,R=e.indicator,$=Ct(e,Qye),M=l.useMemo(function(){return(o||[]).filter(function(J){return J&&mt(J)==="object"&&"key"in J})},[o]),P=s==="rtl",D=Zye(p),O=l.useState(!1),k=se(O,2),N=k[0],A=k[1];l.useEffect(function(){A(jy())},[]);var L=pn(function(){var J;return(J=M[0])===null||J===void 0?void 0:J.key},{value:c,defaultValue:u}),j=se(L,2),F=j[0],B=j[1],z=l.useState(function(){return M.findIndex(function(J){return J.key===F})}),U=se(z,2),H=U[0],K=U[1];l.useEffect(function(){var J=M.findIndex(function(ce){return ce.key===F});if(J===-1){var le;J=Math.max(0,Math.min(H,M.length-1)),B((le=M[J])===null||le===void 0?void 0:le.key)}K(J)},[M.map(function(J){return J.key}).join("_"),F,H]);var Y=pn(null,{value:n}),ee=se(Y,2),ae=ee[0],W=ee[1];l.useEffect(function(){n||(W("rc-tabs-".concat(kP)),kP+=1)},[]);function q(J,le){E==null||E(J,le);var ce=J!==F;B(J),ce&&(C==null||C(J))}var Z={id:ae,activeKey:F,animated:D,tabPosition:m,rtl:P,mobile:N},Q=X(X({},Z),{},{editable:d,locale:S,more:v,tabBarGutter:h,onTabClick:q,onTabScroll:I,extra:y,style:b,panes:null,getPopupContainer:T,popupClassName:_,indicator:R});return l.createElement(ax.Provider,{value:{tabs:M,prefixCls:a}},l.createElement("div",be({ref:t,id:n,className:oe(a,"".concat(a,"-").concat(m),V(V(V({},"".concat(a,"-mobile"),N),"".concat(a,"-editable"),d),"".concat(a,"-rtl"),P),i)},$),l.createElement(Kye,be({},Q,{renderTabBar:w})),l.createElement(Xye,be({destroyInactiveTabPane:x},Z,{animated:D}))))});const exe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function txe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},exe),{motionName:za(e,"switch")})),n}var nxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at)}function axe(e,t){if(e)return e;const n=Nr(t).map(r=>{if(l.isValidElement(r)){const{key:a,props:i}=r,o=i||{},{tab:s}=o,c=nxe(o,["tab"]);return Object.assign(Object.assign({key:String(a)},c),{label:s})}return null});return rxe(n)}const ixe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[ss(e,"slide-up"),ss(e,"slide-down")]]},oxe=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:i,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${G(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:G(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:G(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${G(e.borderRadiusLG)} 0 0 ${G(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},sxe=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},ln(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${G(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Pi),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${G(e.paddingXXS)} ${G(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},lxe=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:i,verticalItemMargin:o,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${G(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, - right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:G(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},cxe=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${G(e.borderRadius)} ${G(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${G(e.borderRadius)} ${G(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${G(e.borderRadius)} ${G(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${G(e.borderRadius)} 0 0 ${G(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},uxe=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:i,horizontalItemPadding:o,itemSelectedColor:s,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:o,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},co(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${a}`]:{margin:0},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:i}}}},dxe=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:G(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:G(e.marginXS)},marginLeft:{_skip_check_:!0,value:G(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},fxe=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:i,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:a},padding:`0 ${G(e.paddingXS)}`,background:"transparent",border:`${G(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:o}},co(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),uxe(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},pxe=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},gxe=an("Tabs",e=>{const t=zt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${G(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${G(e.horizontalItemGutter)}`});return[cxe(t),dxe(t),lxe(t),sxe(t),oxe(t),fxe(t),ixe(t)]},pxe),mxe=()=>null;var hxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t,n,r,a,i,o,s,c,u,d,p;const{type:g,className:m,rootClassName:h,size:b,onEdit:y,hideAdd:S,centered:v,addIcon:x,removeIcon:w,moreIcon:C,more:E,popupClassName:I,children:T,items:_,animated:R,style:$,indicatorSize:M,indicator:P}=e,D=hxe(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:O}=D,{direction:k,tabs:N,getPrefixCls:A,getPopupContainer:L}=l.useContext(st),j=A("tabs",O),F=ir(j),[B,z,U]=gxe(j,F);let H;g==="editable-card"&&(H={onEdit:(Z,Q)=>{let{key:J,event:le}=Q;y==null||y(Z==="add"?le:J,Z)},removeIcon:(t=w??(N==null?void 0:N.removeIcon))!==null&&t!==void 0?t:l.createElement(va,null),addIcon:(x??(N==null?void 0:N.addIcon))||l.createElement(Xm,null),showAdd:S!==!0});const K=A(),Y=zr(b),ee=axe(_,T),ae=txe(j,R),W=Object.assign(Object.assign({},N==null?void 0:N.style),$),q={align:(n=P==null?void 0:P.align)!==null&&n!==void 0?n:(r=N==null?void 0:N.indicator)===null||r===void 0?void 0:r.align,size:(s=(i=(a=P==null?void 0:P.size)!==null&&a!==void 0?a:M)!==null&&i!==void 0?i:(o=N==null?void 0:N.indicator)===null||o===void 0?void 0:o.size)!==null&&s!==void 0?s:N==null?void 0:N.indicatorSize};return B(l.createElement(Jye,Object.assign({direction:k,getPopupContainer:L},D,{items:ee,className:oe({[`${j}-${Y}`]:Y,[`${j}-card`]:["card","editable-card"].includes(g),[`${j}-editable-card`]:g==="editable-card",[`${j}-centered`]:v},N==null?void 0:N.className,m,h,z,U,F),popupClassName:oe(I,z,U,F),style:W,editable:H,more:Object.assign({icon:(p=(d=(u=(c=N==null?void 0:N.more)===null||c===void 0?void 0:c.icon)!==null&&u!==void 0?u:N==null?void 0:N.moreIcon)!==null&&d!==void 0?d:C)!==null&&p!==void 0?p:l.createElement(qN,null),transitionName:`${K}-slide-up`},E),prefixCls:j,animated:ae,indicator:q})))};ef.TabPane=mxe;var vxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=vxe(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=l.useContext(st),o=i("card",t),s=oe(`${o}-grid`,n,{[`${o}-grid-hoverable`]:r});return l.createElement("div",Object.assign({},a,{className:s}))},bxe=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${G(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)} 0 0`},Lo()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},Pi),{[` - > ${n}-typography, - > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},yxe=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${G(a)} 0 0 0 ${n}, - 0 ${G(a)} 0 0 ${n}, - ${G(a)} ${G(a)} 0 0 ${n}, - ${G(a)} 0 0 0 ${n} inset, - 0 ${G(a)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},xxe=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${G(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)}`},Lo()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:G(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:G(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${G(e.lineWidth)} ${e.lineType} ${i}`}}})},Sxe=e=>Object.assign(Object.assign({margin:`${G(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Lo()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Pi),"&-description":{color:e.colorTextDescription}}),wxe=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${G(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${G(e.padding)} ${G(n)}`}}},Cxe=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},Exe=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:bxe(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)}`},Lo()),[`${t}-grid`]:yxe(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:xxe(e),[`${t}-meta`]:Sxe(e)}),[`${t}-bordered`]:{border:`${G(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${G(e.borderRadiusLG)} ${G(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:wxe(e),[`${t}-loading`]:Cxe(e),[`${t}-rtl`]:{direction:"rtl"}}},Ixe=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${G(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Txe=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),Rxe=an("Card",e=>{const t=zt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Exe(t),Ixe(t)]},Txe);var AP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return l.createElement("ul",{className:t,style:r},n.map((a,i)=>{const o=`action-${i}`;return l.createElement("li",{style:{width:`${100/n.length}%`},key:o},l.createElement("span",null,a))}))},$xe=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:i,extra:o,headStyle:s={},bodyStyle:c={},title:u,loading:d,bordered:p=!0,size:g,type:m,cover:h,actions:b,tabList:y,children:S,activeTabKey:v,defaultActiveTabKey:x,tabBarExtraContent:w,hoverable:C,tabProps:E={},classNames:I,styles:T}=e,_=AP(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:R,direction:$,card:M}=l.useContext(st),P=te=>{var ie;(ie=e.onTabChange)===null||ie===void 0||ie.call(e,te)},D=te=>{var ie;return oe((ie=M==null?void 0:M.classNames)===null||ie===void 0?void 0:ie[te],I==null?void 0:I[te])},O=te=>{var ie;return Object.assign(Object.assign({},(ie=M==null?void 0:M.styles)===null||ie===void 0?void 0:ie[te]),T==null?void 0:T[te])},k=l.useMemo(()=>{let te=!1;return l.Children.forEach(S,ie=>{(ie==null?void 0:ie.type)===iK&&(te=!0)}),te},[S]),N=R("card",n),[A,L,j]=Rxe(N),F=l.createElement(Jl,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),B=v!==void 0,z=Object.assign(Object.assign({},E),{[B?"activeKey":"defaultActiveKey"]:B?v:x,tabBarExtraContent:w});let U;const H=zr(g),K=!H||H==="default"?"large":H,Y=y?l.createElement(ef,Object.assign({size:K},z,{className:`${N}-head-tabs`,onChange:P,items:y.map(te=>{var{tab:ie}=te,fe=AP(te,["tab"]);return Object.assign({label:ie},fe)})})):null;if(u||o||Y){const te=oe(`${N}-head`,D("header")),ie=oe(`${N}-head-title`,D("title")),fe=oe(`${N}-extra`,D("extra")),ge=Object.assign(Object.assign({},s),O("header"));U=l.createElement("div",{className:te,style:ge},l.createElement("div",{className:`${N}-head-wrapper`},u&&l.createElement("div",{className:ie,style:O("title")},u),o&&l.createElement("div",{className:fe,style:O("extra")},o)),Y)}const ee=oe(`${N}-cover`,D("cover")),ae=h?l.createElement("div",{className:ee,style:O("cover")},h):null,W=oe(`${N}-body`,D("body")),q=Object.assign(Object.assign({},c),O("body")),Z=l.createElement("div",{className:W,style:q},d?F:S),Q=oe(`${N}-actions`,D("actions")),J=b!=null&&b.length?l.createElement(_xe,{actionClasses:Q,actionStyle:O("actions"),actions:b}):null,le=Dn(_,["onTabChange"]),ce=oe(N,M==null?void 0:M.className,{[`${N}-loading`]:d,[`${N}-bordered`]:p,[`${N}-hoverable`]:C,[`${N}-contain-grid`]:k,[`${N}-contain-tabs`]:y==null?void 0:y.length,[`${N}-${H}`]:H,[`${N}-type-${m}`]:!!m,[`${N}-rtl`]:$==="rtl"},r,a,L,j),pe=Object.assign(Object.assign({},M==null?void 0:M.style),i);return A(l.createElement("div",Object.assign({ref:t},le,{className:ce,style:pe}),U,ae,Z,J))});var Oxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,avatar:r,title:a,description:i}=e,o=Oxe(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=l.useContext(st),c=s("card",t),u=oe(`${c}-meta`,n),d=r?l.createElement("div",{className:`${c}-meta-avatar`},r):null,p=a?l.createElement("div",{className:`${c}-meta-title`},a):null,g=i?l.createElement("div",{className:`${c}-meta-description`},i):null,m=p||g?l.createElement("div",{className:`${c}-meta-detail`},p,g):null;return l.createElement("div",Object.assign({},o,{className:u}),d,m)},gu=$xe;gu.Grid=iK;gu.Meta=Nxe;function kxe(e,t,n){var r=n||{},a=r.noTrailing,i=a===void 0?!1:a,o=r.noLeading,s=o===void 0?!1:o,c=r.debounceMode,u=c===void 0?void 0:c,d,p=!1,g=0;function m(){d&&clearTimeout(d)}function h(y){var S=y||{},v=S.upcomingOnly,x=v===void 0?!1:v;m(),p=!x}function b(){for(var y=arguments.length,S=new Array(y),v=0;ve?s?(g=Date.now(),i||(d=setTimeout(u?E:C,e))):C():i!==!0&&(d=setTimeout(u?E:C,u===void 0?e-w:e))}return b.cancel=h,b}function Axe(e,t,n){var r={},a=r.atBegin,i=a===void 0?!1:a;return kxe(e,t,{debounceMode:i!==!1})}function ii(e,t){return e[t]}var Dxe=["children"];function oK(e,t){return"".concat(e,"-").concat(t)}function Mxe(e){return e&&e.type&&e.type.isTreeNode}function Zm(e,t){return e??t}function tf(e){var t=e||{},n=t.title,r=t._title,a=t.key,i=t.children,o=n||"title";return{title:o,_title:r||[o],key:a||"key",children:i||"children"}}function sK(e){function t(n){var r=Nr(n);return r.map(function(a){if(!Mxe(a))return $n(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var i=a.key,o=a.props,s=o.children,c=Ct(o,Dxe),u=X({key:i},c),d=t(s);return d.length&&(u.children=d),u}).filter(function(a){return a})}return t(e)}function v1(e,t,n){var r=tf(n),a=r._title,i=r.key,o=r.children,s=new Set(t===!0?[]:t),c=[];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(g,m){for(var h=oK(p?p.pos:"0",m),b=Zm(g[i],h),y,S=0;S1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,a=t.onProcessFinished,i=t.externalGetKey,o=t.childrenPropName,s=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,u=i||c,d={},p={},g={posEntities:d,keyEntities:p};return n&&(g=n(g)||g),Pxe(e,function(m){var h=m.node,b=m.index,y=m.pos,S=m.key,v=m.parentPos,x=m.level,w=m.nodes,C={node:h,nodes:w,index:b,key:S,pos:y,level:x},E=Zm(S,y);d[y]=C,p[E]=C,C.parent=d[v],C.parent&&(C.parent.children=C.parent.children||[],C.parent.children.push(C)),r&&r(C,g)},{externalGetKey:u,childrenPropName:o,fieldNames:s}),a&&a(g),g}function rg(e,t){var n=t.expandedKeys,r=t.selectedKeys,a=t.loadedKeys,i=t.loadingKeys,o=t.checkedKeys,s=t.halfCheckedKeys,c=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,p=ii(d,e),g={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:a.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:o.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(p?p.pos:""),dragOver:c===e&&u===0,dragOverGapTop:c===e&&u===-1,dragOverGapBottom:c===e&&u===1};return g}function Hr(e){var t=e.data,n=e.expanded,r=e.selected,a=e.checked,i=e.loaded,o=e.loading,s=e.halfChecked,c=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,p=e.pos,g=e.active,m=e.eventKey,h=X(X({},t),{},{expanded:n,selected:r,checked:a,loaded:i,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:u,dragOverGapBottom:d,pos:p,active:g,key:m});return"props"in h||Object.defineProperty(h,"props",{get:function(){return $n(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}function lK(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function Lxe(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function jxe(e,t,n,r){for(var a=new Set(e),i=new Set,o=0;o<=n;o+=1){var s=t.get(o)||new Set;s.forEach(function(p){var g=p.key,m=p.node,h=p.children,b=h===void 0?[]:h;a.has(g)&&!r(m)&&b.filter(function(y){return!r(y.node)}).forEach(function(y){a.add(y.key)})})}for(var c=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(p){var g=p.parent,m=p.node;if(!(r(m)||!p.parent||c.has(p.parent.key))){if(r(p.parent.node)){c.add(g.key);return}var h=!0,b=!1;(g.children||[]).filter(function(y){return!r(y.node)}).forEach(function(y){var S=y.key,v=a.has(S);h&&!v&&(h=!1),!b&&(v||i.has(S))&&(b=!0)}),h&&a.add(g.key),b&&i.add(g.key),c.add(g.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(lK(i,a))}}function Fxe(e,t,n,r,a){for(var i=new Set(e),o=new Set(t),s=0;s<=r;s+=1){var c=n.get(s)||new Set;c.forEach(function(g){var m=g.key,h=g.node,b=g.children,y=b===void 0?[]:b;!i.has(m)&&!o.has(m)&&!a(h)&&y.filter(function(S){return!a(S.node)}).forEach(function(S){i.delete(S.key)})})}o=new Set;for(var u=new Set,d=r;d>=0;d-=1){var p=n.get(d)||new Set;p.forEach(function(g){var m=g.parent,h=g.node;if(!(a(h)||!g.parent||u.has(g.parent.key))){if(a(g.parent.node)){u.add(m.key);return}var b=!0,y=!1;(m.children||[]).filter(function(S){return!a(S.node)}).forEach(function(S){var v=S.key,x=i.has(v);b&&!x&&(b=!1),!y&&(x||o.has(v))&&(y=!0)}),b||i.delete(m.key),y&&o.add(m.key),u.add(m.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(lK(o,i))}}function Os(e,t,n,r){var a=[],i;r?i=r:i=Lxe;var o=new Set(e.filter(function(d){var p=!!ii(n,d);return p||a.push(d),p})),s=new Map,c=0;Object.keys(n).forEach(function(d){var p=n[d],g=p.level,m=s.get(g);m||(m=new Set,s.set(g,m)),m.add(p),c=Math.max(c,g)}),$n(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=jxe(o,s,c,i):u=Fxe(o,t.halfCheckedKeys,s,c,i),u}const Bxe=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},ln(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},ln(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},ln(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Ps(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${G(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` - ${n}:not(${n}-disabled), - ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` - ${n}-checked:not(${n}-disabled), - ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function sk(e,t){const n=zt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[Bxe(n)]}const cK=an("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[sk(n,e)]}),uK=de.createContext(null);var zxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,rootClassName:i,children:o,indeterminate:s=!1,style:c,onMouseEnter:u,onMouseLeave:d,skipGroup:p=!1,disabled:g}=e,m=zxe(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:h,direction:b,checkbox:y}=l.useContext(st),S=l.useContext(uK),{isFormItemInput:v}=l.useContext(aa),x=l.useContext(ha),w=(n=(S==null?void 0:S.disabled)||g)!==null&&n!==void 0?n:x,C=l.useRef(m.value);l.useEffect(()=>{S==null||S.registerValue(m.value)},[]),l.useEffect(()=>{if(!p)return m.value!==C.current&&(S==null||S.cancelValue(C.current),S==null||S.registerValue(m.value),C.current=m.value),()=>S==null?void 0:S.cancelValue(m.value)},[m.value]);const E=h("checkbox",r),I=ir(E),[T,_,R]=cK(E,I),$=Object.assign({},m);S&&!p&&($.onChange=function(){m.onChange&&m.onChange.apply(m,arguments),S.toggleOption&&S.toggleOption({label:o,value:m.value})},$.name=S.name,$.checked=S.value.includes(m.value));const M=oe(`${E}-wrapper`,{[`${E}-rtl`]:b==="rtl",[`${E}-wrapper-checked`]:$.checked,[`${E}-wrapper-disabled`]:w,[`${E}-wrapper-in-form-item`]:v},y==null?void 0:y.className,a,i,R,I,_),P=oe({[`${E}-indeterminate`]:s},Ry,_),D=s?"mixed":void 0;return T(l.createElement(km,{component:"Checkbox",disabled:w},l.createElement("label",{className:M,style:Object.assign(Object.assign({},y==null?void 0:y.style),c),onMouseEnter:u,onMouseLeave:d},l.createElement(Gq,Object.assign({"aria-checked":D},$,{prefixCls:E,className:P,disabled:w,ref:t})),o!==void 0&&l.createElement("span",null,o))))},dK=l.forwardRef(Hxe);var Uxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{defaultValue:n,children:r,options:a=[],prefixCls:i,className:o,rootClassName:s,style:c,onChange:u}=e,d=Uxe(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:p,direction:g}=l.useContext(st),[m,h]=l.useState(d.value||n||[]),[b,y]=l.useState([]);l.useEffect(()=>{"value"in d&&h(d.value||[])},[d.value]);const S=l.useMemo(()=>a.map(O=>typeof O=="string"||typeof O=="number"?{label:O,value:O}:O),[a]),v=O=>{y(k=>k.filter(N=>N!==O))},x=O=>{y(k=>[].concat(Me(k),[O]))},w=O=>{const k=m.indexOf(O.value),N=Me(m);k===-1?N.push(O.value):N.splice(k,1),"value"in d||h(N),u==null||u(N.filter(A=>b.includes(A)).sort((A,L)=>{const j=S.findIndex(B=>B.value===A),F=S.findIndex(B=>B.value===L);return j-F}))},C=p("checkbox",i),E=`${C}-group`,I=ir(C),[T,_,R]=cK(C,I),$=Dn(d,["value","disabled"]),M=a.length?S.map(O=>l.createElement(dK,{prefixCls:C,key:O.value.toString(),disabled:"disabled"in O?O.disabled:d.disabled,value:O.value,checked:m.includes(O.value),onChange:O.onChange,className:`${E}-item`,style:O.style,title:O.title,id:O.id,required:O.required},O.label)):r,P={toggleOption:w,value:m,disabled:d.disabled,name:d.name,registerValue:x,cancelValue:v},D=oe(E,{[`${E}-rtl`]:g==="rtl"},o,s,R,I,_);return T(l.createElement("div",Object.assign({className:D,style:c},$,{ref:t}),l.createElement(uK.Provider,{value:P},M)))}),cs=dK;cs.Group=Vxe;cs.__ANT_CHECKBOX=!0;const fK=l.createContext({}),Wxe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},Gxe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},qxe=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:a}=e,i={};for(let o=a;o>=0;o--)o===0?(i[`${r}${t}-${o}`]={display:"none"},i[`${r}-push-${o}`]={insetInlineStart:"auto"},i[`${r}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${o}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${o}`]={marginInlineStart:0},i[`${r}${t}-order-${o}`]={order:0}):(i[`${r}${t}-${o}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${o/a*100}%`,maxWidth:`${o/a*100}%`}],i[`${r}${t}-push-${o}`]={insetInlineStart:`${o/a*100}%`},i[`${r}${t}-pull-${o}`]={insetInlineEnd:`${o/a*100}%`},i[`${r}${t}-offset-${o}`]={marginInlineStart:`${o/a*100}%`},i[`${r}${t}-order-${o}`]={order:o});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},H_=(e,t)=>qxe(e,t),Kxe=(e,t,n)=>({[`@media (min-width: ${G(t)})`]:Object.assign({},H_(e,n))}),Yxe=()=>({}),Xxe=()=>({}),Zxe=an("Grid",Wxe,Yxe),Qxe=an("Grid",e=>{const t=zt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[Gxe(t),H_(t,""),H_(t,"-xs"),Object.keys(n).map(r=>Kxe(t,n[r],r)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},Xxe);var Jxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(st),{gutter:a,wrap:i}=l.useContext(fK),{prefixCls:o,span:s,order:c,offset:u,push:d,pull:p,className:g,children:m,flex:h,style:b}=e,y=Jxe(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=n("col",o),[v,x,w]=Qxe(S),C={};let E={};eSe.forEach(_=>{let R={};const $=e[_];typeof $=="number"?R.span=$:typeof $=="object"&&(R=$||{}),delete y[_],E=Object.assign(Object.assign({},E),{[`${S}-${_}-${R.span}`]:R.span!==void 0,[`${S}-${_}-order-${R.order}`]:R.order||R.order===0,[`${S}-${_}-offset-${R.offset}`]:R.offset||R.offset===0,[`${S}-${_}-push-${R.push}`]:R.push||R.push===0,[`${S}-${_}-pull-${R.pull}`]:R.pull||R.pull===0,[`${S}-rtl`]:r==="rtl"}),R.flex&&(E[`${S}-${_}-flex`]=!0,C[`--${S}-${_}-flex`]=DP(R.flex))});const I=oe(S,{[`${S}-${s}`]:s!==void 0,[`${S}-order-${c}`]:c,[`${S}-offset-${u}`]:u,[`${S}-push-${d}`]:d,[`${S}-pull-${p}`]:p},g,E,x,w),T={};if(a&&a[0]>0){const _=a[0]/2;T.paddingLeft=_,T.paddingRight=_}return h&&(T.flex=DP(h),i===!1&&!T.minWidth&&(T.minWidth=0)),v(l.createElement("div",Object.assign({},y,{style:Object.assign(Object.assign(Object.assign({},T),b),C),className:I,ref:t}),m))});var tSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(typeof e=="string"&&r(e),typeof e=="object")for(let i=0;i{a()},[JSON.stringify(e),t]),n}const da=l.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:i,style:o,children:s,gutter:c=0,wrap:u}=e,d=tSe(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:g}=l.useContext(st),[m,h]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[b,y]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),S=MP(a,b),v=MP(r,b),x=l.useRef(c),w=IG();l.useEffect(()=>{const N=w.subscribe(A=>{y(A);const L=x.current||0;(!Array.isArray(L)&&typeof L=="object"||Array.isArray(L)&&(typeof L[0]=="object"||typeof L[1]=="object"))&&h(A)});return()=>w.unsubscribe(N)},[]);const C=()=>{const N=[void 0,void 0];return(Array.isArray(c)?c:[c,void 0]).forEach((L,j)=>{if(typeof L=="object")for(let F=0;F0?R[0]/-2:void 0;P&&(M.marginLeft=P,M.marginRight=P);const[D,O]=R;M.rowGap=O;const k=l.useMemo(()=>({gutter:[D,O],wrap:u}),[D,O,u]);return I(l.createElement(fK.Provider,{value:k},l.createElement("div",Object.assign({},d,{className:$,style:Object.assign(Object.assign({},M),o),ref:t}),s)))}),nSe=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:i,orientationMargin:o,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{borderBlockStart:`${G(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${G(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${G(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${G(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${G(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${o} * 100%)`},"&::after":{width:`calc(100% - ${o} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${o} * 100%)`},"&::after":{width:`calc(${o} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${G(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${G(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},rSe=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),aSe=an("Divider",e=>{const t=zt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[nSe(t)]},rSe,{unitless:{orientationMargin:!0}});var iSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,divider:r}=l.useContext(st),{prefixCls:a,type:i="horizontal",orientation:o="center",orientationMargin:s,className:c,rootClassName:u,children:d,dashed:p,variant:g="solid",plain:m,style:h}=e,b=iSe(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),y=t("divider",a),[S,v,x]=aSe(y),w=!!d,C=o==="left"&&s!=null,E=o==="right"&&s!=null,I=oe(y,r==null?void 0:r.className,v,x,`${y}-${i}`,{[`${y}-with-text`]:w,[`${y}-with-text-${o}`]:w,[`${y}-dashed`]:!!p,[`${y}-${g}`]:g!=="solid",[`${y}-plain`]:!!m,[`${y}-rtl`]:n==="rtl",[`${y}-no-default-orientation-margin-left`]:C,[`${y}-no-default-orientation-margin-right`]:E},c,u),T=l.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),_=Object.assign(Object.assign({},C&&{marginLeft:T}),E&&{marginRight:T});return S(l.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},r==null?void 0:r.style),h)},b,{role:"separator"}),d&&i!=="vertical"&&l.createElement("span",{className:`${y}-inner-text`,style:_},d)))};var oSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},sSe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:oSe}))},lSe=l.forwardRef(sSe);function U_(){return typeof BigInt=="function"}function pK(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Mc(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";i==="0"&&o==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(s).concat(r)}}function lk(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Ic(e){var t=String(e);if(lk(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&ck(t)?t.length-t.indexOf(".")-1:0}function ox(e){var t=String(e);if(lk(e)){if(e>Number.MAX_SAFE_INTEGER)return String(U_()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Mc("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),uSe=function(){function e(t){if(Jn(this,e),V(this,"origin",""),V(this,"number",void 0),V(this,"empty",void 0),pK(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return er(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var a=this.number+r;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(aNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":ox(this.number):this.origin}}]),e}();function So(e){return U_()?new cSe(e):new uSe(e)}function ob(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=Mc(e),i=a.negativeStr,o=a.integerStr,s=a.decimalStr,c="".concat(t).concat(s),u="".concat(i).concat(o);if(n>=0){var d=Number(s[n]);if(d>=5&&!r){var p=So(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-d));return ob(p.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return c===".0"?u:"".concat(u).concat(c)}function dSe(e){return!!(e.addonBefore||e.addonAfter)}function fSe(e){return!!(e.prefix||e.suffix||e.allowClear)}function PP(e,t,n){var r=t.cloneNode(!0),a=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},a}function f0(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=PP(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=PP(t,e,r),n(a);return}n(a)}}function gK(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var a=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}var uk=de.forwardRef(function(e,t){var n,r,a=e.inputElement,i=e.children,o=e.prefixCls,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,g=e.style,m=e.disabled,h=e.readOnly,b=e.focused,y=e.triggerFocus,S=e.allowClear,v=e.value,x=e.handleReset,w=e.hidden,C=e.classes,E=e.classNames,I=e.dataAttrs,T=e.styles,_=e.components,R=e.onClear,$=i??a,M=(_==null?void 0:_.affixWrapper)||"span",P=(_==null?void 0:_.groupWrapper)||"span",D=(_==null?void 0:_.wrapper)||"span",O=(_==null?void 0:_.groupAddon)||"span",k=l.useRef(null),N=function(J){var le;(le=k.current)!==null&&le!==void 0&&le.contains(J.target)&&(y==null||y())},A=fSe(e),L=l.cloneElement($,{value:v,className:oe($.props.className,!A&&(E==null?void 0:E.variant))||null}),j=l.useRef(null);if(de.useImperativeHandle(t,function(){return{nativeElement:j.current||k.current}}),A){var F=null;if(S){var B=!m&&!h&&v,z="".concat(o,"-clear-icon"),U=mt(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"✖";F=de.createElement("span",{onClick:function(J){x==null||x(J),R==null||R()},onMouseDown:function(J){return J.preventDefault()},className:oe(z,V(V({},"".concat(z,"-hidden"),!B),"".concat(z,"-has-suffix"),!!c)),role:"button",tabIndex:-1},U)}var H="".concat(o,"-affix-wrapper"),K=oe(H,V(V(V(V(V({},"".concat(o,"-disabled"),m),"".concat(H,"-disabled"),m),"".concat(H,"-focused"),b),"".concat(H,"-readonly"),h),"".concat(H,"-input-with-clear-btn"),c&&S&&v),C==null?void 0:C.affixWrapper,E==null?void 0:E.affixWrapper,E==null?void 0:E.variant),Y=(c||S)&&de.createElement("span",{className:oe("".concat(o,"-suffix"),E==null?void 0:E.suffix),style:T==null?void 0:T.suffix},F,c);L=de.createElement(M,be({className:K,style:T==null?void 0:T.affixWrapper,onClick:N},I==null?void 0:I.affixWrapper,{ref:k}),s&&de.createElement("span",{className:oe("".concat(o,"-prefix"),E==null?void 0:E.prefix),style:T==null?void 0:T.prefix},s),L,Y)}if(dSe(e)){var ee="".concat(o,"-group"),ae="".concat(ee,"-addon"),W="".concat(ee,"-wrapper"),q=oe("".concat(o,"-wrapper"),ee,C==null?void 0:C.wrapper,E==null?void 0:E.wrapper),Z=oe(W,V({},"".concat(W,"-disabled"),m),C==null?void 0:C.group,E==null?void 0:E.groupWrapper);L=de.createElement(P,{className:Z,ref:j},de.createElement(D,{className:q},u&&de.createElement(O,{className:ae},u),L,d&&de.createElement(O,{className:ae},d)))}return de.cloneElement(L,{className:oe((n=L.props)===null||n===void 0?void 0:n.className,p)||null,style:X(X({},(r=L.props)===null||r===void 0?void 0:r.style),g),hidden:w})}),pSe=["show"];function mK(e,t){return l.useMemo(function(){var n={};t&&(n.show=mt(t)==="object"&&t.formatter?t.formatter:!!t),n=X(X({},n),e);var r=n,a=r.show,i=Ct(r,pSe);return X(X({},i),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:i.strategy||function(o){return o.length}})},[e,t])}var gSe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],mSe=l.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,a=e.onFocus,i=e.onBlur,o=e.onPressEnter,s=e.onKeyDown,c=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,p=e.disabled,g=e.htmlSize,m=e.className,h=e.maxLength,b=e.suffix,y=e.showCount,S=e.count,v=e.type,x=v===void 0?"text":v,w=e.classes,C=e.classNames,E=e.styles,I=e.onCompositionStart,T=e.onCompositionEnd,_=Ct(e,gSe),R=l.useState(!1),$=se(R,2),M=$[0],P=$[1],D=l.useRef(!1),O=l.useRef(!1),k=l.useRef(null),N=l.useRef(null),A=function(me){k.current&&gK(k.current,me)},L=pn(e.defaultValue,{value:e.value}),j=se(L,2),F=j[0],B=j[1],z=F==null?"":String(F),U=l.useState(null),H=se(U,2),K=H[0],Y=H[1],ee=mK(S,y),ae=ee.max||h,W=ee.strategy(z),q=!!ae&&W>ae;l.useImperativeHandle(t,function(){var ue;return{focus:A,blur:function(){var xe;(xe=k.current)===null||xe===void 0||xe.blur()},setSelectionRange:function(xe,Ie,ke){var $e;($e=k.current)===null||$e===void 0||$e.setSelectionRange(xe,Ie,ke)},select:function(){var xe;(xe=k.current)===null||xe===void 0||xe.select()},input:k.current,nativeElement:((ue=N.current)===null||ue===void 0?void 0:ue.nativeElement)||k.current}}),l.useEffect(function(){P(function(ue){return ue&&p?!1:ue})},[p]);var Z=function(me,xe,Ie){var ke=xe;if(!D.current&&ee.exceedFormatter&&ee.max&&ee.strategy(xe)>ee.max){if(ke=ee.exceedFormatter(xe,{max:ee.max}),xe!==ke){var $e,Le;Y([(($e=k.current)===null||$e===void 0?void 0:$e.selectionStart)||0,((Le=k.current)===null||Le===void 0?void 0:Le.selectionEnd)||0])}}else if(Ie.source==="compositionEnd")return;B(ke),k.current&&f0(k.current,me,r,ke)};l.useEffect(function(){if(K){var ue;(ue=k.current)===null||ue===void 0||ue.setSelectionRange.apply(ue,Me(K))}},[K]);var Q=function(me){Z(me,me.target.value,{source:"change"})},J=function(me){D.current=!1,Z(me,me.currentTarget.value,{source:"compositionEnd"}),T==null||T(me)},le=function(me){o&&me.key==="Enter"&&!O.current&&(O.current=!0,o(me)),s==null||s(me)},ce=function(me){me.key==="Enter"&&(O.current=!1),c==null||c(me)},pe=function(me){P(!0),a==null||a(me)},te=function(me){P(!1),i==null||i(me)},ie=function(me){B(""),A(),k.current&&f0(k.current,me,r)},fe=q&&"".concat(d,"-out-of-range"),ge=function(){var me=Dn(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return de.createElement("input",be({autoComplete:n},me,{onChange:Q,onFocus:pe,onBlur:te,onKeyDown:le,onKeyUp:ce,className:oe(d,V({},"".concat(d,"-disabled"),p),C==null?void 0:C.input),style:E==null?void 0:E.input,ref:k,size:g,type:x,onCompositionStart:function(Ie){D.current=!0,I==null||I(Ie)},onCompositionEnd:J}))},ne=function(){var me=Number(ae)>0;if(b||ee.show){var xe=ee.showFormatter?ee.showFormatter({value:z,count:W,maxLength:ae}):"".concat(W).concat(me?" / ".concat(ae):"");return de.createElement(de.Fragment,null,ee.show&&de.createElement("span",{className:oe("".concat(d,"-show-count-suffix"),V({},"".concat(d,"-show-count-has-suffix"),!!b),C==null?void 0:C.count),style:X({},E==null?void 0:E.count)},xe),b)}return null};return de.createElement(uk,be({},_,{prefixCls:d,className:oe(m,fe),handleReset:ie,value:z,focused:M,triggerFocus:A,suffix:ne(),disabled:p,classes:w,classNames:C,styles:E}),ge())});function hSe(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,a){if(t[a])return t[a];var i=r[a];return typeof i=="function"?i.bind(r):i}}):e}function vSe(e,t){var n=l.useRef(null);function r(){try{var i=e.selectionStart,o=e.selectionEnd,s=e.value,c=s.substring(0,i),u=s.substring(o);n.current={start:i,end:o,value:s,beforeTxt:c,afterTxt:u}}catch{}}function a(){if(e&&n.current&&t)try{var i=e.value,o=n.current,s=o.beforeTxt,c=o.afterTxt,u=o.start,d=i.length;if(i.startsWith(s))d=s.length;else if(i.endsWith(c))d=i.length-n.current.afterTxt.length;else{var p=s[u-1],g=i.indexOf(p,u-1);g!==-1&&(d=g+1)}e.setSelectionRange(d,d)}catch(m){$n(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(m.message))}}return[r,a]}var bSe=function(){var t=l.useState(!1),n=se(t,2),r=n[0],a=n[1];return Zt(function(){a(jy())},[]),r},ySe=200,xSe=600;function SSe(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,a=e.upDisabled,i=e.downDisabled,o=e.onStep,s=l.useRef(),c=l.useRef([]),u=l.useRef();u.current=o;var d=function(){clearTimeout(s.current)},p=function(x,w){x.preventDefault(),d(),u.current(w);function C(){u.current(w),s.current=setTimeout(C,ySe)}s.current=setTimeout(C,xSe)};l.useEffect(function(){return function(){d(),c.current.forEach(function(v){return Gt.cancel(v)})}},[]);var g=bSe();if(g)return null;var m="".concat(t,"-handler"),h=oe(m,"".concat(m,"-up"),V({},"".concat(m,"-up-disabled"),a)),b=oe(m,"".concat(m,"-down"),V({},"".concat(m,"-down-disabled"),i)),y=function(){return c.current.push(Gt(d))},S={unselectable:"on",role:"button",onMouseUp:y,onMouseLeave:y};return l.createElement("div",{className:"".concat(m,"-wrap")},l.createElement("span",be({},S,{onMouseDown:function(x){p(x,!0)},"aria-label":"Increase Value","aria-disabled":a,className:h}),n||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),l.createElement("span",be({},S,{onMouseDown:function(x){p(x,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:b}),r||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function LP(e){var t=typeof e=="number"?ox(e):Mc(e).fullStr,n=t.includes(".");return n?Mc(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const wSe=function(){var e=l.useRef(0),t=function(){Gt.cancel(e.current)};return l.useEffect(function(){return t},[]),function(n){t(),e.current=Gt(function(){n()})}};var CSe=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],ESe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],jP=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},FP=function(t){var n=So(t);return n.isInvalidate()?null:n},ISe=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.min,o=e.max,s=e.step,c=s===void 0?1:s,u=e.defaultValue,d=e.value,p=e.disabled,g=e.readOnly,m=e.upHandler,h=e.downHandler,b=e.keyboard,y=e.changeOnWheel,S=y===void 0?!1:y,v=e.controls,x=v===void 0?!0:v;e.classNames;var w=e.stringMode,C=e.parser,E=e.formatter,I=e.precision,T=e.decimalSeparator,_=e.onChange,R=e.onInput,$=e.onPressEnter,M=e.onStep,P=e.changeOnBlur,D=P===void 0?!0:P,O=e.domRef,k=Ct(e,CSe),N="".concat(n,"-input"),A=l.useRef(null),L=l.useState(!1),j=se(L,2),F=j[0],B=j[1],z=l.useRef(!1),U=l.useRef(!1),H=l.useRef(!1),K=l.useState(function(){return So(d??u)}),Y=se(K,2),ee=Y[0],ae=Y[1];function W(re){d===void 0&&ae(re)}var q=l.useCallback(function(re,ve){if(!ve)return I>=0?I:Math.max(Ic(re),Ic(c))},[I,c]),Z=l.useCallback(function(re){var ve=String(re);if(C)return C(ve);var _e=ve;return T&&(_e=_e.replace(T,".")),_e.replace(/[^\w.-]+/g,"")},[C,T]),Q=l.useRef(""),J=l.useCallback(function(re,ve){if(E)return E(re,{userTyping:ve,input:String(Q.current)});var _e=typeof re=="number"?ox(re):re;if(!ve){var ze=q(_e,ve);if(ck(_e)&&(T||ze>=0)){var Ue=T||".";_e=ob(_e,Ue,ze)}}return _e},[E,q,T]),le=l.useState(function(){var re=u??d;return ee.isInvalidate()&&["string","number"].includes(mt(re))?Number.isNaN(re)?"":re:J(ee.toString(),!1)}),ce=se(le,2),pe=ce[0],te=ce[1];Q.current=pe;function ie(re,ve){te(J(re.isInvalidate()?re.toString(!1):re.toString(!ve),ve))}var fe=l.useMemo(function(){return FP(o)},[o,I]),ge=l.useMemo(function(){return FP(i)},[i,I]),ne=l.useMemo(function(){return!fe||!ee||ee.isInvalidate()?!1:fe.lessEquals(ee)},[fe,ee]),ue=l.useMemo(function(){return!ge||!ee||ee.isInvalidate()?!1:ee.lessEquals(ge)},[ge,ee]),me=vSe(A.current,F),xe=se(me,2),Ie=xe[0],ke=xe[1],$e=function(ve){return fe&&!ve.lessEquals(fe)?fe:ge&&!ge.lessEquals(ve)?ge:null},Le=function(ve){return!$e(ve)},je=function(ve,_e){var ze=ve,Ue=Le(ze)||ze.isEmpty();if(!ze.isEmpty()&&!_e&&(ze=$e(ze)||ze,Ue=!0),!g&&!p&&Ue){var Ae=ze.toString(),Oe=q(Ae,_e);return Oe>=0&&(ze=So(ob(Ae,".",Oe)),Le(ze)||(ze=So(ob(Ae,".",Oe,!0)))),ze.equals(ee)||(W(ze),_==null||_(ze.isEmpty()?null:jP(w,ze)),d===void 0&&ie(ze,_e)),ze}return ee},He=wSe(),Be=function re(ve){if(Ie(),Q.current=ve,te(ve),!U.current){var _e=Z(ve),ze=So(_e);ze.isNaN()||je(ze,!0)}R==null||R(ve),He(function(){var Ue=ve;C||(Ue=ve.replace(/。/g,".")),Ue!==ve&&re(Ue)})},Pe=function(){U.current=!0},Se=function(){U.current=!1,Be(A.current.value)},Ne=function(ve){Be(ve.target.value)},Te=function(ve){var _e;if(!(ve&&ne||!ve&&ue)){z.current=!1;var ze=So(H.current?LP(c):c);ve||(ze=ze.negate());var Ue=(ee||So(0)).add(ze.toString()),Ae=je(Ue,!1);M==null||M(jP(w,Ae),{offset:H.current?LP(c):c,type:ve?"up":"down"}),(_e=A.current)===null||_e===void 0||_e.focus()}},Ce=function(ve){var _e=So(Z(pe)),ze;_e.isNaN()?ze=je(ee,ve):ze=je(_e,ve),d!==void 0?ie(ee,!1):ze.isNaN()||ie(ze,!1)},De=function(){z.current=!0},Ge=function(ve){var _e=ve.key,ze=ve.shiftKey;z.current=!0,H.current=ze,_e==="Enter"&&(U.current||(z.current=!1),Ce(!1),$==null||$(ve)),b!==!1&&!U.current&&["Up","ArrowUp","Down","ArrowDown"].includes(_e)&&(Te(_e==="Up"||_e==="ArrowUp"),ve.preventDefault())},lt=function(){z.current=!1,H.current=!1};l.useEffect(function(){if(S&&F){var re=function(ze){Te(ze.deltaY<0),ze.preventDefault()},ve=A.current;if(ve)return ve.addEventListener("wheel",re,{passive:!1}),function(){return ve.removeEventListener("wheel",re)}}});var he=function(){D&&Ce(!1),B(!1),z.current=!1};return Ac(function(){ee.isInvalidate()||ie(ee,!1)},[I,E]),Ac(function(){var re=So(d);ae(re);var ve=So(Z(pe));(!re.equals(ve)||!z.current||E)&&ie(re,z.current)},[d]),Ac(function(){E&&ke()},[pe]),l.createElement("div",{ref:O,className:oe(n,r,V(V(V(V(V({},"".concat(n,"-focused"),F),"".concat(n,"-disabled"),p),"".concat(n,"-readonly"),g),"".concat(n,"-not-a-number"),ee.isNaN()),"".concat(n,"-out-of-range"),!ee.isInvalidate()&&!Le(ee))),style:a,onFocus:function(){B(!0)},onBlur:he,onKeyDown:Ge,onKeyUp:lt,onCompositionStart:Pe,onCompositionEnd:Se,onBeforeInput:De},x&&l.createElement(SSe,{prefixCls:n,upNode:m,downNode:h,upDisabled:ne,downDisabled:ue,onStep:Te}),l.createElement("div",{className:"".concat(N,"-wrap")},l.createElement("input",be({autoComplete:"off",role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":ee.isInvalidate()?null:ee.toString(),step:c},k,{ref:ba(A,t),className:N,value:pe,onChange:Ne,disabled:p,readOnly:g}))))}),TSe=l.forwardRef(function(e,t){var n=e.disabled,r=e.style,a=e.prefixCls,i=a===void 0?"rc-input-number":a,o=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,g=e.classNames,m=Ct(e,ESe),h=l.useRef(null),b=l.useRef(null),y=l.useRef(null),S=function(x){y.current&&gK(y.current,x)};return l.useImperativeHandle(t,function(){return hSe(y.current,{nativeElement:h.current.nativeElement||b.current})}),l.createElement(uk,{className:p,triggerFocus:S,prefixCls:i,value:o,disabled:n,style:r,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classNames:g,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:h},l.createElement(ISe,be({prefixCls:i,disabled:n,ref:y,domRef:b,className:g==null?void 0:g.input},m)))});const RSe=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},Km(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new cn(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},BP=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e;const i=t==="lg"?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},_Se=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:s,controlHeightSM:c,colorError:u,paddingInlineSM:d,paddingBlockSM:p,paddingBlockLG:g,paddingInlineLG:m,colorTextDescription:h,motionDurationMid:b,handleHoverColor:y,handleOpacity:S,paddingInline:v,paddingBlock:x,handleBg:w,handleActiveBg:C,colorTextDisabled:E,borderRadiusSM:I,borderRadiusLG:T,controlWidth:_,handleBorderColor:R,filledHandleBg:$,lineHeightLG:M,calc:P}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),Ym(e)),{display:"inline-block",width:_,margin:0,padding:0,borderRadius:a}),tk(e,{[`${t}-handler-wrap`]:{background:w,[`${t}-handler-down`]:{borderBlockStart:`${G(n)} ${r} ${R}`}}})),rk(e,{[`${t}-handler-wrap`]:{background:$,[`${t}-handler-down`]:{borderBlockStart:`${G(n)} ${r} ${R}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:w}}})),nk(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:M,borderRadius:T,[`input${t}-input`]:{height:P(s).sub(P(n).mul(2)).equal(),padding:`${G(g)} ${G(m)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:I,[`input${t}-input`]:{height:P(c).sub(P(n).mul(2)).equal(),padding:`${G(p)} ${G(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},ln(e)),Qq(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:T,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:I}}},Kq(e)),Xq(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{width:"100%",padding:`${G(x)} ${G(v)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${b} linear`,appearance:"textfield",fontSize:"inherit"}),ak(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:S,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${b}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:h,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${G(n)} ${r} ${R}`,transition:`all ${b} linear`,"&:active":{background:C},"&:hover":{height:"60%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{color:y}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},wf()),{color:h,transition:`all ${b} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},BP(e,"lg")),BP(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` - ${t}-handler-up-disabled, - ${t}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${t}-handler-up-disabled:hover &-handler-up-inner, - ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:E}})}]},$Se=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:s,paddingInlineLG:c,paddingInlineSM:u,paddingBlockLG:d,paddingBlockSM:p,motionDurationMid:g}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${G(n)} 0`}},Ym(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:c,[`input${t}-input`]:{padding:`${G(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${G(p)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${g}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},OSe=an("InputNumber",e=>{const t=zt(e,qm(e));return[_Se(t),$Se(t),Dm(t)]},RSe,{unitless:{handleOpacity:!0}});var NSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(st),a=l.useRef(null);l.useImperativeHandle(t,()=>a.current);const{className:i,rootClassName:o,size:s,disabled:c,prefixCls:u,addonBefore:d,addonAfter:p,prefix:g,suffix:m,bordered:h,readOnly:b,status:y,controls:S,variant:v}=e,x=NSe(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),w=n("input-number",u),C=ir(w),[E,I,T]=OSe(w,C),{compactSize:_,compactItemClassnames:R}=Ws(w,r);let $=l.createElement(lSe,{className:`${w}-handler-up-inner`}),M=l.createElement(Hy,{className:`${w}-handler-down-inner`});const P=typeof S=="boolean"?S:void 0;typeof S=="object"&&($=typeof S.upIcon>"u"?$:l.createElement("span",{className:`${w}-handler-up-inner`},S.upIcon),M=typeof S.downIcon>"u"?M:l.createElement("span",{className:`${w}-handler-down-inner`},S.downIcon));const{hasFeedback:D,status:O,isFormItemInput:k,feedbackIcon:N}=l.useContext(aa),A=ec(O,y),L=zr(ee=>{var ae;return(ae=s??_)!==null&&ae!==void 0?ae:ee}),j=l.useContext(ha),F=c??j,[B,z]=du("inputNumber",v,h),U=D&&l.createElement(l.Fragment,null,N),H=oe({[`${w}-lg`]:L==="large",[`${w}-sm`]:L==="small",[`${w}-rtl`]:r==="rtl",[`${w}-in-form-item`]:k},I),K=`${w}-group`,Y=l.createElement(TSe,Object.assign({ref:a,disabled:F,className:oe(T,C,i,o,R),upHandler:$,downHandler:M,prefixCls:w,readOnly:b,controls:P,prefix:g,suffix:U||m,addonBefore:d&&l.createElement(ls,{form:!0,space:!0},d),addonAfter:p&&l.createElement(ls,{form:!0,space:!0},p),classNames:{input:H,variant:oe({[`${w}-${B}`]:z},Fs(w,A,D)),affixWrapper:oe({[`${w}-affix-wrapper-sm`]:L==="small",[`${w}-affix-wrapper-lg`]:L==="large",[`${w}-affix-wrapper-rtl`]:r==="rtl",[`${w}-affix-wrapper-without-controls`]:S===!1},I),wrapper:oe({[`${K}-rtl`]:r==="rtl"},I),groupWrapper:oe({[`${w}-group-wrapper-sm`]:L==="small",[`${w}-group-wrapper-lg`]:L==="large",[`${w}-group-wrapper-rtl`]:r==="rtl",[`${w}-group-wrapper-${B}`]:z},Fs(`${w}-group-wrapper`,A,D),I)}},x));return E(Y)}),vK=hK,kSe=e=>l.createElement(zo,{theme:{components:{InputNumber:{handleVisible:!0}}}},l.createElement(hK,Object.assign({},e)));vK._InternalPanelDoNotUseOrYouWillBeFired=kSe;const ASe=e=>{const{getPrefixCls:t,direction:n}=l.useContext(st),{prefixCls:r,className:a}=e,i=t("input-group",r),o=t("input"),[s,c]=ok(o),u=oe(i,{[`${i}-lg`]:e.size==="large",[`${i}-sm`]:e.size==="small",[`${i}-compact`]:e.compact,[`${i}-rtl`]:n==="rtl"},c,a),d=l.useContext(aa),p=l.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return s(l.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(aa.Provider,{value:p},e.children)))},bK=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:de.createElement(Ql,null)}),t};function yK(e,t){const n=l.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var a,i,o,s;!((a=e.current)===null||a===void 0)&&a.input&&((i=e.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((o=e.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return l.useEffect(()=>(t&&r(),()=>n.current.forEach(a=>{a&&clearTimeout(a)})),[]),r}function DSe(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var MSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a=!0,status:i,size:o,disabled:s,onBlur:c,onFocus:u,suffix:d,allowClear:p,addonAfter:g,addonBefore:m,className:h,style:b,styles:y,rootClassName:S,onChange:v,classNames:x,variant:w}=e,C=MSe(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:E,direction:I,input:T}=de.useContext(st),_=E("input",r),R=l.useRef(null),$=ir(_),[M,P,D]=ok(_,$),{compactSize:O,compactItemClassnames:k}=Ws(_,I),N=zr(Q=>{var J;return(J=o??O)!==null&&J!==void 0?J:Q}),A=de.useContext(ha),L=s??A,{status:j,hasFeedback:F,feedbackIcon:B}=l.useContext(aa),z=ec(j,i),U=DSe(e)||!!F;l.useRef(U);const H=yK(R,!0),K=Q=>{H(),c==null||c(Q)},Y=Q=>{H(),u==null||u(Q)},ee=Q=>{H(),v==null||v(Q)},ae=(F||d)&&de.createElement(de.Fragment,null,d,F&&B),W=bK(p??(T==null?void 0:T.allowClear)),[q,Z]=du("input",w,a);return M(de.createElement(mSe,Object.assign({ref:ba(t,R),prefixCls:_,autoComplete:T==null?void 0:T.autoComplete},C,{disabled:L,onBlur:K,onFocus:Y,style:Object.assign(Object.assign({},T==null?void 0:T.style),b),styles:Object.assign(Object.assign({},T==null?void 0:T.styles),y),suffix:ae,allowClear:W,className:oe(h,S,D,$,k,T==null?void 0:T.className),onChange:ee,addonBefore:m&&de.createElement(ls,{form:!0,space:!0},m),addonAfter:g&&de.createElement(ls,{form:!0,space:!0},g),classNames:Object.assign(Object.assign(Object.assign({},x),T==null?void 0:T.classNames),{input:oe({[`${_}-sm`]:N==="small",[`${_}-lg`]:N==="large",[`${_}-rtl`]:I==="rtl"},x==null?void 0:x.input,(n=T==null?void 0:T.classNames)===null||n===void 0?void 0:n.input,P),variant:oe({[`${_}-${q}`]:Z},Fs(_,z)),affixWrapper:oe({[`${_}-affix-wrapper-sm`]:N==="small",[`${_}-affix-wrapper-lg`]:N==="large",[`${_}-affix-wrapper-rtl`]:I==="rtl"},P),wrapper:oe({[`${_}-group-rtl`]:I==="rtl"},P),groupWrapper:oe({[`${_}-group-wrapper-sm`]:N==="small",[`${_}-group-wrapper-lg`]:N==="large",[`${_}-group-wrapper-rtl`]:I==="rtl",[`${_}-group-wrapper-${q}`]:Z},Fs(`${_}-group-wrapper`,z,F),P)})})))}),LSe=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},jSe=an(["Input","OTP"],e=>{const t=zt(e,qm(e));return[LSe(t)]},Km);var FSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{value:n,onChange:r,onActiveChange:a,index:i,mask:o}=e,s=FSe(e,["value","onChange","onActiveChange","index","mask"]),c=n&&typeof o=="string"?o:n,u=h=>{r(i,h.target.value)},d=l.useRef(null);l.useImperativeHandle(t,()=>d.current);const p=()=>{Gt(()=>{var h;const b=(h=d.current)===null||h===void 0?void 0:h.input;document.activeElement===b&&b&&b.select()})},g=h=>{let{key:b}=h;b==="ArrowLeft"?a(i-1):b==="ArrowRight"&&a(i+1),p()},m=h=>{h.key==="Backspace"&&!n&&a(i-1),p()};return l.createElement(sx,Object.assign({type:o===!0?"password":"text"},s,{ref:d,value:c,onInput:u,onFocus:p,onKeyDown:g,onKeyUp:m,onMouseDown:p,onMouseUp:p}))});var zSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,length:r=6,size:a,defaultValue:i,value:o,onChange:s,formatter:c,variant:u,disabled:d,status:p,autoFocus:g,mask:m,type:h}=e,b=zSe(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask","type"]),{getPrefixCls:y,direction:S}=l.useContext(st),v=y("otp",n),x=fr(b,{aria:!0,data:!0,attr:!0}),w=ir(v),[C,E,I]=jSe(v,w),T=zr(B=>a??B),_=l.useContext(aa),R=ec(_.status,p),$=l.useMemo(()=>Object.assign(Object.assign({},_),{status:R,hasFeedback:!1,feedbackIcon:null}),[_,R]),M=l.useRef(null),P=l.useRef({});l.useImperativeHandle(t,()=>({focus:()=>{var B;(B=P.current[0])===null||B===void 0||B.focus()},blur:()=>{var B;for(let z=0;zc?c(B):B,[O,k]=l.useState(lv(D(i||"")));l.useEffect(()=>{o!==void 0&&k(lv(o))},[o]);const N=Yt(B=>{k(B),s&&B.length===r&&B.every(z=>z)&&B.some((z,U)=>O[U]!==z)&&s(B.join(""))}),A=Yt((B,z)=>{let U=Me(O);for(let K=0;K=0&&!U[K];K-=1)U.pop();const H=D(U.map(K=>K||" ").join(""));return U=lv(H).map((K,Y)=>K===" "&&!U[Y]?U[Y]:K),U}),L=(B,z)=>{var U;const H=A(B,z),K=Math.min(B+z.length,r-1);K!==B&&((U=P.current[K])===null||U===void 0||U.focus()),N(H)},j=B=>{var z;(z=P.current[B])===null||z===void 0||z.focus()},F={variant:u,disabled:d,status:R,mask:m,type:h};return C(l.createElement("div",Object.assign({},x,{ref:M,className:oe(v,{[`${v}-sm`]:T==="small",[`${v}-lg`]:T==="large",[`${v}-rtl`]:S==="rtl"},I,E)}),l.createElement(aa.Provider,{value:$},Array.from({length:r}).map((B,z)=>{const U=`otp-${z}`,H=O[z]||"";return l.createElement(BSe,Object.assign({ref:K=>{P.current[z]=K},key:U,index:z,size:T,htmlSize:1,className:`${v}-input`,onChange:L,value:H,onActiveChange:j,autoFocus:z===0&&g},F))}))))});var USe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},VSe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:USe}))},WSe=l.forwardRef(VSe),GSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},qSe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:GSe}))},zl=l.forwardRef(qSe),KSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae?l.createElement(zl,null):l.createElement(WSe,null),XSe={click:"onClick",hover:"onMouseOver"},ZSe=l.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:i=YSe}=e,o=l.useContext(ha),s=n??o,c=typeof a=="object"&&a.visible!==void 0,[u,d]=l.useState(()=>c?a.visible:!1),p=l.useRef(null);l.useEffect(()=>{c&&d(a.visible)},[c,a]);const g=yK(p),m=()=>{s||(u&&g(),d(R=>{var $;const M=!R;return typeof a=="object"&&(($=a.onVisibleChange)===null||$===void 0||$.call(a,M)),M}))},h=R=>{const $=XSe[r]||"",M=i(u),P={[$]:m,className:`${R}-icon`,key:"passwordIcon",onMouseDown:D=>{D.preventDefault()},onMouseUp:D=>{D.preventDefault()}};return l.cloneElement(l.isValidElement(M)?M:l.createElement("span",null,M),P)},{className:b,prefixCls:y,inputPrefixCls:S,size:v}=e,x=KSe(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:w}=l.useContext(st),C=w("input",S),E=w("input-password",y),I=a&&h(E),T=oe(E,b,{[`${E}-${v}`]:!!v}),_=Object.assign(Object.assign({},Dn(x,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:T,prefixCls:C,suffix:I});return v&&(_.size=v),l.createElement(sx,Object.assign({ref:ba(t,p)},_))});var QSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,inputPrefixCls:r,className:a,size:i,suffix:o,enterButton:s=!1,addonAfter:c,loading:u,disabled:d,onSearch:p,onChange:g,onCompositionStart:m,onCompositionEnd:h}=e,b=QSe(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:y,direction:S}=l.useContext(st),v=l.useRef(!1),x=y("input-search",n),w=y("input",r),{compactSize:C}=Ws(x,S),E=zr(j=>{var F;return(F=i??C)!==null&&F!==void 0?F:j}),I=l.useRef(null),T=j=>{j!=null&&j.target&&j.type==="click"&&p&&p(j.target.value,j,{source:"clear"}),g==null||g(j)},_=j=>{var F;document.activeElement===((F=I.current)===null||F===void 0?void 0:F.input)&&j.preventDefault()},R=j=>{var F,B;p&&p((B=(F=I.current)===null||F===void 0?void 0:F.input)===null||B===void 0?void 0:B.value,j,{source:"input"})},$=j=>{v.current||u||R(j)},M=typeof s=="boolean"?l.createElement(Hm,null):null,P=`${x}-button`;let D;const O=s||{},k=O.type&&O.type.__ANT_BUTTON===!0;k||O.type==="button"?D=kr(O,Object.assign({onMouseDown:_,onClick:j=>{var F,B;(B=(F=O==null?void 0:O.props)===null||F===void 0?void 0:F.onClick)===null||B===void 0||B.call(F,j),R(j)},key:"enterButton"},k?{className:P,size:E}:{})):D=l.createElement(tt,{className:P,type:s?"primary":void 0,size:E,disabled:d,key:"enterButton",onMouseDown:_,onClick:R,loading:u,icon:M},s),c&&(D=[D,kr(c,{key:"addonAfter"})]);const N=oe(x,{[`${x}-rtl`]:S==="rtl",[`${x}-${E}`]:!!E,[`${x}-with-button`]:!!s},a),A=j=>{v.current=!0,m==null||m(j)},L=j=>{v.current=!1,h==null||h(j)};return l.createElement(sx,Object.assign({ref:ba(I,t),onPressEnter:$},b,{size:E,onCompositionStart:A,onCompositionEnd:L,prefixCls:w,addonAfter:D,suffix:o,onChange:T,className:N,disabled:d}))});var e1e=` - min-height:0 !important; - max-height:none !important; - height:0 !important; - visibility:hidden !important; - overflow:hidden !important; - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; - pointer-events: none !important; -`,t1e=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],b1={},yi;function n1e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&b1[n])return b1[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=t1e.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:i,borderSize:o,boxSizing:a};return t&&n&&(b1[n]=c),c}function r1e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;yi||(yi=document.createElement("textarea"),yi.setAttribute("tab-index","-1"),yi.setAttribute("aria-hidden","true"),yi.setAttribute("name","hiddenTextarea"),document.body.appendChild(yi)),e.getAttribute("wrap")?yi.setAttribute("wrap",e.getAttribute("wrap")):yi.removeAttribute("wrap");var a=n1e(e,t),i=a.paddingSize,o=a.borderSize,s=a.boxSizing,c=a.sizingStyle;yi.setAttribute("style","".concat(c,";").concat(e1e)),yi.value=e.value||e.placeholder||"";var u=void 0,d=void 0,p,g=yi.scrollHeight;if(s==="border-box"?g+=o:s==="content-box"&&(g-=i),n!==null||r!==null){yi.value=" ";var m=yi.scrollHeight-i;n!==null&&(u=m*n,s==="border-box"&&(u=u+i+o),g=Math.max(u,g)),r!==null&&(d=m*r,s==="border-box"&&(d=d+i+o),p=g>d?"":"hidden",g=Math.min(d,g))}var h={height:g,overflowY:p,resize:"none"};return u&&(h.minHeight=u),d&&(h.maxHeight=d),h}var a1e=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],y1=0,x1=1,S1=2,i1e=l.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,i=n.value,o=n.autoSize,s=n.onResize,c=n.className,u=n.style,d=n.disabled,p=n.onChange;n.onInternalAutoSize;var g=Ct(n,a1e),m=pn(a,{value:i,postState:function(U){return U??""}}),h=se(m,2),b=h[0],y=h[1],S=function(U){y(U.target.value),p==null||p(U)},v=l.useRef();l.useImperativeHandle(t,function(){return{textArea:v.current}});var x=l.useMemo(function(){return o&&mt(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),w=se(x,2),C=w[0],E=w[1],I=!!o,T=function(){try{if(document.activeElement===v.current){var U=v.current,H=U.selectionStart,K=U.selectionEnd,Y=U.scrollTop;v.current.setSelectionRange(H,K),v.current.scrollTop=Y}}catch{}},_=l.useState(S1),R=se(_,2),$=R[0],M=R[1],P=l.useState(),D=se(P,2),O=D[0],k=D[1],N=function(){M(y1)};Zt(function(){I&&N()},[i,C,E,I]),Zt(function(){if($===y1)M(x1);else if($===x1){var z=r1e(v.current,!1,C,E);M(S1),k(z)}else T()},[$]);var A=l.useRef(),L=function(){Gt.cancel(A.current)},j=function(U){$===S1&&(s==null||s(U),o&&(L(),A.current=Gt(function(){N()})))};l.useEffect(function(){return L},[]);var F=I?O:null,B=X(X({},u),F);return($===y1||$===x1)&&(B.overflowY="hidden",B.overflowX="hidden"),l.createElement(Ta,{onResize:j,disabled:!(o||s)},l.createElement("textarea",be({},g,{ref:v,style:B,className:oe(r,c,V({},"".concat(r,"-disabled"),d)),disabled:d,value:b,onChange:S})))}),o1e=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],s1e=de.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,i=e.onFocus,o=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,p=e.onCompositionEnd,g=e.suffix,m=e.prefixCls,h=m===void 0?"rc-textarea":m,b=e.showCount,y=e.count,S=e.className,v=e.style,x=e.disabled,w=e.hidden,C=e.classNames,E=e.styles,I=e.onResize,T=e.onClear,_=e.onPressEnter,R=e.readOnly,$=e.autoSize,M=e.onKeyDown,P=Ct(e,o1e),D=pn(r,{value:a,defaultValue:r}),O=se(D,2),k=O[0],N=O[1],A=k==null?"":String(k),L=de.useState(!1),j=se(L,2),F=j[0],B=j[1],z=de.useRef(!1),U=de.useState(null),H=se(U,2),K=H[0],Y=H[1],ee=l.useRef(null),ae=l.useRef(null),W=function(){var Se;return(Se=ae.current)===null||Se===void 0?void 0:Se.textArea},q=function(){W().focus()};l.useImperativeHandle(t,function(){var Pe;return{resizableTextArea:ae.current,focus:q,blur:function(){W().blur()},nativeElement:((Pe=ee.current)===null||Pe===void 0?void 0:Pe.nativeElement)||W()}}),l.useEffect(function(){B(function(Pe){return!x&&Pe})},[x]);var Z=de.useState(null),Q=se(Z,2),J=Q[0],le=Q[1];de.useEffect(function(){if(J){var Pe;(Pe=W()).setSelectionRange.apply(Pe,Me(J))}},[J]);var ce=mK(y,b),pe=(n=ce.max)!==null&&n!==void 0?n:u,te=Number(pe)>0,ie=ce.strategy(A),fe=!!pe&&ie>pe,ge=function(Se,Ne){var Te=Ne;!z.current&&ce.exceedFormatter&&ce.max&&ce.strategy(Ne)>ce.max&&(Te=ce.exceedFormatter(Ne,{max:ce.max}),Ne!==Te&&le([W().selectionStart||0,W().selectionEnd||0])),N(Te),f0(Se.currentTarget,Se,s,Te)},ne=function(Se){z.current=!0,d==null||d(Se)},ue=function(Se){z.current=!1,ge(Se,Se.currentTarget.value),p==null||p(Se)},me=function(Se){ge(Se,Se.target.value)},xe=function(Se){Se.key==="Enter"&&_&&_(Se),M==null||M(Se)},Ie=function(Se){B(!0),i==null||i(Se)},ke=function(Se){B(!1),o==null||o(Se)},$e=function(Se){N(""),q(),f0(W(),Se,s)},Le=g,je;ce.show&&(ce.showFormatter?je=ce.showFormatter({value:A,count:ie,maxLength:pe}):je="".concat(ie).concat(te?" / ".concat(pe):""),Le=de.createElement(de.Fragment,null,Le,de.createElement("span",{className:oe("".concat(h,"-data-count"),C==null?void 0:C.count),style:E==null?void 0:E.count},je)));var He=function(Se){var Ne;I==null||I(Se),(Ne=W())!==null&&Ne!==void 0&&Ne.style.height&&Y(!0)},Be=!$&&!b&&!c;return de.createElement(uk,{ref:ee,value:A,allowClear:c,handleReset:$e,suffix:Le,prefixCls:h,classNames:X(X({},C),{},{affixWrapper:oe(C==null?void 0:C.affixWrapper,V(V({},"".concat(h,"-show-count"),b),"".concat(h,"-textarea-allow-clear"),c))}),disabled:x,focused:F,className:oe(S,fe&&"".concat(h,"-out-of-range")),style:X(X({},v),K&&!Be?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof je=="string"?je:void 0}},hidden:w,readOnly:R,onClear:T},de.createElement(i1e,be({},P,{autoSize:$,maxLength:u,onKeyDown:xe,onChange:me,onFocus:Ie,onBlur:ke,onCompositionStart:ne,onCompositionEnd:ue,className:oe(C==null?void 0:C.textarea),style:X(X({},E==null?void 0:E.textarea),{},{resize:v==null?void 0:v.resize}),disabled:x,prefixCls:h,onResize:He,ref:ae,readOnly:R})))}),l1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,bordered:i=!0,size:o,disabled:s,status:c,allowClear:u,classNames:d,rootClassName:p,className:g,style:m,styles:h,variant:b}=e,y=l1e(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:S,direction:v,textArea:x}=l.useContext(st),w=zr(o),C=l.useContext(ha),E=s??C,{status:I,hasFeedback:T,feedbackIcon:_}=l.useContext(aa),R=ec(I,c),$=l.useRef(null);l.useImperativeHandle(t,()=>{var j;return{resizableTextArea:(j=$.current)===null||j===void 0?void 0:j.resizableTextArea,focus:F=>{var B,z;PSe((z=(B=$.current)===null||B===void 0?void 0:B.resizableTextArea)===null||z===void 0?void 0:z.textArea,F)},blur:()=>{var F;return(F=$.current)===null||F===void 0?void 0:F.blur()}}});const M=S("input",a),P=ir(M),[D,O,k]=ok(M,P),[N,A]=du("textArea",b,i),L=bK(u??(x==null?void 0:x.allowClear));return D(l.createElement(s1e,Object.assign({autoComplete:x==null?void 0:x.autoComplete},y,{style:Object.assign(Object.assign({},x==null?void 0:x.style),m),styles:Object.assign(Object.assign({},x==null?void 0:x.styles),h),disabled:E,allowClear:L,className:oe(k,P,g,p,x==null?void 0:x.className),classNames:Object.assign(Object.assign(Object.assign({},d),x==null?void 0:x.classNames),{textarea:oe({[`${M}-sm`]:w==="small",[`${M}-lg`]:w==="large"},O,d==null?void 0:d.textarea,(n=x==null?void 0:x.classNames)===null||n===void 0?void 0:n.textarea),variant:oe({[`${M}-${N}`]:A},Fs(M,R)),affixWrapper:oe(`${M}-textarea-affix-wrapper`,{[`${M}-affix-wrapper-rtl`]:v==="rtl",[`${M}-affix-wrapper-sm`]:w==="small",[`${M}-affix-wrapper-lg`]:w==="large",[`${M}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},O)}),prefixCls:M,suffix:T&&l.createElement("span",{className:`${M}-textarea-suffix`},_),ref:$})))}),tn=sx;tn.Group=ASe;tn.Search=JSe;tn.TextArea=xK;tn.Password=ZSe;tn.OTP=HSe;function V_(e,t,n){return(e-t)/(n-t)}function dk(e,t,n,r){var a=V_(t,n,r),i={};switch(e){case"rtl":i.right="".concat(a*100,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(a*100,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(a*100,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(a*100,"%"),i.transform="translateX(-50%)";break}return i}function md(e,t){return Array.isArray(e)?e[t]:e}var mu=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),c1e=l.createContext({}),u1e=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],zP=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,a=e.valueIndex,i=e.onStartMove,o=e.onDelete,s=e.style,c=e.render,u=e.dragging,d=e.draggingDelete,p=e.onOffsetChange,g=e.onChangeComplete,m=e.onFocus,h=e.onMouseEnter,b=Ct(e,u1e),y=l.useContext(mu),S=y.min,v=y.max,x=y.direction,w=y.disabled,C=y.keyboard,E=y.range,I=y.tabIndex,T=y.ariaLabelForHandle,_=y.ariaLabelledByForHandle,R=y.ariaValueTextFormatterForHandle,$=y.styles,M=y.classNames,P="".concat(n,"-handle"),D=function(U){w||i(U,a)},O=function(U){m==null||m(U,a)},k=function(U){h(U,a)},N=function(U){if(!w&&C){var H=null;switch(U.which||U.keyCode){case Fe.LEFT:H=x==="ltr"||x==="btt"?-1:1;break;case Fe.RIGHT:H=x==="ltr"||x==="btt"?1:-1;break;case Fe.UP:H=x!=="ttb"?1:-1;break;case Fe.DOWN:H=x!=="ttb"?-1:1;break;case Fe.HOME:H="min";break;case Fe.END:H="max";break;case Fe.PAGE_UP:H=2;break;case Fe.PAGE_DOWN:H=-2;break;case Fe.BACKSPACE:case Fe.DELETE:o(a);break}H!==null&&(U.preventDefault(),p(H,a))}},A=function(U){switch(U.which||U.keyCode){case Fe.LEFT:case Fe.RIGHT:case Fe.UP:case Fe.DOWN:case Fe.HOME:case Fe.END:case Fe.PAGE_UP:case Fe.PAGE_DOWN:g==null||g();break}},L=dk(x,r,S,v),j={};if(a!==null){var F;j={tabIndex:w?null:md(I,a),role:"slider","aria-valuemin":S,"aria-valuemax":v,"aria-valuenow":r,"aria-disabled":w,"aria-label":md(T,a),"aria-labelledby":md(_,a),"aria-valuetext":(F=md(R,a))===null||F===void 0?void 0:F(r),"aria-orientation":x==="ltr"||x==="rtl"?"horizontal":"vertical",onMouseDown:D,onTouchStart:D,onFocus:O,onMouseEnter:k,onKeyDown:N,onKeyUp:A}}var B=l.createElement("div",be({ref:t,className:oe(P,V(V(V({},"".concat(P,"-").concat(a+1),a!==null&&E),"".concat(P,"-dragging"),u),"".concat(P,"-dragging-delete"),d),M.handle),style:X(X(X({},L),s),$.handle)},j,b));return c&&(B=c(B,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:d})),B}),d1e=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],f1e=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,i=e.onOffsetChange,o=e.values,s=e.handleRender,c=e.activeHandleRender,u=e.draggingIndex,d=e.draggingDelete,p=e.onFocus,g=Ct(e,d1e),m=l.useRef({}),h=l.useState(!1),b=se(h,2),y=b[0],S=b[1],v=l.useState(-1),x=se(v,2),w=x[0],C=x[1],E=function($){C($),S(!0)},I=function($,M){E(M),p==null||p($)},T=function($,M){E(M)};l.useImperativeHandle(t,function(){return{focus:function($){var M;(M=m.current[$])===null||M===void 0||M.focus()},hideHelp:function(){Zr.flushSync(function(){S(!1)})}}});var _=X({prefixCls:n,onStartMove:a,onOffsetChange:i,render:s,onFocus:I,onMouseEnter:T},g);return l.createElement(l.Fragment,null,o.map(function(R,$){var M=u===$;return l.createElement(zP,be({ref:function(D){D?m.current[$]=D:delete m.current[$]},dragging:M,draggingDelete:M&&d,style:md(r,$),key:$,value:R,valueIndex:$},_))}),c&&y&&l.createElement(zP,be({key:"a11y"},_,{value:o[w],valueIndex:null,dragging:u!==-1,draggingDelete:d,render:c,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),p1e=function(t){var n=t.prefixCls,r=t.style,a=t.children,i=t.value,o=t.onClick,s=l.useContext(mu),c=s.min,u=s.max,d=s.direction,p=s.includedStart,g=s.includedEnd,m=s.included,h="".concat(n,"-text"),b=dk(d,i,c,u);return l.createElement("span",{className:oe(h,V({},"".concat(h,"-active"),m&&p<=i&&i<=g)),style:X(X({},b),r),onMouseDown:function(S){S.stopPropagation()},onClick:function(){o(i)}},a)},g1e=function(t){var n=t.prefixCls,r=t.marks,a=t.onClick,i="".concat(n,"-mark");return r.length?l.createElement("div",{className:i},r.map(function(o){var s=o.value,c=o.style,u=o.label;return l.createElement(p1e,{key:s,prefixCls:i,style:c,value:s,onClick:a},u)})):null},m1e=function(t){var n=t.prefixCls,r=t.value,a=t.style,i=t.activeStyle,o=l.useContext(mu),s=o.min,c=o.max,u=o.direction,d=o.included,p=o.includedStart,g=o.includedEnd,m="".concat(n,"-dot"),h=d&&p<=r&&r<=g,b=X(X({},dk(u,r,s,c)),typeof a=="function"?a(r):a);return h&&(b=X(X({},b),typeof i=="function"?i(r):i)),l.createElement("span",{className:oe(m,V({},"".concat(m,"-active"),h)),style:b})},h1e=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,i=t.style,o=t.activeStyle,s=l.useContext(mu),c=s.min,u=s.max,d=s.step,p=l.useMemo(function(){var g=new Set;if(r.forEach(function(h){g.add(h.value)}),a&&d!==null)for(var m=c;m<=u;)g.add(m),m+=d;return Array.from(g)},[c,u,d,a,r]);return l.createElement("div",{className:"".concat(n,"-step")},p.map(function(g){return l.createElement(m1e,{prefixCls:n,key:g,value:g,style:i,activeStyle:o})}))},HP=function(t){var n=t.prefixCls,r=t.style,a=t.start,i=t.end,o=t.index,s=t.onStartMove,c=t.replaceCls,u=l.useContext(mu),d=u.direction,p=u.min,g=u.max,m=u.disabled,h=u.range,b=u.classNames,y="".concat(n,"-track"),S=V_(a,p,g),v=V_(i,p,g),x=function(I){!m&&s&&s(I,-1)},w={};switch(d){case"rtl":w.right="".concat(S*100,"%"),w.width="".concat(v*100-S*100,"%");break;case"btt":w.bottom="".concat(S*100,"%"),w.height="".concat(v*100-S*100,"%");break;case"ttb":w.top="".concat(S*100,"%"),w.height="".concat(v*100-S*100,"%");break;default:w.left="".concat(S*100,"%"),w.width="".concat(v*100-S*100,"%")}var C=c||oe(y,V(V({},"".concat(y,"-").concat(o+1),o!==null&&h),"".concat(n,"-track-draggable"),s),b.track);return l.createElement("div",{className:C,style:X(X({},w),r),onMouseDown:x,onTouchStart:x})},v1e=function(t){var n=t.prefixCls,r=t.style,a=t.values,i=t.startPoint,o=t.onStartMove,s=l.useContext(mu),c=s.included,u=s.range,d=s.min,p=s.styles,g=s.classNames,m=l.useMemo(function(){if(!u){if(a.length===0)return[];var b=i??d,y=a[0];return[{start:Math.min(b,y),end:Math.max(b,y)}]}for(var S=[],v=0;vb1e&&d<_.length:!1,E(J),B(Y,ke,J)},ce=function pe(te){te.preventDefault(),document.removeEventListener("mouseup",pe),document.removeEventListener("mousemove",le),N.current&&(N.current.removeEventListener("touchmove",O.current),N.current.removeEventListener("touchend",k.current)),O.current=null,k.current=null,N.current=null,s(J),v(-1),E(!1)};document.addEventListener("mouseup",ce),document.addEventListener("mousemove",le),K.currentTarget.addEventListener("touchend",ce),K.currentTarget.addEventListener("touchmove",le),O.current=le,k.current=ce,N.current=K.currentTarget},U=l.useMemo(function(){var H=Me(n).sort(function(W,q){return W-q}),K=Me(_).sort(function(W,q){return W-q}),Y={};K.forEach(function(W){Y[W]=(Y[W]||0)+1}),H.forEach(function(W){Y[W]=(Y[W]||0)-1});var ee=u?1:0,ae=Object.values(Y).reduce(function(W,q){return W+Math.abs(q)},0);return ae<=ee?_:n},[n,_,u]);return[S,m,C,U,z]}function x1e(e,t,n,r,a,i){var o=l.useCallback(function(m){return Math.max(e,Math.min(t,m))},[e,t]),s=l.useCallback(function(m){if(n!==null){var h=e+Math.round((o(m)-e)/n)*n,b=function(x){return(String(x).split(".")[1]||"").length},y=Math.max(b(n),b(t),b(e)),S=Number(h.toFixed(y));return e<=S&&S<=t?S:null}return null},[n,e,t,o]),c=l.useCallback(function(m){var h=o(m),b=r.map(function(v){return v.value});n!==null&&b.push(s(m)),b.push(e,t);var y=b[0],S=t-e;return b.forEach(function(v){var x=Math.abs(h-v);x<=S&&(y=v,S=x)}),y},[e,t,r,n,o,s]),u=function m(h,b,y){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof b=="number"){var v,x=h[y],w=x+b,C=[];r.forEach(function(R){C.push(R.value)}),C.push(e,t),C.push(s(x));var E=b>0?1:-1;S==="unit"?C.push(s(x+E*n)):C.push(s(w)),C=C.filter(function(R){return R!==null}).filter(function(R){return b<0?R<=x:R>=x}),S==="unit"&&(C=C.filter(function(R){return R!==x}));var I=S==="unit"?x:w;v=C[0];var T=Math.abs(v-I);if(C.forEach(function(R){var $=Math.abs(R-I);$1){var _=Me(h);return _[y]=v,m(_,b-E,y,S)}return v}else{if(b==="min")return e;if(b==="max")return t}},d=function(h,b,y){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",v=h[y],x=u(h,b,y,S);return{value:x,changed:x!==v}},p=function(h){return i===null&&h===0||typeof i=="number"&&h3&&arguments[3]!==void 0?arguments[3]:"unit",v=h.map(c),x=v[y],w=u(v,b,y,S);if(v[y]=w,a===!1){var C=i||0;y>0&&v[y-1]!==x&&(v[y]=Math.max(v[y],v[y-1]+C)),y0;_-=1)for(var R=!0;p(v[_]-v[_-1])&&R;){var $=d(v,-1,_-1);v[_-1]=$.value,R=$.changed}for(var M=v.length-1;M>0;M-=1)for(var P=!0;p(v[M]-v[M-1])&&P;){var D=d(v,-1,M-1);v[M-1]=D.value,P=D.changed}for(var O=0;O=0?N:!1},[N,je]),Be=l.useMemo(function(){return Object.keys(ee||{}).map(function(et){var Xe=ee[et],$t={value:Number(et)};return Xe&&mt(Xe)==="object"&&!l.isValidElement(Xe)&&("label"in Xe||"style"in Xe)?($t.style=Xe.style,$t.label=Xe.label):$t.label=Xe,$t}).filter(function(et){var Xe=et.label;return Xe||typeof Xe=="number"}).sort(function(et,Xe){return et.value-Xe.value})},[ee]),Pe=x1e($e,Le,je,Be,O,He),Se=se(Pe,2),Ne=Se[0],Te=Se[1],Ce=pn(I,{value:E}),De=se(Ce,2),Ge=De[0],lt=De[1],he=l.useMemo(function(){var et=Ge==null?[]:Array.isArray(Ge)?Ge:[Ge],Xe=se(et,1),$t=Xe[0],At=$t===void 0?$e:$t,qt=Ge===null?[]:[At];if(ue){if(qt=Me(et),_||Ge===void 0){var hn=_>=0?_+1:2;for(qt=qt.slice(0,hn);qt.length=0&&te.current.focus(et)}xt(null)},[kt]);var rt=l.useMemo(function(){return xe&&je===null?!1:xe},[xe,je]),bt=Yt(function(et,Xe){We(et,Xe),$==null||$(re(he))}),Ot=Oe!==-1;l.useEffect(function(){if(!Ot){var et=he.lastIndexOf(Re);te.current.focus(et)}},[Ot]);var ht=l.useMemo(function(){return Me(Ye).sort(function(et,Xe){return et-Xe})},[Ye]),ct=l.useMemo(function(){return ue?[ht[0],ht[ht.length-1]]:[$e,ht[0]]},[ht,ue,$e]),Et=se(ct,2),Ze=Et[0],ut=Et[1];l.useImperativeHandle(t,function(){return{focus:function(){te.current.focus(0)},blur:function(){var Xe,$t=document,At=$t.activeElement;(Xe=ie.current)!==null&&Xe!==void 0&&Xe.contains(At)&&(At==null||At.blur())}}}),l.useEffect(function(){m&&te.current.focus(0)},[]);var pt=l.useMemo(function(){return{min:$e,max:Le,direction:fe,disabled:d,keyboard:g,step:je,included:F,includedStart:Ze,includedEnd:ut,range:ue,tabIndex:J,ariaLabelForHandle:le,ariaLabelledByForHandle:ce,ariaValueTextFormatterForHandle:pe,styles:s||{},classNames:o||{}}},[$e,Le,fe,d,g,je,F,Ze,ut,ue,J,le,ce,pe,s,o]);return l.createElement(mu.Provider,{value:pt},l.createElement("div",{ref:ie,className:oe(r,a,V(V(V(V({},"".concat(r,"-disabled"),d),"".concat(r,"-vertical"),L),"".concat(r,"-horizontal"),!L),"".concat(r,"-with-marks"),Be.length)),style:i,onMouseDown:Qe,id:c},l.createElement("div",{className:oe("".concat(r,"-rail"),o==null?void 0:o.rail),style:X(X({},H),s==null?void 0:s.rail)}),Z!==!1&&l.createElement(v1e,{prefixCls:r,style:z,values:he,startPoint:B,onStartMove:rt?bt:void 0}),l.createElement(h1e,{prefixCls:r,marks:Be,dots:ae,style:K,activeStyle:Y}),l.createElement(f1e,{ref:te,prefixCls:r,style:U,values:Ye,draggingIndex:Oe,draggingDelete:at,onStartMove:bt,onOffsetChange:nt,onFocus:h,onBlur:b,handleRender:W,activeHandleRender:q,onChangeComplete:_e,onDelete:me?ze:void 0}),l.createElement(g1e,{prefixCls:r,marks:Be,onClick:qe})))});const VP=l.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=l.useRef(null),i=n&&!r,o=l.useRef(null);function s(){Gt.cancel(o.current),o.current=null}function c(){o.current=Gt(()=>{var u;(u=a.current)===null||u===void 0||u.forceAlign(),o.current=null})}return l.useEffect(()=>(i?c():s(),s),[i,e.title]),l.createElement(Ft,Object.assign({ref:ba(a,t)},e,{open:i}))}),C1e=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:i,marginPart:o,colorFillContentHover:s,handleColorDisabled:c,calc:u,handleSize:d,handleSizeHover:p,handleActiveColor:g,handleActiveOutlineColor:m,handleLineWidth:h,handleLineWidthHover:b,motionDurationMid:y}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{position:"relative",height:r,margin:`${G(o)} ${G(i)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${G(i)} ${G(o)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${y}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${y}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${G(h)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:d,height:d,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:u(h).mul(-1).equal(),insetBlockStart:u(h).mul(-1).equal(),width:u(d).add(u(h).mul(2)).equal(),height:u(d).add(u(h).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${G(h)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${y}, - inset-block-start ${y}, - width ${y}, - height ${y}, - box-shadow ${y}, - outline ${y} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(p).sub(d).div(2).add(b).mul(-1).equal(),insetBlockStart:u(p).sub(d).div(2).add(b).mul(-1).equal(),width:u(p).add(u(b).mul(2)).equal(),height:u(p).add(u(b).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${G(b)} ${g}`,outline:`6px solid ${m}`,width:p,height:p,insetInlineStart:e.calc(d).sub(p).div(2).equal(),insetBlockStart:e.calc(d).sub(p).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${G(h)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` - ${t}-dot - `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${G(h)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` - ${t}-mark-text, - ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},SK=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:i,marginFull:o,calc:s}=e,c=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",p=t?"insetBlockStart":"insetInlineStart",g=t?"top":"insetInlineStart",m=s(r).mul(3).sub(a).div(2).equal(),h=s(a).sub(r).div(2).equal(),b=t?{borderWidth:`${G(h)} 0`,transform:`translateY(${G(s(h).mul(-1).equal())})`}:{borderWidth:`0 ${G(h)}`,transform:`translateX(${G(e.calc(h).mul(-1).equal())})`};return{[c]:r,[d]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[d]:r},[`${n}-track,${n}-tracks`]:{[d]:r},[`${n}-track-draggable`]:Object.assign({},b),[`${n}-handle`]:{[p]:m},[`${n}-mark`]:{insetInlineStart:0,top:0,[g]:s(r).mul(3).add(t?0:o).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[g]:r,[u]:"100%",[d]:r},[`${n}-dot`]:{position:"absolute",[p]:s(r).sub(i).div(2).equal()}}},E1e=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},SK(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},I1e=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},SK(e,!1)),{height:"100%"})}},T1e=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,i=e.lineWidth+1*1.5,o=e.colorPrimary,s=new cn(o).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:s,handleColorDisabled:new cn(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},R1e=an("Slider",e=>{const t=zt(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[C1e(t),E1e(t),I1e(t)]},T1e),_1e=l.createContext({});function w1(){const[e,t]=l.useState(!1),n=l.useRef(),r=()=>{Gt.cancel(n.current)},a=i=>{r(),i?t(i):n.current=Gt(()=>{t(i)})};return l.useEffect(()=>r,[]),[e,a]}var $1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);atypeof n=="number"?n.toString():""}const N1e=de.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:i,style:o,disabled:s,tooltipPrefixCls:c,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:p,tooltipPlacement:g,tooltip:m={},onChangeComplete:h}=e,b=$1e(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:y}=e,{direction:S,slider:v,getPrefixCls:x,getPopupContainer:w}=de.useContext(st),C=de.useContext(ha),E=s??C,{handleRender:I,direction:T}=de.useContext(_1e),R=(T||S)==="rtl",[$,M]=w1(),[P,D]=w1(),O=Object.assign({},m),{open:k,placement:N,getPopupContainer:A,prefixCls:L,formatter:j}=O,F=k??d,B=($||P)&&F!==!1,z=O1e(j,u),[U,H]=w1(),K=pe=>{h==null||h(pe),H(!1)},Y=(pe,te)=>pe||(te?R?"left":"right":"top"),ee=x("slider",n),[ae,W,q]=R1e(ee),Z=oe(a,v==null?void 0:v.className,i,{[`${ee}-rtl`]:R,[`${ee}-lock`]:U},W,q);R&&!b.vertical&&(b.reverse=!b.reverse),de.useEffect(()=>{const pe=()=>{Gt(()=>{D(!1)},1)};return document.addEventListener("mouseup",pe),()=>{document.removeEventListener("mouseup",pe)}},[]);const Q=r&&!F,J=I||((pe,te)=>{const{index:ie}=te,fe=pe.props;function ge(xe,Ie,ke){var $e,Le,je,He;ke&&((Le=($e=b)[xe])===null||Le===void 0||Le.call($e,Ie)),(He=(je=fe)[xe])===null||He===void 0||He.call(je,Ie)}const ne=Object.assign(Object.assign({},fe),{onMouseEnter:xe=>{M(!0),ge("onMouseEnter",xe)},onMouseLeave:xe=>{M(!1),ge("onMouseLeave",xe)},onMouseDown:xe=>{D(!0),H(!0),ge("onMouseDown",xe)},onFocus:xe=>{var Ie;D(!0),(Ie=b.onFocus)===null||Ie===void 0||Ie.call(b,xe),ge("onFocus",xe,!0)},onBlur:xe=>{var Ie;D(!1),(Ie=b.onBlur)===null||Ie===void 0||Ie.call(b,xe),ge("onBlur",xe,!0)}}),ue=de.cloneElement(pe,ne),me=(!!F||B)&&z!==null;return Q?ue:de.createElement(VP,Object.assign({},O,{prefixCls:x("tooltip",L??c),title:z?z(te.value):"",open:me,placement:Y(N??g,y),key:ie,overlayClassName:`${ee}-tooltip`,getPopupContainer:A||p||w}),ue)}),le=Q?(pe,te)=>{const ie=de.cloneElement(pe,{style:Object.assign(Object.assign({},pe.props.style),{visibility:"hidden"})});return de.createElement(VP,Object.assign({},O,{prefixCls:x("tooltip",L??c),title:z?z(te.value):"",open:z!==null&&B,placement:Y(N??g,y),key:"tooltip",overlayClassName:`${ee}-tooltip`,getPopupContainer:A||p||w,draggingDelete:te.draggingDelete}),ie)}:void 0,ce=Object.assign(Object.assign({},v==null?void 0:v.style),o);return ae(de.createElement(w1e,Object.assign({},b,{step:b.step,range:r,className:Z,style:ce,disabled:E,ref:t,prefixCls:ee,handleRender:J,activeHandleRender:le,onChangeComplete:K})))});var k1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},A1e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:k1e}))},wK=l.forwardRef(A1e),D1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},M1e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:D1e}))},CK=l.forwardRef(M1e),P1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},L1e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:P1e}))},j1e=l.forwardRef(L1e);function F1e(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function B1e(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function fk(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function EK(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=MN(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[l.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[z1e,H1e]=["week","WeekPicker"],[U1e,V1e]=["month","MonthPicker"],[W1e,G1e]=["year","YearPicker"],[q1e,K1e]=["quarter","QuarterPicker"],[IK,WP]=["time","TimePicker"],Y1e=e=>l.createElement(tt,Object.assign({size:"small",type:"primary"},e));function TK(e){return l.useMemo(()=>Object.assign({button:Y1e},e),[e])}var X1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((n,r)=>{var a;const{prefixCls:i,getPopupContainer:o,components:s,className:c,style:u,placement:d,size:p,disabled:g,bordered:m=!0,placeholder:h,popupClassName:b,dropdownClassName:y,status:S,rootClassName:v,variant:x,picker:w}=n,C=X1e(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),E=l.useRef(null),{getPrefixCls:I,direction:T,getPopupContainer:_,rangePicker:R}=l.useContext(st),$=I("picker",i),{compactSize:M,compactItemClassnames:P}=Ws($,T),D=I(),[O,k]=du("rangePicker",x,m),N=ir($),[A,L,j]=Jq($,N),[F]=EK(n,$),B=TK(s),z=zr(J=>{var le;return(le=p??M)!==null&&le!==void 0?le:J}),U=l.useContext(ha),H=g??U,K=l.useContext(aa),{hasFeedback:Y,status:ee,feedbackIcon:ae}=K,W=l.createElement(l.Fragment,null,w===IK?l.createElement(CK,null):l.createElement(wK,null),Y&&ae);l.useImperativeHandle(r,()=>E.current);const[q]=us("Calendar",e0),Z=Object.assign(Object.assign({},q),n.locale),[Q]=Ho("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return A(l.createElement(ls,{space:!0},l.createElement(K0e,Object.assign({separator:l.createElement("span",{"aria-label":"to",className:`${$}-separator`},l.createElement(j1e,null)),disabled:H,ref:E,popupAlign:fk(T,d),placement:d,placeholder:B1e(Z,w,h),suffixIcon:W,prevIcon:l.createElement("span",{className:`${$}-prev-icon`}),nextIcon:l.createElement("span",{className:`${$}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${$}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${$}-super-next-icon`}),transitionName:`${D}-slide-up`,picker:w},C,{className:oe({[`${$}-${z}`]:z,[`${$}-${O}`]:k},Fs($,ec(ee,S),Y),L,P,c,R==null?void 0:R.className,j,N,v),style:Object.assign(Object.assign({},R==null?void 0:R.style),u),locale:Z.lang,prefixCls:$,getPopupContainer:o||_,generateConfig:e,components:B,direction:T,classNames:{popup:oe(L,b||y,j,N,v)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:Q})},allowClear:F}))))});var Q1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const t=(c,u)=>{const d=u===WP?"timePicker":"datePicker";return l.forwardRef((g,m)=>{var h;const{prefixCls:b,getPopupContainer:y,components:S,style:v,className:x,rootClassName:w,size:C,bordered:E,placement:I,placeholder:T,popupClassName:_,dropdownClassName:R,disabled:$,status:M,variant:P,onCalendarChange:D}=g,O=Q1e(g,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:k,direction:N,getPopupContainer:A,[d]:L}=l.useContext(st),j=k("picker",b),{compactSize:F,compactItemClassnames:B}=Ws(j,N),z=l.useRef(null),[U,H]=du("datePicker",P,E),K=ir(j),[Y,ee,ae]=Jq(j,K);l.useImperativeHandle(m,()=>z.current);const W={showToday:!0},q=c||g.picker,Z=k(),{onSelect:Q,multiple:J}=O,le=Q&&c==="time"&&!J,ce=(He,Be,Pe)=>{D==null||D(He,Be,Pe),le&&Q(He)},[pe,te]=EK(g,j),ie=TK(S),fe=zr(He=>{var Be;return(Be=C??F)!==null&&Be!==void 0?Be:He}),ge=l.useContext(ha),ne=$??ge,ue=l.useContext(aa),{hasFeedback:me,status:xe,feedbackIcon:Ie}=ue,ke=l.createElement(l.Fragment,null,q==="time"?l.createElement(CK,null):l.createElement(wK,null),me&&Ie),[$e]=us("DatePicker",e0),Le=Object.assign(Object.assign({},$e),g.locale),[je]=Ho("DatePicker",(h=g.popupStyle)===null||h===void 0?void 0:h.zIndex);return Y(l.createElement(ls,{space:!0},l.createElement(eye,Object.assign({ref:z,placeholder:F1e(Le,q,T),suffixIcon:ke,dropdownAlign:fk(N,I),placement:I,prevIcon:l.createElement("span",{className:`${j}-prev-icon`}),nextIcon:l.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${Z}-slide-up`,picker:c,onCalendarChange:ce},W,O,{locale:Le.lang,className:oe({[`${j}-${fe}`]:fe,[`${j}-${U}`]:H},Fs(j,ec(xe,M),me),ee,B,L==null?void 0:L.className,x,ae,K,w),style:Object.assign(Object.assign({},L==null?void 0:L.style),v),prefixCls:j,getPopupContainer:y||A,generateConfig:e,components:ie,direction:N,disabled:ne,classNames:{popup:oe(ee,ae,K,w,_||R)},styles:{popup:Object.assign(Object.assign({},g.popupStyle),{zIndex:je})},allowClear:pe,removeIcon:te}))))})},n=t(),r=t(z1e,H1e),a=t(U1e,V1e),i=t(W1e,G1e),o=t(q1e,K1e),s=t(IK,WP);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:i,TimePicker:s,QuarterPicker:o}},RK=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:i,QuarterPicker:o}=J1e(e),s=Z1e(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=a,c.RangePicker=s,c.TimePicker=i,c.QuarterPicker=o,c},Df=RK(a0e);function _K(e){const t=fk(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const ewe=Fm(Df,"picker",null,_K);Df._InternalPanelDoNotUseOrYouWillBeFired=ewe;const twe=Fm(Df.RangePicker,"picker",null,_K);Df._InternalRangePanelDoNotUseOrYouWillBeFired=twe;Df.generatePicker=RK;var GP=l.createContext(null),$K=l.createContext({}),nwe=["prefixCls","className","containerRef"],rwe=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,i=Ct(t,nwe),o=l.useContext($K),s=o.panel,c=Vs(s,a);return l.createElement("div",be({className:oe("".concat(n,"-content"),r),role:"dialog",ref:c},fr(t,{aria:!0}),{"aria-modal":"true"},i))};function qP(e){return typeof e=="string"&&String(Number(e))===e?($n(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var KP={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function awe(e,t){var n,r,a,i=e.prefixCls,o=e.open,s=e.placement,c=e.inline,u=e.push,d=e.forceRender,p=e.autoFocus,g=e.keyboard,m=e.classNames,h=e.rootClassName,b=e.rootStyle,y=e.zIndex,S=e.className,v=e.id,x=e.style,w=e.motion,C=e.width,E=e.height,I=e.children,T=e.mask,_=e.maskClosable,R=e.maskMotion,$=e.maskClassName,M=e.maskStyle,P=e.afterOpenChange,D=e.onClose,O=e.onMouseEnter,k=e.onMouseOver,N=e.onMouseLeave,A=e.onClick,L=e.onKeyDown,j=e.onKeyUp,F=e.styles,B=e.drawerRender,z=l.useRef(),U=l.useRef(),H=l.useRef();l.useImperativeHandle(t,function(){return z.current});var K=function(ne){var ue=ne.keyCode,me=ne.shiftKey;switch(ue){case Fe.TAB:{if(ue===Fe.TAB){if(!me&&document.activeElement===H.current){var xe;(xe=U.current)===null||xe===void 0||xe.focus({preventScroll:!0})}else if(me&&document.activeElement===U.current){var Ie;(Ie=H.current)===null||Ie===void 0||Ie.focus({preventScroll:!0})}}break}case Fe.ESC:{D&&g&&(ne.stopPropagation(),D(ne));break}}};l.useEffect(function(){if(o&&p){var ge;(ge=z.current)===null||ge===void 0||ge.focus({preventScroll:!0})}},[o]);var Y=l.useState(!1),ee=se(Y,2),ae=ee[0],W=ee[1],q=l.useContext(GP),Z;typeof u=="boolean"?Z=u?{}:{distance:0}:Z=u||{};var Q=(n=(r=(a=Z)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:q==null?void 0:q.pushDistance)!==null&&n!==void 0?n:180,J=l.useMemo(function(){return{pushDistance:Q,push:function(){W(!0)},pull:function(){W(!1)}}},[Q]);l.useEffect(function(){if(o){var ge;q==null||(ge=q.push)===null||ge===void 0||ge.call(q)}else{var ne;q==null||(ne=q.pull)===null||ne===void 0||ne.call(q)}},[o]),l.useEffect(function(){return function(){var ge;q==null||(ge=q.pull)===null||ge===void 0||ge.call(q)}},[]);var le=T&&l.createElement(na,be({key:"mask"},R,{visible:o}),function(ge,ne){var ue=ge.className,me=ge.style;return l.createElement("div",{className:oe("".concat(i,"-mask"),ue,m==null?void 0:m.mask,$),style:X(X(X({},me),M),F==null?void 0:F.mask),onClick:_&&o?D:void 0,ref:ne})}),ce=typeof w=="function"?w(s):w,pe={};if(ae&&Q)switch(s){case"top":pe.transform="translateY(".concat(Q,"px)");break;case"bottom":pe.transform="translateY(".concat(-Q,"px)");break;case"left":pe.transform="translateX(".concat(Q,"px)");break;default:pe.transform="translateX(".concat(-Q,"px)");break}s==="left"||s==="right"?pe.width=qP(C):pe.height=qP(E);var te={onMouseEnter:O,onMouseOver:k,onMouseLeave:N,onClick:A,onKeyDown:L,onKeyUp:j},ie=l.createElement(na,be({key:"panel"},ce,{visible:o,forceRender:d,onVisibleChanged:function(ne){P==null||P(ne)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(ge,ne){var ue=ge.className,me=ge.style,xe=l.createElement(rwe,be({id:v,containerRef:ne,prefixCls:i,className:oe(S,m==null?void 0:m.content),style:X(X({},x),F==null?void 0:F.content)},fr(e,{aria:!0}),te),I);return l.createElement("div",be({className:oe("".concat(i,"-content-wrapper"),m==null?void 0:m.wrapper,ue),style:X(X(X({},pe),me),F==null?void 0:F.wrapper)},fr(e,{data:!0})),B?B(xe):xe)}),fe=X({},b);return y&&(fe.zIndex=y),l.createElement(GP.Provider,{value:J},l.createElement("div",{className:oe(i,"".concat(i,"-").concat(s),h,V(V({},"".concat(i,"-open"),o),"".concat(i,"-inline"),c)),style:fe,tabIndex:-1,ref:z,onKeyDown:K},le,l.createElement("div",{tabIndex:0,ref:U,style:KP,"aria-hidden":"true","data-sentinel":"start"}),ie,l.createElement("div",{tabIndex:0,ref:H,style:KP,"aria-hidden":"true","data-sentinel":"end"})))}var iwe=l.forwardRef(awe),owe=function(t){var n=t.open,r=n===void 0?!1:n,a=t.prefixCls,i=a===void 0?"rc-drawer":a,o=t.placement,s=o===void 0?"right":o,c=t.autoFocus,u=c===void 0?!0:c,d=t.keyboard,p=d===void 0?!0:d,g=t.width,m=g===void 0?378:g,h=t.mask,b=h===void 0?!0:h,y=t.maskClosable,S=y===void 0?!0:y,v=t.getContainer,x=t.forceRender,w=t.afterOpenChange,C=t.destroyOnClose,E=t.onMouseEnter,I=t.onMouseOver,T=t.onMouseLeave,_=t.onClick,R=t.onKeyDown,$=t.onKeyUp,M=t.panelRef,P=l.useState(!1),D=se(P,2),O=D[0],k=D[1],N=l.useState(!1),A=se(N,2),L=A[0],j=A[1];Zt(function(){j(!0)},[]);var F=L?r:!1,B=l.useRef(),z=l.useRef();Zt(function(){F&&(z.current=document.activeElement)},[F]);var U=function(ae){var W;if(k(ae),w==null||w(ae),!ae&&z.current&&!((W=B.current)!==null&&W!==void 0&&W.contains(z.current))){var q;(q=z.current)===null||q===void 0||q.focus({preventScroll:!0})}},H=l.useMemo(function(){return{panel:M}},[M]);if(!x&&!O&&!F&&C)return null;var K={onMouseEnter:E,onMouseOver:I,onMouseLeave:T,onClick:_,onKeyDown:R,onKeyUp:$},Y=X(X({},t),{},{open:F,prefixCls:i,placement:s,autoFocus:u,keyboard:p,width:m,mask:b,maskClosable:S,inline:v===!1,afterOpenChange:U,ref:B},K);return l.createElement($K.Provider,{value:H},l.createElement(Pm,{open:F||x||O,autoDestroy:!1,getContainer:v,autoLock:b&&(F||O)},l.createElement(iwe,Y)))};const OK=e=>{var t,n;const{prefixCls:r,title:a,footer:i,extra:o,loading:s,onClose:c,headerStyle:u,bodyStyle:d,footerStyle:p,children:g,classNames:m,styles:h}=e,{drawer:b}=l.useContext(st),y=l.useCallback(C=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${r}-close`},C),[c]),[S,v]=$N(Jd(e),Jd(b),{closable:!0,closeIconRender:y}),x=l.useMemo(()=>{var C,E;return!a&&!S?null:l.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=b==null?void 0:b.styles)===null||C===void 0?void 0:C.header),u),h==null?void 0:h.header),className:oe(`${r}-header`,{[`${r}-header-close-only`]:S&&!a&&!o},(E=b==null?void 0:b.classNames)===null||E===void 0?void 0:E.header,m==null?void 0:m.header)},l.createElement("div",{className:`${r}-header-title`},v,a&&l.createElement("div",{className:`${r}-title`},a)),o&&l.createElement("div",{className:`${r}-extra`},o))},[S,v,o,u,r,a]),w=l.useMemo(()=>{var C,E;if(!i)return null;const I=`${r}-footer`;return l.createElement("div",{className:oe(I,(C=b==null?void 0:b.classNames)===null||C===void 0?void 0:C.footer,m==null?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},(E=b==null?void 0:b.styles)===null||E===void 0?void 0:E.footer),p),h==null?void 0:h.footer)},i)},[i,p,r]);return l.createElement(l.Fragment,null,x,l.createElement("div",{className:oe(`${r}-body`,m==null?void 0:m.body,(t=b==null?void 0:b.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=b==null?void 0:b.styles)===null||n===void 0?void 0:n.body),d),h==null?void 0:h.body)},s?l.createElement(Jl,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):g),w)},swe=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},NK=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),kK=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},NK({opacity:e},{opacity:1})),lwe=(e,t)=>[kK(.7,t),NK({transform:swe(e)},{transform:"none"})],cwe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:kK(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:lwe(a,n)}),{})}}},uwe=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:c,padding:u,paddingLG:d,fontSizeLG:p,lineHeightLG:g,lineWidth:m,lineType:h,colorSplit:b,marginXS:y,colorIcon:S,colorIconHover:v,colorBgTextHover:x,colorBgTextActive:w,colorText:C,fontWeightStrong:E,footerPaddingBlock:I,footerPaddingInline:T,calc:_}=e,R=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[R]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${R}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${R}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${R}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${R}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${G(u)} ${G(d)}`,fontSize:p,lineHeight:g,borderBottom:`${G(m)} ${h} ${b}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(p).add(c).equal(),height:_(p).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:y,color:S,fontWeight:E,fontSize:p,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:v,backgroundColor:x,textDecoration:"none"},"&:active":{backgroundColor:w}},co(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:p,lineHeight:g},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${G(I)} ${G(T)}`,borderTop:`${G(m)} ${h} ${b}`},"&-rtl":{direction:"rtl"}}}},dwe=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),AK=an("Drawer",e=>{const t=zt(e,{});return[uwe(t),cwe(t)]},dwe);var DK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{rootClassName:t,width:n,height:r,size:a="default",mask:i=!0,push:o=fwe,open:s,afterOpenChange:c,onClose:u,prefixCls:d,getContainer:p,style:g,className:m,visible:h,afterVisibleChange:b,maskStyle:y,drawerStyle:S,contentWrapperStyle:v}=e,x=DK(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:w,getPrefixCls:C,direction:E,drawer:I}=l.useContext(st),T=C("drawer",d),[_,R,$]=AK(T),M=p===void 0&&w?()=>w(document.body):p,P=oe({"no-mask":!i,[`${T}-rtl`]:E==="rtl"},t,R,$),D=l.useMemo(()=>n??(a==="large"?736:378),[n,a]),O=l.useMemo(()=>r??(a==="large"?736:378),[r,a]),k={motionName:za(T,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},N=H=>({motionName:za(T,`panel-motion-${H}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),A=OW(),[L,j]=Ho("Drawer",x.zIndex),{classNames:F={},styles:B={}}=x,{classNames:z={},styles:U={}}=I||{};return _(l.createElement(ls,{form:!0,space:!0},l.createElement(Om.Provider,{value:j},l.createElement(owe,Object.assign({prefixCls:T,onClose:u,maskMotion:k,motion:N},x,{classNames:{mask:oe(F.mask,z.mask),content:oe(F.content,z.content),wrapper:oe(F.wrapper,z.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},B.mask),y),U.mask),content:Object.assign(Object.assign(Object.assign({},B.content),S),U.content),wrapper:Object.assign(Object.assign(Object.assign({},B.wrapper),v),U.wrapper)},open:s??h,mask:i,push:o,width:D,height:O,style:Object.assign(Object.assign({},I==null?void 0:I.style),g),className:oe(I==null?void 0:I.className,m),rootClassName:P,getContainer:M,afterOpenChange:c??b,panelRef:A,zIndex:L}),l.createElement(OK,Object.assign({prefixCls:T},x,{onClose:u}))))))},pwe=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,i=DK(e,["prefixCls","style","className","placement"]),{getPrefixCls:o}=l.useContext(st),s=o("drawer",t),[c,u,d]=AK(s),p=oe(s,`${s}-pure`,`${s}-${a}`,u,d,r);return c(l.createElement("div",{className:p,style:n},l.createElement(OK,Object.assign({prefixCls:s},i))))};W_._InternalPanelDoNotUseOrYouWillBeFired=pwe;function p0(e){return["small","middle","large"].includes(e)}function YP(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const MK=de.createContext({latestIndex:0}),gwe=MK.Provider,mwe=e=>{let{className:t,index:n,children:r,split:a,style:i}=e;const{latestIndex:o}=l.useContext(MK);return r==null?null:l.createElement(l.Fragment,null,l.createElement("div",{className:t,style:i},r),n{var n,r,a;const{getPrefixCls:i,space:o,direction:s}=l.useContext(st),{size:c=(n=o==null?void 0:o.size)!==null&&n!==void 0?n:"small",align:u,className:d,rootClassName:p,children:g,direction:m="horizontal",prefixCls:h,split:b,style:y,wrap:S=!1,classNames:v,styles:x}=e,w=hwe(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,E]=Array.isArray(c)?c:[c,c],I=p0(E),T=p0(C),_=YP(E),R=YP(C),$=Nr(g,{keepEmpty:!0}),M=u===void 0&&m==="horizontal"?"center":u,P=i("space",h),[D,O,k]=tW(P),N=oe(P,o==null?void 0:o.className,O,`${P}-${m}`,{[`${P}-rtl`]:s==="rtl",[`${P}-align-${M}`]:M,[`${P}-gap-row-${E}`]:I,[`${P}-gap-col-${C}`]:T},d,p,k),A=oe(`${P}-item`,(r=v==null?void 0:v.item)!==null&&r!==void 0?r:(a=o==null?void 0:o.classNames)===null||a===void 0?void 0:a.item);let L=0;const j=$.map((z,U)=>{var H,K;z!=null&&(L=U);const Y=(z==null?void 0:z.key)||`${A}-${U}`;return l.createElement(mwe,{className:A,key:Y,index:U,split:b,style:(H=x==null?void 0:x.item)!==null&&H!==void 0?H:(K=o==null?void 0:o.styles)===null||K===void 0?void 0:K.item},z)}),F=l.useMemo(()=>({latestIndex:L}),[L]);if($.length===0)return null;const B={};return S&&(B.flexWrap="wrap"),!T&&R&&(B.columnGap=C),!I&&_&&(B.rowGap=E),D(l.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},B),o==null?void 0:o.style),y)},w),l.createElement(gwe,{value:F},j)))}),qa=vwe;qa.Compact=Mue;var bwe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPopupContainer:t,getPrefixCls:n,direction:r}=l.useContext(st),{prefixCls:a,type:i="default",danger:o,disabled:s,loading:c,onClick:u,htmlType:d,children:p,className:g,menu:m,arrow:h,autoFocus:b,overlay:y,trigger:S,align:v,open:x,onOpenChange:w,placement:C,getPopupContainer:E,href:I,icon:T=l.createElement(qN,null),title:_,buttonsRender:R=ee=>ee,mouseEnterDelay:$,mouseLeaveDelay:M,overlayClassName:P,overlayStyle:D,destroyPopupOnHide:O,dropdownRender:k}=e,N=bwe(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),A=n("dropdown",a),L=`${A}-button`,j={menu:m,arrow:h,autoFocus:b,align:v,disabled:s,trigger:s?[]:S,onOpenChange:w,getPopupContainer:E||t,mouseEnterDelay:$,mouseLeaveDelay:M,overlayClassName:P,overlayStyle:D,destroyPopupOnHide:O,dropdownRender:k},{compactSize:F,compactItemClassnames:B}=Ws(A,r),z=oe(L,B,g);"overlay"in e&&(j.overlay=y),"open"in e&&(j.open=x),"placement"in e?j.placement=C:j.placement=r==="rtl"?"bottomLeft":"bottomRight";const U=l.createElement(tt,{type:i,danger:o,disabled:s,loading:c,onClick:u,htmlType:d,href:I,title:_},p),H=l.createElement(tt,{type:i,danger:o,icon:T}),[K,Y]=R([U,H]);return l.createElement(qa.Compact,Object.assign({className:z,size:F,block:!0},N),K,l.createElement(Vm,Object.assign({},j),Y))};PK.__ANT_BUTTON=!0;const lx=Vm;lx.Button=PK;const LK=["wrap","nowrap","wrap-reverse"],jK=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],FK=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],ywe=(e,t)=>{const n=t.wrap===!0?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&LK.includes(n)}},xwe=(e,t)=>{const n={};return FK.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},Swe=(e,t)=>{const n={};return jK.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function wwe(e,t){return oe(Object.assign(Object.assign(Object.assign({},ywe(e,t)),xwe(e,t)),Swe(e,t)))}const Cwe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Ewe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},Iwe=e=>{const{componentCls:t}=e,n={};return LK.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},Twe=e=>{const{componentCls:t}=e,n={};return FK.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},Rwe=e=>{const{componentCls:t}=e,n={};return jK.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},_we=()=>({}),$we=an("Flex",e=>{const{paddingXS:t,padding:n,paddingLG:r}=e,a=zt(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[Cwe(a),Ewe(a),Iwe(a),Twe(a),Rwe(a)]},_we,{resetStyle:!1});var Owe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,rootClassName:r,className:a,style:i,flex:o,gap:s,children:c,vertical:u=!1,component:d="div"}=e,p=Owe(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:g,direction:m,getPrefixCls:h}=de.useContext(st),b=h("flex",n),[y,S,v]=$we(b),x=u??(g==null?void 0:g.vertical),w=oe(a,r,g==null?void 0:g.className,b,S,v,wwe(b,e),{[`${b}-rtl`]:m==="rtl",[`${b}-gap-${s}`]:p0(s),[`${b}-vertical`]:x}),C=Object.assign(Object.assign({},g==null?void 0:g.style),i);return o&&(C.flex=o),s&&!p0(s)&&(C.gap=s),y(de.createElement(d,Object.assign({ref:t,className:w,style:C},Dn(p,["justify","wrap","align"])),c))});var kwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Awe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:kwe}))},Dwe=l.forwardRef(Awe);function g0(e){const[t,n]=l.useState(e);return l.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const Mwe=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, - opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},Pwe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${G(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),XP=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},Lwe=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},ln(e)),Pwe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},XP(e,e.controlHeightSM)),"&-large":Object.assign({},XP(e,e.controlHeightLG))})}},jwe=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a,antCls:i,labelRequiredMarkColor:o,labelColor:s,labelFontSize:c,labelHeight:u,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:p,itemMarginBottom:g}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{marginBottom:g,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:u,color:s,fontSize:c,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:d,marginInlineEnd:p},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:vN,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},ZP=(e,t)=>{const{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},Fwe=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},_o=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),BK=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:_o(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Bwe=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, - ${r}-col-24${n}-label, - ${r}-col-xl-24${n}-label`]:_o(e)}},[`@media (max-width: ${G(e.screenXSMax)})`]:[BK(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:_o(e)}}}],[`@media (max-width: ${G(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:_o(e)}}},[`@media (max-width: ${G(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:_o(e)}}},[`@media (max-width: ${G(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:_o(e)}}}}},zwe=e=>{const{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, - ${n}-col-24${t}-label, - ${n}-col-xl-24${t}-label`]:_o(e),[`@media (max-width: ${G(e.screenXSMax)})`]:[BK(e),{[t]:{[`${n}-col-xs-24${t}-label`]:_o(e)}}],[`@media (max-width: ${G(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:_o(e)}},[`@media (max-width: ${G(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:_o(e)}},[`@media (max-width: ${G(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:_o(e)}}}},Hwe=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),zK=(e,t)=>zt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),pk=an("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=zK(e,n);return[Lwe(r),jwe(r),Mwe(r),ZP(r,r.componentCls),ZP(r,r.formItemCls),Fwe(r),Bwe(r),zwe(r),Am(r),vN]},Hwe,{order:-1e3}),QP=[];function C1(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const HK=e=>{let{help:t,helpStatus:n,errors:r=QP,warnings:a=QP,className:i,fieldId:o,onVisibleChanged:s}=e;const{prefixCls:c}=l.useContext(_N),u=`${c}-item-explain`,d=ir(c),[p,g,m]=pk(c,d),h=l.useMemo(()=>Xd(c),[c]),b=g0(r),y=g0(a),S=l.useMemo(()=>t!=null?[C1(t,"help",n)]:[].concat(Me(b.map((x,w)=>C1(x,"error","error",w))),Me(y.map((x,w)=>C1(x,"warning","warning",w)))),[t,n,b,y]),v={};return o&&(v.id=`${o}_help`),p(l.createElement(na,{motionDeadline:h.motionDeadline,motionName:`${c}-show-help`,visible:!!S.length,onVisibleChanged:s},x=>{const{className:w,style:C}=x;return l.createElement("div",Object.assign({},v,{className:oe(u,w,m,d,i,g),style:C,role:"alert"}),l.createElement(fN,Object.assign({keys:S},Xd(c),{motionName:`${c}-show-help-item`,component:!1}),E=>{const{key:I,error:T,errorStatus:_,className:R,style:$}=E;return l.createElement("div",{key:I,className:oe(R,{[`${u}-${_}`]:_}),style:$},T)}))}))},Uwe=["parentNode"],Vwe="form_item";function ag(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function UK(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:Uwe.includes(n)?`${Vwe}_${n}`:n}function VK(e,t,n,r,a,i){let o=r;return i!==void 0?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||a&&n.validated)&&(o="success"),o}function JP(e){return ag(e).join("_")}function Wwe(e,t){const n=t.getFieldInstance(e),r=YO(n);if(r)return r;const a=UK(ag(e),t.__INTERNAL__.name);if(a)return document.getElementById(a)}function WK(e){const[t]=RN(),n=l.useRef({}),r=l.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>i=>{const o=JP(a);i?n.current[o]=i:delete n.current[o]}},scrollToField:function(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=Wwe(a,r);o&&Xce(o,Object.assign({scrollMode:"if-needed",block:"nearest"},i))},getFieldInstance:a=>{const i=JP(a);return n.current[i]}}),[e,t]);return[r]}var Gwe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(ha),{getPrefixCls:r,direction:a,form:i}=l.useContext(st),{prefixCls:o,className:s,rootClassName:c,size:u,disabled:d=n,form:p,colon:g,labelAlign:m,labelWrap:h,labelCol:b,wrapperCol:y,hideRequiredMark:S,layout:v="horizontal",scrollToFirstError:x,requiredMark:w,onFinishFailed:C,name:E,style:I,feedbackIcons:T,variant:_}=e,R=Gwe(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),$=zr(u),M=l.useContext(pV),P=l.useMemo(()=>w!==void 0?w:S?!1:i&&i.requiredMark!==void 0?i.requiredMark:!0,[S,w,i]),D=g??(i==null?void 0:i.colon),O=r("form",o),k=ir(O),[N,A,L]=pk(O,k),j=oe(O,`${O}-${v}`,{[`${O}-hide-required-mark`]:P===!1,[`${O}-rtl`]:a==="rtl",[`${O}-${$}`]:$},L,k,A,i==null?void 0:i.className,s,c),[F]=WK(p),{__INTERNAL__:B}=F;B.name=E;const z=l.useMemo(()=>({name:E,labelAlign:m,labelCol:b,labelWrap:h,wrapperCol:y,vertical:v==="vertical",colon:D,requiredMark:P,itemRef:B.itemRef,form:F,feedbackIcons:T}),[E,m,b,y,v,D,P,F,T]),U=l.useRef(null);l.useImperativeHandle(t,()=>{var Y;return Object.assign(Object.assign({},F),{nativeElement:(Y=U.current)===null||Y===void 0?void 0:Y.nativeElement})});const H=(Y,ee)=>{if(Y){let ae={block:"nearest"};typeof Y=="object"&&(ae=Y),F.scrollToField(ee,ae)}},K=Y=>{if(C==null||C(Y),Y.errorFields.length){const ee=Y.errorFields[0].name;if(x!==void 0){H(x,ee);return}i&&i.scrollToFirstError!==void 0&&H(i.scrollToFirstError,ee)}};return N(l.createElement(_W.Provider,{value:_},l.createElement(lN,{disabled:d},l.createElement(Yc.Provider,{value:$},l.createElement(RW,{validateMessages:M},l.createElement(js.Provider,{value:z},l.createElement(Rf,Object.assign({id:E},R,{name:E,onFinishFailed:K,form:F,ref:U,style:Object.assign(Object.assign({},i==null?void 0:i.style),I),className:j}))))))))},Kwe=l.forwardRef(qwe);function Ywe(e){if(typeof e=="function")return e;const t=Nr(e);return t.length<=1?t[0]:t}const GK=()=>{const{status:e,errors:t=[],warnings:n=[]}=l.useContext(aa);return{status:e,errors:t,warnings:n}};GK.Context=aa;function Xwe(e){const[t,n]=l.useState(e),r=l.useRef(null),a=l.useRef([]),i=l.useRef(!1);l.useEffect(()=>(i.current=!1,()=>{i.current=!0,Gt.cancel(r.current),r.current=null}),[]);function o(s){i.current||(r.current===null&&(a.current=[],r.current=Gt(()=>{r.current=null,n(c=>{let u=c;return a.current.forEach(d=>{u=d(u)}),u})})),a.current.push(s))}return[t,o]}function Zwe(){const{itemRef:e}=l.useContext(js),t=l.useRef({});function n(r,a){const i=a&&typeof a=="object"&&a.ref,o=r.join("_");return(t.current.name!==o||t.current.originRef!==i)&&(t.current.name=o,t.current.originRef=i,t.current.ref=ba(e(r),i)),t.current.ref}return n}const Qwe=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},Jwe=uu(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=zK(e,n);return[Qwe(r)]}),eCe=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:a,errors:i,warnings:o,_internalItemRender:s,extra:c,help:u,fieldId:d,marginBottom:p,onErrorVisibleChanged:g}=e,m=`${t}-item`,h=l.useContext(js),b=r||h.wrapperCol||{},y=oe(`${m}-control`,b.className),S=l.useMemo(()=>Object.assign({},h),[h]);delete S.labelCol,delete S.wrapperCol;const v=l.createElement("div",{className:`${m}-control-input`},l.createElement("div",{className:`${m}-control-input-content`},a)),x=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),w=p!==null||i.length||o.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(_N.Provider,{value:x},l.createElement(HK,{fieldId:d,errors:i,warnings:o,help:u,helpStatus:n,className:`${m}-explain-connected`,onVisibleChanged:g})),!!p&&l.createElement("div",{style:{width:0,height:p}})):null,C={};d&&(C.id=`${d}_extra`);const E=c?l.createElement("div",Object.assign({},C,{className:`${m}-extra`}),c):null,I=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:v,errorList:w,extra:E}):l.createElement(l.Fragment,null,v,w,E);return l.createElement(js.Provider,{value:S},l.createElement(En,Object.assign({},b,{className:y}),I),l.createElement(Jwe,{prefixCls:t}))};var tCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},nCe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:tCe}))},Jg=l.forwardRef(nCe),rCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,label:n,htmlFor:r,labelCol:a,labelAlign:i,colon:o,required:s,requiredMark:c,tooltip:u,vertical:d}=e;var p;const[g]=us("Form"),{labelAlign:m,labelCol:h,labelWrap:b,colon:y}=l.useContext(js);if(!n)return null;const S=a||h||{},v=i||m,x=`${t}-item-label`,w=oe(x,v==="left"&&`${x}-left`,S.className,{[`${x}-wrap`]:!!b});let C=n;const E=o===!0||y!==!1&&o!==!1;E&&!d&&typeof n=="string"&&n.trim()&&(C=n.replace(/[:|:]\s*$/,""));const T=aCe(u);if(T){const{icon:M=l.createElement(Jg,null)}=T,P=rCe(T,["icon"]),D=l.createElement(Ft,Object.assign({},P),l.cloneElement(M,{className:`${t}-item-tooltip`,title:"",onClick:O=>{O.preventDefault()},tabIndex:null}));C=l.createElement(l.Fragment,null,C,D)}const _=c==="optional",R=typeof c=="function";R?C=c(C,{required:!!s}):_&&!s&&(C=l.createElement(l.Fragment,null,C,l.createElement("span",{className:`${t}-item-optional`,title:""},(g==null?void 0:g.optional)||((p=lo.Form)===null||p===void 0?void 0:p.optional))));const $=oe({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:_||R,[`${t}-item-no-colon`]:!E});return l.createElement(En,Object.assign({},S,{className:w}),l.createElement("label",{htmlFor:r,className:$,title:typeof n=="string"?n:""},C))},oCe={success:Ef,warning:$m,error:Ql,validating:uo};function qK(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:i,prefixCls:o,meta:s,noStyle:c}=e;const u=`${o}-item`,{feedbackIcons:d}=l.useContext(js),p=VK(n,r,s,null,!!a,i),{isFormItemInput:g,status:m,hasFeedback:h,feedbackIcon:b}=l.useContext(aa),y=l.useMemo(()=>{var S;let v;if(a){const w=a!==!0&&a.icons||d,C=p&&((S=w==null?void 0:w({status:p,errors:n,warnings:r}))===null||S===void 0?void 0:S[p]),E=p&&oCe[p];v=C!==!1&&E?l.createElement("span",{className:oe(`${u}-feedback-icon`,`${u}-feedback-icon-${p}`)},C||l.createElement(E,null)):null}const x={status:p||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:v,isFormItemInput:!0};return c&&(x.status=(p??m)||"",x.isFormItemInput=g,x.hasFeedback=!!(a??h),x.feedbackIcon=a!==void 0?x.feedbackIcon:b),x},[p,a,c,g,m]);return l.createElement(aa.Provider,{value:y},t)}var sCe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if($&&I.current){const L=getComputedStyle(I.current);D(parseInt(L.marginBottom,10))}},[$,M]);const O=L=>{L||D(null)},N=function(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const j=L?T:u.errors,F=L?_:u.warnings;return VK(j,F,u,"",!!d,c)}(),A=oe(x,n,r,{[`${x}-with-help`]:R||T.length||_.length,[`${x}-has-feedback`]:N&&d,[`${x}-has-success`]:N==="success",[`${x}-has-warning`]:N==="warning",[`${x}-has-error`]:N==="error",[`${x}-is-validating`]:N==="validating",[`${x}-hidden`]:p,[`${x}-${S}`]:S});return l.createElement("div",{className:A,style:a,ref:I},l.createElement(da,Object.assign({className:`${x}-row`},Dn(v,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(iCe,Object.assign({htmlFor:m},e,{requiredMark:w,required:h??b,prefixCls:t,vertical:E})),l.createElement(eCe,Object.assign({},e,u,{errors:T,warnings:_,prefixCls:t,status:N,help:i,marginBottom:P,onErrorVisibleChanged:O}),l.createElement(TW.Provider,{value:y},l.createElement(qK,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:N},g)))),!!P&&l.createElement("div",{className:`${x}-margin-offset`,style:{marginBottom:-P}}))}const cCe="__SPLIT__";function uCe(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(a=>{const i=e[a],o=t[a];return i===o||typeof i=="function"||typeof o=="function"})}const dCe=l.memo(e=>{let{children:t}=e;return t},(e,t)=>uCe(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function eL(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function fCe(e){const{name:t,noStyle:n,className:r,dependencies:a,prefixCls:i,shouldUpdate:o,rules:s,children:c,required:u,label:d,messageVariables:p,trigger:g="onChange",validateTrigger:m,hidden:h,help:b,layout:y}=e,{getPrefixCls:S}=l.useContext(st),{name:v}=l.useContext(js),x=Ywe(c),w=typeof x=="function",C=l.useContext(TW),{validateTrigger:E}=l.useContext(Zc),I=m!==void 0?m:E,T=t!=null,_=S("form",i),R=ir(_),[$,M,P]=pk(_,R);Zl();const D=l.useContext(Xg),O=l.useRef(),[k,N]=Xwe({}),[A,L]=Xc(()=>eL()),j=Y=>{const ee=D==null?void 0:D.getKey(Y.name);if(L(Y.destroy?eL():Y,!0),n&&b!==!1&&C){let ae=Y.name;if(Y.destroy)ae=O.current||ae;else if(ee!==void 0){const[W,q]=ee;ae=[W].concat(Me(q)),O.current=ae}C(Y,ae)}},F=(Y,ee)=>{N(ae=>{const W=Object.assign({},ae),Z=[].concat(Me(Y.name.slice(0,-1)),Me(ee)).join(cCe);return Y.destroy?delete W[Z]:W[Z]=Y,W})},[B,z]=l.useMemo(()=>{const Y=Me(A.errors),ee=Me(A.warnings);return Object.values(k).forEach(ae=>{Y.push.apply(Y,Me(ae.errors||[])),ee.push.apply(ee,Me(ae.warnings||[]))}),[Y,ee]},[k,A.errors,A.warnings]),U=Zwe();function H(Y,ee,ae){return n&&!h?l.createElement(qK,{prefixCls:_,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:A,errors:B,warnings:z,noStyle:!0},Y):l.createElement(lCe,Object.assign({key:"row"},e,{className:oe(r,P,R,M),prefixCls:_,fieldId:ee,isRequired:ae,errors:B,warnings:z,meta:A,onSubItemMetaChange:F,layout:y}),Y)}if(!T&&!w&&!a)return $(H(x));let K={};return typeof d=="string"?K.label=d:t&&(K.label=String(t)),p&&(K=Object.assign(Object.assign({},K),p)),$(l.createElement(TN,Object.assign({},e,{messageVariables:K,trigger:g,validateTrigger:I,onMetaChange:j}),(Y,ee,ae)=>{const W=ag(t).length&&ee?ee.name:[],q=UK(W,v),Z=u!==void 0?u:!!(s!=null&&s.some(le=>{if(le&&typeof le=="object"&&le.required&&!le.warningOnly)return!0;if(typeof le=="function"){const ce=le(ae);return(ce==null?void 0:ce.required)&&!(ce!=null&&ce.warningOnly)}return!1})),Q=Object.assign({},Y);let J=null;if(Array.isArray(x)&&T)J=x;else if(!(w&&(!(o||a)||T))){if(!(a&&!w&&!T))if(l.isValidElement(x)){const le=Object.assign(Object.assign({},x.props),Q);if(le.id||(le.id=q),b||B.length>0||z.length>0||e.extra){const te=[];(b||B.length>0)&&te.push(`${q}_help`),e.extra&&te.push(`${q}_extra`),le["aria-describedby"]=te.join(" ")}B.length>0&&(le["aria-invalid"]="true"),Z&&(le["aria-required"]="true"),Po(x)&&(le.ref=U(W,x)),new Set([].concat(Me(ag(g)),Me(ag(I)))).forEach(te=>{le[te]=function(){for(var ie,fe,ge,ne,ue,me=arguments.length,xe=new Array(me),Ie=0;Ie{var{prefixCls:t,children:n}=e,r=pCe(e,["prefixCls","children"]);const{getPrefixCls:a}=l.useContext(st),i=a("form",t),o=l.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return l.createElement(wW,Object.assign({},r),(s,c,u)=>l.createElement(_N.Provider,{value:o},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),c,{errors:u.errors,warnings:u.warnings})))};function mCe(){const{form:e}=l.useContext(js);return e}const Kt=Kwe;Kt.Item=Qm;Kt.List=gCe;Kt.ErrorList=HK;Kt.useForm=WK;Kt.useFormInstance=mCe;Kt.useWatch=IW;Kt.Provider=RW;Kt.create=()=>{};function KK(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function G_(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function ts(e,t,n,r){var a=Ag.unstable_batchedUpdates?function(o){Ag.unstable_batchedUpdates(n,o)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,a,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,a,r)}}}var Jm=l.createContext(null),hCe=function(t){var n=t.visible,r=t.maskTransitionName,a=t.getContainer,i=t.prefixCls,o=t.rootClassName,s=t.icons,c=t.countRender,u=t.showSwitch,d=t.showProgress,p=t.current,g=t.transform,m=t.count,h=t.scale,b=t.minScale,y=t.maxScale,S=t.closeIcon,v=t.onActive,x=t.onClose,w=t.onZoomIn,C=t.onZoomOut,E=t.onRotateRight,I=t.onRotateLeft,T=t.onFlipX,_=t.onFlipY,R=t.onReset,$=t.toolbarRender,M=t.zIndex,P=t.image,D=l.useContext(Jm),O=s.rotateLeft,k=s.rotateRight,N=s.zoomIn,A=s.zoomOut,L=s.close,j=s.left,F=s.right,B=s.flipX,z=s.flipY,U="".concat(i,"-operations-operation");l.useEffect(function(){var ce=function(te){te.keyCode===Fe.ESC&&x()};return n&&window.addEventListener("keydown",ce),function(){window.removeEventListener("keydown",ce)}},[n]);var H=function(pe,te){pe.preventDefault(),pe.stopPropagation(),v(te)},K=l.useCallback(function(ce){var pe=ce.type,te=ce.disabled,ie=ce.onClick,fe=ce.icon;return l.createElement("div",{key:pe,className:oe(U,"".concat(i,"-operations-operation-").concat(pe),V({},"".concat(i,"-operations-operation-disabled"),!!te)),onClick:ie},fe)},[U,i]),Y=u?K({icon:j,onClick:function(pe){return H(pe,-1)},type:"prev",disabled:p===0}):void 0,ee=u?K({icon:F,onClick:function(pe){return H(pe,1)},type:"next",disabled:p===m-1}):void 0,ae=K({icon:z,onClick:_,type:"flipY"}),W=K({icon:B,onClick:T,type:"flipX"}),q=K({icon:O,onClick:I,type:"rotateLeft"}),Z=K({icon:k,onClick:E,type:"rotateRight"}),Q=K({icon:A,onClick:C,type:"zoomOut",disabled:h<=b}),J=K({icon:N,onClick:w,type:"zoomIn",disabled:h===y}),le=l.createElement("div",{className:"".concat(i,"-operations")},ae,W,q,Z,Q,J);return l.createElement(na,{visible:n,motionName:r},function(ce){var pe=ce.className,te=ce.style;return l.createElement(Pm,{open:!0,getContainer:a??document.body},l.createElement("div",{className:oe("".concat(i,"-operations-wrapper"),pe,o),style:X(X({},te),{},{zIndex:M})},S===null?null:l.createElement("button",{className:"".concat(i,"-close"),onClick:x},S||L),u&&l.createElement(l.Fragment,null,l.createElement("div",{className:oe("".concat(i,"-switch-left"),V({},"".concat(i,"-switch-left-disabled"),p===0)),onClick:function(fe){return H(fe,-1)}},j),l.createElement("div",{className:oe("".concat(i,"-switch-right"),V({},"".concat(i,"-switch-right-disabled"),p===m-1)),onClick:function(fe){return H(fe,1)}},F)),l.createElement("div",{className:"".concat(i,"-footer")},d&&l.createElement("div",{className:"".concat(i,"-progress")},c?c(p+1,m):"".concat(p+1," / ").concat(m)),$?$(le,X(X({icons:{prevIcon:Y,nextIcon:ee,flipYIcon:ae,flipXIcon:W,rotateLeftIcon:q,rotateRightIcon:Z,zoomOutIcon:Q,zoomInIcon:J},actions:{onActive:v,onFlipY:_,onFlipX:T,onRotateLeft:I,onRotateRight:E,onZoomOut:C,onZoomIn:w,onReset:R,onClose:x},transform:g},D?{current:p,total:m}:{}),{},{image:P})):le)))})},cv={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function vCe(e,t,n,r){var a=l.useRef(null),i=l.useRef([]),o=l.useState(cv),s=se(o,2),c=s[0],u=s[1],d=function(h){u(cv),oo(cv,c)||r==null||r({transform:cv,action:h})},p=function(h,b){a.current===null&&(i.current=[],a.current=Gt(function(){u(function(y){var S=y;return i.current.forEach(function(v){S=X(X({},S),v)}),a.current=null,r==null||r({transform:S,action:b}),S})})),i.current.push(X(X({},c),h))},g=function(h,b,y,S,v){var x=e.current,w=x.width,C=x.height,E=x.offsetWidth,I=x.offsetHeight,T=x.offsetLeft,_=x.offsetTop,R=h,$=c.scale*h;$>n?($=n,R=n/c.scale):$r){if(t>0)return V({},e,i);if(t<0&&ar)return V({},e,t<0?i:-i);return{}}function YK(e,t,n,r){var a=KK(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=X(X({},tL("x",n,e,i)),tL("y",r,t,o))),s}var hd=1,bCe=1;function yCe(e,t,n,r,a,i,o){var s=a.rotate,c=a.scale,u=a.x,d=a.y,p=l.useState(!1),g=se(p,2),m=g[0],h=g[1],b=l.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),y=function(C){!t||C.button!==0||(C.preventDefault(),C.stopPropagation(),b.current={diffX:C.pageX-u,diffY:C.pageY-d,transformX:u,transformY:d},h(!0))},S=function(C){n&&m&&i({x:C.pageX-b.current.diffX,y:C.pageY-b.current.diffY},"move")},v=function(){if(n&&m){h(!1);var C=b.current,E=C.transformX,I=C.transformY,T=u!==E&&d!==I;if(!T)return;var _=e.current.offsetWidth*c,R=e.current.offsetHeight*c,$=e.current.getBoundingClientRect(),M=$.left,P=$.top,D=s%180!==0,O=YK(D?R:_,D?_:R,M,P);O&&i(X({},O),"dragRebound")}},x=function(C){if(!(!n||C.deltaY==0)){var E=Math.abs(C.deltaY/100),I=Math.min(E,bCe),T=hd+I*r;C.deltaY>0&&(T=hd/T),o(T,"wheel",C.clientX,C.clientY)}};return l.useEffect(function(){var w,C,E,I;if(t){E=ts(window,"mouseup",v,!1),I=ts(window,"mousemove",S,!1);try{window.top!==window.self&&(w=ts(window.top,"mouseup",v,!1),C=ts(window.top,"mousemove",S,!1))}catch{}}return function(){var T,_,R,$;(T=E)===null||T===void 0||T.remove(),(_=I)===null||_===void 0||_.remove(),(R=w)===null||R===void 0||R.remove(),($=C)===null||$===void 0||$.remove()}},[n,m,u,d,s,t]),{isMoving:m,onMouseDown:y,onMouseMove:S,onMouseUp:v,onWheel:x}}function xCe(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function XK(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,a=l.useState(n?"loading":"normal"),i=se(a,2),o=i[0],s=i[1],c=l.useRef(!1),u=o==="error";l.useEffect(function(){var m=!0;return xCe(t).then(function(h){!h&&m&&s("error")}),function(){m=!1}},[t]),l.useEffect(function(){n&&!c.current?s("loading"):u&&s("normal")},[t]);var d=function(){s("normal")},p=function(h){c.current=!1,o==="loading"&&h!==null&&h!==void 0&&h.complete&&(h.naturalWidth||h.naturalHeight)&&(c.current=!0,d())},g=u&&r?{src:r}:{onLoad:d,src:t};return[p,g,o]}function m0(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function SCe(e,t,n,r){var a=m0(e,n),i=m0(t,r);if(a===0&&i===0)return[e.x,e.y];var o=a/(a+i),s=e.x+o*(t.x-e.x),c=e.y+o*(t.y-e.y);return[s,c]}function wCe(e,t,n,r,a,i,o){var s=a.rotate,c=a.scale,u=a.x,d=a.y,p=l.useState(!1),g=se(p,2),m=g[0],h=g[1],b=l.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),y=function(C){b.current=X(X({},b.current),C)},S=function(C){if(t){C.stopPropagation(),h(!0);var E=C.touches,I=E===void 0?[]:E;I.length>1?y({point1:{x:I[0].clientX,y:I[0].clientY},point2:{x:I[1].clientX,y:I[1].clientY},eventType:"touchZoom"}):y({point1:{x:I[0].clientX-u,y:I[0].clientY-d},eventType:"move"})}},v=function(C){var E=C.touches,I=E===void 0?[]:E,T=b.current,_=T.point1,R=T.point2,$=T.eventType;if(I.length>1&&$==="touchZoom"){var M={x:I[0].clientX,y:I[0].clientY},P={x:I[1].clientX,y:I[1].clientY},D=SCe(_,R,M,P),O=se(D,2),k=O[0],N=O[1],A=m0(M,P)/m0(_,R);o(A,"touchZoom",k,N,!0),y({point1:M,point2:P,eventType:"touchZoom"})}else $==="move"&&(i({x:I[0].clientX-_.x,y:I[0].clientY-_.y},"move"),y({eventType:"move"}))},x=function(){if(n){if(m&&h(!1),y({eventType:"none"}),r>c)return i({x:0,y:0,scale:r},"touchZoom");var C=e.current.offsetWidth*c,E=e.current.offsetHeight*c,I=e.current.getBoundingClientRect(),T=I.left,_=I.top,R=s%180!==0,$=YK(R?E:C,R?C:E,T,_);$&&i(X({},$),"dragRebound")}};return l.useEffect(function(){var w;return n&&t&&(w=ts(window,"touchmove",function(C){return C.preventDefault()},{passive:!1})),function(){var C;(C=w)===null||C===void 0||C.remove()}},[n,t]),{isTouching:m,onTouchStart:S,onTouchMove:v,onTouchEnd:x}}var CCe=["fallback","src","imgRef"],ECe=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],ICe=function(t){var n=t.fallback,r=t.src,a=t.imgRef,i=Ct(t,CCe),o=XK({src:r,fallback:n}),s=se(o,2),c=s[0],u=s[1];return de.createElement("img",be({ref:function(p){a.current=p,c(p)}},i,u))},ZK=function(t){var n=t.prefixCls,r=t.src,a=t.alt,i=t.imageInfo,o=t.fallback,s=t.movable,c=s===void 0?!0:s,u=t.onClose,d=t.visible,p=t.icons,g=p===void 0?{}:p,m=t.rootClassName,h=t.closeIcon,b=t.getContainer,y=t.current,S=y===void 0?0:y,v=t.count,x=v===void 0?1:v,w=t.countRender,C=t.scaleStep,E=C===void 0?.5:C,I=t.minScale,T=I===void 0?1:I,_=t.maxScale,R=_===void 0?50:_,$=t.transitionName,M=$===void 0?"zoom":$,P=t.maskTransitionName,D=P===void 0?"fade":P,O=t.imageRender,k=t.imgCommonProps,N=t.toolbarRender,A=t.onTransform,L=t.onChange,j=Ct(t,ECe),F=l.useRef(),B=l.useContext(Jm),z=B&&x>1,U=B&&x>=1,H=l.useState(!0),K=se(H,2),Y=K[0],ee=K[1],ae=vCe(F,T,R,A),W=ae.transform,q=ae.resetTransform,Z=ae.updateTransform,Q=ae.dispatchZoomChange,J=yCe(F,c,d,E,W,Z,Q),le=J.isMoving,ce=J.onMouseDown,pe=J.onWheel,te=wCe(F,c,d,T,W,Z,Q),ie=te.isTouching,fe=te.onTouchStart,ge=te.onTouchMove,ne=te.onTouchEnd,ue=W.rotate,me=W.scale,xe=oe(V({},"".concat(n,"-moving"),le));l.useEffect(function(){Y||ee(!0)},[Y]);var Ie=function(){q("close")},ke=function(){Q(hd+E,"zoomIn")},$e=function(){Q(hd/(hd+E),"zoomOut")},Le=function(){Z({rotate:ue+90},"rotateRight")},je=function(){Z({rotate:ue-90},"rotateLeft")},He=function(){Z({flipX:!W.flipX},"flipX")},Be=function(){Z({flipY:!W.flipY},"flipY")},Pe=function(){q("reset")},Se=function(lt){var he=S+lt;!Number.isInteger(he)||he<0||he>x-1||(ee(!1),q(lt<0?"prev":"next"),L==null||L(he,S))},Ne=function(lt){!d||!z||(lt.keyCode===Fe.LEFT?Se(-1):lt.keyCode===Fe.RIGHT&&Se(1))},Te=function(lt){d&&(me!==1?Z({x:0,y:0,scale:1},"doubleClick"):Q(hd+E,"doubleClick",lt.clientX,lt.clientY))};l.useEffect(function(){var Ge=ts(window,"keydown",Ne,!1);return function(){Ge.remove()}},[d,z,S]);var Ce=de.createElement(ICe,be({},k,{width:t.width,height:t.height,imgRef:F,className:"".concat(n,"-img"),alt:a,style:{transform:"translate3d(".concat(W.x,"px, ").concat(W.y,"px, 0) scale3d(").concat(W.flipX?"-":"").concat(me,", ").concat(W.flipY?"-":"").concat(me,", 1) rotate(").concat(ue,"deg)"),transitionDuration:(!Y||ie)&&"0s"},fallback:o,src:r,onWheel:pe,onMouseDown:ce,onDoubleClick:Te,onTouchStart:fe,onTouchMove:ge,onTouchEnd:ne,onTouchCancel:ne})),De=X({url:r,alt:a},i);return de.createElement(de.Fragment,null,de.createElement(EN,be({transitionName:M,maskTransitionName:D,closable:!1,keyboard:!0,prefixCls:n,onClose:u,visible:d,classNames:{wrapper:xe},rootClassName:m,getContainer:b},j,{afterClose:Ie}),de.createElement("div",{className:"".concat(n,"-img-wrapper")},O?O(Ce,X({transform:W,image:De},B?{current:S}:{})):Ce)),de.createElement(hCe,{visible:d,transform:W,maskTransitionName:D,closeIcon:h,getContainer:b,prefixCls:n,rootClassName:m,icons:g,countRender:w,showSwitch:z,showProgress:U,current:S,count:x,scale:me,minScale:T,maxScale:R,toolbarRender:N,onActive:Se,onZoomIn:ke,onZoomOut:$e,onRotateRight:Le,onRotateLeft:je,onFlipX:He,onFlipY:Be,onClose:u,onReset:Pe,zIndex:j.zIndex!==void 0?j.zIndex+1:void 0,image:De}))},q_=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function TCe(e){var t=l.useState({}),n=se(t,2),r=n[0],a=n[1],i=l.useCallback(function(s,c){return a(function(u){return X(X({},u),{},V({},s,c))}),function(){a(function(u){var d=X({},u);return delete d[s],d})}},[]),o=l.useMemo(function(){return e?e.map(function(s){if(typeof s=="string")return{data:{src:s}};var c={};return Object.keys(s).forEach(function(u){["src"].concat(Me(q_)).includes(u)&&(c[u]=s[u])}),{data:c}}):Object.keys(r).reduce(function(s,c){var u=r[c],d=u.canPreview,p=u.data;return d&&s.push({data:p,id:c}),s},[])},[e,r]);return[o,i,!!e]}var RCe=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],_Ce=["src"],$Ce=function(t){var n,r=t.previewPrefixCls,a=r===void 0?"rc-image-preview":r,i=t.children,o=t.icons,s=o===void 0?{}:o,c=t.items,u=t.preview,d=t.fallback,p=mt(u)==="object"?u:{},g=p.visible,m=p.onVisibleChange,h=p.getContainer,b=p.current,y=p.movable,S=p.minScale,v=p.maxScale,x=p.countRender,w=p.closeIcon,C=p.onChange,E=p.onTransform,I=p.toolbarRender,T=p.imageRender,_=Ct(p,RCe),R=TCe(c),$=se(R,3),M=$[0],P=$[1],D=$[2],O=pn(0,{value:b}),k=se(O,2),N=k[0],A=k[1],L=l.useState(!1),j=se(L,2),F=j[0],B=j[1],z=((n=M[N])===null||n===void 0?void 0:n.data)||{},U=z.src,H=Ct(z,_Ce),K=pn(!!g,{value:g,onChange:function(ie,fe){m==null||m(ie,fe,N)}}),Y=se(K,2),ee=Y[0],ae=Y[1],W=l.useState(null),q=se(W,2),Z=q[0],Q=q[1],J=l.useCallback(function(te,ie,fe,ge){var ne=D?M.findIndex(function(ue){return ue.data.src===ie}):M.findIndex(function(ue){return ue.id===te});A(ne<0?0:ne),ae(!0),Q({x:fe,y:ge}),B(!0)},[M,D]);l.useEffect(function(){ee?F||A(0):B(!1)},[ee]);var le=function(ie,fe){A(ie),C==null||C(ie,fe)},ce=function(){ae(!1),Q(null)},pe=l.useMemo(function(){return{register:P,onPreview:J}},[P,J]);return l.createElement(Jm.Provider,{value:pe},i,l.createElement(ZK,be({"aria-hidden":!ee,movable:y,visible:ee,prefixCls:a,closeIcon:w,onClose:ce,mousePosition:Z,imgCommonProps:H,src:U,fallback:d,icons:s,minScale:S,maxScale:v,getContainer:h,current:N,count:M.length,countRender:x,onTransform:E,toolbarRender:I,imageRender:T,onChange:le},_)))},nL=0;function OCe(e,t){var n=l.useState(function(){return nL+=1,String(nL)}),r=se(n,1),a=r[0],i=l.useContext(Jm),o={data:t,canPreview:e};return l.useEffect(function(){if(i)return i.register(a,o)},[]),l.useEffect(function(){i&&i.register(a,o)},[e,t]),a}var NCe=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],kCe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],gk=function(t){var n=t.src,r=t.alt,a=t.onPreviewClose,i=t.prefixCls,o=i===void 0?"rc-image":i,s=t.previewPrefixCls,c=s===void 0?"".concat(o,"-preview"):s,u=t.placeholder,d=t.fallback,p=t.width,g=t.height,m=t.style,h=t.preview,b=h===void 0?!0:h,y=t.className,S=t.onClick,v=t.onError,x=t.wrapperClassName,w=t.wrapperStyle,C=t.rootClassName,E=Ct(t,NCe),I=u&&u!==!0,T=mt(b)==="object"?b:{},_=T.src,R=T.visible,$=R===void 0?void 0:R,M=T.onVisibleChange,P=M===void 0?a:M,D=T.getContainer,O=D===void 0?void 0:D,k=T.mask,N=T.maskClassName,A=T.movable,L=T.icons,j=T.scaleStep,F=T.minScale,B=T.maxScale,z=T.imageRender,U=T.toolbarRender,H=Ct(T,kCe),K=_??n,Y=pn(!!$,{value:$,onChange:P}),ee=se(Y,2),ae=ee[0],W=ee[1],q=XK({src:n,isCustomPlaceholder:I,fallback:d}),Z=se(q,3),Q=Z[0],J=Z[1],le=Z[2],ce=l.useState(null),pe=se(ce,2),te=pe[0],ie=pe[1],fe=l.useContext(Jm),ge=!!b,ne=function(){W(!1),ie(null)},ue=oe(o,x,C,V({},"".concat(o,"-error"),le==="error")),me=l.useMemo(function(){var $e={};return q_.forEach(function(Le){t[Le]!==void 0&&($e[Le]=t[Le])}),$e},q_.map(function($e){return t[$e]})),xe=l.useMemo(function(){return X(X({},me),{},{src:K})},[K,me]),Ie=OCe(ge,xe),ke=function(Le){var je=G_(Le.target),He=je.left,Be=je.top;fe?fe.onPreview(Ie,K,He,Be):(ie({x:He,y:Be}),W(!0)),S==null||S(Le)};return l.createElement(l.Fragment,null,l.createElement("div",be({},E,{className:ue,onClick:ge?ke:S,style:X({width:p,height:g},w)}),l.createElement("img",be({},me,{className:oe("".concat(o,"-img"),V({},"".concat(o,"-img-placeholder"),u===!0),y),style:X({height:g},m),ref:Q},J,{width:p,height:g,onError:v})),le==="loading"&&l.createElement("div",{"aria-hidden":"true",className:"".concat(o,"-placeholder")},u),k&&ge&&l.createElement("div",{className:oe("".concat(o,"-mask"),N),style:{display:(m==null?void 0:m.display)==="none"?"none":void 0}},k)),!fe&&ge&&l.createElement(ZK,be({"aria-hidden":!ae,visible:ae,prefixCls:c,onClose:ne,mousePosition:te,src:K,alt:r,imageInfo:{width:p,height:g},fallback:d,getContainer:O,icons:L,movable:A,scaleStep:j,minScale:F,maxScale:B,rootClassName:C,imageRender:z,imgCommonProps:me,toolbarRender:U},H)))};gk.PreviewGroup=$Ce;var ACe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},DCe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:ACe}))},MCe=l.forwardRef(DCe),PCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},LCe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:PCe}))},jCe=l.forwardRef(LCe),FCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},BCe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:FCe}))},rL=l.forwardRef(BCe),zCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},HCe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:zCe}))},UCe=l.forwardRef(HCe),VCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},WCe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:VCe}))},GCe=l.forwardRef(WCe);const K_=e=>({position:e||"absolute",inset:0}),qCe=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new cn("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},Pi),{padding:`0 ${G(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},KCe=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:c,motionDurationSlow:u,iconCls:d,colorTextLightSolid:p}=e,g=new cn(n).setAlpha(.1),m=g.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:p,backgroundColor:g.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:m.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${G(o)}`,backgroundColor:g.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:c},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},YCe=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new cn(t).setAlpha(.1),c=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},XCe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},K_()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},K_()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[KCe(e),YCe(e)]}]},ZCe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},qCe(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},K_())}}},QCe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Tf(e,"zoom"),"&":hN(e,!0)}},JCe=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new cn(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new cn(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new cn(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),QK=an("Image",e=>{const t=`${e.componentCls}-preview`,n=zt(e,{previewCls:t,modalMaskBg:new cn("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[ZCe(n),XCe(n),AW(zt(n,{componentCls:t})),QCe(n)]},JCe);var eEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{previewPrefixCls:t,preview:n}=e,r=eEe(e,["previewPrefixCls","preview"]);const{getPrefixCls:a}=l.useContext(st),i=a("image",t),o=`${i}-preview`,s=a(),c=ir(i),[u,d,p]=QK(i,c),[g]=Ho("ImagePreview",typeof n=="object"?n.zIndex:void 0),m=l.useMemo(()=>{var h;if(n===!1)return n;const b=typeof n=="object"?n:{},y=oe(d,p,c,(h=b.rootClassName)!==null&&h!==void 0?h:"");return Object.assign(Object.assign({},b),{transitionName:za(s,"zoom",b.transitionName),maskTransitionName:za(s,"fade",b.maskTransitionName),rootClassName:y,zIndex:g})},[n]);return u(l.createElement(gk.PreviewGroup,Object.assign({preview:m,previewPrefixCls:o,icons:JK},r)))};var aL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,preview:r,className:a,rootClassName:i,style:o}=e,s=aL(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:u=lo,getPopupContainer:d,image:p}=l.useContext(st),g=c("image",n),m=c(),h=u.Image||lo.Image,b=ir(g),[y,S,v]=QK(g,b),x=oe(i,S,v,b),w=oe(a,S,p==null?void 0:p.className),[C]=Ho("ImagePreview",typeof r=="object"?r.zIndex:void 0),E=l.useMemo(()=>{var T;if(r===!1)return r;const _=typeof r=="object"?r:{},{getContainer:R,closeIcon:$}=_,M=aL(_,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:l.createElement("div",{className:`${g}-mask-info`},l.createElement(zl,null),h==null?void 0:h.preview),icons:JK},M),{getContainer:R??d,transitionName:za(m,"zoom",_.transitionName),maskTransitionName:za(m,"fade",_.maskTransitionName),zIndex:C,closeIcon:$??((T=p==null?void 0:p.preview)===null||T===void 0?void 0:T.closeIcon)})},[r,h,(t=p==null?void 0:p.preview)===null||t===void 0?void 0:t.closeIcon]),I=Object.assign(Object.assign({},p==null?void 0:p.style),o);return y(l.createElement(gk,Object.assign({prefixCls:g,preview:E,rootClassName:x,className:w,style:I},s)))};fn.PreviewGroup=tEe;function nEe(e,t,n){return typeof n=="boolean"?n:e.length?!0:Nr(t).some(a=>a.type===GN)}var eY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((o,s)=>l.createElement(a,Object.assign({ref:s,suffixCls:t,tagName:n},o)))}const mk=l.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:i}=e,o=eY(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=l.useContext(st),c=s("layout",n),[u,d,p]=QG(c),g=r?`${c}-${r}`:c;return u(l.createElement(i,Object.assign({className:oe(n||g,a,d,p),ref:t},o)))}),rEe=l.forwardRef((e,t)=>{const{direction:n}=l.useContext(st),[r,a]=l.useState([]),{prefixCls:i,className:o,rootClassName:s,children:c,hasSider:u,tagName:d,style:p}=e,g=eY(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),m=Dn(g,["suffixCls"]),{getPrefixCls:h,layout:b}=l.useContext(st),y=h("layout",i),S=nEe(r,c,u),[v,x,w]=QG(y),C=oe(y,{[`${y}-has-sider`]:S,[`${y}-rtl`]:n==="rtl"},b==null?void 0:b.className,o,s,x,w),E=l.useMemo(()=>({siderHook:{addSider:I=>{a(T=>[].concat(Me(T),[I]))},removeSider:I=>{a(T=>T.filter(_=>_!==I))}}}),[]);return v(l.createElement(YG.Provider,{value:E},l.createElement(d,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},b==null?void 0:b.style),p)},m),c)))}),aEe=cx({tagName:"div",displayName:"Layout"})(rEe),tY=cx({suffixCls:"header",tagName:"header",displayName:"Header"})(mk),nY=cx({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(mk),iEe=cx({suffixCls:"content",tagName:"main",displayName:"Content"})(mk),zs=aEe;zs.Header=tY;zs.Footer=nY;zs.Content=iEe;zs.Sider=GN;zs._InternalSiderContext=Yy;const rY=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const a=n[r];a!==void 0&&(e[r]=a)})}return e};var oEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},sEe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:oEe}))},iL=l.forwardRef(sEe),lEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},cEe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:lEe}))},oL=l.forwardRef(cEe),uEe={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},dEe=["10","20","50","100"],fEe=function(t){var n=t.pageSizeOptions,r=n===void 0?dEe:n,a=t.locale,i=t.changeSize,o=t.pageSize,s=t.goButton,c=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,p=t.selectPrefixCls,g=t.disabled,m=t.buildOptionText,h=t.showSizeChanger,b=de.useState(""),y=se(b,2),S=y[0],v=y[1],x=function(){return!S||Number.isNaN(S)?void 0:Number(S)},w=typeof m=="function"?m:function(A){return"".concat(A," ").concat(a.items_per_page)},C=function(L,j){if(i==null||i(Number(L)),mt(h)==="object"){var F;(F=h.onChange)===null||F===void 0||F.call(h,L,j)}},E=function(L){v(L.target.value)},I=function(L){s||S===""||(v(""),!(L.relatedTarget&&(L.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||L.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(x())))},T=function(L){S!==""&&(L.keyCode===Fe.ENTER||L.type==="click")&&(v(""),c==null||c(x()))},_=function(){return r.some(function(L){return L.toString()===o.toString()})?r:r.concat([o.toString()]).sort(function(L,j){var F=Number.isNaN(Number(L))?0:Number(L),B=Number.isNaN(Number(j))?0:Number(j);return F-B})},R="".concat(u,"-options");if(!h&&!c)return null;var $=null,M=null,P=null;if(h&&d){var D=mt(h)==="object"?h:{},O=D.options,k=D.className,N=O?void 0:_().map(function(A,L){return de.createElement(d.Option,{key:L,value:A.toString()},w(A))});$=de.createElement(d,be({disabled:g,prefixCls:p,showSearch:!1,optionLabelProp:O?"label":"children",popupMatchSelectWidth:!1,value:(o||r[0]).toString(),getPopupContainer:function(L){return L.parentNode},"aria-label":a.page_size,defaultOpen:!1},mt(h)==="object"?h:null,{className:oe("".concat(R,"-size-changer"),k),options:O,onChange:C}),N)}return c&&(s&&(P=typeof s=="boolean"?de.createElement("button",{type:"button",onClick:T,onKeyUp:T,disabled:g,className:"".concat(R,"-quick-jumper-button")},a.jump_to_confirm):de.createElement("span",{onClick:T,onKeyUp:T},s)),M=de.createElement("div",{className:"".concat(R,"-quick-jumper")},a.jump_to,de.createElement("input",{disabled:g,type:"text",value:S,onChange:E,onKeyUp:T,onBlur:I,"aria-label":a.page}),a.page,P)),de.createElement("li",{className:R},$,M)},mp=function(t){var n=t.rootPrefixCls,r=t.page,a=t.active,i=t.className,o=t.showTitle,s=t.onClick,c=t.onKeyPress,u=t.itemRender,d="".concat(n,"-item"),p=oe(d,"".concat(d,"-").concat(r),V(V({},"".concat(d,"-active"),a),"".concat(d,"-disabled"),!r),i),g=function(){s(r)},m=function(y){c(y,s,r)},h=u(r,"page",de.createElement("a",{rel:"nofollow"},r));return h?de.createElement("li",{title:o?String(r):null,className:p,onClick:g,onKeyDown:m,tabIndex:0},h):null},pEe=function(t,n,r){return r};function sL(){}function lL(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function cc(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var gEe=function(t){var n=t.prefixCls,r=n===void 0?"rc-pagination":n,a=t.selectPrefixCls,i=a===void 0?"rc-select":a,o=t.className,s=t.selectComponentClass,c=t.current,u=t.defaultCurrent,d=u===void 0?1:u,p=t.total,g=p===void 0?0:p,m=t.pageSize,h=t.defaultPageSize,b=h===void 0?10:h,y=t.onChange,S=y===void 0?sL:y,v=t.hideOnSinglePage,x=t.align,w=t.showPrevNextJumpers,C=w===void 0?!0:w,E=t.showQuickJumper,I=t.showLessItems,T=t.showTitle,_=T===void 0?!0:T,R=t.onShowSizeChange,$=R===void 0?sL:R,M=t.locale,P=M===void 0?uEe:M,D=t.style,O=t.totalBoundaryShowSizeChanger,k=O===void 0?50:O,N=t.disabled,A=t.simple,L=t.showTotal,j=t.showSizeChanger,F=j===void 0?g>k:j,B=t.pageSizeOptions,z=t.itemRender,U=z===void 0?pEe:z,H=t.jumpPrevIcon,K=t.jumpNextIcon,Y=t.prevIcon,ee=t.nextIcon,ae=de.useRef(null),W=pn(10,{value:m,defaultValue:b}),q=se(W,2),Z=q[0],Q=q[1],J=pn(1,{value:c,defaultValue:d,postState:function(Dt){return Math.max(1,Math.min(Dt,cc(void 0,Z,g)))}}),le=se(J,2),ce=le[0],pe=le[1],te=de.useState(ce),ie=se(te,2),fe=ie[0],ge=ie[1];l.useEffect(function(){ge(ce)},[ce]);var ne=Math.max(1,ce-(I?3:5)),ue=Math.min(cc(void 0,Z,g),ce+(I?3:5));function me(yt,Dt){var jt=yt||de.createElement("button",{type:"button","aria-label":Dt,className:"".concat(r,"-item-link")});return typeof yt=="function"&&(jt=de.createElement(yt,X({},t))),jt}function xe(yt){var Dt=yt.target.value,jt=cc(void 0,Z,g),Jt;return Dt===""?Jt=Dt:Number.isNaN(Number(Dt))?Jt=fe:Dt>=jt?Jt=jt:Jt=Number(Dt),Jt}function Ie(yt){return lL(yt)&&yt!==ce&&lL(g)&&g>0}var ke=g>Z?E:!1;function $e(yt){(yt.keyCode===Fe.UP||yt.keyCode===Fe.DOWN)&&yt.preventDefault()}function Le(yt){var Dt=xe(yt);switch(Dt!==fe&&ge(Dt),yt.keyCode){case Fe.ENTER:Be(Dt);break;case Fe.UP:Be(Dt-1);break;case Fe.DOWN:Be(Dt+1);break}}function je(yt){Be(xe(yt))}function He(yt){var Dt=cc(yt,Z,g),jt=ce>Dt&&Dt!==0?Dt:ce;Q(yt),ge(jt),$==null||$(ce,yt),pe(jt),S==null||S(jt,yt)}function Be(yt){if(Ie(yt)&&!N){var Dt=cc(void 0,Z,g),jt=yt;return yt>Dt?jt=Dt:yt<1&&(jt=1),jt!==fe&&ge(jt),pe(jt),S==null||S(jt,Z),jt}return ce}var Pe=ce>1,Se=ce2?jt-2:0),Nn=2;Nng?g:ce*Z])),at=null,Ye=cc(void 0,Z,g);if(v&&g<=Z)return null;var We=[],qe={rootPrefixCls:r,onClick:Be,onKeyPress:Ge,showTitle:_,itemRender:U,page:-1},Qe=ce-1>0?ce-1:0,it=ce+1=rt*2&&ce!==3&&(We[0]=de.cloneElement(We[0],{className:oe("".concat(r,"-item-after-jump-prev"),We[0].props.className)}),We.unshift(Ae)),Ye-ce>=rt*2&&ce!==Ye-2){var et=We[We.length-1];We[We.length-1]=de.cloneElement(et,{className:oe("".concat(r,"-item-before-jump-next"),et.props.className)}),We.push(at)}Ze!==1&&We.unshift(de.createElement(mp,be({},qe,{key:1,page:1}))),ut!==Ye&&We.push(de.createElement(mp,be({},qe,{key:Ye,page:Ye})))}var Xe=_e(Qe);if(Xe){var $t=!Pe||!Ye;Xe=de.createElement("li",{title:_?P.prev_page:null,onClick:Ne,tabIndex:$t?null:0,onKeyDown:lt,className:oe("".concat(r,"-prev"),V({},"".concat(r,"-disabled"),$t)),"aria-disabled":$t},Xe)}var At=ze(it);if(At){var qt,hn;A?(qt=!Se,hn=Pe?0:null):(qt=!Se||!Ye,hn=qt?null:0),At=de.createElement("li",{title:_?P.next_page:null,onClick:Te,tabIndex:hn,onKeyDown:he,className:oe("".concat(r,"-next"),V({},"".concat(r,"-disabled"),qt)),"aria-disabled":qt},At)}var gn=oe(r,o,V(V(V(V(V({},"".concat(r,"-start"),x==="start"),"".concat(r,"-center"),x==="center"),"".concat(r,"-end"),x==="end"),"".concat(r,"-simple"),A),"".concat(r,"-disabled"),N));return de.createElement("ul",be({className:gn,style:D,ref:ae},Oe),Re,Xe,A?nt:We,At,de.createElement(fEe,{locale:P,rootPrefixCls:r,disabled:N,selectComponentClass:s,selectPrefixCls:i,changeSize:He,pageSize:Z,pageSizeOptions:B,quickGo:ke?Be:null,goButton:xt,showSizeChanger:F}))};const aY=e=>l.createElement(dr,Object.assign({},e,{showSearch:!0,size:"small"})),iY=e=>l.createElement(dr,Object.assign({},e,{showSearch:!0,size:"middle"}));aY.Option=dr.Option;iY.Option=dr.Option;const mEe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},hEe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:G(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:G(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:G(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` - &${t}-mini ${t}-prev ${t}-item-link, - &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:G(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:G(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:G(e.itemSizeSM),input:Object.assign(Object.assign({},ik(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},vEe=e=>{const{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:G(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:G(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${G(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${G(e.inputOutlineOffset)} 0 ${G(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},bEe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` - ${t}-prev, - ${t}-jump-prev, - ${t}-jump-next - `]:{marginInlineEnd:e.marginXS},[` - ${t}-prev, - ${t}-next, - ${t}-jump-prev, - ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:G(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${G(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:G(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},Ym(e)),ek(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},rx(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},yEe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:G(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${G(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${G(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},xEe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:G(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),yEe(e)),bEe(e)),vEe(e)),hEe(e)),mEe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},SEe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},co(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Ps(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Ps(e))}}}},oY=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},Km(e)),sY=e=>zt(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},qm(e)),wEe=an("Pagination",e=>{const t=sY(e);return[xEe(t),SEe(t)]},oY),CEe=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},EEe=uu(["Pagination","bordered"],e=>{const t=sY(e);return[CEe(t)]},oY);var IEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{align:t,prefixCls:n,selectPrefixCls:r,className:a,rootClassName:i,style:o,size:s,locale:c,selectComponentClass:u,responsive:d,showSizeChanger:p}=e,g=IEe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:m}=Uy(d),[,h]=ia(),{getPrefixCls:b,direction:y,pagination:S={}}=l.useContext(st),v=b("pagination",n),[x,w,C]=wEe(v),E=p??S.showSizeChanger,I=l.useMemo(()=>{const O=l.createElement("span",{className:`${v}-item-ellipsis`},"•••"),k=l.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},y==="rtl"?l.createElement(pi,null):l.createElement(Bs,null)),N=l.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},y==="rtl"?l.createElement(Bs,null):l.createElement(pi,null)),A=l.createElement("a",{className:`${v}-item-link`},l.createElement("div",{className:`${v}-item-container`},y==="rtl"?l.createElement(oL,{className:`${v}-item-link-icon`}):l.createElement(iL,{className:`${v}-item-link-icon`}),O)),L=l.createElement("a",{className:`${v}-item-link`},l.createElement("div",{className:`${v}-item-container`},y==="rtl"?l.createElement(iL,{className:`${v}-item-link-icon`}):l.createElement(oL,{className:`${v}-item-link-icon`}),O));return{prevIcon:k,nextIcon:N,jumpPrevIcon:A,jumpNextIcon:L}},[y,v]),[T]=us("Pagination",gV),_=Object.assign(Object.assign({},T),c),R=zr(s),$=R==="small"||!!(m&&!R&&d),M=b("select",r),P=oe({[`${v}-${t}`]:!!t,[`${v}-mini`]:$,[`${v}-rtl`]:y==="rtl",[`${v}-bordered`]:h.wireframe},S==null?void 0:S.className,a,i,w,C),D=Object.assign(Object.assign({},S==null?void 0:S.style),o);return x(l.createElement(l.Fragment,null,h.wireframe&&l.createElement(EEe,{prefixCls:v}),l.createElement(gEe,Object.assign({},I,g,{style:D,prefixCls:v,selectPrefixCls:M,className:P,selectComponentClass:u||($?aY:iY),locale:_,showSizeChanger:E}))))},h0=100,lY=h0/5,cY=h0/2-lY/2,E1=cY*2*Math.PI,cL=50,uL=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return l.createElement("circle",{className:oe(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:cY,cx:cL,cy:cL,strokeWidth:lY,style:n})},TEe=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,i=`${a}-hidden`,[o,s]=l.useState(!1);Zt(()=>{t!==0&&s(!0)},[t!==0]);const c=Math.max(Math.min(t,100),0);if(!o)return null;const u={strokeDashoffset:`${E1/4}`,strokeDasharray:`${E1*c/100} ${E1*(100-c)/100}`};return l.createElement("span",{className:oe(a,`${r}-progress`,c<=0&&i)},l.createElement("svg",{viewBox:`0 0 ${h0} ${h0}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},l.createElement(uL,{dotClassName:r,hasCircleCls:!0}),l.createElement(uL,{dotClassName:r,style:u})))};function REe(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,a=`${r}-holder`,i=`${a}-hidden`;return l.createElement(l.Fragment,null,l.createElement("span",{className:oe(a,n>0&&i)},l.createElement("span",{className:oe(r,`${t}-dot-spin`)},[1,2,3,4].map(o=>l.createElement("i",{className:`${t}-dot-item`,key:o})))),l.createElement(TEe,{prefixCls:t,percent:n}))}function _Ee(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&l.isValidElement(n)?kr(n,{className:oe(n.props.className,a),percent:r}):l.createElement(REe,{prefixCls:t,percent:r})}const $Ee=new nn("antSpinMove",{to:{opacity:1}}),OEe=new nn("antRotate",{to:{transform:"rotate(405deg)"}}),NEe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$Ee,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:OEe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},kEe=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},AEe=an("Spin",e=>{const t=zt(e,{spinDotDefault:e.colorTextDescription});return[NEe(t)]},kEe),DEe=200,dL=[[30,.05],[70,.03],[96,.01]];function MEe(e,t){const[n,r]=l.useState(0),a=l.useRef(),i=t==="auto";return l.useEffect(()=>(i&&e&&(r(0),a.current=setInterval(()=>{r(o=>{const s=100-o;for(let c=0;c{clearInterval(a.current)}),[i,e]),i?n:t}var PEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,spinning:r=!0,delay:a=0,className:i,rootClassName:o,size:s="default",tip:c,wrapperClassName:u,style:d,children:p,fullscreen:g=!1,indicator:m,percent:h}=e,b=PEe(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:y,direction:S,spin:v}=l.useContext(st),x=y("spin",n),[w,C,E]=AEe(x),[I,T]=l.useState(()=>r&&!LEe(r,a)),_=MEe(I,h);l.useEffect(()=>{if(r){const k=Axe(a,()=>{T(!0)});return k(),()=>{var N;(N=k==null?void 0:k.cancel)===null||N===void 0||N.call(k)}}T(!1)},[a,r]);const R=l.useMemo(()=>typeof p<"u"&&!g,[p,g]),$=oe(x,v==null?void 0:v.className,{[`${x}-sm`]:s==="small",[`${x}-lg`]:s==="large",[`${x}-spinning`]:I,[`${x}-show-text`]:!!c,[`${x}-rtl`]:S==="rtl"},i,!g&&o,C,E),M=oe(`${x}-container`,{[`${x}-blur`]:I}),P=(t=m??(v==null?void 0:v.indicator))!==null&&t!==void 0?t:uY,D=Object.assign(Object.assign({},v==null?void 0:v.style),d),O=l.createElement("div",Object.assign({},b,{style:D,className:$,"aria-live":"polite","aria-busy":I}),l.createElement(_Ee,{prefixCls:x,indicator:P,percent:_}),c&&(R||g)?l.createElement("div",{className:`${x}-text`},c):null);return w(R?l.createElement("div",Object.assign({},b,{className:oe(`${x}-nested-loading`,u,C,E)}),I&&l.createElement("div",{key:"loading"},O),l.createElement("div",{className:M,key:"container"},p)):g?l.createElement("div",{className:oe(`${x}-fullscreen`,{[`${x}-fullscreen-show`]:I},o,C,E)},O):O)};nc.setDefaultIndicator=e=>{uY=e};const vk=de.createContext({});vk.Consumer;var dY=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,avatar:r,title:a,description:i}=e,o=dY(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=l.useContext(st),c=s("list",t),u=oe(`${c}-item-meta`,n),d=de.createElement("div",{className:`${c}-item-meta-content`},a&&de.createElement("h4",{className:`${c}-item-meta-title`},a),i&&de.createElement("div",{className:`${c}-item-meta-description`},i));return de.createElement("div",Object.assign({},o,{className:u}),r&&de.createElement("div",{className:`${c}-item-meta-avatar`},r),(a||i)&&d)},FEe=de.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:i,styles:o,className:s,classNames:c,colStyle:u}=e,d=dY(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:p,itemLayout:g}=l.useContext(vk),{getPrefixCls:m,list:h}=l.useContext(st),b=I=>{var T,_;return oe((_=(T=h==null?void 0:h.item)===null||T===void 0?void 0:T.classNames)===null||_===void 0?void 0:_[I],c==null?void 0:c[I])},y=I=>{var T,_;return Object.assign(Object.assign({},(_=(T=h==null?void 0:h.item)===null||T===void 0?void 0:T.styles)===null||_===void 0?void 0:_[I]),o==null?void 0:o[I])},S=()=>{let I=!1;return l.Children.forEach(r,T=>{typeof T=="string"&&(I=!0)}),I&&l.Children.count(r)>1},v=()=>g==="vertical"?!!i:!S(),x=m("list",n),w=a&&a.length>0&&de.createElement("ul",{className:oe(`${x}-item-action`,b("actions")),key:"actions",style:y("actions")},a.map((I,T)=>de.createElement("li",{key:`${x}-item-action-${T}`},I,T!==a.length-1&&de.createElement("em",{className:`${x}-item-action-split`})))),C=p?"div":"li",E=de.createElement(C,Object.assign({},d,p?{}:{ref:t},{className:oe(`${x}-item`,{[`${x}-item-no-flex`]:!v()},s)}),g==="vertical"&&i?[de.createElement("div",{className:`${x}-item-main`,key:"content"},r,w),de.createElement("div",{className:oe(`${x}-item-extra`,b("extra")),key:"extra",style:y("extra")},i)]:[r,w,kr(i,{key:"extra"})]);return p?de.createElement(En,{ref:t,flex:1,style:u},E):E}),bk=FEe;bk.Meta=jEe;const BEe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:i,itemPaddingLG:o,marginLG:s,borderRadiusLG:c}=e;return{[t]:{border:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${G(a)} ${G(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},zEe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:i,margin:o}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${G(o)}`}}}}}},HEe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:i,marginLG:o,padding:s,itemPadding:c,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:p,paddingXS:g,margin:m,colorText:h,colorTextDescription:b,motionDurationSlow:y,lineWidth:S,headerBg:v,footerBg:x,emptyTextPadding:w,metaMarginBottom:C,avatarMarginRight:E,titleMarginBottom:I,descriptionFontSize:T}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:x},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:o,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:h,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:E},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:h},[`${t}-item-meta-title`]:{margin:`0 0 ${G(e.marginXXS)} 0`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:h,transition:`all ${y}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:b,fontSize:T,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${G(g)}`,color:b,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:S,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${G(s)} 0`,color:b,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:w,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:m,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:C,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:I,color:h,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${G(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${G(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:p},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},UEe=e=>({contentWidth:220,itemPadding:`${G(e.paddingContentVertical)} 0`,itemPaddingSM:`${G(e.paddingContentVerticalSM)} ${G(e.paddingContentHorizontal)}`,itemPaddingLG:`${G(e.paddingContentVerticalLG)} ${G(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),VEe=an("List",e=>{const t=zt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[HEe(t),BEe(t),zEe(t)]},UEe);var WEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a(ne,ue)=>{var me;T(ne),R(ue),n&&((me=n==null?void 0:n[ge])===null||me===void 0||me.call(n,ne,ue))},N=k("onChange"),A=k("onShowSizeChange"),L=(ge,ne)=>{if(!x)return null;let ue;return typeof v=="function"?ue=v(ge):v?ue=ge[v]:ue=ge.key,ue||(ue=`list-item-${ne}`),l.createElement(l.Fragment,{key:ue},x(ge,ne))},j=()=>!!(p||n||y),F=$("list",r),[B,z,U]=VEe(F);let H=S;typeof H=="boolean"&&(H={spinning:H});const K=!!(H!=null&&H.spinning),Y=zr(h);let ee="";switch(Y){case"large":ee="lg";break;case"small":ee="sm";break}const ae=oe(F,{[`${F}-vertical`]:d==="vertical",[`${F}-${ee}`]:ee,[`${F}-split`]:i,[`${F}-bordered`]:a,[`${F}-loading`]:K,[`${F}-grid`]:!!g,[`${F}-something-after-last-item`]:j(),[`${F}-rtl`]:P==="rtl"},D==null?void 0:D.className,o,s,z,U),W=rY(O,{total:m.length,current:I,pageSize:_},n||{}),q=Math.ceil(W.total/W.pageSize);W.current>q&&(W.current=q);const Z=n&&l.createElement("div",{className:oe(`${F}-pagination`)},l.createElement(hk,Object.assign({align:"end"},W,{onChange:N,onShowSizeChange:A})));let Q=Me(m);n&&m.length>(W.current-1)*W.pageSize&&(Q=Me(m).splice((W.current-1)*W.pageSize,W.pageSize));const J=Object.keys(g||{}).some(ge=>["xs","sm","md","lg","xl","xxl"].includes(ge)),le=Uy(J),ce=l.useMemo(()=>{for(let ge=0;ge{if(!g)return;const ge=ce&&g[ce]?g[ce]:g.column;if(ge)return{width:`${100/ge}%`,maxWidth:`${100/ge}%`}},[JSON.stringify(g),ce]);let te=K&&l.createElement("div",{style:{minHeight:53}});if(Q.length>0){const ge=Q.map((ne,ue)=>L(ne,ue));te=g?l.createElement(da,{gutter:g.gutter},l.Children.map(ge,ne=>l.createElement("div",{key:ne==null?void 0:ne.key,style:pe},ne))):l.createElement("ul",{className:`${F}-items`},ge)}else!u&&!K&&(te=l.createElement("div",{className:`${F}-empty-text`},(w==null?void 0:w.emptyText)||(M==null?void 0:M("List"))||l.createElement(zy,{componentName:"List"})));const ie=W.position||"bottom",fe=l.useMemo(()=>({grid:g,itemLayout:d}),[JSON.stringify(g),d]);return B(l.createElement(vk.Provider,{value:fe},l.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},D==null?void 0:D.style),c),className:ae},C),(ie==="top"||ie==="both")&&Z,b&&l.createElement("div",{className:`${F}-header`},b),l.createElement(nc,Object.assign({},H),te,u),y&&l.createElement("div",{className:`${F}-footer`},y),p||(ie==="bottom"||ie==="both")&&Z)))}const qEe=l.forwardRef(GEe),Rr=qEe;Rr.Item=bk;function KEe(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&e==null?[]:Array.isArray(e)?e:[e]}var YEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:i,title:o,children:s,footer:c}=e,u=YEe(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=l.useContext(st),p=d(),g=t||d("modal"),m=ir(p),[h,b,y]=PW(g,m),S=`${g}-confirm`;let v={};return i?v={closable:a??!1,title:"",footer:"",children:l.createElement(jW,Object.assign({},e,{prefixCls:g,confirmPrefixCls:S,rootPrefixCls:p,content:s}))}:v={closable:a??!0,title:o,footer:c!==null&&l.createElement(kW,Object.assign({},e)),children:s},h(l.createElement(vW,Object.assign({prefixCls:g,className:oe(b,`${g}-pure-panel`,i&&S,i&&`${S}-${i}`,n,y,m)},u,{closeIcon:NW(g,r),closable:a},v)))},ZEe=JW(XEe);function fY(e){return jm(HW(e))}const _n=LW;_n.useModal=rge;_n.info=function(t){return jm(UW(t))};_n.success=function(t){return jm(VW(t))};_n.error=function(t){return jm(WW(t))};_n.warning=fY;_n.warn=fY;_n.confirm=function(t){return jm(GW(t))};_n.destroyAll=function(){for(;Ec.length;){const t=Ec.pop();t&&t()}};_n.config=Qpe;_n._InternalPanelDoNotUseOrYouWillBeFired=ZEe;let To=null,sb=e=>e(),v0=[],em={};function fL(){const{getContainer:e,rtl:t,maxCount:n,top:r,bottom:a,showProgress:i,pauseOnHover:o}=em,s=(e==null?void 0:e())||document.body;return{getContainer:()=>s,rtl:t,maxCount:n,top:r,bottom:a,showProgress:i,pauseOnHover:o}}const QEe=de.forwardRef((e,t)=>{const{notificationConfig:n,sync:r}=e,{getPrefixCls:a}=l.useContext(st),i=em.prefixCls||a("notification"),o=l.useContext(Ige),[s,c]=QW(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),o.notification));return de.useEffect(r,[]),de.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return r(),s[d].apply(s,arguments)}}),{instance:u,sync:r}}),c}),JEe=de.forwardRef((e,t)=>{const[n,r]=de.useState(fL),a=()=>{r(fL)};de.useEffect(a,[]);const i=UV(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=de.createElement(QEe,{ref:t,sync:a,notificationConfig:n});return de.createElement(zo,{prefixCls:o,iconPrefixCls:s,theme:c},i.holderRender?i.holderRender(u):u)});function yk(){if(!To){const e=document.createDocumentFragment(),t={fragment:e};To=t,sb(()=>{gN(de.createElement(JEe,{ref:n=>{const{instance:r,sync:a}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=a,yk())})}}),e)});return}To.instance&&(v0.forEach(e=>{switch(e.type){case"open":{sb(()=>{To.instance.open(Object.assign(Object.assign({},em),e.config))});break}case"destroy":sb(()=>{To==null||To.instance.destroy(e.key)});break}}),v0=[])}function e2e(e){em=Object.assign(Object.assign({},em),e),sb(()=>{var t;(t=To==null?void 0:To.sync)===null||t===void 0||t.call(To)})}function pY(e){v0.push({type:"open",config:e}),yk()}const t2e=e=>{v0.push({type:"destroy",key:e}),yk()},n2e=["success","info","warning","error"],r2e={open:pY,destroy:t2e,config:e2e,useNotification:Ege,_InternalPanelDoNotUseOrYouWillBeFired:mge},lb=r2e;n2e.forEach(e=>{lb[e]=t=>pY(Object.assign(Object.assign({},t),{type:e}))});var a2e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},i2e=function(){var t=l.useRef([]),n=l.useRef(null);return l.useEffect(function(){var r=Date.now(),a=!1;t.current.forEach(function(i){if(i){a=!0;var o=i.style;o.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(o.transitionDuration="0s, 0s")}}),a&&(n.current=Date.now())}),t.current},pL=0,o2e=ma();function s2e(){var e;return o2e?(e=pL,pL+=1):e="TEST_OR_SSR",e}const l2e=function(e){var t=l.useState(),n=se(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_progress_".concat(s2e()))},[]),e||r};var gL=function(t){var n=t.bg,r=t.children;return l.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function mL(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),a="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(a)})}var c2e=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,a=e.gradientId,i=e.radius,o=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,g=r&&mt(r)==="object",m=g?"#FFF":void 0,h=d/2,b=l.createElement("circle",{className:"".concat(n,"-circle-path"),r:i,cx:h,cy:h,stroke:m,strokeLinecap:c,strokeWidth:u,opacity:s===0?0:1,style:o,ref:t});if(!g)return b;var y="".concat(a,"-conic"),S=p?"".concat(180+p/2,"deg"):"0deg",v=mL(r,(360-p)/360),x=mL(r,1),w="conic-gradient(from ".concat(S,", ").concat(v.join(", "),")"),C="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(x.join(", "),")");return l.createElement(l.Fragment,null,l.createElement("mask",{id:y},b),l.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(y,")")},l.createElement(gL,{bg:C},l.createElement(gL,{bg:w}))))}),Op=100,I1=function(t,n,r,a,i,o,s,c,u,d){var p=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,g=r/100*360*((360-o)/360),m=o===0?0:{bottom:0,top:180,left:90,right:-90}[s],h=(100-a)/100*n;u==="round"&&a!==100&&(h+=d/2,h>=n&&(h=n-.01));var b=Op/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:h+p,transform:"rotate(".concat(i+g+m,"deg)"),transformOrigin:"".concat(b,"px ").concat(b,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},u2e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function hL(e){var t=e??[];return Array.isArray(t)?t:[t]}var d2e=function(t){var n=X(X({},a2e),t),r=n.id,a=n.prefixCls,i=n.steps,o=n.strokeWidth,s=n.trailWidth,c=n.gapDegree,u=c===void 0?0:c,d=n.gapPosition,p=n.trailColor,g=n.strokeLinecap,m=n.style,h=n.className,b=n.strokeColor,y=n.percent,S=Ct(n,u2e),v=Op/2,x=l2e(r),w="".concat(x,"-gradient"),C=v-o/2,E=Math.PI*2*C,I=u>0?90+u/2:-90,T=E*((360-u)/360),_=mt(i)==="object"?i:{count:i,gap:2},R=_.count,$=_.gap,M=hL(y),P=hL(b),D=P.find(function(F){return F&&mt(F)==="object"}),O=D&&mt(D)==="object",k=O?"butt":g,N=I1(E,T,0,100,I,u,d,p,k,o),A=i2e(),L=function(){var B=0;return M.map(function(z,U){var H=P[U]||P[P.length-1],K=I1(E,T,B,z,I,u,d,H,k,o);return B+=z,l.createElement(c2e,{key:U,color:H,ptg:z,radius:C,prefixCls:a,gradientId:w,style:K,strokeLinecap:k,strokeWidth:o,gapDegree:u,ref:function(ee){A[U]=ee},size:Op})}).reverse()},j=function(){var B=Math.round(R*(M[0]/100)),z=100/R,U=0;return new Array(R).fill(null).map(function(H,K){var Y=K<=B-1?P[0]:p,ee=Y&&mt(Y)==="object"?"url(#".concat(w,")"):void 0,ae=I1(E,T,U,z,I,u,d,Y,"butt",o,$);return U+=(T-ae.strokeDashoffset+$)*100/T,l.createElement("circle",{key:K,className:"".concat(a,"-circle-path"),r:C,cx:v,cy:v,stroke:ee,strokeWidth:o,opacity:1,style:ae,ref:function(q){A[K]=q}})})};return l.createElement("svg",be({className:oe("".concat(a,"-circle"),h),viewBox:"0 0 ".concat(Op," ").concat(Op),style:m,id:r,role:"presentation"},S),!R&&l.createElement("circle",{className:"".concat(a,"-circle-trail"),r:C,cx:v,cy:v,stroke:p,strokeLinecap:k,strokeWidth:s||o,style:N}),R?j():L())};function Dl(e){return!e||e<0?0:e>100?100:e}function b0(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const f2e=e=>{let{percent:t,success:n,successPercent:r}=e;const a=Dl(b0({success:n,successPercent:r}));return[a,Dl(Dl(t)-a)]},p2e=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||$d.green,n||null]},ux=(e,t,n)=>{var r,a,i,o;let s=-1,c=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,c=d??8):typeof e=="number"?[s,c]=[e,e]:[s=14,c=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?c=u||(e==="small"?6:8):typeof e=="number"?[s,c]=[e,e]:[s=-1,c=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,c]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,c]=[e,e]:Array.isArray(e)&&(s=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,c=(o=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&o!==void 0?o:120));return[s,c]},g2e=3,m2e=e=>g2e/e*100,h2e=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:a,gapDegree:i,width:o=120,type:s,children:c,success:u,size:d=o,steps:p}=e,[g,m]=ux(d,"circle");let{strokeWidth:h}=e;h===void 0&&(h=Math.max(m2e(g),6));const b={width:g,height:m,fontSize:g*.15+6},y=l.useMemo(()=>{if(i||i===0)return i;if(s==="dashboard")return 75},[i,s]),S=f2e(e),v=a||s==="dashboard"&&"bottom"||void 0,x=Object.prototype.toString.call(e.strokeColor)==="[object Object]",w=p2e({success:u,strokeColor:e.strokeColor}),C=oe(`${t}-inner`,{[`${t}-circle-gradient`]:x}),E=l.createElement(d2e,{steps:p,percent:p?S[1]:S,strokeWidth:h,trailWidth:h,strokeColor:p?w[1]:w,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:y,gapPosition:v}),I=g<=20,T=l.createElement("div",{className:C,style:b},E,!I&&c);return I?l.createElement(Ft,{title:c},T):T},y0="--progress-line-stroke-color",gY="--progress-percent",vL=e=>{const t=e?"100%":"-100%";return new nn(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},v2e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${y0})`]},height:"100%",width:`calc(1 / var(${gY}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${G(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:vL(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:vL(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},b2e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},y2e=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},x2e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},S2e=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),w2e=an("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=zt(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[v2e(n),b2e(n),y2e(n),x2e(n)]},S2e);var C2e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:a}=n;return`${a} ${r}%`}).join(", ")},I2e=(e,t)=>{const{from:n=$d.blue,to:r=$d.blue,direction:a=t==="rtl"?"to left":"to right"}=e,i=C2e(e,["from","to","direction"]);if(Object.keys(i).length!==0){const s=E2e(i),c=`linear-gradient(${a}, ${s})`;return{background:c,[y0]:c}}const o=`linear-gradient(${a}, ${n}, ${r})`;return{background:o,[y0]:o}},T2e=e=>{const{prefixCls:t,direction:n,percent:r,size:a,strokeWidth:i,strokeColor:o,strokeLinecap:s="round",children:c,trailColor:u=null,percentPosition:d,success:p}=e,{align:g,type:m}=d,h=o&&typeof o!="string"?I2e(o,n):{[y0]:o,background:o},b=s==="square"||s==="butt"?0:void 0,y=a??[-1,i||(a==="small"?6:8)],[S,v]=ux(y,"line",{strokeWidth:i}),x={backgroundColor:u||void 0,borderRadius:b},w=Object.assign(Object.assign({width:`${Dl(r)}%`,height:v,borderRadius:b},h),{[gY]:Dl(r)/100}),C=b0(e),E={width:`${Dl(C)}%`,height:v,borderRadius:b,backgroundColor:p==null?void 0:p.strokeColor},I={width:S<0?"100%":S},T=l.createElement("div",{className:`${t}-inner`,style:x},l.createElement("div",{className:oe(`${t}-bg`,`${t}-bg-${m}`),style:w},m==="inner"&&c),C!==void 0&&l.createElement("div",{className:`${t}-success-bg`,style:E})),_=m==="outer"&&g==="start",R=m==="outer"&&g==="end";return m==="outer"&&g==="center"?l.createElement("div",{className:`${t}-layout-bottom`},T,c):l.createElement("div",{className:`${t}-outer`,style:I},_&&c,T,R&&c)},R2e=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:a=8,strokeColor:i,trailColor:o=null,prefixCls:s,children:c}=e,u=Math.round(n*(r/100)),p=t??[t==="small"?2:14,a],[g,m]=ux(p,"step",{steps:n,strokeWidth:a}),h=g/n,b=new Array(n);for(let y=0;y{const{prefixCls:n,className:r,rootClassName:a,steps:i,strokeColor:o,percent:s=0,size:c="default",showInfo:u=!0,type:d="line",status:p,format:g,style:m,percentPosition:h={}}=e,b=_2e(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:y="end",type:S="outer"}=h,v=Array.isArray(o)?o[0]:o,x=typeof o=="string"||Array.isArray(o)?o:void 0,w=l.useMemo(()=>{if(v){const L=typeof v=="string"?v:Object.values(v)[0];return new cn(L).isLight()}return!1},[o]),C=l.useMemo(()=>{var L,j;const F=b0(e);return parseInt(F!==void 0?(L=F??0)===null||L===void 0?void 0:L.toString():(j=s??0)===null||j===void 0?void 0:j.toString(),10)},[s,e.success,e.successPercent]),E=l.useMemo(()=>!$2e.includes(p)&&C>=100?"success":p||"normal",[p,C]),{getPrefixCls:I,direction:T,progress:_}=l.useContext(st),R=I("progress",n),[$,M,P]=w2e(R),D=d==="line",O=D&&!i,k=l.useMemo(()=>{if(!u)return null;const L=b0(e);let j;const F=g||(z=>`${z}%`),B=D&&w&&S==="inner";return S==="inner"||g||E!=="exception"&&E!=="success"?j=F(Dl(s),Dl(L)):E==="exception"?j=D?l.createElement(Ql,null):l.createElement(va,null):E==="success"&&(j=D?l.createElement(Ef,null):l.createElement($f,null)),l.createElement("span",{className:oe(`${R}-text`,{[`${R}-text-bright`]:B,[`${R}-text-${y}`]:O,[`${R}-text-${S}`]:O}),title:typeof j=="string"?j:void 0},j)},[u,s,C,E,d,R,g]);let N;d==="line"?N=i?l.createElement(R2e,Object.assign({},e,{strokeColor:x,prefixCls:R,steps:typeof i=="object"?i.count:i}),k):l.createElement(T2e,Object.assign({},e,{strokeColor:v,prefixCls:R,direction:T,percentPosition:{align:y,type:S}}),k):(d==="circle"||d==="dashboard")&&(N=l.createElement(h2e,Object.assign({},e,{strokeColor:v,prefixCls:R,progressStatus:E}),k));const A=oe(R,`${R}-status-${E}`,{[`${R}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${R}-inline-circle`]:d==="circle"&&ux(c,"circle")[0]<=20,[`${R}-line`]:O,[`${R}-line-align-${y}`]:O,[`${R}-line-position-${S}`]:O,[`${R}-steps`]:i,[`${R}-show-info`]:u,[`${R}-${c}`]:typeof c=="string",[`${R}-rtl`]:T==="rtl"},_==null?void 0:_.className,r,a,M,P);return $(l.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},_==null?void 0:_.style),m),className:A,role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":100},Dn(b,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),N))});var O2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},N2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:O2e}))},k2e=l.forwardRef(N2e),A2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},D2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:A2e}))},mY=l.forwardRef(D2e),M2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},P2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:M2e}))},L2e=l.forwardRef(P2e),j2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},F2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:j2e}))},B2e=l.forwardRef(F2e),z2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},H2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:z2e}))},U2e=l.forwardRef(H2e),V2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},W2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:V2e}))},G2e=l.forwardRef(W2e),q2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},K2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:q2e}))},Y2e=l.forwardRef(K2e),X2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Z2e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:X2e}))},Q2e=l.forwardRef(Z2e),J2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},eIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:J2e}))},Y_=l.forwardRef(eIe),tIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"check-square",theme:"outlined"},nIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:tIe}))},X_=l.forwardRef(nIe),rIe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},aIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:rIe}))},bL=l.forwardRef(aIe),iIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},oIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:iIe}))},hY=l.forwardRef(oIe),sIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},lIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:sIe}))},x0=l.forwardRef(lIe),cIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},uIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:cIe}))},dIe=l.forwardRef(uIe),fIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},pIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:fIe}))},xk=l.forwardRef(pIe),gIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},mIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:gIe}))},hIe=l.forwardRef(mIe),vIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},bIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:vIe}))},yIe=l.forwardRef(bIe),xIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},SIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:xIe}))},fx=l.forwardRef(SIe),wIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},CIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:wIe}))},Hl=l.forwardRef(CIe),EIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},IIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:EIe}))},Np=l.forwardRef(IIe),TIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},RIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:TIe}))},_Ie=l.forwardRef(RIe),$Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},OIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:$Ie}))},eh=l.forwardRef(OIe),NIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},kIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:NIe}))},Ul=l.forwardRef(kIe),AIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},DIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:AIe}))},MIe=l.forwardRef(DIe),PIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},LIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:PIe}))},jIe=l.forwardRef(LIe),FIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},BIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:FIe}))},vY=l.forwardRef(BIe),zIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},HIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:zIe}))},UIe=l.forwardRef(HIe),VIe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},WIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:VIe}))},GIe=l.forwardRef(WIe),qIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},KIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:qIe}))},YIe=l.forwardRef(KIe),XIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},ZIe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:XIe}))},QIe=l.forwardRef(ZIe),JIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},eTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:JIe}))},cb=l.forwardRef(eTe),tTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},nTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:tTe}))},Sk=l.forwardRef(nTe),rTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},aTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:rTe}))},Pc=l.forwardRef(aTe),iTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},oTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:iTe}))},bY=l.forwardRef(oTe),sTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},lTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:sTe}))},yY=l.forwardRef(lTe),cTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},uTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:cTe}))},dTe=l.forwardRef(uTe),fTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},pTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:fTe}))},gTe=l.forwardRef(pTe),mTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},hTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:mTe}))},vTe=l.forwardRef(hTe),bTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},yTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:bTe}))},xTe=l.forwardRef(yTe),STe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},wTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:STe}))},CTe=l.forwardRef(wTe),ETe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},ITe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:ETe}))},wk=l.forwardRef(ITe),TTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},RTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:TTe}))},no=l.forwardRef(RTe),_Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},$Te=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:_Te}))},OTe=l.forwardRef($Te),NTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},kTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:NTe}))},ATe=l.forwardRef(kTe),DTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},MTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:DTe}))},xY=l.forwardRef(MTe),PTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},LTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:PTe}))},jTe=l.forwardRef(LTe),FTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},BTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:FTe}))},zTe=l.forwardRef(BTe),HTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},UTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:HTe}))},SY=l.forwardRef(UTe),VTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},WTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:VTe}))},GTe=l.forwardRef(WTe),qTe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},KTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:qTe}))},YTe=l.forwardRef(KTe),XTe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},ZTe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:XTe}))},QTe=l.forwardRef(ZTe),JTe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},eRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:JTe}))},S0=l.forwardRef(eRe),tRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},nRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:tRe}))},rRe=l.forwardRef(nRe),aRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},iRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:aRe}))},oRe=l.forwardRef(iRe),sRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},lRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:sRe}))},yL=l.forwardRef(lRe),cRe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},uRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:cRe}))},dRe=l.forwardRef(uRe),fRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},pRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:fRe}))},Oi=l.forwardRef(pRe),gRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},mRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:gRe}))},wY=l.forwardRef(mRe),hRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},vRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:hRe}))},bRe=l.forwardRef(vRe),yRe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},xRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:yRe}))},xL=l.forwardRef(xRe),SRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},wRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:SRe}))},w0=l.forwardRef(wRe),CRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},ERe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:CRe}))},Ck=l.forwardRef(ERe),IRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},TRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:IRe}))},CY=l.forwardRef(TRe),RRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},_Re=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:RRe}))},Ek=l.forwardRef(_Re),$Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},ORe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:$Re}))},NRe=l.forwardRef(ORe),kRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},ARe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:kRe}))},EY=l.forwardRef(ARe),DRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},MRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:DRe}))},IY=l.forwardRef(MRe),PRe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},LRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:PRe}))},jRe=l.forwardRef(LRe),FRe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},BRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:FRe}))},zRe=l.forwardRef(BRe),HRe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},URe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:HRe}))},VRe=l.forwardRef(URe),WRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},GRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:WRe}))},TY=l.forwardRef(GRe),qRe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},KRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:qRe}))},RY=l.forwardRef(KRe),YRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},XRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:YRe}))},ZRe=l.forwardRef(XRe),QRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},JRe=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:QRe}))},_Y=l.forwardRef(JRe),e_e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},t_e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:e_e}))},n_e=l.forwardRef(t_e),r_e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a_e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:r_e}))},i_e=l.forwardRef(a_e),o_e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},s_e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:o_e}))},$Y=l.forwardRef(s_e),l_e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},c_e=function(t,n){return l.createElement(Je,be({},t,{ref:n,icon:l_e}))},Z_=l.forwardRef(c_e),u_e=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function SL(e){return typeof e=="string"}function OY(e){var t,n=e.className,r=e.prefixCls,a=e.style,i=e.active,o=e.status,s=e.iconPrefix,c=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,p=e.description,g=e.title,m=e.subTitle,h=e.progressDot,b=e.stepIcon,y=e.tailContent,S=e.icons,v=e.stepIndex,x=e.onStepClick,w=e.onClick,C=e.render,E=Ct(e,u_e),I=!!x&&!d,T={};I&&(T.role="button",T.tabIndex=0,T.onClick=function(D){w==null||w(D),x(v)},T.onKeyDown=function(D){var O=D.which;(O===Fe.ENTER||O===Fe.SPACE)&&x(v)});var _=function(){var O,k,N=oe("".concat(r,"-icon"),"".concat(s,"icon"),(O={},V(O,"".concat(s,"icon-").concat(c),c&&SL(c)),V(O,"".concat(s,"icon-check"),!c&&o==="finish"&&(S&&!S.finish||!S)),V(O,"".concat(s,"icon-cross"),!c&&o==="error"&&(S&&!S.error||!S)),O)),A=l.createElement("span",{className:"".concat(r,"-icon-dot")});return h?typeof h=="function"?k=l.createElement("span",{className:"".concat(r,"-icon")},h(A,{index:u-1,status:o,title:g,description:p})):k=l.createElement("span",{className:"".concat(r,"-icon")},A):c&&!SL(c)?k=l.createElement("span",{className:"".concat(r,"-icon")},c):S&&S.finish&&o==="finish"?k=l.createElement("span",{className:"".concat(r,"-icon")},S.finish):S&&S.error&&o==="error"?k=l.createElement("span",{className:"".concat(r,"-icon")},S.error):c||o==="finish"||o==="error"?k=l.createElement("span",{className:N}):k=l.createElement("span",{className:"".concat(r,"-icon")},u),b&&(k=b({index:u-1,status:o,title:g,description:p,node:k})),k},R=o||"wait",$=oe("".concat(r,"-item"),"".concat(r,"-item-").concat(R),n,(t={},V(t,"".concat(r,"-item-custom"),c),V(t,"".concat(r,"-item-active"),i),V(t,"".concat(r,"-item-disabled"),d===!0),t)),M=X({},a),P=l.createElement("div",be({},E,{className:$,style:M}),l.createElement("div",be({onClick:w},T,{className:"".concat(r,"-item-container")}),l.createElement("div",{className:"".concat(r,"-item-tail")},y),l.createElement("div",{className:"".concat(r,"-item-icon")},_()),l.createElement("div",{className:"".concat(r,"-item-content")},l.createElement("div",{className:"".concat(r,"-item-title")},g,m&&l.createElement("div",{title:typeof m=="string"?m:void 0,className:"".concat(r,"-item-subtitle")},m)),p&&l.createElement("div",{className:"".concat(r,"-item-description")},p))));return C&&(P=C(P)||null),P}var d_e=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function Ik(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,a=e.style,i=a===void 0?{}:a,o=e.className;e.children;var s=e.direction,c=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,p=e.labelPlacement,g=p===void 0?"horizontal":p,m=e.iconPrefix,h=m===void 0?"rc":m,b=e.status,y=b===void 0?"process":b,S=e.size,v=e.current,x=v===void 0?0:v,w=e.progressDot,C=w===void 0?!1:w,E=e.stepIcon,I=e.initial,T=I===void 0?0:I,_=e.icons,R=e.onChange,$=e.itemRender,M=e.items,P=M===void 0?[]:M,D=Ct(e,d_e),O=d==="navigation",k=d==="inline",N=k||C,A=k?"horizontal":c,L=k?void 0:S,j=N?"vertical":g,F=oe(r,"".concat(r,"-").concat(A),o,(t={},V(t,"".concat(r,"-").concat(L),L),V(t,"".concat(r,"-label-").concat(j),A==="horizontal"),V(t,"".concat(r,"-dot"),!!N),V(t,"".concat(r,"-navigation"),O),V(t,"".concat(r,"-inline"),k),t)),B=function(H){R&&x!==H&&R(H)},z=function(H,K){var Y=X({},H),ee=T+K;return y==="error"&&K===x-1&&(Y.className="".concat(r,"-next-error")),Y.status||(ee===x?Y.status=y:ee{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:a}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:a,lineHeight:G(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},p_e=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},g_e=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),o={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${G(i)} ${G(e.paddingXXS)} 0`,margin:`0 ${G(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${G(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(i).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${G(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${G(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-error":o,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${G(e.calc(n).div(2).equal())})`,top:0}},o),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},m_e=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:a}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${G(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(a).div(2).add(e.controlHeightLG).equal()}}}}}},h_e=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:i}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${i}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},Pi),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${G(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${G(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${G(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:a,transition:`width ${i}, inset-inline-start ${i}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${G(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},v_e=e=>{const{antCls:t,componentCls:n,iconSize:r,iconSizeSM:a,processIconColor:i,marginXXS:o,lineWidthBold:s,lineWidth:c,paddingXXS:u}=e,d=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),p=e.calc(a).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:u,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:i}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:u,[`> ${n}-item-container > ${n}-item-tail`]:{top:o,insetInlineStart:e.calc(r).div(2).sub(c).add(u).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(a).div(2).sub(c).add(u).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(r).div(2).add(u).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${G(d)} !important`,height:`${G(d)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(a).div(2).add(u).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${G(p)} !important`,height:`${G(p)} !important`}}}}},b_e=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:a,dotSize:i,motionDurationSlow:o}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${G(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${G(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:G(i),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${o}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(i).sub(a).div(2).equal(),width:a,height:a,lineHeight:G(a),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:e.calc(i).sub(a).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:`${G(e.calc(i).add(e.paddingXS).equal())} 0 ${G(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(a).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(i).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},y_e=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},x_e=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:a,colorTextDescription:i}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${G(e.marginXS)}`,fontSize:r,lineHeight:G(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:G(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:i,fontSize:a},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:G(n),transform:"none"}}}}},S_e=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:G(r)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${G(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${G(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${G(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${G(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:G(n)}}}}},w_e="wait",C_e="process",E_e="finish",I_e="error",uv=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,i=`${e}DescriptionColor`,o=`${e}TailColor`,s=`${e}IconBgColor`,c=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[s],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[a],"&::after":{backgroundColor:t[o]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[i]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[o]}}},T_e=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,a=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[a]:Object.assign({},Ps(e))}},[`${a}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[a]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:G(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${G(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:G(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},uv(w_e,e)),uv(C_e,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),uv(E_e,e)),uv(I_e,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},R_e=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},__e=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),T_e(e)),R_e(e)),f_e(e)),x_e(e)),S_e(e)),p_e(e)),m_e(e)),b_e(e)),h_e(e)),y_e(e)),v_e(e)),g_e(e))}},$_e=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),O_e=an("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:a,colorPrimary:i,colorTextDescription:o,colorTextQuaternary:s,colorError:c,colorBorderSecondary:u,colorSplit:d}=e,p=zt(e,{processIconColor:r,processTitleColor:a,processDescriptionColor:a,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:d,waitTitleColor:o,waitDescriptionColor:o,waitTailColor:d,waitDotColor:t,finishIconColor:i,finishTitleColor:a,finishDescriptionColor:o,finishTailColor:i,finishDotColor:i,errorIconColor:r,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:i,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[__e(p)]},$_e);function N_e(e){return e.filter(t=>t)}function k_e(e,t){if(e)return e;const n=Nr(t).map(r=>{if(l.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return N_e(n)}var A_e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{percent:t,size:n,className:r,rootClassName:a,direction:i,items:o,responsive:s=!0,current:c=0,children:u,style:d}=e,p=A_e(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:g}=Uy(s),{getPrefixCls:m,direction:h,steps:b}=l.useContext(st),y=l.useMemo(()=>s&&g?"vertical":i,[g,i]),S=zr(n),v=m("steps",e.prefixCls),[x,w,C]=O_e(v),E=e.type==="inline",I=m("",e.iconPrefix),T=k_e(o,u),_=E?void 0:t,R=Object.assign(Object.assign({},b==null?void 0:b.style),d),$=oe(b==null?void 0:b.className,{[`${v}-rtl`]:h==="rtl",[`${v}-with-progress`]:_!==void 0},r,a,w,C),M={finish:l.createElement($f,{className:`${v}-finish-icon`}),error:l.createElement(va,{className:`${v}-error-icon`})},P=O=>{let{node:k,status:N}=O;if(N==="process"&&_!==void 0){const A=S==="small"?32:40;return l.createElement("div",{className:`${v}-progress-icon`},l.createElement(dx,{type:"circle",percent:_,size:A,strokeWidth:4,format:()=>null}),k)}return k},D=(O,k)=>O.description?l.createElement(Ft,{title:O.description},k):k;return x(l.createElement(Ik,Object.assign({icons:M},p,{style:R,current:c,size:S,items:T,itemRender:E?D:void 0,stepIcon:P,direction:y,prefixCls:v,iconPrefix:I,className:$})))};qs.Step=Ik.Step;var D_e=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],NY=l.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,i=e.className,o=e.checked,s=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,g=e.onClick,m=e.onChange,h=e.onKeyDown,b=Ct(e,D_e),y=pn(!1,{value:o,defaultValue:s}),S=se(y,2),v=S[0],x=S[1];function w(T,_){var R=v;return c||(R=T,x(R),m==null||m(R,_)),R}function C(T){T.which===Fe.LEFT?w(!1,T):T.which===Fe.RIGHT&&w(!0,T),h==null||h(T)}function E(T){var _=w(!v,T);g==null||g(_,T)}var I=oe(a,i,(n={},V(n,"".concat(a,"-checked"),v),V(n,"".concat(a,"-disabled"),c),n));return l.createElement("button",be({},b,{type:"button",role:"switch","aria-checked":v,disabled:c,className:I,ref:t,onKeyDown:C,onClick:E}),u,l.createElement("span",{className:"".concat(a,"-inner")},l.createElement("span",{className:"".concat(a,"-inner-checked")},d),l.createElement("span",{className:"".concat(a,"-inner-unchecked")},p)))});NY.displayName="Switch";const M_e=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:i,innerMaxMarginSM:o,handleSizeSM:s,calc:c}=e,u=`${t}-inner`,d=G(c(s).add(c(r).mul(2)).equal()),p=G(c(o).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:G(n),[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${p})`,marginInlineEnd:`calc(100% - ${d} + ${p})`},[`${u}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${p})`,marginInlineEnd:`calc(-100% + ${d} - ${p})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${G(c(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},P_e=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},L_e=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:i,calc:o}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:o(i).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${G(o(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},j_e=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:i,handleSize:o,calc:s}=e,c=`${t}-inner`,u=G(s(o).add(s(r).mul(2)).equal()),d=G(s(i).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},F_e=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ln(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:G(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),co(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},B_e=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,i=t*n,o=r/2,s=2,c=i-s*2,u=o-s*2;return{trackHeight:i,trackHeightSM:o,trackMinWidth:c*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:a,handleSize:c,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new cn("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},z_e=an("Switch",e=>{const t=zt(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[F_e(t),j_e(t),L_e(t),P_e(t),M_e(t)]},B_e);var H_e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,size:r,disabled:a,loading:i,className:o,rootClassName:s,style:c,checked:u,value:d,defaultChecked:p,defaultValue:g,onChange:m}=e,h=H_e(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[b,y]=pn(!1,{value:u??d,defaultValue:p??g}),{getPrefixCls:S,direction:v,switch:x}=l.useContext(st),w=l.useContext(ha),C=(a??w)||i,E=S("switch",n),I=l.createElement("div",{className:`${E}-handle`},i&&l.createElement(uo,{className:`${E}-loading-icon`})),[T,_,R]=z_e(E),$=zr(r),M=oe(x==null?void 0:x.className,{[`${E}-small`]:$==="small",[`${E}-loading`]:i,[`${E}-rtl`]:v==="rtl"},o,s,_,R),P=Object.assign(Object.assign({},x==null?void 0:x.style),c),D=function(){y(arguments.length<=0?void 0:arguments[0]),m==null||m.apply(void 0,arguments)};return T(l.createElement(km,{component:"Switch"},l.createElement(NY,Object.assign({},h,{checked:b,onChange:D,prefixCls:E,className:M,style:P,disabled:C,ref:t,loadingIcon:I}))))}),ni=U_e;ni.__ANT_SWITCH=!0;var ul={},th="rc-table-internal-hook";function Tk(e){var t=l.createContext(void 0),n=function(a){var i=a.value,o=a.children,s=l.useRef(i);s.current=i;var c=l.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=se(c,1),d=u[0];return Zt(function(){Zr.unstable_batchedUpdates(function(){d.listeners.forEach(function(p){p(i)})})},[i]),l.createElement(t.Provider,{value:d},o)};return{Context:t,Provider:n,defaultValue:e}}function Oa(e,t){var n=Yt(typeof t=="function"?t:function(p){if(t===void 0)return p;if(!Array.isArray(t))return p[t];var g={};return t.forEach(function(m){g[m]=p[m]}),g}),r=l.useContext(e==null?void 0:e.Context),a=r||{},i=a.listeners,o=a.getValue,s=l.useRef();s.current=n(r?o():e==null?void 0:e.defaultValue);var c=l.useState({}),u=se(c,2),d=u[1];return Zt(function(){if(!r)return;function p(g){var m=n(g);oo(s.current,m,!0)||d({})}return i.add(p),function(){i.delete(p)}},[r]),s.current}function V_e(){var e=l.createContext(null);function t(){return l.useContext(e)}function n(a,i){var o=Po(a),s=function(u,d){var p=o?{ref:d}:{},g=l.useRef(0),m=l.useRef(u),h=t();return h!==null?l.createElement(a,be({},u,p)):((!i||i(m.current,u))&&(g.current+=1),m.current=u,l.createElement(e.Provider,{value:g.current},l.createElement(a,be({},u,p))))};return o?l.forwardRef(s):s}function r(a,i){var o=Po(a),s=function(u,d){var p=o?{ref:d}:{};return t(),l.createElement(a,be({},u,p))};return o?l.memo(l.forwardRef(s),i):l.memo(s,i)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var Rk=V_e(),kY=Rk.makeImmutable,Mf=Rk.responseImmutable,W_e=Rk.useImmutableMark,ei=Tk(),AY=l.createContext({renderWithProps:!1}),G_e="RC_TABLE_KEY";function q_e(e){return e==null?[]:Array.isArray(e)?e:[e]}function px(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},i=a.key,o=a.dataIndex,s=i||q_e(o).join("-")||G_e;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function Q_(e){return e!=null}function K_e(e){return typeof e=="number"&&!Number.isNaN(e)}function Y_e(e){return e&&mt(e)==="object"&&!Array.isArray(e)&&!l.isValidElement(e)}function X_e(e,t,n,r,a,i){var o=l.useContext(AY),s=W_e(),c=Xl(function(){if(Q_(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=Ti(e,u),p=d,g=void 0;if(a){var m=a(d,e,n);Y_e(m)?(p=m.children,g=m.props,o.renderWithProps=!0):p=m}return[p,g]},[s,e,r,t,a,n],function(u,d){if(i){var p=se(u,2),g=p[1],m=se(d,2),h=m[1];return i(h,g)}return o.renderWithProps?!0:!oo(u,d,!0)});return c}function Z_e(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function Q_e(e,t){return Oa(ei,function(n){var r=Z_e(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var J_e=function(t){var n=t.ellipsis,r=t.rowType,a=t.children,i,o=n===!0?{showTitle:!0}:n;return o&&(o.showTitle||r==="header")&&(typeof a=="string"||typeof a=="number"?i=a.toString():l.isValidElement(a)&&typeof a.props.children=="string"&&(i=a.props.children)),i};function e$e(e){var t,n,r,a,i,o,s,c,u=e.component,d=e.children,p=e.ellipsis,g=e.scope,m=e.prefixCls,h=e.className,b=e.align,y=e.record,S=e.render,v=e.dataIndex,x=e.renderIndex,w=e.shouldCellUpdate,C=e.index,E=e.rowType,I=e.colSpan,T=e.rowSpan,_=e.fixLeft,R=e.fixRight,$=e.firstFixLeft,M=e.lastFixLeft,P=e.firstFixRight,D=e.lastFixRight,O=e.appendNode,k=e.additionalProps,N=k===void 0?{}:k,A=e.isSticky,L="".concat(m,"-cell"),j=Oa(ei,["supportSticky","allColumnsFixedLeft","rowHoverable"]),F=j.supportSticky,B=j.allColumnsFixedLeft,z=j.rowHoverable,U=X_e(y,v,x,d,S,w),H=se(U,2),K=H[0],Y=H[1],ee={},ae=typeof _=="number"&&F,W=typeof R=="number"&&F;ae&&(ee.position="sticky",ee.left=_),W&&(ee.position="sticky",ee.right=R);var q=(t=(n=(r=Y==null?void 0:Y.colSpan)!==null&&r!==void 0?r:N.colSpan)!==null&&n!==void 0?n:I)!==null&&t!==void 0?t:1,Z=(a=(i=(o=Y==null?void 0:Y.rowSpan)!==null&&o!==void 0?o:N.rowSpan)!==null&&i!==void 0?i:T)!==null&&a!==void 0?a:1,Q=Q_e(C,Z),J=se(Q,2),le=J[0],ce=J[1],pe=Yt(function(me){var xe;y&&ce(C,C+Z-1),N==null||(xe=N.onMouseEnter)===null||xe===void 0||xe.call(N,me)}),te=Yt(function(me){var xe;y&&ce(-1,-1),N==null||(xe=N.onMouseLeave)===null||xe===void 0||xe.call(N,me)});if(q===0||Z===0)return null;var ie=(s=N.title)!==null&&s!==void 0?s:J_e({rowType:E,ellipsis:p,children:K}),fe=oe(L,h,(c={},V(V(V(V(V(V(V(V(V(V(c,"".concat(L,"-fix-left"),ae&&F),"".concat(L,"-fix-left-first"),$&&F),"".concat(L,"-fix-left-last"),M&&F),"".concat(L,"-fix-left-all"),M&&B&&F),"".concat(L,"-fix-right"),W&&F),"".concat(L,"-fix-right-first"),P&&F),"".concat(L,"-fix-right-last"),D&&F),"".concat(L,"-ellipsis"),p),"".concat(L,"-with-append"),O),"".concat(L,"-fix-sticky"),(ae||W)&&A&&F),V(c,"".concat(L,"-row-hover"),!Y&&le)),N.className,Y==null?void 0:Y.className),ge={};b&&(ge.textAlign=b);var ne=X(X(X(X({},ee),N.style),ge),Y==null?void 0:Y.style),ue=K;return mt(ue)==="object"&&!Array.isArray(ue)&&!l.isValidElement(ue)&&(ue=null),p&&(M||P)&&(ue=l.createElement("span",{className:"".concat(L,"-content")},ue)),l.createElement(u,be({},Y,N,{className:fe,style:ne,title:ie,scope:g,onMouseEnter:z?pe:void 0,onMouseLeave:z?te:void 0,colSpan:q!==1?q:null,rowSpan:Z!==1?Z:null}),O,ue)}const Pf=l.memo(e$e);function _k(e,t,n,r,a){var i=n[e]||{},o=n[t]||{},s,c;i.fixed==="left"?s=r.left[a==="rtl"?t:e]:o.fixed==="right"&&(c=r.right[a==="rtl"?e:t]);var u=!1,d=!1,p=!1,g=!1,m=n[t+1],h=n[e-1],b=m&&!m.fixed||h&&!h.fixed||n.every(function(w){return w.fixed==="left"});if(a==="rtl"){if(s!==void 0){var y=h&&h.fixed==="left";g=!y&&b}else if(c!==void 0){var S=m&&m.fixed==="right";p=!S&&b}}else if(s!==void 0){var v=m&&m.fixed==="left";u=!v&&b}else if(c!==void 0){var x=h&&h.fixed==="right";d=!x&&b}return{fixLeft:s,fixRight:c,lastFixLeft:u,firstFixRight:d,lastFixRight:p,firstFixLeft:g,isSticky:r.isSticky}}var DY=l.createContext({});function t$e(e){var t=e.className,n=e.index,r=e.children,a=e.colSpan,i=a===void 0?1:a,o=e.rowSpan,s=e.align,c=Oa(ei,["prefixCls","direction"]),u=c.prefixCls,d=c.direction,p=l.useContext(DY),g=p.scrollColumnIndex,m=p.stickyOffsets,h=p.flattenColumns,b=n+i-1,y=b+1===g?i+1:i,S=_k(n,n+y-1,h,m,d);return l.createElement(Pf,be({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:y,rowSpan:o,render:function(){return r}},S))}var n$e=["children"];function r$e(e){var t=e.children,n=Ct(e,n$e);return l.createElement("tr",n,t)}function gx(e){var t=e.children;return t}gx.Row=r$e;gx.Cell=t$e;function a$e(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=Oa(ei,"prefixCls"),i=r.length-1,o=r[i],s=l.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o!=null&&o.scrollbar?i:null}},[o,r,i,n]);return l.createElement(DY.Provider,{value:s},l.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const dv=Mf(a$e);var MY=gx;function i$e(e){return null}function o$e(e){return null}function PY(e,t,n,r,a,i,o){e.push({record:t,indent:n,index:o});var s=i(t),c=a==null?void 0:a.has(s);if(t&&Array.isArray(t[r])&&c)for(var u=0;u1?$-1:0),P=1;P<$;P++)M[P-1]=arguments[P];C==null||C.apply(void 0,[R].concat(M))},I;typeof m=="string"?I=m:typeof m=="function"&&(I=m(e,n,r));var T=px(i);return X(X({},a),{},{columnsKey:T,nestExpandable:h,expanded:S,hasNestChildren:v,record:e,onTriggerExpand:x,rowSupportExpand:b,expandable:y,rowProps:X(X({},w),{},{className:oe(I,w==null?void 0:w.className),onClick:E})})}function FY(e){var t=e.prefixCls,n=e.children,r=e.component,a=e.cellComponent,i=e.className,o=e.expanded,s=e.colSpan,c=e.isEmpty,u=Oa(ei,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),d=u.scrollbarSize,p=u.fixHeader,g=u.fixColumn,m=u.componentWidth,h=u.horizonScroll,b=n;return(c?h&&m:g)&&(b=l.createElement("div",{style:{width:m-(p&&!c?d:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},b)),l.createElement(r,{className:i,style:{display:o?null:"none"}},l.createElement(Pf,{component:a,prefixCls:t,colSpan:s},b))}function BY(e,t,n,r,a){var i=e.record,o=e.prefixCls,s=e.columnsKey,c=e.fixedInfoList,u=e.expandIconColumnIndex,d=e.nestExpandable,p=e.indentSize,g=e.expandIcon,m=e.expanded,h=e.hasNestChildren,b=e.onTriggerExpand,y=s[n],S=c[n],v;n===(u||0)&&d&&(v=l.createElement(l.Fragment,null,l.createElement("span",{style:{paddingLeft:"".concat(p*r,"px")},className:"".concat(o,"-row-indent indent-level-").concat(r)}),g({prefixCls:o,expanded:m,expandable:h,record:i,onExpand:b})));var x;return t.onCell&&(x=t.onCell(i,a)),{key:y,fixedInfo:S,appendCellNode:v,additionalCellProps:x||{}}}function s$e(e){var t=e.className,n=e.style,r=e.record,a=e.index,i=e.renderIndex,o=e.rowKey,s=e.indent,c=s===void 0?0:s,u=e.rowComponent,d=e.cellComponent,p=e.scopeCellComponent,g=jY(r,o,a,c),m=g.prefixCls,h=g.flattenColumns,b=g.expandedRowClassName,y=g.expandedRowRender,S=g.rowProps,v=g.expanded,x=g.rowSupportExpand,w=l.useRef(!1);w.current||(w.current=v);var C=b&&b(r,a,c),E=l.createElement(u,be({},S,{"data-row-key":o,className:oe(t,"".concat(m,"-row"),"".concat(m,"-row-level-").concat(c),S==null?void 0:S.className,c>=1?C:""),style:X(X({},n),S==null?void 0:S.style)}),h.map(function(_,R){var $=_.render,M=_.dataIndex,P=_.className,D=BY(g,_,R,c,a),O=D.key,k=D.fixedInfo,N=D.appendCellNode,A=D.additionalCellProps;return l.createElement(Pf,be({className:P,ellipsis:_.ellipsis,align:_.align,scope:_.rowScope,component:_.rowScope?p:d,prefixCls:m,key:O,record:r,index:a,renderIndex:i,dataIndex:M,render:$,shouldCellUpdate:_.shouldCellUpdate},k,{appendNode:N,additionalProps:A}))})),I;if(x&&(w.current||v)){var T=y(r,a,c+1,v);I=l.createElement(FY,{expanded:v,className:oe("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(c+1),C),prefixCls:m,component:u,cellComponent:d,colSpan:h.length,isEmpty:!1},T)}return l.createElement(l.Fragment,null,E,I)}const l$e=Mf(s$e);function c$e(e){var t=e.columnKey,n=e.onColumnResize,r=l.useRef();return l.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),l.createElement(Ta,{data:t},l.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function u$e(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return l.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},l.createElement(Ta.Collection,{onBatchResize:function(i){i.forEach(function(o){var s=o.data,c=o.size;r(s,c.offsetWidth)})}},n.map(function(a){return l.createElement(c$e,{key:a,columnKey:a,onColumnResize:r})})))}function d$e(e){var t=e.data,n=e.measureColumnWidth,r=Oa(ei,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=r.prefixCls,i=r.getComponent,o=r.onColumnResize,s=r.flattenColumns,c=r.getRowKey,u=r.expandedKeys,d=r.childrenColumnName,p=r.emptyNode,g=LY(t,d,u,c),m=l.useRef({renderWithProps:!1}),h=i(["body","wrapper"],"tbody"),b=i(["body","row"],"tr"),y=i(["body","cell"],"td"),S=i(["body","cell"],"th"),v;t.length?v=g.map(function(w,C){var E=w.record,I=w.indent,T=w.index,_=c(E,C);return l.createElement(l$e,{key:_,rowKey:_,record:E,index:C,renderIndex:T,rowComponent:b,cellComponent:y,scopeCellComponent:S,getRowKey:c,indent:I})}):v=l.createElement(FY,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:b,cellComponent:y,colSpan:s.length,isEmpty:!0},p);var x=px(s);return l.createElement(AY.Provider,{value:m.current},l.createElement(h,{className:"".concat(a,"-tbody")},n&&l.createElement(u$e,{prefixCls:a,columnsKey:x,onColumnResize:o}),v))}const f$e=Mf(d$e);var p$e=["expandable"],ig="RC_TABLE_INTERNAL_COL_DEFINE";function g$e(e){var t=e.expandable,n=Ct(e,p$e),r;return"expandable"in e?r=X(X({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var m$e=["columnType"];function zY(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,a=Oa(ei,["tableLayout"]),i=a.tableLayout,o=[],s=r||n.length,c=!1,u=s-1;u>=0;u-=1){var d=t[u],p=n&&n[u],g=void 0,m=void 0;if(p&&(g=p[ig],i==="auto"&&(m=p.minWidth)),d||m||g||c){var h=g||{};h.columnType;var b=Ct(h,m$e);o.unshift(l.createElement("col",be({key:u,style:{width:d,minWidth:m}},b))),c=!0}}return l.createElement("colgroup",null,o)}var h$e=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function v$e(e,t){return l.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:y.ellipsis,align:y.align,component:o,prefixCls:d,key:m[b]},S,{additionalProps:v,rowType:"header"}))}))};function x$e(e){var t=[];function n(o,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[c]=t[c]||[];var u=s,d=o.filter(Boolean).map(function(p){var g={key:p.key,className:p.className||"",children:p.title,column:p,colStart:u},m=1,h=p.children;return h&&h.length>0&&(m=n(h,u,c+1).reduce(function(b,y){return b+y},0),g.hasSubColumns=!0),"colSpan"in p&&(m=p.colSpan),"rowSpan"in p&&(g.rowSpan=p.rowSpan),g.colSpan=m,g.colEnd=g.colStart+m-1,t[c].push(g),u+=m,m});return d}n(e,0);for(var r=t.length,a=function(s){t[s].forEach(function(c){!("rowSpan"in c)&&!c.hasSubColumns&&(c.rowSpan=r-s)})},i=0;i1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function w$e(e,t,n){return l.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(g){var m=EL(t,g.width);m?r+=m:a+=1});var i=Math.max(t,n),o=Math.max(i-r,a),s=a,c=o/a,u=0,d=e.map(function(g){var m=X({},g),h=EL(t,m.width);if(h)m.width=h;else{var b=Math.floor(c);m.width=s===1?o:b,o-=b,s-=1}return u+=m.width,m});if(u0?X(X({},t),{},{children:HY(n)}):t})}function J_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&mt(n)==="object"}).reduce(function(n,r,a){var i=r.fixed,o=i===!0?"left":i,s="".concat(t,"-").concat(a),c=r.children;return c&&c.length>0?[].concat(Me(n),Me(J_(c,s).map(function(u){return X({fixed:o},u)}))):[].concat(Me(n),[X(X({key:s},r),{},{fixed:o})])},[])}function I$e(e){return e.map(function(t){var n=t.fixed,r=Ct(t,E$e),a=n;return n==="left"?a="right":n==="right"&&(a="left"),X({fixed:a},r)})}function T$e(e,t){var n=e.prefixCls,r=e.columns,a=e.children,i=e.expandable,o=e.expandedKeys,s=e.columnTitle,c=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,p=e.rowExpandable,g=e.expandIconColumnIndex,m=e.direction,h=e.expandRowByClick,b=e.columnWidth,y=e.fixed,S=e.scrollWidth,v=e.clientWidth,x=l.useMemo(function(){var M=r||$k(a)||[];return HY(M.slice())},[r,a]),w=l.useMemo(function(){if(i){var M=x.slice();if(!M.includes(ul)){var P=g||0;P>=0&&M.splice(P,0,ul)}var D=M.indexOf(ul);M=M.filter(function(A,L){return A!==ul||L===D});var O=x[D],k;(y==="left"||y)&&!g?k="left":(y==="right"||y)&&g===x.length?k="right":k=O?O.fixed:null;var N=V(V(V(V(V(V({},ig,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",s),"fixed",k),"className","".concat(n,"-row-expand-icon-cell")),"width",b),"render",function(L,j,F){var B=c(j,F),z=o.has(B),U=p?p(j):!0,H=d({prefixCls:n,expanded:z,expandable:U,record:j,onExpand:u});return h?l.createElement("span",{onClick:function(Y){return Y.stopPropagation()}},H):H});return M.map(function(A){return A===ul?N:A})}return x.filter(function(A){return A!==ul})},[i,x,c,o,d,m]),C=l.useMemo(function(){var M=w;return t&&(M=t(M)),M.length||(M=[{render:function(){return null}}]),M},[t,w,m]),E=l.useMemo(function(){return m==="rtl"?I$e(J_(C)):J_(C)},[C,m,S]),I=l.useMemo(function(){for(var M=-1,P=E.length-1;P>=0;P-=1){var D=E[P].fixed;if(D==="left"||D===!0){M=P;break}}if(M>=0)for(var O=0;O<=M;O+=1){var k=E[O].fixed;if(k!=="left"&&k!==!0)return!0}var N=E.findIndex(function(j){var F=j.fixed;return F==="right"});if(N>=0)for(var A=N;A=p&&(A=p-g),o({scrollLeft:A/p*(d+2)}),v.current.x=D.pageX},$=function(){I.current=Gt(function(){if(i.current){var D=G_(i.current).top,O=D+i.current.offsetHeight,k=c===window?document.documentElement.scrollTop+window.innerHeight:G_(c).top+c.clientHeight;O-s4()<=k||D>=k-s?S(function(N){return X(X({},N),{},{isHiddenScrollBar:!0})}):S(function(N){return X(X({},N),{},{isHiddenScrollBar:!1})})}})},M=function(D){S(function(O){return X(X({},O),{},{scrollLeft:D/d*p||0})})};return l.useImperativeHandle(n,function(){return{setScrollLeft:M,checkScrollBarVisible:$}}),l.useEffect(function(){var P=ts(document.body,"mouseup",T,!1),D=ts(document.body,"mousemove",R,!1);return $(),function(){P.remove(),D.remove()}},[g,C]),l.useEffect(function(){var P=ts(c,"scroll",$,!1),D=ts(window,"resize",$,!1);return function(){P.remove(),D.remove()}},[c]),l.useEffect(function(){y.isHiddenScrollBar||S(function(P){var D=i.current;return D?X(X({},P),{},{scrollLeft:D.scrollLeft/D.scrollWidth*D.clientWidth}):P})},[y.isHiddenScrollBar]),d<=p||!g||y.isHiddenScrollBar?null:l.createElement("div",{style:{height:s4(),width:p,bottom:s},className:"".concat(u,"-sticky-scroll")},l.createElement("div",{onMouseDown:_,ref:m,className:oe("".concat(u,"-sticky-scroll-bar"),V({},"".concat(u,"-sticky-scroll-bar-active"),C)),style:{width:"".concat(g,"px"),transform:"translate3d(".concat(y.scrollLeft,"px, 0, 0)")}}))};const P$e=l.forwardRef(M$e);var VY="rc-table",L$e=[],j$e={};function F$e(){return"No Data"}function B$e(e,t){var n=X({rowKey:"key",prefixCls:VY,emptyText:F$e},e),r=n.prefixCls,a=n.className,i=n.rowClassName,o=n.style,s=n.data,c=n.rowKey,u=n.scroll,d=n.tableLayout,p=n.direction,g=n.title,m=n.footer,h=n.summary,b=n.caption,y=n.id,S=n.showHeader,v=n.components,x=n.emptyText,w=n.onRow,C=n.onHeaderRow,E=n.onScroll,I=n.internalHooks,T=n.transformColumns,_=n.internalRefs,R=n.tailor,$=n.getContainerWidth,M=n.sticky,P=n.rowHoverable,D=P===void 0?!0:P,O=s||L$e,k=!!O.length,N=I===th,A=l.useCallback(function(gt,St){return Ti(v,gt)||St},[v]),L=l.useMemo(function(){return typeof c=="function"?c:function(gt){var St=gt&>[c];return St}},[c]),j=A(["body"]),F=k$e(),B=se(F,3),z=B[0],U=B[1],H=B[2],K=$$e(n,O,L),Y=se(K,6),ee=Y[0],ae=Y[1],W=Y[2],q=Y[3],Z=Y[4],Q=Y[5],J=u==null?void 0:u.x,le=l.useState(0),ce=se(le,2),pe=ce[0],te=ce[1],ie=T$e(X(X(X({},n),ee),{},{expandable:!!ee.expandedRowRender,columnTitle:ee.columnTitle,expandedKeys:W,getRowKey:L,onTriggerExpand:Q,expandIcon:q,expandIconColumnIndex:ee.expandIconColumnIndex,direction:p,scrollWidth:N&&R&&typeof J=="number"?J:null,clientWidth:pe}),N?T:null),fe=se(ie,4),ge=fe[0],ne=fe[1],ue=fe[2],me=fe[3],xe=ue??J,Ie=l.useMemo(function(){return{columns:ge,flattenColumns:ne}},[ge,ne]),ke=l.useRef(),$e=l.useRef(),Le=l.useRef(),je=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:ke.current,scrollTo:function(St){var un;if(Le.current instanceof HTMLElement){var Hn=St.index,sr=St.top,Ir=St.key;if(K_e(sr)){var xa;(xa=Le.current)===null||xa===void 0||xa.scrollTo({top:sr})}else{var ka,Sa=Ir??L(O[Hn]);(ka=Le.current.querySelector('[data-row-key="'.concat(Sa,'"]')))===null||ka===void 0||ka.scrollIntoView()}}else(un=Le.current)!==null&&un!==void 0&&un.scrollTo&&Le.current.scrollTo(St)}}});var He=l.useRef(),Be=l.useState(!1),Pe=se(Be,2),Se=Pe[0],Ne=Pe[1],Te=l.useState(!1),Ce=se(Te,2),De=Ce[0],Ge=Ce[1],lt=UY(new Map),he=se(lt,2),re=he[0],ve=he[1],_e=px(ne),ze=_e.map(function(gt){return re.get(gt)}),Ue=l.useMemo(function(){return ze},[ze.join("_")]),Ae=D$e(Ue,ne,p),Oe=u&&Q_(u.y),Re=u&&Q_(xe)||!!ee.fixed,at=Re&&ne.some(function(gt){var St=gt.fixed;return St}),Ye=l.useRef(),We=A$e(M,r),qe=We.isSticky,Qe=We.offsetHeader,it=We.offsetSummary,wt=We.offsetScroll,kt=We.stickyClassName,xt=We.container,nt=l.useMemo(function(){return h==null?void 0:h(O)},[h,O]),rt=(Oe||qe)&&l.isValidElement(nt)&&nt.type===gx&&nt.props.fixed,bt,Ot,ht;Oe&&(Ot={overflowY:k?"scroll":"auto",maxHeight:u.y}),Re&&(bt={overflowX:"auto"},Oe||(Ot={overflowY:"hidden"}),ht={width:xe===!0?"auto":xe,minWidth:"100%"});var ct=l.useCallback(function(gt,St){If(ke.current)&&ve(function(un){if(un.get(gt)!==St){var Hn=new Map(un);return Hn.set(gt,St),Hn}return un})},[]),Et=N$e(),Ze=se(Et,2),ut=Ze[0],pt=Ze[1];function et(gt,St){St&&(typeof St=="function"?St(gt):St.scrollLeft!==gt&&(St.scrollLeft=gt,St.scrollLeft!==gt&&setTimeout(function(){St.scrollLeft=gt},0)))}var Xe=Yt(function(gt){var St=gt.currentTarget,un=gt.scrollLeft,Hn=p==="rtl",sr=typeof un=="number"?un:St.scrollLeft,Ir=St||j$e;if(!pt()||pt()===Ir){var xa;ut(Ir),et(sr,$e.current),et(sr,Le.current),et(sr,He.current),et(sr,(xa=Ye.current)===null||xa===void 0?void 0:xa.setScrollLeft)}var ka=St||$e.current;if(ka){var Sa=typeof xe=="number"?xe:ka.scrollWidth,zi=ka.clientWidth;if(Sa===zi){Ne(!1),Ge(!1);return}Hn?(Ne(-sr0)):(Ne(sr>0),Ge(sr1?y-D:0,k=X(X(X({},T),u),{},{flex:"0 0 ".concat(D,"px"),width:"".concat(D,"px"),marginRight:O,pointerEvents:"auto"}),N=l.useMemo(function(){return p?M<=1:R===0||M===0||M>1},[M,R,p]);N?k.visibility="hidden":p&&(k.height=g==null?void 0:g(M));var A=N?function(){return null}:m,L={};return(M===0||R===0)&&(L.rowSpan=1,L.colSpan=1),l.createElement(Pf,be({className:oe(b,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:w,record:c,index:i,renderIndex:s,dataIndex:h,render:A,shouldCellUpdate:n.shouldCellUpdate},C,{appendNode:E,additionalProps:X(X({},I),{},{style:k},L)}))}var V$e=["data","index","className","rowKey","style","extra","getHeight"],W$e=l.forwardRef(function(e,t){var n=e.data,r=e.index,a=e.className,i=e.rowKey,o=e.style,s=e.extra,c=e.getHeight,u=Ct(e,V$e),d=n.record,p=n.indent,g=n.index,m=Oa(ei,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),h=m.scrollX,b=m.flattenColumns,y=m.prefixCls,S=m.fixColumn,v=m.componentWidth,x=Oa(Ok,["getComponent"]),w=x.getComponent,C=jY(d,i,r,p),E=w(["body","row"],"div"),I=w(["body","cell"],"div"),T=C.rowSupportExpand,_=C.expanded,R=C.rowProps,$=C.expandedRowRender,M=C.expandedRowClassName,P;if(T&&_){var D=$(d,r,p+1,_),O=M==null?void 0:M(d,r,p),k={};S&&(k={style:V({},"--virtual-width","".concat(v,"px"))});var N="".concat(y,"-expanded-row-cell");P=l.createElement(E,{className:oe("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(p+1),O)},l.createElement(Pf,{component:I,prefixCls:y,className:oe(N,V({},"".concat(N,"-fixed"),S)),additionalProps:k},D))}var A=X(X({},o),{},{width:h});s&&(A.position="absolute",A.pointerEvents="none");var L=l.createElement(E,be({},R,u,{"data-row-key":i,ref:T?null:t,className:oe(a,"".concat(y,"-row"),R==null?void 0:R.className,V({},"".concat(y,"-row-extra"),s)),style:X(X({},A),R==null?void 0:R.style)}),b.map(function(j,F){return l.createElement(U$e,{key:F,component:I,rowInfo:C,column:j,colIndex:F,indent:p,index:r,renderIndex:g,record:d,inverse:s,getHeight:c})}));return T?l.createElement("div",{ref:t},L,P):L}),RL=Mf(W$e),G$e=l.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=Oa(ei,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX"]),i=a.flattenColumns,o=a.onColumnResize,s=a.getRowKey,c=a.expandedKeys,u=a.prefixCls,d=a.childrenColumnName,p=a.scrollX,g=Oa(Ok),m=g.sticky,h=g.scrollY,b=g.listItemHeight,y=g.getComponent,S=g.onScroll,v=l.useRef(),x=LY(n,d,c,s),w=l.useMemo(function(){var M=0;return i.map(function(P){var D=P.width,O=P.key;return M+=D,[O,D,M]})},[i]),C=l.useMemo(function(){return w.map(function(M){return M[2]})},[w]);l.useEffect(function(){w.forEach(function(M){var P=se(M,2),D=P[0],O=P[1];o(D,O)})},[w]),l.useImperativeHandle(t,function(){var M,P={scrollTo:function(O){var k;(k=v.current)===null||k===void 0||k.scrollTo(O)},nativeElement:(M=v.current)===null||M===void 0?void 0:M.nativeElement};return Object.defineProperty(P,"scrollLeft",{get:function(){var O;return((O=v.current)===null||O===void 0?void 0:O.getScrollInfo().x)||0},set:function(O){var k;(k=v.current)===null||k===void 0||k.scrollTo({left:O})}}),P});var E=function(P,D){var O,k=(O=x[D])===null||O===void 0?void 0:O.record,N=P.onCell;if(N){var A,L=N(k,D);return(A=L==null?void 0:L.rowSpan)!==null&&A!==void 0?A:1}return 1},I=function(P){var D=P.start,O=P.end,k=P.getSize,N=P.offsetY;if(O<0)return null;for(var A=i.filter(function(W){return E(W,D)===0}),L=D,j=function(q){if(A=A.filter(function(Z){return E(Z,q)===0}),!A.length)return L=q,1},F=D;F>=0&&!j(F);F-=1);for(var B=i.filter(function(W){return E(W,O)!==1}),z=O,U=function(q){if(B=B.filter(function(Z){return E(Z,q)!==1}),!B.length)return z=Math.max(q-1,O),1},H=O;H1})&&K.push(q)},ee=L;ee<=z;ee+=1)Y(ee);var ae=K.map(function(W){var q=x[W],Z=s(q.record,W),Q=function(ce){var pe=W+ce-1,te=s(x[pe].record,pe),ie=k(Z,te);return ie.bottom-ie.top},J=k(Z);return l.createElement(RL,{key:W,data:q,rowKey:Z,index:W,style:{top:-N+J.top},extra:!0,getHeight:Q})});return ae},T=l.useMemo(function(){return{columnsOffset:C}},[C]),_="".concat(u,"-tbody"),R=y(["body","wrapper"]),$={};return m&&($.position="sticky",$.bottom=0,mt(m)==="object"&&m.offsetScroll&&($.bottom=m.offsetScroll)),l.createElement(GY.Provider,{value:T},l.createElement(By,{fullHeight:!1,ref:v,prefixCls:"".concat(_,"-virtual"),styles:{horizontalScrollBar:$},className:_,height:h,itemHeight:b||24,data:x,itemKey:function(P){return s(P.record)},component:R,scrollWidth:p,onVirtualScroll:function(P){var D,O=P.x;r({currentTarget:(D=v.current)===null||D===void 0?void 0:D.nativeElement,scrollLeft:O})},onScroll:S,extraRender:I},function(M,P,D){var O=s(M.record,P);return l.createElement(RL,{data:M,rowKey:O,index:P,style:D.style})}))}),q$e=Mf(G$e),K$e=function(t,n){var r=n.ref,a=n.onScroll;return l.createElement(q$e,{ref:r,data:t,onScroll:a})};function Y$e(e,t){var n=e.data,r=e.columns,a=e.scroll,i=e.sticky,o=e.prefixCls,s=o===void 0?VY:o,c=e.className,u=e.listItemHeight,d=e.components,p=e.onScroll,g=a||{},m=g.x,h=g.y;typeof m!="number"&&(m=1),typeof h!="number"&&(h=500);var b=Yt(function(v,x){return Ti(d,v)||x}),y=Yt(p),S=l.useMemo(function(){return{sticky:i,scrollY:h,listItemHeight:u,getComponent:b,onScroll:y}},[i,h,u,b,y]);return l.createElement(Ok.Provider,{value:S},l.createElement(Lf,be({},e,{className:oe(c,"".concat(s,"-virtual")),scroll:X(X({},a),{},{x:m}),components:X(X({},d),{},{body:n!=null&&n.length?K$e:void 0}),columns:r,internalHooks:th,tailor:!0,ref:t})))}var X$e=l.forwardRef(Y$e);function qY(e){return kY(X$e,e)}qY();const Z$e=e=>null,Q$e=e=>null;var Nk=l.createContext(null),J$e=function(t){for(var n=t.prefixCls,r=t.level,a=t.isStart,i=t.isEnd,o="".concat(n,"-indent-unit"),s=[],c=0;c=0&&n.splice(r,1),n}function vs(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function kk(e){return e.split("-")}function aOe(e,t){var n=[],r=ii(t,e);function a(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.forEach(function(o){var s=o.key,c=o.children;n.push(s),a(c)})}return a(r.children),n}function iOe(e){if(e.parent){var t=kk(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function oOe(e){var t=kk(e.pos);return Number(t[t.length-1])===0}function OL(e,t,n,r,a,i,o,s,c,u){var d,p=e.clientX,g=e.clientY,m=e.target.getBoundingClientRect(),h=m.top,b=m.height,y=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-p),S=(y-12)/r,v=c.filter(function(k){var N;return(N=s[k])===null||N===void 0||(N=N.children)===null||N===void 0?void 0:N.length}),x=ii(s,n.props.eventKey);if(g-1.5?i({dragNode:P,dropNode:D,dropPosition:1})?R=1:O=!1:i({dragNode:P,dropNode:D,dropPosition:0})?R=0:i({dragNode:P,dropNode:D,dropPosition:1})?R=1:O=!1:i({dragNode:P,dropNode:D,dropPosition:1})?R=1:O=!1,{dropPosition:R,dropLevelOffset:$,dropTargetKey:x.key,dropTargetPos:x.pos,dragOverNodeKey:_,dropContainerKey:R===0?null:((d=x.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:O}}function NL(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function T1(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(mt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return $n(!1,"`checkedKeys` is not an array or an object"),null;return t}function e$(e,t){var n=new Set;function r(a){if(!n.has(a)){var i=ii(t,a);if(i){n.add(a);var o=i.parent,s=i.node;s.disabled||o&&r(o.key)}}}return(e||[]).forEach(function(a){r(a)}),Me(n)}function sOe(e){const[t,n]=l.useState(null);return[l.useCallback((i,o,s)=>{const c=t??i,u=Math.min(c||0,i),d=Math.max(c||0,i),p=o.slice(u,d+1).map(h=>e(h)),g=p.some(h=>!s.has(h)),m=[];return p.forEach(h=>{g?(s.has(h)||m.push(h),s.add(h)):(s.delete(h),m.push(h))}),n(g?d:null),m},[t]),i=>{n(i)}]}const ol={},t$="SELECT_ALL",n$="SELECT_INVERT",r$="SELECT_NONE",kL=[],KY=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat(Me(n),Me(KY(e,r[e]))))}),n},lOe=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:a,getCheckboxProps:i,onChange:o,onSelect:s,onSelectAll:c,onSelectInvert:u,onSelectNone:d,onSelectMultiple:p,columnWidth:g,type:m,selections:h,fixed:b,renderCell:y,hideSelectAll:S,checkStrictly:v=!0}=t||{},{prefixCls:x,data:w,pageData:C,getRecordByKey:E,getRowKey:I,expandType:T,childrenColumnName:_,locale:R,getPopupContainer:$}=e,M=Zl(),[P,D]=sOe(q=>q),[O,k]=pn(r||a||kL,{value:r}),N=l.useRef(new Map),A=l.useCallback(q=>{if(n){const Z=new Map;q.forEach(Q=>{let J=E(Q);!J&&N.current.has(Q)&&(J=N.current.get(Q)),Z.set(Q,J)}),N.current=Z}},[E,n]);l.useEffect(()=>{A(O)},[O]);const L=l.useMemo(()=>KY(_,C),[_,C]),{keyEntities:j}=l.useMemo(()=>{if(v)return{keyEntities:null};let q=w;if(n){const Z=new Set(L.map((J,le)=>I(J,le))),Q=Array.from(N.current).reduce((J,le)=>{let[ce,pe]=le;return Z.has(ce)?J:J.concat(pe)},[]);q=[].concat(Me(q),Me(Q))}return ix(q,{externalGetKey:I,childrenPropName:_})},[w,I,v,_,n,L]),F=l.useMemo(()=>{const q=new Map;return L.forEach((Z,Q)=>{const J=I(Z,Q),le=(i?i(Z):null)||{};q.set(J,le)}),q},[L,I,i]),B=l.useCallback(q=>{var Z;return!!(!((Z=F.get(I(q)))===null||Z===void 0)&&Z.disabled)},[F,I]),[z,U]=l.useMemo(()=>{if(v)return[O||[],[]];const{checkedKeys:q,halfCheckedKeys:Z}=Os(O,!0,j,B);return[q||[],Z]},[O,v,j,B]),H=l.useMemo(()=>{const q=m==="radio"?z.slice(0,1):z;return new Set(q)},[z,m]),K=l.useMemo(()=>m==="radio"?new Set:new Set(U),[U,m]);l.useEffect(()=>{t||k(kL)},[!!t]);const Y=l.useCallback((q,Z)=>{let Q,J;A(q),n?(Q=q,J=q.map(le=>N.current.get(le))):(Q=[],J=[],q.forEach(le=>{const ce=E(le);ce!==void 0&&(Q.push(le),J.push(ce))})),k(Q),o==null||o(Q,J,{type:Z})},[k,E,o,n]),ee=l.useCallback((q,Z,Q,J)=>{if(s){const le=Q.map(ce=>E(ce));s(E(q),Z,le,J)}Y(Q,"single")},[s,E,Y]),ae=l.useMemo(()=>!h||S?null:(h===!0?[t$,n$,r$]:h).map(Z=>Z===t$?{key:"all",text:R.selectionAll,onSelect(){Y(w.map((Q,J)=>I(Q,J)).filter(Q=>{const J=F.get(Q);return!(J!=null&&J.disabled)||H.has(Q)}),"all")}}:Z===n$?{key:"invert",text:R.selectInvert,onSelect(){const Q=new Set(H);C.forEach((le,ce)=>{const pe=I(le,ce),te=F.get(pe);te!=null&&te.disabled||(Q.has(pe)?Q.delete(pe):Q.add(pe))});const J=Array.from(Q);u&&(M.deprecated(!1,"onSelectInvert","onChange"),u(J)),Y(J,"invert")}}:Z===r$?{key:"none",text:R.selectNone,onSelect(){d==null||d(),Y(Array.from(H).filter(Q=>{const J=F.get(Q);return J==null?void 0:J.disabled}),"none")}}:Z).map(Z=>Object.assign(Object.assign({},Z),{onSelect:function(){for(var Q,J,le=arguments.length,ce=new Array(le),pe=0;pe{var Z;if(!t)return q.filter(je=>je!==ol);let Q=Me(q);const J=new Set(H),le=L.map(I).filter(je=>!F.get(je).disabled),ce=le.every(je=>J.has(je)),pe=le.some(je=>J.has(je)),te=()=>{const je=[];ce?le.forEach(Be=>{J.delete(Be),je.push(Be)}):le.forEach(Be=>{J.has(Be)||(J.add(Be),je.push(Be))});const He=Array.from(J);c==null||c(!ce,He.map(Be=>E(Be)),je.map(Be=>E(Be))),Y(He,"all"),D(null)};let ie,fe;if(m!=="radio"){let je;if(ae){const Ne={getPopupContainer:$,items:ae.map((Te,Ce)=>{const{key:De,text:Ge,onSelect:lt}=Te;return{key:De??Ce,onClick:()=>{lt==null||lt(le)},label:Ge}})};je=l.createElement("div",{className:`${x}-selection-extra`},l.createElement(lx,{menu:Ne,getPopupContainer:$},l.createElement("span",null,l.createElement(Hy,null))))}const He=L.map((Ne,Te)=>{const Ce=I(Ne,Te),De=F.get(Ce)||{};return Object.assign({checked:J.has(Ce)},De)}).filter(Ne=>{let{disabled:Te}=Ne;return Te}),Be=!!He.length&&He.length===L.length,Pe=Be&&He.every(Ne=>{let{checked:Te}=Ne;return Te}),Se=Be&&He.some(Ne=>{let{checked:Te}=Ne;return Te});fe=l.createElement(cs,{checked:Be?Pe:!!L.length&&ce,indeterminate:Be?!Pe&&Se:!ce&&pe,onChange:te,disabled:L.length===0||Be,"aria-label":je?"Custom selection":"Select all",skipGroup:!0}),ie=!S&&l.createElement("div",{className:`${x}-selection`},fe,je)}let ge;m==="radio"?ge=(je,He,Be)=>{const Pe=I(He,Be),Se=J.has(Pe);return{node:l.createElement($i,Object.assign({},F.get(Pe),{checked:Se,onClick:Ne=>Ne.stopPropagation(),onChange:Ne=>{J.has(Pe)||ee(Pe,!0,[Pe],Ne.nativeEvent)}})),checked:Se}}:ge=(je,He,Be)=>{var Pe;const Se=I(He,Be),Ne=J.has(Se),Te=K.has(Se),Ce=F.get(Se);let De;return T==="nest"?De=Te:De=(Pe=Ce==null?void 0:Ce.indeterminate)!==null&&Pe!==void 0?Pe:Te,{node:l.createElement(cs,Object.assign({},Ce,{indeterminate:De,checked:Ne,skipGroup:!0,onClick:Ge=>Ge.stopPropagation(),onChange:Ge=>{let{nativeEvent:lt}=Ge;const{shiftKey:he}=lt,re=le.findIndex(_e=>_e===Se),ve=z.some(_e=>le.includes(_e));if(he&&v&&ve){const _e=P(re,le,J),ze=Array.from(J);p==null||p(!Ne,ze.map(Ue=>E(Ue)),_e.map(Ue=>E(Ue))),Y(ze,"multiple")}else{const _e=z;if(v){const ze=Ne?Ko(_e,Se):vs(_e,Se);ee(Se,!Ne,ze,lt)}else{const ze=Os([].concat(Me(_e),[Se]),!0,j,B),{checkedKeys:Ue,halfCheckedKeys:Ae}=ze;let Oe=Ue;if(Ne){const Re=new Set(Ue);Re.delete(Se),Oe=Os(Array.from(Re),{checked:!1,halfCheckedKeys:Ae},j,B).checkedKeys}ee(Se,!Ne,Oe,lt)}}D(Ne?null:re)}})),checked:Ne}};const ne=(je,He,Be)=>{const{node:Pe,checked:Se}=ge(je,He,Be);return y?y(Se,He,Be,Pe):Pe};if(!Q.includes(ol))if(Q.findIndex(je=>{var He;return((He=je[ig])===null||He===void 0?void 0:He.columnType)==="EXPAND_COLUMN"})===0){const[je,...He]=Q;Q=[je,ol].concat(Me(He))}else Q=[ol].concat(Me(Q));const ue=Q.indexOf(ol);Q=Q.filter((je,He)=>je!==ol||He===ue);const me=Q[ue-1],xe=Q[ue+1];let Ie=b;Ie===void 0&&((xe==null?void 0:xe.fixed)!==void 0?Ie=xe.fixed:(me==null?void 0:me.fixed)!==void 0&&(Ie=me.fixed)),Ie&&me&&((Z=me[ig])===null||Z===void 0?void 0:Z.columnType)==="EXPAND_COLUMN"&&me.fixed===void 0&&(me.fixed=Ie);const ke=oe(`${x}-selection-col`,{[`${x}-selection-col-with-dropdown`]:h&&m==="checkbox"}),$e=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(fe):t.columnTitle:ie,Le={fixed:Ie,width:g,className:`${x}-selection-column`,title:$e(),render:ne,onCell:t.onCell,[ig]:{className:ke}};return Q.map(je=>je===ol?Le:je)},[I,L,t,z,H,K,g,ae,T,F,p,ee,B]),H]};function cOe(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function uOe(e,t){return l.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(a,i){return n[i]?n[i]:Reflect.get(a,i)}}):cOe(r,n)})}function dOe(e){return t=>{const{prefixCls:n,onExpand:r,record:a,expanded:i,expandable:o}=t,s=`${n}-row-expand-icon`;return l.createElement("button",{type:"button",onClick:c=>{r(a,c),c.stopPropagation()},className:oe(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&i,[`${s}-collapsed`]:o&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}function fOe(e){return(n,r)=>{const a=n.querySelector(`.${e}-container`);let i=r;if(a){const o=getComputedStyle(a),s=parseInt(o.borderLeftWidth,10),c=parseInt(o.borderRightWidth,10);i=r-s-c}return i}}const Vl=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function jf(e,t){return t?`${t}-${e}`:`${e}`}const mx=(e,t)=>typeof e=="function"?e(t):e,pOe=(e,t)=>{const n=mx(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function gOe(e){const t=l.useRef(e),n=PN();return[()=>t.current,r=>{t.current=r,n()}]}function mOe(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,a={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:a.top=0,a.left=-n*r;break;case 1:a.bottom=0,a.left=-n*r;break;case 0:a.bottom=0,a.left=r;break}return l.createElement("div",{style:a})}function YY(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function hOe(e,t){var n=l.useState(!1),r=se(n,2),a=r[0],i=r[1];Zt(function(){if(a)return e(),function(){t()}},[a]),Zt(function(){return i(!0),function(){i(!1)}},[])}var vOe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],XY=function(t,n){var r=t.className,a=t.style,i=t.motion,o=t.motionNodes,s=t.motionType,c=t.onMotionStart,u=t.onMotionEnd,d=t.active,p=t.treeNodeRequiredProps,g=Ct(t,vOe),m=l.useState(!0),h=se(m,2),b=h[0],y=h[1],S=l.useContext(Nk),v=S.prefixCls,x=o&&s!=="hide";Zt(function(){o&&x!==b&&y(x)},[o]);var w=function(){o&&c()},C=l.useRef(!1),E=function(){o&&!C.current&&(C.current=!0,u())};hOe(w,E);var I=function(_){x===_&&E()};return o?l.createElement(na,be({ref:n,visible:b},i,{motionAppear:s==="show",onVisibleChanged:I}),function(T,_){var R=T.className,$=T.style;return l.createElement("div",{ref:_,className:oe("".concat(v,"-treenode-motion"),R),style:$},o.map(function(M){var P=Object.assign({},(YY(M.data),M.data)),D=M.title,O=M.key,k=M.isStart,N=M.isEnd;delete P.children;var A=rg(O,p);return l.createElement(nf,be({},P,A,{title:D,active:d,data:M.data,key:O,isStart:k,isEnd:N}))}))}):l.createElement(nf,be({domRef:n,className:r,style:a},g,{active:d}))};XY.displayName="MotionTreeNode";var bOe=l.forwardRef(XY);function yOe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function a(i,o){var s=new Map;i.forEach(function(u){s.set(u,!0)});var c=o.filter(function(u){return!s.has(u)});return c.length===1?c[0]:null}return n ").concat(t);return t}var QY=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var a=e.expandedKeys,i=e.selectedKeys,o=e.checkedKeys,s=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,p=e.disabled,g=e.dragging,m=e.dragOverNodeKey,h=e.dropPosition,b=e.motion,y=e.height,S=e.itemHeight,v=e.virtual,x=e.focusable,w=e.activeItem,C=e.focused,E=e.tabIndex,I=e.onKeyDown,T=e.onFocus,_=e.onBlur,R=e.onActiveChange,$=e.onListChangeStart,M=e.onListChangeEnd,P=Ct(e,xOe),D=l.useRef(null),O=l.useRef(null);l.useImperativeHandle(t,function(){return{scrollTo:function(ge){D.current.scrollTo(ge)},getIndentWidth:function(){return O.current.offsetWidth}}});var k=l.useState(a),N=se(k,2),A=N[0],L=N[1],j=l.useState(r),F=se(j,2),B=F[0],z=F[1],U=l.useState(r),H=se(U,2),K=H[0],Y=H[1],ee=l.useState([]),ae=se(ee,2),W=ae[0],q=ae[1],Z=l.useState(null),Q=se(Z,2),J=Q[0],le=Q[1],ce=l.useRef(r);ce.current=r;function pe(){var fe=ce.current;z(fe),Y(fe),q([]),le(null),M()}Zt(function(){L(a);var fe=yOe(A,a);if(fe.key!==null)if(fe.add){var ge=B.findIndex(function(ke){var $e=ke.key;return $e===fe.key}),ne=PL(AL(B,r,fe.key),v,y,S),ue=B.slice();ue.splice(ge+1,0,ML),Y(ue),q(ne),le("show")}else{var me=r.findIndex(function(ke){var $e=ke.key;return $e===fe.key}),xe=PL(AL(r,B,fe.key),v,y,S),Ie=r.slice();Ie.splice(me+1,0,ML),Y(Ie),q(xe),le("hide")}else B!==r&&(z(r),Y(r))},[a,r]),l.useEffect(function(){g||pe()},[g]);var te=b?K:r,ie={expandedKeys:a,selectedKeys:i,loadedKeys:s,loadingKeys:c,checkedKeys:o,halfCheckedKeys:u,dragOverNodeKey:m,dropPosition:h,keyEntities:d};return l.createElement(l.Fragment,null,C&&w&&l.createElement("span",{style:DL,"aria-live":"assertive"},wOe(w)),l.createElement("div",null,l.createElement("input",{style:DL,disabled:x===!1||p,tabIndex:x!==!1?E:null,onKeyDown:I,onFocus:T,onBlur:_,value:"",onChange:SOe,"aria-label":"for screen reader"})),l.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},l.createElement("div",{className:"".concat(n,"-indent")},l.createElement("div",{ref:O,className:"".concat(n,"-indent-unit")}))),l.createElement(By,be({},P,{data:te,itemKey:LL,height:y,fullHeight:!1,virtual:v,itemHeight:S,prefixCls:"".concat(n,"-list"),ref:D,onVisibleChange:function(ge){ge.every(function(ne){return LL(ne)!==eu})&&pe()}}),function(fe){var ge=fe.pos,ne=Object.assign({},(YY(fe.data),fe.data)),ue=fe.title,me=fe.key,xe=fe.isStart,Ie=fe.isEnd,ke=Zm(me,ge);delete ne.key,delete ne.children;var $e=rg(ke,ie);return l.createElement(bOe,be({},ne,$e,{title:ue,active:!!w&&me===w.key,pos:ge,data:fe.data,isStart:xe,isEnd:Ie,motion:b,motionNodes:me===eu?W:null,motionType:J,onMotionStart:$,onMotionEnd:pe,treeNodeRequiredProps:ie,onMouseMove:function(){R(null)}}))}))});QY.displayName="NodeList";var COe=10,hx=function(e){gi(n,e);var t=Fi(n);function n(){var r;Jn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o2&&arguments[2]!==void 0?arguments[2]:!1,p=r.state,g=p.dragChildrenKeys,m=p.dropPosition,h=p.dropTargetKey,b=p.dropTargetPos,y=p.dropAllowed;if(y){var S=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),h!==null){var v=X(X({},rg(h,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===h,data:ii(r.state.keyEntities,h).node}),x=g.indexOf(h)!==-1;$n(!x,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=kk(b),C={event:s,node:Hr(v),dragNode:r.dragNode?Hr(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(g),dropToGap:m!==0,dropPosition:m+Number(w[w.length-1])};d||S==null||S(C),r.dragNode=null}}}),V(Ke(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),V(Ke(r),"triggerExpandActionExpand",function(s,c){var u=r.state,d=u.expandedKeys,p=u.flattenNodes,g=c.expanded,m=c.key,h=c.isLeaf;if(!(h||s.shiftKey||s.metaKey||s.ctrlKey)){var b=p.filter(function(S){return S.key===m})[0],y=Hr(X(X({},rg(m,r.getTreeNodeRequiredProps())),{},{data:b.data}));r.setExpandedKeys(g?Ko(d,m):vs(d,m)),r.onNodeExpand(s,y)}}),V(Ke(r),"onNodeClick",function(s,c){var u=r.props,d=u.onClick,p=u.expandAction;p==="click"&&r.triggerExpandActionExpand(s,c),d==null||d(s,c)}),V(Ke(r),"onNodeDoubleClick",function(s,c){var u=r.props,d=u.onDoubleClick,p=u.expandAction;p==="doubleClick"&&r.triggerExpandActionExpand(s,c),d==null||d(s,c)}),V(Ke(r),"onNodeSelect",function(s,c){var u=r.state.selectedKeys,d=r.state,p=d.keyEntities,g=d.fieldNames,m=r.props,h=m.onSelect,b=m.multiple,y=c.selected,S=c[g.key],v=!y;v?b?u=vs(u,S):u=[S]:u=Ko(u,S);var x=u.map(function(w){var C=ii(p,w);return C?C.node:null}).filter(function(w){return w});r.setUncontrolledState({selectedKeys:u}),h==null||h(u,{event:"select",selected:v,node:c,selectedNodes:x,nativeEvent:s.nativeEvent})}),V(Ke(r),"onNodeCheck",function(s,c,u){var d=r.state,p=d.keyEntities,g=d.checkedKeys,m=d.halfCheckedKeys,h=r.props,b=h.checkStrictly,y=h.onCheck,S=c.key,v,x={event:"check",node:c,checked:u,nativeEvent:s.nativeEvent};if(b){var w=u?vs(g,S):Ko(g,S),C=Ko(m,S);v={checked:w,halfChecked:C},x.checkedNodes=w.map(function($){return ii(p,$)}).filter(function($){return $}).map(function($){return $.node}),r.setUncontrolledState({checkedKeys:w})}else{var E=Os([].concat(Me(g),[S]),!0,p),I=E.checkedKeys,T=E.halfCheckedKeys;if(!u){var _=new Set(I);_.delete(S);var R=Os(Array.from(_),{checked:!1,halfCheckedKeys:T},p);I=R.checkedKeys,T=R.halfCheckedKeys}v=I,x.checkedNodes=[],x.checkedNodesPositions=[],x.halfCheckedKeys=T,I.forEach(function($){var M=ii(p,$);if(M){var P=M.node,D=M.pos;x.checkedNodes.push(P),x.checkedNodesPositions.push({node:P,pos:D})}}),r.setUncontrolledState({checkedKeys:I},!1,{halfCheckedKeys:T})}y==null||y(v,x)}),V(Ke(r),"onNodeLoad",function(s){var c,u=s.key,d=r.state.keyEntities,p=ii(d,u);if(!(p!=null&&(c=p.children)!==null&&c!==void 0&&c.length)){var g=new Promise(function(m,h){r.setState(function(b){var y=b.loadedKeys,S=y===void 0?[]:y,v=b.loadingKeys,x=v===void 0?[]:v,w=r.props,C=w.loadData,E=w.onLoad;if(!C||S.indexOf(u)!==-1||x.indexOf(u)!==-1)return null;var I=C(s);return I.then(function(){var T=r.state.loadedKeys,_=vs(T,u);E==null||E(_,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:_}),r.setState(function(R){return{loadingKeys:Ko(R.loadingKeys,u)}}),m()}).catch(function(T){if(r.setState(function(R){return{loadingKeys:Ko(R.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=COe){var _=r.state.loadedKeys;$n(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:vs(_,u)}),m()}h(T)}),{loadingKeys:vs(x,u)}})});return g.catch(function(){}),g}}),V(Ke(r),"onNodeMouseEnter",function(s,c){var u=r.props.onMouseEnter;u==null||u({event:s,node:c})}),V(Ke(r),"onNodeMouseLeave",function(s,c){var u=r.props.onMouseLeave;u==null||u({event:s,node:c})}),V(Ke(r),"onNodeContextMenu",function(s,c){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:c}))}),V(Ke(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var c=arguments.length,u=new Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var d=!1,p=!0,g={};Object.keys(s).forEach(function(m){if(m in r.props){p=!1;return}d=!0,g[m]=s[m]}),d&&(!c||p)&&r.setState(X(X({},g),u))}}),V(Ke(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return er(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var a=this.props,i=a.activeKey,o=a.itemScrollOffset,s=o===void 0?0:o;i!==void 0&&i!==this.state.activeKey&&(this.setState({activeKey:i}),i!==null&&this.scrollTo({key:i,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var a=this.state,i=a.focused,o=a.flattenNodes,s=a.keyEntities,c=a.draggingNodeKey,u=a.activeKey,d=a.dropLevelOffset,p=a.dropContainerKey,g=a.dropTargetKey,m=a.dropPosition,h=a.dragOverNodeKey,b=a.indent,y=this.props,S=y.prefixCls,v=y.className,x=y.style,w=y.showLine,C=y.focusable,E=y.tabIndex,I=E===void 0?0:E,T=y.selectable,_=y.showIcon,R=y.icon,$=y.switcherIcon,M=y.draggable,P=y.checkable,D=y.checkStrictly,O=y.disabled,k=y.motion,N=y.loadData,A=y.filterTreeNode,L=y.height,j=y.itemHeight,F=y.virtual,B=y.titleRender,z=y.dropIndicatorRender,U=y.onContextMenu,H=y.onScroll,K=y.direction,Y=y.rootClassName,ee=y.rootStyle,ae=fr(this.props,{aria:!0,data:!0}),W;return M&&(mt(M)==="object"?W=M:typeof M=="function"?W={nodeDraggable:M}:W={}),l.createElement(Nk.Provider,{value:{prefixCls:S,selectable:T,showIcon:_,icon:R,switcherIcon:$,draggable:W,draggingNodeKey:c,checkable:P,checkStrictly:D,disabled:O,keyEntities:s,dropLevelOffset:d,dropContainerKey:p,dropTargetKey:g,dropPosition:m,dragOverNodeKey:h,indent:b,direction:K,dropIndicatorRender:z,loadData:N,filterTreeNode:A,titleRender:B,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},l.createElement("div",{role:"tree",className:oe(S,v,Y,V(V(V({},"".concat(S,"-show-line"),w),"".concat(S,"-focused"),i),"".concat(S,"-active-focused"),u!==null)),style:ee},l.createElement(QY,be({ref:this.listRef,prefixCls:S,style:x,data:o,disabled:O,selectable:T,checkable:!!P,motion:k,dragging:c!==null,height:L,itemHeight:j,virtual:F,focusable:C,focused:i,tabIndex:I,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:U,onScroll:H},this.getTreeNodeRequiredProps(),ae))))}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,s={prevProps:a};function c(I){return!o&&I in a||o&&o[I]!==a[I]}var u,d=i.fieldNames;if(c("fieldNames")&&(d=tf(a.fieldNames),s.fieldNames=d),c("treeData")?u=a.treeData:c("children")&&($n(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=sK(a.children)),u){s.treeData=u;var p=ix(u,{fieldNames:d});s.keyEntities=X(V({},eu,ZY),p.keyEntities)}var g=s.keyEntities||i.keyEntities;if(c("expandedKeys")||o&&c("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!o&&a.defaultExpandParent?e$(a.expandedKeys,g):a.expandedKeys;else if(!o&&a.defaultExpandAll){var m=X({},g);delete m[eu];var h=[];Object.keys(m).forEach(function(I){var T=m[I];T.children&&T.children.length&&h.push(T.key)}),s.expandedKeys=h}else!o&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?e$(a.defaultExpandedKeys,g):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var b=v1(u||i.treeData,s.expandedKeys||i.expandedKeys,d);s.flattenNodes=b}if(a.selectable&&(c("selectedKeys")?s.selectedKeys=NL(a.selectedKeys,a):!o&&a.defaultSelectedKeys&&(s.selectedKeys=NL(a.defaultSelectedKeys,a))),a.checkable){var y;if(c("checkedKeys")?y=T1(a.checkedKeys)||{}:!o&&a.defaultCheckedKeys?y=T1(a.defaultCheckedKeys)||{}:u&&(y=T1(a.checkedKeys)||{checkedKeys:i.checkedKeys,halfCheckedKeys:i.halfCheckedKeys}),y){var S=y,v=S.checkedKeys,x=v===void 0?[]:v,w=S.halfCheckedKeys,C=w===void 0?[]:w;if(!a.checkStrictly){var E=Os(x,!0,g);x=E.checkedKeys,C=E.halfCheckedKeys}s.checkedKeys=x,s.halfCheckedKeys=C}}return c("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(l.Component);V(hx,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:mOe,allowDrop:function(){return!0},expandAction:!1});V(hx,"TreeNode",nf);const EOe=new nn("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),IOe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),TOe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${G(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ROe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,titleHeight:i,nodeSelectedBg:o,nodeHoverBg:s}=t,c=t.paddingXS;return{[n]:Object.assign(Object.assign({},ln(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Ps(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:EOe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${G(a)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:i,lineHeight:G(i),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},IOe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:G(i),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,marginInlineEnd:t.calc(t.calc(i).sub(t.controlInteractiveSize)).div(2).equal(),"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:c,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${G(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:G(i),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:s},[`&${n}-node-selected`]:{backgroundColor:o},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:G(i),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:G(i),userSelect:"none"},TOe(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${G(t.calc(i).div(2).equal())} !important`}}}}})}},_Oe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:a,directoryNodeSelectedColor:i}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:a},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},JY=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),i=zt(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a});return[ROe(e,i),_Oe(i)]},eX=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},$Oe=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},eX(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},OOe=an("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:sk(`${n}-checkbox`,e)},JY(n,e),Am(e)]},$Oe),jL=4;function NOe(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:a,direction:i="ltr"}=e,o=i==="ltr"?"left":"right",s=i==="ltr"?"right":"left",c={[o]:-n*a+jL,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[o]=a+jL;break}return de.createElement("div",{style:c,className:`${r}-drop-indicator`})}const tX=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:a,switcherLoadingIcon:i}=e,{isLeaf:o,expanded:s,loading:c}=r;if(c)return l.isValidElement(i)?i:l.createElement(uo,{className:`${t}-switcher-loading-icon`});let u;if(a&&typeof a=="object"&&(u=a.showLeafIcon),o){if(!a)return null;if(typeof u!="boolean"&&u){const g=typeof u=="function"?u(r):u,m=`${t}-switcher-line-custom-icon`;return l.isValidElement(g)?kr(g,{className:oe(g.props.className||"",m)}):g}return u?l.createElement(vY,{className:`${t}-switcher-line-icon`}):l.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,p=typeof n=="function"?n(r):n;return l.isValidElement(p)?kr(p,{className:oe(p.props.className||"",d)}):p!==void 0?p:a?s?l.createElement(GTe,{className:`${t}-switcher-line-icon`}):l.createElement(wY,{className:`${t}-switcher-line-icon`}):l.createElement(G2e,{className:d})},nX=de.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:i,tree:o}=de.useContext(st),{prefixCls:s,className:c,showIcon:u=!1,showLine:d,switcherIcon:p,switcherLoadingIcon:g,blockNode:m=!1,children:h,checkable:b=!1,selectable:y=!0,draggable:S,motion:v,style:x}=e,w=r("tree",s),C=r(),E=v??Object.assign(Object.assign({},Xd(C)),{motionAppear:!1}),I=Object.assign(Object.assign({},e),{checkable:b,selectable:y,showIcon:u,motion:E,blockNode:m,showLine:!!d,dropIndicatorRender:NOe}),[T,_,R]=OOe(w),[,$]=ia(),M=$.paddingXS/2+(((n=$.Tree)===null||n===void 0?void 0:n.titleHeight)||$.controlHeightSM),P=de.useMemo(()=>{if(!S)return!1;let O={};switch(typeof S){case"function":O.nodeDraggable=S;break;case"object":O=Object.assign({},S);break}return O.icon!==!1&&(O.icon=O.icon||de.createElement(xTe,null)),O},[S]),D=O=>de.createElement(tX,{prefixCls:w,switcherIcon:p,switcherLoadingIcon:g,treeNodeProps:O,showLine:d});return T(de.createElement(hx,Object.assign({itemHeight:M,ref:t,virtual:i},I,{style:Object.assign(Object.assign({},o==null?void 0:o.style),x),prefixCls:w,className:oe({[`${w}-icon-hide`]:!u,[`${w}-block-node`]:m,[`${w}-unselectable`]:!y,[`${w}-rtl`]:a==="rtl"},o==null?void 0:o.className,c,_,R),direction:a,checkable:b&&de.createElement("span",{className:`${w}-checkbox-inner`}),selectable:y,switcherIcon:D,draggable:P}),h))}),FL=0,R1=1,BL=2;function Ak(e,t,n){const{key:r,children:a}=n;function i(o){const s=o[r],c=o[a];t(s,o)!==!1&&Ak(c||[],t,n)}e.forEach(i)}function kOe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:i}=e;const o=[];let s=FL;if(r&&r===a)return[r];if(!r||!a)return[];function c(u){return u===r||u===a}return Ak(t,u=>{if(s===BL)return!1;if(c(u)){if(o.push(u),s===FL)s=R1;else if(s===R1)return s=BL,!1}else s===R1&&o.push(u);return n.includes(u)},tf(i)),o}function _1(e,t,n){const r=Me(t),a=[];return Ak(e,(i,o)=>{const s=r.indexOf(i);return s!==-1&&(a.push(o),r.splice(s,1)),!!r.length},tf(n)),a}var zL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,i=zL(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const o=l.useRef(),s=l.useRef(),c=()=>{const{keyEntities:T}=ix(HL(i));let _;return n?_=Object.keys(T):r?_=e$(i.expandedKeys||a||[],T):_=i.expandedKeys||a||[],_},[u,d]=l.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[p,g]=l.useState(()=>c());l.useEffect(()=>{"selectedKeys"in i&&d(i.selectedKeys)},[i.selectedKeys]),l.useEffect(()=>{"expandedKeys"in i&&g(i.expandedKeys)},[i.expandedKeys]);const m=(T,_)=>{var R;return"expandedKeys"in i||g(T),(R=i.onExpand)===null||R===void 0?void 0:R.call(i,T,_)},h=(T,_)=>{var R;const{multiple:$,fieldNames:M}=i,{node:P,nativeEvent:D}=_,{key:O=""}=P,k=HL(i),N=Object.assign(Object.assign({},_),{selected:!0}),A=(D==null?void 0:D.ctrlKey)||(D==null?void 0:D.metaKey),L=D==null?void 0:D.shiftKey;let j;$&&A?(j=T,o.current=O,s.current=j,N.selectedNodes=_1(k,j,M)):$&&L?(j=Array.from(new Set([].concat(Me(s.current||[]),Me(kOe({treeData:k,expandedKeys:p,startKey:O,endKey:o.current,fieldNames:M}))))),N.selectedNodes=_1(k,j,M)):(j=[O],o.current=O,s.current=j,N.selectedNodes=_1(k,j,M)),(R=i.onSelect)===null||R===void 0||R.call(i,j,N),"selectedKeys"in i||d(j)},{getPrefixCls:b,direction:y}=l.useContext(st),{prefixCls:S,className:v,showIcon:x=!0,expandAction:w="click"}=i,C=zL(i,["prefixCls","className","showIcon","expandAction"]),E=b("tree",S),I=oe(`${E}-directory`,{[`${E}-directory-rtl`]:y==="rtl"},v);return l.createElement(nX,Object.assign({icon:AOe,ref:t,blockNode:!0},C,{showIcon:x,expandAction:w,prefixCls:E,className:I,expandedKeys:p,selectedKeys:u,onSelect:h,onExpand:m}))},MOe=l.forwardRef(DOe),Dk=nX;Dk.DirectoryTree=MOe;Dk.TreeNode=nf;const UL=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:a,onChange:i}=e;return n?l.createElement("div",{className:`${r}-filter-dropdown-search`},l.createElement(tn,{prefix:l.createElement(Hm,null),placeholder:a.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},POe=e=>{const{keyCode:t}=e;t===Fe.ENTER&&e.stopPropagation()},LOe=l.forwardRef((e,t)=>l.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:POe,ref:t},e.children));function kd(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat(Me(t),Me(kd(a))))}),t}function jOe(e){return e.some(t=>{let{children:n}=t;return n})}function rX(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function aX(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o}=e;return t.map((s,c)=>{const u=String(s.value);if(s.children)return{key:u||c,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:aX({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o})};const d=a?cs:$i,p={key:s.value!==void 0?u:c,label:l.createElement(l.Fragment,null,l.createElement(d,{checked:r.includes(u)}),l.createElement("span",null,s.text))};return i.trim()?typeof o=="function"?o(i,s)?p:null:rX(i,s.text)?p:null:p})}function $1(e){return e||[]}const FOe=e=>{var t,n;const{tablePrefixCls:r,prefixCls:a,column:i,dropdownPrefixCls:o,columnKey:s,filterOnClose:c,filterMultiple:u,filterMode:d="menu",filterSearch:p=!1,filterState:g,triggerFilter:m,locale:h,children:b,getPopupContainer:y,rootClassName:S}=e,{filterDropdownOpen:v,onFilterDropdownOpenChange:x,filterResetToDefaultFilteredValue:w,defaultFilteredValue:C,filterDropdownVisible:E,onFilterDropdownVisibleChange:I}=i,[T,_]=l.useState(!1),R=!!(g&&(!((t=g.filteredKeys)===null||t===void 0)&&t.length||g.forceFiltered)),$=te=>{_(te),x==null||x(te),I==null||I(te)},M=(n=v??E)!==null&&n!==void 0?n:T,P=g==null?void 0:g.filteredKeys,[D,O]=gOe($1(P)),k=te=>{let{selectedKeys:ie}=te;O(ie)},N=(te,ie)=>{let{node:fe,checked:ge}=ie;k(u?{selectedKeys:te}:{selectedKeys:ge&&fe.key?[fe.key]:[]})};l.useEffect(()=>{T&&k({selectedKeys:$1(P)})},[P]);const[A,L]=l.useState([]),j=te=>{L(te)},[F,B]=l.useState(""),z=te=>{const{value:ie}=te.target;B(ie)};l.useEffect(()=>{T||B("")},[T]);const U=te=>{const ie=te!=null&&te.length?te:null;if(ie===null&&(!g||!g.filteredKeys)||oo(ie,g==null?void 0:g.filteredKeys,!0))return null;m({column:i,key:s,filteredKeys:ie})},H=()=>{$(!1),U(D())},K=function(){let{confirm:te,closeDropdown:ie}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};te&&U([]),ie&&$(!1),B(""),O(w?(C||[]).map(fe=>String(fe)):[])},Y=function(){let{closeDropdown:te}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};te&&$(!1),U(D())},ee=(te,ie)=>{ie.source==="trigger"&&(te&&P!==void 0&&O($1(P)),$(te),!te&&!i.filterDropdown&&c&&H())},ae=oe({[`${o}-menu-without-submenu`]:!jOe(i.filters||[])}),W=te=>{if(te.target.checked){const ie=kd(i==null?void 0:i.filters).map(fe=>String(fe));O(ie)}else O([])},q=te=>{let{filters:ie}=te;return(ie||[]).map((fe,ge)=>{const ne=String(fe.value),ue={title:fe.text,key:fe.value!==void 0?ne:String(ge)};return fe.children&&(ue.children=q({filters:fe.children})),ue})},Z=te=>{var ie;return Object.assign(Object.assign({},te),{text:te.title,value:te.key,children:((ie=te.children)===null||ie===void 0?void 0:ie.map(fe=>Z(fe)))||[]})};let Q;const{direction:J,renderEmpty:le}=l.useContext(st);if(typeof i.filterDropdown=="function")Q=i.filterDropdown({prefixCls:`${o}-custom`,setSelectedKeys:te=>k({selectedKeys:te}),selectedKeys:D(),confirm:Y,clearFilters:K,filters:i.filters,visible:M,close:()=>{$(!1)}});else if(i.filterDropdown)Q=i.filterDropdown;else{const te=D()||[],ie=()=>{var ge;const ne=(ge=le==null?void 0:le("Table.filter"))!==null&&ge!==void 0?ge:l.createElement(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE,description:h.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((i.filters||[]).length===0)return ne;if(d==="tree")return l.createElement(l.Fragment,null,l.createElement(UL,{filterSearch:p,value:F,onChange:z,tablePrefixCls:r,locale:h}),l.createElement("div",{className:`${r}-filter-dropdown-tree`},u?l.createElement(cs,{checked:te.length===kd(i.filters).length,indeterminate:te.length>0&&te.lengthtypeof p=="function"?p(F,Z(xe)):rX(F,xe.title):void 0})));const ue=aX({filters:i.filters||[],filterSearch:p,prefixCls:a,filteredKeys:D(),filterMultiple:u,searchValue:F}),me=ue.every(xe=>xe===null);return l.createElement(l.Fragment,null,l.createElement(UL,{filterSearch:p,value:F,onChange:z,tablePrefixCls:r,locale:h}),me?ne:l.createElement(Gs,{selectable:!0,multiple:u,prefixCls:`${o}-menu`,className:ae,onSelect:k,onDeselect:k,selectedKeys:te,getPopupContainer:y,openKeys:A,onOpenChange:j,items:ue}))},fe=()=>w?oo((C||[]).map(ge=>String(ge)),te,!0):te.length===0;Q=l.createElement(l.Fragment,null,ie(),l.createElement("div",{className:`${a}-dropdown-btns`},l.createElement(tt,{type:"link",size:"small",disabled:fe(),onClick:()=>K()},h.filterReset),l.createElement(tt,{type:"primary",size:"small",onClick:H},h.filterConfirm)))}i.filterDropdown&&(Q=l.createElement(tq,{selectable:void 0},Q));const ce=()=>l.createElement(LOe,{className:`${a}-dropdown`},Q);let pe;return typeof i.filterIcon=="function"?pe=i.filterIcon(R):i.filterIcon?pe=i.filterIcon:pe=l.createElement(YIe,null),l.createElement("div",{className:`${a}-column`},l.createElement("span",{className:`${r}-column-title`},b),l.createElement(lx,{dropdownRender:ce,trigger:["click"],open:M,onOpenChange:ee,getPopupContainer:y,placement:J==="rtl"?"bottomLeft":"bottomRight",rootClassName:S},l.createElement("span",{role:"button",tabIndex:-1,className:oe(`${a}-trigger`,{active:R}),onClick:te=>{te.stopPropagation()}},pe)))},i$=(e,t,n)=>{let r=[];return(e||[]).forEach((a,i)=>{var o;const s=jf(i,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let c=a.filteredValue;"filterDropdown"in a||(c=(o=c==null?void 0:c.map(String))!==null&&o!==void 0?o:c),r.push({column:a,key:Vl(a,s),filteredKeys:c,forceFiltered:a.filtered})}else r.push({column:a,key:Vl(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat(Me(r),Me(i$(a.children,t,s))))}),r};function iX(e,t,n,r,a,i,o,s,c){return n.map((u,d)=>{const p=jf(d,s),{filterOnClose:g=!0,filterMultiple:m=!0,filterMode:h,filterSearch:b}=u;let y=u;if(y.filters||y.filterDropdown){const S=Vl(y,p),v=r.find(x=>{let{key:w}=x;return S===w});y=Object.assign(Object.assign({},y),{title:x=>l.createElement(FOe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:y,columnKey:S,filterState:v,filterOnClose:g,filterMultiple:m,filterMode:h,filterSearch:b,triggerFilter:i,locale:a,getPopupContainer:o,rootClassName:c},mx(u.title,x))})}return"children"in y&&(y=Object.assign(Object.assign({},y),{children:iX(e,t,y.children,r,a,i,o,p,c)})),y})}const VL=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:i}=n;const o=r,{filters:s,filterDropdown:c}=i;if(c)t[o]=a||null;else if(Array.isArray(a)){const u=kd(s);t[o]=u.filter(d=>a.includes(String(d)))}else t[o]=null}),t},o$=(e,t,n)=>t.reduce((a,i)=>{const{column:{onFilter:o,filters:s},filteredKeys:c}=i;return o&&c&&c.length?a.map(u=>Object.assign({},u)).filter(u=>c.some(d=>{const p=kd(s),g=p.findIndex(h=>String(h)===String(d)),m=g!==-1?p[g]:d;return u[n]&&(u[n]=o$(u[n],t,n)),o(m,u)})):a},e),oX=e=>e.flatMap(t=>"children"in t?[t].concat(Me(oX(t.children||[]))):[t]),BOe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:i,locale:o,rootClassName:s}=e;Zl();const c=l.useMemo(()=>oX(r||[]),[r]),[u,d]=l.useState(()=>i$(c,!0)),p=l.useMemo(()=>{const b=i$(c,!1);if(b.length===0)return b;let y=!0;if(b.forEach(S=>{let{filteredKeys:v}=S;v!==void 0&&(y=!1)}),y){const S=(c||[]).map((v,x)=>Vl(v,jf(x)));return u.filter(v=>{let{key:x}=v;return S.includes(x)}).map(v=>{const x=c[S.findIndex(w=>w===v.key)];return Object.assign(Object.assign({},v),{column:Object.assign(Object.assign({},v.column),x),forceFiltered:x.filtered})})}return b},[c,u]),g=l.useMemo(()=>VL(p),[p]),m=b=>{const y=p.filter(S=>{let{key:v}=S;return v!==b.key});y.push(b),d(y),a(VL(y),y)};return[b=>iX(t,n,b,p,o,m,i,void 0,s),p,g]},zOe=(e,t,n)=>{const r=l.useRef({});function a(i){var o;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let u=function(d){d.forEach((p,g)=>{const m=n(p,g);c.set(m,p),p&&typeof p=="object"&&t in p&&u(p[t]||[])})};var s=u;const c=new Map;u(e),r.current={data:e,childrenColumnName:t,kvMap:c,getRowKey:n}}return(o=r.current.kvMap)===null||o===void 0?void 0:o.get(i)}return[a]};var HOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const i=e[a];typeof i!="function"&&(n[a]=i)}),n}function VOe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,i=HOe(r,["total"]),[o,s]=l.useState(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:sX})),c=rY(o,i,{total:a>0?a:e}),u=Math.ceil((a||e)/c.pageSize);c.current>u&&(c.current=u||1);const d=(g,m)=>{s({current:g??1,pageSize:m||c.pageSize})},p=(g,m)=>{var h;n&&((h=n.onChange)===null||h===void 0||h.call(n,g,m)),d(g,m),t(g,m||(c==null?void 0:c.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:p}),d]}const ub="ascend",O1="descend",C0=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,WL=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,WOe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],s$=(e,t,n)=>{let r=[];const a=(i,o)=>{r.push({column:i,key:Vl(i,o),multiplePriority:C0(i),sortOrder:i.sortOrder})};return(e||[]).forEach((i,o)=>{const s=jf(o,n);i.children?("sortOrder"in i&&a(i,s),r=[].concat(Me(r),Me(s$(i.children,t,s)))):i.sorter&&("sortOrder"in i?a(i,s):t&&i.defaultSortOrder&&r.push({column:i,key:Vl(i,s),multiplePriority:C0(i),sortOrder:i.defaultSortOrder}))}),r},lX=(e,t,n,r,a,i,o,s)=>(t||[]).map((u,d)=>{const p=jf(d,s);let g=u;if(g.sorter){const m=g.sortDirections||a,h=g.showSorterTooltip===void 0?o:g.showSorterTooltip,b=Vl(g,p),y=n.find(_=>{let{key:R}=_;return R===b}),S=y?y.sortOrder:null,v=WOe(m,S);let x;if(u.sortIcon)x=u.sortIcon({sortOrder:S});else{const _=m.includes(ub)&&l.createElement(Q2e,{className:oe(`${e}-column-sorter-up`,{active:S===ub})}),R=m.includes(O1)&&l.createElement(Y2e,{className:oe(`${e}-column-sorter-down`,{active:S===O1})});x=l.createElement("span",{className:oe(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(_&&R)})},l.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},_,R))}const{cancelSort:w,triggerAsc:C,triggerDesc:E}=i||{};let I=w;v===O1?I=E:v===ub&&(I=C);const T=typeof h=="object"?Object.assign({title:I},h):{title:I};g=Object.assign(Object.assign({},g),{className:oe(g.className,{[`${e}-column-sort`]:S}),title:_=>{const R=`${e}-column-sorters`,$=l.createElement("span",{className:`${e}-column-title`},mx(u.title,_)),M=l.createElement("div",{className:R},$,x);return h?typeof h!="boolean"&&(h==null?void 0:h.target)==="sorter-icon"?l.createElement("div",{className:`${R} ${e}-column-sorters-tooltip-target-sorter`},$,l.createElement(Ft,Object.assign({},T),x)):l.createElement(Ft,Object.assign({},T),M):M},onHeaderCell:_=>{var R;const $=((R=u.onHeaderCell)===null||R===void 0?void 0:R.call(u,_))||{},M=$.onClick,P=$.onKeyDown;$.onClick=k=>{r({column:u,key:b,sortOrder:v,multiplePriority:C0(u)}),M==null||M(k)},$.onKeyDown=k=>{k.keyCode===Fe.ENTER&&(r({column:u,key:b,sortOrder:v,multiplePriority:C0(u)}),P==null||P(k))};const D=pOe(u.title,{}),O=D==null?void 0:D.toString();return S?$["aria-sort"]=S==="ascend"?"ascending":"descending":$["aria-label"]=O||"",$.className=oe($.className,`${e}-column-has-sorters`),$.tabIndex=0,u.ellipsis&&($.title=(D??"").toString()),$}})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:lX(e,g.children,n,r,a,i,o,p)})),g}),GL=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},qL=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(GL);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},GL(e[n])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},l$=(e,t,n)=>{const r=t.slice().sort((o,s)=>s.multiplePriority-o.multiplePriority),a=e.slice(),i=r.filter(o=>{let{column:{sorter:s},sortOrder:c}=o;return WL(s)&&c});return i.length?a.sort((o,s)=>{for(let c=0;c{const s=o[n];return s?Object.assign(Object.assign({},o),{[n]:l$(s,t,n)}):o}):a},GOe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:i,onSorterChange:o}=e,[s,c]=l.useState(s$(n,!0)),u=(b,y)=>{const S=[];return b.forEach((v,x)=>{const w=jf(x,y);if(S.push(Vl(v,w)),Array.isArray(v.children)){const C=u(v.children,w);S.push.apply(S,Me(C))}}),S},d=l.useMemo(()=>{let b=!0;const y=s$(n,!1);if(!y.length){const w=u(n);return s.filter(C=>{let{key:E}=C;return w.includes(E)})}const S=[];function v(w){b?S.push(w):S.push(Object.assign(Object.assign({},w),{sortOrder:null}))}let x=null;return y.forEach(w=>{x===null?(v(w),w.sortOrder&&(w.multiplePriority===!1?b=!1:x=!0)):(x&&w.multiplePriority!==!1||(b=!1),v(w))}),S},[n,s]),p=l.useMemo(()=>{var b,y;const S=d.map(v=>{let{column:x,sortOrder:w}=v;return{column:x,order:w}});return{sortColumns:S,sortColumn:(b=S[0])===null||b===void 0?void 0:b.column,sortOrder:(y=S[0])===null||y===void 0?void 0:y.order}},[d]),g=b=>{let y;b.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?y=[b]:y=[].concat(Me(d.filter(S=>{let{key:v}=S;return v!==b.key})),[b]),c(y),o(qL(y),y)};return[b=>lX(t,b,d,g,r,a,i),d,p,()=>qL(d)]},cX=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=mx(r.title,t),"children"in a&&(a.children=cX(a.children,t)),a}),qOe=e=>[l.useCallback(n=>cX(n,e),[e])],KOe=WY((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),YOe=qY((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),XOe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:i,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:c}=e,u=`${G(n)} ${r} ${a}`,d=(p,g,m)=>({[`&${t}-${p}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${G(c(g).mul(-1).equal())} - ${G(c(c(m).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` - > ${t}-content, - > ${t}-header, - > ${t}-body, - > ${t}-summary - `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${G(c(o).mul(-1).equal())} ${G(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` - > tr${t}-expanded-row, - > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${G(n)} 0 ${G(n)} ${i}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},ZOe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},Pi),{wordBreak:"keep-all",[` - &${t}-cell-fix-left-last, - &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},QOe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},JOe=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:a,paddingXS:i,lineType:o,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:u,borderRadius:d,tablePaddingVertical:p,tablePaddingHorizontal:g,tableExpandedRowBg:m,paddingXXS:h,expandIconMarginTop:b,expandIconSize:y,expandIconHalfInner:S,expandIconScale:v,calc:x}=e,w=`${G(a)} ${o} ${s}`,C=x(h).sub(a).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},uN(e)),{position:"relative",float:"left",width:y,height:y,color:"inherit",lineHeight:G(y),background:c,border:w,borderRadius:d,transform:`scale(${v})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:S,insetInlineEnd:C,insetInlineStart:C,height:a},"&::after":{top:C,bottom:C,insetInlineStart:S,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:b,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${G(x(p).mul(-1).equal())} ${G(x(g).mul(-1).equal())}`,padding:`${G(p)} ${G(g)}`}}}},eNe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:i,paddingXXS:o,paddingXS:s,colorText:c,lineWidth:u,lineType:d,tableBorderColor:p,headerIconColor:g,fontSizeSM:m,tablePaddingHorizontal:h,borderRadius:b,motionDurationSlow:y,colorTextDescription:S,colorPrimary:v,tableHeaderFilterActiveBg:x,colorTextDisabled:w,tableFilterDropdownBg:C,tableFilterDropdownHeight:E,controlItemBgHover:I,controlItemBgActive:T,boxShadowSecondary:_,filterDropdownMenuBg:R,calc:$}=e,M=`${n}-dropdown`,P=`${t}-filter-dropdown`,D=`${n}-tree`,O=`${G(u)} ${d} ${p}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:$(o).mul(-1).equal(),marginInline:`${G(o)} ${G($(h).div(2).mul(-1).equal())}`,padding:`0 ${G(o)}`,color:g,fontSize:m,borderRadius:b,cursor:"pointer",transition:`all ${y}`,"&:hover":{color:S,background:x},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[P]:Object.assign(Object.assign({},ln(e)),{minWidth:a,backgroundColor:C,borderRadius:b,boxShadow:_,overflow:"hidden",[`${M}-menu`]:{maxHeight:E,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:R,"&:empty::after":{display:"block",padding:`${G(s)} 0`,color:w,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${P}-tree`]:{paddingBlock:`${G(s)} 0`,paddingInline:s,[D]:{padding:0},[`${D}-treenode ${D}-node-content-wrapper:hover`]:{backgroundColor:I},[`${D}-treenode-checkbox-checked ${D}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:T}}},[`${P}-search`]:{padding:s,borderBottom:O,"&-input":{input:{minWidth:i},[r]:{color:w}}},[`${P}-checkall`]:{width:"100%",marginBottom:o,marginInlineStart:o},[`${P}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${G($(s).sub(u).equal())} ${G(s)}`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${P}, ${P}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},tNe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:i,tableBg:o,zIndexTableSticky:s,calc:c}=e,u=r;return{[`${t}-wrapper`]:{[` - ${t}-cell-fix-left, - ${t}-cell-fix-right - `]:{position:"sticky !important",zIndex:i,background:o},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(s).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${u}`},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${u}`}},[`${t}-fixed-column-gapped`]:{[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after, - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},nNe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${G(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},rNe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${G(n)} ${G(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${G(n)} ${G(n)}`}}}}},aNe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},iNe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,padding:i,paddingXS:o,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:p,tableRowHoverBg:g,tablePaddingHorizontal:m,calc:h}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:h(u).add(a).add(h(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:h(u).add(h(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:h(u).add(a).add(h(i).div(4)).add(h(o).mul(2)).equal()}},[` - table tr th${t}-selection-column, - table tr td${t}-selection-column, - ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:h(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:G(h(m).div(4).equal()),[r]:{color:s,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:p}}},[`> ${t}-cell-row-hover`]:{background:g}}}}}},oNe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,a=(i,o,s,c)=>({[`${t}${t}-${i}`]:{fontSize:c,[` - ${t}-title, - ${t}-footer, - ${t}-cell, - ${t}-thead > tr > th, - ${t}-tbody > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${G(o)} ${G(s)}`},[`${t}-filter-trigger`]:{marginInlineEnd:G(r(s).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${G(r(o).mul(-1).equal())} ${G(r(s).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:G(r(o).mul(-1).equal()),marginInline:`${G(r(n).sub(s).equal())} ${G(r(s).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:G(r(s).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},a("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),a("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},sNe=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:a,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` - &${t}-cell-fix-left:hover, - &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},lNe=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:i,tableScrollBg:o,zIndexTableSticky:s,stickyScrollBarBorderRadius:c,lineWidth:u,lineType:d,tableBorderColor:p}=e,g=`${G(u)} ${d} ${p}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${G(i)} !important`,zIndex:s,display:"flex",alignItems:"center",background:o,borderTop:g,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},KL=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,i=`${G(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${G(a(n).mul(-1).equal())} 0 ${r}`}}}},cNe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:i,calc:o}=e,s=`${G(r)} ${a} ${i}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` - & > ${t}-row, - & > div:not(${t}-row) > ${t}-row - `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${G(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},uNe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,tableExpandColumnWidth:i,lineWidth:o,lineType:s,tableBorderColor:c,tableFontSize:u,tableBg:d,tableRadius:p,tableHeaderTextColor:g,motionDurationMid:m,tableHeaderBg:h,tableHeaderCellSplitColor:b,tableFooterTextColor:y,tableFooterBg:S,calc:v}=e,x=`${G(o)} ${s} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},Lo()),{[t]:Object.assign(Object.assign({},ln(e)),{fontSize:u,background:d,borderRadius:`${G(p)} ${G(p)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${G(p)} ${G(p)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${t}-cell, - ${t}-thead > tr > th, - ${t}-tbody > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{position:"relative",padding:`${G(r)} ${G(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${G(r)} ${G(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:g,fontWeight:n,textAlign:"start",background:h,borderBottom:x,transition:`background ${m} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:b,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${m}, border-color ${m}`,borderBottom:x,[` - > ${t}-wrapper:only-child, - > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:G(v(r).mul(-1).equal()),marginInline:`${G(v(i).sub(a).equal())} - ${G(v(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:g,fontWeight:n,textAlign:"start",background:h,borderBottom:x,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${G(r)} ${G(a)}`,color:y,background:S}})}},dNe=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:a,colorFillContent:i,controlItemBgActive:o,controlItemBgActiveHover:s,padding:c,paddingSM:u,paddingXS:d,colorBorderSecondary:p,borderRadiusLG:g,controlHeight:m,colorTextPlaceholder:h,fontSize:b,fontSizeSM:y,lineHeight:S,lineWidth:v,colorIcon:x,colorIconHover:w,opacityLoading:C,controlInteractiveSize:E}=e,I=new cn(a).onBackground(n).toHexShortString(),T=new cn(i).onBackground(n).toHexShortString(),_=new cn(t).onBackground(n).toHexShortString(),R=new cn(x),$=new cn(w),M=E/2-v,P=M*2+v*3;return{headerBg:_,headerColor:r,headerSortActiveBg:I,headerSortHoverBg:T,bodySortBg:_,rowHoverBg:_,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:p,headerBorderRadius:g,footerBg:_,footerColor:r,cellFontSize:b,cellFontSizeMD:b,cellFontSizeSM:b,headerSplitColor:p,fixedHeaderSortActiveBg:I,headerFilterHoverBg:i,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:m,stickyScrollBarBg:h,stickyScrollBarBorderRadius:100,expandIconMarginTop:(b*S-v*3)/2-Math.ceil((y*1.4-v*3)/2),headerIconColor:R.clone().setAlpha(R.getAlpha()*C).toRgbString(),headerIconHoverColor:$.clone().setAlpha($.getAlpha()*C).toRgbString(),expandIconHalfInner:M,expandIconSize:P,expandIconScale:E/P}},YL=2,fNe=an("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:a,headerBg:i,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:u,rowHoverBg:d,rowSelectedBg:p,rowSelectedHoverBg:g,rowExpandedBg:m,cellPaddingBlock:h,cellPaddingInline:b,cellPaddingBlockMD:y,cellPaddingInlineMD:S,cellPaddingBlockSM:v,cellPaddingInlineSM:x,borderColor:w,footerBg:C,footerColor:E,headerBorderRadius:I,cellFontSize:T,cellFontSizeMD:_,cellFontSizeSM:R,headerSplitColor:$,fixedHeaderSortActiveBg:M,headerFilterHoverBg:P,filterDropdownBg:D,expandIconBg:O,selectionColumnWidth:k,stickyScrollBarBg:N,calc:A}=e,L=zt(e,{tableFontSize:T,tableBg:r,tableRadius:I,tablePaddingVertical:h,tablePaddingHorizontal:b,tablePaddingVerticalMiddle:y,tablePaddingHorizontalMiddle:S,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:x,tableBorderColor:w,tableHeaderTextColor:o,tableHeaderBg:i,tableFooterTextColor:E,tableFooterBg:C,tableHeaderCellSplitColor:$,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:u,tableFixedHeaderSortActiveBg:M,tableHeaderFilterActiveBg:P,tableFilterDropdownBg:D,tableRowHoverBg:d,tableSelectedRowBg:p,tableSelectedRowHoverBg:g,zIndexTableFixed:YL,zIndexTableSticky:A(YL).add(1).equal({unit:!1}),tableFontSizeMiddle:_,tableFontSizeSmall:R,tableSelectionColumnWidth:k,tableExpandIconBg:O,tableExpandColumnWidth:A(a).add(A(e.padding).mul(2)).equal(),tableExpandedRowBg:m,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:N,tableScrollThumbBgHover:t,tableScrollBg:n});return[uNe(L),nNe(L),KL(L),sNe(L),eNe(L),XOe(L),rNe(L),JOe(L),KL(L),QOe(L),iNe(L),tNe(L),lNe(L),ZOe(L),oNe(L),aNe(L),cNe(L)]},dNe,{unitless:{expandIconScale:!0}}),pNe=[],gNe=(e,t)=>{var n,r;const{prefixCls:a,className:i,rootClassName:o,style:s,size:c,bordered:u,dropdownPrefixCls:d,dataSource:p,pagination:g,rowSelection:m,rowKey:h="key",rowClassName:b,columns:y,children:S,childrenColumnName:v,onChange:x,getPopupContainer:w,loading:C,expandIcon:E,expandable:I,expandedRowRender:T,expandIconColumnIndex:_,indentSize:R,scroll:$,sortDirections:M,locale:P,showSorterTooltip:D={target:"full-header"},virtual:O}=e;Zl();const k=l.useMemo(()=>y||$k(S),[y,S]),N=l.useMemo(()=>k.some(xt=>xt.responsive),[k]),A=Uy(N),L=l.useMemo(()=>{const xt=new Set(Object.keys(A).filter(nt=>A[nt]));return k.filter(nt=>!nt.responsive||nt.responsive.some(rt=>xt.has(rt)))},[k,A]),j=Dn(e,["className","style","columns"]),{locale:F=lo,direction:B,table:z,renderEmpty:U,getPrefixCls:H,getPopupContainer:K}=l.useContext(st),Y=zr(c),ee=Object.assign(Object.assign({},F.Table),P),ae=p||pNe,W=H("table",a),q=H("dropdown",d),[,Z]=ia(),Q=ir(W),[J,le,ce]=fNe(W,Q),pe=Object.assign(Object.assign({childrenColumnName:v,expandIconColumnIndex:_},I),{expandIcon:(n=I==null?void 0:I.expandIcon)!==null&&n!==void 0?n:(r=z==null?void 0:z.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:te="children"}=pe,ie=l.useMemo(()=>ae.some(xt=>xt==null?void 0:xt[te])?"nest":T||I!=null&&I.expandedRowRender?"row":null,[ae]),fe={body:l.useRef()},ge=fOe(W),ne=l.useRef(null),ue=l.useRef(null);uOe(t,()=>Object.assign(Object.assign({},ue.current),{nativeElement:ne.current}));const me=l.useMemo(()=>typeof h=="function"?h:xt=>xt==null?void 0:xt[h],[h]),[xe]=zOe(ae,te,me),Ie={},ke=function(xt,nt){let rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var bt,Ot,ht,ct;const Et=Object.assign(Object.assign({},Ie),xt);rt&&((bt=Ie.resetPagination)===null||bt===void 0||bt.call(Ie),!((Ot=Et.pagination)===null||Ot===void 0)&&Ot.current&&(Et.pagination.current=1),g&&((ht=g.onChange)===null||ht===void 0||ht.call(g,1,(ct=Et.pagination)===null||ct===void 0?void 0:ct.pageSize))),$&&$.scrollToFirstRowOnChange!==!1&&fe.body.current&&Jce(0,{getContainer:()=>fe.body.current}),x==null||x(Et.pagination,Et.filters,Et.sorter,{currentDataSource:o$(l$(ae,Et.sorterStates,te),Et.filterStates,te),action:nt})},$e=(xt,nt)=>{ke({sorter:xt,sorterStates:nt},"sort",!1)},[Le,je,He,Be]=GOe({prefixCls:W,mergedColumns:L,onSorterChange:$e,sortDirections:M||["ascend","descend"],tableLocale:ee,showSorterTooltip:D}),Pe=l.useMemo(()=>l$(ae,je,te),[ae,je]);Ie.sorter=Be(),Ie.sorterStates=je;const Se=(xt,nt)=>{ke({filters:xt,filterStates:nt},"filter",!0)},[Ne,Te,Ce]=BOe({prefixCls:W,locale:ee,dropdownPrefixCls:q,mergedColumns:L,onFilterChange:Se,getPopupContainer:w||K,rootClassName:oe(o,Q)}),De=o$(Pe,Te,te);Ie.filters=Ce,Ie.filterStates=Te;const Ge=l.useMemo(()=>{const xt={};return Object.keys(Ce).forEach(nt=>{Ce[nt]!==null&&(xt[nt]=Ce[nt])}),Object.assign(Object.assign({},He),{filters:xt})},[He,Ce]),[lt]=qOe(Ge),he=(xt,nt)=>{ke({pagination:Object.assign(Object.assign({},Ie.pagination),{current:xt,pageSize:nt})},"paginate")},[re,ve]=VOe(De.length,he,g);Ie.pagination=g===!1?{}:UOe(re,g),Ie.resetPagination=ve;const _e=l.useMemo(()=>{if(g===!1||!re.pageSize)return De;const{current:xt=1,total:nt,pageSize:rt=sX}=re;return De.lengthrt?De.slice((xt-1)*rt,xt*rt):De:De.slice((xt-1)*rt,xt*rt)},[!!g,De,re==null?void 0:re.current,re==null?void 0:re.pageSize,re==null?void 0:re.total]),[ze,Ue]=lOe({prefixCls:W,data:De,pageData:_e,getRowKey:me,getRecordByKey:xe,expandType:ie,childrenColumnName:te,locale:ee,getPopupContainer:w||K},m),Ae=(xt,nt,rt)=>{let bt;return typeof b=="function"?bt=oe(b(xt,nt,rt)):bt=oe(b),oe({[`${W}-row-selected`]:Ue.has(me(xt,nt))},bt)};pe.__PARENT_RENDER_ICON__=pe.expandIcon,pe.expandIcon=pe.expandIcon||E||dOe(ee),ie==="nest"&&pe.expandIconColumnIndex===void 0?pe.expandIconColumnIndex=m?1:0:pe.expandIconColumnIndex>0&&m&&(pe.expandIconColumnIndex-=1),typeof pe.indentSize!="number"&&(pe.indentSize=typeof R=="number"?R:15);const Oe=l.useCallback(xt=>lt(ze(Ne(Le(xt)))),[Le,Ne,ze]);let Re,at;if(g!==!1&&(re!=null&&re.total)){let xt;re.size?xt=re.size:xt=Y==="small"||Y==="middle"?"small":void 0;const nt=Ot=>l.createElement(hk,Object.assign({},re,{className:oe(`${W}-pagination ${W}-pagination-${Ot}`,re.className),size:xt})),rt=B==="rtl"?"left":"right",{position:bt}=re;if(bt!==null&&Array.isArray(bt)){const Ot=bt.find(Et=>Et.includes("top")),ht=bt.find(Et=>Et.includes("bottom")),ct=bt.every(Et=>`${Et}`=="none");!Ot&&!ht&&!ct&&(at=nt(rt)),Ot&&(Re=nt(Ot.toLowerCase().replace("top",""))),ht&&(at=nt(ht.toLowerCase().replace("bottom","")))}else at=nt(rt)}let Ye;typeof C=="boolean"?Ye={spinning:C}:typeof C=="object"&&(Ye=Object.assign({spinning:!0},C));const We=oe(ce,Q,`${W}-wrapper`,z==null?void 0:z.className,{[`${W}-wrapper-rtl`]:B==="rtl"},i,o,le),qe=Object.assign(Object.assign({},z==null?void 0:z.style),s),Qe=typeof(P==null?void 0:P.emptyText)<"u"?P.emptyText:(U==null?void 0:U("Table"))||l.createElement(zy,{componentName:"Table"}),it=O?YOe:KOe,wt={},kt=l.useMemo(()=>{const{fontSize:xt,lineHeight:nt,padding:rt,paddingXS:bt,paddingSM:Ot}=Z,ht=Math.floor(xt*nt);switch(Y){case"large":return rt*2+ht;case"small":return bt*2+ht;default:return Ot*2+ht}},[Z,Y]);return O&&(wt.listItemHeight=kt),J(l.createElement("div",{ref:ne,className:We,style:qe},l.createElement(nc,Object.assign({spinning:!1},Ye),Re,l.createElement(it,Object.assign({},wt,j,{ref:ue,columns:L,direction:B,expandable:pe,prefixCls:W,className:oe({[`${W}-middle`]:Y==="middle",[`${W}-small`]:Y==="small",[`${W}-bordered`]:u,[`${W}-empty`]:ae.length===0},ce,Q,le),data:_e,rowKey:me,rowClassName:Ae,emptyText:Qe,internalHooks:th,internalRefs:fe,transformColumns:Oe,getContainerWidth:ge})),at)))},mNe=l.forwardRef(gNe),hNe=(e,t)=>{const n=l.useRef(0);return n.current+=1,l.createElement(mNe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Ea=l.forwardRef(hNe);Ea.SELECTION_COLUMN=ol;Ea.EXPAND_COLUMN=ul;Ea.SELECTION_ALL=t$;Ea.SELECTION_INVERT=n$;Ea.SELECTION_NONE=r$;Ea.Column=Z$e;Ea.ColumnGroup=Q$e;Ea.Summary=MY;const vNe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},ln(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Mk=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return zt(e,{tagFontSize:a,tagLineHeight:G(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Pk=e=>({defaultBg:new cn(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),uX=an("Tag",e=>{const t=Mk(e);return vNe(t)},Pk);var bNe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,style:r,className:a,checked:i,onChange:o,onClick:s}=e,c=bNe(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=l.useContext(st),p=S=>{o==null||o(!i),s==null||s(S)},g=u("tag",n),[m,h,b]=uX(g),y=oe(g,`${g}-checkable`,{[`${g}-checkable-checked`]:i},d==null?void 0:d.className,a,h,b);return m(l.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:y,onClick:p})))}),xNe=e=>Ey(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),SNe=uu(["Tag","preset"],e=>{const t=Mk(e);return xNe(t)},Pk);function wNe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const fv=(e,t,n)=>{const r=wNe(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},CNe=uu(["Tag","status"],e=>{const t=Mk(e);return[fv(t,"success","Success"),fv(t,"processing","Info"),fv(t,"error","Error"),fv(t,"warning","Warning")]},Pk);var ENe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,className:r,rootClassName:a,style:i,children:o,icon:s,color:c,onClose:u,bordered:d=!0,visible:p}=e,g=ENe(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:h,tag:b}=l.useContext(st),[y,S]=l.useState(!0),v=Dn(g,["closeIcon","closable"]);l.useEffect(()=>{p!==void 0&&S(p)},[p]);const x=Gy(c),w=Bhe(c),C=x||w,E=Object.assign(Object.assign({backgroundColor:c&&!C?c:void 0},b==null?void 0:b.style),i),I=m("tag",n),[T,_,R]=uX(I),$=oe(I,b==null?void 0:b.className,{[`${I}-${c}`]:C,[`${I}-has-color`]:c&&!C,[`${I}-hidden`]:!y,[`${I}-rtl`]:h==="rtl",[`${I}-borderless`]:!d},r,a,_,R),M=A=>{A.stopPropagation(),u==null||u(A),!A.defaultPrevented&&S(!1)},[,P]=$N(Jd(e),Jd(b),{closable:!1,closeIconRender:A=>{const L=l.createElement("span",{className:`${I}-close-icon`,onClick:M},A);return pN(A,L,j=>({onClick:F=>{var B;(B=j==null?void 0:j.onClick)===null||B===void 0||B.call(j,F),M(F)},className:oe(j==null?void 0:j.className,`${I}-close-icon`)}))}}),D=typeof g.onClick=="function"||o&&o.type==="a",O=s||null,k=O?l.createElement(l.Fragment,null,O,o&&l.createElement("span",null,o)):o,N=l.createElement("span",Object.assign({},v,{ref:t,className:$,style:E}),k,P,x&&l.createElement(SNe,{key:"preset",prefixCls:I}),w&&l.createElement(CNe,{key:"status",prefixCls:I}));return T(D?l.createElement(km,{component:"Tag"},N):N)}),tm=INe;tm.CheckableTag=yNe;const TNe=e=>{const t=e!=null&&e.algorithm?Ug(e.algorithm):Ug(_m),n=Object.assign(Object.assign({},Yd),e==null?void 0:e.token);return ZU(n,{override:e==null?void 0:e.token},t,cN)};function RNe(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const _Ne=(e,t)=>{const n=t??_m(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),RNe(t??e)),wV(r)),{controlHeight:a}),SV(Object.assign(Object.assign({},n),{controlHeight:a})))},Wi=(e,t)=>new cn(e).setAlpha(t).toRgbString(),zu=(e,t)=>new cn(e).lighten(t).toHexString(),$Ne=e=>{const t=Kc(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},ONe=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Wi(r,.85),colorTextSecondary:Wi(r,.65),colorTextTertiary:Wi(r,.45),colorTextQuaternary:Wi(r,.25),colorFill:Wi(r,.18),colorFillSecondary:Wi(r,.12),colorFillTertiary:Wi(r,.08),colorFillQuaternary:Wi(r,.04),colorBgSolid:Wi(r,.95),colorBgSolidHover:Wi(r,1),colorBgSolidActive:Wi(r,.9),colorBgElevated:zu(n,12),colorBgContainer:zu(n,8),colorBgLayout:zu(n,0),colorBgSpotlight:zu(n,26),colorBgBlur:Wi(r,.04),colorBorder:zu(n,26),colorBorderSecondary:zu(n,19)}},NNe=(e,t)=>{const n=Object.keys(iN).map(a=>{const i=Kc(e[a],{theme:"dark"});return new Array(10).fill(1).reduce((o,s,c)=>(o[`${a}-${c+1}`]=i[c],o[`${a}${c+1}`]=i[c],o),{})}).reduce((a,i)=>(a=Object.assign(Object.assign({},a),i),a),{}),r=t??_m(e);return Object.assign(Object.assign(Object.assign({},r),n),xV(e,{generateColorPalettes:$Ne,generateNeutralColorPalettes:ONe}))};function kNe(){const[e,t,n]=ia();return{theme:e,token:t,hashId:n}}const Ar={defaultSeed:Gg.token,useToken:kNe,defaultAlgorithm:_m,darkAlgorithm:NNe,compactAlgorithm:_Ne,getDesignToken:TNe,defaultConfig:Gg,_internalContext:oN},ANe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},ln(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:`calc(100% - ${G(e.itemHeadSize)})`,borderInlineStart:`${G(e.tailWidth)} ${e.lineType} ${e.tailColor}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${G(e.dotBorderWidth)} ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},[`&${t}-alternate, - &${t}-right, - &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${G(e.marginXXS)})`,width:`calc(50% - ${G(e.marginSM)})`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${G(e.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail, - ${t}-item-head, - ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${G(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal())})`},[`${t}-item-content`]:{width:`calc(100% - ${G(n(e.itemHeadSize).add(e.marginXS).equal())})`}}},[`&${t}-pending - ${t}-item-last - ${t}-item-tail`]:{display:"block",height:`calc(100% - ${G(e.margin)})`,borderInlineStart:`${G(e.tailWidth)} dotted ${e.tailColor}`},[`&${t}-reverse - ${t}-item-last - ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${G(e.margin)})`,borderInlineStart:`${G(e.tailWidth)} dotted ${e.tailColor}`},[`${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:`calc(50% - ${G(e.marginSM)})`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${G(e.marginSM)})`,width:`calc(50% - ${G(e.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},DNe=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3,dotBg:e.colorBgContainer,itemPaddingBottom:e.padding*1.25}),MNe=an("Timeline",e=>{const t=zt(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[ANe(t)]},DNe);var PNe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,color:r="blue",dot:a,pending:i=!1,position:o,label:s,children:c}=e,u=PNe(e,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:d}=l.useContext(st),p=d("timeline",t),g=oe(`${p}-item`,{[`${p}-item-pending`]:i},n),m=/blue|red|green|gray/.test(r||"")?void 0:r,h=oe(`${p}-item-head`,{[`${p}-item-head-custom`]:!!a,[`${p}-item-head-${r}`]:!m});return l.createElement("li",Object.assign({},u,{className:g}),s&&l.createElement("div",{className:`${p}-item-label`},s),l.createElement("div",{className:`${p}-item-tail`}),l.createElement("div",{className:h,style:{borderColor:m,color:m}},a),l.createElement("div",{className:`${p}-item-content`},c))};var XL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,pending:r=!1,children:a,items:i,rootClassName:o,reverse:s=!1,direction:c,hashId:u,pendingDot:d,mode:p=""}=e,g=XL(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const m=(C,E)=>p==="alternate"?C==="right"?`${t}-item-right`:C==="left"?`${t}-item-left`:E%2===0?`${t}-item-left`:`${t}-item-right`:p==="left"?`${t}-item-left`:p==="right"?`${t}-item-right`:C==="right"?`${t}-item-right`:"",h=Me(i||[]),b=typeof r=="boolean"?null:r;r&&h.push({pending:!!r,dot:d||l.createElement(uo,null),children:b}),s&&h.reverse();const y=h.length,S=`${t}-item-last`,v=h.filter(C=>!!C).map((C,E)=>{var I;const T=E===y-2?S:"",_=E===y-1?S:"",{className:R}=C,$=XL(C,["className"]);return l.createElement(dX,Object.assign({},$,{className:oe([R,!s&&r?T:_,m((I=C==null?void 0:C.position)!==null&&I!==void 0?I:"",E)]),key:(C==null?void 0:C.key)||E}))}),x=h.some(C=>!!(C!=null&&C.label)),w=oe(t,{[`${t}-pending`]:!!r,[`${t}-reverse`]:!!s,[`${t}-${p}`]:!!p&&!x,[`${t}-label`]:x,[`${t}-rtl`]:c==="rtl"},n,o,u);return l.createElement("ul",Object.assign({},g,{className:w}),v)};function jNe(e,t){return e&&Array.isArray(e)?e:Nr(t).map(n=>{var r,a;return Object.assign({children:(a=(r=n==null?void 0:n.props)===null||r===void 0?void 0:r.children)!==null&&a!==void 0?a:""},n.props)})}var FNe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,timeline:r}=l.useContext(st),{prefixCls:a,children:i,items:o,className:s,style:c}=e,u=FNe(e,["prefixCls","children","items","className","style"]),d=t("timeline",a),p=ir(d),[g,m,h]=MNe(d,p),b=jNe(o,i);return g(l.createElement(LNe,Object.assign({},u,{className:oe(r==null?void 0:r.className,s,h,p),style:Object.assign(Object.assign({},r==null?void 0:r.style),c),prefixCls:d,direction:n,items:b,hashId:m})))};Lk.Item=dX;const BNe=function(e){var t=l.useRef({valueLabels:new Map});return l.useMemo(function(){var n=t.current.valueLabels,r=new Map,a=e.map(function(i){var o,s=i.value,c=(o=i.label)!==null&&o!==void 0?o:n.get(s);return r.set(s,c),X(X({},i),{},{label:c})});return t.current.valueLabels=r,[a]},[e])},zNe=function(e,t,n,r){return l.useMemo(function(){var a=e.map(function(c){var u=c.value;return u}),i=t.map(function(c){var u=c.value;return u}),o=a.filter(function(c){return!r[c]});if(n){var s=Os(a,!0,r);a=s.checkedKeys,i=s.halfCheckedKeys}return[Array.from(new Set([].concat(Me(o),Me(a)))),i]},[e,t,n,r])};function HNe(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function UNe(e){var t=e||{},n=t.label,r=t.value,a=t.children,i=r||"value";return{_title:n?[n]:["title","label"],value:i,key:i,children:a||"children"}}function c$(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function VNe(e,t){var n=[];function r(a){a.forEach(function(i){var o=i[t.children];o&&(n.push(i[t.value]),r(o))})}return r(e),n}function ZL(e){return e==null}const WNe=function(e,t){return l.useMemo(function(){var n=ix(e,{fieldNames:t,initWrapper:function(a){return X(X({},a),{},{valueEntities:new Map})},processEntity:function(a,i){var o=a.node[t.value];i.valueEntities.set(o,a)}});return n},[e,t])};var jk=function(){return null},GNe=["children","value"];function fX(e){return Nr(e).map(function(t){if(!l.isValidElement(t)||!t.type)return null;var n=t,r=n.key,a=n.props,i=a.children,o=a.value,s=Ct(a,GNe),c=X({key:r,value:o},s),u=fX(i);return u.length&&(c.children=u),c}).filter(function(t){return t})}function u$(e){if(!e)return e;var t=X({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return $n(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function qNe(e,t,n,r,a,i){var o=null,s=null;function c(){function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(m,h){var b="".concat(p,"-").concat(h),y=m[i.value],S=n.includes(y),v=u(m[i.children]||[],b,S),x=l.createElement(jk,m,v.map(function(C){return C.node}));if(t===y&&(o=x),S){var w={pos:b,node:x,children:v};return g||s.push(w),w}return null}).filter(function(m){return m})}s||(s=[],u(r),s.sort(function(d,p){var g=d.node.props.value,m=p.node.props.value,h=n.indexOf(g),b=n.indexOf(m);return h-b}))}Object.defineProperty(e,"triggerNode",{get:function(){return $n(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return $n(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),a?s:s.map(function(d){var p=d.node;return p})}})}const KNe=function(e,t,n){var r=n.treeNodeFilterProp,a=n.filterTreeNode,i=n.fieldNames,o=i.children;return l.useMemo(function(){if(!t||a===!1)return e;var s;if(typeof a=="function")s=a;else{var c=t.toUpperCase();s=function(p,g){var m=g[r];return String(m).toUpperCase().includes(c)}}function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(g,m){var h=m[o],b=p||s(t,u$(m)),y=u(h||[],b);return(b||y.length)&&g.push(X(X({},m),{},V({isLeaf:void 0},o,y))),g},[])}return u(e)},[e,t,o,r,a])};function QL(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function YNe(e,t){var n=t.id,r=t.pId,a=t.rootPId,i={},o=[],s=e.map(function(c){var u=X({},c),d=u[n];return i[d]=u,u.key=u.key||d,u});return s.forEach(function(c){var u=c[r],d=i[u];d&&(d.children=d.children||[],d.children.push(c)),(u===a||!d&&a===null)&&o.push(c)}),o}function XNe(e,t,n){return l.useMemo(function(){return e?n?YNe(e,X({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:fX(t)},[t,n,e])}var pX=l.createContext(null),gX=l.createContext(null),ZNe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},QNe=function(t,n){var r=tG(),a=r.prefixCls,i=r.multiple,o=r.searchValue,s=r.toggleOpen,c=r.open,u=r.notFoundContent,d=l.useContext(gX),p=d.virtual,g=d.listHeight,m=d.listItemHeight,h=d.listItemScrollOffset,b=d.treeData,y=d.fieldNames,S=d.onSelect,v=d.dropdownMatchSelectWidth,x=d.treeExpandAction,w=d.treeTitleRender,C=d.onPopupScroll,E=l.useContext(pX),I=E.checkable,T=E.checkedKeys,_=E.halfCheckedKeys,R=E.treeExpandedKeys,$=E.treeDefaultExpandAll,M=E.treeDefaultExpandedKeys,P=E.onTreeExpand,D=E.treeIcon,O=E.showTreeIcon,k=E.switcherIcon,N=E.treeLine,A=E.treeNodeFilterProp,L=E.loadData,j=E.treeLoadedKeys,F=E.treeMotion,B=E.onTreeLoad,z=E.keyEntities,U=l.useRef(),H=Xl(function(){return b},[c,b],function(ke,$e){return $e[0]&&ke[1]!==$e[1]}),K=l.useState(null),Y=se(K,2),ee=Y[0],ae=Y[1],W=z[ee],q=l.useMemo(function(){return I?{checked:T,halfChecked:_}:null},[I,T,_]);l.useEffect(function(){if(c&&!i&&T.length){var ke;(ke=U.current)===null||ke===void 0||ke.scrollTo({key:T[0]}),ae(T[0])}},[c]);var Z=String(o).toLowerCase(),Q=function($e){return Z?String($e[A]).toLowerCase().includes(Z):!1},J=l.useState(M),le=se(J,2),ce=le[0],pe=le[1],te=l.useState(null),ie=se(te,2),fe=ie[0],ge=ie[1],ne=l.useMemo(function(){return R?Me(R):o?fe:ce},[ce,fe,R,o]);l.useEffect(function(){o&&ge(VNe(b,y))},[o]);var ue=function($e){pe($e),ge($e),P&&P($e)},me=function($e){$e.preventDefault()},xe=function($e,Le){var je=Le.node;I&&c$(je)||(S(je.key,{selected:!T.includes(je.key)}),i||s(!1))};if(l.useImperativeHandle(n,function(){var ke;return{scrollTo:(ke=U.current)===null||ke===void 0?void 0:ke.scrollTo,onKeyDown:function(Le){var je,He=Le.which;switch(He){case Fe.UP:case Fe.DOWN:case Fe.LEFT:case Fe.RIGHT:(je=U.current)===null||je===void 0||je.onKeyDown(Le);break;case Fe.ENTER:{if(W){var Be=(W==null?void 0:W.node)||{},Pe=Be.selectable,Se=Be.value;Pe!==!1&&xe(null,{node:{key:ee},selected:!T.includes(Se)})}break}case Fe.ESC:s(!1)}},onKeyUp:function(){}}}),H.length===0)return l.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:me},u);var Ie={fieldNames:y};return j&&(Ie.loadedKeys=j),ne&&(Ie.expandedKeys=ne),l.createElement("div",{onMouseDown:me},W&&c&&l.createElement("span",{style:ZNe,"aria-live":"assertive"},W.node.value),l.createElement(hx,be({ref:U,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:H,height:g,itemHeight:m,itemScrollOffset:h,virtual:p!==!1&&v!==!1,multiple:i,icon:D,showIcon:O,switcherIcon:k,showLine:N,loadData:o?null:L,motion:F,activeKey:ee,checkable:I,checkStrictly:!0,checkedKeys:q,selectedKeys:I?[]:T,defaultExpandAll:$,titleRender:w},Ie,{onActiveChange:ae,onSelect:xe,onCheck:xe,onExpand:ue,onLoad:B,filterTreeNode:Q,expandAction:x,onScroll:C})))},JNe=l.forwardRef(QNe),Fk="SHOW_ALL",Bk="SHOW_PARENT",vx="SHOW_CHILD";function JL(e,t,n,r){var a=new Set(e);return t===vx?e.filter(function(i){var o=n[i];return!(o&&o.children&&o.children.some(function(s){var c=s.node;return a.has(c[r.value])})&&o.children.every(function(s){var c=s.node;return c$(c)||a.has(c[r.value])}))}):t===Bk?e.filter(function(i){var o=n[i],s=o?o.parent:null;return!(s&&!c$(s.node)&&a.has(s.key))}):e}var eke=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function tke(e){return!e||mt(e)!=="object"}var nke=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tree-select":r,i=e.value,o=e.defaultValue,s=e.onChange,c=e.onSelect,u=e.onDeselect,d=e.searchValue,p=e.inputValue,g=e.onSearch,m=e.autoClearSearchValue,h=m===void 0?!0:m,b=e.filterTreeNode,y=e.treeNodeFilterProp,S=y===void 0?"value":y,v=e.showCheckedStrategy,x=e.treeNodeLabelProp,w=e.multiple,C=e.treeCheckable,E=e.treeCheckStrictly,I=e.labelInValue,T=e.fieldNames,_=e.treeDataSimpleMode,R=e.treeData,$=e.children,M=e.loadData,P=e.treeLoadedKeys,D=e.onTreeLoad,O=e.treeDefaultExpandAll,k=e.treeExpandedKeys,N=e.treeDefaultExpandedKeys,A=e.onTreeExpand,L=e.treeExpandAction,j=e.virtual,F=e.listHeight,B=F===void 0?200:F,z=e.listItemHeight,U=z===void 0?20:z,H=e.listItemScrollOffset,K=H===void 0?0:H,Y=e.onDropdownVisibleChange,ee=e.dropdownMatchSelectWidth,ae=ee===void 0?!0:ee,W=e.treeLine,q=e.treeIcon,Z=e.showTreeIcon,Q=e.switcherIcon,J=e.treeMotion,le=e.treeTitleRender,ce=e.onPopupScroll,pe=Ct(e,eke),te=pG(n),ie=C&&!E,fe=C||E,ge=E||I,ne=fe||w,ue=pn(o,{value:i}),me=se(ue,2),xe=me[0],Ie=me[1],ke=l.useMemo(function(){return C?v||vx:Fk},[v,C]),$e=l.useMemo(function(){return UNe(T)},[JSON.stringify(T)]),Le=pn("",{value:d!==void 0?d:p,postState:function(ct){return ct||""}}),je=se(Le,2),He=je[0],Be=je[1],Pe=function(ct){Be(ct),g==null||g(ct)},Se=XNe(R,$,_),Ne=WNe(Se,$e),Te=Ne.keyEntities,Ce=Ne.valueEntities,De=l.useCallback(function(ht){var ct=[],Et=[];return ht.forEach(function(Ze){Ce.has(Ze)?Et.push(Ze):ct.push(Ze)}),{missingRawValues:ct,existRawValues:Et}},[Ce]),Ge=KNe(Se,He,{fieldNames:$e,treeNodeFilterProp:S,filterTreeNode:b}),lt=l.useCallback(function(ht){if(ht){if(x)return ht[x];for(var ct=$e._title,Et=0;Et{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${G(e.paddingXS)} ${G(e.calc(e.paddingXS).div(2).equal())}`},JY(n,zt(e,{colorBgContainer:r})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},sk(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function ake(e,t,n){return an("TreeSelect",r=>{const a=zt(r,{treePrefixCls:t});return[rke(a)]},eX)(e,n)}var ike=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,size:a,disabled:i,bordered:o=!0,className:s,rootClassName:c,treeCheckable:u,multiple:d,listHeight:p=256,listItemHeight:g=26,placement:m,notFoundContent:h,switcherIcon:b,treeLine:y,getPopupContainer:S,popupClassName:v,dropdownClassName:x,treeIcon:w=!1,transitionName:C,choiceTransitionName:E="",status:I,treeExpandAction:T,builtinPlacements:_,dropdownMatchSelectWidth:R,popupMatchSelectWidth:$,allowClear:M,variant:P,dropdownStyle:D,tagRender:O}=e,k=ike(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:N,getPrefixCls:A,renderEmpty:L,direction:j,virtual:F,popupMatchSelectWidth:B,popupOverflow:z}=l.useContext(st),U=A(),H=A("select",r),K=A("select-tree",r),Y=A("tree-select",r),{compactSize:ee,compactItemClassnames:ae}=Ws(H,j),W=ir(H),q=ir(Y),[Z,Q,J]=wG(H,W),[le]=ake(Y,K,q),[ce,pe]=du("treeSelect",P,o),te=oe(v||x,`${Y}-dropdown`,{[`${Y}-dropdown-rtl`]:j==="rtl"},c,J,W,q,Q),ie=!!(u||d),fe=CG(e.suffixIcon,e.showArrow),ge=(n=$??R)!==null&&n!==void 0?n:B,{status:ne,hasFeedback:ue,isFormItemInput:me,feedbackIcon:xe}=l.useContext(aa),Ie=ec(ne,I),{suffixIcon:ke,removeIcon:$e,clearIcon:Le}=MN(Object.assign(Object.assign({},k),{multiple:ie,showSuffixIcon:fe,hasFeedback:ue,feedbackIcon:xe,prefixCls:H,componentName:"TreeSelect"})),je=M===!0?{clearIcon:Le}:M;let He;h!==void 0?He=h:He=(L==null?void 0:L("Select"))||l.createElement(zy,{componentName:"Select"});const Be=Dn(k,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Pe=l.useMemo(()=>m!==void 0?m:j==="rtl"?"bottomRight":"bottomLeft",[m,j]),Se=zr(he=>{var re;return(re=a??ee)!==null&&re!==void 0?re:he}),Ne=l.useContext(ha),Te=i??Ne,Ce=oe(!r&&Y,{[`${H}-lg`]:Se==="large",[`${H}-sm`]:Se==="small",[`${H}-rtl`]:j==="rtl",[`${H}-${ce}`]:pe,[`${H}-in-form-item`]:me},Fs(H,Ie,ue),ae,s,c,J,W,q,Q),De=he=>l.createElement(tX,{prefixCls:K,switcherIcon:b,treeNodeProps:he,showLine:y}),[Ge]=Ho("SelectLike",D==null?void 0:D.zIndex),lt=l.createElement(nh,Object.assign({virtual:F,disabled:Te},Be,{dropdownMatchSelectWidth:ge,builtinPlacements:vG(_,z),ref:t,prefixCls:H,className:Ce,listHeight:p,listItemHeight:g,treeCheckable:u&&l.createElement("span",{className:`${H}-tree-checkbox-inner`}),treeLine:!!y,suffixIcon:ke,multiple:ie,placement:Pe,removeIcon:$e,allowClear:je,switcherIcon:De,showTreeIcon:w,notFoundContent:He,getPopupContainer:S||N,treeMotion:null,dropdownClassName:te,dropdownStyle:Object.assign(Object.assign({},D),{zIndex:Ge}),choiceTransitionName:za(U,"",E),transitionName:za(U,"slide-up",C),treeExpandAction:T,tagRender:ie?O:void 0}));return Z(le(lt))},ske=l.forwardRef(oke),rc=ske,lke=Fm(rc);rc.TreeNode=jk;rc.SHOW_ALL=Fk;rc.SHOW_PARENT=Bk;rc.SHOW_CHILD=vx;rc._InternalPanelDoNotUseOrYouWillBeFired=lke;const cke=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:i}=r;return{marginBottom:a,color:n,fontWeight:i,fontSize:e,lineHeight:t}},uke=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` - h${r}&, - div&-h${r}, - div&-h${r} > textarea, - h${r} - `]=cke(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},dke=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},uN(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},fke=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:t0[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),pke=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${G(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},gke=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),mke=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),hke=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},uke(e)),{[` - & + h1${t}, - & + h2${t}, - & + h3${t}, - & + h4${t}, - & + h5${t} - `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),fke(e)),dke(e)),{[` - ${t}-expand, - ${t}-collapse, - ${t}-edit, - ${t}-copy - `]:Object.assign(Object.assign({},uN(e)),{marginInlineStart:e.marginXXS})}),pke(e)),gke(e)),mke()),{"&-rtl":{direction:"rtl"}})}},vke=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),mX=an("Typography",e=>[hke(e)],vke),bke=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:i,maxLength:o,autoSize:s=!0,value:c,onSave:u,onCancel:d,onEnd:p,component:g,enterIcon:m=l.createElement(MIe,null)}=e,h=l.useRef(null),b=l.useRef(!1),y=l.useRef(),[S,v]=l.useState(c);l.useEffect(()=>{v(c)},[c]),l.useEffect(()=>{var D;if(!((D=h.current)===null||D===void 0)&&D.resizableTextArea){const{textArea:O}=h.current.resizableTextArea;O.focus();const{length:k}=O.value;O.setSelectionRange(k,k)}},[]);const x=D=>{let{target:O}=D;v(O.value.replace(/[\n\r]/g,""))},w=()=>{b.current=!0},C=()=>{b.current=!1},E=D=>{let{keyCode:O}=D;b.current||(y.current=O)},I=()=>{u(S.trim())},T=D=>{let{keyCode:O,ctrlKey:k,altKey:N,metaKey:A,shiftKey:L}=D;y.current!==O||b.current||k||N||A||L||(O===Fe.ENTER?(I(),p==null||p()):O===Fe.ESC&&d())},_=()=>{I()},[R,$,M]=mX(t),P=oe(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl",[`${t}-${g}`]:!!g},r,$,M);return R(l.createElement("div",{className:P,style:a},l.createElement(xK,{ref:h,maxLength:o,value:S,onChange:x,onKeyDown:E,onKeyUp:T,onCompositionStart:w,onCompositionEnd:C,onBlur:_,"aria-label":n,rows:1,autoSize:s}),m!==null?kr(m,{className:`${t}-edit-content-confirm`}):null))};var yke=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var p=ej[t.format]||ej.default;window.clipboardData.setData(p,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(s),i.selectNodeContents(s),o.addRange(i);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");c=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),r=wke("message"in t?t.message:Ske),window.prompt(r,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),s&&document.body.removeChild(s),a()}return c}var Eke=Cke;const Ike=Za(Eke);var Tke=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function c(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,c)}u((r=r.apply(e,t||[])).next())})};const Rke=e=>{let{copyConfig:t,children:n}=e;const[r,a]=l.useState(!1),[i,o]=l.useState(!1),s=l.useRef(null),c=()=>{s.current&&clearTimeout(s.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>c,[]);const d=Yt(p=>Tke(void 0,void 0,void 0,function*(){var g;p==null||p.preventDefault(),p==null||p.stopPropagation(),o(!0);try{const m=typeof t.text=="function"?yield t.text():t.text;Ike(m||KEe(n,!0).join("")||"",u),o(!1),a(!0),c(),s.current=setTimeout(()=>{a(!1)},3e3),(g=t.onCopy)===null||g===void 0||g.call(t,p)}catch(m){throw o(!1),m}}));return{copied:r,copyLoading:i,onClick:d}};function N1(e,t){return l.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const _ke=e=>{const t=l.useRef();return l.useEffect(()=>{t.current=e}),t.current},$ke=(e,t,n)=>l.useMemo(()=>e===!0?{title:t??n}:l.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??n},e):{title:e},[e,t,n]);var Oke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,component:r="article",className:a,rootClassName:i,setContentRef:o,children:s,direction:c,style:u}=e,d=Oke(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:g,typography:m}=l.useContext(st),h=c??g,b=o?ba(t,o):t,y=p("typography",n),[S,v,x]=mX(y),w=oe(y,m==null?void 0:m.className,{[`${y}-rtl`]:h==="rtl"},a,i,v,x),C=Object.assign(Object.assign({},m==null?void 0:m.style),u);return S(l.createElement(r,Object.assign({className:w,style:C,ref:b},d),s))});function tj(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function k1(e,t,n){return e===!0||e===void 0?t:e||n&&t}function Nke(e){const t=document.createElement("em");e.appendChild(t);const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}const zk=e=>["string","number"].includes(typeof e),kke=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:i,icon:o,tabIndex:s,onCopy:c,loading:u}=e;const d=tj(i),p=tj(o),{copied:g,copy:m}=r??{},h=n?g:m,b=k1(d[n?1:0],h),y=typeof b=="string"?b:h;return l.createElement(Ft,{title:b},l.createElement("button",{type:"button",className:oe(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:c,"aria-label":y,tabIndex:s},n?k1(p[1],l.createElement($f,null),!0):k1(p[0],u?l.createElement(uo,null):l.createElement(fx,null),!0)))},pv=l.forwardRef((e,t)=>{let{style:n,children:r}=e;const a=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{const i=a.current;return i.scrollHeight>i.clientHeight},getHeight:()=>a.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)}),Ake=e=>e.reduce((t,n)=>t+(zk(n)?String(n).length:1),0);function nj(e,t){let n=0;const r=[];for(let a=0;at){const u=t-n;return r.push(String(i).slice(0,u)),r}r.push(i),n=c}return e}const A1=0,D1=1,M1=2,P1=3,rj=4,gv={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Dke(e){const{enableMeasure:t,width:n,text:r,children:a,rows:i,expanded:o,miscDeps:s,onEllipsis:c}=e,u=l.useMemo(()=>Nr(r),[r]),d=l.useMemo(()=>Ake(u),[r]),p=l.useMemo(()=>a(u,!1),[r]),[g,m]=l.useState(null),h=l.useRef(null),b=l.useRef(null),y=l.useRef(null),S=l.useRef(null),v=l.useRef(null),[x,w]=l.useState(!1),[C,E]=l.useState(A1),[I,T]=l.useState(0),[_,R]=l.useState(null);Zt(()=>{E(t&&n&&d?D1:A1)},[n,r,i,t,u]),Zt(()=>{var D,O,k,N;if(C===D1){E(M1);const A=b.current&&getComputedStyle(b.current).whiteSpace;R(A)}else if(C===M1){const A=!!(!((D=y.current)===null||D===void 0)&&D.isExceed());E(A?P1:rj),m(A?[0,d]:null),w(A);const L=((O=y.current)===null||O===void 0?void 0:O.getHeight())||0,j=i===1?0:((k=S.current)===null||k===void 0?void 0:k.getHeight())||0,F=((N=v.current)===null||N===void 0?void 0:N.getHeight())||0,B=Math.max(L,j+F);T(B+1),c(A)}},[C]);const $=g?Math.ceil((g[0]+g[1])/2):0;Zt(()=>{var D;const[O,k]=g||[0,0];if(O!==k){const A=(((D=h.current)===null||D===void 0?void 0:D.getHeight())||0)>I;let L=$;k-O===1&&(L=A?O:k),m(A?[O,L]:[L,k])}},[g,$]);const M=l.useMemo(()=>{if(!t)return a(u,!1);if(C!==P1||!g||g[0]!==g[1]){const D=a(u,!1);return[rj,A1].includes(C)?D:l.createElement("span",{style:Object.assign(Object.assign({},gv),{WebkitLineClamp:i})},D)}return a(o?u:nj(u,g[0]),x)},[o,C,g,u].concat(Me(s))),P={width:n,margin:0,padding:0,whiteSpace:_==="nowrap"?"normal":"inherit"};return l.createElement(l.Fragment,null,M,C===M1&&l.createElement(l.Fragment,null,l.createElement(pv,{style:Object.assign(Object.assign(Object.assign({},P),gv),{WebkitLineClamp:i}),ref:y},p),l.createElement(pv,{style:Object.assign(Object.assign(Object.assign({},P),gv),{WebkitLineClamp:i-1}),ref:S},p),l.createElement(pv,{style:Object.assign(Object.assign(Object.assign({},P),gv),{WebkitLineClamp:1}),ref:v},a([],!0))),C===P1&&g&&g[0]!==g[1]&&l.createElement(pv,{style:Object.assign(Object.assign({},P),{top:400}),ref:h},a(nj(u,$),!0)),C===D1&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:b}))}const Mke=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:l.createElement(Ft,Object.assign({open:n?void 0:!1},a),r)};var Pke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,style:i,type:o,disabled:s,children:c,ellipsis:u,editable:d,copyable:p,component:g,title:m}=e,h=Pke(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:b,direction:y}=l.useContext(st),[S]=us("Text"),v=l.useRef(null),x=l.useRef(null),w=b("typography",r),C=Dn(h,["mark","code","delete","underline","strong","keyboard","italic"]),[E,I]=N1(d),[T,_]=pn(!1,{value:I.editing}),{triggerType:R=["icon"]}=I,$=Te=>{var Ce;Te&&((Ce=I.onStart)===null||Ce===void 0||Ce.call(I)),_(Te)},M=_ke(T);Zt(()=>{var Te;!T&&M&&((Te=x.current)===null||Te===void 0||Te.focus())},[T]);const P=Te=>{Te==null||Te.preventDefault(),$(!0)},D=Te=>{var Ce;(Ce=I.onChange)===null||Ce===void 0||Ce.call(I,Te),$(!1)},O=()=>{var Te;(Te=I.onCancel)===null||Te===void 0||Te.call(I),$(!1)},[k,N]=N1(p),{copied:A,copyLoading:L,onClick:j}=Rke({copyConfig:N,children:c}),[F,B]=l.useState(!1),[z,U]=l.useState(!1),[H,K]=l.useState(!1),[Y,ee]=l.useState(!1),[ae,W]=l.useState(!0),[q,Z]=N1(u,{expandable:!1,symbol:Te=>Te?S==null?void 0:S.collapse:S==null?void 0:S.expand}),[Q,J]=pn(Z.defaultExpanded||!1,{value:Z.expanded}),le=q&&(!Q||Z.expandable==="collapsible"),{rows:ce=1}=Z,pe=l.useMemo(()=>le&&(Z.suffix!==void 0||Z.onEllipsis||Z.expandable||E||k),[le,Z,E,k]);Zt(()=>{q&&!pe&&(B(T_("webkitLineClamp")),U(T_("textOverflow")))},[pe,q]);const[te,ie]=l.useState(le),fe=l.useMemo(()=>pe?!1:ce===1?z:F,[pe,z,F]);Zt(()=>{ie(fe&&le)},[fe,le]);const ge=le&&(te?Y:H),ne=le&&ce===1&&te,ue=le&&ce>1&&te,me=(Te,Ce)=>{var De;J(Ce.expanded),(De=Z.onExpand)===null||De===void 0||De.call(Z,Te,Ce)},[xe,Ie]=l.useState(0),ke=Te=>{let{offsetWidth:Ce}=Te;Ie(Ce)},$e=Te=>{var Ce;K(Te),H!==Te&&((Ce=Z.onEllipsis)===null||Ce===void 0||Ce.call(Z,Te))};l.useEffect(()=>{const Te=v.current;if(q&&te&&Te){const Ce=Nke(Te);Y!==Ce&&ee(Ce)}},[q,te,c,ue,ae,xe]),l.useEffect(()=>{const Te=v.current;if(typeof IntersectionObserver>"u"||!Te||!te||!le)return;const Ce=new IntersectionObserver(()=>{W(!!Te.offsetParent)});return Ce.observe(Te),()=>{Ce.disconnect()}},[te,le]);const Le=$ke(Z.tooltip,I.text,c),je=l.useMemo(()=>{if(!(!q||te))return[I.text,c,m,Le.title].find(zk)},[q,te,m,Le.title,ge]);if(T)return l.createElement(bke,{value:(n=I.text)!==null&&n!==void 0?n:typeof c=="string"?c:"",onSave:D,onCancel:O,onEnd:I.onEnd,prefixCls:w,className:a,style:i,direction:y,component:g,maxLength:I.maxLength,autoSize:I.autoSize,enterIcon:I.enterIcon});const He=()=>{const{expandable:Te,symbol:Ce}=Z;return Te?l.createElement("button",{type:"button",key:"expand",className:`${w}-${Q?"collapse":"expand"}`,onClick:De=>me(De,{expanded:!Q}),"aria-label":Q?S.collapse:S==null?void 0:S.expand},typeof Ce=="function"?Ce(Q):Ce):null},Be=()=>{if(!E)return;const{icon:Te,tooltip:Ce,tabIndex:De}=I,Ge=Nr(Ce)[0]||(S==null?void 0:S.edit),lt=typeof Ge=="string"?Ge:"";return R.includes("icon")?l.createElement(Ft,{key:"edit",title:Ce===!1?"":Ge},l.createElement("button",{type:"button",ref:x,className:`${w}-edit`,onClick:P,"aria-label":lt,tabIndex:De},Te||l.createElement(Ul,{role:"button"}))):null},Pe=()=>k?l.createElement(kke,Object.assign({key:"copy"},N,{prefixCls:w,copied:A,locale:S,onCopy:j,loading:L,iconOnly:c==null})):null,Se=Te=>[Te&&He(),Be(),Pe()],Ne=Te=>[Te&&!Q&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},jke),Z.suffix,Se(Te)];return l.createElement(Ta,{onResize:ke,disabled:!le},Te=>l.createElement(Mke,{tooltipProps:Le,enableEllipsis:le,isEllipsis:ge},l.createElement(hX,Object.assign({className:oe({[`${w}-${o}`]:o,[`${w}-disabled`]:s,[`${w}-ellipsis`]:q,[`${w}-ellipsis-single-line`]:ne,[`${w}-ellipsis-multiple-line`]:ue},a),prefixCls:r,style:Object.assign(Object.assign({},i),{WebkitLineClamp:ue?ce:void 0}),component:g,ref:ba(Te,v,t),direction:y,onClick:R.includes("text")?P:void 0,"aria-label":je==null?void 0:je.toString(),title:m},C),l.createElement(Dke,{enableMeasure:le&&!te,text:c,rows:ce,width:xe,onEllipsis:$e,expanded:Q,miscDeps:[A,Q,L,E,k]},(Ce,De)=>Lke(e,l.createElement(l.Fragment,null,Ce.length>0&&De&&!Q&&je?l.createElement("span",{key:"show-content","aria-hidden":!0},Ce):Ce,Ne(De)))))))});var Fke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n,rel:r}=e,a=Fke(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},a),{rel:r===void 0&&a.target==="_blank"?"noopener noreferrer":r});return delete i.navigate,l.createElement(bx,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),zke=l.forwardRef((e,t)=>l.createElement(bx,Object.assign({ref:t},e,{component:"div"})));var Hke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n}=e,r=Hke(e,["ellipsis"]);const a=l.useMemo(()=>n&&typeof n=="object"?Dn(n,["expandable","rows"]):n,[n]);return l.createElement(bx,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},Vke=l.forwardRef(Uke);var Wke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{level:n=1}=e,r=Wke(e,["level"]),a=Gke.includes(n)?`h${n}`:"h1";return l.createElement(bx,Object.assign({ref:t},r,{component:a}))}),Sn=hX;Sn.Text=Vke;Sn.Link=Bke;Sn.Title=qke;Sn.Paragraph=zke;const L1=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",i=a.replace(/\/.*$/,"");return n.some(function(o){var s=o.trim();if(/^\*(\/\*)?$/.test(o))return!0;if(s.charAt(0)==="."){var c=r.toLowerCase(),u=s.toLowerCase(),d=[u];return(u===".jpg"||u===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(function(p){return c.endsWith(p)})}return/\/\*$/.test(s)?i===s.replace(/\/.*$/,""):a===s?!0:/^\w+$/.test(s)?($n(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function Kke(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function aj(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function Yke(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(i){i.total>0&&(i.percent=i.loaded/i.total*100),e.onProgress(i)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(a){var i=e.data[a];if(Array.isArray(i)){i.forEach(function(o){n.append("".concat(a,"[]"),o)});return}n.append(a,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(i){e.onError(i)},t.onload=function(){return t.status<200||t.status>=300?e.onError(Kke(e,t),aj(t)):e.onSuccess(aj(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(a){r[a]!==null&&t.setRequestHeader(a,r[a])}),t.send(n),{abort:function(){t.abort()}}}var Xke=function(){var e=Ri(ar().mark(function t(n,r){var a,i,o,s,c,u,d,p;return ar().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:u=function(){return u=Ri(ar().mark(function b(y){return ar().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",new Promise(function(x){y.file(function(w){r(w)?(y.fullPath&&!w.webkitRelativePath&&(Object.defineProperties(w,{webkitRelativePath:{writable:!0}}),w.webkitRelativePath=y.fullPath.replace(/^\//,""),Object.defineProperties(w,{webkitRelativePath:{writable:!1}})),x(w)):x(null)})}));case 1:case"end":return v.stop()}},b)})),u.apply(this,arguments)},c=function(b){return u.apply(this,arguments)},s=function(){return s=Ri(ar().mark(function b(y){var S,v,x,w,C;return ar().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:S=y.createReader(),v=[];case 2:return I.next=5,new Promise(function(T){S.readEntries(T,function(){return T([])})});case 5:if(x=I.sent,w=x.length,w){I.next=9;break}return I.abrupt("break",12);case 9:for(C=0;C{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${G(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${G(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` - &:not(${t}-disabled):hover, - &-hover:not(${t}-disabled) - `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${G(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, - p${t}-text, - p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},nAe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:a,lineHeight:i,calc:o}=e,s=`${t}-list-item`,c=`${s}-actions`,u=`${s}-action`,d=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},Lo()),{lineHeight:e.lineHeight,[s]:{position:"relative",height:o(e.lineHeight).mul(a).equal(),marginTop:e.marginXS,fontSize:a,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:Object.assign(Object.assign({},Pi),{padding:`0 ${G(e.paddingXS)}`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[c]:{whiteSpace:"nowrap",[u]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` - ${u}:focus-visible, - &.picture ${u} - `]:{opacity:1},[`${u}${n}-btn`]:{height:d,border:0,lineHeight:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:a},[`${s}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:o(a).add(e.paddingXS).equal(),fontSize:a,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${s}:hover ${u}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${r}`]:{color:e.colorError},[c]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},rAe=e=>{const{componentCls:t}=e,n=new nn("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new nn("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),a=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${a}-appear, ${a}-enter, ${a}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${a}-appear, ${a}-enter`]:{animationName:n},[`${a}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:hN(e)},n,r]},aAe=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` - ${o}${o}-picture, - ${o}${o}-picture-card, - ${o}${o}-picture-circle - `]:{[s]:{position:"relative",height:i(r).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${G(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${s}-thumbnail`]:Object.assign(Object.assign({},Pi),{width:r,height:r,lineHeight:G(i(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${s}-progress`]:{bottom:a,width:`calc(100% - ${G(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${Kd[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${Kd.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:"dashed",[`${s}-name`]:{marginBottom:a}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:"50%"}}}}},iAe=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`,c=e.uploadPicCardSize;return{[` - ${t}-wrapper${t}-picture-card-wrapper, - ${t}-wrapper${t}-picture-circle-wrapper - `]:Object.assign(Object.assign({},Lo()),{display:"block",[`${t}${t}-select`]:{width:c,height:c,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${G(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card, ${o}${o}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${o}-item-container`]:{display:"inline-block",width:c,height:c,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${G(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${G(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` - ${n}-eye, - ${n}-download, - ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${G(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:a,"&:hover":{color:a},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${G(i(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${G(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},oAe=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},sAe=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},ln(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},lAe=e=>({actionsColor:e.colorTextDescription}),cAe=an("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:i}=e,o=zt(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(r).equal(),uploadPicCardSize:i(a).mul(2.55).equal()});return[sAe(o),tAe(o),aAe(o),iAe(o),nAe(o),rAe(o),oAe(o),Am(o)]},lAe);function mv(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function hv(e,t){const n=Me(t),r=n.findIndex(a=>{let{uid:i}=a;return i===e.uid});return r===-1?n.push(e):n[r]=e,n}function B1(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function uAe(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(a=>a[n]!==e[n]);return r.length===t.length?null:r}const dAe=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},vX=e=>e.indexOf("image/")===0,fAe=e=>{if(e.type&&!e.thumbUrl)return vX(e.type);const t=e.thumbUrl||e.url||"",n=dAe(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},el=200;function pAe(e){return new Promise(t=>{if(!e.type||!vX(e.type)){t("");return}const n=document.createElement("canvas");n.width=el,n.height=el,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${el}px; height: ${el}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:i,height:o}=a;let s=el,c=el,u=0,d=0;i>o?(c=o*(el/i),d=-(c-s)/2):(s=i*(el/o),u=-(s-c)/2),r.drawImage(a,u,d,s,c);const p=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(a.src),t(p)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const i=new FileReader;i.onload=()=>{i.result&&typeof i.result=="string"&&(a.src=i.result)},i.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const i=new FileReader;i.onload=()=>{i.result&&t(i.result)},i.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}const gAe=l.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:a,locale:i,listType:o,file:s,items:c,progress:u,iconRender:d,actionIconRender:p,itemRender:g,isImgUrl:m,showPreviewIcon:h,showRemoveIcon:b,showDownloadIcon:y,previewIcon:S,removeIcon:v,downloadIcon:x,extra:w,onPreview:C,onDownload:E,onClose:I}=e;var T,_;const{status:R}=s,[$,M]=l.useState(R);l.useEffect(()=>{R!=="removed"&&M(R)},[R]);const[P,D]=l.useState(!1);l.useEffect(()=>{const Q=setTimeout(()=>{D(!0)},300);return()=>{clearTimeout(Q)}},[]);const O=d(s);let k=l.createElement("div",{className:`${n}-icon`},O);if(o==="picture"||o==="picture-card"||o==="picture-circle")if($==="uploading"||!s.thumbUrl&&!s.url){const Q=oe(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:$!=="uploading"});k=l.createElement("div",{className:Q},O)}else{const Q=m!=null&&m(s)?l.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):O,J=oe(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:m&&!m(s)});k=l.createElement("a",{className:J,onClick:le=>C(s,le),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Q)}const N=oe(`${n}-list-item`,`${n}-list-item-${$}`),A=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,L=(typeof b=="function"?b(s):b)?p((typeof v=="function"?v(s):v)||l.createElement(Hl,null),()=>I(s),n,i.removeFile,!0):null,j=(typeof y=="function"?y(s):y)&&$==="done"?p((typeof x=="function"?x(s):x)||l.createElement(eh,null),()=>E(s),n,i.downloadFile):null,F=o!=="picture-card"&&o!=="picture-circle"&&l.createElement("span",{key:"download-delete",className:oe(`${n}-list-item-actions`,{picture:o==="picture"})},j,L),B=typeof w=="function"?w(s):w,z=B&&l.createElement("span",{className:`${n}-list-item-extra`},B),U=oe(`${n}-list-item-name`),H=s.url?l.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:U,title:s.name},A,{href:s.url,onClick:Q=>C(s,Q)}),s.name,z):l.createElement("span",{key:"view",className:U,onClick:Q=>C(s,Q),title:s.name},s.name,z),K=(typeof h=="function"?h(s):h)&&(s.url||s.thumbUrl)?l.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Q=>C(s,Q),title:i.previewFile},typeof S=="function"?S(s):S||l.createElement(zl,null)):null,Y=(o==="picture-card"||o==="picture-circle")&&$!=="uploading"&&l.createElement("span",{className:`${n}-list-item-actions`},K,$==="done"&&j,L),{getPrefixCls:ee}=l.useContext(st),ae=ee(),W=l.createElement("div",{className:N},k,H,F,Y,P&&l.createElement(na,{motionName:`${ae}-fade`,visible:$==="uploading",motionDeadline:2e3},Q=>{let{className:J}=Q;const le="percent"in s?l.createElement(dx,Object.assign({},u,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return l.createElement("div",{className:oe(`${n}-list-item-progress`,J)},le)})),q=s.response&&typeof s.response=="string"?s.response:((T=s.error)===null||T===void 0?void 0:T.statusText)||((_=s.error)===null||_===void 0?void 0:_.message)||i.uploadError,Z=$==="error"?l.createElement(Ft,{title:q,getPopupContainer:Q=>Q.parentNode},W):W;return l.createElement("div",{className:oe(`${n}-list-item-container`,r),style:a,ref:t},g?g(Z,s,c,{download:E.bind(null,s),preview:C.bind(null,s),remove:I.bind(null,s)}):Z)}),mAe=(e,t)=>{const{listType:n="text",previewFile:r=pAe,onPreview:a,onDownload:i,onRemove:o,locale:s,iconRender:c,isImageUrl:u=fAe,prefixCls:d,items:p=[],showPreviewIcon:g=!0,showRemoveIcon:m=!0,showDownloadIcon:h=!1,removeIcon:b,previewIcon:y,downloadIcon:S,extra:v,progress:x={size:[-1,2],showInfo:!1},appendAction:w,appendActionVisible:C=!0,itemRender:E,disabled:I}=e,T=PN(),[_,R]=l.useState(!1),$=["picture-card","picture-circle"].includes(n);l.useEffect(()=>{n.startsWith("picture")&&(p||[]).forEach(z=>{!(z.originFileObj instanceof File||z.originFileObj instanceof Blob)||z.thumbUrl!==void 0||(z.thumbUrl="",r==null||r(z.originFileObj).then(U=>{z.thumbUrl=U||"",T()}))})},[n,p,r]),l.useEffect(()=>{R(!0)},[]);const M=(z,U)=>{if(a)return U.preventDefault(),a(z)},P=z=>{typeof i=="function"?i(z):z.url&&window.open(z.url)},D=z=>{o==null||o(z)},O=z=>{if(c)return c(z,n);const U=z.status==="uploading";if(n.startsWith("picture")){const H=n==="picture"?l.createElement(uo,null):s.uploading,K=u!=null&&u(z)?l.createElement(dRe,null):l.createElement(GIe,null);return U?H:K}return U?l.createElement(uo,null):l.createElement(oRe,null)},k=(z,U,H,K,Y)=>{const ee={type:"text",size:"small",title:K,onClick:ae=>{var W,q;U(),l.isValidElement(z)&&((q=(W=z.props).onClick)===null||q===void 0||q.call(W,ae))},className:`${H}-list-item-action`};return Y&&(ee.disabled=I),l.isValidElement(z)?l.createElement(tt,Object.assign({},ee,{icon:kr(z,Object.assign(Object.assign({},z.props),{onClick:()=>{}}))})):l.createElement(tt,Object.assign({},ee),l.createElement("span",null,z))};l.useImperativeHandle(t,()=>({handlePreview:M,handleDownload:P}));const{getPrefixCls:N}=l.useContext(st),A=N("upload",d),L=N(),j=oe(`${A}-list`,`${A}-list-${n}`),F=l.useMemo(()=>Dn(Xd(L),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[L]),B=Object.assign(Object.assign({},$?{}:F),{motionDeadline:2e3,motionName:`${A}-${$?"animate-inline":"animate"}`,keys:Me(p.map(z=>({key:z.uid,file:z}))),motionAppear:_});return l.createElement("div",{className:j},l.createElement(fN,Object.assign({},B,{component:!1}),z=>{let{key:U,file:H,className:K,style:Y}=z;return l.createElement(gAe,{key:U,locale:s,prefixCls:A,className:K,style:Y,file:H,items:p,progress:x,listType:n,isImgUrl:u,showPreviewIcon:g,showRemoveIcon:m,showDownloadIcon:h,removeIcon:b,previewIcon:y,downloadIcon:S,extra:v,iconRender:O,actionIconRender:k,itemRender:E,onPreview:M,onDownload:P,onClose:D})}),w&&l.createElement(na,Object.assign({},B,{visible:C,forceRender:!0}),z=>{let{className:U,style:H}=z;return kr(w,K=>({className:oe(K.className,U),style:Object.assign(Object.assign(Object.assign({},H),{pointerEvents:U?"none":void 0}),K.style)}))}))},hAe=l.forwardRef(mAe);var vAe=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function c(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,c)}u((r=r.apply(e,[])).next())})};const kp=`__LIST_IGNORE_${Date.now()}__`,bAe=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:a,showUploadList:i=!0,listType:o="text",onPreview:s,onDownload:c,onChange:u,onDrop:d,previewFile:p,disabled:g,locale:m,iconRender:h,isImageUrl:b,progress:y,prefixCls:S,className:v,type:x="select",children:w,style:C,itemRender:E,maxCount:I,data:T={},multiple:_=!1,hasControlInside:R=!0,action:$="",accept:M="",supportServerRender:P=!0,rootClassName:D}=e,O=l.useContext(ha),k=g??O,[N,A]=pn(r||[],{value:n,postState:Se=>Se??[]}),[L,j]=l.useState("drop"),F=l.useRef(null),B=l.useRef(null);l.useMemo(()=>{const Se=Date.now();(n||[]).forEach((Ne,Te)=>{!Ne.uid&&!Object.isFrozen(Ne)&&(Ne.uid=`__AUTO__${Se}_${Te}__`)})},[n]);const z=(Se,Ne,Te)=>{let Ce=Me(Ne),De=!1;I===1?Ce=Ce.slice(-1):I&&(De=Ce.length>I,Ce=Ce.slice(0,I)),Zr.flushSync(()=>{A(Ce)});const Ge={file:Se,fileList:Ce};Te&&(Ge.event=Te),(!De||Se.status==="removed"||Ce.some(lt=>lt.uid===Se.uid))&&Zr.flushSync(()=>{u==null||u(Ge)})},U=(Se,Ne)=>vAe(void 0,void 0,void 0,function*(){const{beforeUpload:Te,transformFile:Ce}=e;let De=Se;if(Te){const Ge=yield Te(Se,Ne);if(Ge===!1)return!1;if(delete Se[kp],Ge===kp)return Object.defineProperty(Se,kp,{value:!0,configurable:!0}),!1;typeof Ge=="object"&&Ge&&(De=Ge)}return Ce&&(De=yield Ce(De)),De}),H=Se=>{const Ne=Se.filter(De=>!De.file[kp]);if(!Ne.length)return;const Te=Ne.map(De=>mv(De.file));let Ce=Me(N);Te.forEach(De=>{Ce=hv(De,Ce)}),Te.forEach((De,Ge)=>{let lt=De;if(Ne[Ge].parsedFile)De.status="uploading";else{const{originFileObj:he}=De;let re;try{re=new File([he],he.name,{type:he.type})}catch{re=new Blob([he],{type:he.type}),re.name=he.name,re.lastModifiedDate=new Date,re.lastModified=new Date().getTime()}re.uid=De.uid,lt=re}z(lt,Ce)})},K=(Se,Ne,Te)=>{try{typeof Se=="string"&&(Se=JSON.parse(Se))}catch{}if(!B1(Ne,N))return;const Ce=mv(Ne);Ce.status="done",Ce.percent=100,Ce.response=Se,Ce.xhr=Te;const De=hv(Ce,N);z(Ce,De)},Y=(Se,Ne)=>{if(!B1(Ne,N))return;const Te=mv(Ne);Te.status="uploading",Te.percent=Se.percent;const Ce=hv(Te,N);z(Te,Ce,Se)},ee=(Se,Ne,Te)=>{if(!B1(Te,N))return;const Ce=mv(Te);Ce.error=Se,Ce.response=Ne,Ce.status="error";const De=hv(Ce,N);z(Ce,De)},ae=Se=>{let Ne;Promise.resolve(typeof a=="function"?a(Se):a).then(Te=>{var Ce;if(Te===!1)return;const De=uAe(Se,N);De&&(Ne=Object.assign(Object.assign({},Se),{status:"removed"}),N==null||N.forEach(Ge=>{const lt=Ne.uid!==void 0?"uid":"name";Ge[lt]===Ne[lt]&&!Object.isFrozen(Ge)&&(Ge.status="removed")}),(Ce=F.current)===null||Ce===void 0||Ce.abort(Ne),z(Ne,De))})},W=Se=>{j(Se.type),Se.type==="drop"&&(d==null||d(Se))};l.useImperativeHandle(t,()=>({onBatchStart:H,onSuccess:K,onProgress:Y,onError:ee,fileList:N,upload:F.current,nativeElement:B.current}));const{getPrefixCls:q,direction:Z,upload:Q}=l.useContext(st),J=q("upload",S),le=Object.assign(Object.assign({onBatchStart:H,onError:ee,onProgress:Y,onSuccess:K},e),{data:T,multiple:_,action:$,accept:M,supportServerRender:P,prefixCls:J,disabled:k,beforeUpload:U,onChange:void 0,hasControlInside:R});delete le.className,delete le.style,(!w||k)&&delete le.id;const ce=`${J}-wrapper`,[pe,te,ie]=cAe(J,ce),[fe]=us("Upload",lo.Upload),{showRemoveIcon:ge,showPreviewIcon:ne,showDownloadIcon:ue,removeIcon:me,previewIcon:xe,downloadIcon:Ie,extra:ke}=typeof i=="boolean"?{}:i,$e=typeof ge>"u"?!k:ge,Le=(Se,Ne)=>i?l.createElement(hAe,{prefixCls:J,listType:o,items:N,previewFile:p,onPreview:s,onDownload:c,onRemove:ae,showRemoveIcon:$e,showPreviewIcon:ne,showDownloadIcon:ue,removeIcon:me,previewIcon:xe,downloadIcon:Ie,iconRender:h,extra:ke,locale:Object.assign(Object.assign({},fe),m),isImageUrl:b,progress:y,appendAction:Se,appendActionVisible:Ne,itemRender:E,disabled:k}):Se,je=oe(ce,v,D,te,ie,Q==null?void 0:Q.className,{[`${J}-rtl`]:Z==="rtl",[`${J}-picture-card-wrapper`]:o==="picture-card",[`${J}-picture-circle-wrapper`]:o==="picture-circle"}),He=Object.assign(Object.assign({},Q==null?void 0:Q.style),C);if(x==="drag"){const Se=oe(te,J,`${J}-drag`,{[`${J}-drag-uploading`]:N.some(Ne=>Ne.status==="uploading"),[`${J}-drag-hover`]:L==="dragover",[`${J}-disabled`]:k,[`${J}-rtl`]:Z==="rtl"});return pe(l.createElement("span",{className:je,ref:B},l.createElement("div",{className:Se,style:He,onDrop:W,onDragOver:W,onDragLeave:W},l.createElement(d$,Object.assign({},le,{ref:F,className:`${J}-btn`}),l.createElement("div",{className:`${J}-drag-container`},w))),Le()))}const Be=oe(J,`${J}-select`,{[`${J}-disabled`]:k}),Pe=l.createElement("div",{className:Be,style:w?void 0:{display:"none"}},l.createElement(d$,Object.assign({},le,{ref:F})));return pe(o==="picture-card"||o==="picture-circle"?l.createElement("span",{className:je,ref:B},Le(Pe,!!w)):l.createElement("span",{className:je,ref:B},Pe,Le()))},bX=l.forwardRef(bAe);var yAe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{style:n,height:r,hasControlInside:a=!1}=e,i=yAe(e,["style","height","hasControlInside"]);return l.createElement(bX,Object.assign({ref:t,hasControlInside:a},i,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),rf=bX;rf.Dragger=xAe;rf.LIST_IGNORE=kp;const yX="/web/assets/logo-aw46LCqE.png",SAe=()=>{const t=document.createElement("audio").canPlayType("audio/ogg; codecs=opus");return console.log("Supports OGG/Opus:",t),t==="probably"||t==="maybe"};function Ns(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}const xX=de.createContext(void 0),rh=()=>{const e=l.useContext(xX);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},ij=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},wAe=({children:e})=>{const{t}=Nt(),[n,r]=l.useState(""),[a,i]=l.useState(""),[o,s]=l.useState(""),[c,u]=l.useState([]),[d,p]=l.useState(),g=(m,h,b,y)=>{var x;if(console.log("Play audio: "+m),/\/....04E0\?|(\?ogg)/.test(m)&&!SAe())_n.error({title:t("audio.errorNoOggOpusSupport"),content:t("audio.errorNoOggOpusSupportByApple"),okText:t("audio.errorConfirm")});else{const w=document.getElementById("globalAudioPlayer");if(w.src=m,h?(r(h.picture),i(h.series||h.episode?h.series:ij(decodeURI(m).replace("500304E0",t("audio.unknownSource")))),s(h.episode)):(r(decodeURI(m).includes(".taf?")?"/img_unknown.png":yX),i(""),s(ij(decodeURI(m)))),b){p(b);const C="trackSeconds"in b?b.trackSeconds||[0]:"tafHeader"in b&&((x=b.tafHeader)!=null&&x.trackSeconds)?b.tafHeader.trackSeconds:[0];u(C)}else u([0]),p(void 0);y&&(w.currentTime=y),w.play()}};return f.jsx(xX.Provider,{value:{playAudio:g,songImage:n,songArtist:a,songTitle:o,songTracks:c,tonieCardOrTAFRecord:d},children:e})};var si=function(){return si=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?fa(Ff,--fo):0,of--,Vr===10&&(of=1,xx--),Vr}function Do(){return Vr=fo2||p$(Vr)>3?"":" "}function kAe(e,t){for(;--t&&Do()&&!(Vr<48||Vr>102||Vr>57&&Vr<65||Vr>70&&Vr<97););return wx(e,fb()+(t<6&&Lc()==32&&Do()==32))}function g$(e){for(;Do();)switch(Vr){case e:return fo;case 34:case 39:e!==34&&e!==39&&g$(Vr);break;case 40:e===41&&g$(e);break;case 92:Do();break}return fo}function AAe(e,t){for(;Do()&&e+Vr!==57;)if(e+Vr===84&&Lc()===47)break;return"/*"+wx(t,fo-1)+"*"+Uk(e===47?e:Do())}function DAe(e){for(;!p$(Lc());)Do();return wx(e,fo)}function MAe(e){return OAe(pb("",null,null,null,[""],e=$Ae(e),0,[0],e))}function pb(e,t,n,r,a,i,o,s,c){for(var u=0,d=0,p=o,g=0,m=0,h=0,b=1,y=1,S=1,v=0,x="",w=a,C=i,E=r,I=x;y;)switch(h=v,v=Do()){case 40:if(h!=108&&fa(I,p-1)==58){db(I+=vn(z1(v),"&","&\f"),"&\f",CX(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:I+=z1(v);break;case 9:case 10:case 13:case 32:I+=NAe(h);break;case 92:I+=kAe(fb()-1,7);continue;case 47:switch(Lc()){case 42:case 47:Ap(PAe(AAe(Do(),fb()),t,n,c),c);break;default:I+="/"}break;case 123*b:s[u++]=Zo(I)*S;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+d:S==-1&&(I=vn(I,/\f/g,"")),m>0&&Zo(I)-p&&Ap(m>32?lj(I+";",r,n,p-1,c):lj(vn(I," ","")+";",r,n,p-2,c),c);break;case 59:I+=";";default:if(Ap(E=sj(I,t,n,u,d,a,s,x,w=[],C=[],p,i),i),v===123)if(d===0)pb(I,t,E,E,w,i,p,s,C);else switch(g===99&&fa(I,3)===110?100:g){case 100:case 108:case 109:case 115:pb(e,E,E,r&&Ap(sj(e,E,E,0,0,a,s,x,a,w=[],p,C),C),a,C,p,s,r?w:C);break;default:pb(I,E,E,E,[""],C,0,s,C)}}u=d=m=0,b=S=1,x=I="",p=o;break;case 58:p=1+Zo(I),m=h;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&_Ae()==125)continue}switch(I+=Uk(v),v*b){case 38:S=d>0?1:(I+="\f",-1);break;case 44:s[u++]=(Zo(I)-1)*S,S=1;break;case 64:Lc()===45&&(I+=z1(Do())),g=Lc(),d=p=Zo(x=I+=DAe(fb())),v++;break;case 45:h===45&&Zo(I)==2&&(b=0)}}return i}function sj(e,t,n,r,a,i,o,s,c,u,d,p){for(var g=a-1,m=a===0?i:[""],h=IX(m),b=0,y=0,S=0;b0?m[v]+" "+x:vn(x,/&\f/g,m[v])))&&(c[S++]=w);return Sx(e,t,n,a===0?yx:s,c,u,d,p)}function PAe(e,t,n,r){return Sx(e,t,n,SX,Uk(RAe()),af(e,2,-2),0,r)}function lj(e,t,n,r,a){return Sx(e,t,n,Hk,af(e,0,r),af(e,r+1,-1),r,a)}function RX(e,t,n){switch(IAe(e,t)){case 5103:return Vn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Vn+e+e;case 4789:return og+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Vn+e+og+e+hr+e+e;case 5936:switch(fa(e,t+11)){case 114:return Vn+e+hr+vn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Vn+e+hr+vn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Vn+e+hr+vn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Vn+e+hr+e+e;case 6165:return Vn+e+hr+"flex-"+e+e;case 5187:return Vn+e+vn(e,/(\w+).+(:[^]+)/,Vn+"box-$1$2"+hr+"flex-$1$2")+e;case 5443:return Vn+e+hr+"flex-item-"+vn(e,/flex-|-self/g,"")+(ys(e,/flex-|baseline/)?"":hr+"grid-row-"+vn(e,/flex-|-self/g,""))+e;case 4675:return Vn+e+hr+"flex-line-pack"+vn(e,/align-content|flex-|-self/g,"")+e;case 5548:return Vn+e+hr+vn(e,"shrink","negative")+e;case 5292:return Vn+e+hr+vn(e,"basis","preferred-size")+e;case 6060:return Vn+"box-"+vn(e,"-grow","")+Vn+e+hr+vn(e,"grow","positive")+e;case 4554:return Vn+vn(e,/([^-])(transform)/g,"$1"+Vn+"$2")+e;case 6187:return vn(vn(vn(e,/(zoom-|grab)/,Vn+"$1"),/(image-set)/,Vn+"$1"),e,"")+e;case 5495:case 3959:return vn(e,/(image-set\([^]*)/,Vn+"$1$`$1");case 4968:return vn(vn(e,/(.+:)(flex-)?(.*)/,Vn+"box-pack:$3"+hr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Vn+e+e;case 4200:if(!ys(e,/flex-|baseline/))return hr+"grid-column-align"+af(e,t)+e;break;case 2592:case 3360:return hr+vn(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,ys(r.props,/grid-\w+-end/)})?~db(e+(n=n[t].value),"span",0)?e:hr+vn(e,"-start","")+e+hr+"grid-row-span:"+(~db(n,"span",0)?ys(n,/\d+/):+ys(n,/\d+/)-+ys(e,/\d+/))+";":hr+vn(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ys(r.props,/grid-\w+-start/)})?e:hr+vn(vn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return vn(e,/(.+)-inline(.+)/,Vn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Zo(e)-1-t>6)switch(fa(e,t+1)){case 109:if(fa(e,t+4)!==45)break;case 102:return vn(e,/(.+:)(.+)-([^]+)/,"$1"+Vn+"$2-$3$1"+og+(fa(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~db(e,"stretch",0)?RX(vn(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return vn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,i,o,s,c,u){return hr+a+":"+i+u+(o?hr+a+"-span:"+(s?c:+c-+i)+u:"")+e});case 4949:if(fa(e,t+6)===121)return vn(e,":",":"+Vn)+e;break;case 6444:switch(fa(e,fa(e,14)===45?18:11)){case 120:return vn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Vn+(fa(e,14)===45?"inline-":"")+"box$3$1"+Vn+"$2$3$1"+hr+"$2box$3")+e;case 100:return vn(e,":",":"+hr)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return vn(e,"scroll-","scroll-snap-")+e}return e}function I0(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case Hk:e.return=RX(e.value,e.length,n);return;case wX:return I0([sl(e,{value:vn(e.value,"@","@"+Vn)})],r);case yx:if(e.length)return TAe(n=e.props,function(a){switch(ys(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Hu(sl(e,{props:[vn(a,/:(read-\w+)/,":"+og+"$1")]})),Hu(sl(e,{props:[a]})),f$(e,{props:oj(n,r)});break;case"::placeholder":Hu(sl(e,{props:[vn(a,/:(plac\w+)/,":"+Vn+"input-$1")]})),Hu(sl(e,{props:[vn(a,/:(plac\w+)/,":"+og+"$1")]})),Hu(sl(e,{props:[vn(a,/:(plac\w+)/,hr+"input-$1")]})),Hu(sl(e,{props:[a]})),f$(e,{props:oj(n,r)});break}return""})}}var zAe={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},wi={},sf=typeof process<"u"&&wi!==void 0&&(wi.REACT_APP_SC_ATTR||wi.SC_ATTR)||"data-styled",_X="active",$X="data-styled-version",Cx="6.1.13",Vk=`/*!sc*/ -`,T0=typeof window<"u"&&"HTMLElement"in window,HAe=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&wi!==void 0&&wi.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&wi.REACT_APP_SC_DISABLE_SPEEDY!==""?wi.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&wi.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&wi!==void 0&&wi.SC_DISABLE_SPEEDY!==void 0&&wi.SC_DISABLE_SPEEDY!==""&&wi.SC_DISABLE_SPEEDY!=="false"&&wi.SC_DISABLE_SPEEDY),Ex=Object.freeze([]),lf=Object.freeze({});function UAe(e,t,n){return n===void 0&&(n=lf),e.theme!==n.theme&&e.theme||t||n.theme}var OX=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),VAe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,WAe=/(^-|-$)/g;function cj(e){return e.replace(VAe,"-").replace(WAe,"")}var GAe=/(a)(d)/gi,vv=52,uj=function(e){return String.fromCharCode(e+(e>25?39:97))};function m$(e){var t,n="";for(t=Math.abs(e);t>vv;t=t/vv|0)n=uj(t%vv)+n;return(uj(t%vv)+n).replace(GAe,"$1-$2")}var H1,NX=5381,vd=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},kX=function(e){return vd(NX,e)};function qAe(e){return m$(kX(e)>>>0)}function KAe(e){return e.displayName||e.name||"Component"}function U1(e){return typeof e=="string"&&!0}var AX=typeof Symbol=="function"&&Symbol.for,DX=AX?Symbol.for("react.memo"):60115,YAe=AX?Symbol.for("react.forward_ref"):60112,XAe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ZAe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},MX={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},QAe=((H1={})[YAe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},H1[DX]=MX,H1);function dj(e){return("type"in(t=e)&&t.type.$$typeof)===DX?MX:"$$typeof"in e?QAe[e.$$typeof]:XAe;var t}var JAe=Object.defineProperty,e3e=Object.getOwnPropertyNames,fj=Object.getOwnPropertySymbols,t3e=Object.getOwnPropertyDescriptor,n3e=Object.getPrototypeOf,pj=Object.prototype;function PX(e,t,n){if(typeof t!="string"){if(pj){var r=n3e(t);r&&r!==pj&&PX(e,r,n)}var a=e3e(t);fj&&(a=a.concat(fj(t)));for(var i=dj(e),o=dj(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var r3e=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,i=a;t>=i;)if((i<<=1)<0)throw ah(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=a;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),i=a+r,o=a;o=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(y+="".concat(S,","))}),c+="".concat(h).concat(b,'{content:"').concat(y,'"}').concat(Vk)},d=0;d0?".".concat(t):g},d=c.slice();d.push(function(g){g.type===yx&&g.value.includes("&")&&(g.props[0]=g.props[0].replace(g3e,n).replace(r,u))}),o.prefix&&d.push(BAe),d.push(LAe);var p=function(g,m,h,b){m===void 0&&(m=""),h===void 0&&(h=""),b===void 0&&(b="&"),t=b,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var y=g.replace(m3e,""),S=MAe(h||m?"".concat(h," ").concat(m," { ").concat(y," }"):y);o.namespace&&(S=FX(S,o.namespace));var v=[];return I0(S,jAe(d.concat(FAe(function(x){return v.push(x)})))),v};return p.hash=c.length?c.reduce(function(g,m){return m.name||ah(15),vd(g,m.name)},NX).toString():"",p}var v3e=new jX,v$=h3e(),BX=de.createContext({shouldForwardProp:void 0,styleSheet:v3e,stylis:v$});BX.Consumer;de.createContext(void 0);function vj(){return l.useContext(BX)}var b3e=function(){function e(t,n){var r=this;this.inject=function(a,i){i===void 0&&(i=v$);var o=r.name+i.hash;a.hasNameForId(r.id,o)||a.insertRules(r.id,o,i(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Gk(this,function(){throw ah(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=v$),this.name+t.hash},e}(),y3e=function(e){return e>="A"&&e<="Z"};function bj(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}a=Tc(a,o),this.staticRulesId=o}else{for(var c=vd(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(u,".".concat(m),void 0,this.componentId)),a=Tc(a,m)}}return a},e}(),UX=de.createContext(void 0);UX.Consumer;var V1={};function C3e(e,t,n){var r=Wk(e),a=e,i=!U1(e),o=t.attrs,s=o===void 0?Ex:o,c=t.componentId,u=c===void 0?function(w,C){var E=typeof w!="string"?"sc":cj(w);V1[E]=(V1[E]||0)+1;var I="".concat(E,"-").concat(qAe(Cx+E+V1[E]));return C?"".concat(C,"-").concat(I):I}(t.displayName,t.parentComponentId):c,d=t.displayName,p=d===void 0?function(w){return U1(w)?"styled.".concat(w):"Styled(".concat(KAe(w),")")}(e):d,g=t.displayName&&t.componentId?"".concat(cj(t.displayName),"-").concat(t.componentId):t.componentId||u,m=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(r&&a.shouldForwardProp){var b=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;h=function(w,C){return b(w,C)&&y(w,C)}}else h=b}var S=new w3e(n,g,r?a.componentStyle:void 0);function v(w,C){return function(E,I,T){var _=E.attrs,R=E.componentStyle,$=E.defaultProps,M=E.foldedComponentIds,P=E.styledComponentId,D=E.target,O=de.useContext(UX),k=vj(),N=E.shouldForwardProp||k.shouldForwardProp,A=UAe(I,O,$)||lf,L=function(H,K,Y){for(var ee,ae=si(si({},K),{className:void 0,theme:Y}),W=0;Wt}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const _3e=new qX,U0=class U0{constructor(t=_3e){Ua(this,"middleware");Ua(this,"fetchApi",async(t,n)=>{let r={url:t,init:n};for(const i of this.middleware)i.pre&&(r=await i.pre({fetch:this.fetchApi,...r})||r);let a;try{a=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(i){for(const o of this.middleware)o.onError&&(a=await o.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:i,response:a?a.clone():void 0})||a);if(a===void 0)throw i instanceof Error?new k3e(i,"The request failed and the interceptors did not return an alternative response"):i}for(const i of this.middleware)i.post&&(a=await i.post({fetch:this.fetchApi,url:r.url,init:r.init,response:a.clone()})||a);return a});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?U0.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:a}=await this.createFetchParams(t,n),i=await this.fetchApi(r,a);if(i&&i.status>=200&&i.status<300)return i;throw new N3e(i,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const a=Object.assign({},this.configuration.headers,t.headers);Object.keys(a).forEach(u=>a[u]===void 0?delete a[u]:{});const i=typeof n=="function"?n:async()=>n,o={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},s={...o,...await i({init:o,context:t})},c={...s,body:O3e(s.body)||s.body instanceof URLSearchParams||$3e(s.body)?s.body:JSON.stringify(s.body)};return{url:r,init:c}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};Ua(U0,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let rm=U0;function $3e(e){return typeof Blob<"u"&&e instanceof Blob}function O3e(e){return typeof FormData<"u"&&e instanceof FormData}class N3e extends Error{constructor(n,r){super(r);Ua(this,"name","ResponseError");this.response=n}}class k3e extends Error{constructor(n,r){super(r);Ua(this,"name","FetchError");this.cause=n}}class A3e extends Error{constructor(n,r){super(r);Ua(this,"name","RequiredError");this.field=n}}function KX(e,t){const n=e[t];return n!=null}function YX(e,t=""){return Object.keys(e).map(n=>XX(n,e[n],t)).filter(n=>n.length>0).join("&")}function XX(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(i=>encodeURIComponent(String(i))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${a}`}if(t instanceof Set){const a=Array.from(t);return XX(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?YX(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function D3e(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class xs{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class M3e{constructor(t){this.raw=t}async value(){}}class _0{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class ZX extends rm{async v1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new xs(a):new _0(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class P3e extends rm{async reverseV1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/reverse/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new xs(a):new _0(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function L3e(e){return j3e(e)}function j3e(e,t){return e==null?e:{iD:e.ID,shortname:e.shortname,description:e.description,label:e.label,type:e.type,value:e.value,overlayed:e.overlayed}}function F3e(e){return B3e(e)}function B3e(e,t){return e==null?e:{options:KX(e,"options")?e.options.map(L3e):void 0}}function z3e(e){return H3e(e)}function H3e(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function U3e(e){return V3e(e)}function V3e(e,t){return e==null?e:{stats:KX(e,"stats")?e.stats.map(z3e):void 0}}class Mn extends rm{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new xs(n)}async apiGetTonieboxesIndex(t){return(await(await this.apiGetTonieboxesIndexRaw(t)).value()).boxes}async apiGetTagIndexRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/getTagIndex",t,n);return new xs(r)}async apiGetTagIndex(t,n,r){return(await(await this.apiGetTagIndexRaw(t,r)).value()).tags}async apiGetTagInfoRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/getTagInfo?ruid=${t}`,n,r);return new xs(a)}async apiGetTagInfo(t,n,r){return(await(await this.apiGetTagInfoRaw(t,n,r)).value()).tagInfo}async apiGetTagIndexMergedAllOverlays(t,n){const r=await this.apiGetTonieboxesIndex();return(await Promise.all([...r.map(async s=>await this.apiGetTagIndex(s.ID,t,n)),this.apiGetTagIndex("",t,n)])).flat().filter((s,c,u)=>c===u.findIndex(d=>d.ruid===s.ruid&&d.source===s.source))}async apiGetIndexGetRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/settings/getIndex",t,n);return new xs(r,a=>F3e(a))}async apiGetIndexGet(t,n){return await(await this.apiGetIndexGetRaw(t,n)).value()}async apiSetCloudCacheContentPostRaw(t,n){if(t.body===null||t.body===void 0)throw new A3e("body","Required parameter requestParameters.body was null or undefined when calling apiSetCloudCacheContentPost.");const r=await this.apiPostTeddyCloudSetting("cloud.cacheContent",t.body,void 0,void 0,n);return new M3e(r)}async apiSetCloudCacheContentPost(t,n){await this.apiSetCloudCacheContentPostRaw(t,n)}async apiStatsGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/stats",void 0,t);return new xs(n,r=>U3e(r))}async apiStatsGet(t){return await(await this.apiStatsGetRaw(t)).value()}async apiTriggerWriteConfigGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/triggerWriteConfig",void 0,t);return this.isJsonMime(n.headers.get("content-type"))?new xs(n):new _0(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},i={},s=D3e([{contentType:"multipart/form-data"}]);let c,u=!1,d="/api/uploadCert";n!==""&&n!==void 0&&(d=d+"?overlay="+n),u=s,u?c=new FormData:c=new URLSearchParams,t.filename&&t.filename.forEach(g=>{c.append("filename",g)});const p=await this.request({path:d,method:"POST",headers:i,query:a,body:c},r);return this.isJsonMime(p.headers.get("content-type"))?new xs(p):new _0(p)}async apiUploadCertPost(t={},n,r){return await(await this.apiUploadCertPostRaw(t,n,r)).value()}async apiGetLastOnline(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_connection",t,n)).text();return(a&&a!=="0"?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxStatus(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.online",t,n)).text()==="true"}async apiGetTonieboxVersion(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.toniebox_firmware.boxIC",t,n)).text()}async apiGetTonieboxLastRUID(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid",t,n)).text()}async apiGetTonieboxLastRUIDTime(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid_time",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxLastIp(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.ip",t,n)).text()}async apiGetTonieboxContentDir(t,n){return await(await this.apiGetTeddyCloudSettingRaw("core.contentdir",t,n)).text()}async apiGetTonieboxApiAccess(t,n){return await(await this.apiGetTeddyCloudSettingRaw("toniebox.api_access",t,n)).text()==="true"}async apiGetNewBoxesAllowed(t){return await(await this.apiGetTeddyCloudSettingRaw("core.allowNewBox",void 0,t)).text()==="true"}async apiGetSecurityMITAlert(t){return await(await this.apiGetTeddyCloudSettingRaw("internal.security_mit.incident",void 0,t)).text()==="true"}async apiGetTeddyCloudSettingRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/settings/get/${t}`,n,r);if(!a.ok)throw new Error(`Error: ${a.status} ${a.statusText}`);return a}async apiPostTeddyCloudSetting(t,n,r,a,i,o={}){o["Content-Type"]||(o["Content-Type"]="text/plain");const s=await this.apiPostTeddyCloudRaw(`/api/settings/${a&&a===!0?"reset":"set"}/${t}`,(n==null?void 0:n.toString())||"",r,i,o);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiGetTeddyCloudApiRaw(t,n,r){const a={},i={},o=await this.request({path:`${t}${n?"?overlay="+n:""}`,method:"GET",headers:i,query:a},r);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudContentJson(t,n,r,a,i={}){const o=await this.apiPostTeddyCloudRaw(`/content/json/set/${t}`,n,r,a,i);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudRaw(t,n,r,a,i={}){i["Content-Type"]||(i["Content-Type"]="text/plain");const o=s=>new Blob([s],{type:"text/plain"});try{const s=await this.request({path:`${t}${r?"?overlay="+r:""}`,method:"POST",headers:i,body:o((n==null?void 0:n.toString())||"")},a);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}catch(s){return s.response}}async apiPostTeddyCloudFormDataRaw(t,n,r,a,i={}){try{const o=await fetch(""+t,{method:"POST",body:n});if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}catch(o){return o.response?o.response:o instanceof TypeError?new Response(JSON.stringify({error:"Network error, please try again later.",message:o.message}),{status:500,statusText:"Network Error",headers:{"Content-Type":"application/json"}}):new Response(JSON.stringify({error:"An unexpected error occurred.",message:o}),{status:500,statusText:"Unexpected Error",headers:{"Content-Type":"application/json"}})}}}const On=()=>new qX({basePath:""}),uf=({title:e,okText:t,cancelText:n,content:r,contentHint:a="",contentHintTitle:i="",open:o,handleOk:s,handleCancel:c})=>{const{t:u}=Nt();return f.jsxs(_n,{title:f.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[f.jsx($Y,{style:{fontSize:36,color:"orange",margin:16}}),f.jsx("div",{style:{marginBottom:16},children:e})]}),open:o,onOk:s,onCancel:c,okText:t,cancelText:n,className:"warning",children:[f.jsx("div",{style:{marginBottom:24},children:r}),a&&f.jsx("div",{children:f.jsx(wn,{type:"warning",showIcon:!0,message:i||u("confirmDialog.contentHintTitle"),description:a})})]})};function W3e(e,t="14px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"){let n="",r=0;const i=document.createElement("canvas").getContext("2d");return i&&(i.font=t,e.forEach(o=>{const s=i.measureText(o).width;s>r&&(r=s,n=o)})),{longestString:n,pixelWidth:r}}function y$(){return"10000000-1e3-4e3-8e3-1e11".replace(/[018]/g,e=>(parseInt(e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(e)/4).toString(16))}const x$=e=>{const t=`/api/getFile/${e?"c2":"ca"}.der`;window.location.href=t},QX=l.createContext({fetchCloudStatus:!1,setFetchCloudStatus:()=>{},notifications:[],addNotification:()=>{},addLoadingNotification:()=>{},closeLoadingNotification:()=>{},confirmNotification:()=>{},unconfirmedCount:0,clearAllNotifications:()=>{},removeNotifications:()=>{},navOpen:!1,setNavOpen:()=>{},subNavOpen:!1,setSubNavOpen:()=>{},currentTCSection:"",setCurrentTCSection:()=>{}});function G3e({children:e,linkOverlay:t}){const[n,r]=l.useState(!1),[a,i]=l.useState([]),o=w=>new Promise(C=>setTimeout(C,w)),[s,c]=l.useState(!1),[u,d]=l.useState(!1),[p,g]=l.useState("");l.useEffect(()=>{const w=localStorage.getItem("notifications");if(w){const C=JSON.parse(w);i(C.map(E=>({...E,date:new Date(E.date)})))}},[]);const m=(w,C,E,I,T)=>{const _={uuid:y$(),date:new Date,type:w,title:C,description:E,context:I||"",flagConfirmed:T!==void 0?T:w==="success"||w==="info"};lb.open({type:w,message:C,description:E,showProgress:!0,pauseOnHover:!0,placement:"topRight"}),i(R=>{const $=[_,...R];return localStorage.setItem("notifications",JSON.stringify($)),$})},h=(w,C,E)=>{lb.open({key:w,message:C,description:E,icon:f.jsx(uo,{}),duration:0,placement:"topRight"})},b=async w=>{setTimeout(()=>{lb.destroy(w)},300),await o(500)},y=w=>{i(C=>{const E=C.map(I=>I.uuid===w?{...I,flagConfirmed:!0}:I);return localStorage.setItem("notifications",JSON.stringify(E)),E})},S=w=>{i(C=>{const E=C.filter(I=>!w.includes(I.uuid));return localStorage.setItem("notifications",JSON.stringify(E)),E})},v=()=>{i([]),localStorage.removeItem("notifications")},x=a.filter(w=>!w.flagConfirmed).length;return f.jsx(QX.Provider,{value:{fetchCloudStatus:n,setFetchCloudStatus:r,notifications:a,addNotification:m,addLoadingNotification:h,closeLoadingNotification:b,confirmNotification:y,unconfirmedCount:x,clearAllNotifications:v,removeNotifications:S,navOpen:s,setNavOpen:c,subNavOpen:u,setSubNavOpen:d,currentTCSection:p,setCurrentTCSection:g},children:e})}function Qn(){return l.useContext(QX)}var ft=(e=>(e.Success="success",e.Info="info",e.Warning="warning",e.Error="error",e))(ft||{});const q3e=new Mn(On()),{Text:K3e}=Sn,{useToken:Y3e}=Ar,Ix=({open:e,onClose:t,tonieCardOrTAFRecord:n,showSourceInfo:r=!1,readOnly:a,lastRUIDs:i,overlay:o,onHide:s})=>{var z,U,H,K,Y,ee,ae,W,q,Z,Q,J,le,ce,pe,te;const{t:c}=Nt(),{token:u}=Y3e(),{playAudio:d}=rh(),{addNotification:p}=Qn(),[g,m]=l.useState(!1),[h,b]=l.useState(!1),[y,S]=l.useState(""),[v,x]=l.useState([]),[w,C]=l.useState(!1);l.useEffect(()=>{r&&"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&R!==$||n.sourceInfo.picture===n.tonieInfo.picture&&R!==$||n.sourceInfo.series!==n.tonieInfo.series||n.sourceInfo.episode!==n.tonieInfo.episode||n.sourceInfo.tracks.join(".")!==n.tonieInfo.tracks.join("."))&&(b(!0),S(n.sourceInfo.picture),x(n.sourceInfo.tracks))},[n,e]);const E=async(ie,fe)=>{d(ie,r&&"sourceInfo"in n?n.sourceInfo:n.tonieInfo,n,fe)},I=async(ie,fe)=>{C(!0);const ne=await(await fetch(ie)).blob(),ue=window.URL.createObjectURL(ne),me=document.createElement("a");me.href=ue,me.download=fe,document.body.appendChild(me),me.click(),document.body.removeChild(me),window.URL.revokeObjectURL(ue),C(!1)},T=i&&"ruid"in n?i.filter(([ie])=>ie===n.ruid).map(([,ie,fe])=>({ruidTime:ie,boxName:fe})):null,_=((z=n.tonieInfo)==null?void 0:z.series)+((U=n==null?void 0:n.tonieInfo)!=null&&U.episode?" - "+((H=n.tonieInfo)==null?void 0:H.episode):"")+((K=n.tonieInfo)!=null&&K.model?" ("+((Y=n.tonieInfo)==null?void 0:Y.model)+")":""),R=`${(ee=n.tonieInfo)==null?void 0:ee.series}`+((ae=n.tonieInfo)!=null&&ae.episode?` - ${(W=n.tonieInfo)==null?void 0:W.episode}`:""),$="sourceInfo"in n?`${(q=n.sourceInfo)==null?void 0:q.series}`+((Z=n.sourceInfo)!=null&&Z.episode?` - ${(Q=n.sourceInfo)==null?void 0:Q.episode}`:""):"",M=h?$:R,P=(ie,fe)=>{var ne;const ge="trackSeconds"in ie?ie.trackSeconds:(ne=ie.tafHeader)==null?void 0:ne.trackSeconds;return(ge==null?void 0:ge.length)===fe},D=(ie,fe)=>{var ne;const ge="trackSeconds"in ie?ie.trackSeconds:(ne=ie.tafHeader)==null?void 0:ne.trackSeconds;return ge&&ge[fe]||0},O=()=>{m(!0)},k=()=>{A(),m(!1)},N=()=>{m(!1)},A=async()=>{if(s&&"ruid"in n&&n.ruid)try{await q3e.apiPostTeddyCloudContentJson(n.ruid,"hide=true",o),p(ft.Success,c("tonies.messages.hideTonieSuccessful"),c("tonies.messages.hideTonieSuccessfulDetails",{ruid:n.ruid}),c("tonies.navigationTitle")),s(n.ruid)}catch(ie){p(ft.Error,c("tonies.messages.hideTonieFailed"),c("tonies.messages.hideTonieFailedDetails",{ruid:n.ruid})+ie,c("tonies.navigationTitle"))}},L=f.jsx(uf,{title:c("tonies.confirmHideModal.title"),open:g,okText:c("tonies.confirmHideModal.hide"),cancelText:c("tonies.confirmHideModal.cancel"),content:c("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:_||("uid"in n?n.uid:"")}),handleOk:k,handleCancel:N}),j=f.jsx(f.Fragment,{children:f.jsxs("h3",{children:[M||c("tonies.informationModal.unknownModel"),f.jsx("br",{}),"uid"in n&&n.uid?f.jsx(K3e,{type:"secondary",children:n.uid}):""]})}),F=f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[f.jsx("div",{children:"ruid"in n&&n.ruid?a?"":f.jsx(tt,{onClick:O,children:c("tonies.informationModal.hideTag")}):""}),f.jsx(tt,{type:"primary",onClick:t,children:c("tonies.informationModal.ok")})]});return f.jsxs(f.Fragment,{children:[f.jsxs(_n,{title:j,footer:F,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[f.jsxs("div",{style:{position:"relative"},children:[f.jsx("img",{src:(J=n.tonieInfo)!=null&&J.picture?(le=n.tonieInfo)==null?void 0:le.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),h?f.jsx(Ft,{title:`${$}`?c("tonies.alternativeSource",{originalTonie:'"'+R+'"',assignedContent:'"'+$+'"'}).replace(' "" '," "):c("tonies.alternativeSourceUnknown",{originalTonie:'"'+R+'"'}).replace(' "" '," "),placement:"bottom",children:f.jsx("img",{src:y,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),T&&T.length>0?f.jsxs(f.Fragment,{children:[f.jsxs("strong",{children:[c("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),f.jsx("ul",{children:T.map(({ruidTime:ie,boxName:fe},ge)=>f.jsxs("li",{children:[fe,ie?" ("+ie+")":""]},ge))})]}):f.jsx(f.Fragment,{}),f.jsxs("div",{children:["valid"in n?f.jsxs("p",{children:[f.jsx("strong",{children:c("tonies.infoModal.valid")})," ",n.valid?c("tonies.infoModal.yes"):c("tonies.infoModal.no")]}):"","exists"in n?f.jsxs("p",{children:[f.jsx("strong",{children:c("tonies.infoModal.exists")})," ",n.exists?c("tonies.infoModal.yes"):c("tonies.infoModal.no")]}):"",h?v&&v.length>0?f.jsxs(f.Fragment,{children:[f.jsx("strong",{children:c("tonies.infoModal.tracklist")}),f.jsx("ol",{children:v.map((ie,fe)=>{var ge;return f.jsxs("li",{children:["audioUrl"in n&&P(n,(ge=n.sourceInfo.tracks)==null?void 0:ge.length)?f.jsxs(f.Fragment,{children:[f.jsx(Oi,{onClick:()=>E(""+n.audioUrl,D(n,fe))},"playpause")," "]}):""," ",ie]},fe)})})]}):f.jsx(f.Fragment,{}):(ce=n.tonieInfo)!=null&&ce.tracks&&((pe=n.tonieInfo)==null?void 0:pe.tracks.length)>0?f.jsxs(f.Fragment,{children:[f.jsx("strong",{children:c("tonies.infoModal.tracklist")}),f.jsx("ol",{children:(te=n.tonieInfo)==null?void 0:te.tracks.map((ie,fe)=>{var ge;return f.jsxs("li",{children:["audioUrl"in n&&P(n,(ge=n.tonieInfo.tracks)==null?void 0:ge.length)?f.jsxs(f.Fragment,{children:[f.jsx(Oi,{onClick:()=>E(""+n.audioUrl,D(n,fe))},"playpause")," "]}):""," ",ie]},fe)})})]}):f.jsx(f.Fragment,{}),"exists"in n&&n.exists&&"audioUrl"in n?f.jsxs("p",{style:{display:"flex",alignItems:"center",gap:"5px",cursor:w?"default":"pointer"},onClick:w?void 0:()=>I(""+n.audioUrl,$||R+".ogg"),children:[w?f.jsx(nc,{size:"small",indicator:f.jsx(uo,{style:{fontSize:14,color:u.colorText},spin:!0})}):f.jsx(eh,{},"download"),c("tonies.infoModal.download")]}):""]})]}),L]})},{useToken:X3e}=Ar,Z3e=()=>X3e().token,Q3e=({onVisibilityChange:e})=>{var Ue;const{t}=Nt(),{songImage:n,songArtist:r,songTitle:a,songTracks:i,tonieCardOrTAFRecord:o}=rh(),s=document.getElementById("globalAudioPlayer"),c=new Mn(On()),[u,d]=l.useState("none"),[p,g]=l.useState(!1),[m,h]=l.useState(!1),[b,y]=l.useState(0),[S,v]=l.useState("0:00"),[x,w]=l.useState("0:00"),[C,E]=l.useState(0),[I,T]=l.useState({left:0,top:0,visible:!1}),[_,R]=l.useState(!1),[$,M]=l.useState(100),[P,D]=l.useState(100),[O,k]=l.useState(!1),[N,A]=l.useState(!0),[L,j]=l.useState(!1),[F,B]=l.useState(!1),[z,U]=l.useState(0),[H,K]=l.useState(""),[Y,ee]=l.useState(0),[ae,W]=l.useState(300),[q,Z]=l.useState(""),[Q,J]=l.useState("");l.useEffect(()=>{s&&($===null?s.volume=0:s.volume=$/100)},[$,s]),l.useEffect(()=>{(async()=>{const Re=await(await c.apiGetTeddyCloudSettingRaw("frontend.confirm_audioplayer_close")).text()==="true";A(Re)})()},[u]),l.useEffect(()=>{le(),Z(a),J(r)},[i,a,r]),l.useEffect(()=>{ee(0),K("")},[s==null?void 0:s.src]),l.useEffect(()=>{e(),s!=null&&s.src&&u==="none"&&d("flex")},[u,s==null?void 0:s.src,e]),l.useEffect(()=>{const Ae=document.getElementById("globalAudioPlayer");Ae.addEventListener("loadedmetadata",()=>{const Oe=Math.floor(Ae.duration/60),Re=Math.floor(Ae.duration%60);w(`${Oe}:${Re<10?"0":""}${Re}`)}),Ae.addEventListener("progress",()=>{if(Ae.buffered.length>0){const Oe=Ae.buffered.end(Ae.buffered.length-1),Re=Ae.duration;Re>0&&E(Oe/Re*100)}})},[]);const le=()=>{var Ae,Oe;if(o){const Re=document.querySelector(".songContainer")||document.body,at=W3e([...("sourceInfo"in o&&o.sourceInfo?(Ae=o==null?void 0:o.sourceInfo)==null?void 0:Ae.tracks:(Oe=o==null?void 0:o.tonieInfo)==null?void 0:Oe.tracks)??[],r,a],getComputedStyle(Re).fontSize+" "+getComputedStyle(Re).fontFamily).pixelWidth;W(at)}else W(300)},ce=Ae=>{Array.isArray(Ae)||M(Ae)},pe=()=>{D($),M(0)},te=()=>{M(P)},ie=()=>{h(!0)},fe=()=>{h(!1)},ge=()=>{h(!1)},ne=()=>{s.play()},ue=()=>{s.pause()},me=()=>{Be(),s.src="",s.removeAttribute("src"),s.load(),d("none"),e()},xe=Ae=>{var qe;const Oe=Ae.target,Re=Math.floor(Oe.currentTime/60),at=Math.floor(Oe.currentTime%60);y(Oe.currentTime/s.duration*100),v(`${Re}:${at<10?"0":""}${at}`);const Ye=o&&("trackSeconds"in o?o.trackSeconds:"tafHeader"in o?o.tafHeader.trackSeconds:[])||[],We=o&&((qe="sourceInfo"in o&&o.sourceInfo?o.sourceInfo:o.tonieInfo)==null?void 0:qe.tracks);if(We&&Ye&&We.length===Ye.length){const Qe=Ye.findIndex((it,wt)=>{const kt=Ye[wt+1];return Oe.currentTime>=it&&(!kt||Oe.currentTime{if("touches"in Ae){const Oe=Ae.touches[0],Re=Ae.currentTarget.getBoundingClientRect(),at=Oe.clientX-Re.left,Ye=Re.height/2;T({left:at,top:Ye,visible:!0}),s.currentTime=at/Re.width*s.duration,j(!0)}else{const Oe=Ae.currentTarget.getBoundingClientRect(),Re=Ae.clientX-Oe.left,at=Oe.height/2;T({left:Re,top:at,visible:!0}),_&&$e(Ae)}},ke=()=>{T({left:0,top:0,visible:!1})},$e=Ae=>{if(L)j(!1),ke();else{const Oe=Ae.currentTarget.getBoundingClientRect();s.currentTime=I.left/Oe.width*s.duration}},Le=Ae=>{R(!0)},je=Ae=>{R(!1)},He=()=>{g(!p),e()},Be=()=>{k(!1)},Pe=()=>{N?k(!0):me()},Se=()=>{let Ae=0;for(;s.currentTime>i[Ae]&&(Ae++,!(Ae>i.length)););Ae>1&&Ae<=i.length?s.currentTime=i[Ae-2]:Ae<=1&&(s.currentTime=0)},Ne=()=>{let Ae=0;for(;s.currentTime>i[Ae]&&(Ae++,!(Ae>i.length)););Ae{const Ae=Oe=>{Oe?(s==null||s.play(),h(!0)):(s==null||s.pause(),h(!1))};navigator.mediaSession&&(navigator.mediaSession.metadata=new MediaMetadata({title:H||a||"",album:a||"",artist:r||"",artwork:[{src:n||"",sizes:"96x96,128x128,192x192,256x256,384x384,512x512"}]}),navigator.mediaSession.setActionHandler("play",()=>{Ae(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{Ae(!1)}),navigator.mediaSession.setActionHandler("previoustrack",Se),i.length>0&&navigator.mediaSession.setActionHandler("nexttrack",Ne))},[H,a,r,n,i,s]),l.useEffect(()=>{if(navigator.mediaSession&&s){const Ae=s.duration||0,Oe=s.currentTime||0,Re=s.playbackRate||1;if(Ae{e()},[e,Te]);const re=f.jsxs(f.Fragment,{children:[p?f.jsx(k2e,{onClick:He}):f.jsx(NRe,{onClick:He}),f.jsx(AG,{title:f.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[f.jsxs("div",{children:[f.jsx($Y,{})," ",t("tonies.closeAudioPlayerPopover")]}),f.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[f.jsx(tt,{onClick:Be,children:t("tonies.cancel")}),f.jsx(tt,{onClick:me,children:t("tonies.closeAudioPlayer")})]})]}),open:O,trigger:"click",onOpenChange:Be,className:"closePlayerPopover",placement:"top",style:{right:8},children:f.jsx(va,{style:{margin:"0 0 0 10px"},onClick:Pe})})]}),ve=f.jsxs(f.Fragment,{children:[f.jsx(dx,{type:"line",success:{percent:b,strokeColor:"#1677ff"},percent:C,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),I.visible&&f.jsx("svg",{style:{position:"absolute",left:I.left,top:I.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:f.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),_e=p?f.jsx(f.Fragment,{children:f.jsx("span",{id:"minimalAudioPlayer",style:{...De,display:p?"flex":"none",padding:0},children:f.jsxs("div",{style:rr.trackInfo,children:[m?f.jsx(yL,{style:{fontSize:24,marginRight:8},onClick:ue}):f.jsx(Oi,{style:{fontSize:24,marginRight:8},onClick:ne}),n&&f.jsx("img",{src:n,alt:"Song",style:{...rr.songImage,cursor:o?"help":"unset"},onClick:()=>{o!==void 0&&(U(z+1),B(!0))}}),x.startsWith("Infinity")?f.jsx("div",{style:{...rr.playPositionContainer,marginRight:0},children:f.jsxs("div",{style:{display:"flex"},children:[f.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),f.jsx("span",{children:re})]})}):f.jsxs("div",{style:{...rr.playPositionContainer,marginRight:0},children:[f.jsxs("div",{style:{display:"flex"},children:[f.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[S," / ",x]}),f.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:re})]}),f.jsx("div",{style:{...lt,width:100},onMouseDown:Le,onMouseMove:Ie,onMouseUp:je,onMouseLeave:ke,onTouchStart:Ie,onTouchMove:Ie,onClick:$e,children:ve})]})]})})}):"",ze=p?"":f.jsxs(f.Fragment,{children:[f.jsx("span",{id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:p?"none":"flex",position:"absolute"},children:re}),f.jsxs("span",{style:{...De,display:p?"none":"flex"},children:[f.jsxs("div",{id:"audioPlayer",style:{...rr.controls,flexDirection:"column",gap:8},children:[H?f.jsxs("div",{style:{fontSize:"x-small",marginTop:H?-20:0},children:[Y,o&&((Ue="sourceInfo"in o&&o.sourceInfo?o.sourceInfo:o.tonieInfo)==null?void 0:Ue.tracks.length)&&f.jsxs(f.Fragment,{children:[" ","/"," ",("sourceInfo"in o&&o.sourceInfo?o.sourceInfo:o.tonieInfo).tracks.length]})]}):"",f.jsxs("div",{style:{display:"flex",gap:8},children:[f.jsx(jRe,{style:rr.controlButton,onClick:Se}),m?f.jsx(yL,{style:rr.controlButton,onClick:ue}):f.jsx(Oi,{style:rr.controlButton,onClick:ne}),f.jsx(zRe,{style:{...rr.controlButton,cursor:i.length===0?"default":"pointer",opacity:i.length===0?.25:1},disabled:i.length===0,onClick:Ne})]})]}),f.jsxs("div",{style:{...rr.trackInfo,cursor:o?"help":"unset"},onClick:()=>{o!==void 0&&(U(z+1),B(!0))},children:[n&&f.jsx("img",{src:n,alt:"Song",style:rr.songImage}),f.jsxs("div",{className:"songContainer",style:he,children:[H?f.jsx("div",{children:H}):"",f.jsx("div",{children:Q}),f.jsx("div",{children:q})]})]}),x.startsWith("Infinity")?"":f.jsxs("div",{style:rr.playPositionContainer,children:[f.jsx("div",{children:f.jsxs("div",{style:{textAlign:"center"},children:[S," / ",x]})}),f.jsx("div",{style:lt,onMouseDown:Le,onMouseMove:Ie,onMouseUp:je,onMouseLeave:ke,onTouchStart:Ie,onTouchMove:Ie,onClick:$e,children:ve})]}),f.jsx("div",{style:Ge,children:f.jsxs("div",{style:{...rr.controls,position:"relative"},children:[f.jsx(QTe,{style:{...rr.controlButton,...rr.volumeIcon,display:($||0)===0?"block":"none"},onClick:te}),f.jsx(IY,{style:{...rr.controlButton,...rr.volumeIcon,display:($||0)>0?"block":"none"},onClick:pe}),f.jsx("div",{style:rr.volumeSlider,children:f.jsx(N1e,{min:0,max:100,value:$||0,onChange:ce})})]})})]})]});return f.jsxs(f.Fragment,{children:[f.jsxs("div",{style:{...rr.container,display:u,visibility:s!=null&&s.src?"visible":"hidden",height:s!=null&&s.src?"auto":"0",margin:s!=null&&s.src?"0":"-24px",marginBottom:s!=null&&s.src?"8px":"0",overflow:"hidden"},children:[_e,ze,o?f.jsx(Ix,{open:F,onClose:()=>B(!1),tonieCardOrTAFRecord:{...o,tonieInfo:"sourceInfo"in o&&o.sourceInfo?o.sourceInfo:o.tonieInfo},readOnly:!0},z):""]}),f.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:ie,onPause:fe,onEnded:ge,onTimeUpdate:xe,style:{display:"none"},children:"Your browser does not support the audio element."})]})},rr={container:{flexDirection:"column",alignItems:"flex-end",objectPosition:"top",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},innerContainer:{justifyContent:"space-between",alignItems:"center",padding:10,backgroundColor:"#333",borderRadius:8,gap:16},controls:{display:"flex",alignItems:"center"},controlButton:{fontSize:24,cursor:"pointer"},trackInfo:{display:"flex",alignItems:"center",justifyContent:"center"},songImage:{width:"auto",height:40,borderRadius:"50%",marginRight:10},songContainer:{minWidth:200,maxWidth:200},songTitle:{display:"block"},songArtist:{display:"block"},progressBar:{display:"block",position:"relative",width:150,marginRight:10},playPosition:{fontSize:14,width:"100%"},playPositionContainer:{marginLeft:10,marginRight:10},controls2:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24},volumeSlider:{width:100,position:"releative",marginRight:16,top:"calc(100% + 10px)",zIndex:1e3,backgroundColor:`${()=>Z3e().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},{useToken:J3e}=Ar,eDe=()=>J3e().token,ih=Na(Gs)` - height: 100%; - border-right: 0; -`,jn=Na(GN)` - min-width: 230px !important; - @media (max-width: 767px) { - display: none; - } -`,Fn=Na(zs)` - padding: 0 24px 24px; -`,tDe=Na(Wm)` - margin: 16px 0; -`,Pn=Na(zs.Content)` - padding: 24px; - margin: 0; - min-height: 280px; - background: ${()=>eDe().colorBgContainer}; -`,$0=Na.span` - @media (min-width: 767px) { - display: none; - } -`,df=Na.span` - @media (max-width: 767px) { - display: none; - } -`;Na(bk)` - padding: 10px; -`;const Bn=({items:e})=>{const{t}=Nt();return l.useEffect(()=>{if(e.length===1)document.title="TeddyCloud";else{const n=e.slice(1).map(r=>t(r.title)).join(" - ");document.title="TeddyCloud - "+n}},[e,t]),f.jsx(tDe,{items:e})},{useToken:nDe}=Ar,rDe=Na(nY)` - position: fixed; - bottom: 0; - z-index: 10; - width: 100%; - display: flex; - flex-direction: column; - align-items: center; - padding: 16px 24px; - color: white; -`,Ej=Na.div` - margin: auto; - display: flex; - align-items: center; -`,W1=new Mn(On()),aDe=()=>{const{t:e}=Nt(),{token:t}=nDe(),[n,r]=l.useState(0),[a,i]=l.useState(""),[o,s]=l.useState(""),[c,u]=l.useState(""),d=()=>{const p=document.querySelector("footer");p&&r(p.offsetHeight)};return l.useEffect(()=>{W1.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(p=>p.text()).then(p=>i(p)).catch(p=>console.error("Error fetching data:",p)),W1.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(p=>p.text()).then(p=>s(p)).catch(p=>console.error("Error fetching data:",p)),W1.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(p=>p.text()).then(p=>u(p)).catch(p=>console.error("Error fetching data:",p))},[]),f.jsxs(f.Fragment,{children:[f.jsx("div",{style:{paddingBottom:n}}),f.jsxs(rDe,{children:[f.jsx(Ej,{children:f.jsx(Q3e,{onVisibilityChange:d})}),f.jsx(Ej,{children:f.jsx("div",{children:f.jsxs("small",{style:{display:"flex",color:t.colorText},children:[f.jsxs(ot,{to:I3e,target:"_blank",children:[f.jsxs($0,{children:[o," (",c,")"]}),f.jsx(df,{children:a})]}),f.jsx("div",{style:{paddingLeft:8},children:"-"}),f.jsx(dTe,{style:{color:"#eb2f96",paddingLeft:8}}),f.jsxs(df,{style:{paddingLeft:8},children:[e("footer.sponsorText")," "]}),f.jsx("b",{children:f.jsx(ot,{to:Kk,target:"_blank",style:{paddingLeft:8},children:e("footer.sponsor")})})]})})})]})]})},iDe=new ZX(On()),oDe=new P3e(On()),sDe=new Mn(On()),lDe=()=>{const{t:e}=Nt(),{fetchCloudStatus:t}=Qn(),[n,r]=l.useState(!1),[a,i]=l.useState(!0),[o,s]=l.useState(!1),c=async()=>{try{const p=await(await sDe.apiGetTeddyCloudSettingRaw("cloud.enabled")).text()==="true";return i(p),p||r(!1),p}catch{return console.log("Something went wrong getting cloud.enabled."),i(!1),!1}},u=async()=>{const d=await c();try{(await iDe.v1TimeGet()).length===10&&s(!0)}catch{s(!1)}if(d){async function p(){let m=0,h=!1;for(;m<10&&!h;)try{(await oDe.reverseV1TimeGet()).length===10&&(r(!0),h=!0)}catch{m++,r(!1),await new Promise(y=>setTimeout(y,500))}}p()}};return l.useEffect(()=>{u()},[]),l.useEffect(()=>{u()},[t]),f.jsxs(qa,{children:[f.jsx(Ft,{title:e(a?n?"server.boxineStatusOnline":"server.boxineStatusOffline":"server.boxineDisabled"),children:f.jsxs(tm,{icon:a?n?f.jsx(Y_,{}):f.jsx(bL,{}):f.jsx(xY,{}),color:a?n?"#87d068":"#f50":"#faad14",bordered:!1,style:{cursor:"help",color:"#001529"},children:[f.jsx($0,{children:"B"}),f.jsx(df,{children:"Boxine"})]})}),f.jsx(Ft,{title:e(o?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:f.jsxs(tm,{icon:o?f.jsx(Y_,{}):f.jsx(bL,{}),color:o?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[f.jsx($0,{children:"TC"}),f.jsx(df,{children:"TeddyCloud"})]})})]})},cDe=()=>{var i;const{t:e,i18n:t}=Nt(),n=o=>{t.changeLanguage(o)},r=[{key:"1",label:e("language.english"),onClick:()=>n("en")},{key:"2",label:e("language.german"),onClick:()=>n("de")},{key:"3",label:e("language.french"),onClick:()=>n("fr")},{key:"4",label:e("language.spanish"),onClick:()=>n("es")}],a=t.language;return f.jsx(qa,{style:{marginRight:-8},children:f.jsx(lx,{menu:{items:r},trigger:["click"],children:f.jsx("a",{href:"/",onClick:o=>o.preventDefault(),title:e("language.change"),children:f.jsxs(tm,{color:"transparent",children:[f.jsx(yY,{})," ",f.jsx("strong",{children:(i=r.find(o=>o.onClick&&o.onClick.toString().includes(a)))==null?void 0:i.label})]})})})})},uDe=({notificationCount:e})=>{const t=cu();return f.jsx(PG,{dot:e>0,offset:[-2,2],style:{color:"#595959",borderColor:"#000"},children:f.jsx(tt,{shape:"circle",icon:f.jsx(mY,{}),size:"small",onClick:()=>t("/settings/notifications"),style:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ffffff",color:"#595959",borderColor:"#d9d9d9"}})})},oh=()=>{const{t:e}=Nt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r}=Qn(),a=pr.language;l.useEffect(()=>{r(e("home.navigationTitle"))},[a]);const i=[{key:"home",label:f.jsx(ot,{to:"/",onClick:()=>{t(!1),n(!1)},children:e("home.navigationTitle")}),icon:de.createElement(CTe),title:e("home.navigationTitle")},{key:"features",label:f.jsx(ot,{to:"/home/features",onClick:()=>{t(!1),n(!1)},children:e("home.features.navigationTitle")}),icon:de.createElement(yIe),title:e("home.features.navigationTitle")},{key:"statistics",label:f.jsx(ot,{to:"/home/stats",onClick:()=>{t(!1),n(!1)},children:e("home.stats.navigationTitle")}),icon:de.createElement(Z_),title:e("home.stats.navigationTitle")},{key:"sponsor",label:f.jsx(ot,{to:Kk,target:"_blank",onClick:()=>{t(!1),n(!1)},children:e("home.sponsor.navigationTitle")}),icon:de.createElement(gTe),title:e("home.sponsor.navigationTitle")},{key:"hiddenMeeting",label:f.jsx(ot,{to:"/home/tonieMeeting",onClick:()=>{t(!1),n(!1)}})}];return f.jsx(ih,{mode:"inline",selectedKeys:[],defaultOpenKeys:["sub"],items:i})},Ks=()=>{const{t:e}=Nt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r}=Qn(),a=pr.language,[i,o]=l.useState([]);l.useEffect(()=>{r(e("community.navigationTitle"))},[a]);const s=p=>{const g=[];p.includes("/contribution")&&g.push("contribution"),o(m=>Array.from(new Set([...m,...g])))};l.useEffect(()=>{s(location.pathname)},[location.pathname]);const c=p=>{const g=p.find(h=>!i.includes(h)),m=i.find(h=>!p.includes(h));g?o(h=>[...h,g]):m&&o(h=>h.filter(b=>b!==m))},u=({isOpen:p})=>p??!1?f.jsx(SY,{style:{margin:"16px 0 16px 16px"}}):f.jsx(Xm,{style:{margin:"16px 0 16px 16px"}}),d=[{key:"community",label:f.jsx(ot,{to:"/community",onClick:()=>{t(!1),n(!1)},children:e("community.navigationTitle")}),icon:de.createElement(OTe),title:e("community.navigationTitle")},{key:"faq",label:f.jsx(ot,{to:"/community/faq",onClick:()=>{t(!1),n(!1)},children:e("community.faq.navigationTitle")}),icon:de.createElement(Jg),title:e("community.faq.navigationTitle")},{key:"request",label:f.jsx(ot,{to:"/community/supportrequestguide",onClick:()=>{t(!1),n(!1)},children:e("community.supportRequestGuide.navigationTitle")}),icon:de.createElement(Jg),title:e("community.supportRequestGuide.navigationTitle")},{key:"contribution",label:f.jsx(ot,{to:"/community/contribution",style:{color:"currentColor",display:"flex",alignItems:"center",padding:"0 50px 0 0"},onClick:()=>{t(!1),n(!1)},children:e("community.contribution.navigationTitle")}),icon:de.createElement(_Ie),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:f.jsx(ot,{to:"/community/contribution/tonies-json",onClick:()=>{t(!1),n(!1)},children:e("community.contribution.toniesJson.navigationTitle")}),icon:de.createElement(Dwe),title:e("community.contribution.toniesJson.navigationTitle")},{key:"translation",label:f.jsx(ot,{to:"/community/contribution/translations",onClick:()=>{t(!1),n(!1)},children:e("community.translations.navigationTitle")}),icon:de.createElement(yY),title:e("community.translations.navigationTitle")}]},{key:"contributors",label:f.jsx(ot,{to:"/community/contributors",onClick:()=>{t(!1),n(!1)},children:e("community.contributors.navigationTitle")}),icon:de.createElement(QIe),title:e("community.contributors.navigationTitle")},{key:"changelog",label:f.jsx(ot,{to:"/community/changelog",onClick:()=>{t(!1),n(!1)},children:e("community.changelog.navigationTitle")}),icon:de.createElement(B2e),title:e("community.changelog.navigationTitle")},{key:"Forum",label:f.jsx(ot,{to:Ad,target:"_blank",onClick:()=>{t(!1),n(!1)},children:e("community.forum.navigationTitle")}),icon:de.createElement(hIe),title:e("community.forum.navigationTitle")}];return f.jsx(ih,{mode:"inline",defaultOpenKeys:["sub"],openKeys:i,selectedKeys:[],onOpenChange:c,items:d,expandIcon:({isOpen:p})=>u({isOpen:p})})},dDe=new Mn(On()),fDe=new ZX(On()),pDe=async(e=!0,t,n,r)=>{const a="restart-tc";n(a,_t("settings.restartTC"),_t("settings.tryToRestartTC"));try{const s=await(await dDe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text();if(s.toString()!=="OK"){r(a),t(ft.Error,_t("settings.restartFailed"),_t("settings.restartFailed")+": "+s.toString(),_t("settings.navigationTitle"));return}}catch(o){r(a),t(ft.Error,_t("settings.restartFailed"),_t("settings.restartFailed")+": "+o,_t("settings.navigationTitle"));return}n(a,_t("settings.restartTC"),_t("settings.restartInProgress")),await new Promise(o=>setTimeout(o,3e3));let i=0;for(;i<10;)try{if((await fDe.v1TimeGet()).length===10){r(a),t(ft.Success,_t("settings.restartComplete"),_t("settings.restartComplete"),_t("settings.navigationTitle")),e&&(window.location.href="/web");return}}catch{i++,await new Promise(s=>setTimeout(s,3e3))}r(a),t(ft.Error,_t("settings.restartFailed"),_t("settings.restartFailed"),_t("settings.navigationTitle"))},gDe=new Mn(On()),sh=()=>{const{t:e}=Nt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r}=Qn(),{addNotification:a,addLoadingNotification:i,closeLoadingNotification:o}=Qn(),s=pr.language,[c,u]=l.useState("");l.useEffect(()=>{r(e("settings.navigationTitle"))},[s]);const d=h=>{const b=new URL(h),y=b.port?`:${b.port}`:"";return`${b.protocol}//${b.hostname}${y}`},p=async()=>{await pDe(!0,a,i,o),u("")},g=async()=>{const h="reloadToniesJson";i(h,e("settings.toniesJsonUpdate"),e("settings.toniesJsonUpdateInProgress"));try{const y=await(await gDe.apiGetTeddyCloudApiRaw("/api/toniesJsonUpdate")).text();u(""),o(h),y.toString()!=="Triggered tonies.json update"?a(ft.Error,e("settings.toniesJsonUpdateFailed"),e("settings.toniesJsonUpdateFailed")+": "+y.toString(),e("settings.navigationTitle")):a(ft.Success,e("settings.toniesJsonUpdateSuccessful"),e("settings.toniesJsonUpdateSuccessful"),e("settings.navigationTitle"))}catch(b){a(ft.Error,e("settings.toniesJsonUpdateFailed"),e("settings.toniesJsonUpdateFailed")+": "+b,e("settings.navigationTitle"))}},m=[{key:"general",label:f.jsx(ot,{to:"/settings",onClick:()=>{t(!1),n(!1)},children:e("settings.general.navigationTitle")}),icon:de.createElement(Ek),title:e("settings.general.navigationTitle")},{key:"certificates",label:f.jsx(ot,{to:"/settings/certificates",onClick:()=>{t(!1),n(!1)},children:e("settings.certificates.navigationTitle")}),icon:de.createElement(Ck),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:f.jsx(ot,{to:"/settings/rtnl",onClick:()=>{t(!1),n(!1)},children:e("settings.rtnl.navigationTitle")}),icon:de.createElement(UIe),title:e("settings.rtnl.navigationTitle")},{key:"notifications",label:f.jsx(ot,{to:"/settings/notifications",onClick:()=>{t(!1),n(!1)},children:e("settings.notifications.navigationTitle")}),icon:de.createElement(mY),title:e("settings.notifications.navigationTitle")},{key:"reload_toniesJson",label:f.jsx("label",{style:{cursor:"pointer"},children:e("settings.toniesJsonUpdate")}),onClick:()=>{g(),t(!1),n(!1)},icon:de.createElement(TY),title:e("settings.toniesJsonUpdate")},{key:"restart_server",label:f.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:()=>{p(),t(!1),n(!1)},icon:de.createElement(bRe),title:e("settings.restartServer")},{key:"legacy",label:f.jsx(ot,{to:`${d(new URL(window.location.href))}/legacy.html`,target:"_blank",onClick:()=>{t(!1),n(!1)},children:e("settings.legacyGui")}),icon:de.createElement(vTe),title:e("settings.legacyGui")}];return f.jsx(ih,{mode:"inline",selectedKeys:[c],defaultOpenKeys:["sub"],items:m})};function Ij(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function bd(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var G1={};function hDe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return G1[t]||(G1[t]=mDe(e)),G1[t]}function vDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),a=hDe(r);return a.reduce(function(i,o){return bd(bd({},i),n[o])},t)}function Tj(e){return e.join(" ")}function bDe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,i){return JX({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function JX(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,i=e.useInlineStyles,o=e.key,s=t.properties,c=t.type,u=t.tagName,d=t.value;if(c==="text")return d;if(u){var p=bDe(n,i),g;if(!i)g=bd(bd({},s),{},{className:Tj(s.className)});else{var m=Object.keys(n).reduce(function(S,v){return v.split(".").forEach(function(x){S.includes(x)||S.push(x)}),S},[]),h=s.className&&s.className.includes("token")?["token"]:[],b=s.className&&h.concat(s.className.filter(function(S){return!m.includes(S)}));g=bd(bd({},s),{},{className:Tj(b)||void 0,style:vDe(s.className,Object.assign({},s.style,a),n)})}var y=p(t.children);return de.createElement(u,be({key:o},g),y)}}const yDe=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var xDe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Rj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function wl(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return hb({children:C,lineNumber:E,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:a,lineProps:n,className:I,showLineNumbers:r,wrapLongLines:c,wrapLines:t})}function b(C,E){if(r&&E&&a){var I=tZ(s,E,o);C.unshift(eZ(E,I))}return C}function y(C,E){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||I.length>0?h(C,E,I):b(C,E)}for(var S=function(){var E=d[m],I=E.children[0].value,T=wDe(I);if(T){var _=I.split(` -`);_.forEach(function(R,$){var M=r&&p.length+i,P={type:"text",value:"".concat(R,` -`)};if($===0){var D=d.slice(g+1,m).concat(hb({children:[P],className:E.properties.className})),O=y(D,M);p.push(O)}else if($===_.length-1){var k=d[m+1]&&d[m+1].children&&d[m+1].children[0],N={type:"text",value:"".concat(R)};if(k){var A=hb({children:[N],className:E.properties.className});d.splice(m+1,0,A)}else{var L=[N],j=y(L,M,E.properties.className);p.push(j)}}else{var F=[P],B=y(F,M,E.properties.className);p.push(B)}}),g=m}m++};m0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=Promise.allSettled(n.map(c=>{if(c=NDe(c),c in _j)return;_j[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":ODe,u||(p.as="script"),p.crossOrigin="",p.href=c,s&&p.setAttribute("nonce",s),document.head.appendChild(p),u)return new Promise((g,m)=>{p.addEventListener("load",g),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},kDe=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var ADe=MDe,DDe=Object.prototype.hasOwnProperty;function MDe(){for(var e={},t=0;t4&&n.slice(0,4)===Jk&&wMe.test(t)&&(t.charAt(4)==="-"?r=IMe(t):t=TMe(t),a=yMe),new a(r,t))}function IMe(e){var t=e.slice(5).replace(fZ,_Me);return Jk+t.charAt(0).toUpperCase()+t.slice(1)}function TMe(e){var t=e.slice(4);return fZ.test(t)?e:(t=t.replace(CMe,RMe),t.charAt(0)!=="-"&&(t="-"+t),Jk+t)}function RMe(e){return"-"+e.toLowerCase()}function _Me(e){return e.charAt(1).toUpperCase()}var $Me=OMe,Aj=/[#.]/g;function OMe(e,t){for(var n=e||"",r=t||"div",a={},i=0,o,s,c;i=48&&t<=57}var QPe=JPe;function JPe(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var eLe=tLe;function tLe(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var nLe=eLe,rLe=mZ,aLe=iLe;function iLe(e){return nLe(e)||rLe(e)}var Sv,oLe=59,sLe=lLe;function lLe(e){var t="&"+e+";",n;return Sv=Sv||document.createElement("i"),Sv.innerHTML=t,n=Sv.textContent,n.charCodeAt(n.length-1)===oLe&&e!=="semi"||n===t?!1:n}var Bj=YPe,zj=XPe,cLe=mZ,uLe=QPe,hZ=aLe,dLe=sLe,fLe=ILe,pLe={}.hasOwnProperty,Uu=String.fromCharCode,gLe=Function.prototype,Hj={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},mLe=9,Uj=10,hLe=12,vLe=32,Vj=38,bLe=59,yLe=60,xLe=61,SLe=35,wLe=88,CLe=120,ELe=65533,Qu="named",nA="hexadecimal",rA="decimal",aA={};aA[nA]=16;aA[rA]=10;var Tx={};Tx[Qu]=hZ;Tx[rA]=cLe;Tx[nA]=uLe;var vZ=1,bZ=2,yZ=3,xZ=4,SZ=5,w$=6,wZ=7,ac={};ac[vZ]="Named character references must be terminated by a semicolon";ac[bZ]="Numeric character references must be terminated by a semicolon";ac[yZ]="Named character references cannot be empty";ac[xZ]="Numeric character references cannot be empty";ac[SZ]="Named character references must be known";ac[w$]="Numeric character references cannot be disallowed";ac[wZ]="Numeric character references cannot be outside the permissible Unicode range";function ILe(e,t){var n={},r,a;t||(t={});for(a in Hj)r=t[a],n[a]=r??Hj[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),TLe(e,n)}function TLe(e,t){var n=t.additional,r=t.nonTerminated,a=t.text,i=t.reference,o=t.warning,s=t.textContext,c=t.referenceContext,u=t.warningContext,d=t.position,p=t.indent||[],g=e.length,m=0,h=-1,b=d.column||1,y=d.line||1,S="",v=[],x,w,C,E,I,T,_,R,$,M,P,D,O,k,N,A,L,j,F;for(typeof n=="string"&&(n=n.charCodeAt(0)),A=B(),R=o?z:gLe,m--,g++;++m65535&&(T-=65536,M+=Uu(T>>>10|55296),T=56320|T&1023),T=M+Uu(T))):k!==Qu&&R(xZ,j)),T?(U(),A=B(),m=F-1,b+=F-O+1,v.push(T),L=B(),L.offset++,i&&i.call(c,T,{start:A,end:L},e.slice(O-1,F)),A=L):(E=e.slice(O-1,F),S+=E,b+=E.length,m=F-1)}else I===10&&(y++,h++,b=0),I===I?(S+=Uu(I),b++):U();return v.join("");function B(){return{line:y,column:b,offset:m+(d.offset||0)}}function z(H,K){var Y=B();Y.column+=K,Y.offset+=K,o.call(u,ac[H],Y,H)}function U(){S&&(v.push(S),a&&a.call(s,S,{start:A,end:B()}),S="")}}function RLe(e){return e>=55296&&e<=57343||e>1114111}function _Le(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var CZ={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT - * @author Lea Verou - * @namespace - * @public - */var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function v(x){return x instanceof c?new c(x.type,v(x.content),x.alias):Array.isArray(x)?x.map(v):x.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(C){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(v){var x=document.getElementsByTagName("script");for(var w in x)if(x[w].src==v)return x[w]}return null}},isActive:function(v,x,w){for(var C="no-"+x;v;){var E=v.classList;if(E.contains(x))return!0;if(E.contains(C))return!1;v=v.parentElement}return!!w}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(v,x){var w=s.util.clone(s.languages[v]);for(var C in x)w[C]=x[C];return w},insertBefore:function(v,x,w,C){C=C||s.languages;var E=C[v],I={};for(var T in E)if(E.hasOwnProperty(T)){if(T==x)for(var _ in w)w.hasOwnProperty(_)&&(I[_]=w[_]);w.hasOwnProperty(T)||(I[T]=E[T])}var R=C[v];return C[v]=I,s.languages.DFS(s.languages,function($,M){M===R&&$!=v&&(this[$]=I)}),I},DFS:function v(x,w,C,E){E=E||{};var I=s.util.objId;for(var T in x)if(x.hasOwnProperty(T)){w.call(x,T,x[T],C||T);var _=x[T],R=s.util.type(_);R==="Object"&&!E[I(_)]?(E[I(_)]=!0,v(_,w,null,E)):R==="Array"&&!E[I(_)]&&(E[I(_)]=!0,v(_,w,T,E))}}},plugins:{},highlightAll:function(v,x){s.highlightAllUnder(document,v,x)},highlightAllUnder:function(v,x,w){var C={callback:w,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),s.hooks.run("before-all-elements-highlight",C);for(var E=0,I;I=C.elements[E++];)s.highlightElement(I,x===!0,C.callback)},highlightElement:function(v,x,w){var C=s.util.getLanguage(v),E=s.languages[C];s.util.setLanguage(v,C);var I=v.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(I,C);var T=v.textContent,_={element:v,language:C,grammar:E,code:T};function R(M){_.highlightedCode=M,s.hooks.run("before-insert",_),_.element.innerHTML=_.highlightedCode,s.hooks.run("after-highlight",_),s.hooks.run("complete",_),w&&w.call(_.element)}if(s.hooks.run("before-sanity-check",_),I=_.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!_.code){s.hooks.run("complete",_),w&&w.call(_.element);return}if(s.hooks.run("before-highlight",_),!_.grammar){R(s.util.encode(_.code));return}if(x&&r.Worker){var $=new Worker(s.filename);$.onmessage=function(M){R(M.data)},$.postMessage(JSON.stringify({language:_.language,code:_.code,immediateClose:!0}))}else R(s.highlight(_.code,_.grammar,_.language))},highlight:function(v,x,w){var C={code:v,grammar:x,language:w};if(s.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=s.tokenize(C.code,C.grammar),s.hooks.run("after-tokenize",C),c.stringify(s.util.encode(C.tokens),C.language)},tokenize:function(v,x){var w=x.rest;if(w){for(var C in w)x[C]=w[C];delete x.rest}var E=new p;return g(E,E.head,v),d(v,E,x,E.head,0),h(E)},hooks:{all:{},add:function(v,x){var w=s.hooks.all;w[v]=w[v]||[],w[v].push(x)},run:function(v,x){var w=s.hooks.all[v];if(!(!w||!w.length))for(var C=0,E;E=w[C++];)E(x)}},Token:c};r.Prism=s;function c(v,x,w,C){this.type=v,this.content=x,this.alias=w,this.length=(C||"").length|0}c.stringify=function v(x,w){if(typeof x=="string")return x;if(Array.isArray(x)){var C="";return x.forEach(function(R){C+=v(R,w)}),C}var E={type:x.type,content:v(x.content,w),tag:"span",classes:["token",x.type],attributes:{},language:w},I=x.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(E.classes,I):E.classes.push(I)),s.hooks.run("wrap",E);var T="";for(var _ in E.attributes)T+=" "+_+'="'+(E.attributes[_]||"").replace(/"/g,""")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+T+">"+E.content+""};function u(v,x,w,C){v.lastIndex=x;var E=v.exec(w);if(E&&C&&E[1]){var I=E[1].length;E.index+=I,E[0]=E[0].slice(I)}return E}function d(v,x,w,C,E,I){for(var T in w)if(!(!w.hasOwnProperty(T)||!w[T])){var _=w[T];_=Array.isArray(_)?_:[_];for(var R=0;R<_.length;++R){if(I&&I.cause==T+","+R)return;var $=_[R],M=$.inside,P=!!$.lookbehind,D=!!$.greedy,O=$.alias;if(D&&!$.pattern.global){var k=$.pattern.toString().match(/[imsuy]*$/)[0];$.pattern=RegExp($.pattern.source,k+"g")}for(var N=$.pattern||$,A=C.next,L=E;A!==x.tail&&!(I&&L>=I.reach);L+=A.value.length,A=A.next){var j=A.value;if(x.length>v.length)return;if(!(j instanceof c)){var F=1,B;if(D){if(B=u(N,L,v,P),!B||B.index>=v.length)break;var K=B.index,z=B.index+B[0].length,U=L;for(U+=A.value.length;K>=U;)A=A.next,U+=A.value.length;if(U-=A.value.length,L=U,A.value instanceof c)continue;for(var H=A;H!==x.tail&&(UI.reach&&(I.reach=W);var q=A.prev;ee&&(q=g(x,q,ee),L+=ee.length),m(x,q,F);var Z=new c(T,M?s.tokenize(Y,M):Y,O,Y);if(A=g(x,q,Z),ae&&g(x,A,ae),F>1){var Q={cause:T+","+R,reach:W};d(v,x,w,A.prev,L,Q),I&&Q.reach>I.reach&&(I.reach=Q.reach)}}}}}}function p(){var v={value:null,prev:null,next:null},x={value:null,prev:v,next:null};v.next=x,this.head=v,this.tail=x,this.length=0}function g(v,x,w){var C=x.next,E={value:w,prev:x,next:C};return x.next=E,C.prev=E,v.length++,E}function m(v,x,w){for(var C=x.next,E=0;E/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var a={};a["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},a.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:a}};i["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var o={};o[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var NLe=oA;oA.displayName="css";oA.aliases=[];function oA(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}var kLe=sA;sA.displayName="clike";sA.aliases=[];function sA(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var ALe=lA;lA.displayName="javascript";lA.aliases=["js"];function lA(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}var Mp=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Fa=="object"?Fa:{},DLe=XLe();Mp.Prism={manual:!0,disableWorkerMessageHandler:!0};var MLe=XMe,PLe=fLe,EZ=$Le,LLe=OLe,jLe=NLe,FLe=kLe,BLe=ALe;DLe();var cA={}.hasOwnProperty;function IZ(){}IZ.prototype=EZ;var Kr=new IZ,zLe=Kr;Kr.highlight=ULe;Kr.register=ch;Kr.alias=HLe;Kr.registered=VLe;Kr.listLanguages=WLe;ch(LLe);ch(jLe);ch(FLe);ch(BLe);Kr.util.encode=KLe;Kr.Token.stringify=GLe;function ch(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");Kr.languages[e.displayName]===void 0&&e(Kr)}function HLe(e,t){var n=Kr.languages,r=e,a,i,o,s;t&&(r={},r[e]=t);for(a in r)for(i=r[a],i=typeof i=="string"?[i]:i,o=i.length,s=-1;++s code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var q1,Wj;function QLe(){if(Wj)return q1;Wj=1,q1=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return q1}var K1,Gj;function JLe(){if(Gj)return K1;Gj=1,K1=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return K1}var Y1,qj;function eje(){if(qj)return Y1;qj=1,Y1=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return Y1}var X1,Kj;function tje(){if(Kj)return X1;Kj=1,X1=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return X1}var Z1,Yj;function nje(){if(Yj)return Z1;Yj=1,Z1=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return Z1}var Q1,Xj;function rje(){if(Xj)return Q1;Xj=1,Q1=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return Q1}var J1,Zj;function aje(){if(Zj)return J1;Zj=1,J1=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return J1}var ew,Qj;function ije(){if(Qj)return ew;Qj=1,ew=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return ew}var tw,Jj;function uA(){if(Jj)return tw;Jj=1,tw=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return tw}var nw,e6;function oje(){if(e6)return nw;e6=1;var e=uA();nw=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,i=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function o(c){return RegExp(c.replace(//g,function(){return i}),"i")}var s={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return nw}var rw,t6;function sje(){if(t6)return rw;t6=1,rw=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return rw}var aw,n6;function lje(){if(n6)return aw;n6=1,aw=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return aw}var iw,r6;function cje(){if(r6)return iw;r6=1,iw=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return iw}var ow,a6;function vu(){if(a6)return ow;a6=1,ow=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return ow}var sw,i6;function dA(){if(i6)return sw;i6=1;var e=vu();sw=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return sw}var lw,o6;function uje(){if(o6)return lw;o6=1;var e=dA();lw=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return lw}var cw,s6;function dje(){if(s6)return cw;s6=1,cw=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return cw}var uw,l6;function fje(){if(l6)return uw;l6=1,uw=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(o){o=o.split(" ");for(var s={},c=0,u=o.length;c>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return fw}var pw,d6;function Rx(){if(d6)return pw;d6=1,pw=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(F,B){return F.replace(/<<(\d+)>>/g,function(z,U){return"(?:"+B[+U]+")"})}function a(F,B,z){return RegExp(r(F,B),"")}function i(F,B){for(var z=0;z>/g,function(){return"(?:"+F+")"});return F.replace(/<>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(F){return"\\b(?:"+F.trim().replace(/ /g,"|")+")\\b"}var c=s(o.typeDeclaration),u=RegExp(s(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),d=s(o.typeDeclaration+" "+o.contextual+" "+o.other),p=s(o.type+" "+o.typeDeclaration+" "+o.other),g=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),m=i(/\((?:[^()]|<>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,b=r(/<<0>>(?:\s*<<1>>)?/.source,[h,g]),y=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,b]),S=/\[\s*(?:,\s*)*\]/.source,v=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,S]),x=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[g,m,S]),w=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),C=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,S]),E={keyword:u,punctuation:/[<>()?,.:[\]]/},I=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,T=/"(?:\\.|[^\\"\r\n])*"/.source,_=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,C]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[c,b]),lookbehind:!0,inside:E},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:E},{pattern:a(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:E},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[C,p,h]),inside:E}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:E},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[C,y]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[C]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,g]),inside:{function:a(/^<<0>>/.source,[h]),generic:{pattern:RegExp(g),alias:"class-name",inside:E}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,b,h,C,u.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,m]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(C),greedy:!0,inside:E},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var R=T+"|"+I,$=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[R]),M=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,M]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[M]),inside:n.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var O=/:[^}\r\n]+/.source,k=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),N=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[k,O]),A=i(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[R]),2),L=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[A,O]);function j(F,B){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[F]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[B,O]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:j(N,k)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:j(L,A)}],char:{pattern:RegExp(I),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return pw}var gw,f6;function mje(){if(f6)return gw;f6=1;var e=Rx();gw=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return gw}var mw,p6;function hje(){if(p6)return mw;p6=1,mw=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return mw}var hw,g6;function vje(){if(g6)return hw;g6=1,hw=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return hw}var vw,m6;function bje(){if(m6)return vw;m6=1,vw=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(d,p){return d.replace(/<<(\d+)>>/g,function(g,m){return p[+m]})}function a(d,p,g){return RegExp(r(d,p),g)}var i=/bool|clip|float|int|string|val/.source,o=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),c=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[o,s,c].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return vw}var bw,h6;function yje(){if(h6)return bw;h6=1,bw=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return bw}var yw,v6;function TZ(){if(v6)return yw;v6=1,yw=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=i.variable[1].inside,c=0;c?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return xw}var Sw,y6;function xje(){if(y6)return Sw;y6=1,Sw=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:a,variable:r,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:a,variable:r,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return Sw}var ww,x6;function Sje(){if(x6)return ww;x6=1,ww=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return ww}var Cw,S6;function wje(){if(S6)return Cw;S6=1,Cw=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return Cw}var Ew,w6;function Cje(){if(w6)return Ew;w6=1,Ew=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return Ew}var Iw,C6;function Eje(){if(C6)return Iw;C6=1;var e=vu();Iw=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return Iw}var Tw,E6;function Ije(){if(E6)return Tw;E6=1,Tw=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return Tw}var Rw,I6;function Tje(){if(I6)return Rw;I6=1,Rw=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return Rw}var _w,T6;function Rje(){if(T6)return _w;T6=1,_w=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return _w}var $w,R6;function _je(){if(R6)return $w;R6=1,$w=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return $w}var Ow,_6;function $je(){if(_6)return Ow;_6=1,Ow=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return Ow}var Nw,$6;function Oje(){if($6)return Nw;$6=1,Nw=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return Nw}var kw,O6;function Nje(){if(O6)return kw;O6=1;var e=dA();kw=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return kw}var Aw,N6;function kje(){if(N6)return Aw;N6=1,Aw=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return Aw}var Dw,k6;function Aje(){if(k6)return Dw;k6=1,Dw=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return Dw}var Mw,A6;function Dje(){if(A6)return Mw;A6=1,Mw=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return Mw}var Pw,D6;function Mje(){if(D6)return Pw;D6=1,Pw=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return Pw}var Lw,M6;function Pje(){if(M6)return Lw;M6=1,Lw=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return Lw}var jw,P6;function Lje(){if(P6)return jw;P6=1,jw=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return jw}var Fw,L6;function jje(){if(L6)return Fw;L6=1,Fw=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return Fw}var Bw,j6;function _x(){if(j6)return Bw;j6=1,Bw=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return Bw}var zw,F6;function Fje(){if(F6)return zw;F6=1;var e=_x();zw=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}return zw}var Hw,B6;function Bje(){if(B6)return Hw;B6=1;var e=Rx();Hw=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,i=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(y,S){for(var v=0;v/g,function(){return"(?:"+y+")"});return y.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+i+")").replace(//g,"(?:"+a+")")}var s=o(/\((?:[^()'"@/]|||)*\)/.source,2),c=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),d=o(/<(?:[^<>'"@/]|||)*>/.source,2),p=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,g=/(?!\d)[^\s>\/=$<%]+/.source+p+/\s*\/?>/.source,m=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|"+o(/<\1/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})})(t)}return Vw}var Ww,U6;function Uje(){if(U6)return Ww;U6=1,Ww=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return Ww}var Gw,V6;function Vje(){if(V6)return Gw;V6=1,Gw=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return Gw}var qw,W6;function Wje(){if(W6)return qw;W6=1,qw=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return qw}var Kw,G6;function Gje(){if(G6)return Kw;G6=1,Kw=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return Kw}var Yw,q6;function qje(){if(q6)return Yw;q6=1,Yw=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return Yw}var Xw,K6;function Kje(){if(K6)return Xw;K6=1,Xw=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return Xw}var Zw,Y6;function Yje(){if(Y6)return Zw;Y6=1,Zw=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return Zw}var Qw,X6;function Xje(){if(X6)return Qw;X6=1,Qw=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var i=r[a],o=[];/^\w+$/.test(a)||o.push(/\w+/.exec(a)[0]),a==="diff"&&o.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+i+`].*(?:\r -?| -|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return Qw}var Jw,Z6;function mi(){if(Z6)return Jw;Z6=1,Jw=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,s){if(a.language===i){var c=a.tokenStack=[];a.code=a.code.replace(o,function(u){if(typeof s=="function"&&!s(u))return u;for(var d=c.length,p;a.code.indexOf(p=r(i,d))!==-1;)++d;return c[d]=u,p}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=n.languages[i];var o=0,s=Object.keys(a.tokenStack);function c(u){for(var d=0;d=s.length);d++){var p=u[d];if(typeof p=="string"||p.content&&typeof p.content=="string"){var g=s[o],m=a.tokenStack[g],h=typeof p=="string"?p:p.content,b=r(i,g),y=h.indexOf(b);if(y>-1){++o;var S=h.substring(0,y),v=new n.Token(i,n.tokenize(m,a.grammar),"language-"+i,m),x=h.substring(y+b.length),w=[];S&&w.push.apply(w,c([S])),w.push(v),x&&w.push.apply(w,c([x])),typeof p=="string"?u.splice.apply(u,[d,1].concat(w)):p.content=w}}else p.content&&c(p.content)}return u}c(a.tokens)}}})})(t)}return Jw}var eC,Q6;function Zje(){if(Q6)return eC;Q6=1;var e=mi();eC=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,i=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})}(n)}return eC}var tC,J6;function Qje(){if(J6)return tC;J6=1,tC=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return tC}var nC,eF;function Jje(){if(eF)return nC;eF=1,nC=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),s={pattern:RegExp(i),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(d,p){return d=d.replace(//g,function(){return o}).replace(//g,function(){return a}),RegExp(d,p)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},n.languages.dockerfile=n.languages.docker})(t)}return nC}var rC,tF;function e6e(){if(tF)return rC;tF=1,rC=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function i(o,s){return RegExp(o.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return rC}var aC,nF;function t6e(){if(nF)return aC;nF=1,aC=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return aC}var iC,rF;function n6e(){if(rF)return iC;rF=1,iC=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return iC}var oC,aF;function r6e(){if(aF)return oC;aF=1,oC=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return oC}var sC,iF;function a6e(){if(iF)return sC;iF=1;var e=mi();sC=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var i=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return sC}var lC,oF;function i6e(){if(oF)return lC;oF=1,lC=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return lC}var cC,sF;function o6e(){if(sF)return cC;sF=1,cC=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return cC}var uC,lF;function s6e(){if(lF)return uC;lF=1;var e=_x(),t=mi();uC=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(i){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"erb",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"erb")})}(r)}return uC}var dC,cF;function l6e(){if(cF)return dC;cF=1,dC=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return dC}var fC,uF;function _Z(){if(uF)return fC;uF=1,fC=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return fC}var pC,dF;function c6e(){if(dF)return pC;dF=1;var e=_Z(),t=mi();pC=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(i){var o=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"etlua",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"etlua")})}(r)}return pC}var gC,fF;function u6e(){if(fF)return gC;fF=1,gC=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return gC}var mC,pF;function d6e(){if(pF)return mC;pF=1,mC=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},o=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(d){return new RegExp("(^|\\s)(?:"+d.map(o).join("|")+")(?=\\s|$)")},c={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(c).forEach(function(d){i[d].pattern=s(c[d])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=s(u),n.languages.factor=i})(t)}return mC}var hC,gF;function f6e(){if(gF)return hC;gF=1,hC=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return vC}var bC,hF;function g6e(){if(hF)return bC;hF=1,bC=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return bC}var yC,vF;function m6e(){if(vF)return yC;vF=1,yC=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return yC}var xC,bF;function h6e(){if(bF)return xC;bF=1,xC=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return xC}var SC,yF;function v6e(){if(yF)return SC;yF=1;var e=mi();SC=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(s){var c=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",c)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return SC}var wC,xF;function b6e(){if(xF)return wC;xF=1,wC=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return wC}var CC,SF;function y6e(){if(SF)return CC;SF=1,CC=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return CC}var EC,wF;function x6e(){if(wF)return EC;wF=1,EC=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return EC}var IC,CF;function S6e(){if(CF)return IC;CF=1,IC=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return IC}var TC,EF;function w6e(){if(EF)return TC;EF=1,TC=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return TC}var RC,IF;function C6e(){if(IF)return RC;IF=1,RC=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return RC}var _C,TF;function E6e(){if(TF)return _C;TF=1;var e=vu();_C=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return _C}var $C,RF;function I6e(){if(RF)return $C;RF=1,$C=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return $C}var OC,_F;function T6e(){if(_F)return OC;_F=1,OC=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return OC}var NC,$F;function R6e(){if($F)return NC;$F=1,NC=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return NC}var kC,OF;function _6e(){if(OF)return kC;OF=1,kC=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return kC}var AC,NF;function $6e(){if(NF)return AC;NF=1,AC=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(S){return typeof S!="string"&&S.type!=="comment"&&S.type!=="scalar"}),i=0;function o(S){return a[i+S]}function s(S,v){v=v||0;for(var x=0;x0)){var h=c(/^\{$/,/^\}$/);if(h===-1)continue;for(var b=i;b=0&&u(y,"variable-input")}}}}})}return AC}var DC,kF;function O6e(){if(kF)return DC;kF=1,DC=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return DC}var MC,AF;function N6e(){if(AF)return MC;AF=1;var e=_x();MC=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,c=i.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var i=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return PC}var LC,MF;function fA(){if(MF)return LC;MF=1,LC=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return LC}var jC,PF;function A6e(){if(PF)return jC;PF=1,jC=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return jC}var FC,LF;function D6e(){if(LF)return FC;LF=1,FC=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return FC}var BC,jF;function M6e(){if(jF)return BC;jF=1;var e=vu();BC=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return BC}var zC,FF;function P6e(){if(FF)return zC;FF=1,zC=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return zC}var HC,BF;function L6e(){if(BF)return HC;BF=1,HC=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return HC}var UC,zF;function j6e(){if(zF)return UC;zF=1,UC=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return UC}var VC,HF;function F6e(){if(HF)return VC;HF=1,VC=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(p){return RegExp("(^(?:"+p+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,i={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},o={"application/json":!0,"application/xml":!0};function s(p){var g=p.replace(/^[a-z]+\//,""),m="\\w+/(?:[\\w.-]+\\+)+"+g+"(?![+\\w.-])";return"(?:"+p+"|"+m+")"}var c;for(var u in i)if(i[u]){c=c||{};var d=o[u]?s(u):u;c[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[u]}}c&&n.languages.insertBefore("http","header",c)})(t)}return VC}var WC,UF;function B6e(){if(UF)return WC;UF=1,WC=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return WC}var GC,VF;function z6e(){if(VF)return GC;VF=1,GC=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return GC}var qC,WF;function H6e(){if(WF)return qC;WF=1,qC=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,d){return d<=0?/[]/.source:u.replace(//g,function(){return r(u,d-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:a,greedy:!0,inside:{escape:i}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),c={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":c,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":c,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:o},c.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return qC}var KC,GF;function U6e(){if(GF)return KC;GF=1;var e=fA();KC=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return KC}var YC,qF;function V6e(){if(qF)return YC;qF=1,YC=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return YC}var XC,KF;function W6e(){if(KF)return XC;KF=1,XC=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return XC}var ZC,YF;function G6e(){if(YF)return ZC;YF=1,ZC=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return ZC}var QC,XF;function q6e(){if(XF)return QC;XF=1,QC=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return QC}var JC,ZF;function K6e(){if(ZF)return JC;ZF=1,JC=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return eE}var tE,JF;function pA(){if(JF)return tE;JF=1,tE=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return tE}var nE,e8;function $x(){if(e8)return nE;e8=1,nE=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(o,s){var c="doc-comment",u=n.languages[o];if(u){var d=u[c];if(!d){var p={};p[c]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(o,"comment",p),d=u[c]}if(d instanceof RegExp&&(d=u[c]={pattern:d}),Array.isArray(d))for(var g=0,m=d.length;g)?|/.source.replace(//g,function(){return o});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:i,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:i,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)}(r)}return rE}var aE,n8;function Z6e(){if(n8)return aE;n8=1,aE=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return aE}var iE,r8;function Q6e(){if(r8)return iE;r8=1,iE=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return iE}var oE,a8;function J6e(){if(a8)return oE;a8=1,oE=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return oE}var sE,i8;function eFe(){if(i8)return sE;i8=1,sE=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:a,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=o})(t)}return sE}var lE,o8;function tFe(){if(o8)return lE;o8=1,lE=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(u,d){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var a=["function","function-variable","method","method-variable","property-access"],i=0;i=I.length)return;var $=_[R];if(typeof $=="string"||typeof $.content=="string"){var M=I[x],P=typeof $=="string"?$:$.content,D=P.indexOf(M);if(D!==-1){++x;var O=P.substring(0,D),k=p(w[M]),N=P.substring(D+M.length),A=[];if(O&&A.push(O),A.push(k),N){var L=[N];T(L),A.push.apply(A,L)}typeof $=="string"?(_.splice.apply(_,[R,1].concat(A)),R+=A.length-1):$.content=A}}else{var j=$.content;Array.isArray(j)?T(j):T([j])}}}return T(E),new n.Token(S,E,"language-"+S,b)}var m={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(b){if(!(b.language in m))return;function y(S){for(var v=0,x=S.length;v]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return uE}var dE,c8;function rFe(){if(c8)return dE;c8=1;var e=$x(),t=gA();dE=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:i,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(r)}return dE}var fE,u8;function mA(){if(u8)return fE;u8=1,fE=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return fE}var pE,d8;function aFe(){if(d8)return pE;d8=1;var e=mA();pE=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return pE}var gE,f8;function iFe(){if(f8)return gE;f8=1;var e=mA();gE=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return gE}var mE,p8;function oFe(){if(p8)return mE;p8=1,mE=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return mE}var hE,g8;function $Z(){if(g8)return hE;g8=1,hE=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(d,p){return d=d.replace(//g,function(){return a}).replace(//g,function(){return i}).replace(//g,function(){return o}),RegExp(d,p)}o=s(o).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var c=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(c).join(""):""},u=function(d){for(var p=[],g=0;g0&&p[p.length-1].tagName===c(m.content[0].content[1])&&p.pop():m.content[m.content.length-1].content==="/>"||p.push({tagName:c(m.content[0].content[1]),openedBraces:0}):p.length>0&&m.type==="punctuation"&&m.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?p[p.length-1].openedBraces--:h=!0),(h||typeof m=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var b=c(m);g0&&(typeof d[g-1]=="string"||d[g-1].type==="plain-text")&&(b=c(d[g-1])+b,d.splice(g-1,1),g--),d[g]=new n.Token("plain-text",b,null,b)}m.content&&typeof m.content!="string"&&u(m.content)}};n.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return hE}var vE,m8;function sFe(){if(m8)return vE;m8=1,vE=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return vE}var bE,h8;function lFe(){if(h8)return bE;h8=1,bE=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return bE}var yE,v8;function cFe(){if(v8)return yE;v8=1,yE=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return yE}var xE,b8;function uFe(){if(b8)return xE;b8=1,xE=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return xE}var SE,y8;function dFe(){if(y8)return SE;y8=1,SE=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(i,o){return RegExp(i.replace(//g,r),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return SE}var wE,x8;function fFe(){if(x8)return wE;x8=1,wE=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return wE}var CE,S8;function pFe(){if(S8)return CE;S8=1,CE=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return CE}var EE,w8;function Ox(){if(w8)return EE;w8=1;var e=mi();EE=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:c};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},d=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:d,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:d,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,number:o,operator:s,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(p){if(/<\?/.test(p.code)){var g=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(p,"php",g)}}),r.hooks.add("after-tokenize",function(p){r.languages["markup-templating"].tokenizePlaceholders(p,"php")})}(n)}return EE}var IE,C8;function gFe(){if(C8)return IE;C8=1;var e=mi(),t=Ox();IE=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var i=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},i.tag),a.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(o,"latte",s),o.grammar=i}}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"latte")})}(r)}return IE}var TE,E8;function mFe(){if(E8)return TE;E8=1,TE=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return TE}var RE,I8;function hA(){if(I8)return RE;I8=1,RE=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var i in a)a[i]=a[i].replace(/<[\w\s]+>/g,function(o){return"(?:"+a[o].trim()+")"});return a[i]}})(t)}return RE}var _E,T8;function hFe(){if(T8)return _E;T8=1;var e=hA();_E=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,i=5,o=0;o/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return _E}var $E,R8;function vFe(){if(R8)return $E;R8=1;var e=mi();$E=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,i=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var c=s[1];if(c==="raw"&&!i)return i=!0,!0;if(c==="endraw")return i=!1,!0}return!i})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return $E}var OE,_8;function bFe(){if(_8)return OE;_8=1,OE=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(b){return RegExp(/(\()/.source+"(?:"+b+")"+/(?=[\s\)])/.source)}function a(b){return RegExp(/([\s([])/.source+"(?:"+b+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+i,s="(\\()",c="(?=\\))",u="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},g={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+d+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:p},m="\\S+(?:\\s+\\S+)*",h={pattern:RegExp(s+d+c),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+m),inside:g},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+m),inside:g},keys:{pattern:RegExp("&key\\s+"+m+"(?:\\s+&allow-other-keys)?"),inside:g},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=h,p.defun.inside.arguments=n.util.clone(h),p.defun.inside.arguments.inside.sublist=h,n.languages.lisp=p,n.languages.elisp=p,n.languages.emacs=p,n.languages["emacs-lisp"]=p})(t)}return OE}var NE,$8;function yFe(){if($8)return NE;$8=1,NE=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return NE}var kE,O8;function xFe(){if(O8)return kE;O8=1,kE=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return kE}var AE,N8;function SFe(){if(N8)return AE;N8=1,AE=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return AE}var DE,k8;function wFe(){if(k8)return DE;k8=1,DE=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return DE}var ME,A8;function CFe(){if(A8)return ME;A8=1,ME=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return ME}var PE,D8;function EFe(){if(D8)return PE;D8=1,PE=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return PE}var LE,M8;function IFe(){if(M8)return LE;M8=1,LE=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(g){return g=g.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+g+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+s+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+s+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(g){["url","bold","italic","strike","code-snippet"].forEach(function(m){g!==m&&(n.languages.markdown[g].inside.content.inside[m]=n.languages.markdown[m])})}),n.hooks.add("after-tokenize",function(g){if(g.language!=="markdown"&&g.language!=="md")return;function m(h){if(!(!h||typeof h=="string"))for(var b=0,y=h.length;b",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function p(g){var m=g.replace(c,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(h,b){if(b=b.toLowerCase(),b[0]==="#"){var y;return b[1]==="x"?y=parseInt(b.slice(2),16):y=Number(b.slice(1)),d(y)}else{var S=u[b];return S||h}}),m}n.languages.md=n.languages.markdown})(t)}return LE}var jE,P8;function TFe(){if(P8)return jE;P8=1,jE=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return jE}var FE,L8;function RFe(){if(L8)return FE;L8=1,FE=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return FE}var BE,j8;function _Fe(){if(j8)return BE;j8=1,BE=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return BE}var zE,F8;function $Fe(){if(F8)return zE;F8=1,zE=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return zE}var HE,B8;function OFe(){if(B8)return HE;B8=1,HE=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return HE}var UE,z8;function NFe(){if(z8)return UE;z8=1,UE=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(o){return o.replace("$","\\$")});var i="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return UE}var VE,H8;function kFe(){if(H8)return VE;H8=1,VE=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return VE}var WE,U8;function AFe(){if(U8)return WE;U8=1,WE=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return WE}var GE,V8;function DFe(){if(V8)return GE;V8=1,GE=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return GE}var qE,W8;function MFe(){if(W8)return qE;W8=1,qE=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return qE}var KE,G8;function PFe(){if(G8)return KE;G8=1,KE=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return KE}var YE,q8;function LFe(){if(q8)return YE;q8=1,YE=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var c=s.tokens;c.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var d=o(u);i(d)||(u.type="bad-line",u.content=d)}})});function i(s){for(var c="[]{}",u=[],d=0;d=&|$!]/}}return XE}var ZE,Y8;function FFe(){if(Y8)return ZE;Y8=1,ZE=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return ZE}var QE,X8;function BFe(){if(X8)return QE;X8=1,QE=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return QE}var JE,Z8;function zFe(){if(Z8)return JE;Z8=1,JE=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return JE}var e2,Q8;function HFe(){if(Q8)return e2;Q8=1,e2=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return e2}var t2,J8;function UFe(){if(J8)return t2;J8=1,t2=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return t2}var n2,eB;function VFe(){if(eB)return n2;eB=1,n2=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return n2}var r2,tB;function WFe(){if(tB)return r2;tB=1;var e=vu();r2=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return r2}var a2,nB;function GFe(){if(nB)return a2;nB=1,a2=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return a2}var i2,rB;function qFe(){if(rB)return i2;rB=1;var e=vu();i2=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))}(n)}return i2}var o2,aB;function KFe(){if(aB)return o2;aB=1,o2=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return o2}var s2,iB;function YFe(){if(iB)return s2;iB=1,s2=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return s2}var l2,oB;function XFe(){if(oB)return l2;oB=1,l2=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return l2}var c2,sB;function ZFe(){if(sB)return c2;sB=1,c2=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return c2}var u2,lB;function QFe(){if(lB)return u2;lB=1,u2=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return u2}var d2,cB;function JFe(){if(cB)return d2;cB=1,d2=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),i=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,c){return s[c]=i[c],s},{});i["class-name"].forEach(function(s){s.inside=o})})(t)}return d2}var f2,uB;function e8e(){if(uB)return f2;uB=1,f2=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return f2}var p2,dB;function t8e(){if(dB)return p2;dB=1,p2=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return p2}var g2,fB;function n8e(){if(fB)return g2;fB=1,g2=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return g2}var m2,pB;function r8e(){if(pB)return m2;pB=1;var e=Ox();m2=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return m2}var h2,gB;function a8e(){if(gB)return h2;gB=1;var e=Ox(),t=$x();h2=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+i+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+i),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)}(r)}return h2}var v2,mB;function i8e(){if(mB)return v2;mB=1;var e=uA();v2=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return v2}var b2,hB;function o8e(){if(hB)return b2;hB=1,b2=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return b2}var y2,vB;function s8e(){if(vB)return y2;vB=1,y2=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return y2}var x2,bB;function l8e(){if(bB)return x2;bB=1,x2=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return x2}var S2,yB;function c8e(){if(yB)return S2;yB=1,S2=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return S2}var w2,xB;function u8e(){if(xB)return w2;xB=1,w2=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],i=["offset"],o=r.concat(a,i);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+o.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return w2}var C2,SB;function d8e(){if(SB)return C2;SB=1,C2=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return C2}var E2,wB;function f8e(){if(wB)return E2;wB=1,E2=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return E2}var I2,CB;function p8e(){if(CB)return I2;CB=1,I2=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return I2}var T2,EB;function g8e(){if(EB)return T2;EB=1,T2=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},o=0,s=a.length;o",function(){return c.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[c.language,"language-"+c.language],inside:n.languages[c.language]}}})}n.languages.insertBefore("pug","filter",i)})(t)}return T2}var R2,IB;function m8e(){if(IB)return R2;IB=1,R2=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return R2}var _2,TB;function h8e(){if(TB)return _2;TB=1,_2=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(i){var o=i;if(typeof i!="string"&&(o=i.alias,i=i.lang),n.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(a.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return _2}var $2,RB;function v8e(){if(RB)return $2;RB=1,$2=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return $2}var O2,_B;function b8e(){if(_B)return O2;_B=1;var e=fA();O2=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return O2}var N2,$B;function y8e(){if($B)return N2;$B=1,N2=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return N2}var k2,OB;function x8e(){if(OB)return k2;OB=1,k2=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return k2}var A2,NB;function S8e(){if(NB)return A2;NB=1,A2=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return A2}var D2,kB;function w8e(){if(kB)return D2;kB=1,D2=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return D2}var M2,AB;function C8e(){if(AB)return M2;AB=1,M2=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(h,b){return h.replace(/<<(\d+)>>/g,function(y,S){return"(?:"+b[+S]+")"})}function a(h,b,y){return RegExp(r(h,b),"")}function i(h,b){for(var y=0;y>/g,function(){return"(?:"+h+")"});return h.replace(/<>/g,"[^\\s\\S]")}var o={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(h){return"\\b(?:"+h.trim().replace(/ /g,"|")+")\\b"}var c=RegExp(s(o.type+" "+o.other)),u=/\b[A-Za-z_]\w*\b/.source,d=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),p={keyword:c,punctuation:/[<>()?,.:[\]]/},g=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[g]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:p},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:p}],keyword:c,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var m=i(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[g]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[m]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[m]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return M2}var P2,DB;function E8e(){if(DB)return P2;DB=1,P2=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return P2}var L2,MB;function I8e(){if(MB)return L2;MB=1;var e=hA();L2=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return L2}var j2,PB;function T8e(){if(PB)return j2;PB=1,j2=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return j2}var F2,LB;function R8e(){if(LB)return F2;LB=1,F2=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",c=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:a}},"special-escape":r,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return B2}var z2,FB;function $8e(){if(FB)return z2;FB=1,z2=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return z2}var H2,BB;function O8e(){if(BB)return H2;BB=1,H2=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return H2}var U2,zB;function N8e(){if(zB)return U2;zB=1,U2=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return U2}var V2,HB;function k8e(){if(HB)return V2;HB=1,V2=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return V2}var W2,UB;function A8e(){if(UB)return W2;UB=1,W2=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(u,d){var p={};p["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var g in d)p[g]=d[g];return p.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},p.variable=a,p.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:p}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},c={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":s,documentation:o,property:c}),keywords:i("Keywords",{"keyword-name":s,documentation:o,property:c}),tasks:i("Tasks",{"task-name":s,documentation:o,property:c}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return W2}var G2,VB;function D8e(){if(VB)return G2;VB=1,G2=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return G2}var q2,WB;function M8e(){if(WB)return q2;WB=1,q2=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(r+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},c={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={pattern:RegExp(r),greedy:!0},p=/[$%@.(){}\[\];,\\]/,g={pattern:/%?\b\w+(?=\()/,alias:"keyword"},m={function:g,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,string:d},h={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},b={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},y={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},S={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},v=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,x={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return v}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return v}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:g,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:a,"numeric-constant":i,punctuation:p,string:d}},w={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":y,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:w,"submit-statement":S,"global-statements":y,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:w,"submit-statement":S,"global-statements":y,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:m}},"cas-actions":x,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:c,keyword:w,function:g,format:h,altformat:b,"global-statements":y,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:m},"macro-keyword":s,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:p}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:a,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":x,comment:u,function:g,format:h,altformat:b,"numeric-constant":i,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:c,keyword:w,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:p}})(t)}return q2}var K2,GB;function P8e(){if(GB)return K2;GB=1,K2=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return K2}var Y2,qB;function L8e(){if(qB)return Y2;qB=1;var e=pA();Y2=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return Y2}var X2,KB;function j8e(){if(KB)return X2;KB=1,X2=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return X2}var Z2,YB;function F8e(){if(YB)return Z2;YB=1;var e=TZ();Z2=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return Z2}var Q2,XB;function B8e(){if(XB)return Q2;XB=1,Q2=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return Q2}var J2,ZB;function z8e(){if(ZB)return J2;ZB=1,J2=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return J2}var eI,QB;function H8e(){if(QB)return eI;QB=1;var e=mi();eI=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,i=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(o){var s="{literal}",c="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",i,function(d){return d===c&&(u=!1),u?!1:(d===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})}(n)}return eI}var tI,JB;function U8e(){if(JB)return tI;JB=1,tI=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return tI}var nI,e5;function V8e(){if(e5)return nI;e5=1,nI=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return nI}var rI,t5;function W8e(){if(t5)return rI;t5=1,rI=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return rI}var aI,n5;function G8e(){if(n5)return aI;n5=1;var e=mi();aI=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,i=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:i,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:i,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,c="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(p){return p===u&&(d=!1),d?!1:(p===c&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})}(n)}return aI}var iI,r5;function OZ(){if(r5)return iI;r5=1,iI=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return iI}var oI,a5;function q8e(){if(a5)return oI;a5=1;var e=OZ();oI=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return oI}var sI,i5;function K8e(){if(i5)return sI;i5=1,sI=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return sI}var lI,o5;function Y8e(){if(o5)return lI;o5=1,lI=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return lI}var cI,s5;function X8e(){if(s5)return cI;s5=1,cI=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return cI}var uI,l5;function Z8e(){if(l5)return uI;l5=1,uI=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return uI}var dI,c5;function Q8e(){if(c5)return dI;c5=1,dI=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return dI}var fI,u5;function J8e(){if(u5)return fI;u5=1,fI=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return fI}var pI,d5;function eBe(){if(d5)return pI;d5=1,pI=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return pI}var gI,f5;function vA(){if(f5)return gI;f5=1,gI=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(i,o,s){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function a(i){var o=n.languages[i],s="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,s),"class-feature":r("\\+",o,s),standard:r("",o,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return gI}var mI,p5;function tBe(){if(p5)return mI;p5=1;var e=vA(),t=Rx();mI=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return mI}var hI,g5;function NZ(){if(g5)return hI;g5=1;var e=RZ();hI=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return hI}var vI,m5;function nBe(){if(m5)return vI;m5=1;var e=vA(),t=NZ();vI=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return vI}var bI,h5;function kZ(){if(h5)return bI;h5=1,bI=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(u,d){d=(d||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return u});return RegExp(p,d)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(s),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return bI}var yI,v5;function rBe(){if(v5)return yI;v5=1;var e=kZ();yI=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return yI}var xI,b5;function aBe(){if(b5)return xI;b5=1,xI=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return xI}var SI,y5;function iBe(){if(y5)return SI;y5=1,SI=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function i(g,m){return RegExp(g.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),m||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),c=s.phrase.inside,u={inline:c.inline,link:c.link,image:c.image,footnote:c.footnote,acronym:c.acronym,mark:c.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=c.inline.inside;d.bold.inside=u,d.italic.inside=u,d.inserted.inside=u,d.deleted.inside=u,d.span.inside=u;var p=c.table.inside;p.inline=u.inline,p.link=u.link,p.image=u.image,p.footnote=u.footnote,p.acronym=u.acronym,p.mark=u.mark})(t)}return SI}var wI,x5;function oBe(){if(x5)return wI;x5=1,wI=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(i){return i.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return wI}var CI,S5;function sBe(){if(S5)return CI;S5=1,CI=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return CI}var EI,w5;function lBe(){if(w5)return EI;w5=1;var e=$Z(),t=gA();EI=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",i),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var o=a.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(r)}return EI}var II,C5;function cBe(){if(C5)return II;C5=1;var e=mi();II=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var i=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}return II}var TI,E5;function uBe(){if(E5)return TI;E5=1;var e=mi();TI=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return TI}var RI,I5;function dBe(){if(I5)return RI;I5=1,RI=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return RI}var _I,T5;function fBe(){if(T5)return _I;T5=1,_I=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return _I}var $I,R5;function pBe(){if(R5)return $I;R5=1,$I=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return $I}var OI,_5;function gBe(){if(_5)return OI;_5=1,OI=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return OI}var NI,$5;function mBe(){if($5)return NI;$5=1,NI=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return NI}var kI,O5;function hBe(){if(O5)return kI;O5=1,kI=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return kI}var AI,N5;function vBe(){if(N5)return AI;N5=1,AI=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return AI}var DI,k5;function bBe(){if(k5)return DI;k5=1,DI=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return DI}var MI,A5;function yBe(){if(A5)return MI;A5=1,MI=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return MI}var PI,D5;function xBe(){if(D5)return PI;D5=1,PI=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return PI}var LI,M5;function SBe(){if(M5)return LI;M5=1,LI=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return LI}var jI,P5;function wBe(){if(P5)return jI;P5=1,jI=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return jI}var FI,L5;function CBe(){if(L5)return FI;L5=1,FI=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return FI}var BI,j5;function EBe(){if(j5)return BI;j5=1,BI=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(i[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return BI}var zI,F5;function IBe(){if(F5)return zI;F5=1,zI=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return zI}var HI,B5;function TBe(){if(B5)return HI;B5=1,HI=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return HI}var UI,z5;function RBe(){if(z5)return UI;z5=1,UI=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return UI}var VI,H5;function _Be(){if(H5)return VI;H5=1,VI=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return VI}var WI,U5;function $Be(){if(U5)return WI;U5=1,WI=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,c){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":c})}var a=n.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",i),r("fsharp",i),r("vbnet",o)})(t)}return WI}var GI,V5;function OBe(){if(V5)return GI;V5=1,GI=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return GI}var qI,W5;function NBe(){if(W5)return qI;W5=1,qI=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(r).join("")},a=function(i){for(var o=[],s=0;s0&&o[o.length-1].tagName===r(c.content[0].content[1])&&o.pop():c.content[c.content.length-1].content==="/>"||o.push({tagName:r(c.content[0].content[1]),openedBraces:0}):o.length>0&&c.type==="punctuation"&&c.content==="{"&&(!i[s+1]||i[s+1].type!=="punctuation"||i[s+1].content!=="{")&&(!i[s-1]||i[s-1].type!=="plain-text"||i[s-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&c.type==="punctuation"&&c.content==="}"?o[o.length-1].openedBraces--:c.type!=="comment"&&(u=!0)),(u||typeof c=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var d=r(c);s0&&(typeof i[s-1]=="string"||i[s-1].type==="plain-text")&&(d=r(i[s-1])+d,i.splice(s-1,1),s--),/^\s+$/.test(d)?i[s]=d:i[s]=new n.Token("plain-text",d,null,d)}c.content&&typeof c.content!="string"&&a(c.content)}};n.hooks.add("after-tokenize",function(i){i.language==="xquery"&&a(i.tokens)})})(t)}return qI}var KI,G5;function kBe(){if(G5)return KI;G5=1,KI=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return KI}var YI,q5;function ABe(){if(q5)return YI;q5=1,YI=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(d){return function(){return d}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+a.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),c=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(i)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+c+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(d){d.inside===null&&(d.inside=n.languages.zig)})})(t)}return YI}var ye=zLe,DBe=ye;ye.register(QLe());ye.register(JLe());ye.register(eje());ye.register(tje());ye.register(nje());ye.register(rje());ye.register(aje());ye.register(ije());ye.register(oje());ye.register(sje());ye.register(lje());ye.register(cje());ye.register(uje());ye.register(dje());ye.register(fje());ye.register(pje());ye.register(gje());ye.register(mje());ye.register(hje());ye.register(vje());ye.register(bje());ye.register(yje());ye.register(TZ());ye.register(RZ());ye.register(xje());ye.register(Sje());ye.register(wje());ye.register(Cje());ye.register(Eje());ye.register(Ije());ye.register(Tje());ye.register(Rje());ye.register(_je());ye.register($je());ye.register(vu());ye.register(Oje());ye.register(Nje());ye.register(kje());ye.register(Aje());ye.register(Dje());ye.register(Mje());ye.register(Pje());ye.register(Lje());ye.register(jje());ye.register(dA());ye.register(Fje());ye.register(Rx());ye.register(Bje());ye.register(zje());ye.register(Hje());ye.register(Uje());ye.register(Vje());ye.register(Wje());ye.register(Gje());ye.register(qje());ye.register(Kje());ye.register(Yje());ye.register(Xje());ye.register(Zje());ye.register(Qje());ye.register(Jje());ye.register(e6e());ye.register(t6e());ye.register(n6e());ye.register(r6e());ye.register(a6e());ye.register(i6e());ye.register(o6e());ye.register(s6e());ye.register(l6e());ye.register(c6e());ye.register(u6e());ye.register(d6e());ye.register(f6e());ye.register(p6e());ye.register(g6e());ye.register(m6e());ye.register(h6e());ye.register(v6e());ye.register(b6e());ye.register(y6e());ye.register(x6e());ye.register(S6e());ye.register(w6e());ye.register(C6e());ye.register(E6e());ye.register(I6e());ye.register(T6e());ye.register(R6e());ye.register(_6e());ye.register($6e());ye.register(O6e());ye.register(N6e());ye.register(k6e());ye.register(fA());ye.register(A6e());ye.register(D6e());ye.register(M6e());ye.register(P6e());ye.register(L6e());ye.register(j6e());ye.register(F6e());ye.register(B6e());ye.register(z6e());ye.register(H6e());ye.register(U6e());ye.register(V6e());ye.register(W6e());ye.register(G6e());ye.register(q6e());ye.register(K6e());ye.register(Y6e());ye.register(pA());ye.register(X6e());ye.register($x());ye.register(Z6e());ye.register(Q6e());ye.register(J6e());ye.register(eFe());ye.register(tFe());ye.register(nFe());ye.register(rFe());ye.register(mA());ye.register(aFe());ye.register(iFe());ye.register(oFe());ye.register($Z());ye.register(sFe());ye.register(lFe());ye.register(cFe());ye.register(uFe());ye.register(dFe());ye.register(fFe());ye.register(pFe());ye.register(gFe());ye.register(mFe());ye.register(hFe());ye.register(vFe());ye.register(bFe());ye.register(yFe());ye.register(xFe());ye.register(SFe());ye.register(wFe());ye.register(_Z());ye.register(CFe());ye.register(EFe());ye.register(IFe());ye.register(mi());ye.register(TFe());ye.register(RFe());ye.register(_Fe());ye.register($Fe());ye.register(OFe());ye.register(NFe());ye.register(kFe());ye.register(AFe());ye.register(DFe());ye.register(MFe());ye.register(PFe());ye.register(LFe());ye.register(jFe());ye.register(FFe());ye.register(BFe());ye.register(zFe());ye.register(HFe());ye.register(UFe());ye.register(VFe());ye.register(WFe());ye.register(GFe());ye.register(qFe());ye.register(KFe());ye.register(YFe());ye.register(XFe());ye.register(ZFe());ye.register(QFe());ye.register(JFe());ye.register(e8e());ye.register(t8e());ye.register(n8e());ye.register(r8e());ye.register(Ox());ye.register(a8e());ye.register(i8e());ye.register(o8e());ye.register(s8e());ye.register(l8e());ye.register(c8e());ye.register(u8e());ye.register(d8e());ye.register(f8e());ye.register(p8e());ye.register(g8e());ye.register(m8e());ye.register(h8e());ye.register(v8e());ye.register(b8e());ye.register(y8e());ye.register(x8e());ye.register(S8e());ye.register(w8e());ye.register(C8e());ye.register(E8e());ye.register(I8e());ye.register(T8e());ye.register(R8e());ye.register(_8e());ye.register($8e());ye.register(O8e());ye.register(N8e());ye.register(k8e());ye.register(A8e());ye.register(_x());ye.register(D8e());ye.register(M8e());ye.register(P8e());ye.register(L8e());ye.register(hA());ye.register(j8e());ye.register(F8e());ye.register(B8e());ye.register(z8e());ye.register(H8e());ye.register(U8e());ye.register(V8e());ye.register(W8e());ye.register(G8e());ye.register(q8e());ye.register(K8e());ye.register(Y8e());ye.register(uA());ye.register(X8e());ye.register(Z8e());ye.register(Q8e());ye.register(J8e());ye.register(eBe());ye.register(tBe());ye.register(vA());ye.register(nBe());ye.register(rBe());ye.register(aBe());ye.register(iBe());ye.register(oBe());ye.register(sBe());ye.register(lBe());ye.register(cBe());ye.register(OZ());ye.register(uBe());ye.register(gA());ye.register(dBe());ye.register(fBe());ye.register(pBe());ye.register(gBe());ye.register(mBe());ye.register(hBe());ye.register(NZ());ye.register(vBe());ye.register(bBe());ye.register(yBe());ye.register(xBe());ye.register(SBe());ye.register(wBe());ye.register(CBe());ye.register(EBe());ye.register(IBe());ye.register(TBe());ye.register(RBe());ye.register(_Be());ye.register($Be());ye.register(OBe());ye.register(NBe());ye.register(kZ());ye.register(kBe());ye.register(ABe());const MBe=Za(DBe);var bA=$De(MBe,ZLe);bA.supportedLanguages=kDe;const AZ={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},DZ={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},{useToken:PBe}=Ar,mn=({language:e,code:t,showLineNumbers:n=!0})=>{const{t:r}=Nt(),{token:a}=PBe(),[i,o]=l.useState(""),[s,c]=l.useState(!1),u=l.useRef(null);l.useEffect(()=>{c(window.isSecureContext)},[]);const d=()=>{navigator.clipboard.writeText(t).then(()=>{o(r("utils.copied")),setTimeout(()=>o(""),2e3)})},p=()=>{if(u.current){u.current.select();try{document.execCommand("copy"),o(r("utils.copied")),setTimeout(()=>o(""),2e3)}catch{o(r("utils.failedToCopied"))}}};return f.jsxs("div",{style:{position:"relative"},children:[f.jsx(bA,{language:e,style:Ns()==="dark"?AZ:DZ,customStyle:{padding:"0.5rem",borderRadius:"8px",margin:"0.5rem 0",border:"1px solid",borderColor:a.colorBorderSecondary},showLineNumbers:n,lineNumberStyle:{minWidth:"2rem",textAlign:"right",paddingRight:"1rem"},wrapLines:!0,lineProps:{style:{whiteSpace:"pre-wrap"}},children:t}),!s&&f.jsx("textarea",{ref:u,value:t,readOnly:!0,style:{position:"absolute",left:"-9999px",opacity:0}}),i?null:f.jsx(Ft,{title:r("utils.copyToClipboard"),children:f.jsx("button",{onClick:s?d:p,style:{position:"absolute",top:"10px",right:"10px",border:"none",background:"transparent",cursor:"pointer"},children:f.jsx(fx,{style:{color:a.colorText}})})}),i&&f.jsxs("span",{style:{position:"absolute",top:"10px",right:"10px",border:"none",background:"transparent",color:a.colorSuccess,fontSize:"small"},children:[f.jsx($f,{})," ",i]})]})};new Mn(On());const MZ=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:i,hash:o})=>{const{t:s}=Nt();Qn();const[c]=Kt.useForm();l.useEffect(()=>{e&&g(),e&&a&&c.setFieldsValue({series:a.tonieInfo.series,episodes:a.tonieInfo.episode,model:a.tonieInfo.model,language:a.tonieInfo.language,pic:a.tonieInfo.picture,tracks:a.tonieInfo.tracks})},[e,a,c]);const u=async w=>{if(w.tracks&&(w.tracks=w.tracks.filter(C=>C.track&&C.track.trim()).map(C=>C.track)),w.audio_id){w.audio_id=w.audio_id.filter(I=>I.audio_id&&I.audio_id.trim()&&I.hash&&I.hash.trim());const C=w.audio_id.map(I=>I.audio_id),E=w.audio_id.map(I=>I.hash);w={no:w.no,model:w.model,audio_id:C,hash:E,title:w.title,series:w.series,episodes:w.episodes,tracks:w.tracks,release:w.release,language:w.language,category:w.category,pic:w.pic}}h(w),y(!0)},d=()=>{c.submit()},p=()=>{g(),t()},g=()=>{c.resetFields(),c.setFieldsValue({audio_id:[{audio_id:i||"",hash:o||""}],tracks:[{track:""}]})},[m,h]=l.useState(""),[b,y]=l.useState(!1),S=f.jsx(tt,{type:"primary",onClick:()=>v(),children:s("tonies.informationModal.ok")}),v=()=>{y(!1),p()},x=f.jsx(_n,{footer:S,width:1e3,title:"File (you can copy the content to the tonies.custom.json)",open:b,onCancel:v,children:m?f.jsxs(f.Fragment,{children:[f.jsx(mn,{language:"json",code:JSON.stringify(m,null,2)},"json-readable"),f.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),f.jsx(mn,{language:"json",showLineNumbers:!1,code:JSON.stringify(m,null,0)},"json-minimized")]}):"Loading..."});return f.jsxs(f.Fragment,{children:[f.jsxs(_n,{title:s("tonies.addNewCustomTonieModal.title"),open:e,onCancel:p,onOk:d,okText:s("tonies.addNewCustomTonieModal.save"),width:Math.max(Math.min(window.innerWidth*.75,800),500),children:[f.jsx(wn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json fragment is displayed when saving the new model. This is not automatically inserted into the tonies.custom.json. You have to copy this into the file yourself.",style:{marginBottom:8}}),f.jsx(Kt,{form:c,layout:"vertical",onFinish:u,children:f.jsxs(da,{gutter:[16,0],children:[f.jsx(En,{span:24,children:f.jsxs(da,{gutter:[16,0],children:[f.jsx(En,{span:8,children:f.jsx(Kt.Item,{label:[s("tonies.addNewCustomTonieModal.series"),f.jsx(Ft,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:f.jsx(no,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:f.jsx(tn,{style:{width:"100%"}})},"series")}),f.jsx(En,{span:10,children:f.jsx(Kt.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),f.jsx(Ft,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:f.jsx(no,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:f.jsx(tn,{style:{width:"100%"}})},"episodes")}),f.jsx(En,{span:6,children:f.jsx(Kt.Item,{label:[s("tonies.addNewCustomTonieModal.language"),f.jsx(Ft,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:f.jsx(no,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:f.jsx(tn,{style:{width:"100%"}})},"language")})]})}),f.jsx(En,{span:24,children:f.jsxs(da,{gutter:[16,0],children:[f.jsx(En,{span:8,children:f.jsx(Kt.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:f.jsx(tn,{style:{width:"100%"}})},"model")}),f.jsx(En,{span:16,children:f.jsx(Kt.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:f.jsx(tn,{style:{width:"100%"}})},"pic")})]})}),f.jsx(En,{span:24,children:f.jsxs(da,{gutter:[16,0],children:[f.jsx(En,{span:8,children:f.jsx(Kt.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:f.jsx(tn,{style:{width:"100%"}})},"no")}),f.jsx(En,{span:16,children:f.jsx(Kt.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),f.jsx(Ft,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:f.jsx(no,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:f.jsx(tn,{style:{width:"100%"}})},"title")})]})}),f.jsx(En,{span:24,children:f.jsxs(da,{gutter:[16,0],children:[f.jsx(En,{span:8,children:f.jsx(Kt.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:f.jsx(tn,{style:{width:"100%"}})},"release")}),f.jsx(En,{span:16,children:f.jsx(Kt.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:f.jsx(tn,{style:{width:"100%"}})},"category")})]})}),f.jsx(En,{span:24,children:f.jsx(da,{gutter:[16,0],children:f.jsx(En,{span:24,children:f.jsx(Kt.List,{name:"audio_id",children:(w,{add:C,remove:E})=>f.jsxs(f.Fragment,{children:[w.map(({key:I,name:T,..._},R)=>f.jsxs(da,{gutter:[16,0],children:[f.jsx(En,{span:8,children:l.createElement(Kt.Item,{..._,key:`audio-id-${I}`,name:[T,"audio_id"],label:f.jsx("div",{children:R===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${I}`)},f.jsx(tn,{style:{width:"100%"}}))}),f.jsx(En,{span:16,children:l.createElement(Kt.Item,{..._,key:`hash-${I}`,name:[T,"hash"],label:f.jsx("div",{children:R===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${I}`)},f.jsx(tn,{style:{width:"100%"},addonAfter:f.jsx(tt,{type:"link",onClick:()=>E(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${I}`)}))})]},`audio-id-hash-row-${I}`)),f.jsx(Kt.Item,{children:f.jsx(tt,{type:"dashed",onClick:()=>C(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),f.jsx(En,{span:24,children:f.jsx(Kt.List,{name:"tracks",children:(w,{add:C,remove:E})=>f.jsxs(f.Fragment,{children:[w.map(({key:I,name:T,..._},R)=>f.jsx(da,{gutter:[16,0],children:f.jsx(En,{span:24,children:l.createElement(Kt.Item,{..._,key:`track-${I}`,name:[T,"track"],label:f.jsx("div",{children:R===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${I}`)},f.jsx(tn,{style:{width:"100%"},addonAfter:f.jsx(tt,{type:"link",onClick:()=>E(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${I}`)},"input-track-"+I))})},`track-row-${I}`)),f.jsx(Kt.Item,{children:f.jsx(tt,{type:"dashed",onClick:()=>C(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),x]})},bu=()=>{const{t:e}=Nt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r}=Qn(),[a,i]=l.useState(!1),[o,s]=l.useState(""),c=pr.language;l.useEffect(()=>{r(e("tonies.tonies.navigationTitle"))},[c]);const u=()=>{i(!0),s("")},d=[{key:"tonies",label:f.jsx(ot,{to:"/tonies",onClick:()=>{t(!1),n(!1)},children:e("tonies.tonies.navigationTitle")}),icon:de.createElement(i_e),title:e("tonies.tonies.navigationTitle")},{key:"custom-json",label:f.jsx("label",{style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor",cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:()=>{u(),t(!1),n(!1)},icon:de.createElement(n_e),title:e("tonies.addToniesCustomJsonEntry")},{key:"encoder",label:f.jsx(ot,{to:"/tonies/encoder",onClick:()=>{t(!1),n(!1)},children:e("tonies.encoder.navigationTitle")}),icon:de.createElement(dIe),title:e("tonies.encoder.navigationTitle")},{key:"tap",label:f.jsx(ot,{to:"/tonies/tap",style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor"},onClick:()=>{t(!1),n(!1)},children:e("tonies.tap.navigationTitle")}),icon:de.createElement(ZRe),title:e("tonies.tap.navigationTitle")},{key:"library",label:f.jsx(ot,{to:"/tonies/library",onClick:()=>{t(!1),n(!1)},children:e("tonies.library.navigationTitle")}),icon:de.createElement(L2e),title:e("tonies.library.navigationTitle")},{key:"content",label:f.jsx(ot,{to:"/tonies/content",onClick:()=>{t(!1),n(!1)},children:e("tonies.content.navigationTitle")}),icon:de.createElement(IY),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:f.jsx(ot,{to:"/tonies/system-sounds",onClick:()=>{t(!1),n(!1)},children:e("tonies.system-sounds.navigationTitle")}),icon:de.createElement(Ek),title:e("tonies.system-sounds.navigationTitle")}];return f.jsxs(f.Fragment,{children:[f.jsx(ih,{mode:"inline",selectedKeys:[o],defaultOpenKeys:["sub"],items:d}),a&&f.jsx(MZ,{open:a,onClose:()=>i(!1)})]})},LBe=()=>f.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"12pt",height:"12pt",viewBox:"0 0 400 400",children:f.jsxs("g",{fill:"currentColor",children:[f.jsx("path",{d:"M235 18.7c-1.9.9-7.6 5.8-12.6 10.9-13.8 14-14.5 14.4-27.3 14.4-12.7-.1-15.4-.9-25.9-8.4-16.4-11.5-23.2-11.4-37.6.8-7.5 6.4-10.7 8-25.6 12.5-27.1 8.4-42.5 14-55.1 20.2-15.7 7.8-23.3 14-27.4 22.3-3.3 6.8-6.1 20.2-7.5 36.9-1.7 19-.8 133.5 1.3 171.2 2.3 40.9 3.8 49.9 9.4 58.3 7.6 11.1 16.2 13.4 68.3 17.7 36 3 42.7 3.5 59.5 4.5 9.4.6 23.4 1.5 31.2 2 7.8.6 34.9 1 60.1 1 52.1 0 53.2-.1 65-8 7.2-4.8 20.8-16.6 30.4-26.4 21.9-22.2 24.6-30.2 26.8-80.7.6-13.4 1.5-30.7 2.1-38.4 1.3-17.2.6-110.3-.9-126-2.1-20.9-4.9-29.7-11.8-37.3-11.8-13.2-24.8-17-64.6-19.2-11.2-.6-18.5-1.4-19.8-2.2-1.1-.7-3.2-3.8-4.6-6.8-8.7-19.2-10.6-21-22.3-21-4.9 0-8.8.6-11.1 1.7M246.6 54c7.7 14.7 13.4 16.6 56.5 18.9 18 .9 21.6 1.9 30.5 8.3 7.5 5.4 9.5 9.9 10.5 23.6 3.1 43.9 3.1 61.1-.1 154.7-1.2 34.1-2.2 42.9-5.4 50-6.2 13.6-36 42.2-51.6 49.4-4.6 2.1-7.3 2.6-17.2 2.9-12.3.5-41.4-.8-73.3-3.3-10.4-.8-26.9-1.9-36.5-2.5-33.8-2.1-94.5-7.5-102-9.1-6.5-1.4-11.3-5.6-12.9-11.4-2.6-9.3-5.1-76.7-5.1-134.5 0-50.5 1.3-81.9 3.5-89.4 2-6.9 6.4-11.9 16-18.1C67.7 88.2 82.7 82.7 124 70c7.4-2.3 16.8-6 20.9-8.1l7.4-4 9.1 3.9c13.2 5.8 18.1 6.7 34.6 6.7 12.4 0 15.6-.3 21.9-2.3 6.6-2.1 8.1-3.1 16-10.7 4.7-4.7 8.7-8.5 8.8-8.5s1.8 3.2 3.9 7"}),f.jsx("path",{d:"M98.5 91.8c-8.5 4-16.5 16.1-19.9 30.3-2.4 9.7-1.9 14.4 1.8 18.1 1.3 1.4 1.2 1.7-.9 2.8-4.1 2.2-5.5 6.7-5.5 18.2 0 16.7 2.6 33.6 7.7 50.6 2.6 8.3 2.7 9.7 2.8 34.2.1 23.3.3 26.2 2.4 33.5 7.8 27.6 26 49.4 48.2 57.9 4.1 1.6 9.9 3.9 12.9 5.1 12.8 5.4 16.8 6 43.5 6 27 0 31.2-.6 46.7-6.1 17.6-6.4 23.4-10 34.7-21.3 16.6-16.6 23.3-31 18.7-39.9-1.4-2.7-1.4-3.2-.2-3.2.8 0 2.8-1.6 4.4-3.4 4-4.6 4.6-10 3.9-33.6-.5-17.8-.4-18.8 1.9-25.8 10.4-31 11-76.1 1.4-101.5-3.7-9.8-9.7-17.7-15.9-20.9-14.2-7.4-29.7-.3-47.5 21.6l-6.9 8.5-3.6-1.5c-11.6-4.9-34.5-7.4-50.6-5.6-5 .6-13.2 2.4-18.2 4l-9.2 3-5.7-7.4c-7.1-9.4-17.7-19.2-24-22.4-6.6-3.3-17.2-3.9-22.9-1.2m19.1 31.4c3.8 4 8 8.5 9.3 9.9l2.2 2.7-5.1 4.8c-7.1 6.6-14.4 16-19.6 25.1-2.5 4.4-4.5 7-4.8 6.2s-.6-6.1-.9-11.9c-.2-7.3-.9-11.5-2.1-13.8-1.7-3.3-1.7-3.3.8-5.3 1.6-1.3 3.3-4.4 4.5-8.4 2.9-9.3 6.2-16.5 7.5-16.5.6 0 4.3 3.3 8.2 7.2m160.1-3c5 10.4 7.6 25.8 7.1 42.8l-.3 11.5-4.3-7.9c-4.8-8.8-11.5-17.6-19.1-25.1-2.8-2.7-5.1-5.5-5.1-6.2 0-1.5 17.1-19.3 18.6-19.3.5 0 1.9 1.9 3.1 4.2M204.3 141c35.3 5.1 60.7 35.7 68.8 82.8 1.4 8.4 1.9 16.1 1.9 29.4 0 10.4.4 18.7 1 19.9.9 1.6.5 2.4-2.2 4.8-1.9 1.6-5.2 6.2-7.3 10.3-2.5 4.5-6.7 10-11.1 14.5-5.9 5.9-9 8-17.5 12.1-12.3 5.9-19.6 7.9-34.4 9.3-31.1 2.9-58.2-4.9-74.9-21.7-7.4-7.3-11.8-14.6-16-26.1-3.1-8.7-3.1-9-3.1-27.8.1-20.2 1-27.3 6.1-44.3 13.5-45 47.3-69.2 88.7-63.2"}),f.jsx("path",{d:"M145.1 197.6c-3.7 2.6-5.1 7.4-5.1 17.4 0 11.4 1.5 15.5 6.6 17.6 5 2.1 11.4 1.1 14.5-2.2 2.2-2.4 2.4-3.5 2.7-15l.4-12.4-3.5-3.5c-3-3-4.1-3.5-8.4-3.5-2.9 0-5.8.7-7.2 1.6m80.3-.5c-4.3 2.1-5.4 5.9-5.4 18.4 0 11.5 0 11.7 2.9 14.6 2.6 2.5 3.7 2.9 8.6 2.9 3.1 0 6.5-.5 7.7-1.1 3.3-1.8 4.8-7.1 4.8-16.9 0-10.6-1.5-15.2-5.9-17.4-3.4-1.8-9.5-2-12.7-.5M178 232.9c-15 3.3-22.1 15.6-17.8 30.5 1.4 4.7 11.5 15.4 16.6 17.5l3.2 1.3v8.4c0 13.5 2.7 17.4 11.9 17.4 5.9-.1 7.6-.9 10.4-5 1.3-1.8 1.7-4.6 1.7-11.2v-8.7l5.3-3.4c6.6-4.3 11.2-8.9 13.7-13.8 2.4-4.6 2.7-15.3.6-20.3-1.9-4.5-7.2-9.3-12.6-11.2-5-1.8-27.1-2.8-33-1.5m17 24.1c1.2.8 1.2 1-.3 1.6-2.2.8-7-.4-6.2-1.6.8-1.3 4.5-1.3 6.5 0"})]})}),fs=()=>{const{t:e}=Nt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r}=Qn(),a=go(),[i,o]=l.useState([]),s=pr.language;l.useEffect(()=>{r(e("tonieboxes.navigationTitle"))},[i,s]);const c=g=>{const m=[];g.includes("/tonieboxes/boxsetup")&&(m.push("boxsetup"),g.includes("/tonieboxes/boxsetup/esp32")?m.push("esp32"):g.includes("/tonieboxes/boxsetup/cc3200")?m.push("cc3200"):g.includes("/tonieboxes/boxsetup/cc3235")&&m.push("cc3235")),o(h=>Array.from(new Set([...h,...m])))};l.useEffect(()=>{c(a.pathname)},[a.pathname]);const u=g=>{const m=g.find(b=>!i.includes(b)),h=i.find(b=>!g.includes(b));m?o(b=>[...b,m]):h&&o(b=>b.filter(y=>y!==h))},d=({isOpen:g})=>g??!1?f.jsx(SY,{style:{margin:"16px 0 16px 16px"}}):f.jsx(Xm,{style:{margin:"16px 0 16px 16px"}}),p=[{key:"tonieboxes",label:f.jsx(ot,{to:"/tonieboxes",style:{marginLeft:8},onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.navigationTitle")}),icon:de.createElement(LBe),title:e("tonieboxes.navigationTitle")},{key:"boxsetup",label:f.jsx(ot,{to:"/tonieboxes/boxsetup",style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor"},onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.navigationTitle")}),icon:de.createElement(wY),title:e("tonieboxes.boxSetup.navigationTitle"),children:[{key:"boxversioninfo",label:f.jsx(ot,{to:"/tonieboxes/boxsetup/boxversioninfo",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.boxVersion.navigationTitle")}),icon:de.createElement(no),title:e("tonieboxes.boxSetup.boxVersion.navigationTitle")},{key:"identifyboxversion",label:f.jsx(ot,{to:"/tonieboxes/boxsetup/identifyboxversion",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}),icon:de.createElement(Hm),title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")},{key:"openbox",label:f.jsx(ot,{to:"/tonieboxes/boxsetup/openboxguide",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}),icon:de.createElement(rRe),title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")},{key:"esp32",label:f.jsx(ot,{to:"/tonieboxes/boxsetup/esp32/flashing",style:{color:"currentColor",display:"flex",alignItems:"center",padding:"0 50px 0 0"},onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:de.createElement(Np),title:e("tonieboxes.esp32BoxFlashing.navigationTitle"),children:[{key:"esp32legacy",label:f.jsx(ot,{to:"/tonieboxes/boxsetup/esp32/legacy",onClick:()=>{t(!1),n(!1)},style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor"},children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}),icon:de.createElement(Np),title:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}]},{key:"cc3200",label:f.jsx(ot,{to:"/tonieboxes/boxsetup/cc3200/flashing",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:de.createElement(Np),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235",label:f.jsx(ot,{to:"/tonieboxes/boxsetup/cc3235/flashing",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:de.createElement(Np),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}];return f.jsx(ih,{mode:"inline",defaultOpenKeys:["sub"],openKeys:i,selectedKeys:[],onOpenChange:u,items:p,expandIcon:({isOpen:g})=>d({isOpen:g})})},{useToken:jBe}=Ar,FBe=Na.img` - height: 32px; -`,BBe=Na(tY)` - color: white; - display: flex; - align-items: center; - padding-left: 16px; - padding-right: 16px; - background: #141414; -`,zBe=Na.div` - margin-left: auto; - display: flex; - align-items: center; -`,HBe=Na.div` - margin-right: 12px; - display: flex; - align-items: center; -`,UBe=Na(Gs)` - .ant-menu-title-content { - width: 100%; - } -`,VBe=Na(tt)` - &:hover { - background: transparent !important; - } -`,WBe=({themeSwitch:e})=>{const{t}=Nt(),{token:n}=jBe(),{unconfirmedCount:r,navOpen:a,setNavOpen:i,subNavOpen:o,setSubNavOpen:s,currentTCSection:c,setCurrentTCSection:u}=Qn(),d=go(),[p,g]=l.useState(window.innerWidth<=768);l.useEffect(()=>{const S=()=>g(window.innerWidth<=768);return window.addEventListener("resize",S),()=>window.removeEventListener("resize",S)},[]),l.useEffect(()=>{p||(s(!1),i(!1))},[p]),l.useEffect(()=>{const S=document.querySelector('meta[name="theme-color"]');if(S)S.setAttribute("content",n.colorBgBase);else{const v=document.createElement("meta");v.name="theme-color",v.content=n.colorBgBase,document.head.appendChild(v)}},[n.colorBgBase]);const m=({title:S,to:v,isMobile:x=!1})=>{const w=()=>{i(!1)},C=()=>{u(S),x&&s(!0)};return x?f.jsxs("div",{style:{display:"flex",gap:16,width:"100%",justifyContent:"space-between",alignItems:"center"},children:[f.jsx(ot,{to:v,onClick:w,children:S}),f.jsx(VBe,{type:"text",style:{width:"100%",justifyContent:"end"},icon:f.jsx(Xm,{style:{margin:16}}),onClick:C})]}):f.jsx(ot,{to:v,onClick:w,children:S})},h=[{key:"/",label:f.jsx(m,{title:t("home.navigationTitle"),to:"/",isMobile:p})},{key:"tonies",label:f.jsx(m,{title:t("tonies.navigationTitle"),to:"/tonies",isMobile:p})},{key:"tonieboxes",label:f.jsx(m,{title:t("tonieboxes.navigationTitle"),to:"/tonieboxes",isMobile:p})},{key:"settings",label:f.jsx(m,{title:t("settings.navigationTitle"),to:"/settings",isMobile:p})},{key:"community",label:f.jsx(m,{title:t("community.navigationTitle"),to:"/community",isMobile:p})}];let b=d.pathname.split("/")[1];b||(b="/"),b==="home"&&(b="/");const y=()=>c===t("community.navigationTitle")?f.jsx(Ks,{}):c===t("settings.navigationTitle")?f.jsx(sh,{}):c===t("tonies.navigationTitle")?f.jsx(bu,{}):c===t("tonieboxes.navigationTitle")?f.jsx(fs,{}):f.jsx(oh,{});return f.jsxs(BBe,{children:[f.jsx(ot,{to:"/",style:{color:"white"},children:f.jsxs(HBe,{children:[f.jsx(FBe,{src:yX}),f.jsx(df,{style:{textWrap:"nowrap"},children:" TeddyCloud Server"})]})}),f.jsx(df,{children:f.jsx(Gs,{theme:"dark",mode:"horizontal",items:h,selectedKeys:[b],style:{width:"calc(100vw - 510px)",background:"#141414 !important"}})}),f.jsxs(zBe,{children:[f.jsx(lDe,{}),e,f.jsx(cDe,{}),f.jsx(uDe,{notificationCount:r}),f.jsxs($0,{style:{marginLeft:8},children:[f.jsx(tt,{className:"barsMenu",type:"primary",onClick:()=>i(!0),icon:f.jsx(jTe,{})}),f.jsxs(W_,{placement:"right",open:a,onClose:()=>i(!1),title:"TeddyCloud",children:[f.jsx(UBe,{mode:"vertical",items:h,selectedKeys:[b],style:{background:"transparent",borderRight:"none"}}),f.jsx(W_,{placement:"right",open:o,onClose:()=>s(!1),title:c,children:y()})]})]})]})]})},{useToken:GBe}=Ar,qBe=()=>{const{token:e}=GBe();return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[f.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M285.000000,95.000000 C285.726776,91.291718 284.143219,89.788498 280.551392,88.369873 C247.948990,75.493263 212.672882,91.508270 199.495224,122.998001 C196.613541,129.884201 195.385559,137.055237 195.485504,144.500198 C195.559326,149.999207 195.570007,155.501114 195.483032,160.999725 C195.362961,168.591705 191.442429,172.487579 184.000000,172.494614 C166.333344,172.511307 148.666656,172.510849 131.000000,172.494736 C123.739044,172.488113 119.744461,168.704391 119.512695,161.499588 C118.937752,143.626343 119.484947,125.767700 124.620247,108.535835 C129.305405,92.814384 136.600082,78.329407 146.361160,64.899094 C160.063324,46.046219 177.407562,31.600046 198.103745,21.717247 C219.862259,11.327159 243.132431,6.942070 267.508698,8.891317 C284.115204,10.219257 299.968292,14.037633 314.973419,21.056805 C338.704193,32.157684 357.928345,48.584900 372.550323,70.466385 C383.991730,87.588272 391.730164,106.267952 394.317322,126.523338 C399.345093,165.887207 389.786652,201.671356 364.978485,232.982956 C350.265991,251.552322 331.599060,265.211121 309.924530,274.320435 C296.501526,279.961792 282.229004,283.352203 267.499878,283.997559 C263.333923,284.180115 259.162445,284.263275 255.000793,284.513092 C242.331039,285.273529 234.536453,294.940430 234.510101,310.000031 C234.471024,332.333282 234.502640,354.666656 234.498566,377.000000 C234.497147,384.740631 230.771179,388.486389 223.000000,388.494385 C205.666687,388.512268 188.326492,388.221069 171.003571,388.645569 C164.614304,388.802094 159.267792,383.378479 159.354935,376.998016 C159.705429,351.336151 159.031464,325.655487 159.642624,300.003387 C160.167542,277.971313 168.603424,258.489746 183.103546,242.091568 C198.977600,224.139587 218.895264,213.013474 242.995743,209.966385 C250.478912,209.020279 258.084564,209.344330 265.476685,208.330063 C284.746246,205.686066 300.188782,196.120834 310.413757,179.447113 C323.347626,158.355911 322.759064,136.763321 311.652649,114.922371 C309.739319,111.159721 306.957031,112.566917 304.500000,111.750000"}),f.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M197.500000,506.500000 C203.208725,504.136566 209.499985,503.955261 215.081406,500.636932 C226.722000,493.716095 233.515152,484.355804 234.104324,470.504425 C234.416428,463.166840 234.755539,456.042480 232.056686,448.978333 C227.973969,438.291962 214.538635,425.846741 198.510223,425.232910 C181.959915,424.599152 164.725250,435.753998 160.707718,453.048248 C155.331696,476.190460 163.819122,500.451569 192.494766,505.032776 C194.035324,505.278900 195.500000,506.000000 197.000000,506.500000"})]})},KBe=new Mn(On()),{useToken:YBe}=Ar,yA=({maxNoOfGuests:e,toniesSize:t,showQuestionMark:n,title:r,description:a,height:i=(s=>(s=document.getElementById("collage-container"))==null?void 0:s.clientHeight)()||0,width:o=(c=>(c=document.getElementById("collage-container"))==null?void 0:c.clientWidth)()||0})=>{var v,x;const{token:u}=YBe(),[d,p]=l.useState([]),g=o,m=i,h=50,b=50,y=(((v=document.getElementById("central-text"))==null?void 0:v.clientWidth)||0)/(g<450?3:2),S=(((x=document.getElementById("central-text"))==null?void 0:x.clientHeight)||0)/(m<500?3:2);return l.useEffect(()=>{(async()=>{const I=(await KBe.apiGetTagIndexMergedAllOverlays(!1)).sort((T,_)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())).filter(T=>!T.tonieInfo.picture.endsWith("/img_unknown.png")&&T.tonieInfo.picture!==null&&T.tonieInfo.picture!==void 0&&T.tonieInfo.picture!==""&&!T.nocloud).slice(0,e).flatMap(T=>T.tonieInfo.picture).map((T,_)=>{if(r&&a){let R,$;do R=Math.random()*(100-t/m*100),$=Math.random()*(100-t/g*100);while(0h-S/m*100-t/m*100&&Rb-y/g*100-t/g*100&&$f.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:w.top,left:w.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[f.jsx("img",{src:w.src,alt:`Random ${w.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&f.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(qBe,{})})]},w.id))]})},{Paragraph:XBe}=Sn,ZBe=()=>{const{t:e}=Nt();return f.jsx(f.Fragment,{children:f.jsx(Pn,{children:f.jsx(XBe,{children:f.jsx(yA,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},{Paragraph:K5,Text:XI}=Sn,QBe=()=>{const{t:e}=Nt(),t=[{version:"0.6.4",changes:["Stabilization backend","Seperate postData parser and increase size","Added settings for tap / track_pos hash checking","Extended esp32 flash api, added hostname_old https://github.com/toniebox-reverse-engineering/teddycloud/issues/270","Add field2/field6 of the toniebox settings with unknown functionality","Always set Toniebox settings, if cloud not enabled or had error","Save used domains sent via rtnl","Implemented tbs_tag_removed for CC3200 + ESP32 (new mqtt event, more details: https://github.com/toniebox-reverse-engineering/teddycloud/pull/309)","Disable keep-alive for boxine upstream https://github.com/toniebox-reverse-engineering/teddycloud/issues/310","Added hide flag to dirs https://github.com/toniebox-reverse-engineering/teddycloud/issues/234","gui: added track count to taf header viewer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/203","gui: changed taf header viewer to show information using yaml, not json https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/204","gui: fixed typos and missing explanation in CC3200 flash guide https://github.com/toniebox-reverse-engineering/teddycloud/issues/285 & https://github.com/toniebox-reverse-engineering/teddycloud/issues/286","gui: show number of selected entries / total files in library/content view https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/199","gui: hide baudrate selection if not necessary https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/195","gui: added support previous set hostname in esp32 flash process https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/189","gui: added download possibility to taf files as *.ogg file within Tonie/tag Information modal and filebrowser https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/207","gui: Some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.3...tc_v0.6.4","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.3...tcw_v0.6.4"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-4/1422",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.4"},{version:"0.6.3",changes:["Stabilization backend","Fixed some memory leaks","Added Hide Information in filesV2 Api https://github.com/toniebox-reverse-engineering/teddycloud/issues/234","Added retain option last will in MQTT https://github.com/toniebox-reverse-engineering/teddycloud/issues/251","Support image caching for tonieboxes images (using setting tonie_json.cache_images) https://github.com/toniebox-reverse-engineering/teddycloud/issues/220","Provide c2.der symlink","Added custom_img volume for storing custom images - adapt your docker-compose.yaml according https://github.com/toniebox-reverse-engineering/teddycloud/blob/master/docker/docker-compose.yaml","Don't disable MQTT on an error https://github.com/toniebox-reverse-engineering/teddycloud/issues/263","Added some more debug information on readTrackPosition","Added TAF checks (new setting core.full_taf_validation)",'Added experimental new ESP32 flasher "revvox_flasher", currently unused',"Extended fileIndexV2 Api with taf valid flag","Added contrib/verify-tc-certificates.sh for certificate verification","gui: Added version overview page","gui: Added spinning wheel to lists, should also fix https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/129","gui: Extended cc3235 guide based on https://github.com/toniebox-reverse-engineering/teddycloud/issues/232, https://github.com/toniebox-reverse-engineering/teddycloud/issues/230 and https://github.com/toniebox-reverse-engineering/teddycloud/issues/229","gui: Extended audioplayer, fixed bugs, show info of currently played content (in case of taf), added play icon to each track in tonieinfomodal (only if tracks and trackseconds have the same number of elements), on click plays the chapter directly","gui: Edit Tonie/Tag: Overworked rollback and empty field functionality https://github.com/toniebox-reverse-engineering/teddycloud/issues/235","gui: Edit Tonie/Tag: Fixed some bugs","gui: Set Cursor to Default on Filebrowser directory row","gui: Show disabled Cloud in Boxine status badge https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/164","gui: Recheck cloud status on certain changes (cloud.enabled, uploaded certs, autoextracted certs in esp32 flashing process) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/167","gui: Added notification system, own page. Migrated messages to notification (except settingspages) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/165","gui: Fixed bug deleting Toniebox https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/174","gui: Mark hidden Tonies/Tags in content view","gui: Only allow *.der files to be uploaded on certificate upload","gui: Added Download buttons/link to download TeddyCloud CA Certificate https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/177","gui: Overworked filebrowsers directory visualization and multi select action buttons https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/162","gui: Overworked settings forms: Instead of autosaving and manual save of strings, there is a new save button to store the changed settings https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/23","gui: Box flashing section: Added links to the great newbie guides in the forum thanks to marco79cgn, chuckf and Wurst420!","gui: Added Certificate upload to box flashing","gui: Completed CC3200 Flashing guide https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/130","gui: Added selection of baudrate in ESP32 flash process https://github.com/toniebox-reverse-engineering/teddycloud/issues/101, https://github.com/toniebox-reverse-engineering/teddycloud/issues/258","gui: Overworked mobile menu layout: section menus now part of the drawer and not shown always on each page, use + icon in mobile to expand menu","gui: Added How to Create a Good Support Request page","gui: Added reset shortcut in esp32 flashing process https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/190","gui: Prepared esp32 flashing with previously set TeddyCloud hostname instead of original one https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/189","gui: Some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.2...tc_v0.6.3","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.2...tcw_v0.6.3"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-3/812",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.3"},{version:"0.6.2",changes:["Stabilization backend","Provide TrackSeconds for Frontend https://github.com/toniebox-reverse-engineering/teddycloud/issues/187","Fixed bug no update of model in content.json if empty https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Added web_version.json for consistency checks, including new setting frontend.ignore_web_version_mismatch","Added frontend setting frontend.confirm_audioplayer_close","Fixed some bugs","gui: Next button in audio player now jumps according tracks of taf","gui: Show error if something went wrong while encoding new taf (Audio Encoder)","gui: Added translation overview page in community contribution section","gui: Improved Audio Encoder, leave selected target folder till reload of page, if only one file is added, take filename as preset for taf filename https://github.com/toniebox-reverse-engineering/teddycloud/issues/223","gui: Fixed filterbug in FileBrowser Component (List + Select) https://github.com/toniebox-reverse-engineering/teddycloud/issues/224","gui: Show warning if web_version of gui does not match expected web_version from backend","gui: Show warning if ogg/opus (taf) is not supported by browser","gui: Integrated frontend.confirm_audioplayer_close","gui: Improved Code Snippet Element, show line numbers and added copy functionality","gui: Added Box setup overview page","gui: Added Box version identification page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/145","gui: Added Open Toniebox guide page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/146","gui: Extended CC3200 Firmware flash section, added custom alt Url Patch generation. https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/126","gui: Extended CC3200 Firmware flash section, extended Applying Patches step","gui: Extended CC3235 Firmware flash section, same version as wiki, but additional images flash chip","gui: Added ESP32 Firmware flash legacy section, same version as wiki","gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.1...tc_v0.6.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.1...tcw_v0.6.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-2/773",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.2"},{version:"0.6.1",changes:["Stabilization backend","Changed default for setting cloud.prioCustomContent to false","Disabled prioCustomContent if lower audio id is allowed","Added reload tonies(.custom).json api https://github.com/toniebox-reverse-engineering/teddycloud/issues/177","Added moveFile api https://github.com/toniebox-reverse-engineering/teddycloud/issues/198","Added server side taf file encoding","Support TAF files in taps and server side taf file encoding","Added API to extract certificates https://github.com/toniebox-reverse-engineering/teddycloud/issues/103","Initial cert generation generates now a 4096bit long cert https://github.com/toniebox-reverse-engineering/teddycloud/issues/138","Extended settings api","Fixed bug updating empty model information if entry was added in tonies.json https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Fixed some bugs","gui: Fixed bug storing source with html special chars","gui: Fixed bug saving model and source of a tonie/tag at once","gui: Fixed display bug sourceInfo with unknown content","gui: Integrated new reload tonies.json api","gui: Added Moving and renaming of files in library and content","gui: Fixing security weaknesses","gui: Added file upload to library",`gui: If setting "Category frontend: Split content / model" is disabled, don't show the source info in Tonies list and details modal`,"gui: Added encoding functionality in library","gui: Allow playing all encodable files in teddyCloud","gui: ESP32 flash process - integrated remaining manual steps. Certificate extraction is now also automated","gui: Fixed bug tonieboxes if tonieboxes.custom.json was empty or not available https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/133","gui: Added Spanish language - feel free to improve translations as current translation is completely done by ChatGPT."],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.0...tc_v0.6.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.0...tcw_v0.6.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-1/701",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.1"},{version:"0.6.0",changes:["Stabilization backend","store last played time of last played tag","extend getTagIndex API, provide language in tonieInfos","PoC Toniebox api access (explicitly allow access to teddy cloud api on tonebox level)","Added enable/disable new Tonieboxes: prohibit registration of new tonieboxes if not enabled","Added removal of overlays (= removal of Tonieboxes from TeddyCloud)","add hide tonie/tag functionality (hide using new /web gui, present to box to unhide)","fixed locking bug, reworked locking.","fixed bug not storing cloud auth in some circumstances","fixed bug not storing source in json file: https://github.com/toniebox-reverse-engineering/teddycloud/issues/165","added limit to tempfile creation for radiostreams, default: 240mb (~6h) (configurable if expert mode is activated) https://github.com/toniebox-reverse-engineering/teddycloud/issues/180","added possibility to set WiFi Credentials on ESP32 Firmware patching","introduced second HTTPS port for WebFrontend only, which allows using https for webfrontend (Default: 8443)","tonie images from boxine can now be cached locally (PoC)","new /web gui is now default web gui: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/47","new /web gui: enhanced Toniecard, added search for Radiostream in Edit Modal","new /web gui: Tonies - Content section - added Migrate Content to Lib button on TAF files","new /web gui: added RTNL Log Page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/48","new /web gui: added show Json File when double click on json file (File browser view)","new /web gui: added show TAP File when double click on tap file (File browser view)","new /web gui: added show TAF Header (including AudioID + Hash) when double click on a taf file (File browser view)","new /web gui: show date time of last played tag (toniecard + toniboxcard)","new /web gui: added Tonie Audio Playlist page (WIP - Implementation not yet finished), rearranged menu entries tonies section: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/52","new /web gui: added delete feature in content, library and audio playlist page","new /web gui: improved changelog page, parse links and open links in new tab; completed contributors page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/27","new /web gui: added language flag to tonies card if it's not the same as the most owned language ones, added language filter","new /web gui: deletion of tonieboxes","new /web gui: info if add new boxes is enabled on homepage and tonieboxes page","new /web gui: enable/disable API access for toniebox added on tonieboxes page","new /web gui: add hide tonie/tag in tonies list (in info modal)","new /web gui: PoC Tonies Custom Json Editor (WiP, not working, but you get the json part to copy into the tonies.custom.json)","new /web gui: PoC Tonie Audio Playlist Editor (WiP, not working, but you get the json to copy and save as a TAP file) ","new /web gui: allow TAP files to be selected on Edit Tag Modal","new /web gui: new 404 page","new /web gui: hidden feature Tonie meeting. Search for it!","new /web gui: added link to Toniebox if the box is version cc3200, an ip is available and cfw is installed: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/28","new /web gui: hide audioplayer if no source is set, when clicking on play icon of a tonie/taf/... the player is shown: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: added minimize/maximize audioplayer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: show Tonie on tonie article search","new /web gui: improved audioplayer, added volume control to custom one, hide doubled audioplayer","new /web gui: added French translation. Feel free to check if chatGPT is a good translator. If something is wrong, give us a shout at telegram!","new /weg gui: overworked filebrowser to be responsive","new /web gui: overworked tonie information modal, now also available in file browser (library + content)","new /web gui: added Create Directory functionality in file browser","new /web gui: added better breadcrumb to filebrowser (clickable for easy directory switching) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/78","new /web gui: set nocloud to true if source of a tag is changed https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/77","new /web gui: show image and information from set source if different from model https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/80","new /web gui: tonie overview: filter now also considers information from set source","new /web gui: fixed bugs after updating tonies in tonies overview","new /web gui: added FAQ page in community section","new /web gui: support web streams in audioplayer","new /web gui: improved filebrowser, added filter field and made buttons sticky","new /web gui: integrated ESP32 Firmware Flashing https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/46","new /web gui: integrated setting of WiFi credentials in ESP32 Firmware Flashing","new /web gui: show hint on ESP32 Firmware Flashing page if browser does not support WebSerial","new /web gui: allow multiselection in file browser for file deletion","new /web gui: limit audio encoder to 99 files (as Toniebox only supports 99 chapters)","new /web gui: fixed image fetch loop when playing a tonie","new /web gui: fixed poor audio quality in some case when using audio encoder","new /web gui: migrated gui from create-react-app to vite","new /web gui: fixed some bugs and minor refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.2...tc_v0.6.0","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.2...tcw_v0.6.0"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-0/468",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.0"},{version:"0.5.2",changes:["Stabilization backend","Several fixes and changes regards backend crashes and emptied config files when changing any tonie setting","Fix for random directories in library (and everywhere)","Fixed bug storing last played tonie per box","Fixed bug clearing text settings (like paths or flex tonie)","API for searching models is now case insensitive","Save IP of Toniebox as prepartion for linking CFW Tonieboxes","Introduced Settings level - 1: Basic, 2: Detail, 3: Expert (1 Default - if you are missing settings, increase level!)","new /web gui: enhanced Tonies Card, added editable content source","new /web gui: enhanced Toniebox Card, improved UX","new /web gui: Dark theme (Last used Theme stored in localStorage in Browser)","new /web gui: Show All (Hide Pagination on Tonies List, stored in localStorage in Browser)","new /web gui: Support of overlayed content folder. More details can be found here: https://forum.revvox.de/t/teddycloud-supporting-multiple-tonieboxes/451/1","new /web gui: Text inputs in Settings must be saved explicitly. (only Textinputs, other types are still autosaved.) Expect changes in future releases.","new /web gui: fixed various state bugs","new /web gui: show last online date of offline tonieboxes","new /web gui: Messages on successful setting updates","new /web gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.1...tc_v0.5.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.1...tcw_v0.5.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-2/450",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.2"},{version:"0.5.1",changes:["Stabilization Backend (added locks to prevent crashes, removed memory leaks)","Creating dirs when uploading certificates to a not yet existing path","Moving Tafs from Content to Library on click (not yet available in (new?) frontend)","new /web gui: Pagination + Filtering on Tonies List ( Paging Tonies · Issue #24 · toniebox-reverse-engineering/teddycloud_web · GitHub 2 )","new /web gui: Extend Box Management: Certificate upload now box specific possible, overworked certificate upload ( Certificate upload box related · Issue #26 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: Show last played Tonie on Box Management, link to prefiltered Tonieslist, added marking of the Last played Tonies on each box in Tonieslist ( Make use of internal.last_ruid · Issue #30 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: adapted cursor on cards to default as cards not really clickable ( TonieCard Cursor · Issue #25 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: fixed navigation item marking","new /web gui: updated box models, added pseudomodels of the official tonies covers (sleepy bear, sheep and rabbit). They are now placed in a json in the config folder. Custom tonieboxes are now also possible. Add your customised one in tonieboxes.custom.json and choose it in the box mgmt.","new /web gui: added community section (WIP) ( Add Changelog and contribution page · Issue #27 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: fixed warnings"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.0...tc_v0.5.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.0...tcw_v0.5.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-1/447",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.1"},{version:"0.5.0",changes:["security mitigations on public instances as it‘s definitely not recommended to host teddycloud in public accessible for all","prepared authentication for frontend (backend adaptions)","linked new /web gui on teddycloud administration gui","overworked header, reordered menu items, new icons, better readable status in new /web gui","fixed modals (still some display problems on small devices like mobiles exists)","added audio encoder to new /web gui, you are now able to select files and encode them to a taf","This lets you bring your own content easily on an existing tonie.","added toniebox management to new /web gui, improved backend functions for that","only at least once connected boxes are listed, model must be set manually","enriched homepage in new /web gui with 5 randomly selected tonies of yours","adapt tonie card list to different cover image sizes in new /web gui (all cards within one row have now the same height)","added no cloud and live icon (Toggle to enable/disable) on tonie card in new /web gui","fixed several bugs"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/pull/154","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/8","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/9","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/19","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/21","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/22"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-0/444",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.0"},{version:"0.4.5 and older",changes:["A lot more. See Github for details!"],commits:[]}],n=r=>{const a=/(https?:\/\/[^\s]+)/g;return r.split(a).map((o,s)=>a.test(o)?f.jsx(ot,{to:o,target:"_blank",rel:"noopener noreferrer",children:o},s):o)};return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.changelog.title")}),f.jsx(K5,{children:f.jsx(Rr,{dataSource:t,renderItem:r=>f.jsxs(f.Fragment,{children:[f.jsxs("h2",{children:[e("community.changelog.version")," ",r.version]}),f.jsxs(K5,{children:[f.jsx("h3",{children:e("community.changelog.changes")}),f.jsx("ul",{children:r.changes.map((a,i)=>f.jsx("li",{children:n(a)},i))})]}),r.commits&&r.commits.length>0&&f.jsxs(f.Fragment,{children:[f.jsxs(XI,{strong:!0,children:[e("community.changelog.allCommits"),":"]}),f.jsx("ul",{children:r.commits.map((a,i)=>f.jsx("li",{children:f.jsx(ot,{to:a,target:"_blank",children:a})},i))})]}),r.discussionLink&&f.jsxs(f.Fragment,{children:[f.jsxs(XI,{strong:!0,children:[e("community.changelog.discussion"),":"]}),f.jsx("ul",{children:f.jsx("li",{children:f.jsx(ot,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&f.jsxs(f.Fragment,{children:[f.jsxs(XI,{strong:!0,children:[e("community.changelog.githubRelease"),":"]}),f.jsx("ul",{children:f.jsx("li",{children:f.jsx(ot,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})},{Paragraph:ZI}=Sn,JBe=()=>{const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.title")}),f.jsxs(ZI,{children:[f.jsx("h2",{children:e("community.community.getInvolved")}),e("community.community.getInvolvedText1")]}),f.jsxs(ZI,{children:[f.jsx(ZI,{children:e("community.community.getInvolvedText2")}),f.jsxs("ul",{children:[f.jsxs("li",{children:[f.jsx(ot,{to:WX,target:"_blank",children:"GitHub"}),f.jsx("ul",{children:f.jsx("li",{children:e("community.community.github")})})]}),f.jsxs("li",{children:[f.jsx(ot,{to:qk,target:"_blank",children:"Telegram Chat"}),f.jsx("ul",{children:f.jsx("li",{children:e("community.community.telegram")})})]}),f.jsxs("li",{children:[f.jsx(ot,{to:Ad,target:"_blank",children:"Discourse Forum"}),f.jsx("ul",{children:f.jsx("li",{children:e("community.community.discourse")})})]}),f.jsxs("li",{children:[f.jsx(ot,{to:GX,target:"_blank",children:"TeddyCloud Wiki"}),f.jsx("ul",{children:f.jsx("li",{children:e("community.community.teddyCloudWiki")})})]})]})]})]})]})]})},{Paragraph:dc}=Sn,e5e=()=>{const{t:e}=Nt(),t=[e("community.contribution.communityValues1"),e("community.contribution.communityValues2"),e("community.contribution.communityValues3"),e("community.contribution.communityValues4"),e("community.contribution.communityValues5"),e("community.contribution.communityValues6")],n=[e("community.contribution.makeFirstContribution1"),e("community.contribution.makeFirstContribution2"),e("community.contribution.makeFirstContribution3"),e("community.contribution.makeFirstContribution4"),e("community.contribution.makeFirstContribution5"),e("community.contribution.makeFirstContribution6"),e("community.contribution.makeFirstContribution7")];return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.contribution.title")}),f.jsxs(dc,{children:[f.jsx(dc,{children:e("community.contribution.contributionIntro")}),f.jsxs(dc,{children:[f.jsx("h2",{children:e("community.contribution.communityValues")}),f.jsx(dc,{children:e("community.contribution.communityValuesIntro")}),f.jsx(dc,{children:e("community.contribution.communityValuesExamples")}),f.jsx("ul",{children:t.map((r,a)=>f.jsx("li",{children:r},a))})]}),f.jsxs(dc,{children:[f.jsx("h2",{children:e("community.contribution.makeFirstContribution")}),f.jsx(dc,{children:e("community.contribution.makeFirstContributionIntro")}),f.jsx("ul",{children:n.map((r,a)=>f.jsx("li",{children:r},a))})]})]})]})]})]})},t5e=new Mn(On()),{Paragraph:Y5}=Sn,{Panel:n5e}=Ls,r5e=()=>{const{t:e}=Nt(),[t,n]=l.useState({});return l.useEffect(()=>{async function r(){try{const s=(await(await t5e.apiGetTeddyCloudApiRaw("/api/toniesJson")).json()).filter(u=>u.audio_id&&u.audio_id.length===0&&!["creative-tonie","system"].includes(u.category)&&!u.model.includes("20000")).map(u=>({model:u.model,series:u.series,episodes:u.episodes,pic:u.pic,audio_id:u.audio_id||[],category:u.category,language:u.language})),c={};s.forEach(u=>{c[u.language]||(c[u.language]=[]),c[u.language].push(u)}),n(c)}catch(a){console.error("Error fetching and transforming data:",a)}}r()},[]),f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.contribution.toniesJson.title")}),f.jsx(Y5,{children:e("community.contribution.toniesJson.text")}),f.jsx(Y5,{children:f.jsx(Ls,{accordion:!0,children:Object.keys(t).map((r,a)=>f.jsx(n5e,{header:r,children:f.jsx(Rr,{children:Array.isArray(t[r])&&t[r].map((i,o)=>f.jsx(Rr.Item,{id:i.model,children:f.jsxs("div",{children:[f.jsx("img",{src:i.pic,alt:"",style:{width:"100px",height:"auto"}}),i.model," - ",i.series," -"," ",i.episodes]})},o))})},a))})})]})]})]})},{Paragraph:fc}=Sn,a5e=()=>{const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.contributors.title")}),f.jsxs(fc,{children:[e("community.contributors.contributorsIntro"),f.jsxs(fc,{children:[f.jsx("h3",{children:"teddycloud"}),f.jsx("div",{children:e("community.contributors.teddyCloud")}),f.jsx(ot,{to:wj,target:"_blank",children:wj})]}),f.jsxs(fc,{children:[f.jsx("h3",{children:"teddycloud_web"}),f.jsx("div",{children:e("community.contributors.teddyCloudWeb")}),f.jsx(ot,{to:Cj,target:"_blank",children:Cj})]}),f.jsxs(fc,{children:[e("community.contributors.others")," ",f.jsx(ot,{to:Sj,target:"_blank",children:Sj})]})]}),f.jsxs(fc,{children:[f.jsx("div",{style:{marginBottom:24},children:e("community.contributors.bigRoundOfApplause")}),f.jsx(yA,{maxNoOfGuests:50,toniesSize:150,showQuestionMark:!1,height:150})]}),f.jsx(qa,{}),f.jsxs(fc,{children:[f.jsx("h3",{children:e("community.contributors.supportTeam")}),f.jsx(fc,{children:e("community.contributors.supportTeamText")}),f.jsx(ot,{to:Kk,target:"_blank",children:e("community.contributors.supportTeamLink")})]})]})]})]})},{Paragraph:X5}=Sn,i5e=()=>{const{t:e}=Nt(),t=e("faq",{returnObjects:!0});return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.faq.title")}),f.jsx(X5,{children:e("community.faq.intro")}),f.jsx(X5,{children:t.map((n,r)=>f.jsxs("div",{style:{marginBottom:"20px"},children:[f.jsx("h3",{children:n.question}),f.jsx("p",{children:n.answer})]},r))})]})]})]})},PZ=(e,t,n="")=>{const r=[];return Object.keys(e).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(e[a])?Array.isArray(t[a])?e[a].forEach((o,s)=>{const c=`${i}[${s}].question`,u=`${i}[${s}].answer`;t[a][s]||r.push(c,u)}):e[a].forEach((o,s)=>{const c=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(c,u)}):typeof e[a]=="object"&&e[a]!==null?!(a in t)||typeof t[a]!="object"?r.push(...LZ(e[a],i)):r.push(...PZ(e[a],t[a],i)):a in t||r.push(i)}),r},LZ=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...LZ(e[r],a)):n.push(a)}),n},jZ=(e,t,n="")=>{const r=[];return Object.keys(t).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(t[a])?Array.isArray(e[a])?t[a].forEach((o,s)=>{const c=`${i}[${s}].question`,u=`${i}[${s}].answer`;e[a][s]||r.push(c,u)}):t[a].forEach((o,s)=>{const c=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(c,u)}):typeof t[a]=="object"&&t[a]!==null?!e[a]||typeof e[a]!="object"?r.push(i):r.push(...jZ(e[a],t[a],i)):a in e||r.push(i)}),r},o5e=()=>{const{t:e}=Nt(),[t,n]=l.useState({}),[r,a]=l.useState({}),[i,o]=l.useState({}),[s,c]=l.useState(!0),u=["en","fr","de","es"],d="en";return l.useEffect(()=>{(async()=>{const g={};for(let m of u){const b=await(await fetch(`/web/translations/${m}.json`)).json();g[m]=b}n(g),c(!1)})()},[]),l.useEffect(()=>{if(!s&&t[d]){const p=t[d],g={},m={};u.forEach(h=>{if(h!==d){const b=t[h];g[h]=PZ(p,b),m[h]=jZ(p,b)}}),a(g),o(m)}},[s,t]),s?f.jsx("p",{children:"Loading translations..."}):f.jsxs(f.Fragment,{children:[f.jsx("h2",{children:e("community.translations.missingExtraKeysHeadline")}),u.every(p=>{var g,m;return p===d||((g=r[p])==null?void 0:g.length)===0&&((m=i[p])==null?void 0:m.length)===0})?f.jsx("p",{children:e("community.translations.noDiscrepancies")}):f.jsx("div",{children:u.map(p=>{var g,m;return p!==d&&f.jsxs("div",{children:[f.jsxs("h2",{children:[e("community.translations.language"),": ",p.toUpperCase()]}),f.jsx("h3",{children:e("community.translations.missingKeys")}),((g=r[p])==null?void 0:g.length)>0?f.jsx("ul",{children:r[p].map((h,b)=>f.jsx("li",{children:h},b))}):f.jsx("p",{children:e("community.translations.noMissingKeys")}),f.jsxs("h3",{children:[e("community.translations.extraKeys"),":"]}),((m=i[p])==null?void 0:m.length)>0?f.jsx("ul",{children:i[p].map((h,b)=>f.jsx("li",{children:h},b))}):f.jsx("p",{children:e("community.translations.noExtraKeys")})]},p)})})]})},FZ=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...FZ(e[r],a)):n.push(a)}),n},s5e=(e,t)=>{const n=t.split(".");let r=e;for(let a of n){if(a.includes("[")){const[i,o]=a.split("["),s=parseInt(o.replace("]",""),10);if(r=r[i],Array.isArray(r))r=r[s];else return}else r=r?r[a]:void 0;if(r===void 0)return}return typeof r=="string"?r:void 0},l5e=()=>{const{t:e}=Nt(),[t,n]=l.useState({}),[r,a]=l.useState(!0),i=["en","fr","de","es"],o="en";if(l.useEffect(()=>{(async()=>{const p={};for(let g of i){const h=await(await fetch(`/web/translations/${g}.json`)).json();p[g]=h}n(p),a(!1)})()},[]),r)return f.jsx("p",{children:"Loading translations..."});const s=FZ(t[o]),c=[{title:e("community.translations.key"),dataIndex:"key",key:"key",width:"30%",fixed:"left",render:d=>f.jsx("div",{style:{wordWrap:"break-word",wordBreak:"break-all"},children:d})},...i.map(d=>({title:d.toUpperCase(),dataIndex:d,key:d}))],u=s.map(d=>{const p={key:d};return i.forEach(g=>{const m=s5e(t[g],d);p[g]=m||"<"+e("community.translations.missing")+">"}),p});return f.jsxs(f.Fragment,{children:[f.jsx("h2",{children:e("community.translations.allTranslationStrings")}),f.jsx(Ea,{size:"small",columns:c,scroll:{x:"100%"},dataSource:u,rowKey:"key",pagination:!1})]})},{Paragraph:c5e}=Sn,u5e=()=>{const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.translations.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.translations.title")}),f.jsx(c5e,{children:e("community.translations.hint")}),f.jsx(o5e,{}),f.jsx(l5e,{})]})]})]})},QI=new Mn(On()),d5e=()=>{const{t:e}=Nt(),[t,n]=l.useState(""),[r,a]=l.useState(""),[i,o]=l.useState("");l.useEffect(()=>{QI.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(d=>d.text()).then(d=>n(d)).catch(d=>console.error("Error fetching data:",d)),QI.apiGetTeddyCloudSettingRaw("internal.version.id").then(d=>d.text()).then(d=>a(d)).catch(d=>console.error("Error fetching data:",d)),QI.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(d=>d.text()).then(d=>o(d)).catch(d=>console.error("Error fetching data:",d))},[]);const s=(d,p)=>f.jsx("ul",{children:Object.keys(d).map(g=>{const m=d[g],h=`${p}.${g}`;return typeof m=="object"&&m.items?f.jsxs("li",{children:[e(`${h}.title`),s(m.items,h+".items")]},g):f.jsx("li",{children:e(h)},g)})}),c=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(oh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("home.features.title")+" "+r}),f.jsx("p",{children:e("home.features.description")}),f.jsxs("p",{children:["Build:"," ",f.jsx(ot,{to:T3e+i,target:"_blank",children:t.replace(r,"")})]}),f.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(c,"home.features.features"),f.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},f5e=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:i}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(hk,{current:e,total:n,pageSize:r,onChange:t,showSizeChanger:!0,pageSizeOptions:["24","48","96","192"],locale:{items_per_page:i("tonies.tonies.pageSelector")},style:{marginBottom:8}}),f.jsx(tt,{onClick:a,style:{marginLeft:16},children:i("tonies.tonies.showAll")})]})},p5e=new Mn(On()),g5e=e=>{const{t}=Nt(),{addNotification:n}=Qn(),[r,a]=l.useState([]),[i,o]=l.useState(),[s,c]=l.useState(!1),u=async g=>{const m=encodeURIComponent(g),h="/api/toniesJsonSearch?searchModel="+m+"&searchSeries="+m+"&searchEpisode="+m;try{const S=(await(await p5e.apiGetTeddyCloudApiRaw(h)).json()).map(v=>({value:v.model,text:"["+v.model+"] "+v.series+" - "+v.episode,picture:v.picture}));a(S)}catch(b){n(ft.Error,t("tonieArticleSearch.failedToFetchSearchResults"),t("tonieArticleSearch.failedToFetchSearchResultsDetails")+b,t("tonies.navigationTitle"));return}},d=g=>{o(g),e.onChange(g)},p=()=>{c(!0)};return f.jsxs(f.Fragment,{children:[f.jsx(dr,{showSearch:!0,value:i,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:u,onChange:d,notFoundContent:null,options:(r||[]).map(g=>({value:g.value,label:f.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[f.jsx("img",{src:g.picture,alt:g.text,style:{display:"none"}}),g.text]})})),style:{marginTop:"8px"}}),f.jsx(MZ,{open:s,props:e,setValue:o,onClose:()=>c(!1)}),f.jsx(Ft,{title:t("tonies.addNewCustomTonieHint"),children:f.jsx(tt,{onClick:p,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},{useToken:m5e}=Ar,BZ=({parentRef:e})=>{const{token:t}=m5e(),n={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:t.colorBgContainer,opacity:.6,display:"flex",justifyContent:"center",alignItems:"center",zIndex:2e3};return f.jsx("div",{style:n,children:f.jsx(nc,{style:{position:"absolute",top:250},size:"default"})})},yu=()=>f.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"20px",minHeight:"100px"},children:f.jsx(nc,{size:"default"})});function yd(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&i{const{t:c}=Nt(),{playAudio:u}=rh(),{token:d}=v5e(),{addNotification:p,addLoadingNotification:g,closeLoadingNotification:m}=Qn(),h=go(),b=cu(),y=l.useRef(null),S=l.useRef(null),[v,x]=l.useState([]),[w,C]=l.useState(""),[E,I]=l.useState(!1),[T,_]=l.useState([]),[R,$]=l.useState(!1),[M,P]=l.useState(),[D,O]=l.useState(""),[k,N]=l.useState(""),[A,L]=l.useState(!1),[j,F]=l.useState(!0),B=l.useRef(null);l.useEffect(()=>{_([])},[]),l.useEffect(()=>{if(n){const te=new URLSearchParams(h.search);te.set("path",""),C("");const ie=`${window.location.pathname}?${te.toString()}`;window.history.replaceState(null,"",ie),I(fe=>!fe)}},[n]),l.useEffect(()=>{F(!0),h5e.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${w}&special=${e}`+(n?`&overlay=${n}`:"")).then(te=>te.json()).then(te=>{var ie=te.files;i&&(ie=ie.filter(fe=>fe.isDir)),t.length>0&&(ie=ie.filter(fe=>fe.isDir||t.some(ge=>fe.name.endsWith(ge)))),x(ie)}).catch(te=>p(ft.Error,c("fileBrowser.messages.errorFetchingDirContent"),c("fileBrowser.messages.errorFetchingDirContentDetails",{path:w||"/"})+te,c("fileBrowser.title"))).finally(()=>{F(!1)})},[w,e,i,E]),l.useEffect(()=>{S.current!==null&&y.current&&y.current.setSelectionRange(S.current,S.current)},[k]);const z=te=>{var ie;!te.isDir&&((ie=te.tonieInfo)!=null&&ie.tracks)&&(P(te),O(encodeURI("/content"+w+"/"+te.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:"")),$(!0))},U=te=>{a&&b(`?path=${te}`),w===te&&I(ie=>!ie),L(!1),C(te)},H=(te,ie)=>{const fe=te.split("/").filter(ne=>ne),ge=[{title:f.jsx("span",{style:{cursor:"pointer"},onClick:()=>ie(""),children:c("fileBrowser.root")}),key:"/"}];return fe.forEach((ne,ue)=>{const me=`/${fe.slice(0,ue+1).join("/")}`;ge.push({title:f.jsx("span",{style:{cursor:"pointer"},onClick:()=>ie(me),children:ne}),key:me})}),f.jsx(Wm,{items:ge})},K=te=>{N(te.target.value),S.current=te.target.selectionStart,L(!0)},Y=()=>{N(""),S.current=0},ee=()=>{L(!0)},ae=()=>{L(!1)},W=te=>T.includes(te.key)?"highlight-row":"",q=te=>{if(r>0){if(t){const fe=te.length;te=te.filter(ge=>{const ne=v.find(ue=>ue.name===ge);return ne&&ne.tafHeader!==void 0||ne&&t.some(ue=>ne.name.toLowerCase().endsWith(ue))}),fe!==te.length&&p(ft.Warning,c("fileBrowser.fileTypesWarning"),c("fileBrowser.selectAllowedFileTypesOnly",{fileTypes:t.join(", ")}),c("fileBrowser.title"))}te.length>r?p(ft.Warning,c("fileBrowser.maxSelectedRowsWarning"),c("fileBrowser.maxSelectedRows",{maxSelectedRows:r}),c("fileBrowser.title")):_(te)}else _(te);const ie=(v==null?void 0:v.filter(fe=>te.includes(fe.name)))||[];s!==void 0&&s(ie,w,e)},Z=te=>{F(!0);const ie=te===".."?w.split("/").slice(0,-1).join("/"):`${w}/${te}`;a&&b(`?path=${ie}`),L(!1),_([]),C(ie)},Q=(te,ie)=>ie.reduce((fe,ge)=>{if(fe&&fe[ge]!==void 0)return fe[ge]},te),J=(te,ie,fe)=>{const ge=Array.isArray(fe)?Q(te,fe):te[fe],ne=Array.isArray(fe)?Q(ie,fe):ie[fe];return ge===void 0&&ne===void 0?0:ge===void 0?1:ne===void 0?-1:typeof ge=="string"&&typeof ne=="string"?ge.localeCompare(ne):typeof ge=="number"&&typeof ne=="number"?ge-ne:(console.log("Unsupported types for sorting:",te,ie),console.log("Unsupported types for sorting field:",fe,ge,ne),0)},le=(te,ie)=>te.isDir===ie.isDir?J(te,ie,"name"):te.isDir?-1:1;var ce=[{title:"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(te,ie)=>{var fe,ge;return ie&&((fe=ie.tonieInfo)!=null&&fe.picture)?f.jsx("img",{src:ie.tonieInfo.picture,alt:c("tonies.content.toniePicture"),onClick:()=>z(ie),style:{width:100,cursor:!ie.isDir&&((ge=ie==null?void 0:ie.tonieInfo)!=null&&ge.tracks)?"help":"default"}},`picture-${ie.name}`):f.jsx(f.Fragment,{})},showOnDirOnly:!1},{title:c("fileBrowser.name"),dataIndex:"name",key:"name",sorter:le,defaultSortOrder:"ascend",render:(te,ie)=>{var fe,ge,ne,ue,me;return ie&&f.jsxs("div",{children:[f.jsx("div",{className:"showSmallDevicesOnly",children:f.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[f.jsxs("div",{style:{display:"flex"},children:[ie.isDir?f.jsx(Pc,{style:{marginRight:8}}):"",f.jsx("div",{style:{wordBreak:ie.isDir?"normal":"break-word"},children:ie.isDir?f.jsx(f.Fragment,{children:ie.name}):ie.name})]}),f.jsx("div",{children:(fe=ie.tonieInfo)==null?void 0:fe.model}),f.jsx("div",{style:{wordBreak:ie.isDir?"normal":"break-word"},children:((ge=ie.tonieInfo)!=null&&ge.series?(ne=ie.tonieInfo)==null?void 0:ne.series:"")+((ue=ie.tonieInfo)!=null&&ue.episode?" - "+((me=ie.tonieInfo)==null?void 0:me.episode):"")})]})}),f.jsx("div",{className:"showMediumDevicesOnly",children:f.jsxs("div",{style:{display:"flex"},children:[ie.isDir?f.jsx(Pc,{style:{marginRight:8}}):"",f.jsx("div",{style:{wordBreak:ie.isDir?"normal":"break-word"},children:ie.isDir?f.jsx(f.Fragment,{children:ie.name}):ie.name})]})}),f.jsx("div",{className:"showBigDevicesOnly",children:f.jsxs("div",{style:{display:"flex"},children:[ie.isDir?f.jsx(Pc,{style:{marginRight:8}}):"",f.jsx("div",{style:{wordBreak:ie.isDir?"normal":"break-word"},children:ie.isDir?f.jsx(f.Fragment,{children:ie.name}):ie.name})]})})]},`name-${ie.name}`)},filteredValue:[k],onFilter:(te,ie)=>{var ge,ne,ue,me;const fe=te.toLowerCase();return ie.name===".."||ie.name.toLowerCase().includes(fe)||!ie.isDir&&"tafHeader"in ie&&ie.tafHeader.size&&yd(ie.tafHeader.size).toString().includes(fe)||"tafHeader"in ie&&((ge=ie.tafHeader.audioId)==null?void 0:ge.toString().includes(fe))||"tonieInfo"in ie&&((ne=ie.tonieInfo)==null?void 0:ne.model.toLowerCase().includes(fe))||"tonieInfo"in ie&&((ue=ie.tonieInfo)==null?void 0:ue.series.toLowerCase().includes(fe))||"tonieInfo"in ie&&((me=ie.tonieInfo)==null?void 0:me.episode.toLowerCase().includes(fe))},showOnDirOnly:!0},{title:c("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(te,ie)=>{var fe;return f.jsx("div",{children:(fe=ie.tonieInfo)==null?void 0:fe.model},`model-${ie.name}`)}},{title:f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"showMediumDevicesOnly",children:[c("fileBrowser.model"),"/",c("fileBrowser.series"),"/",c("fileBrowser.episode")]}),f.jsx("div",{className:"showBigDevicesOnly",children:c("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(te,ie)=>{var fe,ge,ne,ue,me,xe,Ie;return f.jsxs("div",{children:[f.jsxs("div",{className:"showMediumDevicesOnly",children:[f.jsx("div",{children:(fe=ie.tonieInfo)==null?void 0:fe.model}),f.jsx("div",{style:{wordBreak:"break-word"},children:((ge=ie.tonieInfo)!=null&&ge.series?(ne=ie.tonieInfo)==null?void 0:ne.series:"")+((ue=ie.tonieInfo)!=null&&ue.episode?" - "+((me=ie.tonieInfo)==null?void 0:me.episode):"")})]}),f.jsx("div",{className:"showBigDevicesOnly",children:(xe=ie.tonieInfo)!=null&&xe.series?(Ie=ie.tonieInfo)==null?void 0:Ie.series:""})]},`series-${ie.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:c("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(te,ie)=>{var fe;return f.jsx("div",{children:(fe=ie.tonieInfo)==null?void 0:fe.episode},`episode-${ie.name}`)}},{title:f.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:c("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(te,ie)=>{let fe=[];return ie.tafHeader?fe.push(f.jsx(Ft,{title:c("fileBrowser.playFile"),children:f.jsx(Oi,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+w+"/"+ie.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:""),ie.tonieInfo,{...ie,audioUrl:encodeURI("/content"+w+"/"+ie.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:"")})})},`action-play-${ie.name}`)):b5e.some(ge=>ie.name.endsWith(ge))&&fe.push(f.jsx(Ft,{title:c("fileBrowser.playFile"),children:f.jsx(Oi,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+w+"/"+ie.name)+"?special="+e+(n?`&overlay=${n}`:""),ie.tonieInfo)})},`action-play-${ie.name}`)),fe},showOnDirOnly:!1}];ce.forEach(te=>{te.hasOwnProperty("sorter")||(te.sorter=(ie,fe)=>J(ie,fe,te.dataIndex))}),i&&(ce=ce.filter(te=>te.showOnDirOnly)),o&&(ce=ce.filter(te=>typeof te.key=="string"?o.includes(te.key):!1));const pe=j?"":f.jsx(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE});return f.jsxs(f.Fragment,{children:[M?f.jsx(Ix,{open:R,tonieCardOrTAFRecord:{...M,audioUrl:D},onClose:()=>$(!1),overlay:n}):"",f.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:f.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[f.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:c("tonies.currentPath")}),H(w,U)]})}),f.jsxs("div",{className:"test",style:{position:"relative"},ref:B,children:[j?f.jsx(BZ,{parentRef:B}):"",f.jsx(Ea,{dataSource:v,columns:ce,rowKey:te=>te.name,pagination:!1,onRow:te=>({onDoubleClick:()=>{if(te.isDir)Z(te.name);else{const ie=T.includes(te.name)?T.filter(fe=>fe!==te.name):[...T,te.name];q(ie)}},style:{cursor:te.isDir?"context-menu":"unset"}}),rowClassName:W,rowSelection:r>0?{selectedRowKeys:T,onChange:q}:{selectedRowKeys:T,onChange:q,getCheckboxProps:te=>({disabled:te.name===".."}),onSelectAll:(te,ie)=>{const fe=te?ie.filter(ge=>ge.name!=="..").map(ge=>ge.name):[];_(fe)}},components:{header:{wrapper:te=>f.jsx("thead",{...te}),row:te=>f.jsxs(f.Fragment,{children:[f.jsx("tr",{...te}),f.jsx("tr",{children:f.jsx("th",{style:{padding:"10px 8px"},colSpan:ce.length+1,children:f.jsx(tn,{placeholder:c("fileBrowser.filter"),value:k,onChange:K,onFocus:ee,onBlur:ae,ref:y,style:{width:"100%"},autoFocus:A,addonAfter:f.jsx(va,{onClick:Y,disabled:k.length===0,style:{color:k.length===0?d.colorTextDisabled:d.colorText,cursor:k.length===0?"default":"pointer"}})})})})]}),cell:te=>f.jsx("th",{...te,style:{position:"sticky",top:0,zIndex:8}})}},locale:{emptyText:pe}})]})]})},y5e=e=>{const{t}=Nt(),{addNotification:n}=Qn(),[r,a]=l.useState([]),[i,o]=l.useState(),[s,c]=l.useState(!1),u="https://de1.api.radio-browser.info/json/";l.useEffect(()=>{(async()=>{try{(await fetch(u+"stats")).ok&&c(!0)}catch{console.log("Radio Browser API not available, disable radiostream search."),c(!1)}})()},[]);const d=(b,y)=>{let S;return(...v)=>{clearTimeout(S),S=setTimeout(()=>b.apply(void 0,v),y)}},p=async b=>{if(a([]),b==="")return;const y=encodeURIComponent(b),S=u+"stations/search?name="+y+"&is_https=true&hidebroken=true";try{const v=await fetch(S,{});if(!v.ok)throw new Error(v.status+" "+v.statusText);const x=await v.json(),w=Array.from(new Set(x.map(C=>C.url))).map(C=>{const E=x.find(I=>I.url===C);return{value:E.url,text:(E.country?"["+E.country+"] ":"")+E.name+(E.language?" ("+E.language+")":"")}});a(w)}catch(v){n(ft.Error,t("radioStreamSearch.failedToFetchSearchResults"),t("radioStreamSearch.failedToFetchSearchResultsDetails")+v,t("tonies.title"));return}},g=l.useCallback(d(p,300),[]),m=b=>{o(b),e.onChange(b)};return s?f.jsxs(f.Fragment,{children:[f.jsx(Sn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),f.jsx(dr,{showSearch:!0,style:{margin:"8px 0"},value:i,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:g,onChange:m,notFoundContent:null,options:(r||[]).map(b=>({value:b.value,label:b.text}))})]}):f.jsx(f.Fragment,{})},x5e=({countryCode:e,height:t})=>{switch(e){case"de-de":return f.jsxs("svg",{height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 60",children:[f.jsx("path",{d:"M0 0h100v20H0z"}),f.jsx("path",{fill:"#D00",d:"M0 20h100v20H0z"}),f.jsx("path",{fill:"#FFCE00",d:"M0 40h100v20H0z"})]});case"en-gb":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.666",height:t,children:[f.jsxs("g",{fill:"#FFF",children:[f.jsx("path",{d:"M0 0h100v66.53H0z"}),f.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zM39.045 21.696 0 0v6.141l28.012 15.556z"})]}),f.jsx("path",{d:"M76.764 44.834 100 57.642V44.834zm-16.004 0L100 66.53v-6.141L71.988 44.834zM89.396 66.53 60.741 50.604V66.53zM17.602 44.834 0 54.62v-9.786zm21.442 2.768V66.55H4.971zM23.041 21.696 0 8.889v12.807zm16.004 0L0 0v6.141l28.012 15.556zM10.409 0l28.655 15.926V0zm71.793 21.696L100 11.911v9.786zM60.76 18.928V0h34.093z",fill:"#0052B4"}),f.jsxs("g",{fill:"#D80027",children:[f.jsx("path",{d:"M56.141 0H43.665v27.037H0v12.476h43.664V66.55H56.14V39.513h43.664V27.037H56.14z"}),f.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zm-32.748 0L0 60.41v6.14l39.045-21.715zm11.033-23.139L0 0v6.141l28.012 15.556zm32.748 0L100 6.141V0L60.76 21.696z"})]})]});case"en-us":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[f.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),f.jsx("path",{d:"M0 0h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.273h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.129H0z",fill:"#D80027"}),f.jsx("path",{fill:"#2E52B2",d:"M0 0h50v35.887H0z"}),f.jsx("path",{d:"m9.318 27.076-.78-2.495-.858 2.495H5.107l2.086 1.501-.78 2.495 2.125-1.54 2.066 1.54-.799-2.495 2.125-1.501zm10.975 0-.799-2.495-.819 2.495h-2.574l2.086 1.501-.78 2.495 2.086-1.54 2.105 1.54-.78-2.495 2.086-1.501zm11.014 0-.838-2.495-.78 2.495h-2.632l2.144 1.501-.819 2.495 2.086-1.54 2.144 1.54-.819-2.495 2.086-1.501zm10.955 0-.78-2.495-.819 2.495H38.07l2.105 1.501-.78 2.495 2.086-1.54 2.105 1.54-.838-2.495 2.144-1.501zM19.493 14.678l-.819 2.495h-2.573l2.086 1.54-.78 2.456 2.086-1.52 2.105 1.52-.78-2.456 2.086-1.54h-2.612zm-10.955 0-.858 2.495H5.107l2.086 1.54-.78 2.456 2.125-1.52 2.066 1.52-.799-2.456 2.125-1.54H9.318zm21.93 0-.78 2.495h-2.632l2.144 1.54-.819 2.456 2.086-1.52 2.144 1.52-.819-2.456 2.086-1.54h-2.573zm11.014 0-.819 2.495H38.07l2.105 1.54-.78 2.456 2.086-1.52 2.105 1.52-.838-2.456 2.144-1.54H42.26zM8.539 4.814 7.681 7.27H5.107l2.086 1.54-.78 2.476 2.125-1.539 2.066 1.54-.799-2.476 2.125-1.54H9.318zm10.955 0-.819 2.456h-2.574l2.086 1.54-.78 2.476 2.086-1.539 2.105 1.54-.78-2.476 2.086-1.54h-2.612zm10.975 0-.78 2.456h-2.632l2.144 1.54-.819 2.476 2.086-1.54 2.144 1.54-.819-2.476 2.086-1.54h-2.573zm11.014 0-.819 2.456h-2.593l2.105 1.54-.78 2.476 2.086-1.54 2.105 1.54-.838-2.476 2.144-1.54h-2.632z",fill:"#FFF"})]});case"fr-fr":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[f.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),f.jsx("path",{fill:"#0052B4",d:"M0 0h33.333v66.667H0z"}),f.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-be":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[f.jsx("path",{fill:"#fdda25",d:"M0 0h100v66.667H0z"}),f.jsx("path",{d:"M0 0h33.333v66.667H0z"}),f.jsx("path",{fill:"#ef3340",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-nl":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[f.jsx("path",{fill:"#FFF",d:"M0 22.222h100v22.222H0z"}),f.jsx("path",{fill:"#cd1f2a",d:"M0 0h100v22.222H0z"}),f.jsx("path",{fill:"#1d4185",d:"M0 44.444h100v22.223H0z"})]});case"pt-pt":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[f.jsx("path",{y:"85.337",fill:"#D80027",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),f.jsx("path",{fill:"#6DA544",points:"196.641,85.337 196.641,261.565 196.641,426.663 0,426.663 0,85.337 ",d:"M38.406 16.667L38.406 51.087L38.406 83.333L0 83.333L0 16.667Z"}),f.jsx("path",{fill:"#FFDA44",cx:"196.641",cy:"256",r:"64",d:"M50.906 50A12.5 12.5 0 0 1 38.406 62.5A12.5 12.5 0 0 1 25.906 50A12.5 12.5 0 0 1 50.906 50z"}),f.jsx("path",{fill:"#D80027",d:"M31.375 43.75v7.813c0 3.883 3.148 7.031 7.031 7.031s7.031 -3.148 7.031 -7.031V43.75z"}),f.jsx("path",{fill:"#FFFFFF",d:"M38.406 53.906c-1.292 0 -2.344 -1.051 -2.344 -2.344v-3.125h4.688v3.125c0 1.292 -1.052 2.344 -2.344 2.344"})]});case"it-it":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[f.jsx("path",{fill:"#FFF",d:"M66.667 0H0v66.53h99.805V0Z"}),f.jsx("path",{fill:"#6DA544",d:"M0 0h33.333v66.667H0z"}),f.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"es-es":return f.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[f.jsx("path",{fill:"#FFFFFF",d:"M0 0h100v66.667H0z"}),f.jsx("path",{fill:"#D03433",d:"M0 0h100v17.778H0zm0 48.889h100v17.778H0z"}),f.jsx("path",{fill:"#FBCA46",d:"M0 17.778h100v31.111H0z"}),f.jsx("path",{fill:"#FFFFFF",d:"M34.667 31.111h4.444v2.222h-4.444z"}),f.jsx("path",{fill:"#A41517",d:"M32 37.778c0 1.333 1.333 2.222 2.667 2.222s2.667 -0.889 2.667 -2.222L37.778 31.111H31.556zM29.333 31.111c0 -1.333 0.889 -2.222 1.778 -2.222h6.667c1.333 0 2.222 0.889 2.222 1.778V31.111l-0.444 6.667c-0.444 2.667 -2.222 4.444 -4.889 4.444s-4.444 -1.778 -4.889 -4.444z"}),f.jsx("path",{fill:"#A41517",d:"M30.222 33.333h8.889V35.556h-2.222l-2.222 4.444 -2.222 -4.444h-2.222zM23.556 26.667h4.444v15.556h-4.444zm17.778 0h4.444v15.556h-4.444zm-11.111 -2.222c0 -1.333 0.889 -2.222 2.222 -2.222h4.444c1.333 0 2.222 0.889 2.222 2.222v0.889q0 1.333 -1.333 1.333H31.111c-0.444 0 -0.889 -0.444 -0.889 -0.889z"})]});case"pl-pl":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[f.jsxs("g",{children:[f.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),f.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"170.663",d:"M0 16.667H100V50H0V16.667z"})]}),f.jsx("path",{y:"256",fill:"#D80027",width:"512",height:"170.663",d:"M0 50H100V83.333H0V50z"})]});case"tr-tr":return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,viewBox:"0 -5000 15000 10000",children:[f.jsx("path",{fill:"#E30A17",d:"M0-5000h15000V5000H0z"}),f.jsx("path",{fill:"#FFFFFF",d:"m6958.333 0 2261.333-734.667-1397.667 1923.5v-2377.666l1397.667 1923.5zM7112.5 1336.833a2500 2500 0 1 1 0-2673.667 2000 2000 0 1 0 0 2673.667"})]});default:return null}},JI=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","undefined"],Vu=new Mn(On()),{Meta:S5e}=gu,{Text:Z5}=Sn,{useToken:w5e}=Ar,C5e=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",showSourceInfo:i=!0,onHide:o,onUpdate:s})=>{const{t:c}=Nt(),{token:u}=w5e(),{addNotification:d,addLoadingNotification:p,closeLoadingNotification:g}=Qn(),[m,h]=l.useState(0),[b,y]=l.useState(0),[S,v]=l.useState(0),[x,w]=l.useState(0),[C,E]=l.useState(e),[I,T]=l.useState(C.nocloud),[_,R]=l.useState(C.live),[$,M]=l.useState(C.downloadTriggerUrl),{playAudio:P}=rh(),[D,O]=l.useState(!1),[k,N]=l.useState(!1),[A,L]=l.useState(!1),[j,F]=l.useState(C.tonieInfo.model),[B,z]=l.useState(""),[U,H]=l.useState({validateStatus:"",help:""}),[K,Y]=l.useState(C.source),[ee,ae]=l.useState(C.source),[W,q]=l.useState(K),[Z,Q]=l.useState(W),[J,le]=l.useState({validateStatus:"",help:""}),ce=async()=>{try{const re=await Vu.apiGetTagInfo(C.ruid,n);E(re),s(re)}catch(re){d(ft.Error,c("tonies.messages.errorFetchingUpdatedCard"),c("tonies.messages.errorFetchingUpdatedCardDetails",{model:pe,ruid:C.ruid}).replace(' "" ',"")+re,c("tonies.title"))}},pe=`${C.tonieInfo.series}`+(C.tonieInfo.episode?` - ${C.tonieInfo.episode}`:""),te="sourceInfo"in C?`${C.sourceInfo.series}`+(C.sourceInfo.episode?` - ${C.sourceInfo.episode}`:""):"",ie=i&&"sourceInfo"in C&&(C.sourceInfo.picture!==C.tonieInfo.picture&&pe!==te||C.sourceInfo.picture===C.tonieInfo.picture&&pe!==te),fe=(re,ve,_e)=>{if(re&&re.length===1){const Ue=(_e==="library"?"lib:/":"content:/")+ve+"/"+re[0].name;Q(Ue)}else Q(K)},ge=()=>{w(x+1),L(!0)},ne=()=>{q(ee||K),L(!1)},ue=()=>{z(j),q(K),y(b+1),v(S+1),N(!0)},me=async()=>{try{K!==W&&await je(),j!==B&&await Le()}catch{ce();return}N(!1),ce()},xe=async()=>{try{await Vu.apiPostTeddyCloudContentJson(C.ruid,"live="+!_,n),R(!_),_?d(ft.Success,c("tonies.messages.liveDisabled"),c("tonies.messages.liveDisabledDetails",{model:pe,ruid:C.ruid}).replace(' "" '," "),c("tonies.title")):d(ft.Success,c("tonies.messages.liveEnabled"),c("tonies.messages.liveEnabledDetails",{model:pe,ruid:C.ruid}).replace(' "" '," "),c("tonies.title")),ce()}catch(re){d(ft.Error,c("tonies.messages.couldNotChangeLiveFlag"),c("tonies.messages.couldNotChangeLiveFlagDetails",{model:pe,ruid:C.ruid}).replace(' "" ',"")+re,c("tonies.title"))}},Ie=async()=>{try{await Vu.apiPostTeddyCloudContentJson(C.ruid,"nocloud="+!I,n),E({...C,nocloud:!I}),T(!I),I?d(ft.Success,c("tonies.messages.cloudAccessEnabled"),c("tonies.messages.cloudAccessEnabledDetails",{model:pe,ruid:C.ruid}).replace(' "" '," "),c("tonies.title")):d(ft.Success,c("tonies.messages.cloudAccessBlocked"),c("tonies.messages.cloudAccessBlockedDetails",{model:pe,ruid:C.ruid}).replace(' "" '," "),c("tonies.title")),ce()}catch(re){d(ft.Error,c("tonies.messages.couldNotChangeCloudFlag"),c("tonies.messages.couldNotChangeCloudFlagDetails",{model:pe,ruid:C.ruid}).replace(' "" ',"")+re,c("tonies.title"))}},ke=async re=>{P(re,ie?C.sourceInfo:C.tonieInfo,C)},$e=async()=>{const re=C.downloadTriggerUrl;M("");const ve="loading"+C.ruid;try{p(ve,c("tonies.messages.downloading"),c("tonies.messages.downloadingDetails",{model:pe,ruid:C.ruid}).replace(' "" '," "));const ze=await(await Vu.apiGetTeddyCloudApiRaw(re)).blob();g(ve),d(ft.Success,c("tonies.messages.downloadedFile"),c("tonies.messages.downloadedFileDetails",{model:pe,ruid:C.ruid}).replace(' "" '," "),c("tonies.title")),ce()}catch(_e){g(ve),d(ft.Error,c("tonies.messages.errorDuringDownload"),c("tonies.messages.errorDuringDownloadDetails",{model:pe,ruid:C.ruid}).replace(' "" ',"")+_e,c("tonies.title")),M(""+re)}},Le=async()=>{try{await Vu.apiPostTeddyCloudContentJson(C.ruid,"tonie_model="+encodeURIComponent(B),n),F(B),d(ft.Success,c("tonies.messages.setTonieToModelSuccessful",{selectedModel:B||c("tonies.messages.setToEmptyValue")}),c("tonies.messages.setTonieToModelSuccessfulDetails",{ruid:C.ruid,selectedModel:B||c("tonies.messages.setToEmptyValue")}),c("tonies.title")),H({validateStatus:"",help:""})}catch(re){throw d(ft.Error,c("tonies.messages.setTonieToModelFailed"),c("tonies.messages.setTonieToModelFailedDetails",{ruid:C.ruid})+re,c("tonies.title")),H({validateStatus:"error",help:c("tonies.messages.setTonieToModelFailed")+re}),re}},je=async()=>{try{await Vu.apiPostTeddyCloudContentJson(C.ruid,"source="+encodeURIComponent(W),n),Y(W),d(ft.Success,c("tonies.messages.setTonieToSourceSuccessful"),c("tonies.messages.setTonieToSourceSuccessfulDetails",{ruid:C.ruid,selectedSource:W||c("tonies.messages.setToEmptyValue")}),c("tonies.title")),le({validateStatus:"",help:""})}catch(re){throw d(ft.Error,c("tonies.messages.setTonieToSourceFailed"),c("tonies.messages.setTonieToSourceFailedDetails",{ruid:C.ruid})+re,c("tonies.title")),le({validateStatus:"error",help:c("tonies.messages.setTonieToSourceFailed")+re}),re}I||Ie(),(W.startsWith("http")&&!_||!W.startsWith("http")&&_)&&xe()},He=re=>{z(re.target.value)},Be=re=>{q(re.target.value),Q(re.target.value)},Pe=t.filter(([re])=>re===C.ruid).map(([,re,ve])=>({ruidTime:re,boxName:ve})),Se=re=>{z(re)},Ne=re=>{q(re),ae(re)},Te=f.jsxs(f.Fragment,{children:[f.jsxs("h3",{style:{lineHeight:0},children:[c("tonies.editModal.title"),C.tonieInfo.model?" ("+C.tonieInfo.model+")":""]}),C.tonieInfo.series?f.jsx(Z5,{type:"secondary",children:pe}):" "]}),Ce=f.jsx(f.Fragment,{children:f.jsxs(tt,{type:"primary",onClick:me,disabled:K===W&&j===B,children:[f.jsx(CY,{},"saveClick")," ",c("tonies.editModal.save")]})}),De=f.jsxs(_n,{open:k,onCancel:()=>{N(!1),Q("")},title:Te,footer:Ce,width:700,children:[f.jsx(Gn,{orientation:"left",orientationMargin:"0",children:c("tonies.editModal.source")}),f.jsx("div",{children:f.jsxs(Kt.Item,{validateStatus:J.validateStatus,help:J.help,children:[f.jsx(tn,{value:W,width:"auto",onChange:Be,addonBefore:[f.jsx(va,{onClick:()=>{q(""),le({validateStatus:"",help:""})}},"close-source"),f.jsx(Gn,{type:"vertical",style:{height:16}},"divider-source"),f.jsx(w0,{onClick:()=>{q(K),Q(K),le({validateStatus:"",help:""})},style:{color:K===W?u.colorTextDisabled:u.colorText,cursor:K===W?"default":"pointer"}},"rollback-source")],addonAfter:f.jsx(Sk,{onClick:()=>ge()})},"source"),f.jsx(y5e,{placeholder:c("tonies.editModal.placeholderSearchForARadioStream"),onChange:Ne},b)]})}),f.jsx(Gn,{orientation:"left",orientationMargin:"0",children:c("tonies.editModal.model")}),f.jsx("div",{children:f.jsxs(Kt.Item,{validateStatus:U.validateStatus,help:U.help,children:[f.jsx(tn,{value:B,width:"auto",onChange:He,addonBefore:[f.jsx(va,{onClick:()=>{z(""),H({validateStatus:"",help:""})}},"close-model"),f.jsx(Gn,{type:"vertical",style:{height:16}},"divider-model"),f.jsx(w0,{onClick:()=>{z(j),H({validateStatus:"",help:""})},style:{color:j===B?u.colorTextDisabled:u.colorText,cursor:j===B?"default":"pointer"}},"rollback-model")]},"model"),f.jsx(g5e,{placeholder:c("tonies.editModal.placeholderSearchForAModel"),onChange:Se},S)]})})]}),Ge=f.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[f.jsx(tt,{onClick:ne,children:c("tonies.selectFileModal.cancel")}),f.jsx(tt,{type:"primary",onClick:()=>{q(Z),ae(Z),L(!1)},children:c("tonies.selectFileModal.ok")})]}),lt=f.jsx(_n,{className:"sticky-footer",title:c("tonies.selectFileModal.selectFile"),open:A,onCancel:ne,width:"auto",footer:Ge,children:f.jsx(SA,{special:"library",maxSelectedRows:1,trackUrl:!1,filetypeFilter:[".taf",".tap"],onFileSelectChange:fe},x)}),he=r?[f.jsx(no,{onClick:()=>{h(m+1),O(!0)}},"info"),C.valid||K.startsWith("http")?f.jsx(Oi,{onClick:()=>ke(C.valid?""+C.audioUrl:K)},"playpause"):f.jsx(Oi,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),f.jsx(x0,{style:{cursor:"default",color:I?"red":u.colorTextDisabled}},"nocloud"),f.jsx(xL,{style:{cursor:"default",color:_?"red":u.colorTextDisabled}},"live")]:[f.jsx(no,{onClick:()=>{h(m+1),O(!0)}},"info"),f.jsx(Ul,{onClick:ue},"edit"),C.valid||K.startsWith("http")?f.jsx(Oi,{onClick:()=>ke(C.valid?""+C.audioUrl:K)},"playpause"):$&&$.length>0?f.jsx(eh,{onClick:$e},"download"):f.jsx(Oi,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),f.jsx(x0,{style:{color:I?"red":u.colorTextDescription},onClick:Ie},"nocloud"),f.jsx(xL,{style:{color:_?"red":u.colorTextDescription},onClick:xe},"live")];return f.jsxs(f.Fragment,{children:[f.jsx(gu,{hoverable:!1,size:"small",style:Pe&&Pe.length>0?{background:u.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:u.colorBgContainerDisabled,paddingTop:"2px"},title:f.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[f.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:C.tonieInfo.series?C.tonieInfo.series:c("tonies.unsetTonie")}),a!==C.tonieInfo.language?f.jsx(Ft,{placement:"top",zIndex:2,title:c("languageUtil."+C.tonieInfo.language),children:f.jsx(Z5,{style:{height:20,width:"auto"},children:f.jsx(x5e,{countryCode:C.tonieInfo.language,height:20})})}):""]}),cover:f.jsxs("div",{style:{position:"relative"},children:[f.jsx("img",{alt:`${C.tonieInfo.series} - ${C.tonieInfo.episode}`,src:C.tonieInfo.picture?C.tonieInfo.picture:"/img_unknown.png",style:C.tonieInfo.picture.endsWith("img_unknown.png")?{padding:8,paddingTop:10,width:"100%"}:{padding:8,width:"100%"}}),ie?f.jsx(Ft,{title:`${te}`?c("tonies.alternativeSource",{originalTonie:'"'+pe+'"',assignedContent:'"'+te+'"'}).replace(' "" '," "):c("tonies.alternativeSourceUnknown",{originalTonie:'"'+pe+'"'}).replace(' "" '," "),placement:"bottom",children:f.jsx("img",{src:C.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:he,children:f.jsx(S5e,{title:`${C.tonieInfo.episode}`,description:C.uid})},C.ruid),f.jsx(Ix,{open:D,onClose:()=>O(!1),tonieCardOrTAFRecord:C,showSourceInfo:i,readOnly:r,lastRUIDs:t,onHide:o,overlay:n},m),lt,De]})},wv=new Mn(On()),eT="toniesListState",{Option:E5e}=dr,wA=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:i="",onToniesCardUpdate:o})=>{const{t:s}=Nt(),c=go(),[u,d]=l.useState(e),[p,g]=l.useState(""),[m,h]=l.useState(""),[b,y]=l.useState(""),[S,v]=l.useState([]),[x,w]=l.useState(!1),[C,E]=l.useState(!1),[I,T]=l.useState(!1),[_,R]=l.useState(!1),[$,M]=l.useState(!1),[P,D]=l.useState(!1),[O,k]=l.useState(!1),[N,A]=l.useState(!1),[L,j]=l.useState(!1),[F,B]=l.useState(!1),[z,U]=l.useState(!1),[H,K]=l.useState(!0),[Y,ee]=l.useState(!0),[ae,W]=l.useState([]),[q,Z]=l.useState(()=>{const he=localStorage.getItem(eT);if(he){const{pageSize:re}=JSON.parse(he);return re}return 24}),[Q,J]=l.useState(1),[le,ce]=l.useState(!0),[pe,te]=l.useState(!1),[ie,fe]=l.useState(!0),[ge,ne]=l.useState([]),[ue,me]=l.useState(0),[xe,Ie]=l.useState(!1);l.useEffect(()=>{const he=localStorage.getItem(eT);if(he)try{const{pageSize:re,showAll:ve}=JSON.parse(he);ve?Pe():(Z(re),Ne(1,re))}catch(re){console.error("Error parsing stored state:",re)}else console.log("No stored state found.")},[]),l.useEffect(()=>{(async()=>{const ve=async Ae=>await wv.apiGetTonieboxLastRUID(Ae),_e=async Ae=>await wv.apiGetTonieboxLastRUIDTime(Ae),ze=await wv.apiGetTonieboxesIndex(),Ue=await Promise.all(ze.map(async Ae=>{const Oe=await ve(Ae.ID),Re=await _e(Ae.ID);return[Oe,Re,Ae.boxName]}));W(Ue)})(),(async()=>{const ve=await wv.apiGetTeddyCloudSettingRaw("frontend.split_model_content");Ie(await ve.text()==="true")})()},[]);const ke=l.useMemo(()=>e.map(he=>he.ruid).join(","),[e]);l.useEffect(()=>{const re=new URLSearchParams(c.search).get("tonieRUID");if(re){g(re),K(!1);const ve=e.filter(_e=>_e.ruid.toLowerCase()===re);d(ve)}else d(e);me(ve=>ve+1),ee(!1)},[c.search,ke]),l.useEffect(()=>{J(1),me(he=>he+1)},[ke]),l.useEffect(()=>{const he=JSON.stringify({pageSize:q,paginationEnabled:le,showAll:pe});localStorage.setItem(eT,he)},[ie,q,le,pe]);const $e=()=>{fe(!ie)},Le=he=>{o&&o(he),d(re=>re.map(ve=>ve.ruid===he.ruid?he:ve))},je=()=>{let he=e.filter(re=>{var ve,_e;return(((ve=re.sourceInfo)==null?void 0:ve.series)&&re.sourceInfo.series.toLowerCase().includes(m.toLowerCase())||re.tonieInfo.series.toLowerCase().includes(m.toLowerCase()))&&(((_e=re.sourceInfo)==null?void 0:_e.episode)&&re.sourceInfo.episode.toLowerCase().includes(b.toLowerCase())||re.tonieInfo.episode.toLowerCase().includes(b.toLowerCase()))&&(S.length===0||S.includes(re.tonieInfo.language!==void 0&&JI.includes(re.tonieInfo.language)?re.tonieInfo.language:"undefined")||S.includes(re.sourceInfo&&re.sourceInfo.language!==void 0&&JI.includes(re.sourceInfo.language)?re.sourceInfo.language:"undefined"))&&(!C||re.valid)&&(!I||!re.valid)&&(!_||re.exists)&&(!$||!re.exists)&&(!P||re.live)&&(!O||!re.live)&&(!N||re.nocloud)&&(!L||!re.nocloud)&&(!F||re.hasCloudAuth)&&(!z||!re.hasCloudAuth)});p&&(he=he.filter(re=>{var ve,_e,ze;return re.tonieInfo.series.toLowerCase().includes(p.toLowerCase())||((ve=re.sourceInfo)==null?void 0:ve.series)&&re.sourceInfo.series.toLowerCase().includes(p.toLowerCase())||re.tonieInfo.episode.toLowerCase().includes(p.toLowerCase())||((_e=re.sourceInfo)==null?void 0:_e.episode)&&re.sourceInfo.episode.toLowerCase().includes(p.toLowerCase())||re.tonieInfo.model.toLowerCase().includes(p.toLowerCase())||((ze=re.sourceInfo)==null?void 0:ze.model)&&re.sourceInfo.model.toLowerCase().includes(p.toLowerCase())||re.ruid.toLowerCase().includes(p.toLowerCase())||re.uid.toLowerCase().includes(p.toLowerCase())})),x&&(he=he.filter(re=>ae.some(([ve])=>ve===re.ruid))),ge&&(he=he.filter(re=>!ge.includes(re.ruid))),J(1),d(he),me(re=>re+1)},He=he=>{d(u.filter(re=>re.ruid!==he)),ne(re=>[...re,he]),me(re=>re+1)},Be=()=>{g(""),h(""),y(""),E(!1),T(!1),R(!1),M(!1),D(!1),k(!1),A(!1),j(!1),B(!1),U(!1),w(!1),v([]);const he=window.location.pathname;window.history.pushState({},"",he),c.search="",ge&&(e=e.filter(re=>!ge.includes(re.ruid))),d(e),me(re=>re+1)},Pe=()=>{me(he=>he+1),te(!0),ce(!1),$e()},Se=()=>{ce(!0),te(!1),Ne(1,q)},Ne=(he,re)=>{Z(re),me(ve=>ve+1),J(he),$e(),window.scrollTo(0,0)},Te=()=>{if(pe)return u!==null?u:e;{const he=(Q-1)*q,re=he+q;return u!==null?u.slice(he,re):e.slice(he,re)}},Ce=f.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:le?f.jsx(f5e,{currentPage:Q,onChange:Ne,total:u!==null?u.length:e.length,pageSize:q,additionalButtonOnClick:Pe}):f.jsx(tt,{onClick:Se,children:s("tonies.tonies.showPagination")})}),De=f.jsxs(f.Fragment,{children:[f.jsx("label",{htmlFor:"search-field",className:"filter-label",children:s("tonies.tonies.filterBar.searchLabel")}),f.jsx(tn.Search,{id:"search-field",placeholder:s("tonies.tonies.filterBar.searchPlaceholder"),value:p,onChange:he=>g(he.target.value),onSearch:je,enterButton:!0,style:{margin:"8px 0 8px 0"}}),f.jsxs("div",{className:"filter-container",children:[f.jsx("label",{className:"filter-label",children:s("tonies.tonies.filterBar.filterLabel")}),f.jsx(tn,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:m,onChange:he=>h(he.target.value)}),f.jsx(tn,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:b,onChange:he=>y(he.target.value)}),f.jsx(dr,{mode:"multiple",placeholder:s("tonies.tonies.filterBar.languagePlaceholder"),value:S,onChange:he=>v(he),style:{width:"100%",margin:"8px 0"},children:JI.map(he=>f.jsx(E5e,{value:he,children:s(he?"languageUtil."+he:"languageUtil.other")},he))}),f.jsxs("div",{children:[f.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:C,onChange:he=>E(he)}),s("tonies.tonies.filterBar.valid")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:I,onChange:he=>T(he)}),s("tonies.tonies.filterBar.invalid")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:_,onChange:he=>R(he)})," ",s("tonies.tonies.filterBar.exists")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:$,onChange:he=>M(he)}),s("tonies.tonies.filterBar.notExists")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:P,onChange:he=>D(he)})," ",s("tonies.tonies.filterBar.live")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:O,onChange:he=>k(he)})," ",s("tonies.tonies.filterBar.unsetLive")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:L,onChange:he=>j(he)}),s("tonies.tonies.filterBar.unsetNoCloud")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:N,onChange:he=>A(he)}),s("tonies.tonies.filterBar.noCloud")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:F,onChange:he=>B(he)}),s("tonies.tonies.filterBar.hasCloudAuth")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:z,onChange:he=>U(he)}),s("tonies.tonies.filterBar.unsetHasCloudAuth")]}),f.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[f.jsx(ni,{checked:x,onChange:he=>w(he)}),s("tonies.tonies.filterBar.lastPlayed")]})]}),f.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[f.jsx(tt,{onClick:Be,style:{marginLeft:16},children:s("tonies.tonies.filterBar.resetFilters")}),f.jsx(tt,{onClick:je,style:{marginLeft:16},children:s("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),Ge=[{key:"search-filter",label:s(H?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:De}],lt=f.jsx(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE,description:f.jsxs("div",{children:[f.jsx("p",{children:s("tonies.noData")}),f.jsx("p",{children:s("tonies.noDataText")})]})});return Y?f.jsx(yu,{}):f.jsxs("div",{className:"tonies-list-container",children:[t?f.jsx(Ls,{items:Ge,defaultActiveKey:H?[]:["search-filter"],onChange:()=>K(!H),bordered:!1}):"",f.jsx(Rr,{header:n?Ce:"",footer:n?Ce:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:Te(),renderItem:he=>f.jsx(Rr.Item,{id:he.ruid,children:f.jsx(C5e,{tonieCard:he,lastRUIDs:ae,overlay:r,readOnly:a,defaultLanguage:i,showSourceInfo:xe,onHide:He,onUpdate:Le})}),locale:{emptyText:lt}},ue)]})},vp=new Mn(On()),{Paragraph:bp}=Sn,I5e=()=>{const{t:e}=Nt(),t=cu(),{addNotification:n}=Qn(),[r,a]=l.useState([]),[i,o]=l.useState(!1),[s,c]=l.useState(!1),[u,d]=l.useState(""),[p,g]=l.useState([]),[m,h]=l.useState(!0);l.useEffect(()=>{(async()=>{const w=await vp.apiGetSecurityMITAlert();o(w)})(),(async()=>{try{const w=await vp.apiGetNewBoxesAllowed();c(w),w&&(async()=>{const E=await vp.apiGetTonieboxesIndex(),I=await Promise.all(E.map(async T=>{const _=await vp.apiGetTonieboxApiAccess(T.ID);return[T.boxName,_]}));g(I)})()}catch(w){n(ft.Error,e("settings.errorFetchingSetting"),e("settings.errorFetchingSettingDetails",{setting:"toniebox.api_access"})+w,e("home.navigationTitle"))}})(),(async()=>{h(!0);const w=(await vp.apiGetTagIndexMergedAllOverlays(!0)).filter(C=>!C.hide);a(w.sort((C,E)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random()))),h(!1)})()},[]),l.useEffect(()=>{const S={};r.forEach(w=>{const C=w.tonieInfo.language;S[C]?S[C]++:S[C]=1});let v=0,x="";for(const w in S)S.hasOwnProperty(w)&&S[w]>v&&(v=S[w],x=w);d(x)},[r]);const b=p.filter(S=>!S[1]),y=s?f.jsxs(f.Fragment,{children:[f.jsx(wn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),b.length>0&&f.jsx(wn,{message:e("tonieboxes.boxWithoutAPIAccess"),description:f.jsxs(f.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),f.jsx("ul",{children:b.map(S=>f.jsx("li",{children:S[0]},S[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),f.jsx(ot,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null;return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(oh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsxs(bp,{children:[f.jsx("h1",{children:e("home.title")}),i?f.jsx(wn,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),y]}),f.jsxs(bp,{children:[e("home.forumIntroPart1"),f.jsx(ot,{to:Ad,target:"_blank",children:Ad}),e("home.forumIntroPart2")]}),f.jsxs(bp,{children:[f.jsx("h2",{children:e("home.yourTonies")}),m?f.jsx(yu,{}):f.jsx(wA,{tonieCards:r.filter(S=>S.type==="tag"&&S.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:u}),f.jsx(bp,{children:f.jsxs(tt,{onClick:()=>t("/tonies"),children:[e("home.toAllYourTonies")," (",r.filter(S=>S.type==="tag").length,")"]})})]}),f.jsxs(bp,{children:[f.jsx("h2",{children:e("home.helpfulLinks")}),f.jsxs("ul",{children:[f.jsx("li",{children:f.jsx(ot,{to:"/community/faq",children:"FAQ"})}),f.jsx("li",{children:f.jsx(ot,{to:WX,target:"_blank",children:"GitHub"})}),f.jsx("li",{children:f.jsx(ot,{to:qk,target:"_blank",children:"Telegram Chat"})}),f.jsx("li",{children:f.jsx(ot,{to:Ad,target:"_blank",children:"Discourse Forum"})}),f.jsx("li",{children:f.jsx(ot,{to:GX,target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},T5e=new Mn(On()),R5e=()=>{var a;const{t:e}=Nt(),[t,n]=l.useState(),r=async()=>{var o,s;const i=await T5e.apiStatsGet();(o=i==null?void 0:i.stats)!=null&&o.length&&((s=i==null?void 0:i.stats)==null?void 0:s.length)>0&&n(i)};return l.useEffect(()=>{r()},[]),l.useEffect(()=>{const i=setInterval(()=>{r()},1e4);return()=>clearInterval(i)},[]),f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(oh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(i=>f.jsxs("div",{children:[f.jsx("h2",{children:e("home.stats."+i.iD)}),f.jsx("p",{children:i.value})]},i.iD))]})]})]})},{Paragraph:_5e}=Sn,$5e=()=>{const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(oh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),f.jsx(Pn,{children:f.jsx(_5e,{children:f.jsx(yA,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Paragraph:Q5,Text:O5e}=Sn,N5e=()=>{const{t:e}=Nt(),[t,n]=l.useState([]),r=l.useRef(null),[a,i]=l.useState(!1),o=p=>{let g="";for(let m=0;m=32&&b<=126?g+=String.fromCharCode(b):g+="."}return g},s=p=>{let g="";for(let b=0;b=h&&(m=m-2*h),m},c={"15-15452":p=>{if(p.length===16){const g=p.slice(8)+p.slice(0,8);n(m=>[...m,`UnknownTag | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"15-16065":p=>{if(p.length===16){const g=p.slice(8)+p.slice(0,8);n(m=>[...m,`KnownTag | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15427":p=>{if(p.length===8){const g=s(p);n(m=>[...m,`UpsideState | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15426":p=>{if(p.length===8){const g=s(p);n(m=>[...m,`UprightState | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)}};l.useEffect(()=>{if(a){const p=new EventSource("/api/sse");return p.onopen=()=>{console.log("Connection established.")},p.addEventListener("keep-alive",g=>{console.log("keep-alive event received:",g)}),p.addEventListener("pressed",g=>{const m=JSON.parse(g.data);n(h=>[...h,"Pressed: "+m.data])}),p.addEventListener("rtnl-raw-log2",g=>{const m=JSON.parse(g.data),h=`${"Raw2 | #"+m.data.sequence+" Uptime: "+m.data.uptime+" Func: "+m.data.function_group.toString().padStart(2," ")+"-"+m.data.function+" Payload: '"+m.data.field6+"' ASCII: '"+o(m.data.field6)+"'"}`;n(y=>[...y,h]);const b=`${m.data.function_group.toString().padStart(2," ")}-${m.data.function}`;c[b]&&c[b](m.data.field6)}),p.addEventListener("rtnl-raw-log3",g=>{const m=JSON.parse(g.data);n(h=>[...h,"Raw3 | Datetime: "+m.data.datetime+" Unknown: "+m.data.field2])}),p.onerror=g=>{console.error("EventSource failed:",g)},()=>{console.log("Connection closed."),p.close()}}else return},[a]),l.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=p=>{i(p)},d=()=>{n([])};return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(sh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("settings.rtnl.title")}),f.jsxs(Q5,{style:{margin:"8px 0"},children:[f.jsxs(Q5,{children:[f.jsx(ni,{checked:a,onChange:u,style:{marginRight:8}}),f.jsx(O5e,{children:e("settings.rtnl.enableRtnl")})]}),f.jsx(Gn,{children:e("settings.rtnl.title")}),f.jsx("div",{ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:Ns()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:f.jsx(bA,{language:"log",style:Ns()==="dark"?AZ:DZ,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` -`)})}),f.jsx(tt,{onClick:d,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})};var k5e=function(t){return A5e(t)&&!D5e(t)};function A5e(e){return!!e&&typeof e=="object"}function D5e(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||L5e(e)}var M5e=typeof Symbol=="function"&&Symbol.for,P5e=M5e?Symbol.for("react.element"):60103;function L5e(e){return e.$$typeof===P5e}function j5e(e){return Array.isArray(e)?[]:{}}function O0(e,t){return t.clone!==!1&&t.isMergeableObject(e)?am(j5e(e),e,t):e}function F5e(e,t,n){return e.concat(t).map(function(r){return O0(r,n)})}function B5e(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=O0(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=O0(t[a],n):r[a]=am(e[a],t[a],n)}),r}function am(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||F5e,n.isMergeableObject=n.isMergeableObject||k5e;var r=Array.isArray(t),a=Array.isArray(e),i=r===a;return i?r?n.arrayMerge(e,t,n):B5e(e,t,n):O0(t,n)}am.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return am(r,a,n)},{})};var C$=am,zZ=typeof global=="object"&&global&&global.Object===Object&&global,z5e=typeof self=="object"&&self&&self.Object===Object&&self,ps=zZ||z5e||Function("return this")(),Wl=ps.Symbol,HZ=Object.prototype,H5e=HZ.hasOwnProperty,U5e=HZ.toString,yp=Wl?Wl.toStringTag:void 0;function V5e(e){var t=H5e.call(e,yp),n=e[yp];try{e[yp]=void 0;var r=!0}catch{}var a=U5e.call(e);return r&&(t?e[yp]=n:delete e[yp]),a}var W5e=Object.prototype,G5e=W5e.toString;function q5e(e){return G5e.call(e)}var K5e="[object Null]",Y5e="[object Undefined]",J5=Wl?Wl.toStringTag:void 0;function xu(e){return e==null?e===void 0?Y5e:K5e:J5&&J5 in Object(e)?V5e(e):q5e(e)}function UZ(e,t){return function(n){return e(t(n))}}var CA=UZ(Object.getPrototypeOf,Object);function Su(e){return e!=null&&typeof e=="object"}var X5e="[object Object]",Z5e=Function.prototype,Q5e=Object.prototype,VZ=Z5e.toString,J5e=Q5e.hasOwnProperty,e7e=VZ.call(Object);function e7(e){if(!Su(e)||xu(e)!=X5e)return!1;var t=CA(e);if(t===null)return!0;var n=J5e.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&VZ.call(n)==e7e}function t7e(){this.__data__=[],this.size=0}function WZ(e,t){return e===t||e!==e&&t!==t}function Nx(e,t){for(var n=e.length;n--;)if(WZ(e[n][0],t))return n;return-1}var n7e=Array.prototype,r7e=n7e.splice;function a7e(e){var t=this.__data__,n=Nx(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():r7e.call(t,n,1),--this.size,!0}function i7e(e){var t=this.__data__,n=Nx(t,e);return n<0?void 0:t[n][1]}function o7e(e){return Nx(this.__data__,e)>-1}function s7e(e,t){var n=this.__data__,r=Nx(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ys(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=sze}var lze="[object Arguments]",cze="[object Array]",uze="[object Boolean]",dze="[object Date]",fze="[object Error]",pze="[object Function]",gze="[object Map]",mze="[object Number]",hze="[object Object]",vze="[object RegExp]",bze="[object Set]",yze="[object String]",xze="[object WeakMap]",Sze="[object ArrayBuffer]",wze="[object DataView]",Cze="[object Float32Array]",Eze="[object Float64Array]",Ize="[object Int8Array]",Tze="[object Int16Array]",Rze="[object Int32Array]",_ze="[object Uint8Array]",$ze="[object Uint8ClampedArray]",Oze="[object Uint16Array]",Nze="[object Uint32Array]",vr={};vr[Cze]=vr[Eze]=vr[Ize]=vr[Tze]=vr[Rze]=vr[_ze]=vr[$ze]=vr[Oze]=vr[Nze]=!0;vr[lze]=vr[cze]=vr[Sze]=vr[uze]=vr[wze]=vr[dze]=vr[fze]=vr[pze]=vr[gze]=vr[mze]=vr[hze]=vr[vze]=vr[bze]=vr[yze]=vr[xze]=!1;function kze(e){return Su(e)&&QZ(e.length)&&!!vr[xu(e)]}function EA(e){return function(t){return e(t)}}var JZ=typeof ki=="object"&&ki&&!ki.nodeType&&ki,sg=JZ&&typeof Ai=="object"&&Ai&&!Ai.nodeType&&Ai,Aze=sg&&sg.exports===JZ,nT=Aze&&zZ.process,ff=function(){try{var e=sg&&sg.require&&sg.require("util").types;return e||nT&&nT.binding&&nT.binding("util")}catch{}}(),o7=ff&&ff.isTypedArray,Dze=o7?EA(o7):kze,Mze=Object.prototype,Pze=Mze.hasOwnProperty;function eQ(e,t){var n=dh(e),r=!n&&eze(e),a=!n&&!r&&ZZ(e),i=!n&&!r&&!a&&Dze(e),o=n||r||a||i,s=o?X7e(e.length,String):[],c=s.length;for(var u in e)(t||Pze.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||oze(u,c)))&&s.push(u);return s}var Lze=Object.prototype;function IA(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Lze;return e===n}var jze=UZ(Object.keys,Object),Fze=Object.prototype,Bze=Fze.hasOwnProperty;function zze(e){if(!IA(e))return jze(e);var t=[];for(var n in Object(e))Bze.call(e,n)&&n!="constructor"&&t.push(n);return t}function tQ(e){return e!=null&&QZ(e.length)&&!GZ(e)}function TA(e){return tQ(e)?eQ(e):zze(e)}function Hze(e,t){return e&&Ax(t,TA(t),e)}function Uze(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Vze=Object.prototype,Wze=Vze.hasOwnProperty;function Gze(e){if(!uh(e))return Uze(e);var t=IA(e),n=[];for(var r in e)r=="constructor"&&(t||!Wze.call(e,r))||n.push(r);return n}function RA(e){return tQ(e)?eQ(e,!0):Gze(e)}function qze(e,t){return e&&Ax(t,RA(t),e)}var nQ=typeof ki=="object"&&ki&&!ki.nodeType&&ki,s7=nQ&&typeof Ai=="object"&&Ai&&!Ai.nodeType&&Ai,Kze=s7&&s7.exports===nQ,l7=Kze?ps.Buffer:void 0,c7=l7?l7.allocUnsafe:void 0;function Yze(e,t){if(t)return e.slice();var n=e.length,r=c7?c7(n):new e.constructor(n);return e.copy(r),r}function rQ(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[a]=e[a]);return n}var Vx=l.createContext(void 0);Vx.displayName="FormikContext";var UHe=Vx.Provider;Vx.Consumer;function yQ(){var e=l.useContext(Vx);return e}var Ki=function(t){return typeof t=="function"},fh=function(t){return t!==null&&typeof t=="object"},VHe=function(t){return String(Math.floor(Number(t)))===t},rT=function(t){return Object.prototype.toString.call(t)==="[object String]"},WHe=function(t){return l.Children.count(t)===0},aT=function(t){return fh(t)&&Ki(t.then)};function Si(e,t,n,r){r===void 0&&(r=0);for(var a=pQ(t);e&&r=0?[]:{}}}return(i===0?e:a)[o[i]]===n?e:(n===void 0?delete a[o[i]]:a[o[i]]=n,i===0&&n===void 0&&delete r[o[i]],r)}function xQ(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,i=Object.keys(e);a0?ue.map(function(xe){return R(xe,Si(ne,xe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(me).then(function(xe){return xe.reduce(function(Ie,ke,$e){return ke==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||ke&&(Ie=Fc(Ie,ue[$e],ke)),Ie},{})})},[R]),M=l.useCallback(function(ne){return Promise.all([$(ne),g.validationSchema?_(ne):{},g.validate?T(ne):{}]).then(function(ue){var me=ue[0],xe=ue[1],Ie=ue[2],ke=C$.all([me,xe,Ie],{arrayMerge:XHe});return ke})},[g.validate,g.validationSchema,$,T,_]),P=qi(function(ne){return ne===void 0&&(ne=E.values),I({type:"SET_ISVALIDATING",payload:!0}),M(ne).then(function(ue){return S.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:ue})),ue})});l.useEffect(function(){o&&S.current===!0&&vc(m.current,g.initialValues)&&P(m.current)},[o,P]);var D=l.useCallback(function(ne){var ue=ne&&ne.values?ne.values:m.current,me=ne&&ne.errors?ne.errors:h.current?h.current:g.initialErrors||{},xe=ne&&ne.touched?ne.touched:b.current?b.current:g.initialTouched||{},Ie=ne&&ne.status?ne.status:y.current?y.current:g.initialStatus;m.current=ue,h.current=me,b.current=xe,y.current=Ie;var ke=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!ne&&!!ne.isSubmitting,errors:me,touched:xe,status:Ie,values:ue,isValidating:!!ne&&!!ne.isValidating,submitCount:ne&&ne.submitCount&&typeof ne.submitCount=="number"?ne.submitCount:0}})};if(g.onReset){var $e=g.onReset(E.values,Q);aT($e)?$e.then(ke):ke()}else ke()},[g.initialErrors,g.initialStatus,g.initialTouched,g.onReset]);l.useEffect(function(){S.current===!0&&!vc(m.current,g.initialValues)&&u&&(m.current=g.initialValues,D(),o&&P(m.current))},[u,g.initialValues,D,o,P]),l.useEffect(function(){u&&S.current===!0&&!vc(h.current,g.initialErrors)&&(h.current=g.initialErrors||pc,I({type:"SET_ERRORS",payload:g.initialErrors||pc}))},[u,g.initialErrors]),l.useEffect(function(){u&&S.current===!0&&!vc(b.current,g.initialTouched)&&(b.current=g.initialTouched||Ev,I({type:"SET_TOUCHED",payload:g.initialTouched||Ev}))},[u,g.initialTouched]),l.useEffect(function(){u&&S.current===!0&&!vc(y.current,g.initialStatus)&&(y.current=g.initialStatus,I({type:"SET_STATUS",payload:g.initialStatus}))},[u,g.initialStatus,g.initialTouched]);var O=qi(function(ne){if(v.current[ne]&&Ki(v.current[ne].validate)){var ue=Si(E.values,ne),me=v.current[ne].validate(ue);return aT(me)?(I({type:"SET_ISVALIDATING",payload:!0}),me.then(function(xe){return xe}).then(function(xe){I({type:"SET_FIELD_ERROR",payload:{field:ne,value:xe}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:ne,value:me}}),Promise.resolve(me))}else if(g.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),_(E.values,ne).then(function(xe){return xe}).then(function(xe){I({type:"SET_FIELD_ERROR",payload:{field:ne,value:Si(xe,ne)}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),k=l.useCallback(function(ne,ue){var me=ue.validate;v.current[ne]={validate:me}},[]),N=l.useCallback(function(ne){delete v.current[ne]},[]),A=qi(function(ne,ue){I({type:"SET_TOUCHED",payload:ne});var me=ue===void 0?a:ue;return me?P(E.values):Promise.resolve()}),L=l.useCallback(function(ne){I({type:"SET_ERRORS",payload:ne})},[]),j=qi(function(ne,ue){var me=Ki(ne)?ne(E.values):ne;I({type:"SET_VALUES",payload:me});var xe=ue===void 0?n:ue;return xe?P(me):Promise.resolve()}),F=l.useCallback(function(ne,ue){I({type:"SET_FIELD_ERROR",payload:{field:ne,value:ue}})},[]),B=qi(function(ne,ue,me){I({type:"SET_FIELD_VALUE",payload:{field:ne,value:ue}});var xe=me===void 0?n:me;return xe?P(Fc(E.values,ne,ue)):Promise.resolve()}),z=l.useCallback(function(ne,ue){var me=ue,xe=ne,Ie;if(!rT(ne)){ne.persist&&ne.persist();var ke=ne.target?ne.target:ne.currentTarget,$e=ke.type,Le=ke.name,je=ke.id,He=ke.value,Be=ke.checked,Pe=ke.outerHTML,Se=ke.options,Ne=ke.multiple;me=ue||Le||je,xe=/number|range/.test($e)?(Ie=parseFloat(He),isNaN(Ie)?"":Ie):/checkbox/.test($e)?QHe(Si(E.values,me),Be,He):Se&&Ne?ZHe(Se):He}me&&B(me,xe)},[B,E.values]),U=qi(function(ne){if(rT(ne))return function(ue){return z(ue,ne)};z(ne)}),H=qi(function(ne,ue,me){ue===void 0&&(ue=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:ne,value:ue}});var xe=me===void 0?a:me;return xe?P(E.values):Promise.resolve()}),K=l.useCallback(function(ne,ue){ne.persist&&ne.persist();var me=ne.target,xe=me.name,Ie=me.id,ke=me.outerHTML,$e=ue||xe||Ie;H($e,!0)},[H]),Y=qi(function(ne){if(rT(ne))return function(ue){return K(ue,ne)};K(ne)}),ee=l.useCallback(function(ne){Ki(ne)?I({type:"SET_FORMIK_STATE",payload:ne}):I({type:"SET_FORMIK_STATE",payload:function(){return ne}})},[]),ae=l.useCallback(function(ne){I({type:"SET_STATUS",payload:ne})},[]),W=l.useCallback(function(ne){I({type:"SET_ISSUBMITTING",payload:ne})},[]),q=qi(function(){return I({type:"SUBMIT_ATTEMPT"}),P().then(function(ne){var ue=ne instanceof Error,me=!ue&&Object.keys(ne).length===0;if(me){var xe;try{if(xe=J(),xe===void 0)return}catch(Ie){throw Ie}return Promise.resolve(xe).then(function(Ie){return S.current&&I({type:"SUBMIT_SUCCESS"}),Ie}).catch(function(Ie){if(S.current)throw I({type:"SUBMIT_FAILURE"}),Ie})}else if(S.current&&(I({type:"SUBMIT_FAILURE"}),ue))throw ne})}),Z=qi(function(ne){ne&&ne.preventDefault&&Ki(ne.preventDefault)&&ne.preventDefault(),ne&&ne.stopPropagation&&Ki(ne.stopPropagation)&&ne.stopPropagation(),q().catch(function(ue){console.warn("Warning: An unhandled error was caught from submitForm()",ue)})}),Q={resetForm:D,validateForm:P,validateField:O,setErrors:L,setFieldError:F,setFieldTouched:H,setFieldValue:B,setStatus:ae,setSubmitting:W,setTouched:A,setValues:j,setFormikState:ee,submitForm:q},J=qi(function(){return d(E.values,Q)}),le=qi(function(ne){ne&&ne.preventDefault&&Ki(ne.preventDefault)&&ne.preventDefault(),ne&&ne.stopPropagation&&Ki(ne.stopPropagation)&&ne.stopPropagation(),D()}),ce=l.useCallback(function(ne){return{value:Si(E.values,ne),error:Si(E.errors,ne),touched:!!Si(E.touched,ne),initialValue:Si(m.current,ne),initialTouched:!!Si(b.current,ne),initialError:Si(h.current,ne)}},[E.errors,E.touched,E.values]),pe=l.useCallback(function(ne){return{setValue:function(me,xe){return B(ne,me,xe)},setTouched:function(me,xe){return H(ne,me,xe)},setError:function(me){return F(ne,me)}}},[B,H,F]),te=l.useCallback(function(ne){var ue=fh(ne),me=ue?ne.name:ne,xe=Si(E.values,me),Ie={name:me,value:xe,onChange:U,onBlur:Y};if(ue){var ke=ne.type,$e=ne.value,Le=ne.as,je=ne.multiple;ke==="checkbox"?$e===void 0?Ie.checked=!!xe:(Ie.checked=!!(Array.isArray(xe)&&~xe.indexOf($e)),Ie.value=$e):ke==="radio"?(Ie.checked=xe===$e,Ie.value=$e):Le==="select"&&je&&(Ie.value=Ie.value||[],Ie.multiple=!0)}return Ie},[Y,U,E.values]),ie=l.useMemo(function(){return!vc(m.current,E.values)},[m.current,E.values]),fe=l.useMemo(function(){return typeof s<"u"?ie?E.errors&&Object.keys(E.errors).length===0:s!==!1&&Ki(s)?s(g):s:E.errors&&Object.keys(E.errors).length===0},[s,ie,E.errors,g]),ge=la({},E,{initialValues:m.current,initialErrors:h.current,initialTouched:b.current,initialStatus:y.current,handleBlur:Y,handleChange:U,handleReset:le,handleSubmit:Z,resetForm:D,setErrors:L,setFormikState:ee,setFieldTouched:H,setFieldValue:B,setFieldError:F,setStatus:ae,setSubmitting:W,setTouched:A,setValues:j,submitForm:q,validateForm:P,validateField:O,isValid:fe,dirty:ie,unregisterField:N,registerField:k,getFieldProps:te,getFieldMeta:ce,getFieldHelpers:pe,validateOnBlur:a,validateOnChange:n,validateOnMount:o});return ge}function SQ(e){var t=qHe(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return l.useImperativeHandle(i,function(){return t}),l.createElement(UHe,{value:t},n?l.createElement(n,t):a?a(t):r?Ki(r)?r(t):WHe(r)?null:l.Children.only(r):null)}function KHe(e){var t={};if(e.inner){if(e.inner.length===0)return Fc(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var i;if(n){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var o=i;Si(t,o.path)||(t=Fc(t,o.path,o.message))}}return t}function YHe(e,t,n,r){n===void 0&&(n=!1);var a=$$(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function $$(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||e7(a)?$$(a):a!==""?a:void 0}):e7(e[r])?t[r]=$$(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function XHe(e,t,n){var r=e.slice();return t.forEach(function(i,o){if(typeof r[o]>"u"){var s=n.clone!==!1,c=s&&n.isMergeableObject(i);r[o]=c?C$(Array.isArray(i)?[]:{},i,n):i}else n.isMergeableObject(i)?r[o]=C$(e[o],i,n):e.indexOf(i)===-1&&r.push(i)}),r}function ZHe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function QHe(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,i).concat(r.slice(i+1)):r}var JHe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?l.useLayoutEffect:l.useEffect;function qi(e){var t=l.useRef(e);return JHe(function(){t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{r.initialValue=r.value,r.initialOverlayed=r.overlayed!==void 0?r.overlayed:void 0,r.overlayId=n}),this.settings=t}addListener(t){this.listeners.find(n=>n===t)||this.listeners.push(t)}removeListener(t){this.listeners.filter(n=>n!==t)}addIdListener(t,n){this.idListeners.find(r=>r.listener===t)||this.listeners.push(t)}removeIdListener(t){this.idListeners.filter(n=>n.listener!==t)}callAllListeners(){this.listeners.forEach(t=>t())}async saveAll(){const t=async()=>{await iT.apiTriggerWriteConfigGet()},n=this.settings.map(async r=>{if(r.initialValue!==r.value||r.initialOverlayed!==r.overlayed)return this.saveSingleSetting(r)});try{await Promise.all(n),await t(),this.settings.forEach(r=>{r.initialValue=r.value,r.initialOverlayed=r.overlayed!==void 0?r.overlayed:void 0}),this.unsavedChanges=!1,this.callAllListeners()}catch(r){this.addNotification(ft.Error,_t("settings.errorWhileSavingConfig"),_t("settings.errorWhileSavingConfigDetails")+r,_t("settings.navigationTitle"))}}saveSingleSetting(t){try{const n=t.overlayId!==void 0&&t.overlayed===!1;return iT.apiPostTeddyCloudSetting(t.iD,t.value,t.overlayId,n).then(()=>{this.addNotification(ft.Success,_t("settings.saved"),n?_t("settings.resetToTCDetails",{setting:t.label,overlay:t.overlayId!==void 0?` [${t.overlayId}]`:""}):_t("settings.saveDetails",{setting:t.label,overlay:t.overlayId!==void 0?` [${t.overlayId}]`:""}),t.overlayId===void 0?_t("settings.navigationTitle"):_t("tonieboxes.navigationTitle"))}).then(()=>{t.iD==="cloud.enabled"&&this.setFetchCloudStatus&&this.setFetchCloudStatus(r=>!r)}).catch(r=>{this.addNotification(ft.Error,_t("settings.errorWhileSavingConfig")+t.label,_t("settings.errorWhileSavingConfigDetails")+r,t.overlayId===void 0?_t("settings.navigationTitle"):_t("tonieboxes.navigationTitle"))})}catch(n){return this.addNotification(ft.Error,_t("settings.errorWhileSavingConfig")+t.label,_t("settings.errorWhileSavingConfigDetails")+n,t.overlayId===void 0?_t("settings.navigationTitle"):_t("tonieboxes.navigationTitle")),Promise}}resetAll(){this.settings.forEach(t=>{t.value=t.initialValue??"",t.overlayed=t.initialOverlayed!==void 0?t.initialOverlayed:void 0}),this.unsavedChanges=!1,this.callAllListeners(),this.idListeners.forEach(t=>t.listener())}getSetting(t){return this.settings.find(n=>n.iD===t)}changeSetting(t,n,r){const a=this.settings.find(i=>i.iD===t);a?typeof a.initialValue==typeof n?(a.value=n,a.initialValue===a.value?(this.unsavedChanges=!1,this.settings.forEach(i=>{i.initialValue!==i.value&&(this.unsavedChanges=!0),i.initialOverlayed!==i.overlayed&&(this.unsavedChanges=!0)})):this.unsavedChanges=!0,this.idListeners.filter(i=>i.iD===t).forEach(i=>{i.listener()}),this.callAllListeners()):console.warn("The type of newValue and initialValue for '"+t+"' do not match! Omitting."):console.warn("Unknown setting '"+t+"' to be changed. Omitting.")}changeSettingOverlayed(t,n){const r=this.settings.find(a=>a.iD===t);r?(r.overlayed=n,n===!1&&(()=>{try{iT.apiGetTeddyCloudSettingRaw(t).then(i=>i.text()).then(i=>{let o;r.type==="bool"?o=i==="true":r.type==="uint"?(o=parseInt(i,10),isNaN(o)&&(console.warn(`Expected a number for setting type "uint", but got "${i}". Defaulting to 0.`),o=0)):o=i,this.changeSetting(t,o,n)}).catch(i=>{this.addNotification(ft.Error,_t("settings.errorFetchingFieldValue"),_t("settings.errorFetchingFieldValueDetails",{setting:r.label,overlay:r.overlayId!==void 0?` [${r.overlayId}]`:""})+i,r.overlayId===void 0?_t("settings.navigationTitle"):_t("tonieboxes.navigationTitle"))})}catch(i){this.addNotification(ft.Error,_t("settings.errorFetchingFieldValue"),_t("setting.errorFetchingFieldValueDetails",{setting:r.label,overlay:r.overlayId!==void 0?` [${r.overlayId}]`:""})+i,r.overlayId===void 0?_t("settings.navigationTitle"):_t("tonieboxes.navigationTitle"))}})(),r.initialOverlayed===r.overlayed?(this.unsavedChanges=!1,this.settings.forEach(a=>{a.initialValue!==a.value&&(this.unsavedChanges=!0),a.initialOverlayed!==a.overlayed&&(this.unsavedChanges=!0)})):this.unsavedChanges=!0,this.idListeners.filter(a=>a.iD===t).forEach(a=>{a.listener()}),this.callAllListeners()):console.warn("Unknown setting '"+t+"' to be changed. Omitting.")}};Ua(Yi,"instance");let yn=Yi;const tUe=e=>{var v;const{t}=Nt(),{name:n,label:r,description:a,overlayed:i}=e,[o,s]=MA(n),[c,u]=l.useState(i),[d,p]=l.useState((v=yn.getInstance().getSetting(n))==null?void 0:v.value),g=()=>{var x,w;p((x=yn.getInstance().getSetting(n))==null?void 0:x.value),u(c!==void 0?(w=yn.getInstance().getSetting(n))==null?void 0:w.overlayed:void 0)};yn.getInstance().addIdListener(g,n);const m=!!(s.touched&&s.error),h=s.touched&&s.error&&t(s.error),b=s.touched&&s.error?"error":void 0;let y=d==null?void 0:d.toString();const S=[c===void 0?null:f.jsx(cs,{checked:c,onChange:x=>{var w;yn.getInstance().changeSettingOverlayed(n,x.target.checked),u((w=yn.getInstance().getSetting(n))==null?void 0:w.overlayed)},children:t("settings.overlayed")},"overlayCheckBox")];return f.jsx(Qm,{help:m?h:void 0,validateStatus:b,label:r,tooltip:a,children:f.jsx(tn,{...o,value:y,onChange:x=>{var w;yn.getInstance().changeSetting(n,x.target.value,c),p((w=yn.getInstance().getSetting(n))==null?void 0:w.value)},...c!==void 0?{addonAfter:S}:null,disabled:!c&&c!==void 0})})},R7=e=>{var v;const{t}=Nt(),{name:n,label:r,description:a,overlayed:i}=e,[o,s]=MA(n),[c,u]=l.useState(i),[d,p]=l.useState((v=yn.getInstance().getSetting(n))==null?void 0:v.value),g=()=>{var x,w;p((x=yn.getInstance().getSetting(n))==null?void 0:x.value),u(c!==void 0?(w=yn.getInstance().getSetting(n))==null?void 0:w.overlayed:void 0)};yn.getInstance().addIdListener(g,n);const m=!!(s.touched&&s.error),h=s.touched&&s.error&&t(s.error),b=s.touched&&s.error?"error":void 0;let y=d;const S=[c===void 0?null:f.jsx(cs,{checked:c,onChange:x=>{var w;yn.getInstance().changeSettingOverlayed(n,x.target.checked),u((w=yn.getInstance().getSetting(n))==null?void 0:w.overlayed)},children:t("settings.overlayed")},"overlayCheckBox")];return f.jsx(Qm,{help:m?h:void 0,validateStatus:b,label:r,tooltip:a,children:f.jsx(vK,{...o,value:y,onChange:x=>{var w;yn.getInstance().changeSetting(n,x??0,c),p((w=yn.getInstance().getSetting(n))==null?void 0:w.value)},...c!==void 0?{addonAfter:S}:null,disabled:!c&&c!==void 0})})},nUe=e=>{var S;const{t}=Nt(),{name:n,label:r,description:a,overlayed:i}=e,[o,s]=MA(n),[c,u]=l.useState(i),[d,p]=l.useState((S=yn.getInstance().getSetting(n))==null?void 0:S.value),g=!!(s.touched&&s.error),m=s.touched&&s.error&&t(s.error),h=s.touched&&s.error?"error":void 0,b=()=>{var v,x;p((v=yn.getInstance().getSetting(n))==null?void 0:v.value),u(c!==void 0?(x=yn.getInstance().getSetting(n))==null?void 0:x.overlayed:void 0)};yn.getInstance().addIdListener(b,n);let y=d;return f.jsxs(Qm,{help:g?m:void 0,validateStatus:h,label:r,tooltip:a,children:[f.jsx(ni,{...o,checked:y,onChange:v=>{var x;yn.getInstance().changeSetting(n,v,c),p((x=yn.getInstance().getSetting(n))==null?void 0:x.value)},disabled:!c&&c!==void 0}),c===void 0?"":f.jsx(cs,{checked:c,style:{marginLeft:"16px"},onChange:v=>{var x;yn.getInstance().changeSettingOverlayed(n,v.target.checked),u((x=yn.getInstance().getSetting(n))==null?void 0:x.overlayed)},children:t("settings.overlayed")},"overlayCheckBox")]})},wQ=e=>{const{iD:t}=e,n=yn.getInstance().getSetting(e.iD),r=e.noOverlay||n==null?void 0:n.overlayed;if(n!==void 0){const{type:a,label:i,description:o}=n;return f.jsxs("div",{children:[a==="bool"&&f.jsx(nUe,{name:t,label:i,description:o,overlayed:r,overlayId:e.overlayId}),a==="int"&&f.jsx(R7,{name:t,label:i,description:o,overlayed:r,overlayId:e.overlayId}),a==="uint"&&f.jsx(R7,{name:t,label:i,description:o,overlayed:r,overlayId:e.overlayId}),a==="string"&&f.jsx(tUe,{name:t,label:i,description:o,overlayed:e.noOverlay||n==null?void 0:n.overlayed,overlayId:e.overlayId})]},t)}else return console.warn("No option found for iD ",t),f.jsx(f.Fragment,{})},CQ=({onClose:e})=>{const[t,n]=l.useState(0);l.useEffect(()=>{const a=()=>{n(o=>o+1)},i=yn.getInstance();return i.addListener(a),()=>{i.resetAll(),i.removeListener(a)}},[]);const r=!yn.getInstance().hasUnchangedChanges();return f.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end"},children:[f.jsx(tt,{disabled:r,onClick:()=>yn.getInstance().resetAll(),children:_t("settings.discard")}),f.jsx(tt,{disabled:r,type:"primary",onClick:()=>yn.getInstance().saveAll(),children:_t("settings.save")}),e?f.jsx(tt,{onClick:()=>{yn.getInstance().resetAll(),e()},children:_t("settings.close")}):""]})},Iv=new Mn(On()),{useToken:rUe}=Ar,aUe=()=>{var S;const{t:e}=Nt(),{token:t}=rUe(),{addNotification:n,setFetchCloudStatus:r}=Qn(),[a,i]=l.useState(),[o,s]=l.useState(51),[c,u]=l.useState(!0),[d,p]=l.useState(""),[g,m]=l.useState(!0);yn.initialize(n,e,r),l.useEffect(()=>{(async()=>{try{const x=await Iv.apiGetTeddyCloudSettingRaw("core.settings_level");if(!x.ok)throw new Error(`HTTP error! status: ${x.status}`);const w=await x.json();p(w.toString())}catch(x){console.error("Error fetching settings level: ",x)}})()},[]),l.useEffect(()=>{if(!d)return;d&&(async()=>{var w,C;m(!0);const x=await Iv.apiGetIndexGet("");(w=x==null?void 0:x.options)!=null&&w.length&&((C=x==null?void 0:x.options)==null?void 0:C.length)>0&&(i(x),yn.getInstance().initializeSettings(x.options,void 0)),m(!1)})()},[d]);const h=async()=>{try{await Iv.apiTriggerWriteConfigGet()}catch(v){n(ft.Error,e("settings.errorWhileSavingConfig"),e("settings.errorWhileSavingConfigDetails")+v,e("tonieboxes.navigationTitle"))}},b=async v=>{try{await Iv.apiPostTeddyCloudSetting("core.settings_level",v),h(),p(v)}catch(x){n(ft.Error,e("settings.errorWhileSavingConfig"),e("settings.errorWhileSavingConfigDetails")+x,e("tonieboxes.navigationTitle"))}};l.useEffect(()=>{const v=document.querySelector("footer"),x=()=>{v&&s(v.offsetHeight||0);const C=window.scrollY,E=window.innerHeight,I=document.documentElement.scrollHeight;C+E>=I-20?u(!1):u(!0)};let w=null;return v&&(s(v.offsetHeight||0),w=new ResizeObserver(C=>{for(let E of C){const I=E.target;I===v&&s(I.offsetHeight)}x()}),w.observe(v)),window.addEventListener("scroll",x),window.addEventListener("resize",x),x(),()=>{window.removeEventListener("scroll",x),window.removeEventListener("resize",x),w&&w.disconnect()}},[]);const y=f.jsx("div",{style:{position:"sticky",bottom:o-1,padding:"16px 0",marginBottom:-24,backgroundColor:t.colorBgContainer,zIndex:501},id:"save-panel",className:"sticky-save-panel",children:f.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:[f.jsx("div",{style:{padding:8,fontSize:"smaller",color:t.colorTextDescription},children:c&&e("settings.keepScrolling")}),f.jsx(CQ,{})]})});return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(sh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("settings.title")}),f.jsx(wn,{message:e("settings.information"),description:f.jsxs("div",{children:[e("settings.hint")," ",f.jsx(ot,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),f.jsx(wn,{message:e("settings.warning"),description:f.jsx("div",{children:e("settings.warningHint")}),type:"info",showIcon:!0,style:{margin:"8px 0"}}),f.jsx(Gn,{children:e("settings.title")}),g?f.jsx(yu,{}):f.jsx(SQ,{initialValues:{test:"test"},onSubmit:v=>{},children:f.jsx(Kt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(S=a==null?void 0:a.options)==null?void 0:S.map((v,x,w)=>{if(v.iD.includes("core.settings_level"))return null;const C=v.iD.split("."),E=w[x-1]?w[x-1].iD.split("."):[];return f.jsxs(de.Fragment,{children:[C.slice(0,-1).map((I,T)=>E[T]!==I?T===0?f.jsxs("h3",{style:{marginLeft:`${T*20}px`,marginBottom:"10px"},children:["Category ",I]},`category-${I}`):f.jsxs("h4",{style:{marginLeft:`${T*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",I]},`category-${I}`):null),f.jsx(wQ,{noOverlay:!0,iD:v.iD})]},x)})})}),f.jsx(Gn,{children:e("settings.levelLabel")}),f.jsxs($i.Group,{value:d,onChange:v=>b(v.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:g||yn.getInstance().hasUnchangedChanges(),children:[f.jsx($i.Button,{value:"1",children:"Basic"},"1"),f.jsx($i.Button,{value:"2",children:"Detail"},"2"),f.jsx($i.Button,{value:"3",children:"Expert"},"3")]}),y]})]})]})},_7=new Mn(On()),PA=({overlay:e})=>{const{t}=Nt(),{addNotification:n,setFetchCloudStatus:r}=Qn(),a=async o=>{const s=new FormData;s.append("file",o);const c={filename:[s.get("file")]},u=async()=>{await _7.apiTriggerWriteConfigGet()};(async p=>{try{await _7.apiUploadCertPost(p,e);try{u()}catch(g){n(ft.Error,t("settings.errorWhileSavingConfig"),t("settings.errorWhileSavingConfigDetails")+g,t(e?"tonieboxes.navigationTitle":"settings.navigationTitle"))}n(ft.Success,t("settings.certificates.uploadSuccessful"),t("settings.certificates.uploadSuccessfulDetails",{filename:o.name}),t(e?"tonieboxes.navigationTitle":"settings.navigationTitle")),r(g=>!g)}catch(g){n(ft.Error,t("settings.certificates.uploadFailed"),t("settings.certificates.uploadFailedDetails",{filename:o.name})+": "+g,t(e?"tonieboxes.navigationTitle":"settings.navigationTitle"))}})(c)},i={name:"file",multiple:!0,beforeUpload:o=>o.type!=="application/x-x509-ca-cert"&&!o.name.endsWith(".der")?(n(ft.Error,t("settings.certificates.uploadFailed"),t("settings.certificates.uploadFailedDetails",{filename:o.name})+": "+t("settings.certificates.invalidFileType"),t(e?"tonieboxes.navigationTitle":"settings.navigationTitle")),rf.LIST_IGNORE):!0,customRequest:async o=>{const{onSuccess:s,onError:c,file:u}=o;try{await a(u),s("Ok")}catch(d){c(d)}},onChange(o){const{status:s}=o.file;s!=="uploading"&&console.log(o.file,o.fileList)},onDrop(o){console.log("Dropped files",o.dataTransfer.files)}};return f.jsxs(rf.Dragger,{...i,children:[f.jsx("p",{className:"ant-upload-drag-icon",children:f.jsx(wk,{})}),f.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),f.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},iUe=()=>{const{t:e}=Nt(),{Paragraph:t}=Sn;return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(sh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("settings.certificates.title")}),f.jsx(t,{children:f.jsx(wn,{message:e("settings.certificates.information"),description:f.jsxs("div",{children:[e("settings.certificates.hint")," ",f.jsx(ot,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),f.jsx(t,{children:f.jsx(PA,{})})]})]})]})};var Ji=(e=>(e.unknown="UNKNOWN",e.cc3200="CC3200",e.cc3235="CC3235",e.esp32="ESP32",e))(Ji||{});const Tv=new Mn(On()),{useToken:oUe}=Ar,sUe=({overlay:e,onClose:t})=>{var v;const{t:n}=Nt(),{token:r}=oUe(),{addNotification:a}=Qn(),[i,o]=l.useState(),[s,c]=l.useState(""),[u,d]=l.useState(!0),[p,g]=l.useState(!0),[m,h]=l.useState(0);yn.initialize(a,n),l.useEffect(()=>{const x=()=>h(C=>C+1),w=yn.getInstance();return w.addListener(x),()=>{w.removeListener(x)}},[]),l.useEffect(()=>{(async()=>{try{const w=await Tv.apiGetTeddyCloudSettingRaw("core.settings_level");if(!w.ok)throw new Error(`HTTP error! status: ${w.status}`);const C=await w.json();c(C.toString())}catch(w){console.error("Error fetching settings level: ",w)}})()},[]),l.useEffect(()=>{if(!s)return;s&&(async()=>{var C,E;d(!0);const w=await Tv.apiGetIndexGet(e);(C=w==null?void 0:w.options)!=null&&C.length&&((E=w==null?void 0:w.options)==null?void 0:E.length)>0&&(o(w),yn.getInstance().initializeSettings(w.options,e)),d(!1)})()},[s]),l.useEffect(()=>{if(u)return;const x=document.querySelector(".ant-modal-wrap.overlay-"+e.toUpperCase());if(x){const w=()=>{g(x.scrollTop+x.clientHeight{x.removeEventListener("scroll",w),window.removeEventListener("resize",w)}}},[u]);const b=async()=>{try{await Tv.apiTriggerWriteConfigGet()}catch(x){a(ft.Error,n("settings.errorWhileSavingConfig"),n("settings.errorWhileSavingConfigDetails")+x,n("tonieboxes.navigationTitle"))}},y=async x=>{try{await Tv.apiPostTeddyCloudSetting("core.settings_level",x),b(),c(x)}catch(w){a(ft.Error,n("settings.errorSettingSettingsLevel"),n("settings.errorSettingSettingsLevelDetails")+w,n("tonieboxes.navigationTitle"))}},S=f.jsx("div",{style:{position:"sticky",bottom:0,padding:"16px 0",marginBottom:8,backgroundColor:r.colorBgElevated,zIndex:501},id:"save-panel",className:"sticky-save-panel",children:f.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:[f.jsx("div",{style:{padding:8,fontSize:"smaller",color:r.colorTextDescription},children:p&&n("settings.keepScrolling")}),f.jsx(CQ,{onClose:t})]})});return f.jsxs(f.Fragment,{children:[f.jsx(wn,{message:n("settings.warning"),description:f.jsx("div",{children:n("settings.warningHint")}),type:"info",showIcon:!0,style:{margin:"8px"}}),f.jsx(Gn,{children:n("settings.title")}),u?f.jsx(yu,{}):f.jsxs(f.Fragment,{children:[f.jsx(SQ,{initialValues:{test:"test"},onSubmit:x=>{},children:f.jsx(Kt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(v=i==null?void 0:i.options)==null?void 0:v.map((x,w,C)=>{if(x.iD.includes("core.settings_level")||!x.iD.includes("core.certdir")&&!x.iD.includes("core.client_cert.")&&!x.iD.includes("core.flex_")&&!x.iD.includes("core.contentdir")&&!x.iD.includes("toniebox.")&&!x.iD.includes("cloud.enabled")&&!x.iD.includes("cloud.enableV1Claim")&&!x.iD.includes("cloud.enableV1CloudReset")&&!x.iD.includes("cloud.enableV1FreshnessCheck")&&!x.iD.includes("cloud.enableV1Log")&&!x.iD.includes("cloud.enableV1Time")&&!x.iD.includes("cloud.enableV1Ota")&&!x.iD.includes("cloud.enableV2Content")&&!x.iD.includes("cloud.cacheOta")&&!x.iD.includes("cloud.localOta")&&!x.iD.includes("cloud.cacheContent")&&!x.iD.includes("cloud.cacheToLibrary")&&!x.iD.includes("cloud.markCustomTagByPass")&&!x.iD.includes("cloud.prioCustomContent")&&!x.iD.includes("cloud.updateOnLowerAudioId")&&!x.iD.includes("cloud.dumpRuidAuthContentJson"))return null;const E=x.iD.split("."),I=C[w-1]?C[w-1].iD.split("."):[];return f.jsxs(de.Fragment,{children:[E.slice(0,-1).map((T,_)=>I[_]!==T?_===0?f.jsxs("h3",{style:{marginLeft:`${_*20}px`,marginBottom:"10px"},children:["Category ",T]},`category-${T}`):f.jsxs("h4",{style:{marginLeft:`${_*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",T]},`category-${T}`):null),f.jsx(wQ,{iD:x.iD,overlayId:e})]},w)})})}),f.jsx(Gn,{children:n("settings.levelLabel")}),f.jsxs($i.Group,{value:s,onChange:x=>y(x.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:u||yn.getInstance().hasUnchangedChanges(),children:[f.jsx($i.Button,{value:"1",children:"Basic"}),f.jsx($i.Button,{value:"2",children:"Detail"}),f.jsx($i.Button,{value:"3",children:"Expert"})]}),S]})]})},$7=new Mn(On());function EQ(){const[e,t]=l.useState([]),[n,r]=l.useState(!0);return l.useEffect(()=>{async function a(){var i=[];r(!0);try{const c=await(await $7.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json();i=[...i,...c]}catch(s){console.error("Error fetching and transforming toniebox data:",s)}try{const c=await(await $7.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json();i=[...i,...c]}catch(s){console.error("Error fetching and transforming custom toniebox data:",s)}const o=i.map(s=>({id:s.id,name:s.name,img_src:s.img_src,crop:s.crop||null}));t(o),r(!1)}a()},[]),{boxModelImages:e,loading:n}}const O7="/web/assets/unknown_box-xU178mnG.png",Ma=new Mn(On()),{Paragraph:oT,Text:lUe}=Sn,{Meta:cUe}=gu,{useToken:uUe}=Ar,dUe=({tonieboxCard:e,tonieboxImages:t})=>{var De,Ge,lt,he;const{t:n}=Nt(),{token:r}=uUe(),{addNotification:a,addLoadingNotification:i,closeLoadingNotification:o}=Qn(),s=pr.language,[c,u]=l.useState(!1),[d,p]=l.useState(""),[g,m]=l.useState(""),[h,b]=l.useState(""),[y,S]=l.useState(!1),[v,x]=l.useState(null),[w,C]=l.useState(),[E,I]=l.useState(!1),[T,_]=l.useState(!1),[R,$]=l.useState(!1),[M,P]=l.useState(e.boxModel),[D,O]=l.useState(e.boxModel),[k,N]=l.useState(e.boxName),[A,L]=l.useState(e.boxName),[j,F]=l.useState(null),[B,z]=l.useState(!1),[U,H]=l.useState(!0),[K,Y]=l.useState(0);l.useEffect(()=>{(async()=>{const ve=await Ma.apiGetTonieboxApiAccess(e.ID);H(ve)})()},[e.ID,E]),l.useEffect(()=>{(async()=>{const Ue=await Ma.apiGetTonieboxStatus(e.ID);u(Ue)})(),(async()=>{const Ue=await Ma.apiGetTonieboxVersion(e.ID),Ae={0:Ji.unknown,1:Ji.cc3200,2:Ji.cc3235,3:Ji.esp32};if(Ue in Ae){const Oe=Ae[Ue];p(Oe)}else p(Ji.unknown)})(),(async()=>{const Ue=await Ma.apiGetTonieboxLastRUID(e.ID);if(Ue!=="ffffffffffffffff"&&Ue!==""){const Ae=await Ma.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const Re=await Ma.apiGetTagIndex(e.ID);q(Re.filter(at=>at.ruid===Ue),Ae)})()}})(),c||(async()=>{const Ae=await Ma.apiGetLastOnline(e.ID);m(Ae)})(),(async()=>{const Ae=await(await Ma.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();b(Ae)})(),W(e.boxModel),O(e.boxModel)},[e.ID,e.boxModel,s]),l.useEffect(()=>{if(h&&d===Ji.cc3200)try{fetch(`http://${h}/api/ajax?cmd=box-battery&sub=stats`).then(re=>re.text()).then(re=>{console.log("Battery Stats fetched --> assume CFW active"),S(!0)}).catch(re=>{console.log("No Battery Stats fetched --> assume CFW not active"),S(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),S(!1)}},[h,d]);const ee=EQ(),ae=[{label:n("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(ee.boxModelImages.map(re=>({label:re.name,value:re.id}))),W=re=>{const ve=t.find(_e=>_e.id===re);F(ve?f.jsx("img",{src:ve.img_src,alt:"",style:{...me(re),position:"absolute",top:"0",left:"0"}}):f.jsx(Ft,{title:f.jsxs(f.Fragment,{children:[n("tonieboxes.modelHint.text")," ",f.jsx(Ul,{onClick:()=>fe()},"edit")," ",n("tonieboxes.modelHint.action"),"!"]}),placement:"bottom",children:f.jsx("img",{src:O7,alt:"",style:{width:"100%",height:"auto",position:"absolute",top:"0",left:"0"}})}))},q=(re,ve)=>{x(f.jsx(f.Fragment,{children:f.jsx(ot,{to:"/tonies?tonieRUID="+re[0].ruid+"&overlay="+e.ID,children:f.jsx(Ft,{placement:"top",zIndex:2,title:n("tonieboxes.lastPlayedTonie")+re[0].tonieInfo.series+(re[0].tonieInfo.episode?" - "+re[0].tonieInfo.episode:"")+(ve?" ("+ve+")":""),children:f.jsx("img",{src:re[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},Z=()=>{(async()=>{var _e,ze;const ve=await Ma.apiGetIndexGet(e.ID);(_e=ve==null?void 0:ve.options)!=null&&_e.length&&((ze=ve==null?void 0:ve.options)==null?void 0:ze.length)>0&&C(ve)})(),Q()},Q=()=>{_(!0)},J=async()=>{_(!1)},le=()=>{_(!1)},ce=()=>{I(!0)},pe=async()=>{I(!1)},te=()=>{I(!1)},ie=()=>{Y(re=>re+1),ce()},fe=()=>{O(D===void 0?M:D),$(!0)},ge=()=>{O(M),L(A),N(A),$(!1)},ne=async()=>{W(D),P(D);const re=async()=>{await Ma.apiTriggerWriteConfigGet()};try{Ma.apiPostTeddyCloudSetting("boxModel",D,e.ID).then(()=>{re()}).then(()=>{a(ft.Success,n("tonieboxes.editModelModal.successOnModelChange"),n("tonieboxes.editModelModal.successOnModelChangeDetails",{model:D,mac:e.ID}),n("tonieboxes.navigationTitle"))}).catch(ve=>{a(ft.Error,n("settings.errorWhileSavingConfig"),n("settings.errorWhileSavingConfigDetails")+ve,n("tonieboxes.navigationTitle"))})}catch(ve){a(ft.Error,n("tonieboxes.editModelModal.errorOnModelChange"),n("tonieboxes.editModelModal.errorOnModelChangeDetails",{mac:e.ID,error:ve}),n("tonieboxes.navigationTitle"))}},ue=async()=>{L(k);const re=async()=>{await Ma.apiTriggerWriteConfigGet()};try{Ma.apiPostTeddyCloudSetting("boxName",k.toString(),e.ID).then(()=>{re()}).then(()=>{a(ft.Success,n("tonieboxes.editModelModal.successOnNameChange"),n("tonieboxes.editModelModal.successOnNameChangeDetails",{name:k,mac:e.ID}),n("tonieboxes.navigationTitle"))}).catch(ve=>{a(ft.Error,n("settings.errorWhileSavingConfig"),n("settings.errorWhileSavingConfigDetails")+ve,n("tonieboxes.navigationTitle"))})}catch(ve){a(ft.Error,n("tonieboxes.editModelModal.errorOnNameChange"),n("tonieboxes.editModelModal.errorOnNameChangeDetails",{mac:e.ID,error:ve}),n("tonieboxes.navigationTitle"))}},me=re=>{const ve=t.find(_e=>_e.id===re);if(ve&&ve.crop){const[_e,ze,Ue]=ve.crop;return{width:"100%",height:"auto",transform:`scale(${Ue}) translateX(${_e}px) translateY(${ze}px)`}}else return{width:"100%",height:"auto"}},xe=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),Ie=async()=>{$(!1),k!==A&&await ue(),M!==D&&await ne()},ke=f.jsx(f.Fragment,{children:f.jsxs(tt,{type:"primary",onClick:Ie,disabled:k===A&&M===D,children:[f.jsx(CY,{},"saveClick")," ",n("tonies.editModal.save")]})}),$e=f.jsxs(_n,{title:f.jsx(f.Fragment,{children:f.jsxs("h3",{children:[n("tonieboxes.editModelModal.editModel",{name:e.boxName}),f.jsx("br",{}),f.jsx(lUe,{type:"secondary",children:(d!=="UNKNOWN"?d:"MAC")+": "+xe()})]})}),open:R,footer:ke,onCancel:ge,children:[f.jsx(Gn,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.name")}),f.jsx(oT,{children:f.jsx(tn,{name:"boxName",value:k,onChange:re=>N(re.target.value),addonBefore:f.jsx(w0,{onClick:()=>N(A),style:{color:k===A?r.colorTextDisabled:r.colorText,cursor:k===A?"default":"pointer"}})})}),f.jsx(Gn,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.model")}),f.jsx(oT,{children:f.jsx(dr,{options:ae,value:D,onChange:re=>O(re)})})]}),Le=f.jsxs(_n,{title:n("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:T,onOk:J,onCancel:le,children:[f.jsxs(oT,{children:[n("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," ",f.jsx("i",{children:(Ge=(De=w==null?void 0:w.options)==null?void 0:De.find(re=>re.iD==="core.certdir"))==null?void 0:Ge.value})," ",f.jsx("small",{children:(he=(lt=w==null?void 0:w.options)==null?void 0:lt.find(re=>re.iD==="core.certdir"))!=null&&he.overlayed?n("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):n("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),f.jsx(PA,{overlay:e.ID})]}),je=f.jsx(_n,{title:n("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:E,onOk:pe,onCancel:te,footer:null,wrapClassName:"overlay-"+e.ID,children:f.jsx(sUe,{onClose:te,overlay:e.ID},K)}),He=()=>{const re="loading"+e.ID;try{i(re,n("tonieboxes.messages.deleting"),n("tonieboxes.messages.deletingDetails",{mac:e.ID})),Ma.apiPostTeddyCloudRaw("/api/settings/removeOverlay?overlay="+e.ID).then(ve=>ve.text()).then(ve=>{o(re),ve==="OK"?(a(ft.Success,n("tonieboxes.messages.deleteSuccessful"),n("tonieboxes.messages.deleteSuccessfulDetails",{mac:e.ID}),n("tonieboxes.navigationTitle")),window.location.reload()):a(ft.Error,n("tonieboxes.messages.deleteFailed"),n("tonieboxes.messages.deleteFailedDetails",{mac:e.ID}),n("tonieboxes.navigationTitle"))}).catch(ve=>{o(re),a(ft.Error,n("tonieboxes.messages.deleteFailed"),n("tonieboxes.messages.deleteFailedDetails",{mac:e.ID})+": "+ve,n("tonieboxes.navigationTitle"))})}catch(ve){o(re),a(ft.Error,n("tonieboxes.messages.deleteFailed"),n("tonieboxes.messages.deleteFailedDetails",{mac:e.ID})+": "+ve,n("tonieboxes.navigationTitle"))}},Be=()=>{z(!0)},Pe=()=>{He(),z(!1)},Se=()=>{z(!1)},Ne=f.jsx(uf,{title:n("tonieboxes.confirmDeleteModal"),open:B,okText:n("tonieboxes.delete"),cancelText:n("tonieboxes.cancel"),content:n("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:A}),handleOk:Pe,handleCancel:Se}),Te=async()=>{try{await Ma.apiTriggerWriteConfigGet()}catch(re){a(ft.Error,n("settings.errorWhileSavingConfig"),n("settings.errorWhileSavingConfigDetails")+re,n("tonieboxes.navigationTitle"))}},Ce=async()=>{try{Ma.apiPostTeddyCloudSetting("toniebox.api_access",!U,e.ID).then(()=>{Te(),H(!U),U?a(ft.Success,n("tonieboxes.messages.apiAccessDisabled"),n("tonieboxes.messages.apiAccessDisabledDetails",{mac:e.ID}),n("tonieboxes.navigationTitle")):a(ft.Success,n("tonieboxes.messages.apiAccessEnabled"),n("tonieboxes.messages.apiAccessEnabledDetails",{mac:e.ID}),n("tonieboxes.navigationTitle"))}).catch(re=>{throw new Error(re.status+" "+re.statusText)})}catch(re){a(ft.Error,n("tonieboxes.messages.apiAccessNotChangedError"),n("tonieboxes.messages.apiAccessNotChangedErrorDetails",{mac:e.ID})+re,n("tonieboxes.navigationTitle"))}};return f.jsxs(f.Fragment,{children:[f.jsx(gu,{hoverable:!1,size:"default",style:{background:r.colorBgContainerDisabled,cursor:"default"},title:f.jsx("span",{children:A}),cover:f.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[v,f.jsx("img",{src:O7,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),j]}),actions:[f.jsx(f.Fragment,{children:U?c?f.jsx(Ft,{title:n("tonieboxes.online"),children:f.jsx(Z_,{style:{color:"green",cursor:"default"}})}):f.jsx(Ft,{title:n("tonieboxes.offline")+(g?" - "+n("tonieboxes.lastOnline")+": "+g:""),children:f.jsx(Z_,{style:{color:r.colorTextDescription,cursor:"default"}})}):f.jsx(Ft,{title:n("tonieboxes.accessApiDisabled"),children:f.jsx(xY,{style:{color:"red",cursor:"pointer"},onClick:Ce})})}),f.jsx(Ul,{onClick:()=>fe()},"edit"),f.jsx(Ck,{style:{marginRight:8},onClick:Z},"certificate"),f.jsx(Ek,{style:{marginRight:8},onClick:ie},"edit"),f.jsx(Hl,{style:{marginRight:8},onClick:Be},"delete")],children:f.jsx(cUe,{description:[(d!=="UNKNOWN"&&d!==void 0&&d!==null?d:"MAC")+" ",y?f.jsx(Ft,{title:n("tonieboxes.linkToBoxCFW"),children:f.jsxs(ot,{to:"http://"+h,target:"_blank",children:[xe()," ",f.jsx(ATe,{})]})}):xe()]})}),je,Le,$e,Ne]})},fUe=({tonieboxCards:e})=>{const{t}=Nt(),{addNotification:n}=Qn(),r=EQ();if(l.useEffect(()=>{!r.loading&&r.boxModelImages.length===0&&n(ft.Error,t("settings.notifications.error"),t("tonieboxes.errorFetchingModels"),t("tonieboxes.navigationTitle"))},[r.loading,r.boxModelImages.length]),r.loading)return f.jsx(yu,{});const a=()=>f.jsx(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE,description:f.jsxs("div",{children:[f.jsx("p",{children:t("tonieboxes.noData")}),f.jsx("p",{children:t("tonieboxes.noDataText")})]})});return f.jsx(Rr,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:i=>f.jsx(Rr.Item,{id:i.ID,children:f.jsx(dUe,{tonieboxCard:i,tonieboxImages:r.boxModelImages})}),locale:{emptyText:a()}})},N7=new Mn(On()),pUe=()=>{const{t:e}=Nt(),{addNotification:t}=Qn(),[n,r]=l.useState([]),[a,i]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const u=await N7.apiGetTonieboxesIndex();r(u)}catch(u){t(ft.Error,e("tonieboxes.errorFetchingTonieboxes"),e("tonieboxes.errorFetchingTonieboxes")+": "+u,e("tonieboxes.navigationTitle"))}})(),(async()=>{try{const u=await N7.apiGetNewBoxesAllowed();i(u)}catch(u){t(ft.Error,e("settings.errorFetchingSetting"),e("settings.errorFetchingSettingDetails",{setting:"core.allowNewBox"})+u,e("tonieboxes.navigationTitle"))}})()},[]);const o=a?f.jsx(wn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonieboxes.title")}),o,f.jsx(fUe,{tonieboxCards:n})]})]})]})},gUe=new Mn(On()),{Paragraph:tl}=Sn,{useToken:mUe}=Ar,hUe=()=>{const{t:e}=Nt(),{token:t}=mUe(),{addNotification:n}=Qn(),[r,a]=l.useState(!0),[i,o]=l.useState([]),s=[{id:"cc3200",url:"https://forum.revvox.de/t/teddycloud-cc3200-newbie-guide/925/1",title:"TeddyCloud CC3200 Newbie HowTo"},{id:"cc3235",url:"https://forum.revvox.de/t/teddycloud-cc3235-newbie-howto/899/1",title:"TeddyCloud CC3235 Newbie HowTo"},{id:"esp32",url:"https://forum.revvox.de/t/teddycloud-esp32-newbie-documentation-deprecated/112/1",title:"TeddyCloud ESP32 Newbie HowTo"}],c=async()=>{const d=await Promise.all(s.map(async({id:p,url:g,title:m})=>{try{if((await fetch(g,{method:"HEAD",mode:"no-cors"})).status===0)return{id:p,url:g,title:m}}catch{}return null}));o(d.filter(p=>p!==null))};l.useEffect(()=>{c()},[]),l.useEffect(()=>{(async()=>{try{const p=await gUe.apiGetNewBoxesAllowed();a(p)}catch(p){n(ft.Error,e("settings.errorFetchingSetting"),e("settings.errorFetchingSettingDetails",{setting:"core.allowNewBox"})+p,e("tonieboxes.navigationTitle"))}})()},[]);const u=[{children:f.jsxs(f.Fragment,{children:[f.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.setupTeddyCloud")}),f.jsx(tl,{children:e("tonieboxes.boxSetup.setupTeddyCloudText")}),f.jsx("ul",{children:f.jsxs("li",{children:[f.jsxs(ot,{to:"#",onClick:()=>x$(!0),children:[e("tonieboxes.downloadC2DerFile")," (CC3200)"]})," ","|"," ",f.jsxs(ot,{to:"#",onClick:()=>x$(!1),children:[e("tonieboxes.downloadCADerFile")," (CC3235, ESP32)"]})]})})]}),dot:f.jsx(Y_,{}),color:t.colorSuccess,style:{paddingBottom:8}},{children:f.jsxs(f.Fragment,{children:[f.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.identifyTonieboxVersion")}),f.jsx(tl,{children:e("tonieboxes.boxSetup.identifyTonieboxVersionText")}),f.jsxs("ul",{children:[f.jsx("li",{children:f.jsx(ot,{to:"/tonieboxes/boxsetup/boxversioninfo",children:e("tonieboxes.boxSetup.boxVersion.title")})}),f.jsx("li",{children:f.jsx(ot,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.openBoxGuide.title")})}),f.jsx("li",{children:f.jsx(ot,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyTonieboxVersion")})})]})]}),dot:f.jsx(Hm,{}),style:{paddingBottom:8}},{children:f.jsxs(f.Fragment,{children:[f.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.flashBox")}),f.jsx(tl,{children:e("tonieboxes.boxSetup.flashBoxText")}),f.jsxs("ul",{children:[f.jsxs("li",{children:[f.jsx(ot,{to:"/tonieboxes/boxsetup/esp32/flashing",children:"ESP32"}),f.jsx("ul",{style:{marginBottom:0},children:f.jsx("li",{children:f.jsx(ot,{to:"/tonieboxes/boxsetup/esp32/legacy",children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})})]}),f.jsx("li",{children:f.jsx(ot,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:"CC3200"})}),f.jsx("li",{children:f.jsx(ot,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:"CC3235"})})]}),i.length>0&&f.jsxs(tl,{children:[f.jsx(tl,{children:e("tonieboxes.boxSetup.newbieGuides")}),f.jsx("ul",{children:i.map(({id:d,url:p,title:g})=>f.jsx("li",{children:f.jsx("a",{href:p,target:"_blank",children:g})},d))})]})]}),dot:f.jsx(Np,{}),style:{paddingBottom:8}},{children:f.jsxs(f.Fragment,{children:[f.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.useIt")}),f.jsx(tl,{children:e("tonieboxes.boxSetup.useItText")})]}),dot:f.jsx(EY,{}),style:{paddingBottom:8}}];return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonieboxes.boxSetup.title")}),!r&&f.jsx(wn,{type:"warning",showIcon:!0,message:e("tonieboxes.noNewBoxesAllowed"),description:e("tonieboxes.noNewBoxesAllowedText"),style:{marginBottom:16}}),f.jsx(wn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),f.jsxs(tl,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.boxSetupIntro1")," ",f.jsx(ot,{to:Ad,target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroForum")})," ",e("tonieboxes.boxSetup.boxSetupIntro2")," ",f.jsx(ot,{to:qk,target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroTelegram")})," ",e("tonieboxes.boxSetup.boxSetupIntro3")]}),f.jsx(tl,{style:{marginTop:16},children:f.jsx(Lk,{items:u})})," "]})]})]})},{Paragraph:nl,Title:k7}=Sn,vUe=()=>{const{t:e}=Nt(),t=[{name:"V1/V2 CC3200",pros:[e("tonieboxes.boxSetup.boxVersion.cc3200pro1"),e("tonieboxes.boxSetup.boxVersion.cc3200pro2"),e("tonieboxes.boxSetup.boxVersion.cc3200pro3"),e("tonieboxes.boxSetup.boxVersion.cc3200pro4"),e("tonieboxes.boxSetup.boxVersion.cc3200pro5")],cons:[e("tonieboxes.boxSetup.boxVersion.cc3200con1")]},{name:"V3 CC3235",pros:[],cons:[e("tonieboxes.boxSetup.boxVersion.cc3235con1"),e("tonieboxes.boxSetup.boxVersion.cc3235con2"),e("tonieboxes.boxSetup.boxVersion.cc3235con3")]},{name:"V4 ESP32",pros:[e("tonieboxes.boxSetup.boxVersion.esp32pro1"),e("tonieboxes.boxSetup.boxVersion.esp32pro2"),e("tonieboxes.boxSetup.boxVersion.esp32pro3")],cons:[e("tonieboxes.boxSetup.boxVersion.esp32con1"),e("tonieboxes.boxSetup.boxVersion.esp32con2")]}],n=({versions:r})=>f.jsx(da,{gutter:16,justify:"start",children:r.map((a,i)=>f.jsx(En,{xs:24,md:12,xl:8,children:f.jsxs(gu,{title:a.name,size:"small",bordered:!0,style:{marginBottom:8},children:[f.jsx(k7,{level:5,style:{marginTop:0},children:e("tonieboxes.boxSetup.boxVersion.pros")}),a.pros.length>0?f.jsx(Rr,{dataSource:a.pros,renderItem:o=>f.jsxs(Rr.Item,{style:{flexWrap:"nowrap",alignItems:"flex-start"},children:[f.jsx($f,{style:{color:"green",marginRight:8,marginTop:4}}),f.jsx(nl,{style:{marginBottom:0,textAlign:"right"},children:o})]})}):f.jsx(Rr.Item,{children:f.jsx(nl,{style:{marginBottom:0,textAlign:"center"},children:e("tonieboxes.boxSetup.boxVersion.emptyPros")})}),f.jsx(k7,{level:5,style:{marginTop:0},children:e("tonieboxes.boxSetup.boxVersion.cons")}),a.cons.length>0?f.jsx(Rr,{dataSource:a.cons,renderItem:o=>f.jsxs(Rr.Item,{style:{flexWrap:"nowrap",alignItems:"flex-start"},children:[f.jsx(va,{style:{color:"red",marginRight:8,marginTop:4}}),f.jsx(nl,{style:{marginBottom:0,textAlign:"right"},children:o})]})}):f.jsx(Rr.Item,{children:f.jsx(nl,{style:{marginBottom:0,textAlign:"center"},children:e("tonieboxes.boxSetup.boxVersion.emptyCons")})})]})},i))});return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.boxVersion.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonieboxes.boxSetup.boxVersion.title")}),f.jsxs(nl,{children:[e("tonieboxes.boxSetup.boxVersion.intro"),f.jsxs("ul",{children:[f.jsxs("li",{children:[f.jsx("b",{children:"V1/V2"}),": ",e("tonieboxes.boxSetup.boxVersion.uses")," TI CC3200"]}),f.jsxs("li",{children:[f.jsx("b",{children:"V3"}),": ",e("tonieboxes.boxSetup.boxVersion.uses")," TI CC3235"]}),f.jsxs("li",{children:[f.jsx("b",{children:"V4"}),": ",e("tonieboxes.boxSetup.boxVersion.uses")," ESP32"]})]})]}),f.jsx("h3",{children:e("tonieboxes.boxSetup.boxVersion.whatVersion")}),f.jsx(nl,{children:e("tonieboxes.boxSetup.boxVersion.whatVersionIntro")}),f.jsx(n,{versions:t}),f.jsx("h4",{children:e("tonieboxes.boxSetup.boxVersion.whatVersionConclusionHeader")}),f.jsx(nl,{children:e("tonieboxes.boxSetup.boxVersion.whatVersionConclusion")}),f.jsx("h3",{children:e("tonieboxes.boxSetup.boxVersion.howToIdentify")}),f.jsxs(nl,{children:[e("tonieboxes.boxSetup.boxVersion.howToIdentifyIntro"),f.jsxs("ul",{children:[f.jsxs("li",{children:[f.jsx("b",{children:e("tonieboxes.boxSetup.boxVersion.countryOfManufacture")})," ",e("tonieboxes.boxSetup.boxVersion.countryOfManufactureText")]}),f.jsxs("li",{children:[f.jsx("b",{children:e("tonieboxes.boxSetup.boxVersion.macAddressCheck")})," ",e("tonieboxes.boxSetup.boxVersion.macAddressCheckText")]})]}),e("tonieboxes.boxSetup.boxVersion.howToIdentifyOutro")," ",f.jsx(ot,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyTonieboxVersion")})]})]})]})]})},bUe="/web/assets/3235_pcb-BE0vs2bl.png",yUe="/web/assets/3235_pcb_preview-DkVKgZS0.png",xUe="/web/assets/3200_pcb-Dxz0Vi-z.png",SUe="/web/assets/3200_pcb_preview-BvQM-e4R.png",wUe="/web/assets/cc3200-B-jSkbsy.jpg",CUe="/web/assets/cc3235-Cr21bWbC.jpg",EUe="/web/assets/esp32_pcb-CWEYHEzm.png",IUe="/web/assets/esp32_pcb_preview-Bh1UGQPK.png",TUe="/web/assets/esp32-B_b6hCjy.jpg",{Paragraph:sa}=Sn,{useToken:RUe}=Ar,_Ue=()=>{const{t:e}=Nt(),{token:t}=RUe(),n=cu(),[r,a]=l.useState(""),[i,o]=l.useState(""),[s,c]=l.useState(null),[u,d]=l.useState(null),p=C=>C.replace(/[^a-zA-Z0-9-:]/g,"").trim(),g=async()=>{c(null),d(null);try{const C=await fetch(`https://api.macvendors.com/${encodeURIComponent(r)}`);if(!C.ok)throw new Error("MAC address not found or invalid");const E=await C.text();c(E)}catch(C){d(C.message)}},[m,h]=l.useState(s!=null&&s.toLowerCase().includes("espressif")?"esp32":"cc3200");l.useEffect(()=>{s!=null&&s.toLowerCase().includes("espressif")?h("esp32"):h("cc3200")},[s]);const b=f.jsxs(f.Fragment,{children:[f.jsx(sa,{children:e("tonieboxes.boxSetup.identifyVersion.cc3200text")}),f.jsx(sa,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",gap:16},children:f.jsxs(fn.PreviewGroup,{children:[f.jsx(sa,{style:{maxWidth:400},children:f.jsx(fn,{src:xUe,alt:"PCB CC3200",placeholder:f.jsx(fn,{preview:!1,src:SUe})})}),f.jsx(sa,{style:{maxWidth:"100%"},children:f.jsx(fn,{src:wUe,style:{height:300,width:"auto"},alt:"Chip CC3200"})})]})})]}),y=f.jsxs(f.Fragment,{children:[f.jsx(sa,{children:e("tonieboxes.boxSetup.identifyVersion.cc3235text")}),f.jsx(sa,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",gap:16},children:f.jsxs(fn.PreviewGroup,{children:[f.jsx(sa,{style:{maxWidth:400},children:f.jsx(fn,{src:bUe,alt:"PCB CC3235",placeholder:f.jsx(fn,{preview:!1,src:yUe})})}),f.jsx(sa,{style:{maxWidth:"100%"},children:f.jsx(fn,{src:CUe,style:{height:300,width:"auto"},alt:"Chip CC3235"})})]})})]}),S=f.jsxs(f.Fragment,{children:[f.jsx(sa,{children:e("tonieboxes.boxSetup.identifyVersion.esp32text")}),f.jsx(sa,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",gap:16},children:f.jsxs(fn.PreviewGroup,{children:[f.jsx(sa,{style:{maxWidth:400},children:f.jsx(fn,{src:EUe,alt:"PCB ESP32",placeholder:f.jsx(fn,{preview:!1,src:IUe})})}),f.jsx(sa,{style:{maxWidth:"100%"},children:f.jsx(fn,{src:TUe,style:{height:300,width:"auto"},alt:"Chip ESP32"})})]})})]}),v=[{key:"cc3200",label:"CC3200",children:b},{key:"cc3235",label:"CC3235",children:y},{key:"esp32",label:"ESP32",children:S}],x=f.jsxs(f.Fragment,{children:[f.jsx(ef,{activeKey:m,onChange:C=>h(C),defaultActiveKey:s!=null&&s.toLowerCase().includes("espressif")?"esp32":"cc3200",items:v.filter(C=>((s==null?void 0:s.toLowerCase().includes("texas"))||!s)&&C.key==="cc3200"||((s==null?void 0:s.toLowerCase().includes("texas"))||!s)&&C.key==="cc3235"||((s==null?void 0:s.toLowerCase().includes("espressif"))||!s)&&C.key==="esp32"),indicator:{size:C=>C-20,align:"center"}}),f.jsxs(sa,{children:[e("tonieboxes.boxSetup.identifyVersion.proceedToFlash1")," "]}),f.jsx(sa,{style:{marginTop:16},children:f.jsx(tt,{type:"primary",onClick:()=>n(`../tonieboxes/boxsetup/${m}/flashing`),children:`${m.toUpperCase()} ${e("tonieboxes.boxSetup.identifyVersion.proceedToFlashLinkText")}`})})]}),w=()=>{a(""),c(null),o(""),d(null)};return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonieboxes.boxSetup.identifyVersion.title")}),f.jsxs(Kt,{children:[f.jsxs(sa,{children:[e("tonieboxes.boxSetup.identifyVersion.identifyUsingMac")," "]}),f.jsxs(Kt.Item,{children:[f.jsxs(da,{align:"middle",style:{display:"flex",alignItems:"center"},children:[f.jsx(En,{style:{flex:"0 0 250px",color:i?"#CC3010":"unset"},children:f.jsx("label",{children:e("tonieboxes.boxSetup.identifyVersion.mac")})}),f.jsx(En,{style:{flex:"1 1 auto"},children:f.jsx(tn,{type:"text",value:r,onChange:C=>{let E=p(C.target.value),I="";E.length>17?I=e("tonieboxes.boxSetup.identifyVersion.boxMacTooLong"):I="",a(E),o(I)},addonBefore:f.jsx(va,{onClick:w,style:{color:r?t.colorText:t.colorTextDisabled,cursor:r?"pointer":"default"}})})})]}),i&&f.jsx("p",{style:{color:"#CC3010"},children:i})]}),f.jsx(tt,{icon:f.jsx(xk,{}),disabled:r.length>17||r.length===0,type:"primary",onClick:g,children:e("tonieboxes.boxSetup.identifyVersion.identify")}),f.jsxs(sa,{style:{fontSize:"small",marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.macvendors")," ",f.jsx(ot,{to:"https://macvendors.com/",target:"_blank",children:e("tonieboxes.boxSetup.identifyVersion.macvendorsLink")})]})]}),s?f.jsxs(f.Fragment,{children:[f.jsx(wn,{style:{marginTop:16},type:"success",description:f.jsxs(f.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.vendor"),": ",f.jsx("b",{children:s})," ",e("tonieboxes.boxSetup.identifyVersion.boxVersion"),s.includes("Espressif")?f.jsx("b",{children:" ESP32"}):f.jsxs(f.Fragment,{children:[f.jsx("b",{children:" CC3200"})," ",e("tonieboxes.boxSetup.identifyVersion.or"),f.jsx("b",{children:" CC3235"})]})," ",e("tonieboxes.boxSetup.identifyVersion.version"),"."]})}),s.toLowerCase().includes("texas")?f.jsx(sa,{style:{marginTop:16},children:e("tonieboxes.boxSetup.identifyVersion.tiInstruction")}):""]}):u?f.jsx(wn,{style:{marginTop:16},type:"error",description:f.jsx(f.Fragment,{children:e("tonieboxes.boxSetup.identifyVersion.errorMac")})}):"",f.jsxs(sa,{style:{marginTop:16},children:[s?"":f.jsxs(f.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.generalInstruction1")," ",f.jsx(Ft,{title:e("tonieboxes.boxSetup.openBoxGuide.linkTooltip"),children:f.jsx(ot,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.identifyVersion.generalInstructionLinkText")})})," ",e("tonieboxes.boxSetup.identifyVersion.generalInstruction2")]}),x]})]})]})]})},$Ue="/web/assets/openTB_step1_1-4vwQGflo.png",OUe="/web/assets/openTB_step1_2-DIZc5DI4.png",NUe="/web/assets/openTB_step2-DhjDRq3m.png",kUe="/web/assets/openTB_step3-Dn6Mo3hQ.png",AUe="/web/assets/openTB_step4-Bj5i-Kw_.png",DUe="/web/assets/openTB_step5-DTGOEBgD.png",{Paragraph:ms}=Sn;function MUe(){const{t:e}=Nt(),[t,n]=l.useState(!0),[r,a]=l.useState(500);l.useEffect(()=>{let o;return o=window.setInterval(()=>{n(s=>!s),a(s=>s===500?2e3:500)},r),()=>clearInterval(o)},[r]);const i=[{children:f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step1")}),t?f.jsx(fn,{src:$Ue,style:{maxWidth:350},alt:""}):f.jsx(fn,{src:OUe,style:{maxWidth:350},alt:""}),f.jsxs(ms,{style:{marginTop:16},children:[f.jsxs("ul",{children:[f.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step1Text1")}),f.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step1Text2")})]}),f.jsxs(ms,{children:[f.jsx(no,{})," ",e("tonieboxes.boxSetup.openBoxGuide.step1Text3")]})]})]}),style:{paddingBottom:8}},{children:f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step2")}),f.jsx(fn,{style:{maxWidth:350},src:NUe,alt:""}),f.jsx(ms,{style:{marginTop:16},children:f.jsx("ul",{children:f.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step2Text")})})})]}),style:{paddingBottom:8}},{children:f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step3")}),f.jsx(fn,{style:{maxWidth:350},src:kUe,alt:""}),f.jsx(ms,{style:{marginTop:16},children:f.jsx("ul",{children:f.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step3Text")})})})]}),style:{paddingBottom:8}},{children:f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step4")}),f.jsx(fn,{style:{maxWidth:350},src:AUe,alt:""}),f.jsx(ms,{style:{marginTop:16},children:f.jsx("ul",{children:f.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step4Text")})})})]}),style:{paddingBottom:8}},{children:f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step5")}),f.jsx(fn,{style:{maxWidth:350},src:DUe,alt:""}),f.jsx(ms,{style:{marginTop:16},children:f.jsxs("ul",{children:[f.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step5Text1")}),f.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step5Text2")})]})})]}),style:{paddingBottom:8}},{children:f.jsx(f.Fragment,{children:f.jsx(ms,{children:e("tonieboxes.boxSetup.openBoxGuide.finally")})}),dot:f.jsx(EY,{}),style:{paddingBottom:8}}];return f.jsxs(f.Fragment,{children:[f.jsx("h1",{children:e("tonieboxes.boxSetup.openBoxGuide.title")}),f.jsxs(ms,{style:{fontSize:"small"},children:[e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart1")," ",f.jsx(ot,{to:e("tonieboxes.boxSetup.openBoxGuide.link1"),target:"_blank",children:"iFixit[1]"})," ",e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart2")," ",f.jsx(ot,{to:e("tonieboxes.boxSetup.openBoxGuide.link2"),target:"_blank",children:"iFixit[2]"}),". ",e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart3")," ",f.jsx(ot,{to:"https://www.ifixit.com/User/828031/Tobias+Isakeit",children:"Tobias Isakeit"})," ",e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart4")," ",f.jsxs(ot,{to:"https://creativecommons.org/licenses/by-nc-sa/3.0/",target:"_blank",children:[e("tonieboxes.boxSetup.openBoxGuide.guideSourceLicense"),"."]})]}),f.jsx(fn.PreviewGroup,{children:f.jsx(Lk,{mode:"left",items:i})}),f.jsxs(ms,{children:[e("tonieboxes.boxSetup.openBoxGuide.alternativeGuidelineVideo")," ",f.jsx(ot,{to:"https://www.youtube.com/watch?v=Cv9ID4-P6_A",target:"_blank",children:"https://www.youtube.com/watch?v=Cv9ID4-P6_A"})]})]})}const PUe=()=>{const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}]}),f.jsx(Pn,{children:MUe()})]})]})},LUe="/web/assets/tb-esp32-uart-clamp-D_86EMpu.png",jUe="/web/assets/esp32_pcb_clamp-Cw2o3uco.png",FUe="/web/assets/tb-esp32-uart-BDPWj6EB.png",BUe="/web/assets/uart_3v3-5V_jumper_black-BW2kS97B.jpg",zUe="/web/assets/uart_3v3-5V_jumper_switch-Cl7yHFlu.jpg",HUe="/web/assets/uart_3v3-5V_jumper_yellow-d4JFD7jo.jpg",sT=new Mn(On());function IQ(){const{t:e}=Nt();return f.jsx(wn,{type:"warning",showIcon:!0,message:e("tonieboxes.boxSetup.UARTHint.title"),description:f.jsxs(f.Fragment,{children:[e("tonieboxes.boxSetup.UARTHint.description"),f.jsxs("div",{style:{marginTop:"8px",display:"flex",gap:8},children:[f.jsx(fn,{src:BUe,preview:!1,alt:e("tonieboxes.boxSetup.UARTHint.imageAlt1"),style:{maxHeight:75}}),f.jsx(fn,{src:zUe,preview:!1,alt:e("tonieboxes.boxSetup.UARTHint.imageAlt2"),style:{maxHeight:75}}),f.jsx(fn,{src:HUe,preview:!1,alt:e("tonieboxes.boxSetup.UARTHint.imageAlt3"),style:{maxHeight:75}})]}),f.jsx("div",{style:{marginTop:"10px"},children:e("tonieboxes.boxSetup.UARTHint.warning")})]})})}const{Paragraph:sn}=Sn;function TQ(){const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(sn,{children:IQ()}),f.jsx(sn,{children:e("tonieboxes.connectESP32Modal.connectESP32Text1")}),f.jsx(sn,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center"},children:f.jsx(fn,{src:FUe,style:{height:200,width:"auto"},preview:!1,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103")})}),f.jsx("h5",{children:e("tonieboxes.connectESP32Modal.esp32UartJ103ClampTitle")}),f.jsx(sn,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexWrap:"wrap",gap:16},children:f.jsxs(fn.PreviewGroup,{children:[f.jsxs("div",{style:{maxWidth:200},children:[f.jsx(fn,{style:{height:200,width:"auto"},src:LUe,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp")}),f.jsx(sn,{style:{marginTop:8},children:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp")})]}),f.jsxs("div",{style:{maxWidth:200},children:[f.jsx(fn,{style:{height:200,width:"auto"},src:jUe,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103AnalogClamp")}),f.jsx(sn,{style:{marginTop:8},children:e("tonieboxes.connectESP32Modal.esp32UartJ103AnalogClamp")})]})]})}),f.jsx(sn,{children:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp4PinHint")}),f.jsx(sn,{children:e("tonieboxes.connectESP32Modal.connectESP32Text2")}),f.jsx(wn,{type:"warning",message:e("tonieboxes.connectESP32Modal.beware"),description:e("tonieboxes.connectESP32Modal.warningText")}),f.jsx("h5",{children:e("tonieboxes.connectESP32Modal.normalMode")}),f.jsx(sn,{children:e("tonieboxes.connectESP32Modal.normalModeText")}),f.jsx(mn,{language:"shell",code:`ESP-ROM:esp32s3-20210327 -Build:Mar 27 2021 -rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) -SPIWP:0xee -mode:DIO, clock div:1 -load:0x3fcd0108,len:0x118 -load:0x403b6000,len:0xb90 -load:0x403ba000,len:0x27f4 -entry 0x403b61c4 -+ gibberish`}),f.jsx("h5",{children:e("tonieboxes.connectESP32Modal.downloadMode")}),f.jsx(sn,{children:e("tonieboxes.connectESP32Modal.downloadModeText")}),f.jsx(mn,{language:"shell",code:`ESP-ROM:esp32s3-20210327 -Build:Mar 27 2021 -rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0)) -waiting for download -J103 Pinout`})]})}function LA(e){const{t}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(sn,{children:t("tonieboxes.boxFlashingCommon.certificatesIntro")}),f.jsx(sn,{children:f.jsx(tt,{onClick:()=>x$(e),children:t(e?"tonieboxes.downloadC2DerFile":"tonieboxes.downloadCADerFile")})}),f.jsx("h4",{children:t("tonieboxes.boxFlashingCommon.dumpCertificates")}),f.jsx(sn,{children:t("tonieboxes.boxFlashingCommon.dumpCertificatesIntro1")}),f.jsx(sn,{children:t("tonieboxes.boxFlashingCommon.dumpCertificatesIntro2")})]})}function RQ(){const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.title")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.intro")}),f.jsxs("ul",{children:[f.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.installCC3200Tool.pythonText1"),f.jsx(ot,{to:"https://www.python.org/downloads/",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.pythonTextLink")}),e("tonieboxes.boxFlashingCommon.installCC3200Tool.pythonText2")]}),f.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.installCC3200Tool.gitText1"),f.jsx(ot,{to:"https://git-scm.com/book/en/v2/Getting-Started-Installing-Git",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.gitTextLink")}),e("tonieboxes.boxFlashingCommon.installCC3200Tool.gitText2")]}),f.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.installCC3200Tool.pipText1"),f.jsx(ot,{to:"https://pip.pypa.io/en/stable/installation/",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.pipTextLink")}),e("tonieboxes.boxFlashingCommon.installCC3200Tool.pipText2")]})]}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.text")}),f.jsx(sn,{children:f.jsx(mn,{language:"shell",code:"pip install git+git://github.com/toniebox-reverse-engineering/cc3200tool.git"})}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.textAlternatively")}),f.jsx(sn,{children:f.jsx(mn,{language:"shell",code:"pip install git+https://github.com/toniebox-reverse-engineering/cc3200tool.git"})}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.moreInformation")}),f.jsx(ot,{to:"https://github.com/toniebox-reverse-engineering/cc3200tool",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.link")})]})}function _Q(){const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.dnsHint")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.dnsText1")}),f.jsx(wn,{type:"warning",showIcon:!0,message:e("tonieboxes.boxFlashingCommon.dnsBeware"),description:e("tonieboxes.boxFlashingCommon.dnsBewareText"),style:{marginBottom:16}}),f.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.alternativeDNSSolutions")}),f.jsx("h5",{children:e("tonieboxes.boxFlashingCommon.openWrt.usingOpenWrt")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.openWrt.dnsText2")}),f.jsx(sn,{children:f.jsx(mn,{language:"shell",code:`uci set dhcp.teddycloud="tag" -uci set dhcp.teddycloud.dhcp_option="3,1.2.3.4" # 1.2.3.4=teddycloud ip - -uci add dhcp host -uci set dhcp.@host[-1].name="toniebox_1" -uci set dhcp.@host[-1].mac="00:11:22:33:44:55" # toniebox mac -uci set dhcp.@host[-1].ip="1.2.3.101" # toniebox_1 ip -uci set dhcp.@host[-1].tag="teddycloud" -uci commit dhcp -/etc/init.d/dnsmasq restart`})}),f.jsx("h5",{children:e("tonieboxes.boxFlashingCommon.adguard.usingAdGuard")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.setupInstructionsTitle")}),f.jsx("strong",{children:e("tonieboxes.boxFlashingCommon.adguard.prerequisitesTitle")}),f.jsxs("ul",{children:[f.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.adguard.adGuardRequirement"),f.jsx("ul",{style:{marginBottom:0},children:f.jsxs("li",{children:[" ",e("tonieboxes.boxFlashingCommon.adguard.moreInformation")," ",f.jsx(ot,{to:"https://adguard.com/",target:"_blank",children:"https://adguard.com/"})]})})]}),f.jsx("li",{children:e("tonieboxes.boxFlashingCommon.adguard.teddyCloudIp")}),f.jsx("li",{children:e("tonieboxes.boxFlashingCommon.adguard.tonieboxIp")})]}),f.jsx(sn,{children:f.jsx("strong",{children:e("tonieboxes.boxFlashingCommon.adguard.stepsTitle")})}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.step1Title")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.step1Instructions")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.step2Title")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.step2Instructions")}),f.jsx(mn,{language:"shell",code:`||prod.de.tbs.toys^$dnsrewrite=NOERROR;A;XXX.XXX.XXX.XXX,client=YYY.YYY.YYY.YYY -||rtnl.bxcl.de^$dnsrewrite=NOERROR;A;XXX.XXX.XXX.XXX,client=YYY.YYY.YYY.YYY`}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.explanationTitle")}),f.jsxs(sn,{children:[f.jsx("strong",{children:"||prod.de.tbs.toys^"}),": ",e("tonieboxes.boxFlashingCommon.adguard.prodDomainExplanation")]}),f.jsxs(sn,{children:[f.jsx("strong",{children:"$dnsrewrite=NOERROR;A;XXX.XXX.XXX.XXX"}),":"," ",e("tonieboxes.boxFlashingCommon.adguard.dnsRewriteExplanation")]}),f.jsxs(sn,{children:[f.jsx("strong",{children:"client=YYY.YYY.YYY.YYY"}),": ",e("tonieboxes.boxFlashingCommon.adguard.clientExplanation")]}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.step3Title")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.step3Instructions")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.step4Title")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.ipReservationInstructions")}),f.jsx(sn,{children:e("tonieboxes.boxFlashingCommon.adguard.loggingMonitoringInstructions")})]})}const Wx=({boxVersion:e,isOpen:t,onClose:n})=>{const{t:r}=Nt(),[a,i]=l.useState([]),[o,s]=l.useState(!1),[c,u]=l.useState(!1);l.useEffect(()=>{t&&d()},[t,o]);const d=async()=>{u(!0);try{const h=await sT.apiGetTonieboxesIndex(),b=await Promise.all(h.map(async y=>{const v=await sT.apiGetTonieboxStatus(y.ID)?"Online":"Offline",x=await sT.apiGetTonieboxVersion(y.ID);let C={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"}[x]||"UNKNOWN";return{...y,status:v,version:C}}));i(b)}catch(h){console.error("Error fetching tonieboxes:",h)}finally{u(!1)}},p=[{title:r("tonieboxes.availableBoxModal.commonName"),dataIndex:"commonName",key:"commonName"},{title:r("tonieboxes.availableBoxModal.boxVersion"),dataIndex:"version",key:"version"},{title:r("tonieboxes.availableBoxModal.status"),dataIndex:"status",key:"status"}],g=f.jsxs(sn,{style:{display:"flex",gap:8,justifyContent:"flex-end",flexWrap:"wrap"},children:[f.jsx(tt,{onClick:async()=>{u(!0),s(h=>!h),await d()},children:r("tonieboxes.availableBoxModal.recheck")}),f.jsx(tt,{type:"primary",onClick:n,children:r("tonieboxes.availableBoxModal.ok")})]}),m=()=>f.jsx(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE,description:f.jsxs("div",{children:[f.jsx(sn,{children:r("tonieboxes.noData")}),f.jsx(sn,{children:r("tonieboxes.noDataText")})]})});return f.jsxs(_n,{title:r("tonieboxes.availableBoxModal.availableBoxes",{boxVersion:e}),open:t,onOk:n,onCancel:n,footer:g,children:[f.jsxs(sn,{children:[f.jsx(sn,{children:r("tonieboxes.availableBoxModal.newBoxAvailable",{cc3200Hint:e===Ji.cc3200?r("tonieboxes.availableBoxModal.cc3200Hint"):""})}),f.jsx(ot,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/test-troubleshooting/",target:"_blank",children:r("tonieboxes.availableBoxModal.troubleShooting")})]}),f.jsx("h4",{children:r("tonieboxes.availableBoxModal.availableBoxes",{boxVersion:e})}),c?f.jsx("div",{style:{display:"flex",justifyContent:"center",padding:"20px"},children:f.jsx(nc,{size:"default"})}):f.jsx(Ea,{dataSource:a.filter(h=>h.version===e),columns:p,rowKey:"ID",pagination:!1,locale:{emptyText:m()}}),a.filter(h=>h.version===e).length>0?f.jsxs(sn,{style:{marginTop:16},children:[r("tonieboxes.boxSetup.uploadCertificatesToBox"),f.jsx(ot,{to:"/tonieboxes",children:r("tonieboxes.navigationTitle")})]}):""]})},O$=({})=>{const{t:e}=Nt(),[t,n]=l.useState(!1),r=()=>{n(!0)},a=()=>{n(!1)},i=f.jsx(_n,{title:e("tonieboxes.boxSetup.uploadCertificates"),open:t,onCancel:a,footer:f.jsx(tt,{type:"primary",onClick:a,children:e("settings.close")}),cancelText:"Close",children:f.jsx(PA,{})});return f.jsxs(f.Fragment,{children:[f.jsx(sn,{children:e("tonieboxes.boxSetup.uploadCertificateIntro")}),f.jsxs(sn,{children:[f.jsx(tt,{onClick:r,children:e("tonieboxes.boxSetup.uploadCertificateButton")}),i]})]})},UUe="/web/assets/cc3200_debugPort-CUfuhKbo.jpg",VUe="/web/assets/cc3200_tagConnector-C5CJTEin.png",WUe="/web/assets/cc3200_wiresAsTagConnector-BuyL-dME.png",GUe="/web/assets/cc3200_installCfwFlashUpload-D3jB7q0q.png",{Paragraph:Wt}=Sn,{Step:qUe}=qs,KUe=()=>{const{t:e}=Nt(),t=pr.language,[n,r]=l.useState(0),[a,i]=l.useState(""),[o,s]=l.useState(""),[c,u]=l.useState(!1),d=W=>W.replace(/[^a-zA-Z0-9-.]/g,"").trim(),p=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.cc3200BoxFlashing.bootloader")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.cc3200BoxFlashing.patches")},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}],g=[{key:"1",toniebox1:"GND",toniebox2:"",uart:"GND"},{key:"2",toniebox1:"TX",toniebox2:"",uart:"RX"},{key:"3",toniebox1:"RX",toniebox2:"",uart:"TX"},{key:"4",toniebox1:"RST",toniebox2:"",uart:"DTR"},{key:"5",toniebox1:"VCC",toniebox2:"SOP2*",uart:""},{key:"6",toniebox1:"SOP2",toniebox2:"VCC*",uart:""}],m=[{title:"Toniebox",dataIndex:"toniebox1",key:"toniebox1"},{title:"Toniebox",dataIndex:"toniebox2",key:"toniebox2"},{title:"UART",dataIndex:"uart",key:"uart"}],h=()=>f.jsx(Ea,{dataSource:g,columns:m,pagination:!1,bordered:!0,size:"small",style:{width:300}}),b=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),f.jsx(wn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),f.jsxs(Wt,{children:[e("tonieboxes.cc3235BoxFlashing.preparationText")," ",f.jsx(ot,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.preparationTextLink")})]}),RQ(),f.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.connectToToniebox")}),f.jsx(Wt,{}),f.jsxs(Wt,{children:[e("tonieboxes.cc3200BoxFlashing.connectToTonieboxIntro"),f.jsx(Wt,{children:f.jsx(fn,{src:UUe,style:{maxHeight:200,width:"auto",marginTop:8},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")})}),f.jsx(Wt,{children:IQ()}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectTableIntro")}),h(),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectTableExplanation")})]}),f.jsxs(Wt,{children:[e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectDebugPortText1"),f.jsx(ot,{to:"https://www.tag-connect.com/product/tc2050-idc-nl-10-pin-no-legs-cable-with-ribbon-connector",target:"_blank",children:"TC2050-IDC-NL TagConnector"}),e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectDebugPortText2")]}),f.jsx(Wt,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexWrap:"wrap",gap:16},children:f.jsxs(fn.PreviewGroup,{children:[f.jsxs("div",{style:{maxHeight:200,justifyItems:"center"},children:[f.jsx(fn,{src:VUe,style:{maxWidth:200,height:"auto"},alt:e("tonieboxes.cc3200BoxFlashing.tagConnector")}),f.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3200BoxFlashing.tagConnector")})]}),f.jsxs("div",{style:{maxHeight:200,justifyItems:"center"},children:[f.jsx(fn,{src:WUe,style:{maxWidth:200,height:"auto"},alt:e("tonieboxes.cc3200BoxFlashing.usingThinWiresAsTagConnector")}),f.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3200BoxFlashing.usingThinWiresAsTagConnector")})]})]})}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxText")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxProceed")})]}),y=[{key:"/cert/ca.der",file:"/cert/ca.der",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.caDer")},{key:"/cert/private.der",file:"/cert/private.der",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.privateDer")},{key:"/cert/client.der",file:"/cert/client.der",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.clientDer")},{key:"/sys/mcuimg.bin",file:"/sys/mcuimg.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.originalBootloader")},{key:"/sys/mcuimg1.bin",file:"/sys/mcuimg1.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.firstSlot")},{key:"/sys/mcuimg2.bin",file:"/sys/mcuimg2.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.secondSlot")},{key:"/sys/mcuimg3.bin",file:"/sys/mcuimg3.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.thirdSlot")},{key:"/sys/mcubootinfo.bin",file:"/sys/mcubootinfo.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.mcuBootInfo")}],S=[{title:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.file"),dataIndex:"file",key:"file"},{title:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.description"),dataIndex:"description",key:"description"}],v=()=>f.jsx(Ea,{dataSource:y,columns:S,pagination:!1}),x=f.jsxs(f.Fragment,{children:[f.jsx("b",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.moveOriginal")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.moveOriginalText1")}),f.jsxs(Wt,{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.moveOriginalText2"),f.jsx(mn,{language:"shell",code:"cc3200tool -p COM3 write_file ExtractedFromBox/sys/mcuimg.bin /sys/pre-img.bin"})]}),f.jsxs("b",{children:[" ",e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.installPreloader")]}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.installPreloaderText1")}),f.jsx(mn,{language:"shell",code:"cc3200tool -p COM3 write_file flash/sys/mcuimg.bin /sys/mcuimg.bin"}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.installPreloaderText2")})]}),w=f.jsxs(f.Fragment,{children:[f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.intro")}),f.jsx("b",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.backup")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.backupText")}),f.jsx(mn,{language:"url",code:"http://*.*.*.*/api/ajax?cmd=get-flash-file&filepath=/sys/pre-img.bin"}),f.jsx("b",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloader")}),f.jsx(Wt,{children:f.jsx("div",{style:{maxHeight:400,justifyItems:"center"},children:f.jsx(fn,{src:GUe,style:{maxHeight:400,width:"auto",maxWidth:"100%"},alt:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.updatingCFWUsingOldCFWWebGui")})})}),f.jsx(Wt,{children:f.jsxs("ul",{children:[f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep1")}),f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep2")}),f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep3")}),f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep4")}),f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep5")})]})}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.outro")}),f.jsx(mn,{language:"url",code:"http://*.*.*.*/api/ajax?cmd=get-flash-file&filepath=/sys/mcuimg.bin"})]}),C=[{key:"firstTime",label:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.title"),children:x},{key:"updateExisting",label:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.title"),children:w}],E=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.bootloader")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.intro")}),f.jsx(Wt,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -p COM3 read_all_files ExtractedFromBox/ read_flash backup.bin"})}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.resetCommand")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.inCaseText")}),f.jsx(Wt,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -p COM3 read_all_files ExtractedFromBox/ "})}),f.jsx(Wt,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -p COM3 read_flash backup.bin"})}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.verifyBackup")}),f.jsx(Wt,{children:v()}),f.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installBootloader")}),f.jsxs(Wt,{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.downloadText1"),f.jsx(ot,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/releases",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.downloadLink")}),e("tonieboxes.cc3200BoxFlashing.installingBootloader.downloadText2")]}),f.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.preface.title")}),f.jsxs(Wt,{children:[f.jsxs(Wt,{children:[" ",e("tonieboxes.cc3200BoxFlashing.installingBootloader.preface.intro")]}),f.jsx(Wt,{children:f.jsxs("ul",{children:[f.jsxs("li",{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage1"),f.jsxs("ul",{children:[f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.title")}),f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.title")})]})]}),f.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage2")})]})})]}),f.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage1")}),f.jsx(ef,{items:C,indicator:{size:W=>W-20,align:"center"}}),f.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage2")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.intro")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.text1")}),f.jsxs(Wt,{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.text2"),f.jsx(ot,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/bootloader/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.here")}),"."]})]}),I=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),f.jsx(Wt,{children:LA(!0)}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.certificates.alreadyAvailable")}),f.jsx(Wt,{children:f.jsx(mn,{language:"shell",code:"/currentDir/ExtractedFromBox/cert/."})}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.certificates.extractAgain")}),f.jsx(Wt,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -p COM3 read_file /cert/ca.der ExtractedFromBox/cert/ca.der read_file /cert/private.der ExtractedFromBox/cert/private.der read_file /cert/client.der ExtractedFromBox/cert/client.der"})}),f.jsx(Wt,{children:f.jsx(O$,{})}),f.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacement")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementIntro")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementText")}),f.jsx(mn,{language:"shell",code:"cc3200tool -p COM3 write_file c2.der /cert/c2.der"}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementOutro")})]}),T=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.patches")}),f.jsx(ot,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.patchesMoreInformationLink")}),f.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.customUrlPatch")}),f.jsx(wn,{description:e("tonieboxes.cc3200BoxFlashing.customUrlPatchHint"),type:"warning",style:{marginBottom:8}}),f.jsxs(Kt,{children:[f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.hintPatchHost")}),f.jsxs(Kt.Item,{children:[f.jsxs(da,{align:"middle",style:{display:"flex",alignItems:"center"},children:[f.jsx(En,{style:{flex:"0 0 200px",color:o?"#CC3010":"unset"},children:f.jsx("label",{children:e("tonieboxes.cc3200BoxFlashing.hostname")})}),f.jsx(En,{style:{flex:"1 1 auto"},children:f.jsx(tn,{type:"text",value:a,onChange:W=>{let q=d(W.target.value),Z="";q.length>12?Z=e("tonieboxes.cc3200BoxFlashing.hostnameTooLong"):Z="",i(q),s(Z)}})})]}),o&&f.jsx("p",{style:{color:"#CC3010"},children:o})]})]})]}),_=[{key:"1",keyName:"activeImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.activeImgDesc"),values:"ofw1, ofw2, ofw3, cfw1, cfw2, cfw3, add1, add2, add3",defaultValue:"ofw1"},{key:"2",keyName:"waitForPress",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForPressDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"waitForBoot",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForBootDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"waitTimeoutInS",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitTimeoutInSDesc"),values:"1-255",defaultValue:"60"},{key:"5",keyName:"minBatteryLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.minBatteryLevelDesc"),values:"",defaultValue:"8869"},{key:"6",keyName:"ofwFixValue",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixValueDesc"),values:"hex array with 4 bytes",defaultValue:'["4C", "01", "10", "00"]'},{key:"7",keyName:"ofwFixFlash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixFlashDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"serialLog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.serialLogDesc"),values:"true, false",defaultValue:"true"},{key:"9",keyName:"logLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logLevelDesc"),values:"0-5",defaultValue:"DEBUG_LOG_LEVEL"},{key:"10",keyName:"logColor",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logColorDesc"),values:"true, false",defaultValue:"false"}],R=[{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.key"),dataIndex:"keyName",key:"keyName",width:120},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.description"),dataIndex:"description",key:"description"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.values"),dataIndex:"values",key:"values"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.default"),dataIndex:"defaultValue",key:"defaultValue"}],$=[{key:"1",keyName:"checkHash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.checkHashDesc"),values:"true, false",defaultValue:"true"},{key:"2",keyName:"hashFile",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.hashFileDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"watchdog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.watchdogDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"ofwFix",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixDesc"),values:"true, false",defaultValue:"false"},{key:"5",keyName:"ofwSimBL",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwSimBLDesc"),values:"true, false",defaultValue:"false"},{key:"6",keyName:"bootFlashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.bootFlashImgDesc"),values:"true, false",defaultValue:"false"},{key:"7",keyName:"flashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.flashImgDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"patches",description:f.jsxs(f.Fragment,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchesDesc")," ",f.jsx(ot,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/tree/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchDirectory")}),", ",f.jsx(ot,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchWiki")})]}),values:'["noCerts.305", "noPass3.305"]',defaultValue:"[]"}],M={general:{activeImg:"ofw2",_descWaitForPress:"Waits for an earpress on startup",waitForPress:!1,_descWaitForBoot:"Waits for an earpress before firmware boot",waitForBoot:!1,waitTimeoutInS:60,_descMinBatteryLevel:"Divide through 2785 to get voltage",minBatteryLevel:8869,ofwFixFlash:"/sys/pre-img.bin",_descSerialLog:"Logging only works with the debug build!",serialLog:!1,_descLogLevel:"0:Trace - 5:Fatal",logLevel:0,_descLogColor:"Use colors in log output",logColor:!1},ofw1:{checkHash:!1,hashFile:!1,watchdog:!0,bootFlashImg:!0,flashImg:"/sys/pre-img.bin"},ofw2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!0,patches:["altCa.305","altUrl.custom.305"]},ofw3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,patches:["altCa.305","altUrl.tc.fritz.box"]},cfw1:{checkHash:!1,hashFile:!1,watchdog:!0},cfw2:{checkHash:!1,hashFile:!1,watchdog:!0},cfw3:{checkHash:!1,hashFile:!1,watchdog:!0},add1:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["blockCheck.310","noCerts.305","noPass3.310","noPrivacy.305","uidCheck.307"]},add2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]},add3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]}},P=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}),f.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesWithNgCfgJson")}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.introduction")}),f.jsx(Ls,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.collapseTitle"),children:f.jsxs(Wt,{children:[f.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.title")}),f.jsxs(Wt,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part1")," ",f.jsx(ot,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/ngCfg.json",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_link")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part2")]}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part3")}),f.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.generalSection")}),f.jsx(Ea,{dataSource:_,columns:R,pagination:!1,size:"small"}),f.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSection")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSectionIntro"),f.jsx(Ea,{dataSource:$,columns:R,pagination:!1,size:"small"})]})}],style:{marginBottom:16}}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part1")}),f.jsx(mn,{language:"json",code:`{ - "general": { - "activeImg": "ofw2", - ...`}),f.jsx(Wt,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part2")}),f.jsx(mn,{language:"json",code:`... - "ofw2": { - "checkHash": true, - "hashFile": false, - "watchdog": true, - "ofwFix": true, - "ofwSimBL": true, - "patches": ["altCa.305", "altUrl.custom.305"] - }, -...`}),f.jsx(Ls,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.examplengCFGJsonCollapse.collapseTitle"),children:f.jsx(Wt,{children:f.jsx(mn,{language:"shell",code:JSON.stringify(M,null,2)})})}],style:{marginBottom:16}}),f.jsx(Wt,{style:{marginTop:16},children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.finish")})]}),[D,O]=l.useState([b,E,I,T,P]),k=(W,q)=>{O(Z=>{const Q=[...Z];return Q[W]=q,Q})};l.useEffect(()=>{k(n,(()=>{switch(n){case 0:return b;case 1:return E;case 2:return I;case 3:return T;case 4:return P;default:return f.jsx("div",{})}})())},[n,a,t,Ns()]);const N=()=>{r(n-1)},A=()=>{r(n+1)},L=f.jsx(tt,{icon:f.jsx(Bs,{}),onClick:()=>N(),children:e("tonieboxes.cc3200BoxFlashing.previous")}),j=W=>{r(W)},F=()=>{B()},B=()=>{u(!0)},z=()=>{u(!1)},U=f.jsx(Wx,{boxVersion:Ji.cc3200,isOpen:c,onClose:z}),H={general:{_desc:"Changes Boxine URLs to custom ones.",_memPos:"",_fwVer:"3.0.5+"},searchAndReplace:[{_desc:"prod.de.tbs.toys to ",search:["70","72","6f","64","2e","64","65","2e","74","62","73","2e","74","6f","79","73","00"],replace:["70","72","6f","64","2e","72","65","76","76","6f","78","00","??","??","??","??","??"]},{_desc:"rtnl.bxcl.de to ",search:["72","74","6e","6c","2e","62","78","63","6c","2e","64","65","00"],replace:["72","74","6e","6c","2e","72","65","76","76","6f","78","00","??"]}]},K=(W,q)=>{const Z=W.split("").map(pe=>pe.charCodeAt(0).toString(16).padStart(2,"0"));Z.push("00");const Q=Z.length,le=q-Q;return le>0?Z.concat(Array.from({length:le},()=>"??")):Z},Y=W=>({...H,searchAndReplace:(Z=>Z.map(Q=>{const J=K(W,Q.replace.length);return{...Q,_desc:`${Q._desc}${W}`,replace:J}}))(H.searchAndReplace)}),ee=W=>`{ - "general": { - "_desc": "${W.general._desc}", - "_memPos": "${W.general._memPos}", - "_fwVer": "${W.general._fwVer}" - }, - "searchAndReplace": [${W.searchAndReplace.map(q=>`{ - "_desc": "${q._desc}", - "search": ["${q.search.join('", "')}"], - "replace": ["${q.replace.join('", "')}"] - }`).join(", ")}] -}`,ae=()=>{(q=>{const Z=Y(q),Q=ee(Z),J=new Blob([Q],{type:"application/json"}),le=URL.createObjectURL(J),ce=document.createElement("a");ce.href=le,ce.download="altUrl.custom.305.json",document.body.appendChild(ce),ce.click(),document.body.removeChild(ce)})(a)};return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),f.jsx(Gn,{children:e("tonieboxes.cc3200BoxFlashing.title")}),f.jsxs(Wt,{children:[f.jsx(qs,{current:n,onChange:j,children:p.map((W,q)=>f.jsx(qUe,{title:W.title,status:q===n&&q===p.length?"finish":q===n?"process":q12||a.length===0,type:"primary",onClick:ae,children:e("tonieboxes.cc3200BoxFlashing.createPatch")})}),f.jsx("div",{children:f.jsx(tt,{icon:f.jsx(pi,{}),iconPosition:"end",onClick:()=>A(),children:e("tonieboxes.cc3200BoxFlashing.next")})})]}),n===4&&f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[L,f.jsx("div",{children:f.jsx(tt,{icon:f.jsx(zl,{}),type:"primary",onClick:F,children:e("tonieboxes.cc3200BoxFlashing.checkBoxes")})}),f.jsx("div",{})]})]})]}),U]})]})]})},YUe="/web/assets/cc3235_flash-D2YMWv70.jpg",XUe="/web/assets/cc3235_smd_grippers-MdbEjaZo.jpg",ZUe="/web/assets/01_CH341A_programmer_1-BWh6CFRm.png",QUe="/web/assets/01_CH341A_programmer_2-DLQkFrYM.png",JUe="/web/assets/02_CH341A_sop8_1-B7nvMxlQ.jpg",eVe="/web/assets/02_CH341A_sop8_2-CW3KfcCM.jpg",tVe="/web/assets/02_CH341A_sop8_3-B20tcrp3.jpg",nVe="/web/assets/02_CH341A_sop8_remove-D-uCy9Q0.jpg",{Paragraph:Tn}=Sn,{Step:rVe}=qs,aVe=()=>{const{t:e}=Nt(),t=pr.language,[n,r]=l.useState(0),[a,i]=l.useState(!1),[o,s]=l.useState("picoHW"),[c,u]=l.useState("pico");l.useEffect(()=>{u(o.slice(0,-2))},[o]);const d=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.boxFlashingCommon.dns")}],p=f.jsxs(f.Fragment,{children:[f.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.installSerprogFirmware")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.pico.preparation")}),f.jsx(Tn,{children:f.jsx(ot,{to:"https://github.com/stacksmashing/pico-serprog",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.serprogFirmwareLink")})})]}),g=f.jsxs(f.Fragment,{children:[f.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341AProgrammer")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.preparation")}),f.jsxs("ul",{children:[f.jsxs("li",{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep1"),f.jsx("div",{style:{display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:16,margin:8},children:f.jsx(fn,{src:ZUe,style:{maxHeight:200,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341AProgrammer")})})]}),f.jsxs("li",{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep2"),f.jsx("div",{style:{display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:16,margin:8},children:f.jsx(fn,{src:nVe,style:{maxHeight:100,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341Sop8remove")})})]}),f.jsx("li",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep3")}),f.jsxs("li",{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep4"),f.jsx(mn,{language:"shell",code:`lsusb - -~$ lsusb -Bus 004 Device 012: ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C mode, EPP/I2C adapter -Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub -Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub -Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub`})]})]}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prepConclusions1")}),f.jsxs(Tn,{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prepConclusions2")," ",f.jsx("div",{style:{display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:16,margin:8},children:f.jsx(fn,{src:QUe,style:{maxHeight:100,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341AProgrammerClampConnection")})})]}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prepConclusions3")})]}),m=[{key:"picoHW",label:"Raspberry Pi Pico",children:p},{key:"ch341aHW",label:"CH341A Programmer",children:g}],h=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),f.jsx(wn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),f.jsxs(Tn,{children:[e("tonieboxes.cc3235BoxFlashing.preparationText")," ",f.jsx(ot,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.preparationTextLink")})]}),f.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.locateFlashMemory")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.locateFlashMemoryText")}),f.jsx(Ls,{size:"small",style:{marginBottom:16},items:[{key:"1",label:e("tonieboxes.cc3235BoxFlashing.flashCollapse.collapseTitle"),children:f.jsx(f.Fragment,{children:f.jsx(Tn,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexWrap:"wrap",gap:16},children:f.jsxs(fn.PreviewGroup,{children:[f.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[f.jsx(fn,{src:YUe,style:{maxHeight:200,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")}),f.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")})]}),f.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[f.jsx(fn,{src:XUe,style:{maxHeight:200,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flashWithSMDGrippers")}),f.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flashWithSMDGrippers")})]}),f.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[f.jsx(fn,{src:JUe,style:{maxHeight:200,width:"auto",maxWidth:200},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")}),f.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")})]}),f.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[f.jsx(fn,{src:tVe,style:{maxHeight:200,width:"auto",maxWidth:200},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")}),f.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")})]}),f.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[f.jsx(fn,{src:eVe,style:{maxHeight:200,width:"auto",maxWidth:200},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")}),f.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")})]})]})})})}]}),f.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.installflashromtool")}),e("tonieboxes.cc3235BoxFlashing.installflashromtoolText"),f.jsx(mn,{language:"shell",code:"sudo apt-get install flashrom"}),f.jsx(ot,{to:"https://www.flashrom.org/",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.installflashromtoolLink")}),RQ(),f.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.hwToolSpecific")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.hwToolSpecificText")}),f.jsx(ef,{onChange:N=>s(N),activeKey:c+"HW",items:m,indicator:{size:N=>N-20,align:"center"}})]}),b=f.jsxs(f.Fragment,{children:[f.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacement")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText1")}),f.jsx(wn,{type:"warning",showIcon:!0,message:e("tonieboxes.cc3235BoxFlashing.flashCAReplacementTitle"),description:f.jsxs(f.Fragment,{children:[e("tonieboxes.cc3235BoxFlashing.flashCAReplacementDescription1")," ",f.jsxs(ot,{to:"https://raw.githubusercontent.com/toniebox-reverse-engineering/teddycloud/master/contrib/gencerts.sh",target:"_blank",children:[e("tonieboxes.cc3235BoxFlashing.gencertLinkText")," "]})," ",e("tonieboxes.cc3235BoxFlashing.flashCAReplacementDescription2")," ",e("tonieboxes.cc3235BoxFlashing.flashCAReplacementDescription3")]}),style:{marginBottom:16}}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText3")})]}),y=f.jsxs(f.Fragment,{children:[f.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.pico.readingFlash")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.pico.readingFlashText1")}),f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:"flashrom -p serprog:dev=/dev/ttyACM0:921600 -r cc32xx-flash.bin --progress"})}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.pico.readingFlashText2")}),f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:`flashrom -p serprog:dev=/dev/ttyACM0:921600 -r cc32xx-flash.2.bin --progress -diff cc32xx-flash.bin cc32xx-flash.2.bin #no output = equal`})}),f.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.extractCertificates")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.useCC3200ToolToExtract")}),f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -if cc32xx-flash.bin -d cc32xx read_all_files extract/"})}),f.jsx(O$,{}),b,f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -if cc32xx-flash.bin -of cc32xx-flash.customca.bin -d cc32xx write_file ca.der /cert/ca.der"})}),f.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.pico.writingFlash")}),f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:"flashrom -p serprog:dev=/dev/ttyACM0:921600 -w cc32xx-flash.customca.bin --progress"})})]}),S=f.jsxs(f.Fragment,{children:[f.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.readingFlash")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText1")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText2")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText3")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText4")}),f.jsx(mn,{language:"shell",code:"flashrom -p ch341a_spi -r backupCC3235-1.bin"}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText5")}),f.jsx(mn,{language:"shell",code:"flashrom -p ch341a_spi -r backupCC3235-2.bin"}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText6")}),f.jsx(mn,{language:"shell",code:"diff backupCC3235-1.bin backupCC3235-2.bin #no output = equal"}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText7")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText8")}),f.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.extractCertificates")}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.useCC3200ToolToExtract")}),f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -if backupCC3235-1.bin -d cc32xx read_all_files extract/"})}),f.jsx(O$,{}),b,f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:"cc3200tool -if backupCC3235-1.bin -of cc32xx-flash.customca.bin -d cc32xx write_file ca.der /cert/ca.der"})}),f.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.writingFlash")}),f.jsx(Tn,{children:f.jsx(mn,{language:"shell",code:"flashrom -p ch341a_spi -w cc32xx-flash.customca.bin --progress"})})]}),v=[{key:"picoCE",label:"Raspberry Pi Pico",children:y},{key:"ch341aCE",label:"CH341A Programmer",children:S}],x=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),LA(!1),f.jsx("h4",{children:"CC3235"}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.dumpCertificatesCC3235")}),f.jsx(ef,{onChange:N=>s(N),activeKey:c+"CE",items:v,indicator:{size:N=>N-20,align:"center"}}),f.jsx(Tn,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText2")})]}),w=_Q(),C=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.dns")}),w]}),[E,I]=l.useState([h,x,C]),T=(N,A)=>{I(L=>{const j=[...L];return j[N]=A,j})};l.useEffect(()=>{T(n,(()=>{switch(n){case 0:return h;case 1:return x;case 2:return C;default:return f.jsx("div",{})}})())},[n,t,Ns(),c]);const _=()=>{r(n-1)},R=()=>{r(n+1)},$=f.jsx(tt,{icon:f.jsx(Bs,{}),onClick:()=>_(),children:e("tonieboxes.cc3235BoxFlashing.previous")}),M=N=>{r(N)},P=()=>{D()},D=()=>{i(!0)},O=()=>{i(!1)},k=f.jsx(Wx,{boxVersion:Ji.cc3235,isOpen:a,onClose:O});return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),f.jsx(Gn,{children:e("tonieboxes.cc3235BoxFlashing.title")}),f.jsxs(Tn,{style:{marginTop:16},children:[f.jsx(qs,{current:n,onChange:M,children:d.map((N,A)=>f.jsx(rVe,{title:N.title,status:A===n&&A===d.length?"finish":A===n?"process":A=0;)e[t]=0}const sVe=0,$Q=1,lVe=2,cVe=3,uVe=258,jA=29,ph=256,sm=ph+1+jA,Dd=30,FA=19,OQ=2*sm+1,Rc=15,lT=16,dVe=7,BA=256,NQ=16,kQ=17,AQ=18,N$=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),vb=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),fVe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),DQ=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),pVe=512,Cs=new Array((sm+2)*2);Hf(Cs);const cg=new Array(Dd*2);Hf(cg);const lm=new Array(pVe);Hf(lm);const cm=new Array(uVe-cVe+1);Hf(cm);const zA=new Array(jA);Hf(zA);const N0=new Array(Dd);Hf(N0);function cT(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}let MQ,PQ,LQ;function uT(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const jQ=e=>e<256?lm[e]:lm[256+(e>>>7)],um=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},li=(e,t,n)=>{e.bi_valid>lT-n?(e.bi_buf|=t<>lT-e.bi_valid,e.bi_valid+=n-lT):(e.bi_buf|=t<{li(e,n[t*2],n[t*2+1])},FQ=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},gVe=e=>{e.bi_valid===16?(um(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},mVe=(e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,i=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length;let u,d,p,g,m,h,b=0;for(g=0;g<=Rc;g++)e.bl_count[g]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;uc&&(g=c,b++),n[d*2+1]=g,!(d>r)&&(e.bl_count[g]++,m=0,d>=s&&(m=o[d-s]),h=n[d*2],e.opt_len+=h*(g+m),i&&(e.static_len+=h*(a[d*2+1]+m)));if(b!==0){do{for(g=c-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[c]--,b-=2}while(b>0);for(g=c;g!==0;g--)for(d=e.bl_count[g];d!==0;)p=e.heap[--u],!(p>r)&&(n[p*2+1]!==g&&(e.opt_len+=(g-n[p*2+1])*n[p*2],n[p*2+1]=g),d--)}},BQ=(e,t,n)=>{const r=new Array(Rc+1);let a=0,i,o;for(i=1;i<=Rc;i++)a=a+n[i-1]<<1,r[i]=a;for(o=0;o<=t;o++){let s=e[o*2+1];s!==0&&(e[o*2]=FQ(r[s]++,s))}},hVe=()=>{let e,t,n,r,a;const i=new Array(Rc+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t{e.bi_valid>8?um(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},M7=(e,t,n,r)=>{const a=t*2,i=n*2;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let r,a,i=0,o,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+i++]&255,r+=(e.pending_buf[e.sym_buf+i++]&255)<<8,a=e.pending_buf[e.sym_buf+i++],r===0?Jo(e,a,t):(o=cm[a],Jo(e,o+ph+1,t),s=N$[o],s!==0&&(a-=zA[o],li(e,a,s)),r--,o=jQ(r),Jo(e,o,n),s=vb[o],s!==0&&(r-=N0[o],li(e,r,s)));while(i{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,i=t.stat_desc.elems;let o,s,c=-1,u;for(e.heap_len=0,e.heap_max=OQ,o=0;o>1;o>=1;o--)dT(e,n,o);u=i;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],dT(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[u*2]=n[o*2]+n[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=u,e.heap[1]=u++,dT(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],mVe(e,t),BQ(n,c,e.bl_count)},L7=(e,t,n)=>{let r,a=-1,i,o=t[0*2+1],s=0,c=7,u=4;for(o===0&&(c=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)i=o,o=t[(r+1)*2+1],!(++s{let r,a=-1,i,o=t[0*2+1],s=0,c=7,u=4;for(o===0&&(c=138,u=3),r=0;r<=n;r++)if(i=o,o=t[(r+1)*2+1],!(++s{let t;for(L7(e,e.dyn_ltree,e.l_desc.max_code),L7(e,e.dyn_dtree,e.d_desc.max_code),k$(e,e.bl_desc),t=FA-1;t>=3&&e.bl_tree[DQ[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},bVe=(e,t,n,r)=>{let a;for(li(e,t-257,5),li(e,n-1,5),li(e,r-4,4),a=0;a{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return A7;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return D7;for(n=32;n{F7||(hVe(),F7=!0),e.l_desc=new uT(e.dyn_ltree,MQ),e.d_desc=new uT(e.dyn_dtree,PQ),e.bl_desc=new uT(e.bl_tree,LQ),e.bi_buf=0,e.bi_valid=0,zQ(e)},UQ=(e,t,n,r)=>{li(e,(sVe<<1)+(r?1:0),3),HQ(e),um(e,n),um(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},SVe=e=>{li(e,$Q<<1,3),Jo(e,BA,Cs),gVe(e)},wVe=(e,t,n,r)=>{let a,i,o=0;e.level>0?(e.strm.data_type===oVe&&(e.strm.data_type=yVe(e)),k$(e,e.l_desc),k$(e,e.d_desc),o=vVe(e),a=e.opt_len+3+7>>>3,i=e.static_len+3+7>>>3,i<=a&&(a=i)):a=i=n+5,n+4<=a&&t!==-1?UQ(e,t,n,r):e.strategy===iVe||i===a?(li(e,($Q<<1)+(r?1:0),3),P7(e,Cs,cg)):(li(e,(lVe<<1)+(r?1:0),3),bVe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),P7(e,e.dyn_ltree,e.dyn_dtree)),zQ(e),r&&HQ(e)},CVe=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(cm[n]+ph+1)*2]++,e.dyn_dtree[jQ(t)*2]++),e.sym_next===e.sym_end);var EVe=xVe,IVe=UQ,TVe=wVe,RVe=CVe,_Ve=SVe,$Ve={_tr_init:EVe,_tr_stored_block:IVe,_tr_flush_block:TVe,_tr_tally:RVe,_tr_align:_Ve};const OVe=(e,t,n,r)=>{let a=e&65535|0,i=e>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do a=a+t[r++]|0,i=i+a|0;while(--o);a%=65521,i%=65521}return a|i<<16|0};var dm=OVe;const NVe=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},kVe=new Uint32Array(NVe()),AVe=(e,t,n,r)=>{const a=kVe,i=r+n;e^=-1;for(let o=r;o>>8^a[(e^t[o])&255];return e^-1};var ca=AVe,nu={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Uf={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:DVe,_tr_stored_block:A$,_tr_flush_block:MVe,_tr_tally:Ml,_tr_align:PVe}=$Ve,{Z_NO_FLUSH:Pl,Z_PARTIAL_FLUSH:LVe,Z_FULL_FLUSH:jVe,Z_FINISH:eo,Z_BLOCK:B7,Z_OK:Ca,Z_STREAM_END:z7,Z_STREAM_ERROR:as,Z_DATA_ERROR:FVe,Z_BUF_ERROR:fT,Z_DEFAULT_COMPRESSION:BVe,Z_FILTERED:zVe,Z_HUFFMAN_ONLY:Rv,Z_RLE:HVe,Z_FIXED:UVe,Z_DEFAULT_STRATEGY:VVe,Z_UNKNOWN:WVe,Z_DEFLATED:Gx}=Uf,GVe=9,qVe=15,KVe=8,YVe=29,XVe=256,D$=XVe+1+YVe,ZVe=30,QVe=19,JVe=2*D$+1,eWe=15,Rn=3,Cl=258,is=Cl+Rn+1,tWe=32,pf=42,HA=57,M$=69,P$=73,L$=91,j$=103,_c=113,Pp=666,Ya=1,Vf=2,ru=3,Wf=4,nWe=3,$c=(e,t)=>(e.msg=nu[t],t),H7=e=>e*2-(e>4?9:0),gl=e=>{let t=e.length;for(;--t>=0;)e[t]=0},rWe=e=>{let t,n,r,a=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=a?n-a:0;while(--t);t=a,r=t;do n=e.prev[--r],e.prev[r]=n>=a?n-a:0;while(--t)};let aWe=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},Ni=(e,t)=>{MVe(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ci(e.strm)},Ln=(e,t)=>{e.pending_buf[e.pending++]=t},xp=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},F$=(e,t,n,r)=>{let a=e.avail_in;return a>r&&(a=r),a===0?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),e.state.wrap===1?e.adler=dm(e.adler,t,a,n):e.state.wrap===2&&(e.adler=ca(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},VQ=(e,t)=>{let n=e.max_chain_length,r=e.strstart,a,i,o=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-is?e.strstart-(e.w_size-is):0,u=e.window,d=e.w_mask,p=e.prev,g=e.strstart+Cl;let m=u[r+o-1],h=u[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==h||u[a+o-1]!==m||u[a]!==u[r]||u[++a]!==u[r+1])){r+=2,a++;do;while(u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&ro){if(e.match_start=t,o=i,i>=s)break;m=u[r+o-1],h=u[r+o]}}while((t=p[t&d])>c&&--n!==0);return o<=e.lookahead?o:e.lookahead},gf=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-is)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),rWe(e),r+=t),e.strm.avail_in===0)break;if(n=F$(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=Rn)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=Ll(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=Ll(e,e.ins_h,e.window[a+Rn-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,i,o=0,s=e.strm.avail_in;do{if(r=65535,i=e.bi_valid+42>>3,e.strm.avail_outa+e.strm.avail_in&&(r=a+e.strm.avail_in),r>i&&(r=i),r>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,Ci(e.strm),a&&(a>r&&(a=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+a),e.strm.next_out),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a,e.block_start+=a,r-=a),r&&(F$(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(o===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_wateri&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(F$(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water>3,i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i,n=i>e.w_size?e.w_size:i,a=e.strstart-e.block_start,(a>=n||(a||t===eo)&&t!==Pl&&e.strm.avail_in===0&&a<=i)&&(r=a>i?i:a,o=t===eo&&e.strm.avail_in===0&&r===a?1:0,A$(e,e.block_start,r,o),e.block_start+=r,Ci(e.strm)),o?ru:Ya)},pT=(e,t)=>{let n,r;for(;;){if(e.lookahead=Rn&&(e.ins_h=Ll(e,e.ins_h,e.window[e.strstart+Rn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-is&&(e.match_length=VQ(e,n)),e.match_length>=Rn)if(r=Ml(e,e.strstart-e.match_start,e.match_length-Rn),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Rn){e.match_length--;do e.strstart++,e.ins_h=Ll(e,e.ins_h,e.window[e.strstart+Rn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Ll(e,e.ins_h,e.window[e.strstart+1]);else r=Ml(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Ni(e,!1),e.strm.avail_out===0))return Ya}return e.insert=e.strstart{let n,r,a;for(;;){if(e.lookahead=Rn&&(e.ins_h=Ll(e,e.ins_h,e.window[e.strstart+Rn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Rn-1,n!==0&&e.prev_length4096)&&(e.match_length=Rn-1)),e.prev_length>=Rn&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-Rn,r=Ml(e,e.strstart-1-e.prev_match,e.prev_length-Rn),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=Ll(e,e.ins_h,e.window[e.strstart+Rn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Rn-1,e.strstart++,r&&(Ni(e,!1),e.strm.avail_out===0))return Ya}else if(e.match_available){if(r=Ml(e,0,e.window[e.strstart-1]),r&&Ni(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ya}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Ml(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart{let n,r,a,i;const o=e.window;for(;;){if(e.lookahead<=Cl){if(gf(e),e.lookahead<=Cl&&t===Pl)return Ya;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Rn&&e.strstart>0&&(a=e.strstart-1,r=o[a],r===o[++a]&&r===o[++a]&&r===o[++a])){i=e.strstart+Cl;do;while(r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Rn?(n=Ml(e,1,e.match_length-Rn),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Ml(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Ni(e,!1),e.strm.avail_out===0))return Ya}return e.insert=0,t===eo?(Ni(e,!0),e.strm.avail_out===0?ru:Wf):e.sym_next&&(Ni(e,!1),e.strm.avail_out===0)?Ya:Vf},oWe=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(gf(e),e.lookahead===0)){if(t===Pl)return Ya;break}if(e.match_length=0,n=Ml(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Ni(e,!1),e.strm.avail_out===0))return Ya}return e.insert=0,t===eo?(Ni(e,!0),e.strm.avail_out===0?ru:Wf):e.sym_next&&(Ni(e,!1),e.strm.avail_out===0)?Ya:Vf};function Wo(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}const Lp=[new Wo(0,0,0,0,WQ),new Wo(4,4,8,4,pT),new Wo(4,5,16,8,pT),new Wo(4,6,32,32,pT),new Wo(4,4,16,16,Wu),new Wo(8,16,32,32,Wu),new Wo(8,16,128,128,Wu),new Wo(8,32,128,256,Wu),new Wo(32,128,258,1024,Wu),new Wo(32,258,258,4096,Wu)],sWe=e=>{e.window_size=2*e.w_size,gl(e.head),e.max_lazy_match=Lp[e.level].max_lazy,e.good_match=Lp[e.level].good_length,e.nice_match=Lp[e.level].nice_length,e.max_chain_length=Lp[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Rn-1,e.match_available=0,e.ins_h=0};function lWe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Gx,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(JVe*2),this.dyn_dtree=new Uint16Array((2*ZVe+1)*2),this.bl_tree=new Uint16Array((2*QVe+1)*2),gl(this.dyn_ltree),gl(this.dyn_dtree),gl(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(eWe+1),this.heap=new Uint16Array(2*D$+1),gl(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*D$+1),gl(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const gh=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==pf&&t.status!==HA&&t.status!==M$&&t.status!==P$&&t.status!==L$&&t.status!==j$&&t.status!==_c&&t.status!==Pp?1:0},GQ=e=>{if(gh(e))return $c(e,as);e.total_in=e.total_out=0,e.data_type=WVe;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?HA:t.wrap?pf:_c,e.adler=t.wrap===2?0:1,t.last_flush=-2,DVe(t),Ca},qQ=e=>{const t=GQ(e);return t===Ca&&sWe(e.state),t},cWe=(e,t)=>gh(e)||e.state.wrap!==2?as:(e.state.gzhead=t,Ca),KQ=(e,t,n,r,a,i)=>{if(!e)return as;let o=1;if(t===BVe&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),a<1||a>GVe||n!==Gx||r<8||r>15||t<0||t>9||i<0||i>UVe||r===8&&o!==1)return $c(e,as);r===8&&(r=9);const s=new lWe;return e.state=s,s.strm=e,s.status=pf,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<KQ(e,t,Gx,qVe,KVe,VVe),dWe=(e,t)=>{if(gh(e)||t>B7||t<0)return e?$c(e,as):as;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===Pp&&t!==eo)return $c(e,e.avail_out===0?fT:as);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(Ci(e),e.avail_out===0)return n.last_flush=-1,Ca}else if(e.avail_in===0&&H7(t)<=H7(r)&&t!==eo)return $c(e,fT);if(n.status===Pp&&e.avail_in!==0)return $c(e,fT);if(n.status===pf&&n.wrap===0&&(n.status=_c),n.status===pf){let a=Gx+(n.w_bits-8<<4)<<8,i=-1;if(n.strategy>=Rv||n.level<2?i=0:n.level<6?i=1:n.level===6?i=2:i=3,a|=i<<6,n.strstart!==0&&(a|=tWe),a+=31-a%31,xp(n,a),n.strstart!==0&&(xp(n,e.adler>>>16),xp(n,e.adler&65535)),e.adler=1,n.status=_c,Ci(e),n.pending!==0)return n.last_flush=-1,Ca}if(n.status===HA){if(e.adler=0,Ln(n,31),Ln(n,139),Ln(n,8),n.gzhead)Ln(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Ln(n,n.gzhead.time&255),Ln(n,n.gzhead.time>>8&255),Ln(n,n.gzhead.time>>16&255),Ln(n,n.gzhead.time>>24&255),Ln(n,n.level===9?2:n.strategy>=Rv||n.level<2?4:0),Ln(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(Ln(n,n.gzhead.extra.length&255),Ln(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=ca(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=M$;else if(Ln(n,0),Ln(n,0),Ln(n,0),Ln(n,0),Ln(n,0),Ln(n,n.level===9?2:n.strategy>=Rv||n.level<2?4:0),Ln(n,nWe),n.status=_c,Ci(e),n.pending!==0)return n.last_flush=-1,Ca}if(n.status===M$){if(n.gzhead.extra){let a=n.pending,i=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+i>n.pending_buf_size;){let s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>a&&(e.adler=ca(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,Ci(e),n.pending!==0)return n.last_flush=-1,Ca;a=0,i-=s}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending+=i,n.gzhead.hcrc&&n.pending>a&&(e.adler=ca(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=P$}if(n.status===P$){if(n.gzhead.name){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=ca(e.adler,n.pending_buf,n.pending-a,a)),Ci(e),n.pending!==0)return n.last_flush=-1,Ca;a=0}n.gzindexa&&(e.adler=ca(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=L$}if(n.status===L$){if(n.gzhead.comment){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=ca(e.adler,n.pending_buf,n.pending-a,a)),Ci(e),n.pending!==0)return n.last_flush=-1,Ca;a=0}n.gzindexa&&(e.adler=ca(e.adler,n.pending_buf,n.pending-a,a))}n.status=j$}if(n.status===j$){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(Ci(e),n.pending!==0))return n.last_flush=-1,Ca;Ln(n,e.adler&255),Ln(n,e.adler>>8&255),e.adler=0}if(n.status=_c,Ci(e),n.pending!==0)return n.last_flush=-1,Ca}if(e.avail_in!==0||n.lookahead!==0||t!==Pl&&n.status!==Pp){let a=n.level===0?WQ(n,t):n.strategy===Rv?oWe(n,t):n.strategy===HVe?iWe(n,t):Lp[n.level].func(n,t);if((a===ru||a===Wf)&&(n.status=Pp),a===Ya||a===ru)return e.avail_out===0&&(n.last_flush=-1),Ca;if(a===Vf&&(t===LVe?PVe(n):t!==B7&&(A$(n,0,0,!1),t===jVe&&(gl(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Ci(e),e.avail_out===0))return n.last_flush=-1,Ca}return t!==eo?Ca:n.wrap<=0?z7:(n.wrap===2?(Ln(n,e.adler&255),Ln(n,e.adler>>8&255),Ln(n,e.adler>>16&255),Ln(n,e.adler>>24&255),Ln(n,e.total_in&255),Ln(n,e.total_in>>8&255),Ln(n,e.total_in>>16&255),Ln(n,e.total_in>>24&255)):(xp(n,e.adler>>>16),xp(n,e.adler&65535)),Ci(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?Ca:z7)},fWe=e=>{if(gh(e))return as;const t=e.state.status;return e.state=null,t===_c?$c(e,FVe):Ca},pWe=(e,t)=>{let n=t.length;if(gh(e))return as;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==pf||r.lookahead)return as;if(a===1&&(e.adler=dm(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(gl(r.head),r.strstart=0,r.block_start=0,r.insert=0);let c=new Uint8Array(r.w_size);c.set(t.subarray(n-r.w_size,n),0),t=c,n=r.w_size}const i=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,gf(r);r.lookahead>=Rn;){let c=r.strstart,u=r.lookahead-(Rn-1);do r.ins_h=Ll(r,r.ins_h,r.window[c+Rn-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++;while(--u);r.strstart=c,r.lookahead=Rn-1,gf(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=Rn-1,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=i,r.wrap=a,Ca};var gWe=uWe,mWe=KQ,hWe=qQ,vWe=GQ,bWe=cWe,yWe=dWe,xWe=fWe,SWe=pWe,wWe="pako deflate (from Nodeca project)",ug={deflateInit:gWe,deflateInit2:mWe,deflateReset:hWe,deflateResetKeep:vWe,deflateSetHeader:bWe,deflate:yWe,deflateEnd:xWe,deflateSetDictionary:SWe,deflateInfo:wWe};const CWe=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var EWe=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)CWe(n,r)&&(e[r]=n[r])}}return e},IWe=e=>{let t=0;for(let r=0,a=e.length;r=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;fm[254]=fm[254]=1;var TWe=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,i,o=e.length,s=0;for(a=0;a>>6,t[i++]=128|n&63):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|n&63):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|n&63);return t};const RWe=(e,t)=>{if(t<65534&&e.subarray&&YQ)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,a;const i=new Array(n*2);for(a=0,r=0;r4){i[a++]=65533,r+=s-1;continue}for(o&=s===2?31:s===3?15:7;s>1&&r1){i[a++]=65533;continue}o<65536?i[a++]=o:(o-=65536,i[a++]=55296|o>>10&1023,i[a++]=56320|o&1023)}return RWe(i,a)},$We=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+fm[e[n]]>t?n:t},pm={string2buf:TWe,buf2string:_We,utf8border:$We};function OWe(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var XQ=OWe;const ZQ=Object.prototype.toString,{Z_NO_FLUSH:NWe,Z_SYNC_FLUSH:kWe,Z_FULL_FLUSH:AWe,Z_FINISH:DWe,Z_OK:k0,Z_STREAM_END:MWe,Z_DEFAULT_COMPRESSION:PWe,Z_DEFAULT_STRATEGY:LWe,Z_DEFLATED:jWe}=Uf;function mh(e){this.options=qx.assign({level:PWe,method:jWe,chunkSize:16384,windowBits:15,memLevel:8,strategy:LWe},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new XQ,this.strm.avail_out=0;let n=ug.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==k0)throw new Error(nu[n]);if(t.header&&ug.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=pm.string2buf(t.dictionary):ZQ.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=ug.deflateSetDictionary(this.strm,r),n!==k0)throw new Error(nu[n]);this._dict_set=!0}}mh.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let a,i;if(this.ended)return!1;for(t===~~t?i=t:i=t===!0?DWe:NWe,typeof e=="string"?n.input=pm.string2buf(e):ZQ.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(i===kWe||i===AWe)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=ug.deflate(n,i),a===MWe)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=ug.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===k0;if(n.avail_out===0){this.onData(n.output);continue}if(i>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};mh.prototype.onData=function(e){this.chunks.push(e)};mh.prototype.onEnd=function(e){e===k0&&(this.result=qx.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function UA(e,t){const n=new mh(t);if(n.push(e,!0),n.err)throw n.msg||nu[n.err];return n.result}function FWe(e,t){return t=t||{},t.raw=!0,UA(e,t)}function BWe(e,t){return t=t||{},t.gzip=!0,UA(e,t)}var zWe=mh,HWe=UA,UWe=FWe,VWe=BWe,WWe=Uf,GWe={Deflate:zWe,deflate:HWe,deflateRaw:UWe,gzip:VWe,constants:WWe};const _v=16209,qWe=16191;var KWe=function(t,n){let r,a,i,o,s,c,u,d,p,g,m,h,b,y,S,v,x,w,C,E,I,T,_,R;const $=t.state;r=t.next_in,_=t.input,a=r+(t.avail_in-5),i=t.next_out,R=t.output,o=i-(n-t.avail_out),s=i+(t.avail_out-257),c=$.dmax,u=$.wsize,d=$.whave,p=$.wnext,g=$.window,m=$.hold,h=$.bits,b=$.lencode,y=$.distcode,S=(1<<$.lenbits)-1,v=(1<<$.distbits)-1;e:do{h<15&&(m+=_[r++]<>>24,m>>>=w,h-=w,w=x>>>16&255,w===0)R[i++]=x&65535;else if(w&16){C=x&65535,w&=15,w&&(h>>=w,h-=w),h<15&&(m+=_[r++]<>>24,m>>>=w,h-=w,w=x>>>16&255,w&16){if(E=x&65535,w&=15,hc){t.msg="invalid distance too far back",$.mode=_v;break e}if(m>>>=w,h-=w,w=i-o,E>w){if(w=E-w,w>d&&$.sane){t.msg="invalid distance too far back",$.mode=_v;break e}if(I=0,T=g,p===0){if(I+=u-w,w2;)R[i++]=T[I++],R[i++]=T[I++],R[i++]=T[I++],C-=3;C&&(R[i++]=T[I++],C>1&&(R[i++]=T[I++]))}else{I=i-E;do R[i++]=R[I++],R[i++]=R[I++],R[i++]=R[I++],C-=3;while(C>2);C&&(R[i++]=R[I++],C>1&&(R[i++]=R[I++]))}}else if(w&64){t.msg="invalid distance code",$.mode=_v;break e}else{x=y[(x&65535)+(m&(1<>3,r-=C,h-=C<<3,m&=(1<{const c=s.bits;let u=0,d=0,p=0,g=0,m=0,h=0,b=0,y=0,S=0,v=0,x,w,C,E,I,T=null,_;const R=new Uint16Array(Gu+1),$=new Uint16Array(Gu+1);let M=null,P,D,O;for(u=0;u<=Gu;u++)R[u]=0;for(d=0;d=1&&R[g]===0;g--);if(m>g&&(m=g),g===0)return a[i++]=1<<24|64<<16|0,a[i++]=1<<24|64<<16|0,s.bits=1,0;for(p=1;p0&&(e===W7||g!==1))return-1;for($[1]=0,u=1;uU7||e===G7&&S>V7)return 1;for(;;){P=u-b,o[d]+1<_?(D=0,O=o[d]):o[d]>=_?(D=M[o[d]-_],O=T[o[d]-_]):(D=96,O=0),x=1<>b)+w]=P<<24|D<<16|O|0;while(w!==0);for(x=1<>=1;if(x!==0?(v&=x-1,v+=x):v=0,d++,--R[u]===0){if(u===g)break;u=t[n+o[d]]}if(u>m&&(v&E)!==C){for(b===0&&(b=m),I+=p,h=u-b,y=1<U7||e===G7&&S>V7)return 1;C=v&E,a[C]=m<<24|h<<16|I-i|0}}return v!==0&&(a[I+v]=u-b<<24|64<<16|0),s.bits=m,0};var dg=JWe;const eGe=0,QQ=1,JQ=2,{Z_FINISH:q7,Z_BLOCK:tGe,Z_TREES:$v,Z_OK:au,Z_STREAM_END:nGe,Z_NEED_DICT:rGe,Z_STREAM_ERROR:po,Z_DATA_ERROR:eJ,Z_MEM_ERROR:tJ,Z_BUF_ERROR:aGe,Z_DEFLATED:K7}=Uf,Kx=16180,Y7=16181,X7=16182,Z7=16183,Q7=16184,J7=16185,ez=16186,tz=16187,nz=16188,rz=16189,A0=16190,hs=16191,mT=16192,az=16193,hT=16194,iz=16195,oz=16196,sz=16197,lz=16198,Ov=16199,Nv=16200,cz=16201,uz=16202,dz=16203,fz=16204,pz=16205,vT=16206,gz=16207,mz=16208,xr=16209,nJ=16210,rJ=16211,iGe=852,oGe=592,sGe=15,lGe=sGe,hz=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function cGe(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Eu=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.moderJ?1:0},aJ=e=>{if(Eu(e))return po;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Kx,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(iGe),t.distcode=t.distdyn=new Int32Array(oGe),t.sane=1,t.back=-1,au},iJ=e=>{if(Eu(e))return po;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,aJ(e)},oJ=(e,t)=>{let n;if(Eu(e))return po;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?po:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,iJ(e))},sJ=(e,t)=>{if(!e)return po;const n=new cGe;e.state=n,n.strm=e,n.window=null,n.mode=Kx;const r=oJ(e,t);return r!==au&&(e.state=null),r},uGe=e=>sJ(e,lGe);let vz=!0,bT,yT;const dGe=e=>{if(vz){bT=new Int32Array(512),yT=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(dg(QQ,e.lens,0,288,bT,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;dg(JQ,e.lens,0,32,yT,0,e.work,{bits:5}),vz=!1}e.lencode=bT,e.lenbits=9,e.distcode=yT,e.distbits=5},lJ=(e,t,n,r)=>{let a;const i=e.state;return i.window===null&&(i.wsize=1<=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):(a=i.wsize-i.wnext,a>r&&(a=r),i.window.set(t.subarray(n-r,n-r+a),i.wnext),r-=a,r?(i.window.set(t.subarray(n-r,n),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave{let n,r,a,i,o,s,c,u,d,p,g,m,h,b,y=0,S,v,x,w,C,E,I,T;const _=new Uint8Array(4);let R,$;const M=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Eu(e)||!e.output||!e.input&&e.avail_in!==0)return po;n=e.state,n.mode===hs&&(n.mode=mT),o=e.next_out,a=e.output,c=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,p=s,g=c,T=au;e:for(;;)switch(n.mode){case Kx:if(n.wrap===0){n.mode=mT;break}for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=ca(n.check,_,2,0),u=0,d=0,n.mode=Y7;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=xr;break}if((u&15)!==K7){e.msg="unknown compression method",n.mode=xr;break}if(u>>>=4,d-=4,I=(u&15)+8,n.wbits===0&&(n.wbits=I),I>15||I>n.wbits){e.msg="invalid window size",n.mode=xr;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(_[0]=u&255,_[1]=u>>>8&255,n.check=ca(n.check,_,2,0)),u=0,d=0,n.mode=X7;case X7:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>8&255,_[2]=u>>>16&255,_[3]=u>>>24&255,n.check=ca(n.check,_,4,0)),u=0,d=0,n.mode=Z7;case Z7:for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>8),n.flags&512&&n.wrap&4&&(_[0]=u&255,_[1]=u>>>8&255,n.check=ca(n.check,_,2,0)),u=0,d=0,n.mode=Q7;case Q7:if(n.flags&1024){for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=ca(n.check,_,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=J7;case J7:if(n.flags&1024&&(m=n.length,m>s&&(m=s),m&&(n.head&&(I=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(i,i+m),I)),n.flags&512&&n.wrap&4&&(n.check=ca(n.check,r,m,i)),s-=m,i+=m,n.length-=m),n.length))break e;n.length=0,n.mode=ez;case ez:if(n.flags&2048){if(s===0)break e;m=0;do I=r[i+m++],n.head&&I&&n.length<65536&&(n.head.name+=String.fromCharCode(I));while(I&&m>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=hs;break;case rz:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>=d&7,d-=d&7,n.mode=vT;break}for(;d<3;){if(s===0)break e;s--,u+=r[i++]<>>=1,d-=1,u&3){case 0:n.mode=az;break;case 1:if(dGe(n),n.mode=Ov,t===$v){u>>>=2,d-=2;break e}break;case 2:n.mode=oz;break;case 3:e.msg="invalid block type",n.mode=xr}u>>>=2,d-=2;break;case az:for(u>>>=d&7,d-=d&7;d<32;){if(s===0)break e;s--,u+=r[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=xr;break}if(n.length=u&65535,u=0,d=0,n.mode=hT,t===$v)break e;case hT:n.mode=iz;case iz:if(m=n.length,m){if(m>s&&(m=s),m>c&&(m=c),m===0)break e;a.set(r.subarray(i,i+m),o),s-=m,i+=m,c-=m,o+=m,n.length-=m;break}n.mode=hs;break;case oz:for(;d<14;){if(s===0)break e;s--,u+=r[i++]<>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=xr;break}n.have=0,n.mode=sz;case sz:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,R={bits:n.lenbits},T=dg(eGe,n.lens,0,19,n.lencode,0,n.work,R),n.lenbits=R.bits,T){e.msg="invalid code lengths set",n.mode=xr;break}n.have=0,n.mode=lz;case lz:for(;n.have>>24,v=y>>>16&255,x=y&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=S,d-=S,n.lens[n.have++]=x;else{if(x===16){for($=S+2;d<$;){if(s===0)break e;s--,u+=r[i++]<>>=S,d-=S,n.have===0){e.msg="invalid bit length repeat",n.mode=xr;break}I=n.lens[n.have-1],m=3+(u&3),u>>>=2,d-=2}else if(x===17){for($=S+3;d<$;){if(s===0)break e;s--,u+=r[i++]<>>=S,d-=S,I=0,m=3+(u&7),u>>>=3,d-=3}else{for($=S+7;d<$;){if(s===0)break e;s--,u+=r[i++]<>>=S,d-=S,I=0,m=11+(u&127),u>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=xr;break}for(;m--;)n.lens[n.have++]=I}}if(n.mode===xr)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=xr;break}if(n.lenbits=9,R={bits:n.lenbits},T=dg(QQ,n.lens,0,n.nlen,n.lencode,0,n.work,R),n.lenbits=R.bits,T){e.msg="invalid literal/lengths set",n.mode=xr;break}if(n.distbits=6,n.distcode=n.distdyn,R={bits:n.distbits},T=dg(JQ,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,R),n.distbits=R.bits,T){e.msg="invalid distances set",n.mode=xr;break}if(n.mode=Ov,t===$v)break e;case Ov:n.mode=Nv;case Nv:if(s>=6&&c>=258){e.next_out=o,e.avail_out=c,e.next_in=i,e.avail_in=s,n.hold=u,n.bits=d,KWe(e,g),o=e.next_out,a=e.output,c=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,n.mode===hs&&(n.back=-1);break}for(n.back=0;y=n.lencode[u&(1<>>24,v=y>>>16&255,x=y&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>w)],S=y>>>24,v=y>>>16&255,x=y&65535,!(w+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=w,d-=w,n.back+=w}if(u>>>=S,d-=S,n.back+=S,n.length=x,v===0){n.mode=pz;break}if(v&32){n.back=-1,n.mode=hs;break}if(v&64){e.msg="invalid literal/length code",n.mode=xr;break}n.extra=v&15,n.mode=cz;case cz:if(n.extra){for($=n.extra;d<$;){if(s===0)break e;s--,u+=r[i++]<>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=uz;case uz:for(;y=n.distcode[u&(1<>>24,v=y>>>16&255,x=y&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>w)],S=y>>>24,v=y>>>16&255,x=y&65535,!(w+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=w,d-=w,n.back+=w}if(u>>>=S,d-=S,n.back+=S,v&64){e.msg="invalid distance code",n.mode=xr;break}n.offset=x,n.extra=v&15,n.mode=dz;case dz:if(n.extra){for($=n.extra;d<$;){if(s===0)break e;s--,u+=r[i++]<>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=xr;break}n.mode=fz;case fz:if(c===0)break e;if(m=g-c,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=xr;break}m>n.wnext?(m-=n.wnext,h=n.wsize-m):h=n.wnext-m,m>n.length&&(m=n.length),b=n.window}else b=a,h=o-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do a[o++]=b[h++];while(--m);n.length===0&&(n.mode=Nv);break;case pz:if(c===0)break e;a[o++]=n.length,c--,n.mode=Nv;break;case vT:if(n.wrap){for(;d<32;){if(s===0)break e;s--,u|=r[i++]<{if(Eu(e))return po;let t=e.state;return t.window&&(t.window=null),e.state=null,au},gGe=(e,t)=>{if(Eu(e))return po;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,au):po},mGe=(e,t)=>{const n=t.length;let r,a,i;return Eu(e)||(r=e.state,r.wrap!==0&&r.mode!==A0)?po:r.mode===A0&&(a=1,a=dm(a,t,n,0),a!==r.check)?eJ:(i=lJ(e,t,n,n),i?(r.mode=nJ,tJ):(r.havedict=1,au))};var hGe=iJ,vGe=oJ,bGe=aJ,yGe=uGe,xGe=sJ,SGe=fGe,wGe=pGe,CGe=gGe,EGe=mGe,IGe="pako inflate (from Nodeca project)",Es={inflateReset:hGe,inflateReset2:vGe,inflateResetKeep:bGe,inflateInit:yGe,inflateInit2:xGe,inflate:SGe,inflateEnd:wGe,inflateGetHeader:CGe,inflateSetDictionary:EGe,inflateInfo:IGe};function TGe(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var RGe=TGe;const cJ=Object.prototype.toString,{Z_NO_FLUSH:_Ge,Z_FINISH:$Ge,Z_OK:gm,Z_STREAM_END:xT,Z_NEED_DICT:ST,Z_STREAM_ERROR:OGe,Z_DATA_ERROR:bz,Z_MEM_ERROR:NGe}=Uf;function hh(e){this.options=qx.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new XQ,this.strm.avail_out=0;let n=Es.inflateInit2(this.strm,t.windowBits);if(n!==gm)throw new Error(nu[n]);if(this.header=new RGe,Es.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=pm.string2buf(t.dictionary):cJ.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Es.inflateSetDictionary(this.strm,t.dictionary),n!==gm)))throw new Error(nu[n])}hh.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let i,o,s;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?$Ge:_Ge,cJ.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),i=Es.inflate(n,o),i===ST&&a&&(i=Es.inflateSetDictionary(n,a),i===gm?i=Es.inflate(n,o):i===bz&&(i=ST));n.avail_in>0&&i===xT&&n.state.wrap>0&&e[n.next_in]!==0;)Es.inflateReset(n),i=Es.inflate(n,o);switch(i){case OGe:case bz:case ST:case NGe:return this.onEnd(i),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||i===xT))if(this.options.to==="string"){let c=pm.utf8border(n.output,n.next_out),u=n.next_out-c,d=pm.buf2string(n.output,c);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(c,c+u),0),this.onData(d)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(i===gm&&s===0)){if(i===xT)return i=Es.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};hh.prototype.onData=function(e){this.chunks.push(e)};hh.prototype.onEnd=function(e){e===gm&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=qx.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function VA(e,t){const n=new hh(t);if(n.push(e),n.err)throw n.msg||nu[n.err];return n.result}function kGe(e,t){return t=t||{},t.raw=!0,VA(e,t)}var AGe=hh,DGe=VA,MGe=kGe,PGe=VA,LGe=Uf,jGe={Inflate:AGe,inflate:DGe,inflateRaw:MGe,ungzip:PGe,constants:LGe};const{Deflate:AZe,deflate:FGe,deflateRaw:DZe,gzip:MZe}=GWe,{Inflate:BGe,inflate:PZe,inflateRaw:LZe,ungzip:jZe}=jGe;var zGe=FGe,HGe=BGe;class jp{constructor(t,n=!1,r=!0){this.device=t,this.tracing=n,this.slipReaderEnabled=!1,this.leftOver=new Uint8Array(0),this.baudrate=0,this.traceLog="",this.lastTraceTime=Date.now(),this._DTR_state=!1,this.slipReaderEnabled=r}getInfo(){const t=this.device.getInfo();return t.usbVendorId&&t.usbProductId?`WebSerial VendorID 0x${t.usbVendorId.toString(16)} ProductID 0x${t.usbProductId.toString(16)}`:""}getPid(){return this.device.getInfo().usbProductId}trace(t){const a=`${`TRACE ${(Date.now()-this.lastTraceTime).toFixed(3)}`} ${t}`;console.log(a),this.traceLog+=a+` -`}async returnTrace(){try{await navigator.clipboard.writeText(this.traceLog),console.log("Text copied to clipboard!")}catch(t){console.error("Failed to copy text:",t)}}hexify(t){return Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("").padEnd(16," ")}hexConvert(t,n=!0){if(n&&t.length>16){let r="",a=t;for(;a.length>0;){const i=a.slice(0,16),o=String.fromCharCode(...i).split("").map(s=>s===" "||s>=" "&&s<="~"&&s!==" "?s:".").join("");a=a.slice(16),r+=` - ${this.hexify(i.slice(0,8))} ${this.hexify(i.slice(8))} | ${o}`}return r}else return this.hexify(t)}slipWriter(t){const n=[];n.push(192);for(let r=0;r0)return i;a=this.leftOver,this.leftOver=new Uint8Array(0)}if(this.device.readable==null)return this.leftOver;this.reader=this.device.readable.getReader();try{t>0&&(r=setTimeout(()=>{this.reader&&this.reader.cancel()},t));do{const{value:i,done:o}=await this.reader.read();if(o)throw this.leftOver=a,new Error("Timeout");a=new Uint8Array(this._appendBuffer(a.buffer,i.buffer))}while(a.length0&&clearTimeout(r),this.reader.releaseLock()}if(this.tracing&&(console.log("Read bytes"),this.trace(`Read ${a.length} bytes: ${this.hexConvert(a)}`)),this.slipReaderEnabled){const i=this.slipReader(a);return this.tracing&&(console.log("Slip reader results"),this.trace(`Read ${i.length} bytes: ${this.hexConvert(i)}`)),i}return a}async rawRead(t=0){if(this.leftOver.length!=0){const r=this.leftOver;return this.leftOver=new Uint8Array(0),r}if(!this.device.readable)return this.leftOver;this.reader=this.device.readable.getReader();let n;try{t>0&&(n=setTimeout(()=>{this.reader&&this.reader.cancel()},t));const{value:r,done:a}=await this.reader.read();return a||this.tracing&&(console.log("Raw Read bytes"),this.trace(`Read ${r.length} bytes: ${this.hexConvert(r)}`)),r}finally{t>0&&clearTimeout(n),this.reader.releaseLock()}}async setRTS(t){await this.device.setSignals({requestToSend:t}),await this.setDTR(this._DTR_state)}async setDTR(t){this._DTR_state=t,await this.device.setSignals({dataTerminalReady:t})}async connect(t=115200,n={}){await this.device.open({baudRate:t,dataBits:n==null?void 0:n.dataBits,stopBits:n==null?void 0:n.stopBits,bufferSize:n==null?void 0:n.bufferSize,parity:n==null?void 0:n.parity,flowControl:n==null?void 0:n.flowControl}),this.baudrate=t,this.leftOver=new Uint8Array(0)}async sleep(t){return new Promise(n=>setTimeout(n,t))}async waitForUnlock(t){for(;this.device.readable&&this.device.readable.locked||this.device.writable&&this.device.writable.locked;)await this.sleep(t)}async disconnect(){var t,n;!((t=this.device.readable)===null||t===void 0)&&t.locked&&await((n=this.reader)===null||n===void 0?void 0:n.cancel()),await this.waitForUnlock(400),this.reader=void 0,await this.device.close()}}function bb(e){return new Promise(t=>setTimeout(t,e))}async function UGe(e){await e.setRTS(!1),await e.setDTR(!1),await bb(100),await e.setDTR(!0),await e.setRTS(!1),await bb(100),await e.setRTS(!0),await e.setDTR(!1),await e.setRTS(!0),await bb(100),await e.setRTS(!1),await e.setDTR(!1)}function VGe(e){const t=["D","R","W"],n=e.split("|");for(const r of n){const a=r[0],i=r.slice(1);if(!t.includes(a))return!1;if(a==="D"||a==="R"){if(i!=="0"&&i!=="1")return!1}else if(a==="W"){const o=parseInt(i);if(isNaN(o)||o<=0)return!1}}return!0}async function WGe(e,t){const n={D:async r=>await e.setDTR(r),R:async r=>await e.setRTS(r),W:async r=>await bb(r)};try{if(!VGe(t))return;const a=t.split("|");for(const i of a){const o=i[0],s=i.slice(1);o==="W"?await n.W(Number(s)):(o==="D"||o==="R")&&await n[o](s==="1")}}catch{throw new Error("Invalid custom reset sequence")}}var GGe=function(t){return atob(t)};const yz=Za(GGe);async function qGe(e){switch(e){case 15736195:{const{ESP32ROM:t}=await bo(async()=>{const{ESP32ROM:n}=await import("./esp32-BPYaDt9v.js");return{ESP32ROM:n}},__vite__mapDeps([0,1]));return new t}case 1867591791:case 2084675695:{const{ESP32C2ROM:t}=await bo(async()=>{const{ESP32C2ROM:n}=await import("./esp32c2-CVPL8n1g.js");return{ESP32C2ROM:n}},__vite__mapDeps([2,3,1]));return new t}case 1763790959:case 456216687:case 1216438383:case 1130455151:{const{ESP32C3ROM:t}=await bo(async()=>{const{ESP32C3ROM:n}=await import("./esp32c3-I3vXmsVg.js");return{ESP32C3ROM:n}},__vite__mapDeps([3,1]));return new t}case 752910447:{const{ESP32C6ROM:t}=await bo(async()=>{const{ESP32C6ROM:n}=await import("./esp32c6-C93uIFil.js");return{ESP32C6ROM:n}},__vite__mapDeps([4,1]));return new t}case 871374959:case 606167151:{const{ESP32C61ROM:t}=await bo(async()=>{const{ESP32C61ROM:n}=await import("./esp32c61-Qo5S0GG2.js");return{ESP32C61ROM:n}},__vite__mapDeps([5,4,1]));return new t}case 285294703:case 1675706479:{const{ESP32C5ROM:t}=await bo(async()=>{const{ESP32C5ROM:n}=await import("./esp32c5-CAGCiNY4.js");return{ESP32C5ROM:n}},__vite__mapDeps([6,4,1]));return new t}case 3619110528:{const{ESP32H2ROM:t}=await bo(async()=>{const{ESP32H2ROM:n}=await import("./esp32h2-Cf8JbGZQ.js");return{ESP32H2ROM:n}},__vite__mapDeps([7,1]));return new t}case 9:{const{ESP32S3ROM:t}=await bo(async()=>{const{ESP32S3ROM:n}=await import("./esp32s3-mu2zzjDN.js");return{ESP32S3ROM:n}},__vite__mapDeps([8,1]));return new t}case 1990:{const{ESP32S2ROM:t}=await bo(async()=>{const{ESP32S2ROM:n}=await import("./esp32s2-3nCAg6Ct.js");return{ESP32S2ROM:n}},__vite__mapDeps([9,1]));return new t}case 4293968129:{const{ESP8266ROM:t}=await bo(async()=>{const{ESP8266ROM:n}=await import("./esp8266-8VKmCx7J.js");return{ESP8266ROM:n}},__vite__mapDeps([10,1]));return new t}case 0:case 182303440:case 117676761:{const{ESP32P4ROM:t}=await bo(async()=>{const{ESP32P4ROM:n}=await import("./esp32p4-DfBdIAkh.js");return{ESP32P4ROM:n}},__vite__mapDeps([11,0,1]));return new t}default:return null}}class kv{constructor(t){this.ESP_RAM_BLOCK=6144,this.ESP_FLASH_BEGIN=2,this.ESP_FLASH_DATA=3,this.ESP_FLASH_END=4,this.ESP_MEM_BEGIN=5,this.ESP_MEM_END=6,this.ESP_MEM_DATA=7,this.ESP_WRITE_REG=9,this.ESP_READ_REG=10,this.ESP_SPI_ATTACH=13,this.ESP_CHANGE_BAUDRATE=15,this.ESP_FLASH_DEFL_BEGIN=16,this.ESP_FLASH_DEFL_DATA=17,this.ESP_FLASH_DEFL_END=18,this.ESP_SPI_FLASH_MD5=19,this.ESP_ERASE_FLASH=208,this.ESP_ERASE_REGION=209,this.ESP_READ_FLASH=210,this.ESP_RUN_USER_CODE=211,this.ESP_IMAGE_MAGIC=233,this.ESP_CHECKSUM_MAGIC=239,this.ROM_INVALID_RECV_MSG=5,this.ERASE_REGION_TIMEOUT_PER_MB=3e4,this.ERASE_WRITE_TIMEOUT_PER_MB=4e4,this.MD5_TIMEOUT_PER_MB=8e3,this.CHIP_ERASE_TIMEOUT=12e4,this.FLASH_READ_TIMEOUT=1e5,this.MAX_TIMEOUT=this.CHIP_ERASE_TIMEOUT*2,this.CHIP_DETECT_MAGIC_REG_ADDR=1073745920,this.DETECTED_FLASH_SIZES={18:"256KB",19:"512KB",20:"1MB",21:"2MB",22:"4MB",23:"8MB",24:"16MB"},this.DETECTED_FLASH_SIZES_NUM={18:256,19:512,20:1024,21:2048,22:4096,23:8192,24:16384},this.USB_JTAG_SERIAL_PID=4097,this.romBaudrate=115200,this.debugLogging=!1,this.syncStubDetected=!1,this.checksum=function(n){let r,a=239;for(r=0;rsetTimeout(n,t))}write(t,n=!0){this.terminal?n?this.terminal.writeLine(t):this.terminal.write(t):console.log(t)}error(t,n=!0){this.write(`Error: ${t}`,n)}info(t,n=!0){this.write(t,n)}debug(t,n=!0){this.debugLogging&&this.write(`Debug: ${t}`,n)}_shortToBytearray(t){return new Uint8Array([t&255,t>>8&255])}_intToByteArray(t){return new Uint8Array([t&255,t>>8&255,t>>16&255,t>>24&255])}_byteArrayToShort(t,n){return t|n>>8}_byteArrayToInt(t,n,r,a){return t|n<<8|r<<16|a<<24}_appendBuffer(t,n){const r=new Uint8Array(t.byteLength+n.byteLength);return r.set(new Uint8Array(t),0),r.set(new Uint8Array(n),t.byteLength),r.buffer}_appendArray(t,n){const r=new Uint8Array(t.length+n.length);return r.set(t,0),r.set(n,t.length),r}ui8ToBstr(t){let n="";for(let r=0;r0&&(o=this._appendArray(o,this._intToByteArray(this.chip.UART_DATE_REG_ADDR)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(i))),await this.checkCommand("write target memory",this.ESP_WRITE_REG,o)}async sync(){this.debug("Sync");const t=new Uint8Array(36);let n;for(t[0]=7,t[1]=7,t[2]=18,t[3]=32,n=0;n<32;n++)t[4+n]=85;try{const r=await this.command(8,t,void 0,void 0,100);return this.syncStubDetected=this.syncStubDetected&&r[0]===0,r}catch(r){throw this.debug("Sync err "+r),r}}async _connectAttempt(t="default_reset",n=!1){if(this.debug("_connect_attempt "+t+" "+n),t!=="no_reset")if(this.transport.getPid()===this.USB_JTAG_SERIAL_PID)await UGe(this.transport);else{const i=n?"D0|R1|W100|W2000|D1|R0|W50|D0":"D0|R1|W100|D1|R0|W50|D0";await WGe(this.transport,i)}let r=0,a=!0;for(;a;){try{const i=await this.transport.read(1e3);r+=i.length}catch(i){if(this.debug(i.message),i instanceof Error){a=!1;break}}await this._sleep(50)}for(this.transport.slipReaderEnabled=!0,this.syncStubDetected=!0,r=7;r--;){try{const i=await this.sync();return this.debug(i[0].toString()),"success"}catch(i){i instanceof Error&&(n?this.info("_",!1):this.info(".",!1))}await this._sleep(50)}return"error"}async connect(t="default_reset",n=7,r=!1){let a,i;for(this.info("Connecting...",!1),await this.transport.connect(this.romBaudrate,this.serialOptions),a=0;a>>0;this.debug("Chip Magic "+o.toString(16));const s=await qGe(o);if(this.chip===null)throw new Wa(`Unexpected CHIP magic value ${o}. Failed to autodetect chip type.`);this.chip=s}}async detectChip(t="default_reset"){await this.connect(t),this.info("Detecting chip type... ",!1),this.chip!=null?this.info(this.chip.CHIP_NAME):this.info("unknown!")}async checkCommand(t="",n=null,r=new Uint8Array(0),a=0,i=3e3){this.debug("check_command "+t);const o=await this.command(n,r,a,void 0,i);return o[1].length>4?o[1]:o[0]}async memBegin(t,n,r,a){this.debug("mem_begin "+t+" "+n+" "+r+" "+a.toString(16));let i=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));i=this._appendArray(i,this._intToByteArray(r)),i=this._appendArray(i,this._intToByteArray(a)),await this.checkCommand("enter RAM download mode",this.ESP_MEM_BEGIN,i)}async memBlock(t,n){let r=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,t);const a=this.checksum(t);await this.checkCommand("write to target RAM",this.ESP_MEM_DATA,r,a)}async memFinish(t){const n=t===0?1:0,r=this._appendArray(this._intToByteArray(n),this._intToByteArray(t));await this.checkCommand("leave RAM download mode",this.ESP_MEM_END,r,void 0,50)}async flashSpiAttach(t){const n=this._intToByteArray(t);await this.checkCommand("configure SPI flash pins",this.ESP_SPI_ATTACH,n)}async flashBegin(t,n){const r=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),a=this.chip.getEraseSize(n,t),i=new Date,o=i.getTime();let s=3e3;this.IS_STUB==!1&&(s=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,t)),this.debug("flash begin "+a+" "+r+" "+this.FLASH_WRITE_SIZE+" "+n+" "+t);let c=this._appendArray(this._intToByteArray(a),this._intToByteArray(r));c=this._appendArray(c,this._intToByteArray(this.FLASH_WRITE_SIZE)),c=this._appendArray(c,this._intToByteArray(n)),this.IS_STUB==!1&&(c=this._appendArray(c,this._intToByteArray(0))),await this.checkCommand("enter Flash download mode",this.ESP_FLASH_BEGIN,c,void 0,s);const u=i.getTime();return t!=0&&this.IS_STUB==!1&&this.info("Took "+(u-o)/1e3+"."+(u-o)%1e3+"s to erase flash block"),r}async flashDeflBegin(t,n,r){const a=Math.floor((n+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),i=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=new Date,s=o.getTime();let c,u;this.IS_STUB?(c=t,u=3e3):(c=i*this.FLASH_WRITE_SIZE,u=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,c)),this.info("Compressed "+t+" bytes to "+n+"...");let d=this._appendArray(this._intToByteArray(c),this._intToByteArray(a));d=this._appendArray(d,this._intToByteArray(this.FLASH_WRITE_SIZE)),d=this._appendArray(d,this._intToByteArray(r)),(this.chip.CHIP_NAME==="ESP32-S2"||this.chip.CHIP_NAME==="ESP32-S3"||this.chip.CHIP_NAME==="ESP32-C3"||this.chip.CHIP_NAME==="ESP32-C2")&&this.IS_STUB===!1&&(d=this._appendArray(d,this._intToByteArray(0))),await this.checkCommand("enter compressed flash mode",this.ESP_FLASH_DEFL_BEGIN,d,void 0,u);const p=o.getTime();return t!=0&&this.IS_STUB===!1&&this.info("Took "+(p-s)/1e3+"."+(p-s)%1e3+"s to erase flash block"),a}async flashBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const i=this.checksum(t);await this.checkCommand("write to target Flash after seq "+n,this.ESP_FLASH_DATA,a,i,r)}async flashDeflBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const i=this.checksum(t);this.debug("flash_defl_block "+t[0].toString(16)+" "+t[1].toString(16)),await this.checkCommand("write compressed data to flash after seq "+n,this.ESP_FLASH_DEFL_DATA,a,i,r)}async flashFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave Flash mode",this.ESP_FLASH_END,r)}async flashDeflFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave compressed flash mode",this.ESP_FLASH_DEFL_END,r)}async runSpiflashCommand(t,n,r){const s=this.chip.SPI_REG_BASE,c=s+0,u=s+this.chip.SPI_USR_OFFS,d=s+this.chip.SPI_USR1_OFFS,p=s+this.chip.SPI_USR2_OFFS,g=s+this.chip.SPI_W0_OFFS;let m;this.chip.SPI_MOSI_DLEN_OFFS!=null?m=async(I,T)=>{const _=s+this.chip.SPI_MOSI_DLEN_OFFS,R=s+this.chip.SPI_MISO_DLEN_OFFS;I>0&&await this.writeReg(_,I-1),T>0&&await this.writeReg(R,T-1)}:m=async(I,T)=>{const _=d,R=17,$=8,M=I===0?0:I-1,D=(T===0?0:T-1)<<$|M<32)throw new Wa("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new Wa("Writing more than 64 bytes of data with one SPI command is unsupported");const y=n.length*8,S=await this.readReg(u),v=await this.readReg(p);let x=-2147483648,w;r>0&&(x|=268435456),y>0&&(x|=134217728),await m(y,r),await this.writeReg(u,x);let C=7<("00"+n.toString(16)).slice(-2)).join("")}async flashMd5sum(t,n){const r=this.timeoutPerMb(this.MD5_TIMEOUT_PER_MB,n);let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0));let i=await this.checkCommand("calculate md5sum",this.ESP_SPI_FLASH_MD5,a,void 0,r);return i instanceof Uint8Array&&i.length>16&&(i=i.slice(0,16)),this.toHex(i)}async readFlash(t,n,r=null){let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(4096)),a=this._appendArray(a,this._intToByteArray(1024));const i=await this.checkCommand("read flash",this.ESP_READ_FLASH,a);if(i!=0)throw new Wa("Failed to read memory: "+i);let o=new Uint8Array(0);for(;o.length0&&(o=this._appendArray(o,s),await this.transport.write(this._intToByteArray(o.length)),r&&r(s,o.length,n));else throw new Wa("Failed to read memory: "+s)}return o}async runStub(){if(this.syncStubDetected)return this.info("Stub is already running. No upload is necessary."),this.chip;this.info("Uploading stub...");let t=yz(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=yz(this.chip.ROM_DATA),n=t.split("").map(function(s){return s.charCodeAt(0)});const a=new Uint8Array(n);let i=Math.floor((r.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK),o;for(await this.memBegin(r.length,i,this.ESP_RAM_BLOCK,this.chip.TEXT_START),o=0;o"u")throw new Wa("Flash size "+t+" is not supported by this chip type. Supported sizes: "+this.chip.FLASH_SIZES);return this.chip.FLASH_SIZES[t]}_updateImageFlashParams(t,n,r,a,i){if(this.debug("_update_image_flash_params "+r+" "+a+" "+i),t.length<8||n!=this.chip.BOOTLOADER_FLASH_OFFSET)return t;if(r==="keep"&&a==="keep"&&i==="keep")return this.info("Not changing the image"),t;const o=parseInt(t[0]);let s=parseInt(t[2]);const c=parseInt(t[3]);if(o!==this.ESP_IMAGE_MAGIC)return this.info("Warning: Image file at 0x"+n.toString(16)+" doesn't look like an image file, so not changing any flash settings."),t;a!=="keep"&&(s={qio:0,qout:1,dio:2,dout:3}[a]);let u=c&15;i!=="keep"&&(u={"40m":0,"26m":1,"20m":2,"80m":15}[i]);let d=c&240;r!=="keep"&&(d=this.parseFlashSizeArg(r));const p=s<<8|u+d;return this.info("Flash params set to "+p.toString(16)),parseInt(t[2])!==s<<8&&(t=t.substring(0,2)+(s<<8).toString()+t.substring(3)),parseInt(t[3])!==u+d&&(t=t.substring(0,3)+(u+d).toString()+t.substring(4)),t}async writeFlash(t){if(this.debug("EspLoader program"),t.flashSize!=="keep"){const a=this.flashSizeBytes(t.flashSize);for(let i=0;ia)throw new Wa(`File ${i+1} doesn't fit in the available flash`)}this.IS_STUB===!0&&t.eraseAll===!0&&await this.eraseFlash();let n,r;for(let a=0;a0&&(n+="ÿÿÿÿ".substring(4-i)),r=t.fileArray[a].address,this.debug("Image Length "+n.length),n.length===0){this.debug("Warning: File is empty");continue}n=this._updateImageFlashParams(n,r,t.flashSize,t.flashMode,t.flashFreq);let o=null;t.calculateMD5Hash&&(o=t.calculateMD5Hash(n),this.debug("Image MD5 "+o));const s=n.length;let c;if(t.compress){const v=this.bstrToUi8(n);n=this.ui8ToBstr(zGe(v,{level:9})),c=await this.flashDeflBegin(s,n.length,r)}else c=await this.flashBegin(s,r);let u=0,d=0;const p=n.length;t.reportProgress&&t.reportProgress(a,0,p);let g=new Date;const m=g.getTime();let h=5e3;const b=new HGe({chunkSize:1});let y=0;for(b.onData=function(v){y+=v.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+c),this.info("Writing at 0x"+(r+y).toString(16)+"... ("+Math.floor(100*(u+1)/c)+"%)");const v=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const x=y;b.push(v,!1);const w=y-x;let C=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,w)>3e3&&(C=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,w)),this.IS_STUB===!1&&(h=C),await this.flashDeflBlock(v,u,h),this.IS_STUB&&(h=C)}else throw new Wa("Yet to handle Non Compressed writes");d+=v.length,n=n.slice(this.FLASH_WRITE_SIZE,n.length),u++,t.reportProgress&&t.reportProgress(a,d,p)}this.IS_STUB&&await this.readReg(this.CHIP_DETECT_MAGIC_REG_ADDR,h),g=new Date;const S=g.getTime()-m;if(t.compress&&this.info("Wrote "+s+" bytes ("+d+" compressed) at 0x"+r.toString(16)+" in "+S/1e3+" seconds."),o){const v=await this.flashMd5sum(r,s);if(new String(v).valueOf()!=new String(o).valueOf())throw this.info("File md5: "+o),this.info("Flash md5: "+v),new Wa("MD5 of file does not match data in flash!");this.info("Hash of data verified.")}}this.info("Leaving..."),this.IS_STUB&&(await this.flashBegin(0,0),t.compress?await this.flashDeflFinish():await this.flashFinish())}async flashId(){this.debug("flash_id");const t=await this.readFlashId();this.info("Manufacturer: "+(t&255).toString(16));const n=t>>16&255;this.info("Device: "+(t>>8&255).toString(16)+n.toString(16)),this.info("Detected flash size: "+this.DETECTED_FLASH_SIZES[n])}async getFlashSize(){this.debug("flash_id");const n=await this.readFlashId()>>16&255;return this.DETECTED_FLASH_SIZES_NUM[n]}async hardReset(){await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1)}async softReset(){if(!this.IS_STUB)await this.flashBegin(0,0),await this.flashFinish(!1);else{if(this.chip.CHIP_NAME!="ESP8266")throw new Wa("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const KGe=()=>{const[e,t]=l.useState(0),n=["",".","..","...","....","....."];return l.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),f.jsx(f.Fragment,{children:n[e]})},YGe=()=>"serial"in navigator,qu=new Mn(On()),{Paragraph:Un,Text:XGe}=Sn,{Step:ZGe}=qs,{Option:QGe}=dr,JGe=()=>{const{t:e}=Nt(),{setFetchCloudStatus:t,addNotification:n,addLoadingNotification:r,closeLoadingNotification:a}=Qn(),i=cu(),o=pr.language,s=l.useRef(null),[c,u]=l.useState(!1),[d,p]=l.useState(""),[g,m]=l.useState(!1),[h,b]=l.useState(!1),[y,S]=l.useState(!1),[v,x]=l.useState("certs/client"),[w,C]=l.useState(""),[E,I]=l.useState(0),[T,_]=l.useState(!1),[R,$]=l.useState({progress:0,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",state:"",filename:"",flashName:"",port:null,originalFlash:null,patchedFlash:null,showStatus:!1,showProgress:!1,showDownload:!1,showFlash:!1,connected:!1,flagPreviousHostname:!1,previousHostname:"",hostname:window.location.hostname!=="localhost"&&window.location.hostname!=="127.0.0.1"?window.location.hostname:"",wifi_ssid:"",wifi_pass:"",proceed:!1,actionInProgress:!1,warningTextHostname:"",warningTextWifi:"",downloadLink:"",downloadLinkPatched:"",error:!1,resetBox:!1}),[M,P]=l.useState(!1),[D,O]=l.useState(921600),k=[300,1200,2400,4800,9600,14400,19200,38400,57600,115200,230400,460800,921600],N=115200,A=he=>{O(he)};function L(he){const re=new Uint8Array(he);let ve="";for(let _e=0;_e{(async()=>{const ve=await(await qu.apiGetTeddyCloudSettingRaw("core.certdir")).text();x(ve)})()},[]),l.useEffect(()=>{P(YGe())},[]),l.useEffect(()=>{if(window.location.protocol!=="https:"){u(!1);const he=async()=>{try{return await(await qu.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(_e){console.error("Error fetching https port: ",_e)}},re=async()=>{try{return await(await qu.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(_e){console.error("Error fetching http port: ",_e)}};(async()=>{const _e=await he()||"",ze=await re()||"",Ue=new URL(window.location.href);Ue.protocol="https:",Ue.port?Ue.port=Ue.port===ze?_e:Ue.port:Ue.port=_e,p(Ue.toString())})()}else u(!0)},[]),l.useEffect(()=>{R.resetBox&&R.patchedFlash&&K()},[R.resetBox,R.patchedFlash]),l.useEffect(()=>{me(E,(()=>{switch(E){case 0:return ce;case 1:return pe;case 2:return te;case 3:return R.resetBox?ge:fe;default:return f.jsx("div",{})}})())},[R,o]),l.useEffect(()=>{!R.resetBox&&R.proceed&&He()},[R.proceed]),l.useEffect(()=>{m(R.actionInProgress)},[R.actionInProgress]);const j=()=>{d&&(window.location.href=d)},F=async he=>{if(R.port)return console.log(R.port.getInfo),R.port;$(ve=>({...ve,showStatus:!0,showProgress:!1,progress:0,state:he||"Open serial port"}));let re=null;try{re=await navigator.serial.requestPort(),await re.open({baudRate:115200}),await re.close()}catch(ve){return ve==="NetworkError"?($(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):ve==="NotFoundError"?$(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):($(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+ve,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${ve}`)),null}return re?(console.log("port done"),$(ve=>({...ve,port:re})),re):($(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},B=async he=>{if(console.log("loadFlashFile"),!he.target.files)return;const re=he.target.files[0];if(!re)return;$(_e=>({..._e,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0}));const ve=new FileReader;R.resetBox?(console.log("Read file '"+re+"' for reset"),ve.onload=async _e=>{var ze;console.log("Loading file for reset"),(ze=_e.target)==null||ze.result,_e.target&&$(Ue=>{var Ae;return{...Ue,patchedFlash:(Ae=_e.target)==null?void 0:Ae.result,showFlash:!0,connected:!1,flashName:"from file"}}),console.log("Load file done")}):(console.log("Read file '"+re+"'"),ve.onload=async _e=>{var Ae;console.log("Connecting to ESP32");const ze=await F(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(ze===null||R.connected){$(Oe=>({...Oe,actionInProgress:!1}));return}$(Oe=>({...Oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${R.port}`,showFlash:!1,connected:!0}));let Ue=null;try{const Oe=new jp(ze);Ue=new kv({transport:Oe,baudrate:D,romBaudrate:N})}catch(Oe){$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${Oe}`,connected:!1,actionInProgress:!1,error:!0})),alert(Oe),await ze.close();return}try{$(Qe=>({...Qe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await Ue.main();let Oe=await Ue.chip.readMac(Ue);$(Qe=>({...Qe,chipMac:Oe})),console.log("Chip MAC: "+Oe),await ze.close();const Re=(Ae=_e.target)==null?void 0:Ae.result,at=new Uint8Array(Re),Ye=`ESP32_${Oe.replace(/:/g,"")}`,We=new Blob([at],{type:"application/octet-stream"}),qe=URL.createObjectURL(We);await U(at,Ye),_e.target&&$(Qe=>{var it;return{...Qe,patchedFlash:(it=_e.target)==null?void 0:it.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:qe}}),console.log("Done")}catch(Oe){$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${Oe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(Oe),alert(Oe),await ze.close();return}}),ve.readAsArrayBuffer(re),$(_e=>({..._e,actionInProgress:!1})),he.target.value=""},z=async()=>{let he=null,re=null,ve="";re=new Uint8Array(1024);const _e=await F(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(_e===null||R.connected)return;$(Oe=>({...Oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${_e.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const Oe=new jp(_e);he=new kv({transport:Oe,baudrate:D,romBaudrate:N})}catch(Oe){$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${Oe}`,connected:!1,actionInProgress:!1,error:!0})),alert(Oe),await _e.close();return}try{$(Ye=>({...Ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await he.main(),$(Ye=>({...Ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),ve=await he.chip.readMac(he),$(Ye=>({...Ye,chipMac:ve})),console.log("Chip MAC: "+ve);const Oe=await he.chip.getChipDescription(he);$(Ye=>({...Ye,chipType:Oe}));let Re=await he.readFlashId();$(Ye=>({...Ye,flashId:""+Re,flashManuf:""+(Re&255),flashDevice:""+(Re>>8&255)}));let at=await he.getFlashSize();if($(Ye=>({...Ye,flashSize:""+at})),at<0||at>16384){$(Ye=>({...Ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await _e.close();return}$(Ye=>({...Ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),re=await he.readFlash(0,at*1024,(Ye,We,qe)=>{const Qe=100*We/qe;$(it=>({...it,progress:Qe}))}),await _e.close(),$(Ye=>({...Ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:re,connected:!1}))}catch(Oe){$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${Oe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(Oe),alert(Oe),await _e.close();return}const ze=`ESP32_${ve.replace(/:/g,"")}`,Ue=new Blob([re],{type:"application/octet-stream"}),Ae=URL.createObjectURL(Ue);$(Oe=>({...Oe,downloadLink:Ae,showProgress:!1})),await U(re,ze),console.log("Done")},U=async(he,re)=>{try{$(ze=>({...ze,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const ve=new FormData;ve.append(re,new Blob([he]),re);const _e=await qu.apiPostTeddyCloudFormDataRaw("/api/esp32/uploadFirmware",ve);if(_e.ok&&_e.status===200){const ze=await _e.text();$(Ue=>({...Ue,showDownload:!0,filename:ze,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${ze}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else $(ze=>({...ze,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(ve){console.error("There was an error when uploading!",ve),$(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},H=async()=>{if(R.wifi_ssid&&!R.wifi_pass||!R.wifi_ssid&&R.wifi_pass){$(re=>({...re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}$(re=>({...re,actionInProgress:!0})),$(re=>({...re,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const he=await qu.apiGetTeddyCloudApiRaw(`/api/esp32/patchFirmware?filename=${R.filename}`+(R.previousHostname&&R.flagPreviousHostname?`&hostname_old=${encodeURIComponent(R.previousHostname)}`:"")+`&hostname=${encodeURIComponent(R.hostname)}`+(R.wifi_ssid&&R.wifi_pass?`&wifi_ssid=${encodeURIComponent(R.wifi_ssid)}&wifi_pass=${encodeURIComponent(R.wifi_pass)}`:""));if($(re=>({...re,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),he.ok&&he.status===200){const re=await he.arrayBuffer();$(ze=>({...ze,patchedFlash:re,showFlash:!0,flashName:"patched"}));const ve=new Blob([re],{type:"application/octet-stream"}),_e=URL.createObjectURL(ve);$(ze=>({...ze,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(re.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:_e})),He()}else $(re=>({...re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));$(re=>({...re,actionInProgress:!1}))},K=async()=>{I(2);const he=await F(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(he===null||R.connected)return;$(ve=>({...ve,actionInProgress:!0,error:!1})),$(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${he.getInfo()}`,connected:!0}));let re=null;try{const ve=new jp(he);re=new kv({transport:ve,baudrate:D,romBaudrate:N})}catch(ve){$(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ve}`,connected:!1,actionInProgress:!1,error:!0})),alert(ve),await he.close();return}try{$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await re.main(),$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let ve=await re.chip.readMac(re);$(Re=>({...Re,chipMac:ve})),console.log("Chip MAC: "+ve);const _e=await re.chip.getChipDescription(re);$(Re=>({...Re,chipType:_e}));let ze=await re.readFlashId();$(Re=>({...Re,flashId:""+ze,flashManuf:""+(ze&255),flashDevice:""+(ze>>8&255)}));let Ue=await re.getFlashSize();if($(Re=>({...Re,flashSize:""+Ue})),Ue<0||Ue>16384){$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await he.close();return}$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(R.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let Ae=[];Ae.push({data:L(R.patchedFlash),address:0});let Oe={fileArray:Ae,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(Re,at,Ye)=>{const We=100*at/Ye;$(qe=>({...qe,progress:We}))}};$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(R.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await re.writeFlash(Oe),await he.close(),$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1})),I(3)}catch(ve){$(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ve}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ve),alert(ve),await he.close();return}},Y=async()=>{const he=await F(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(he===null||R.connected)return;$(ve=>({...ve,actionInProgress:!0,error:!1})),$(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${he.getInfo()}`,connected:!0}));let re=null;try{const ve=new jp(he);re=new kv({transport:ve,baudrate:D,romBaudrate:N})}catch(ve){$(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ve}`,connected:!1,actionInProgress:!1,error:!0})),alert(ve),await he.close();return}try{$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await re.main(),$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let ve=await re.chip.readMac(re);$(Re=>({...Re,chipMac:ve})),console.log("Chip MAC: "+ve);const _e=await re.chip.getChipDescription(re);$(Re=>({...Re,chipType:_e}));let ze=await re.readFlashId();$(Re=>({...Re,flashId:""+ze,flashManuf:""+(ze&255),flashDevice:""+(ze>>8&255)}));let Ue=await re.getFlashSize();if($(Re=>({...Re,flashSize:""+Ue})),Ue<0||Ue>16384){$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await he.close();return}$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(R.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let Ae=[];Ae.push({data:L(R.patchedFlash),address:0});let Oe={fileArray:Ae,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(Re,at,Ye)=>{const We=100*at/Ye;$(qe=>({...qe,progress:We}))}};$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(R.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await re.writeFlash(Oe),await he.close(),$(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(ve){$(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ve}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ve),alert(ve),await he.close();return}},ee=async he=>{const re="extractStoreCerts";r(re,e("tonieboxes.esp32BoxFlashing.processing"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates")),he&&S(!1);try{const ve=await qu.apiPostTeddyCloudRaw(`/api/esp32/extractCerts?filename=${R.filename}`+(he?"&overwrite=true":""));if(a(re),ve.ok&&ve.status===200)n(ft.Success,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessful"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessfulDetails",{file:R.filename}),e("tonieboxes.esp32BoxFlashing.title")),t(_e=>!_e);else if(!ve.ok&&ve.status===409){const _e=await ve.text();n(ft.Error,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailedDetails",{file:R.filename})+": "+_e,e("tonieboxes.esp32BoxFlashing.title")),C(_e),S(!0)}else n(ft.Error,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailedDetails",{file:R.filename})+": "+await ve.text(),e("tonieboxes.esp32BoxFlashing.title"))}catch(ve){n(ft.Error,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailedDetails",{file:R.filename})+": "+ve,e("tonieboxes.esp32BoxFlashing.title"))}},ae=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],W=f.jsx(f.Fragment,{children:R.showProgress&&f.jsx("div",{children:f.jsx("div",{children:f.jsx(dx,{percent:R.progress||0,format:he=>`${(he??0).toFixed(2)}%`})})})}),q=f.jsx(f.Fragment,{children:(R.chipType||R.chipMac)&&f.jsxs("div",{children:[f.jsx(Gn,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),f.jsx("table",{className:"info-table",children:f.jsxs("tbody",{children:[R.chipType&&f.jsxs("tr",{children:[f.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),f.jsx("td",{children:R.chipType})]}),R.chipMac&&f.jsxs("tr",{children:[f.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),f.jsx("td",{children:R.chipMac})]}),R.flashId&&f.jsxs("tr",{children:[f.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),f.jsxs("td",{children:["0x",R.flashId.toString()]})]}),R.flashManuf&&f.jsxs("tr",{children:[f.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),f.jsxs("td",{children:["0x",R.flashManuf.toString()]})]}),R.flashDevice&&f.jsxs("tr",{children:[f.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),f.jsxs("td",{children:["0x",R.flashDevice.toString()]})]}),R.flashSize&&f.jsxs("tr",{children:[f.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),f.jsxs("td",{children:[R.flashSize," KiB"]})]})]})})]})}),Z=he=>he.replace(/[^a-zA-Z0-9-.]/g,"").trim(),Q=he=>{if(he.endsWith("...")){const re=he.slice(0,-3);return f.jsxs("div",{style:{display:"flex"},children:[re,f.jsx(KGe,{})]})}return he},J=R.showStatus&&f.jsx("div",{className:"status",style:{marginBottom:16,color:R.error?"#CC3010":"unset"},children:f.jsx("i",{children:Q(R.state)})}),le=TQ(),ce=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!R.actionInProgress&&f.jsxs(f.Fragment,{children:[f.jsx(Un,{children:f.jsx(wn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")})}),f.jsx(Un,{children:f.jsx(wn,{type:"info",closeIcon:!0,showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.adaptBaudrateOnProblems"),description:e("tonieboxes.esp32BoxFlashing.adaptBaudrateOnProblemsText")})}),f.jsx(Un,{style:{marginTop:16},children:f.jsx(wn,{type:"info",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")})}),f.jsx(Ls,{size:"small",style:{marginBottom:16},items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectESPCollapseTitle"),children:le}]})]}),J,f.jsx("input",{type:"file",style:{display:"none"},ref:s,onChange:B}),W]}),pe=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),f.jsxs("div",{children:[!R.actionInProgress&&f.jsx(Un,{children:f.jsx(wn,{type:"info",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")})}),J,!R.actionInProgress&&R.downloadLink?f.jsxs("div",{style:{marginBottom:16},children:[" ",f.jsx("a",{href:R.downloadLink,download:R.filename,title:R.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})]}):"",f.jsxs(Kt,{children:[f.jsx(Gn,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),f.jsx(Un,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),f.jsx(Kt.Item,{children:f.jsx(da,{align:"middle",style:{display:"flex",alignItems:"center"},children:f.jsx(En,{children:f.jsx(cs,{checked:R.flagPreviousHostname,onChange:he=>{$(re=>({...re,flagPreviousHostname:he.target.checked}))},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flagPreviousHostname")})})})}),R.flagPreviousHostname&&f.jsxs(Kt.Item,{children:[f.jsxs(da,{align:"middle",style:{display:"flex",alignItems:"center"},children:[f.jsx(En,{style:{flex:"0 0 200px"},children:f.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previousHostname")})}),f.jsx(En,{style:{flex:"1 1 auto"},children:f.jsx(tn,{type:"text",value:R.previousHostname,onChange:he=>{let re=Z(he.target.value);$(ve=>({...ve,previousHostname:re}))}})})]}),R.warningTextHostname&&f.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),f.jsxs(Kt.Item,{children:[f.jsxs(da,{align:"middle",style:{display:"flex",alignItems:"center"},children:[f.jsx(En,{style:{flex:"0 0 200px",color:R.warningTextHostname?"#CC3010":"unset"},children:f.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),f.jsx(En,{style:{flex:"1 1 auto"},children:f.jsx(tn,{type:"text",value:R.hostname,onChange:he=>{let re=Z(he.target.value),ve="";re.length>12?ve=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong"):ve="",$(_e=>({..._e,hostname:re,warningTextHostname:ve}))}})})]}),R.warningTextHostname&&f.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),f.jsx(Gn,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),f.jsx(Un,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),f.jsx(Kt.Item,{children:f.jsxs(da,{align:"middle",style:{display:"flex",alignItems:"center"},children:[f.jsx(En,{style:{flex:"0 0 200px",color:R.warningTextWifi?"#CC3010":"unset"},children:f.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),f.jsx(En,{style:{flex:"1 1 auto"},children:f.jsx(tn,{type:"text",defaultValue:R.wifi_ssid,onChange:he=>{let re=he.target.value;$(ve=>({...ve,wifi_ssid:re,warningTextWifi:he.target.value&&R.wifi_pass||!he.target.value&&!R.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),f.jsxs(Kt.Item,{children:[f.jsxs(da,{align:"middle",style:{display:"flex",alignItems:"center"},children:[f.jsx(En,{style:{flex:"0 0 200px",color:R.warningTextWifi?"#CC3010":"unset"},children:f.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),f.jsx(En,{style:{flex:"1 1 auto"},children:f.jsx(tn.Password,{defaultValue:R.wifi_pass,onChange:he=>{let re=he.target.value;$(ve=>({...ve,wifi_pass:re,warningTextWifi:he.target.value&&R.wifi_ssid||!he.target.value&&!R.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),R.warningTextWifi&&f.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),W]}),te=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!R.actionInProgress&&f.jsxs(Un,{children:[" ",f.jsx(wn,{type:"info",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")})]}),J,!R.actionInProgress&&R.downloadLinkPatched?f.jsxs("div",{style:{marginBottom:16},children:[" ",f.jsx("a",{href:R.downloadLinkPatched,download:"patched_"+R.filename,title:"patched_"+R.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",W]}),ie=`${v}/${R.chipMac?R.chipMac.replaceAll(":","").toLowerCase():""}`,fe=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),f.jsx(Un,{children:f.jsx(wn,{type:"success",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")})}),J,W,(R.downloadLink||R.downloadLinkPatched)&&f.jsxs(f.Fragment,{children:[f.jsx(wn,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:f.jsxs("div",{children:[f.jsxs(Sn,{children:[f.jsx(Gn,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.automatically")}),f.jsx(Un,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint")}),f.jsx(tt,{icon:f.jsx(Ck,{}),disabled:g,type:"primary",onClick:()=>je(),style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates")}),f.jsx(Un,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint2",{certDir:v,mac:R.chipMac.replaceAll(":","").toLocaleLowerCase()})})]}),f.jsx(Gn,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.manually")}),f.jsx(Sn,{style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHint")}),f.jsx(Sn,{children:f.jsx(Ls,{size:"small",items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManually"),children:f.jsxs(Sn,{children:[f.jsxs(Un,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP1")," ",f.jsx(XGe,{code:!0,children:"docker exec -it bash"}),"."]}),f.jsx(Un,{children:f.jsx("pre",{style:{fontSize:12},children:`# Please check the filename of your backup -# Be sure you are in the TeddyCloud directory -# cd /teddycloud/ # just for docker -mkdir ${ie} -teddycloud --esp32-extract data/firmware/`+(R.filename?R.filename:"ESP32_.bin")+` --destination ${ie}`})}),f.jsx(Un,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP2")}),f.jsx(Un,{children:f.jsx("pre",{style:{fontSize:12},children:`mv ${ie}/CLIENT.DER ${ie}/client.der -mv ${ie}/PRIVATE.DER ${ie}/private.der -mv ${ie}/CA.DER ${ie}/ca.der`})}),f.jsx(Un,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP3")}),f.jsx(Un,{children:f.jsx("pre",{style:{fontSize:12},children:`cp ${ie}/client.der ${v}/client.der -cp ${ie}/private.der ${v}/private.der -cp ${ie}/ca.der ${v}/ca.der`})})]})}]})})]})}),f.jsxs(Un,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),f.jsxs("ul",{style:{marginTop:8},children:[R.downloadLink&&f.jsx("li",{children:f.jsx("a",{href:R.downloadLink,download:R.filename,title:R.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),R.downloadLinkPatched&&f.jsx("li",{children:f.jsx("a",{href:R.downloadLinkPatched,download:"patched_"+R.filename,title:"patched_"+R.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),ge=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),f.jsx(Un,{children:f.jsx(wn,{type:"success",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareReseted")})}),J,W]}),[ne,ue]=l.useState([ce,pe,te,fe]),me=(he,re)=>{ue(ve=>{const _e=[...ve];return _e[he]=re,_e})},xe=()=>{$(he=>({...he,resetBox:!1})),z()},Ie=()=>{$(he=>({...he,resetBox:!1})),s.current&&s.current.click()},ke=()=>{$(he=>({...he,resetBox:!0})),s.current&&s.current.click()},$e=()=>{H()},Le=()=>{Y()},je=()=>{ee()},He=()=>{$(he=>({...he,proceed:!1})),I(E+1)},Be=()=>{$(he=>({...he,state:"",showProgress:!1,error:!1})),I(E-1)},Pe=()=>{b(!1),Le()},Se=()=>{b(!1)},Ne=f.jsx(tt,{icon:f.jsx(Bs,{}),disabled:g,onClick:()=>Be(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),Te=()=>{Ce()},Ce=()=>{_(!0)},De=()=>{_(!1)},Ge=f.jsx(Wx,{boxVersion:Ji.esp32,isOpen:T,onClose:De}),lt=M?f.jsxs(f.Fragment,{children:[f.jsx(Gn,{children:e("tonieboxes.esp32BoxFlashing.title")}),f.jsx(uf,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashModal"),open:h,okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.flash"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialog"),contentHint:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialogHint"),handleOk:Pe,handleCancel:Se}),f.jsx(qs,{current:E,children:ae.map((he,re)=>f.jsx(ZGe,{title:he.title,status:re===E&&re===ae.length-1?"finish":re===E?R.error?"error":"process":rei("/tonieboxes/boxsetup/esp32/legacy"),children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})}),f.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:[f.jsx(Ft,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.resetBoxineTooltip"),children:f.jsx(tt,{icon:f.jsx(w0,{}),disabled:g,onClick:()=>ke(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.resetBoxine")})}),f.jsx(tt,{icon:f.jsx(jIe,{}),disabled:g,onClick:()=>Ie(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),f.jsx(tt,{icon:f.jsx(eh,{}),disabled:g,type:"primary",onClick:()=>xe(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),f.jsx(tt,{icon:f.jsx(pi,{}),iconPosition:"end",disabled:!R.proceed&&!R.filename||g,onClick:()=>He(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),E===1&&f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[Ne,f.jsx("div",{style:{display:"flex",gap:8},children:f.jsx(tt,{icon:f.jsx(xk,{}),disabled:g||R.hostname===""||R.flagPreviousHostname&&R.previousHostname==="",type:"primary",onClick:()=>$e(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),f.jsx(tt,{icon:f.jsx(pi,{}),iconPosition:"end",disabled:g||!R.showFlash,onClick:()=>He(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),E===2&&f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[Ne,f.jsx("div",{style:{display:"flex",gap:8},children:f.jsx(tt,{icon:f.jsx(_Y,{}),disabled:g,type:"primary",onClick:R.resetBox?K:()=>b(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),f.jsx("div",{})]}),E===3&&f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[Ne,f.jsx("div",{children:R.resetBox?"":f.jsx(tt,{icon:f.jsx(zl,{}),type:"primary",onClick:Te,children:e("tonieboxes.esp32BoxFlashing.legacy.checkBoxes")})}),f.jsx("div",{})]}),q]})]}):f.jsxs(f.Fragment,{children:[f.jsx(Un,{children:f.jsx(wn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),f.jsxs(Un,{style:{marginTop:16},children:[f.jsxs(Un,{children:[" ",e("tonieboxes.esp32BoxFlashing.hintLegacyApproach")]}),f.jsx(Un,{children:f.jsx(tt,{onClick:()=>i("/tonieboxes/boxsetup/esp32/legacy"),children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})]})]});return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsxs(Un,{style:{display:"flex",gap:8,flexWrap:"wrap",justifyContent:"space-between",alignItems:"flex-end"},children:[f.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),c&&f.jsxs(Un,{style:{fontSize:"small",display:"flex",gap:8,width:210,alignItems:"center",justifyContent:"flex-end"},children:[f.jsx("div",{style:{textAlign:"end",textWrap:"nowrap"},children:e("tonieboxes.esp32BoxFlashing.baudRate")}),f.jsx(dr,{defaultValue:D,onChange:A,children:k.map(he=>f.jsx(QGe,{value:he,children:he},he))})," ",f.jsx(Ft,{title:e("tonieboxes.esp32BoxFlashing.baudRateInfo"),placement:"top",children:f.jsx(Jg,{style:{fontSize:"18px",cursor:"pointer"}})})]})]}),c?lt:f.jsxs(f.Fragment,{children:[f.jsx(wn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:f.jsxs(f.Fragment,{children:[f.jsx(Un,{children:e("tonieboxes.esp32BoxFlashing.hint")}),f.jsx(Un,{children:f.jsx(tt,{icon:f.jsx(TY,{}),onClick:j,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0}),f.jsxs(Un,{style:{marginTop:16},children:[f.jsxs(Un,{children:[" ",e("tonieboxes.esp32BoxFlashing.legacy.followLegacyApproach")]}),f.jsx(Un,{children:f.jsx(tt,{onClick:()=>i("/tonieboxes/boxsetup/esp32/legacy"),children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})]})]}),f.jsx(uf,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwrite"),okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteConfirmButton"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteContent",{error:w}),open:y,handleOk:()=>ee(!0),handleCancel:()=>S(!1)}),Ge]})]})]})},eqe="/web/assets/esp32_write_patched_image_with_esptools-DmsBlrjp.png",{Paragraph:Go}=Sn,{Step:tqe}=qs,nqe=()=>{const{t:e}=Nt(),t=pr.language,[n,r]=l.useState(0),[a,i]=l.useState(!1),o=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.boxFlashingCommon.dns")}],s=TQ(),c=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),f.jsx(wn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),f.jsxs(Go,{children:[e("tonieboxes.esp32BoxFlashing.legacy.preparationText")," ",f.jsx(ot,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.legacy.preparationTextLink")})]}),f.jsx("h4",{children:e("tonieboxes.esp32BoxFlashing.legacy.installESPTool")}),f.jsx(Go,{children:e("tonieboxes.esp32BoxFlashing.legacy.installESPToolText")}),f.jsx(Go,{children:f.jsx(ot,{to:"https://github.com/espressif/esptool",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.legacy.installESPToolLink")})}),f.jsx("h4",{children:e("tonieboxes.esp32BoxFlashing.legacy.connectESP32")}),s]}),u=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),LA(!1),f.jsx(Go,{children:f.jsx(mn,{language:"shell",code:`# extract firmware -esptool.py -b 921600 read_flash 0x0 0x800000 tb.esp32.bin -# extract certficates from firmware -mkdir certs/client/esp32 -mkdir certs/client/ -teddycloud --esp32-extract tb.esp32.bin --destination certs/client/esp32 - -# Copy box certificates to teddyCloud -cp certs/client/esp32/CLIENT.DER certs/client//client.der -cp certs/client/esp32/PRIVATE.DER certs/client//private.der -cp certs/client/esp32/CA.DER certs/client//ca.der - -# In case of first Toniebox setup for TeddyCloud -cp certs/client//client.der certs/client/client.der -cp certs/client//private.der certs/client/private.der -cp certs/client//ca.der certs/client/ca.der - -# Copy certificates to temporary dir -mkdir certs/client/esp32-fakeca -cp certs/client/esp32/CLIENT.DER certs/client/esp32-fakeca/ -cp certs/client/esp32/PRIVATE.DER certs/client/esp32-fakeca/ -cp certs/server/ca.der certs/client/esp32-fakeca/CA.DER`})}),f.jsx(Go,{children:e("tonieboxes.esp32BoxFlashing.legacy.checkDumpIsOk")}),f.jsx("h5",{children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacement")}),e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText1"),f.jsx(Go,{children:f.jsx(mn,{language:"shell",code:`# copy firmware backup -cp tb.esp32.bin tb.esp32.fakeca.bin - -# inject new CA into firmware -teddycloud --esp32-inject tb.esp32.fakeca.bin --source certs/client/esp32-fakeca -# modify IP/hostname (optional) -teddycloud --esp32-hostpatch tb.esp32.fakeca.bin --hostname - -# flash firmware with new CA -esptool.py -b 921600 write_flash 0x0 tb.esp32.fakeca.bin`})}),f.jsx(fn,{preview:!1,src:eqe,alt:e("tonieboxes.esp32BoxFlashing.legacy.flashESPtoolScreen")}),f.jsx(Go,{style:{marginTop:16},children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText2")}),f.jsx(Go,{children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText3")})]}),d=_Q(),p=f.jsxs(f.Fragment,{children:[f.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.dns")}),f.jsx(Go,{children:e("tonieboxes.esp32BoxFlashing.legacy.skipDnsIfAlreadyDone")}),d]}),[g,m]=l.useState([c,u,p]),h=(I,T)=>{m(_=>{const R=[..._];return R[I]=T,R})};l.useEffect(()=>{h(n,(()=>{switch(n){case 0:return c;case 1:return u;case 2:return p;default:return f.jsx("div",{})}})())},[n,t,Ns()]);const b=()=>{r(n-1)},y=()=>{r(n+1)},S=f.jsx(tt,{icon:f.jsx(Bs,{}),onClick:()=>b(),children:e("tonieboxes.esp32BoxFlashing.legacy.previous")}),v=I=>{r(I)},x=()=>{w()},w=()=>{i(!0)},C=()=>{i(!1)},E=f.jsx(Wx,{boxVersion:Ji.esp32,isOpen:a,onClose:C});return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(fs,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.legacy.title")}),f.jsx(Gn,{children:e("tonieboxes.esp32BoxFlashing.legacy.title")}),f.jsxs(Go,{style:{marginTop:16},children:[f.jsx(qs,{current:n,onChange:v,children:o.map((I,T)=>f.jsx(tqe,{title:I.title,status:T===n&&T===o.length?"finish":T===n?"process":T"u"||e===null}function rqe(e){return typeof e=="object"&&e!==null}function aqe(e){return Array.isArray(e)?e:uJ(e)?[]:[e]}function iqe(e,t){var n,r,a,i;if(t)for(i=Object.keys(t),n=0,r=i.length;ns&&(i=" ... ",t=r-s+i.length),n-r>s&&(o=" ...",n=r+s-o.length),{str:i+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+i.length}}function CT(e,t){return Jr.repeat(" ",t-e.length)+e}function gqe(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],a=[],i,o=-1;i=n.exec(e.buffer);)a.push(i.index),r.push(i.index+i[0].length),e.position<=i.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s="",c,u,d=Math.min(e.line+t.linesAfter,a.length).toString().length,p=t.maxLength-(t.indent+d+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)u=wT(e.buffer,r[o-c],a[o-c],e.position-(r[o]-r[o-c]),p),s=Jr.repeat(" ",t.indent)+CT((e.line-c+1).toString(),d)+" | "+u.str+` -`+s;for(u=wT(e.buffer,r[o],a[o],e.position,p),s+=Jr.repeat(" ",t.indent)+CT((e.line+1).toString(),d)+" | "+u.str+` -`,s+=Jr.repeat("-",t.indent+d+3+u.pos)+`^ -`,c=1;c<=t.linesAfter&&!(o+c>=a.length);c++)u=wT(e.buffer,r[o+c],a[o+c],e.position-(r[o]-r[o+c]),p),s+=Jr.repeat(" ",t.indent)+CT((e.line+c+1).toString(),d)+" | "+u.str+` -`;return s.replace(/\n$/,"")}var mqe=gqe,hqe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],vqe=["scalar","sequence","mapping"];function bqe(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function yqe(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(hqe.indexOf(n)===-1)throw new Ka('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=bqe(t.styleAliases||null),vqe.indexOf(this.kind)===-1)throw new Ka('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var _a=yqe;function xz(e,t){var n=[];return e[t].forEach(function(r){var a=n.length;n.forEach(function(i,o){i.tag===r.tag&&i.kind===r.kind&&i.multi===r.multi&&(a=o)}),n[a]=r}),n}function xqe(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(a){a.multi?(e.multi[a.kind].push(a),e.multi.fallback.push(a)):e[a.kind][a.tag]=e.fallback[a.tag]=a}for(t=0,n=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Aqe=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Dqe(e){return!(e===null||!Aqe.test(e)||e[e.length-1]==="_")}function Mqe(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var Pqe=/^[-+]?[0-9]+e/;function Lqe(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Jr.isNegativeZero(e))return"-0.0";return n=e.toString(10),Pqe.test(n)?n.replace("e",".e"):n}function jqe(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Jr.isNegativeZero(e))}var xJ=new _a("tag:yaml.org,2002:float",{kind:"scalar",resolve:Dqe,construct:Mqe,predicate:jqe,represent:Lqe,defaultStyle:"lowercase"}),SJ=hJ.extend({implicit:[vJ,bJ,yJ,xJ]}),wJ=SJ,CJ=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),EJ=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Fqe(e){return e===null?!1:CJ.exec(e)!==null||EJ.exec(e)!==null}function Bqe(e){var t,n,r,a,i,o,s,c=0,u=null,d,p,g;if(t=CJ.exec(e),t===null&&(t=EJ.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(n,r,a));if(i=+t[4],o=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(d=+t[10],p=+(t[11]||0),u=(d*60+p)*6e4,t[9]==="-"&&(u=-u)),g=new Date(Date.UTC(n,r,a,i,o,s,c)),u&&g.setTime(g.getTime()-u),g}function zqe(e){return e.toISOString()}var IJ=new _a("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Fqe,construct:Bqe,instanceOf:Date,represent:zqe});function Hqe(e){return e==="<<"||e===null}var TJ=new _a("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Hqe}),WA=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Uqe(e){if(e===null)return!1;var t,n,r=0,a=e.length,i=WA;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8===0}function Vqe(e){var t,n,r=e.replace(/[\r\n=]/g,""),a=r.length,i=WA,o=0,s=[];for(t=0;t>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|i.indexOf(r.charAt(t));return n=a%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}function Wqe(e){var t="",n=0,r,a,i=e.length,o=WA;for(r=0;r>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return a=i%3,a===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):a===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):a===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}function Gqe(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var RJ=new _a("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Uqe,construct:Vqe,predicate:Gqe,represent:Wqe}),qqe=Object.prototype.hasOwnProperty,Kqe=Object.prototype.toString;function Yqe(e){if(e===null)return!0;var t=[],n,r,a,i,o,s=e;for(n=0,r=s.length;n>10)+55296,(e-65536&1023)+56320)}var MJ=new Array(256),PJ=new Array(256);for(var Ku=0;Ku<256;Ku++)MJ[Ku]=Cz(Ku)?1:0,PJ[Ku]=Cz(Ku);function dKe(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||GA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function LJ(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=mqe(n),new Ka(t,n)}function Ut(e,t){throw LJ(e,t)}function P0(e,t){e.onWarning&&e.onWarning.call(null,LJ(e,t))}var Ez={YAML:function(t,n,r){var a,i,o;t.version!==null&&Ut(t,"duplication of %YAML directive"),r.length!==1&&Ut(t,"YAML directive accepts exactly one argument"),a=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),a===null&&Ut(t,"ill-formed argument of the YAML directive"),i=parseInt(a[1],10),o=parseInt(a[2],10),i!==1&&Ut(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&P0(t,"unsupported YAML version of the document")},TAG:function(t,n,r){var a,i;r.length!==2&&Ut(t,"TAG directive accepts exactly two arguments"),a=r[0],i=r[1],AJ.test(a)||Ut(t,"ill-formed tag handle (first argument) of the TAG directive"),Gl.call(t.tagMap,a)&&Ut(t,'there is a previously declared suffix for "'+a+'" tag handle'),DJ.test(i)||Ut(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{Ut(t,"tag prefix is malformed: "+i)}t.tagMap[a]=i}};function jl(e,t,n,r){var a,i,o,s;if(t1&&(e.result+=Jr.repeat(` -`,t-1))}function fKe(e,t,n){var r,a,i,o,s,c,u,d,p=e.kind,g=e.result,m;if(m=e.input.charCodeAt(e.position),ci(m)||xd(m)||m===35||m===38||m===42||m===33||m===124||m===62||m===39||m===34||m===37||m===64||m===96||(m===63||m===45)&&(a=e.input.charCodeAt(e.position+1),ci(a)||n&&xd(a)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,s=!1;m!==0;){if(m===58){if(a=e.input.charCodeAt(e.position+1),ci(a)||n&&xd(a))break}else if(m===35){if(r=e.input.charCodeAt(e.position-1),ci(r))break}else{if(e.position===e.lineStart&&Yx(e)||n&&xd(m))break;if(os(m))if(c=e.line,u=e.lineStart,d=e.lineIndent,Gr(e,!1,-1),e.lineIndent>=t){s=!0,m=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=u,e.lineIndent=d;break}}s&&(jl(e,i,o,!1),KA(e,e.line-c),i=o=e.position,s=!1),Bc(m)||(o=e.position+1),m=e.input.charCodeAt(++e.position)}return jl(e,i,o,!1),e.result?!0:(e.kind=p,e.result=g,!1)}function pKe(e,t){var n,r,a;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=a=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(jl(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,a=e.position;else return!0;else os(n)?(jl(e,r,a,!0),KA(e,Gr(e,!1,t)),r=a=e.position):e.position===e.lineStart&&Yx(e)?Ut(e,"unexpected end of the document within a single quoted scalar"):(e.position++,a=e.position);Ut(e,"unexpected end of the stream within a single quoted scalar")}function gKe(e,t){var n,r,a,i,o,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return jl(e,n,e.position,!0),e.position++,!0;if(s===92){if(jl(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),os(s))Gr(e,!1,t);else if(s<256&&MJ[s])e.result+=PJ[s],e.position++;else if((o=lKe(s))>0){for(a=o,i=0;a>0;a--)s=e.input.charCodeAt(++e.position),(o=sKe(s))>=0?i=(i<<4)+o:Ut(e,"expected hexadecimal character");e.result+=uKe(i),e.position++}else Ut(e,"unknown escape sequence");n=r=e.position}else os(s)?(jl(e,n,r,!0),KA(e,Gr(e,!1,t)),n=r=e.position):e.position===e.lineStart&&Yx(e)?Ut(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Ut(e,"unexpected end of the stream within a double quoted scalar")}function mKe(e,t){var n=!0,r,a,i,o=e.tag,s,c=e.anchor,u,d,p,g,m,h=Object.create(null),b,y,S,v;if(v=e.input.charCodeAt(e.position),v===91)d=93,m=!1,s=[];else if(v===123)d=125,m=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(Gr(e,!0,t),v=e.input.charCodeAt(e.position),v===d)return e.position++,e.tag=o,e.anchor=c,e.kind=m?"mapping":"sequence",e.result=s,!0;n?v===44&&Ut(e,"expected the node content, but found ','"):Ut(e,"missed comma between flow collection entries"),y=b=S=null,p=g=!1,v===63&&(u=e.input.charCodeAt(e.position+1),ci(u)&&(p=g=!0,e.position++,Gr(e,!0,t))),r=e.line,a=e.lineStart,i=e.position,mf(e,t,D0,!1,!0),y=e.tag,b=e.result,Gr(e,!0,t),v=e.input.charCodeAt(e.position),(g||e.line===r)&&v===58&&(p=!0,v=e.input.charCodeAt(++e.position),Gr(e,!0,t),mf(e,t,D0,!1,!0),S=e.result),m?Sd(e,s,h,y,b,S,r,a,i):p?s.push(Sd(e,null,h,y,b,S,r,a,i)):s.push(b),Gr(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}Ut(e,"unexpected end of the stream within a flow collection")}function hKe(e,t){var n,r,a=ET,i=!1,o=!1,s=t,c=0,u=!1,d,p;if(p=e.input.charCodeAt(e.position),p===124)r=!1;else if(p===62)r=!0;else return!1;for(e.kind="scalar",e.result="";p!==0;)if(p=e.input.charCodeAt(++e.position),p===43||p===45)ET===a?a=p===43?Sz:rKe:Ut(e,"repeat of a chomping mode identifier");else if((d=cKe(p))>=0)d===0?Ut(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Ut(e,"repeat of an indentation width identifier"):(s=t+d-1,o=!0);else break;if(Bc(p)){do p=e.input.charCodeAt(++e.position);while(Bc(p));if(p===35)do p=e.input.charCodeAt(++e.position);while(!os(p)&&p!==0)}for(;p!==0;){for(qA(e),e.lineIndent=0,p=e.input.charCodeAt(e.position);(!o||e.lineIndents&&(s=e.lineIndent),os(p)){c++;continue}if(e.lineIndentt)&&c!==0)Ut(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(y&&(o=e.line,s=e.lineStart,c=e.position),mf(e,t,M0,!0,a)&&(y?h=e.result:b=e.result),y||(Sd(e,p,g,m,h,b,o,s,c),m=h=b=null),Gr(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&v!==0)Ut(e,"bad indentation of a mapping entry");else if(e.lineIndentt?c=1:e.lineIndent===t?c=0:e.lineIndentt?c=1:e.lineIndent===t?c=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),p=0,g=e.implicitTypes.length;p"),e.result!==null&&h.kind!==e.kind&&Ut(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+h.kind+'", not "'+e.kind+'"'),h.resolve(e.result,e.tag)?(e.result=h.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Ut(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||d}function SKe(e){var t=e.position,n,r,a,i=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Gr(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(i=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!ci(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),a=[],r.length<1&&Ut(e,"directive name must not be less than one character in length");o!==0;){for(;Bc(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!os(o));break}if(os(o))break;for(n=e.position;o!==0&&!ci(o);)o=e.input.charCodeAt(++e.position);a.push(e.input.slice(n,e.position))}o!==0&&qA(e),Gl.call(Ez,r)?Ez[r](e,r,a):P0(e,'unknown document directive "'+r+'"')}if(Gr(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Gr(e,!0,-1)):i&&Ut(e,"directives end mark is expected"),mf(e,e.lineIndent-1,M0,!1,!0),Gr(e,!0,-1),e.checkLineBreaks&&iKe.test(e.input.slice(t,e.position))&&P0(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Yx(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Gr(e,!0,-1));return}if(e.position"u"&&(n=t,t=null);var r=jJ(e,n);if(typeof t!="function")return r;for(var a=0,i=r.length;a=55296&&n<=56319&&t+1=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function qJ(e){var t=/^\n* /;return t.test(e)}var KJ=1,U$=2,YJ=3,XJ=4,Ju=5;function ZKe(e,t,n,r,a,i,o,s){var c,u=0,d=null,p=!1,g=!1,m=r!==-1,h=-1,b=YKe(Fp(e,0))&&XKe(Fp(e,e.length-1));if(t||o)for(c=0;c=65536?c+=2:c++){if(u=Fp(e,c),!bm(u))return Ju;b=b&&$z(u,d,s),d=u}else{for(c=0;c=65536?c+=2:c++){if(u=Fp(e,c),u===hm)p=!0,m&&(g=g||c-h-1>r&&e[h+1]!==" ",h=c);else if(!bm(u))return Ju;b=b&&$z(u,d,s),d=u}g=g||m&&c-h-1>r&&e[h+1]!==" "}return!p&&!g?b&&!o&&!a(e)?KJ:i===vm?Ju:U$:n>9&&qJ(e)?Ju:o?i===vm?Ju:U$:g?XJ:YJ}function QKe(e,t,n,r,a){e.dump=function(){if(t.length===0)return e.quotingType===vm?'""':"''";if(!e.noCompatMode&&(HKe.indexOf(t)!==-1||UKe.test(t)))return e.quotingType===vm?'"'+t+'"':"'"+t+"'";var i=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=r||e.flowLevel>-1&&n>=e.flowLevel;function c(u){return KKe(e,u)}switch(ZKe(t,s,e.indent,o,c,e.quotingType,e.forceQuotes&&!r,a)){case KJ:return t;case U$:return"'"+t.replace(/'/g,"''")+"'";case YJ:return"|"+Oz(t,e.indent)+Nz(Rz(t,i));case XJ:return">"+Oz(t,e.indent)+Nz(Rz(JKe(t,o),i));case Ju:return'"'+eYe(t)+'"';default:throw new Ka("impossible error: invalid scalar style")}}()}function Oz(e,t){var n=qJ(e)?String(t):"",r=e[e.length-1]===` -`,a=r&&(e[e.length-2]===` -`||e===` -`),i=a?"+":r?"":"-";return n+i+` -`}function Nz(e){return e[e.length-1]===` -`?e.slice(0,-1):e}function JKe(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var u=e.indexOf(` -`);return u=u!==-1?u:e.length,n.lastIndex=u,kz(e.slice(0,u),t)}(),a=e[0]===` -`||e[0]===" ",i,o;o=n.exec(e);){var s=o[1],c=o[2];i=c[0]===" ",r+=s+(!a&&!i&&c!==""?` -`:"")+kz(c,t),a=i}return r}function kz(e,t){if(e===""||e[0]===" ")return e;for(var n=/ [^ ]/g,r,a=0,i,o=0,s=0,c="";r=n.exec(e);)s=r.index,s-a>t&&(i=o>a?o:s,c+=` -`+e.slice(a,i),a=i+1),o=s;return c+=` -`,e.length-a>t&&o>a?c+=e.slice(a,o)+` -`+e.slice(o+1):c+=e.slice(a),c.slice(1)}function eYe(e){for(var t="",n=0,r,a=0;a=65536?a+=2:a++)n=Fp(e,a),r=Ha[n],!r&&bm(n)?(t+=e[a],n>=65536&&(t+=e[a+1])):t+=r||WKe(n);return t}function tYe(e,t,n){var r="",a=e.tag,i,o,s;for(i=0,o=n.length;i"u"&&Hs(e,t,null,!1,!1))&&(r!==""&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=a,e.dump="["+r+"]"}function Az(e,t,n,r){var a="",i=e.tag,o,s,c;for(o=0,s=n.length;o"u"&&Hs(e,t+1,null,!0,!0,!1,!0))&&((!r||a!=="")&&(a+=H$(e,t)),e.dump&&hm===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=i,e.dump=a||"[]"}function nYe(e,t,n){var r="",a=e.tag,i=Object.keys(n),o,s,c,u,d;for(o=0,s=i.length;o1024&&(d+="? "),d+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Hs(e,t,u,!1,!1)&&(d+=e.dump,r+=d));e.tag=a,e.dump="{"+r+"}"}function rYe(e,t,n,r){var a="",i=e.tag,o=Object.keys(n),s,c,u,d,p,g;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new Ka("sortKeys must be a boolean or a function");for(s=0,c=o.length;s1024,p&&(e.dump&&hm===e.dump.charCodeAt(0)?g+="?":g+="? "),g+=e.dump,p&&(g+=H$(e,t)),Hs(e,t+1,d,!0,p)&&(e.dump&&hm===e.dump.charCodeAt(0)?g+=":":g+=": ",g+=e.dump,a+=g));e.tag=i,e.dump=a||"{}"}function Dz(e,t,n){var r,a,i,o,s,c;for(a=n?e.explicitTypes:e.implicitTypes,i=0,o=a.length;i tag resolver accepts not "'+c+'" style');e.dump=r}return!0}return!1}function Hs(e,t,n,r,a,i,o){e.tag=null,e.dump=n,Dz(e,n,!1)||Dz(e,n,!0);var s=BJ.call(e.dump),c=r,u;r&&(r=e.flowLevel<0||e.flowLevel>t);var d=s==="[object Object]"||s==="[object Array]",p,g;if(d&&(p=e.duplicates.indexOf(n),g=p!==-1),(e.tag!==null&&e.tag!=="?"||g||e.indent!==2&&t>0)&&(a=!1),g&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(d&&g&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),s==="[object Object]")r&&Object.keys(e.dump).length!==0?(rYe(e,t,e.dump,a),g&&(e.dump="&ref_"+p+e.dump)):(nYe(e,t,e.dump),g&&(e.dump="&ref_"+p+" "+e.dump));else if(s==="[object Array]")r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?Az(e,t-1,e.dump,a):Az(e,t,e.dump,a),g&&(e.dump="&ref_"+p+e.dump)):(tYe(e,t,e.dump),g&&(e.dump="&ref_"+p+" "+e.dump));else if(s==="[object String]")e.tag!=="?"&&QKe(e,e.dump,t,i,c);else{if(s==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new Ka("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function aYe(e,t){var n=[],r=[],a,i;for(V$(e,n,r),a=0,i=r.length;ar=>{t.forEach(a=>a(r))},t)}const Xx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Gf(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function ZA(e){return"nodeType"in e}function hi(e){var t,n;return e?Gf(e)?e:ZA(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function QA(e){const{Document:t}=hi(e);return e instanceof t}function vh(e){return Gf(e)?!1:e instanceof hi(e).HTMLElement}function ZJ(e){return e instanceof hi(e).SVGElement}function qf(e){return e?Gf(e)?e.document:ZA(e)?QA(e)?e:vh(e)||ZJ(e)?e.ownerDocument:document:document:document}const Fo=Xx?l.useLayoutEffect:l.useEffect;function JA(e){const t=l.useRef(e);return Fo(()=>{t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{e.current=setInterval(r,a)},[]),n=l.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function ym(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return Fo(()=>{n.current!==e&&(n.current=e)},t),n}function bh(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function F0(e){const t=JA(e),n=l.useRef(null),r=l.useCallback(a=>{a!==n.current&&(t==null||t(a,n.current)),n.current=a},[]);return[n,r]}function W$(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let IT={};function yh(e,t){return l.useMemo(()=>{if(t)return t;const n=IT[e]==null?0:IT[e]+1;return IT[e]=n,e+"-"+n},[e,t])}function QJ(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{const s=Object.entries(o);for(const[c,u]of s){const d=i[c];d!=null&&(i[c]=d+e*u)}return i},{...t})}}const Md=QJ(1),B0=QJ(-1);function IYe(e){return"clientX"in e&&"clientY"in e}function e3(e){if(!e)return!1;const{KeyboardEvent:t}=hi(e.target);return t&&e instanceof t}function TYe(e){if(!e)return!1;const{TouchEvent:t}=hi(e.target);return t&&e instanceof t}function G$(e){if(TYe(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return IYe(e)?{x:e.clientX,y:e.clientY}:null}const hf=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[hf.Translate.toString(e),hf.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),Mz="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function RYe(e){return e.matches(Mz)?e:e.querySelector(Mz)}const _Ye={display:"none"};function $Ye(e){let{id:t,value:n}=e;return de.createElement("div",{id:t,style:_Ye},n)}function OYe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const a={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return de.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function NYe(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const JJ=l.createContext(null);function kYe(e){const t=l.useContext(JJ);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function AYe(){const[e]=l.useState(()=>new Set),t=l.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[l.useCallback(r=>{let{type:a,event:i}=r;e.forEach(o=>{var s;return(s=o[a])==null?void 0:s.call(o,i)})},[e]),t]}const DYe={draggable:` - To pick up a draggable item, press the space bar. - While dragging, use the arrow keys to move the item. - Press space again to drop the item in its new position, or press escape to cancel. - `},MYe={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function PYe(e){let{announcements:t=MYe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:a=DYe}=e;const{announce:i,announcement:o}=NYe(),s=yh("DndLiveRegion"),[c,u]=l.useState(!1);if(l.useEffect(()=>{u(!0)},[]),kYe(l.useMemo(()=>({onDragStart(p){let{active:g}=p;i(t.onDragStart({active:g}))},onDragMove(p){let{active:g,over:m}=p;t.onDragMove&&i(t.onDragMove({active:g,over:m}))},onDragOver(p){let{active:g,over:m}=p;i(t.onDragOver({active:g,over:m}))},onDragEnd(p){let{active:g,over:m}=p;i(t.onDragEnd({active:g,over:m}))},onDragCancel(p){let{active:g,over:m}=p;i(t.onDragCancel({active:g,over:m}))}}),[i,t])),!c)return null;const d=de.createElement(de.Fragment,null,de.createElement($Ye,{id:r,value:a.draggable}),de.createElement(OYe,{id:s,announcement:o}));return n?Zr.createPortal(d,n):d}var Xr;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Xr||(Xr={}));function z0(){}function eee(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const Bo=Object.freeze({x:0,y:0});function LYe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function jYe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function FYe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),o=a-r,s=i-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=[];for(const i of r){const{id:o}=i,s=n.get(o);if(s){const c=FYe(s,t);c>0&&a.push({id:o,data:{droppableContainer:i,value:c}})}}return a.sort(LYe)};function zYe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function tee(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Bo}function HYe(e){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i({...o,top:o.top+e*s.y,bottom:o.bottom+e*s.y,left:o.left+e*s.x,right:o.right+e*s.x}),{...n})}}const UYe=HYe(1);function VYe(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function WYe(e,t,n){const r=VYe(t);if(!r)return e;const{scaleX:a,scaleY:i,x:o,y:s}=r,c=e.left-o-(1-a)*parseFloat(n),u=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),d=a?e.width/a:e.width,p=i?e.height/i:e.height;return{width:d,height:p,top:u,right:c+d,bottom:u+p,left:c}}const GYe={ignoreTransform:!1};function Kf(e,t){t===void 0&&(t=GYe);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=hi(e).getComputedStyle(e);u&&(n=WYe(n,u,d))}const{top:r,left:a,width:i,height:o,bottom:s,right:c}=n;return{top:r,left:a,width:i,height:o,bottom:s,right:c}}function Pz(e){return Kf(e,{ignoreTransform:!0})}function qYe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function KYe(e,t){return t===void 0&&(t=hi(e).getComputedStyle(e)),t.position==="fixed"}function YYe(e,t){t===void 0&&(t=hi(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const i=t[a];return typeof i=="string"?n.test(i):!1})}function t3(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(QA(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!vh(a)||ZJ(a)||n.includes(a))return n;const i=hi(e).getComputedStyle(a);return a!==e&&YYe(a,i)&&n.push(a),KYe(a,i)?n:r(a.parentNode)}return e?r(e):n}function nee(e){const[t]=t3(e,1);return t??null}function TT(e){return!Xx||!e?null:Gf(e)?e:ZA(e)?QA(e)||e===qf(e).scrollingElement?window:vh(e)?e:null:null}function ree(e){return Gf(e)?e.scrollX:e.scrollLeft}function aee(e){return Gf(e)?e.scrollY:e.scrollTop}function q$(e){return{x:ree(e),y:aee(e)}}var pa;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(pa||(pa={}));function iee(e){return!Xx||!e?!1:e===document.scrollingElement}function oee(e){const t={x:0,y:0},n=iee(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},a=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,o=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:a,isLeft:i,isBottom:o,isRight:s,maxScroll:r,minScroll:t}}const XYe={x:.2,y:.2};function ZYe(e,t,n,r,a){let{top:i,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),a===void 0&&(a=XYe);const{isTop:u,isBottom:d,isLeft:p,isRight:g}=oee(e),m={x:0,y:0},h={x:0,y:0},b={height:t.height*a.y,width:t.width*a.x};return!u&&i<=t.top+b.height?(m.y=pa.Backward,h.y=r*Math.abs((t.top+b.height-i)/b.height)):!d&&c>=t.bottom-b.height&&(m.y=pa.Forward,h.y=r*Math.abs((t.bottom-b.height-c)/b.height)),!g&&s>=t.right-b.width?(m.x=pa.Forward,h.x=r*Math.abs((t.right-b.width-s)/b.width)):!p&&o<=t.left+b.width&&(m.x=pa.Backward,h.x=r*Math.abs((t.left+b.width-o)/b.width)),{direction:m,speed:h}}function QYe(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:o}=window;return{top:0,left:0,right:i,bottom:o,width:i,height:o}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function see(e){return e.reduce((t,n)=>Md(t,q$(n)),Bo)}function JYe(e){return e.reduce((t,n)=>t+ree(n),0)}function eXe(e){return e.reduce((t,n)=>t+aee(n),0)}function tXe(e,t){if(t===void 0&&(t=Kf),!e)return;const{top:n,left:r,bottom:a,right:i}=t(e);nee(e)&&(a<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const nXe=[["x",["left","right"],JYe],["y",["top","bottom"],eXe]];class n3{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=t3(n),a=see(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,o,s]of nXe)for(const c of o)Object.defineProperty(this,c,{get:()=>{const u=s(r),d=a[i]-u;return this.rect[c]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class fg{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var a;(a=this.target)==null||a.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function rXe(e){const{EventTarget:t}=hi(e);return e instanceof t?e:qf(e)}function RT(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var Xi;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Xi||(Xi={}));function Lz(e){e.preventDefault()}function aXe(e){e.stopPropagation()}var Wn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Wn||(Wn={}));const lee={start:[Wn.Space,Wn.Enter],cancel:[Wn.Esc],end:[Wn.Space,Wn.Enter]},iXe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Wn.Right:return{...n,x:n.x+25};case Wn.Left:return{...n,x:n.x-25};case Wn.Down:return{...n,y:n.y+25};case Wn.Up:return{...n,y:n.y-25}}};class cee{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new fg(qf(n)),this.windowListeners=new fg(hi(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Xi.Resize,this.handleCancel),this.windowListeners.add(Xi.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Xi.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&tXe(r),n(Bo)}handleKeyDown(t){if(e3(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:i=lee,coordinateGetter:o=iXe,scrollBehavior:s="smooth"}=a,{code:c}=t;if(i.end.includes(c)){this.handleEnd(t);return}if(i.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:Bo;this.referenceCoordinates||(this.referenceCoordinates=d);const p=o(t,{active:n,context:r.current,currentCoordinates:d});if(p){const g=B0(p,d),m={x:0,y:0},{scrollableAncestors:h}=r.current;for(const b of h){const y=t.code,{isTop:S,isRight:v,isLeft:x,isBottom:w,maxScroll:C,minScroll:E}=oee(b),I=QYe(b),T={x:Math.min(y===Wn.Right?I.right-I.width/2:I.right,Math.max(y===Wn.Right?I.left:I.left+I.width/2,p.x)),y:Math.min(y===Wn.Down?I.bottom-I.height/2:I.bottom,Math.max(y===Wn.Down?I.top:I.top+I.height/2,p.y))},_=y===Wn.Right&&!v||y===Wn.Left&&!x,R=y===Wn.Down&&!w||y===Wn.Up&&!S;if(_&&T.x!==p.x){const $=b.scrollLeft+g.x,M=y===Wn.Right&&$<=C.x||y===Wn.Left&&$>=E.x;if(M&&!g.y){b.scrollTo({left:$,behavior:s});return}M?m.x=b.scrollLeft-$:m.x=y===Wn.Right?b.scrollLeft-C.x:b.scrollLeft-E.x,m.x&&b.scrollBy({left:-m.x,behavior:s});break}else if(R&&T.y!==p.y){const $=b.scrollTop+g.y,M=y===Wn.Down&&$<=C.y||y===Wn.Up&&$>=E.y;if(M&&!g.x){b.scrollTo({top:$,behavior:s});return}M?m.y=b.scrollTop-$:m.y=y===Wn.Down?b.scrollTop-C.y:b.scrollTop-E.y,m.y&&b.scrollBy({top:-m.y,behavior:s});break}}this.handleMove(t,Md(B0(p,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}cee.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=lee,onActivation:a}=t,{active:i}=n;const{code:o}=e.nativeEvent;if(r.start.includes(o)){const s=i.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function jz(e){return!!(e&&"distance"in e)}function Fz(e){return!!(e&&"delay"in e)}class r3{constructor(t,n,r){var a;r===void 0&&(r=rXe(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:i}=t,{target:o}=i;this.props=t,this.events=n,this.document=qf(o),this.documentListeners=new fg(this.document),this.listeners=new fg(r),this.windowListeners=new fg(hi(o)),this.initialCoordinates=(a=G$(i))!=null?a:Bo,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(Xi.Resize,this.handleCancel),this.windowListeners.add(Xi.DragStart,Lz),this.windowListeners.add(Xi.VisibilityChange,this.handleCancel),this.windowListeners.add(Xi.ContextMenu,Lz),this.documentListeners.add(Xi.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Fz(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(jz(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(Xi.Click,aXe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Xi.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:a,props:i}=this,{onMove:o,options:{activationConstraint:s}}=i;if(!a)return;const c=(n=G$(t))!=null?n:Bo,u=B0(a,c);if(!r&&s){if(jz(s)){if(s.tolerance!=null&&RT(u,s.tolerance))return this.handleCancel();if(RT(u,s.distance))return this.handleStart()}return Fz(s)&&RT(u,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),o(c)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Wn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const oXe={move:{name:"pointermove"},end:{name:"pointerup"}};class Zx extends r3{constructor(t){const{event:n}=t,r=qf(n.target);super(t,oXe,r)}}Zx.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const sXe={move:{name:"mousemove"},end:{name:"mouseup"}};var K$;(function(e){e[e.RightClick=2]="RightClick"})(K$||(K$={}));class lXe extends r3{constructor(t){super(t,sXe,qf(t.event.target))}}lXe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===K$.RightClick?!1:(r==null||r({event:n}),!0)}}];const _T={move:{name:"touchmove"},end:{name:"touchend"}};class cXe extends r3{constructor(t){super(t,_T)}static setup(){return window.addEventListener(_T.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(_T.move.name,t)};function t(){}}}cXe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return a.length>1?!1:(r==null||r({event:n}),!0)}}];var pg;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(pg||(pg={}));var H0;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(H0||(H0={}));function uXe(e){let{acceleration:t,activator:n=pg.Pointer,canScroll:r,draggingRect:a,enabled:i,interval:o=5,order:s=H0.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:d,delta:p,threshold:g}=e;const m=fXe({delta:p,disabled:!i}),[h,b]=EYe(),y=l.useRef({x:0,y:0}),S=l.useRef({x:0,y:0}),v=l.useMemo(()=>{switch(n){case pg.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case pg.DraggableRect:return a}},[n,a,c]),x=l.useRef(null),w=l.useCallback(()=>{const E=x.current;if(!E)return;const I=y.current.x*S.current.x,T=y.current.y*S.current.y;E.scrollBy(I,T)},[]),C=l.useMemo(()=>s===H0.TreeOrder?[...u].reverse():u,[s,u]);l.useEffect(()=>{if(!i||!u.length||!v){b();return}for(const E of C){if((r==null?void 0:r(E))===!1)continue;const I=u.indexOf(E),T=d[I];if(!T)continue;const{direction:_,speed:R}=ZYe(E,T,v,t,g);for(const $ of["x","y"])m[$][_[$]]||(R[$]=0,_[$]=0);if(R.x>0||R.y>0){b(),x.current=E,h(w,o),y.current=R,S.current=_;return}}y.current={x:0,y:0},S.current={x:0,y:0},b()},[t,w,r,b,i,o,JSON.stringify(v),JSON.stringify(m),h,u,C,d,JSON.stringify(g)])}const dXe={x:{[pa.Backward]:!1,[pa.Forward]:!1},y:{[pa.Backward]:!1,[pa.Forward]:!1}};function fXe(e){let{delta:t,disabled:n}=e;const r=W$(t);return bh(a=>{if(n||!r||!a)return dXe;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[pa.Backward]:a.x[pa.Backward]||i.x===-1,[pa.Forward]:a.x[pa.Forward]||i.x===1},y:{[pa.Backward]:a.y[pa.Backward]||i.y===-1,[pa.Forward]:a.y[pa.Forward]||i.y===1}}},[n,t,r])}function pXe(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return bh(a=>{var i;return t===null?null:(i=r??a)!=null?i:null},[r,t])}function gXe(e,t){return l.useMemo(()=>e.reduce((n,r)=>{const{sensor:a}=r,i=a.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,r)}));return[...n,...i]},[]),[e,t])}var xm;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(xm||(xm={}));var Y$;(function(e){e.Optimized="optimized"})(Y$||(Y$={}));const Bz=new Map;function mXe(e,t){let{dragging:n,dependencies:r,config:a}=t;const[i,o]=l.useState(null),{frequency:s,measure:c,strategy:u}=a,d=l.useRef(e),p=y(),g=ym(p),m=l.useCallback(function(S){S===void 0&&(S=[]),!g.current&&o(v=>v===null?S:v.concat(S.filter(x=>!v.includes(x))))},[g]),h=l.useRef(null),b=bh(S=>{if(p&&!n)return Bz;if(!S||S===Bz||d.current!==e||i!=null){const v=new Map;for(let x of e){if(!x)continue;if(i&&i.length>0&&!i.includes(x.id)&&x.rect.current){v.set(x.id,x.rect.current);continue}const w=x.node.current,C=w?new n3(c(w),w):null;x.rect.current=C,C&&v.set(x.id,C)}return v}return S},[e,i,n,p,c]);return l.useEffect(()=>{d.current=e},[e]),l.useEffect(()=>{p||m()},[n,p]),l.useEffect(()=>{i&&i.length>0&&o(null)},[JSON.stringify(i)]),l.useEffect(()=>{p||typeof s!="number"||h.current!==null||(h.current=setTimeout(()=>{m(),h.current=null},s))},[s,p,m,...r]),{droppableRects:b,measureDroppableContainers:m,measuringScheduled:i!=null};function y(){switch(u){case xm.Always:return!1;case xm.BeforeDragging:return n;default:return!n}}}function uee(e,t){return bh(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function hXe(e,t){return uee(e,t)}function vXe(e){let{callback:t,disabled:n}=e;const r=JA(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function Qx(e){let{callback:t,disabled:n}=e;const r=JA(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function bXe(e){return new n3(Kf(e),e)}function zz(e,t,n){t===void 0&&(t=bXe);const[r,a]=l.useReducer(s,null),i=vXe({callback(c){if(e)for(const u of c){const{type:d,target:p}=u;if(d==="childList"&&p instanceof HTMLElement&&p.contains(e)){a();break}}}}),o=Qx({callback:a});return Fo(()=>{a(),e?(o==null||o.observe(e),i==null||i.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),i==null||i.disconnect())},[e]),r;function s(c){if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const d=t(e);return JSON.stringify(c)===JSON.stringify(d)?c:d}}function yXe(e){const t=uee(e);return tee(e,t)}const Hz=[];function xXe(e){const t=l.useRef(e),n=bh(r=>e?r&&r!==Hz&&e&&t.current&&e.parentNode===t.current.parentNode?r:t3(e):Hz,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function SXe(e){const[t,n]=l.useState(null),r=l.useRef(e),a=l.useCallback(i=>{const o=TT(i.target);o&&n(s=>s?(s.set(o,q$(o)),new Map(s)):null)},[]);return l.useEffect(()=>{const i=r.current;if(e!==i){o(i);const s=e.map(c=>{const u=TT(c);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,q$(u)]):null}).filter(c=>c!=null);n(s.length?new Map(s):null),r.current=e}return()=>{o(e),o(i)};function o(s){s.forEach(c=>{const u=TT(c);u==null||u.removeEventListener("scroll",a)})}},[a,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,o)=>Md(i,o),Bo):see(e):Bo,[e,t])}function Uz(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==Bo;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?B0(e,n.current):Bo}function wXe(e){l.useEffect(()=>{if(!Xx)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function CXe(e,t){return l.useMemo(()=>e.reduce((n,r)=>{let{eventName:a,handler:i}=r;return n[a]=o=>{i(o,t)},n},{}),[e,t])}function dee(e){return l.useMemo(()=>e?qYe(e):null,[e])}const $T=[];function EXe(e,t){t===void 0&&(t=Kf);const[n]=e,r=dee(n?hi(n):null),[a,i]=l.useReducer(s,$T),o=Qx({callback:i});return e.length>0&&a===$T&&i(),Fo(()=>{e.length?e.forEach(c=>o==null?void 0:o.observe(c)):(o==null||o.disconnect(),i())},[e]),a;function s(){return e.length?e.map(c=>iee(c)?r:new n3(t(c),c)):$T}}function IXe(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return vh(t)?t:e}function TXe(e){let{measure:t}=e;const[n,r]=l.useState(null),a=l.useCallback(u=>{for(const{target:d}of u)if(vh(d)){r(p=>{const g=t(d);return p?{...p,width:g.width,height:g.height}:g});break}},[t]),i=Qx({callback:a}),o=l.useCallback(u=>{const d=IXe(u);i==null||i.disconnect(),d&&(i==null||i.observe(d)),r(d?t(d):null)},[t,i]),[s,c]=F0(o);return l.useMemo(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}const RXe=[{sensor:Zx,options:{}},{sensor:cee,options:{}}],_Xe={current:{}},yb={draggable:{measure:Pz},droppable:{measure:Pz,strategy:xm.WhileDragging,frequency:Y$.Optimized},dragOverlay:{measure:Kf}};class gg extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const $Xe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new gg,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:z0},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:yb,measureDroppableContainers:z0,windowRect:null,measuringScheduled:!1},OXe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:z0,draggableNodes:new Map,over:null,measureDroppableContainers:z0},Jx=l.createContext(OXe),fee=l.createContext($Xe);function NXe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new gg}}}function kXe(e,t){switch(t.type){case Xr.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Xr.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Xr.DragEnd:case Xr.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Xr.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new gg(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case Xr.SetDroppableDisabled:{const{id:n,key:r,disabled:a}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const o=new gg(e.droppable.containers);return o.set(n,{...i,disabled:a}),{...e,droppable:{...e.droppable,containers:o}}}case Xr.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const i=new gg(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function AXe(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=l.useContext(Jx),i=W$(r),o=W$(n==null?void 0:n.id);return l.useEffect(()=>{if(!t&&!r&&i&&o!=null){if(!e3(i)||document.activeElement===i.target)return;const s=a.get(o);if(!s)return;const{activatorNode:c,node:u}=s;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[c.current,u.current]){if(!d)continue;const p=RYe(d);if(p){p.focus();break}}})}},[r,t,a,o,i]),null}function DXe(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,i)=>i({transform:a,...r}),n):n}function MXe(e){return l.useMemo(()=>({draggable:{...yb.draggable,...e==null?void 0:e.draggable},droppable:{...yb.droppable,...e==null?void 0:e.droppable},dragOverlay:{...yb.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function PXe(e){let{activeNode:t,measure:n,initialRect:r,config:a=!0}=e;const i=l.useRef(!1),{x:o,y:s}=typeof a=="boolean"?{x:a,y:a}:a;Fo(()=>{if(!o&&!s||!t){i.current=!1;return}if(i.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const d=n(u),p=tee(d,r);if(o||(p.x=0),s||(p.y=0),i.current=!0,Math.abs(p.x)>0||Math.abs(p.y)>0){const g=nee(u);g&&g.scrollBy({top:p.y,left:p.x})}},[t,o,s,r,n])}const pee=l.createContext({...Bo,scaleX:1,scaleY:1});var dl;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(dl||(dl={}));const gee=l.memo(function(t){var n,r,a,i;let{id:o,accessibility:s,autoScroll:c=!0,children:u,sensors:d=RXe,collisionDetection:p=BYe,measuring:g,modifiers:m,...h}=t;const b=l.useReducer(kXe,void 0,NXe),[y,S]=b,[v,x]=AYe(),[w,C]=l.useState(dl.Uninitialized),E=w===dl.Initialized,{draggable:{active:I,nodes:T,translate:_},droppable:{containers:R}}=y,$=I?T.get(I):null,M=l.useRef({initial:null,translated:null}),P=l.useMemo(()=>{var he;return I!=null?{id:I,data:(he=$==null?void 0:$.data)!=null?he:_Xe,rect:M}:null},[I,$]),D=l.useRef(null),[O,k]=l.useState(null),[N,A]=l.useState(null),L=ym(h,Object.values(h)),j=yh("DndDescribedBy",o),F=l.useMemo(()=>R.getEnabled(),[R]),B=MXe(g),{droppableRects:z,measureDroppableContainers:U,measuringScheduled:H}=mXe(F,{dragging:E,dependencies:[_.x,_.y],config:B.droppable}),K=pXe(T,I),Y=l.useMemo(()=>N?G$(N):null,[N]),ee=lt(),ae=hXe(K,B.draggable.measure);PXe({activeNode:I?T.get(I):null,config:ee.layoutShiftCompensation,initialRect:ae,measure:B.draggable.measure});const W=zz(K,B.draggable.measure,ae),q=zz(K?K.parentElement:null),Z=l.useRef({activatorEvent:null,active:null,activeNode:K,collisionRect:null,collisions:null,droppableRects:z,draggableNodes:T,draggingNode:null,draggingNodeRect:null,droppableContainers:R,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Q=R.getNodeFor((n=Z.current.over)==null?void 0:n.id),J=TXe({measure:B.dragOverlay.measure}),le=(r=J.nodeRef.current)!=null?r:K,ce=E?(a=J.rect)!=null?a:W:null,pe=!!(J.nodeRef.current&&J.rect),te=yXe(pe?null:W),ie=dee(le?hi(le):null),fe=xXe(E?Q??K:null),ge=EXe(fe),ne=DXe(m,{transform:{x:_.x-te.x,y:_.y-te.y,scaleX:1,scaleY:1},activatorEvent:N,active:P,activeNodeRect:W,containerNodeRect:q,draggingNodeRect:ce,over:Z.current.over,overlayNodeRect:J.rect,scrollableAncestors:fe,scrollableAncestorRects:ge,windowRect:ie}),ue=Y?Md(Y,_):null,me=SXe(fe),xe=Uz(me),Ie=Uz(me,[W]),ke=Md(ne,xe),$e=ce?UYe(ce,ne):null,Le=P&&$e?p({active:P,collisionRect:$e,droppableRects:z,droppableContainers:F,pointerCoordinates:ue}):null,je=jYe(Le,"id"),[He,Be]=l.useState(null),Pe=pe?ne:Md(ne,Ie),Se=zYe(Pe,(i=He==null?void 0:He.rect)!=null?i:null,W),Ne=l.useCallback((he,re)=>{let{sensor:ve,options:_e}=re;if(D.current==null)return;const ze=T.get(D.current);if(!ze)return;const Ue=he.nativeEvent,Ae=new ve({active:D.current,activeNode:ze,event:Ue,options:_e,context:Z,onStart(Re){const at=D.current;if(at==null)return;const Ye=T.get(at);if(!Ye)return;const{onDragStart:We}=L.current,qe={active:{id:at,data:Ye.data,rect:M}};Zr.unstable_batchedUpdates(()=>{We==null||We(qe),C(dl.Initializing),S({type:Xr.DragStart,initialCoordinates:Re,active:at}),v({type:"onDragStart",event:qe})})},onMove(Re){S({type:Xr.DragMove,coordinates:Re})},onEnd:Oe(Xr.DragEnd),onCancel:Oe(Xr.DragCancel)});Zr.unstable_batchedUpdates(()=>{k(Ae),A(he.nativeEvent)});function Oe(Re){return async function(){const{active:Ye,collisions:We,over:qe,scrollAdjustedTranslate:Qe}=Z.current;let it=null;if(Ye&&Qe){const{cancelDrop:wt}=L.current;it={activatorEvent:Ue,active:Ye,collisions:We,delta:Qe,over:qe},Re===Xr.DragEnd&&typeof wt=="function"&&await Promise.resolve(wt(it))&&(Re=Xr.DragCancel)}D.current=null,Zr.unstable_batchedUpdates(()=>{S({type:Re}),C(dl.Uninitialized),Be(null),k(null),A(null);const wt=Re===Xr.DragEnd?"onDragEnd":"onDragCancel";if(it){const kt=L.current[wt];kt==null||kt(it),v({type:wt,event:it})}})}}},[T]),Te=l.useCallback((he,re)=>(ve,_e)=>{const ze=ve.nativeEvent,Ue=T.get(_e);if(D.current!==null||!Ue||ze.dndKit||ze.defaultPrevented)return;const Ae={active:Ue};he(ve,re.options,Ae)===!0&&(ze.dndKit={capturedBy:re.sensor},D.current=_e,Ne(ve,re))},[T,Ne]),Ce=gXe(d,Te);wXe(d),Fo(()=>{W&&w===dl.Initializing&&C(dl.Initialized)},[W,w]),l.useEffect(()=>{const{onDragMove:he}=L.current,{active:re,activatorEvent:ve,collisions:_e,over:ze}=Z.current;if(!re||!ve)return;const Ue={active:re,activatorEvent:ve,collisions:_e,delta:{x:ke.x,y:ke.y},over:ze};Zr.unstable_batchedUpdates(()=>{he==null||he(Ue),v({type:"onDragMove",event:Ue})})},[ke.x,ke.y]),l.useEffect(()=>{const{active:he,activatorEvent:re,collisions:ve,droppableContainers:_e,scrollAdjustedTranslate:ze}=Z.current;if(!he||D.current==null||!re||!ze)return;const{onDragOver:Ue}=L.current,Ae=_e.get(je),Oe=Ae&&Ae.rect.current?{id:Ae.id,rect:Ae.rect.current,data:Ae.data,disabled:Ae.disabled}:null,Re={active:he,activatorEvent:re,collisions:ve,delta:{x:ze.x,y:ze.y},over:Oe};Zr.unstable_batchedUpdates(()=>{Be(Oe),Ue==null||Ue(Re),v({type:"onDragOver",event:Re})})},[je]),Fo(()=>{Z.current={activatorEvent:N,active:P,activeNode:K,collisionRect:$e,collisions:Le,droppableRects:z,draggableNodes:T,draggingNode:le,draggingNodeRect:ce,droppableContainers:R,over:He,scrollableAncestors:fe,scrollAdjustedTranslate:ke},M.current={initial:ce,translated:$e}},[P,K,Le,$e,T,le,ce,z,R,He,fe,ke]),uXe({...ee,delta:_,draggingRect:$e,pointerCoordinates:ue,scrollableAncestors:fe,scrollableAncestorRects:ge});const De=l.useMemo(()=>({active:P,activeNode:K,activeNodeRect:W,activatorEvent:N,collisions:Le,containerNodeRect:q,dragOverlay:J,draggableNodes:T,droppableContainers:R,droppableRects:z,over:He,measureDroppableContainers:U,scrollableAncestors:fe,scrollableAncestorRects:ge,measuringConfiguration:B,measuringScheduled:H,windowRect:ie}),[P,K,W,N,Le,q,J,T,R,z,He,U,fe,ge,B,H,ie]),Ge=l.useMemo(()=>({activatorEvent:N,activators:Ce,active:P,activeNodeRect:W,ariaDescribedById:{draggable:j},dispatch:S,draggableNodes:T,over:He,measureDroppableContainers:U}),[N,Ce,P,W,S,j,T,He,U]);return de.createElement(JJ.Provider,{value:x},de.createElement(Jx.Provider,{value:Ge},de.createElement(fee.Provider,{value:De},de.createElement(pee.Provider,{value:Se},u)),de.createElement(AXe,{disabled:(s==null?void 0:s.restoreFocus)===!1})),de.createElement(PYe,{...s,hiddenTextDescribedById:j}));function lt(){const he=(O==null?void 0:O.autoScrollEnabled)===!1,re=typeof c=="object"?c.enabled===!1:c===!1,ve=E&&!he&&!re;return typeof c=="object"?{...c,enabled:ve}:{enabled:ve}}}),LXe=l.createContext(null),Vz="button",jXe="Droppable";function FXe(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const i=yh(jXe),{activators:o,activatorEvent:s,active:c,activeNodeRect:u,ariaDescribedById:d,draggableNodes:p,over:g}=l.useContext(Jx),{role:m=Vz,roleDescription:h="draggable",tabIndex:b=0}=a??{},y=(c==null?void 0:c.id)===t,S=l.useContext(y?pee:LXe),[v,x]=F0(),[w,C]=F0(),E=CXe(o,t),I=ym(n);Fo(()=>(p.set(t,{id:t,key:i,node:v,activatorNode:w,data:I}),()=>{const _=p.get(t);_&&_.key===i&&p.delete(t)}),[p,t]);const T=l.useMemo(()=>({role:m,tabIndex:b,"aria-disabled":r,"aria-pressed":y&&m===Vz?!0:void 0,"aria-roledescription":h,"aria-describedby":d.draggable}),[r,m,b,y,h,d.draggable]);return{active:c,activatorEvent:s,activeNodeRect:u,attributes:T,isDragging:y,listeners:r?void 0:E,node:v,over:g,setNodeRef:x,setActivatorNodeRef:C,transform:S}}function BXe(){return l.useContext(fee)}const zXe="Droppable",HXe={timeout:25};function UXe(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const i=yh(zXe),{active:o,dispatch:s,over:c,measureDroppableContainers:u}=l.useContext(Jx),d=l.useRef({disabled:n}),p=l.useRef(!1),g=l.useRef(null),m=l.useRef(null),{disabled:h,updateMeasurementsFor:b,timeout:y}={...HXe,...a},S=ym(b??r),v=l.useCallback(()=>{if(!p.current){p.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{u(Array.isArray(S.current)?S.current:[S.current]),m.current=null},y)},[y]),x=Qx({callback:v,disabled:h||!o}),w=l.useCallback((T,_)=>{x&&(_&&(x.unobserve(_),p.current=!1),T&&x.observe(T))},[x]),[C,E]=F0(w),I=ym(t);return l.useEffect(()=>{!x||!C.current||(x.disconnect(),p.current=!1,x.observe(C.current))},[C,x]),Fo(()=>(s({type:Xr.RegisterDroppable,element:{id:r,key:i,disabled:n,node:C,rect:g,data:I}}),()=>s({type:Xr.UnregisterDroppable,key:i,id:r})),[r]),l.useEffect(()=>{n!==d.current.disabled&&(s({type:Xr.SetDroppableDisabled,id:r,key:i,disabled:n}),d.current.disabled=n)},[r,i,n,s]),{active:o,rect:g,isOver:(c==null?void 0:c.id)===r,node:C,over:c,setNodeRef:E}}function eS(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function VXe(e,t){return e.reduce((n,r,a)=>{const i=t.get(r);return i&&(n[a]=i),n},Array(e.length))}function Av(e){return e!==null&&e>=0}function WXe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const i=eS(t,r,n),o=t[a],s=i[a];return!s||!o?null:{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}},Dv={scaleX:1,scaleY:1},hee=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:i,overIndex:o}=e;const s=(t=i[n])!=null?t:r;if(!s)return null;if(a===n){const u=i[o];return u?{x:0,y:nn&&a<=o?{x:0,y:-s.height-c,...Dv}:a=o?{x:0,y:s.height+c,...Dv}:{x:0,y:0,...Dv}};function qXe(e,t,n){const r=e[t],a=e[t-1],i=e[t+1];return r?nr.map(E=>typeof E=="object"&&"id"in E?E.id:E),[r]),h=o!=null,b=o?m.indexOf(o.id):-1,y=u?m.indexOf(u.id):-1,S=l.useRef(m),v=!WXe(m,S.current),x=y!==-1&&b===-1||v,w=GXe(i);Fo(()=>{v&&h&&d(m)},[v,m,h,d]),l.useEffect(()=>{S.current=m},[m]);const C=l.useMemo(()=>({activeIndex:b,containerId:p,disabled:w,disableTransforms:x,items:m,overIndex:y,useDragOverlay:g,sortedRects:VXe(m,c),strategy:a}),[b,p,w.draggable,w.droppable,x,m,y,c,g,a]);return de.createElement(bee.Provider,{value:C},t)}const KXe=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return eS(n,r,a).indexOf(t)},YXe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:i,newIndex:o,previousItems:s,previousContainerId:c,transition:u}=e;return!u||!r||s!==i&&a===o?!1:n?!0:o!==a&&t===c},XXe={duration:200,easing:"ease"},xee="transform",ZXe=hf.Transition.toString({property:xee,duration:0,easing:"linear"}),QXe={roleDescription:"sortable"};function JXe(e){let{disabled:t,index:n,node:r,rect:a}=e;const[i,o]=l.useState(null),s=l.useRef(n);return Fo(()=>{if(!t&&n!==s.current&&r.current){const c=a.current;if(c){const u=Kf(r.current,{ignoreTransform:!0}),d={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(d.x||d.y)&&o(d)}}n!==s.current&&(s.current=n)},[t,n,r,a]),l.useEffect(()=>{i&&o(null)},[i]),i}function See(e){let{animateLayoutChanges:t=YXe,attributes:n,disabled:r,data:a,getNewIndex:i=KXe,id:o,strategy:s,resizeObserverConfig:c,transition:u=XXe}=e;const{items:d,containerId:p,activeIndex:g,disabled:m,disableTransforms:h,sortedRects:b,overIndex:y,useDragOverlay:S,strategy:v}=l.useContext(bee),x=eZe(r,m),w=d.indexOf(o),C=l.useMemo(()=>({sortable:{containerId:p,index:w,items:d},...a}),[p,a,w,d]),E=l.useMemo(()=>d.slice(d.indexOf(o)),[d,o]),{rect:I,node:T,isOver:_,setNodeRef:R}=UXe({id:o,data:C,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:$,activatorEvent:M,activeNodeRect:P,attributes:D,setNodeRef:O,listeners:k,isDragging:N,over:A,setActivatorNodeRef:L,transform:j}=FXe({id:o,data:C,attributes:{...QXe,...n},disabled:x.draggable}),F=CYe(R,O),B=!!$,z=B&&!h&&Av(g)&&Av(y),U=!S&&N,H=U&&z?j:null,Y=z?H??(s??v)({rects:b,activeNodeRect:P,activeIndex:g,overIndex:y,index:w}):null,ee=Av(g)&&Av(y)?i({id:o,items:d,activeIndex:g,overIndex:y}):w,ae=$==null?void 0:$.id,W=l.useRef({activeId:ae,items:d,newIndex:ee,containerId:p}),q=d!==W.current.items,Z=t({active:$,containerId:p,isDragging:N,isSorting:B,id:o,index:w,items:d,newIndex:W.current.newIndex,previousItems:W.current.items,previousContainerId:W.current.containerId,transition:u,wasDragging:W.current.activeId!=null}),Q=JXe({disabled:!Z,index:w,node:T,rect:I});return l.useEffect(()=>{B&&W.current.newIndex!==ee&&(W.current.newIndex=ee),p!==W.current.containerId&&(W.current.containerId=p),d!==W.current.items&&(W.current.items=d)},[B,ee,p,d]),l.useEffect(()=>{if(ae===W.current.activeId)return;if(ae&&!W.current.activeId){W.current.activeId=ae;return}const le=setTimeout(()=>{W.current.activeId=ae},50);return()=>clearTimeout(le)},[ae]),{active:$,activeIndex:g,attributes:D,data:C,rect:I,index:w,newIndex:ee,items:d,isOver:_,isSorting:B,isDragging:N,listeners:k,node:T,overIndex:y,over:A,setNodeRef:F,setActivatorNodeRef:L,setDroppableNodeRef:R,setDraggableNodeRef:O,transform:Q??Y,transition:J()};function J(){if(Q||q&&W.current.newIndex===w)return ZXe;if(!(U&&!e3(M)||!u)&&(B||Z))return hf.Transition.toString({...u,property:xee})}}function eZe(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}Wn.Down,Wn.Right,Wn.Up,Wn.Left;const{useToken:tZe}=Ar,nZe=xA,wee=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=Nt(),{token:i}=tZe(),[o]=Kt.useForm(),[s,c]=l.useState([]),[u,d]=l.useState(!1),[p,g]=l.useState(0),[m,h]=l.useState(-1);l.useEffect(()=>{c([])},[]),l.useEffect(()=>{if(t)try{const k=JSON.parse(t);o.setFieldsValue(k)}catch(k){console.error("Error parsing JSON:",k)}},[o,t]);const b=()=>{o.resetFields()},y=k=>{o.setFieldsValue({filepath:k.target.value})},S=(k,N,A)=>{if(k){const L=A==="library"?"lib:/":"content:/",j=k.map(F=>({filepath:L+N+"/"+F.name,name:F.name}));c(j)}},v=()=>{g(k=>k+1),d(!0)},x=k=>{g(N=>N+1),d(!0),h(k),c([o.getFieldValue(["files",k])])},w=()=>{const k=o.getFieldsValue();let N=[...k.files];m!==-1?N[m]={filepath:s[0].filepath,name:s[0].name}:N=[...k.files,...s];const A={...k,files:N};o.setFieldsValue(A),d(!1),c([]),h(-1)},C=()=>{d(!1),c([])},[E,I]=l.useState(""),[T,_]=l.useState(""),[R,$]=l.useState(!1),M=f.jsx(tt,{type:"primary",onClick:()=>$(!1),children:a("tonies.informationModal.ok")}),P=()=>{$(!1)},D=f.jsx(_n,{footer:M,width:1e3,title:"File (you can copy the content to a *.tap file)",open:R,onCancel:P,children:E?f.jsxs(f.Fragment,{children:[f.jsx(mn,{language:"json",code:E}),f.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),f.jsx(mn,{language:"json",showLineNumbers:!1,code:T})]}):"Loading..."}),O=f.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:i.colorBgElevated},children:[f.jsx(tt,{onClick:C,children:a("tonies.selectFileModal.cancel")}),f.jsx(tt,{type:"primary",onClick:w,children:a("tonies.selectFileModal.ok")})]});return f.jsxs(f.Fragment,{children:[f.jsxs(_n,{open:e,title:a(t?"tonies.tapEditor.titleEdit":"tonies.tapEditor.titleCreate"),okText:a(t?"tonies.tapEditor.save":"tonies.tapEditor.create"),cancelText:a("tonies.tapEditor.cancel"),onCancel:()=>{r(),b()},onOk:()=>{o.validateFields().then(()=>{n(o.getFieldsValue()),I(JSON.stringify(o.getFieldsValue(),null,2)),_(JSON.stringify(o.getFieldsValue(),null,0)),$(!0),b()}).catch(k=>{console.log("Validate Failed:",k)})},children:[f.jsx(wn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json is displayed when saving the new tap. This is not automatically saved to your library. You have to create a *.tap file manually and copy this into the file yourself.",style:{marginBottom:8}}),f.jsxs(Kt,{form:o,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[f.jsx(Kt.Item,{name:"type",hidden:!0,label:"type",children:f.jsx(tn,{type:"string"})}),f.jsx(Kt.Item,{name:"audio_id",label:f.jsxs("div",{style:{display:"flex",gap:8},children:[f.jsx("label",{children:a("tonies.tapEditor.audioId")}),f.jsx(Ft,{title:a("tonies.tapEditor.audioIdTooltip"),children:f.jsx(no,{})})]}),children:f.jsx(tn,{type:"number"})}),f.jsx(Kt.Item,{name:"filepath",label:f.jsxs("div",{style:{display:"flex",gap:8},children:[f.jsx("label",{children:a("tonies.tapEditor.filePath")}),f.jsx(Ft,{title:a("tonies.tapEditor.filePathTooltip"),children:f.jsx(no,{})})]}),rules:[{required:!0,message:a("tonies.tapEditor.filePathRequired")}],children:f.jsx(tn,{onChange:y})}),f.jsx(Kt.Item,{name:"name",label:f.jsxs("div",{style:{display:"flex",gap:8},children:[f.jsx("label",{children:a("tonies.tapEditor.name")}),f.jsx(Ft,{title:a("tonies.tapEditor.nameTooltip"),children:f.jsx(no,{})})]}),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:f.jsx(tn,{})}),f.jsx(Kt.List,{name:"files",children:(k,{add:N,remove:A})=>f.jsxs(f.Fragment,{children:[k.map(({key:L,name:j},F)=>f.jsx("div",{className:"playlistTitle",children:f.jsxs(qa,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[f.jsx(Kt.Item,{name:[j,"filepath"],label:f.jsxs("div",{style:{display:"flex",gap:8},children:[f.jsx("label",{children:a("tonies.tapEditor.filePathContentFile")}),f.jsx(Ft,{title:a("tonies.tapEditor.filePathContentFileTooltip"),children:f.jsx(no,{})})]}),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:f.jsx(tn,{width:"auto",addonBefore:f.jsx(va,{onClick:()=>{const B=[...o.getFieldsValue().files];B[F].filepath="",o.setFieldsValue({files:B})}}),addonAfter:f.jsx(Sk,{onClick:()=>x(F)})})}),f.jsx(Kt.Item,{name:[j,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:f.jsx(tn,{placeholder:"Name"})}),f.jsx(zTe,{onClick:()=>A(j)})]},`space-${L}`)},`files-${L}`)),f.jsx(Kt.Item,{children:f.jsx(tt,{type:"dashed",onClick:()=>v(),block:!0,icon:f.jsx(Xm,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),f.jsx(_n,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:w,onCancel:C,width:"auto",footer:O,children:f.jsx(SA,{maxSelectedRows:99,special:"library",trackUrl:!1,filetypeFilter:nZe,onFileSelectChange:S},p)})]}),D]})},{useToken:rZe}=Ar,aZe=({originNode:e,fileObjectList:t,file:n,onRemove:r,disabled:a})=>{const{token:i}=rZe(),{attributes:o,listeners:s,setNodeRef:c,transform:u,transition:d,isDragging:p}=See({id:n.uid}),{t:g}=Nt(),m={transform:hf.Transform.toString(u),transition:d,cursor:"move"};return f.jsx("div",{ref:c,style:m,className:p?"is-dragging":"",...o,...s,children:f.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"space-between",alignItems:"center",margin:"8px 0",padding:8,borderRadius:8,border:`1px solid ${i.colorBorder}`},children:[f.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[f.jsxs("span",{style:{fontSize:30,width:48,height:48,textAlign:"center",color:`${i.colorPrimaryText}`},children:[t.indexOf(n)+1,"."]}),f.jsxs("div",{children:[f.jsx("div",{children:n.name}),f.jsxs("div",{style:{fontSize:"smaller",color:`${i.colorTextSecondary}`},children:["in ",n.path,"/"]})]})]}),f.jsx(tt,{title:g("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:f.jsx(Hl,{})})]})})},Cee=/[<>:"/\\|?*]/,mg=Cee.source.slice(1,-1).split("").join(" ");function wd(e){return!Cee.test(e)}const iZe=({isHelpModalOpen:e,onClose:t})=>{const n=[{key:1,avatar:f.jsx(S0,{}),title:_t("fileBrowser.help.actionItemsMulti.moveSelectedFiles.title"),text:_t("fileBrowser.help.actionItemsMulti.moveSelectedFiles.text")},{key:2,avatar:f.jsx(Hl,{}),title:_t("fileBrowser.help.actionItemsMulti.deleteSelectedFiles.title"),text:_t("fileBrowser.help.actionItemsMulti.deleteSelectedFiles.text")},{key:3,avatar:f.jsx(x0,{}),title:_t("fileBrowser.help.actionItemsMulti.encodeFilesToTAF.title"),text:_t("fileBrowser.help.actionItemsMulti.encodeFilesToTAF.text")}],r=[{key:1,avatar:f.jsx(Oi,{}),title:_t("fileBrowser.help.actionItems.playAudioFile.title"),text:_t("fileBrowser.help.actionItems.playAudioFile.text")},{key:2,avatar:f.jsx(hY,{}),title:_t("fileBrowser.help.actionItems.migrateToLibraryRoot.title"),text:_t("fileBrowser.help.actionItems.migrateToLibraryRoot.text")},{key:3,avatar:f.jsx(RY,{}),title:_t("fileBrowser.help.actionItems.migrateToAudioIdFolder.title"),text:_t("fileBrowser.help.actionItems.migrateToAudioIdFolder.text")},{key:4,avatar:f.jsx(Ul,{}),title:_t("fileBrowser.help.actionItems.editTAFMetadata.title"),text:_t("fileBrowser.help.actionItems.editTAFMetadata.text")},{key:5,avatar:f.jsx(Ul,{}),title:_t("fileBrowser.help.actionItems.editTAPPlaylist.title"),text:_t("fileBrowser.help.actionItems.editTAPPlaylist.text")},{key:6,avatar:f.jsx(bY,{}),title:_t("fileBrowser.help.actionItems.renameFile.title"),text:_t("fileBrowser.help.actionItems.renameFile.text")},{key:7,avatar:f.jsx(S0,{}),title:_t("fileBrowser.help.actionItems.moveFile.title"),text:_t("fileBrowser.help.actionItems.moveFile.text")},{key:8,avatar:f.jsx(Hl,{}),title:_t("fileBrowser.help.actionItems.deleteFileFolder.title"),text:_t("fileBrowser.help.actionItems.deleteFileFolder.text")},{key:9,avatar:f.jsx(fx,{}),title:_t("fileBrowser.help.actionItems.duplicateTAPFile.title"),text:_t("fileBrowser.help.actionItems.duplicateTAPFile.text")}],a=[{key:1,title:_t("fileBrowser.help.instructions.openDirectory.title"),text:_t("fileBrowser.help.instructions.openDirectory.text")},{key:2,title:_t("fileBrowser.help.instructions.openTAFViewer.title"),text:_t("fileBrowser.help.instructions.openTAFViewer.text")},{key:3,title:_t("fileBrowser.help.instructions.openTAPJSONViewer.title"),text:_t("fileBrowser.help.instructions.openTAPJSONViewer.text")},{key:4,title:_t("fileBrowser.help.instructions.viewTonieInfoModal.title"),text:_t("fileBrowser.help.instructions.viewTonieInfoModal.text")},{key:5,title:_t("fileBrowser.help.instructions.multiSelection.title"),text:f.jsxs(f.Fragment,{children:[_t("fileBrowser.help.instructions.multiSelection.text"),f.jsx(Rr,{size:"small",dataSource:n,renderItem:i=>f.jsx(Rr.Item,{children:f.jsx(Rr.Item.Meta,{avatar:i.avatar,title:i.title,description:i.text})})})]})},{key:6,title:_t("fileBrowser.help.instructions.fileActions.title"),description:f.jsx(Rr,{size:"small",dataSource:r,renderItem:i=>f.jsx(Rr.Item,{children:f.jsx(Rr.Item.Meta,{avatar:i.avatar,title:i.title,description:i.text})})})}];return f.jsx(_n,{className:"help-viewer",width:800,title:_t("fileBrowser.help.title"),open:e,onOk:t,onCancel:t,footer:[f.jsx(tt,{type:"primary",onClick:t,children:_t("fileBrowser.help.closeButton")},"close")],children:f.jsx(Rr,{size:"small",dataSource:a,renderItem:i=>f.jsx(Rr.Item,{children:f.jsx(Rr.Item.Meta,{title:i.title,description:f.jsxs(f.Fragment,{children:[f.jsx("div",{children:i.text}),i.description&&f.jsx("div",{children:i.description})]})})})})})},qo=new Mn(On()),{useToken:oZe}=Ar,Wz=99,Yu=xA,yo={id:"1",pId:"-1",value:"1",title:"/",fullPath:"/"},a3=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",trackUrl:a=!0,showDirOnly:i=!1,showColumns:o=void 0})=>{const{t:s}=Nt(),{playAudio:c}=rh(),{token:u}=oZe(),{addNotification:d,addLoadingNotification:p,closeLoadingNotification:g}=Qn(),m=cu(),h=l.useRef(null),b=l.useRef(null),y=l.useRef(null),S=l.useRef(null),v=l.useRef(null),x=go(),C=new URLSearchParams(x.search).get("path")||"",[E,I]=l.useState(C),[T,_]=l.useState([]),[R,$]=l.useState(!1),[M,P]=l.useState(""),[D,O]=l.useState([]),[k,N]=l.useState(yo.id),[A,L]=l.useState([yo]),[j,F]=l.useState([]),[B,z]=l.useState(""),[U,H]=l.useState(!1),[K,Y]=l.useState(!1),[ee,ae]=l.useState(),[W,q]=l.useState(""),[Z,Q]=l.useState(""),[J,le]=l.useState(!1),[ce,pe]=l.useState(!1),[te,ie]=l.useState(0);l.useState(!1),l.useState(0);const[fe,ge]=l.useState(""),[ne,ue]=l.useState(!1),[me,xe]=l.useState(!0),[Ie,ke]=l.useState(!1),[$e,Le]=l.useState(!1),[je,He]=l.useState(!0),[Be,Pe]=l.useState(!1),[Se,Ne]=l.useState(1),[Te,Ce]=l.useState(C),[De,Ge]=l.useState(!1),[lt,he]=l.useState(!1),[re,ve]=l.useState(null),[_e,ze]=l.useState(""),[Ue,Ae]=l.useState(""),[Oe,Re]=l.useState(!1),[at,Ye]=l.useState(!1),[We,qe]=l.useState(0),[Qe,it]=l.useState(!1),[wt,kt]=l.useState([]),[xt,nt]=l.useState(!1),[rt,bt]=l.useState(!1),[Ot,ht]=l.useState(0),[ct,Et]=l.useState([]),[Ze,ut]=l.useState(!1),[pt,et]=l.useState(!1),[Xe,$t]=l.useState(0),[At,qt]=l.useState([]),[hn,gn]=l.useState(!1),[yt,Dt]=l.useState({}),[jt,Jt]=l.useState(!0),Nn=l.useRef(null);l.useEffect(()=>{(async()=>{const we=tr(yo.id);qo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${we}&special=library`).then(Ve=>Ve.json()).then(Ve=>{var dt=Ve.files;dt=dt.filter(Tt=>Tt.isDir&&Tt.name!=="..").sort((Tt,Bt)=>Tt.name===Bt.name?0:Tt.name.toLowerCase()>Bt.name.toLowerCase()?1:-1).map(Tt=>({id:yo.id+"."+dt.indexOf(Tt),pId:yo.id,value:yo.id+"."+dt.indexOf(Tt),title:Tt.name,fullPath:`${we}/${Tt.name}/`})),L(A.concat(dt))})})()},[]),l.useEffect(()=>{const we=new URLSearchParams(x.search).get("path")||"";I(we)},[]),l.useEffect(()=>{if(r){const Ee=new URLSearchParams(x.search);Ee.set("path",""),I("");const we=`${window.location.pathname}?${Ee.toString()}`;window.history.replaceState(null,"",we),$(Ve=>!Ve)}},[r]),l.useEffect(()=>{Jt(!0),qo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${E}&special=${e}`+(r?`&overlay=${r}`:"")).then(Ee=>Ee.json()).then(Ee=>{var we=Ee.files;i&&(we=we.filter(Ve=>Ve.isDir)),t.length>0&&(we=we.filter(Ve=>Ve.isDir||t.some(dt=>Ve.name.endsWith(dt)))),_(we)}).catch(Ee=>d(ft.Error,s("fileBrowser.messages.errorFetchingDirContent"),s("fileBrowser.messages.errorFetchingDirContentDetails",{path:E||"/"})+Ee,s("fileBrowser.title"))).finally(()=>{Jt(!1)})},[E,e,i,R]),l.useEffect(()=>{Be&&setTimeout(()=>{b.current&&b.current.focus()},0)},[Be]),l.useEffect(()=>{h.current!==null&&v.current&&v.current.setSelectionRange(h.current,h.current)},[B]),l.useEffect(()=>{Ce(tr(k))},[k]),l.useEffect(()=>{Ce(E)},[E]);const Dr=Ee=>{Jt(!0),a&&m(`?path=${Ee}`),E===Ee&&$(we=>!we),H(!1),I(Ee)},or=(Ee,we)=>{const Ve=Ee.split("/").filter(Tt=>Tt),dt=[{title:f.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(""),children:s("fileBrowser.root")}),key:"/"}];return Ve.forEach((Tt,Bt)=>{const rn=`/${Ve.slice(0,Bt+1).join("/")}`;dt.push({title:f.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(rn),children:Tt}),key:rn})}),f.jsx(Wm,{items:dt})},wr=({id:Ee})=>new Promise((we,Ve)=>{const dt=tr(Ee);qo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${dt}&special=library`).then(Tt=>Tt.json()).then(Tt=>{let Bt=Tt.files;Bt=Bt.filter(rn=>rn.isDir&&rn.name!=="..").sort((rn,Tr)=>rn.name===Tr.name?0:rn.name.toLowerCase()>Tr.name.toLowerCase()?1:-1).map(rn=>({id:Ee+"."+Bt.indexOf(rn),pId:Ee,value:Ee+"."+Bt.indexOf(rn),title:rn.name,fullPath:`${dt}/${rn.name}/`})),L(A.concat(Bt)),we(!0)}).then(()=>{Ve()})}),tr=Ee=>{const we=A.filter(Ve=>Ve.value===Ee)[0];return we.pId==="-1"?"":tr(A.filter(Ve=>Ve.id===we.pId)[0].id)+"/"+we.title},Pr=(Ee,we)=>{for(const Ve of we)if(Ve.fullPath===Ee)return Ve.id;return null},nr=(Ee,we)=>{let Ve=[];for(const dt of we)dt.pId===Ee&&Ve.push(dt);return Ve},en=Ee=>j.includes(Ee),Rt=f.jsx(rc,{className:"move-file",treeLine:!0,treeDataSimpleMode:!0,value:k,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:N,loadData:wr,treeData:A,treeNodeLabelProp:"fullPath",placeholder:s("fileBrowser.moveFile.destinationPlaceholder"),treeExpandedKeys:j,onTreeExpand:Ee=>F(Ee),disabled:Ze||xt}),Ht=Ee=>{var Ve;const we=[{"audio-id":Ee.audioId,hash:Ee.sha1Hash,size:Ee.size,tracks:(Ve=Ee.trackSeconds)==null?void 0:Ve.length,confidence:0}];return wYe.dump(we).trim()},Vt=Ee=>{var we;!Ee.isDir&&((we=Ee.tonieInfo)!=null&&we.tracks)&&(ae(Ee),q(encodeURI("/content"+E+"/"+Ee.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:"")),Y(!0))},on=Ee=>{Mt((e==="library"?"/library":"/content")+Ee),H(!1),P(Ee),le(!0)},It=()=>{le(!1)},Mt=async Ee=>{try{const Ve=await(await qo.apiGetTeddyCloudApiRaw(Ee)).json();Q(Ve)}catch(we){console.error("Error fetching JSON data:",we)}},bn=f.jsx(tt,{type:"primary",onClick:()=>le(!1),children:s("tonies.informationModal.ok")}),zn=f.jsx(_n,{className:"json-viewer",footer:bn,width:800,title:"File: "+M,open:J,onCancel:It,children:Z?f.jsx(mn,{language:"json",code:JSON.stringify(Z,null,2)}):"Loading..."}),Cr=(Ee,we)=>{H(!1),we.valid?ge(Ht(we)):ge(s("tonies.tafHeaderInvalid")),P(Ee),ue(!0)},Er=()=>{ue(!1)},Lr=f.jsx(_n,{className:"taf-header-viewer",footer:f.jsx(tt,{type:"primary",onClick:()=>ue(!1),children:s("tonies.informationModal.ok")}),title:s("tonies.tafHeaderOf")+M,open:ne,onCancel:Er,width:700,children:fe?f.jsx(f.Fragment,{children:f.jsx(mn,{language:"yaml",code:fe})}):"Loading..."}),Xt=Ee=>{Ee.includes(".tap")&&(Mt((e==="library"?"/library":"/content")+Ee),H(!1),P(Ee),ie(Ve=>Ve+1),pe(!0))},gt=Ee=>{console.log("Received values of form: ",Ee),pe(!1)},St=(Ee,we)=>{},un=(Ee,we,Ve)=>{H(!1),ve(Ee),ze(we),Ae(Ve),Ge(!0)},Hn=()=>{Ge(!1),he(!1)},sr=()=>{ka(_e,Ue),$(Ee=>!Ee),Ge(!1)},Ir=()=>{he(!0)},xa=async()=>{if(D.length>0){const Ee="deletingFiles";p(Ee,s("fileBrowser.messages.deleting"),s("fileBrowser.messages.deleting"));for(const we of D){const Ve=T.find(dt=>dt.name===we);if(Ve){const dt=E+"/"+Ve.name,Tt="?special="+e+(r?`&overlay=${r}`:"");await ka(dt,Tt,!0)}}g(Ee),$(we=>!we),he(!1),O([])}else d(ft.Warning,s("tonies.messages.noRowsSelected"),s("tonies.messages.noRowsSelectedForDeletion"),s("fileBrowser.title"))},ka=async(Ee,we,Ve)=>{const dt="deletingFiles";p(dt,s("fileBrowser.messages.deleting"),s("fileBrowser.messages.deletingDetails",{file:Ee}));try{const Tt=`/api/fileDelete${we}`,rn=await(await qo.apiPostTeddyCloudRaw(Tt,Ee)).text();if(!Ve&&g(dt),rn==="OK"){d(ft.Success,s("fileBrowser.messages.deleteSuccessful"),s("fileBrowser.messages.deleteSuccessfulDetails",{file:Ee}),s("fileBrowser.title"));const Tr=Pr(Ee+"/",A);Tr&&L(jr=>jr.filter(Sh=>Sh.id!==Tr)),Te===Ee+"/"&&Ce(E)}else d(ft.Error,s("fileBrowser.messages.deleteFailed"),`${s("fileBrowser.messages.deleteFailedDetails",{file:Ee})}: ${rn}`,s("fileBrowser.title"))}catch(Tt){!Ve&&g(dt),d(ft.Error,s("fileBrowser.messages.deleteFailed"),`${s("fileBrowser.messages.deleteFailedDetails",{file:Ee})}: ${Tt}`,s("fileBrowser.title"))}},Sa=()=>{xe(!0),ke(!1),Ne(Ee=>Ee+1),H(!1),Pe(!0)},zi=()=>{H(!1),Pe(!1)},Iu=Ee=>{const we=Ee.target.value,Ve=!wd(we.toString());ke(Ve),xe(we==="")},Tu=()=>{var we,Ve;const Ee=((Ve=(we=b.current)==null?void 0:we.input)==null?void 0:Ve.value)||"";try{qo.apiPostTeddyCloudRaw("/api/dirCreate?special=library",Te+"/"+Ee).then(dt=>dt.text()).then(dt=>{if(dt!=="OK")throw new Error(dt);const Tt=Pr(Te+"/",A)||yo.id,Bt=`${Tt}.${A.length}`,rn=en(Tt),Tr=nr(Tt,A);if(rn||Tr.length>0){const jr={id:Bt,pId:Tt,value:Bt,title:Ee,fullPath:Te+"/"+Ee+"/"};L([...A,jr].sort((Sh,f3)=>Sh.title===f3.title?0:Sh.title.toLowerCase()>f3.title.toLowerCase()?1:-1)),(Oe||rt)&&N(Bt)}d(ft.Success,s("fileBrowser.createDirectory.directoryCreated"),s("fileBrowser.createDirectory.directoryCreatedDetails",{directory:Te+"/"+Ee}),s("fileBrowser.title")),Pe(!1),$(jr=>!jr),Ce(E)}).catch(dt=>{d(ft.Error,s("fileBrowser.createDirectory.directoryCreateFailed"),s("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:Te+"/"+Ee})+dt,s("fileBrowser.title"))})}catch(dt){d(ft.Error,s("fileBrowser.createDirectory.directoryCreateFailed"),s("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:Te+"/"+Ee})+dt,s("fileBrowser.title"))}},Pt=me||Ie,Qt=f.jsxs(_n,{title:s("fileBrowser.createDirectory.modalTitle"),open:Be,onCancel:zi,onOk:Tu,okText:s("fileBrowser.createDirectory.create"),cancelText:s("fileBrowser.createDirectory.cancel"),zIndex:1050,okButtonProps:{disabled:Pt},children:[f.jsxs(Sn,{style:{marginBottom:8},children:[s("fileBrowser.createDirectory.parentPath")+" "+Te+"/"," "]}),f.jsxs(Kt.Item,{validateStatus:Ie?"error":"",help:Ie?s("inputValidator.invalidCharactersDetected",{invalidChar:mg}):"",required:!0,children:[" ",f.jsx(tn,{ref:b,type:"text",placeholder:s("fileBrowser.createDirectory.placeholder"),status:Ie?"error":"",onChange:Iu})]})]},"createDirModal-"+Se),Xn=async(Ee,we,Ve,dt)=>{const Tt="source="+encodeURIComponent(Ee)+"&target="+encodeURIComponent(we),Bt=Ve?"move-file":"rename-file";p(Bt,s(Ve?"fileBrowser.messages.moving":"fileBrowser.messages.renaming"),Ve?s("fileBrowser.messages.movingDetails",{file:Ee}):s("fileBrowser.messages.renamingDetails",{file:Ee}));try{const rn=`/api/fileMove${"?special="+e+(r?`&overlay=${r}`:"")}`,jr=await(await qo.apiPostTeddyCloudRaw(rn,Tt)).text();if(!dt&&g(Bt),jr==="OK")d(ft.Success,s(Ve?"fileBrowser.messages.movingSuccessful":"fileBrowser.messages.renamingSuccessful"),Ve?s("fileBrowser.messages.movingSuccessfulDetails",{fileSource:Ee,fileTarget:we}):s("fileBrowser.messages.renamingSuccessfulDetails",{fileSource:Ee,fileTarget:we}),s("fileBrowser.title"));else throw jr}catch(rn){!dt&&g(Bt),d(ft.Error,s(Ve?"fileBrowser.messages.movingFailed":"fileBrowser.messages.renamingFailed"),(Ve?s("fileBrowser.messages.movingFailedDetails",{fileSource:Ee,fileTarget:we}):s("fileBrowser.messages.renamingFailedDetails",{fileSource:Ee,fileTarget:we}))+rn,s("fileBrowser.title"))}},yr=Ee=>{N(yo.id),P(Ee),Re(!0)},lr=()=>{Re(!1),Ce(E)},Xs=async(Ee,we)=>{await Xn(Ee+"/"+M,we+"/"+M,!0),$(Ve=>!Ve),Re(!1),N(yo.id)},Yf=async(Ee,we)=>{if(D.length>0){const Ve="move-file";p(Ve,s("fileBrowser.messages.moving"),s("fileBrowser.messages.moving"));for(const dt of D){const Tt=T.find(Bt=>Bt.name===dt);Tt&&!Tt.isDir&&await Xn(Ee+"/"+Tt.name,we+"/"+Tt.name,!0,!0)}g(Ve),$(dt=>!dt),Re(!1),O([]),N(yo.id)}else d(ft.Warning,s("tonies.messages.noRowsSelected"),s("tonies.messages.noRowsSelectedForMoving"),s("fileBrowser.title"))},xh=!k||tr(k)===E,Ru=f.jsxs(_n,{title:s(M?"fileBrowser.moveFile.modalTitle":"fileBrowser.moveFile.modalTitleMultiple"),open:Oe,onCancel:lr,onOk:()=>M?Xs(E,tr(k)):Yf(E,tr(k)),okText:s("fileBrowser.moveFile.move"),cancelText:s("fileBrowser.moveFile.cancel"),okButtonProps:{disabled:xh},children:[f.jsx(wn,{message:s("fileBrowser.attention"),description:s("fileBrowser.moveFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),f.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:[f.jsx(tn,{type:"text",style:{borderTopRightRadius:M?0:"unset",borderBottomRightRadius:M?0:"unset"},disabled:!0,value:E+"/"+(M||""),placeholder:E+"/"+(M||"")}),f.jsx("div",{children:s("fileBrowser.moveFile.moveTo")}),f.jsxs("div",{style:{display:"flex"},children:[Rt,f.jsx(Ft,{title:s("fileBrowser.createDirectory.createDirectory"),children:f.jsx(tt,{icon:f.jsx(cb,{}),onClick:()=>{Ce(tr(k)),Sa()},style:{borderTopLeftRadius:0,borderBottomLeftRadius:0}})})]})]})]}),Eee=Ee=>{P(Ee),xe(!0),Le(!wd(Ee)),qe(we=>we+1),Ye(!0)},Iee=()=>{Ye(!1)},Tee=async(Ee,we)=>{try{await Xn(Ee+"/"+M,Ee+"/"+we,!1),$(Ve=>!Ve),Ye(!1)}catch{}},Ree=Ee=>{const we=Ee.target.value,Ve=!wd(we.toString()),dt=!we.toString()||Ve;Le(Ve),He(dt),xe(!we||we===M)},_ee=me||$e||je,$ee=f.jsxs(_n,{title:s("fileBrowser.renameFile.modalTitle"),open:at,onCancel:Iee,onOk:()=>Tee(E,S.current&&S.current.input?S.current.input.value:M),okText:s("fileBrowser.renameFile.rename"),cancelText:s("fileBrowser.renameFile.cancel"),okButtonProps:{disabled:_ee},children:[f.jsx(wn,{message:s("fileBrowser.attention"),description:s("fileBrowser.renameFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),f.jsx("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:f.jsx(Kt.Item,{validateStatus:$e?"error":"",help:$e?s("inputValidator.invalidCharactersDetected",{invalidChar:mg}):"",required:!0,children:f.jsx(tn,{ref:S,type:"text",defaultValue:M,onChange:Ree,placeholder:M,status:$e?"error":""})})})]},"renameModal-"+We),Oee=()=>{$t(Ee=>Ee+1),et(!0)},o3=()=>{et(!1)},s3=()=>{Et(Ee=>[...Ee,...At]),et(!1),qt([])},Nee=(Ee,we,Ve)=>{const dt=[];if(Ee.length>0)for(const Tt of Ee){const Bt=Ee.find(rn=>rn.name===Tt.name&&Yu.some(Tr=>rn.name.toLowerCase().endsWith(Tr)));Bt&&dt.push({uid:y$(),name:Bt.name,path:we})}qt(dt)},kee=f.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[f.jsx(tt,{onClick:o3,children:s("tonies.selectFileModal.cancel")}),f.jsx(tt,{type:"primary",onClick:s3,children:s("tonies.selectFileModal.ok")})]}),Aee=f.jsx(_n,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:pt,onOk:s3,onCancel:o3,width:"auto",footer:kee,children:f.jsx(SA,{special:"library",maxSelectedRows:Wz-ct.length-1,trackUrl:!1,filetypeFilter:Yu,onFileSelectChange:Nee},Xe)}),Dee=()=>{xe(!0),Le(!1),ht(we=>we+1),N(yo.id);const Ee=[];for(const we of D){const Ve=T.find(dt=>dt.name===we&&Yu.some(Tt=>dt.name.toLowerCase().endsWith(Tt)));Ve&&Ee.push({uid:y$(),name:Ve.name,path:E})}Et(Ee),bt(!0)},Mee=()=>{bt(!1),Ce(E),Et([])},Pee=async()=>{var Tt,Bt;ut(!0);const Ee=(Bt=(Tt=y==null?void 0:y.current)==null?void 0:Tt.input)==null?void 0:Bt.value,we="encoding-"+Ee;p(we,s("fileBrowser.encodeFiles.encoding"),s("fileBrowser.encodeFiles.encodingInProgress"));const Ve=tr(k)+"/"+Ee+".taf",dt=ct.map(rn=>`source=${encodeURIComponent(rn.path+"/"+rn.name)}`).join("&")+`&target=${encodeURIComponent(Ve)}`;try{(await qo.apiPostTeddyCloudRaw(`/api/fileEncode?special=${e}`,dt)).ok?(g(we),d(ft.Success,s("fileBrowser.encodeFiles.encodingSuccessful"),s("fileBrowser.encodeFiles.encodingSuccessfulDetails",{file:Ve}),s("fileBrowser.title")),bt(!1),N("1"),O([]),$(!R)):(g(we),d(ft.Error,s("fileBrowser.encodeFiles.encodingFailed"),s("fileBrowser.encodeFiles.encodingFailedDetails",{file:Ve}).replace(": ",""),s("fileBrowser.title")))}catch(rn){g(we),d(ft.Error,s("fileBrowser.encodeFiles.encodingFailed"),s("fileBrowser.encodeFiles.encodingFailedDetails",{file:Ve})+rn,s("fileBrowser.title"))}ut(!1)},Lee=eee(Zx,{activationConstraint:{distance:10}}),jee=({active:Ee,over:we})=>{Ee.id!==(we==null?void 0:we.id)&&Et(Ve=>{const dt=Ve.findIndex(Bt=>Bt.uid===Ee.id),Tt=Ve.findIndex(Bt=>Bt.uid===(we==null?void 0:we.id));return eS(Ve,dt,Tt)})},Fee=Ee=>{const we=ct.indexOf(Ee),Ve=ct.slice();Ve.splice(we,1),Et(Ve)},Bee=()=>{Et(Ee=>[...Ee].sort((we,Ve)=>we.name.localeCompare(Ve.name)))},zee=Ee=>{const we=Ee.target.value,Ve=!wd(we.toString()),dt=ct.length>0&&!we.toString()||Ve;Le(Ve),He(dt),xe(we==="")},Hee=f.jsxs(_n,{title:s("fileBrowser.encodeFiles.modalTitle"),open:rt,onCancel:Mee,onOk:Pee,okText:s("fileBrowser.encodeFiles.encode"),cancelText:s("fileBrowser.encodeFiles.cancel"),zIndex:1e3,width:"auto",okButtonProps:{disabled:Ze||je||me||ct.length===0},children:[Aee,f.jsx(gee,{sensors:[Lee],onDragEnd:jee,children:f.jsxs(yee,{items:ct.map(Ee=>Ee.uid),strategy:hee,disabled:Ze,children:[f.jsx(tt,{disabled:Ze,onClick:Oee,children:s("fileBrowser.encodeFiles.addFiles")}),ct.map(Ee=>f.jsx(aZe,{originNode:f.jsx("div",{children:Ee.name}),onRemove:Fee,disabled:Ze,fileObjectList:ct,file:Ee},Ee.uid))]})}),f.jsx(qa,{direction:"vertical",style:{display:"flex"},children:ct.length>0?f.jsxs(f.Fragment,{children:[f.jsx(qa,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:f.jsx(tt,{type:"default",disabled:Ze,onClick:Bee,children:s("tonies.encoder.sortAlphabetically")})}),f.jsx(Gn,{}),f.jsx("div",{style:{width:"100%"},className:"encoder",children:f.jsxs(qa,{direction:"vertical",style:{width:"100%"},children:[f.jsxs(qa.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[f.jsx(tn,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:s("tonies.encoder.saveAs")}),Rt,f.jsx(Ft,{title:s("fileBrowser.createDirectory.createDirectory"),children:f.jsx(tt,{disabled:Ze,icon:f.jsx(cb,{}),onClick:()=>{Ce(tr(k)),Sa()},style:{borderRadius:0}})}),f.jsx(tn,{ref:y,addonAfter:".taf",required:!0,status:je?"error":"",onChange:zee,disabled:Ze})]}),$e?f.jsx("div",{style:{textAlign:"end",color:u.colorErrorText},children:s("inputValidator.invalidCharactersDetected",{invalidChar:mg})}):""]})})]}):f.jsx(f.Fragment,{})})]},"encodeModal-"+Ot),Uee=()=>{it(!0)},l3=()=>{kt([]),it(!1)},Vee={name:"file",multiple:!0,fileList:wt,customRequest:async Ee=>{const{onSuccess:we,onError:Ve,file:dt}=Ee;we("Ok")},onChange(Ee){const{status:we,fileList:Ve}=Ee;we!=="uploading"&&(kt(Ve),console.log(Ee.file,Ee.fileList))},onDrop(Ee){console.log("Dropped files",Ee.dataTransfer.files)},onRemove:Ee=>{kt(we=>we.filter(Ve=>Ve.uid!==Ee.uid))}},Wee=async Ee=>{if(!Ee.length)return;nt(!0);let we=!1;const Ve="uploading-"+Ee.length+"-"+new Date;for(let dt=0;dtTr.filter(jr=>jr.uid!==Tt.uid)),d(ft.Success,s("fileBrowser.upload.uploadedFile"),s("fileBrowser.upload.uploadSuccessfulForFile",{file:Tt.name}),s("fileBrowser.title"))):(we=!0,kt(Tr=>Tr.map(jr=>jr.uid===Tt.uid?{...jr,status:"Failed"}:jr)),d(ft.Error,s("fileBrowser.upload.uploadedFileFailed"),s("fileBrowser.upload.uploadFailedForFile",{file:Tt.name}),s("fileBrowser.title")))}catch{we=!0,d(ft.Error,s("fileBrowser.upload.uploadedFileFailed"),s("fileBrowser.upload.uploadFailedForFile",{file:Tt.name}),s("fileBrowser.title")),kt(Tr=>Tr.map(jr=>jr.uid===Tt.uid?{...jr,status:"Failed"}:jr))}}g(Ve),we?($(!R),d(ft.Error,s("fileBrowser.upload.uploadFailed"),s("fileBrowser.upload.uploadFailed"),s("fileBrowser.title"))):($(!R),it(!1),d(ft.Success,s("fileBrowser.upload.uploadSuccessful"),s("fileBrowser.upload.uploadSuccessfulDetails"),s("fileBrowser.title"))),nt(!1)},Gee=f.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[f.jsx(tt,{onClick:l3,children:s("fileBrowser.upload.cancel")}),f.jsx(tt,{type:"primary",onClick:()=>Wee(wt),loading:xt,disabled:wt.length===0||xt,children:s(xt?"fileBrowser.upload.uploading":"fileBrowser.upload.upload")})]}),qee=f.jsx(_n,{className:"sticky-footer",title:s("fileBrowser.upload.modalTitle"),open:Qe,onCancel:l3,footer:Gee,children:f.jsx("div",{style:{width:"100%",marginBottom:8},children:f.jsxs(rf.Dragger,{...Vee,style:{width:"100%",marginBottom:8},children:[f.jsx("p",{className:"ant-upload-drag-icon",children:f.jsx(wk,{})}),f.jsx("p",{className:"ant-upload-text",children:s("fileBrowser.upload.uploadText")}),f.jsx("p",{className:"ant-upload-hint",children:s("fileBrowser.upload.uploadHint")})]})})}),c3=(Ee,we,Ve)=>{const dt="migrating-"+Ee;try{p(dt,s("fileBrowser.messages.migrationOngoing"),s("fileBrowser.messages.migrationOngoingDetails",{ruid:Ee}));const Tt=`ruid=${Ee}&libroot=${we}`;qo.apiPostTeddyCloudRaw("/api/migrateContent2Lib",Tt,Ve).then(Bt=>Bt.text()).then(Bt=>{g(dt),Bt==="OK"?(d(ft.Success,s("fileBrowser.messages.migrationSuccessful"),s("fileBrowser.messages.migrationSuccessfulDetails",{ruid:Ee}),s("fileBrowser.title")),$(rn=>!rn)):d(ft.Success,s("fileBrowser.messages.migrationFailed"),s("fileBrowser.messages.migrationFailedDetails",{ruid:Ee}).replace(": ",""),s("fileBrowser.title"))}).catch(Bt=>{g(dt),d(ft.Success,s("fileBrowser.messages.migrationFailed"),s("fileBrowser.messages.migrationFailedDetails",{ruid:Ee})+Bt,s("fileBrowser.title"))})}catch(Tt){g(dt),d(ft.Success,s("fileBrowser.messages.migrationFailed"),s("fileBrowser.messages.migrationFailedDetails",{ruid:Ee})+Tt,s("fileBrowser.title"))}},Kee=async(Ee,we)=>{const dt=await(await fetch(Ee)).blob(),Tt=window.URL.createObjectURL(dt),Bt=document.createElement("a");Bt.href=Tt,Bt.download=we,document.body.appendChild(Bt),Bt.click(),document.body.removeChild(Bt),window.URL.revokeObjectURL(Tt)},Yee=Ee=>{var dt,Tt,Bt,rn;const we=encodeURI("/content"+E+"/"+Ee.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),Ve=((dt=Ee.tonieInfo)!=null&&dt.series?(Tt=Ee.tonieInfo)==null?void 0:Tt.series:"")+((Bt=Ee.tonieInfo)!=null&&Bt.episode?" - "+((rn=Ee.tonieInfo)==null?void 0:rn.episode):"");Dt(Tr=>({...Tr,[Ee.name]:!0})),Kee(we,Ve).finally(()=>{Dt(Tr=>({...Tr,[Ee.name]:!1}))})},Xee=Ee=>{z(Ee.target.value),h.current=Ee.target.selectionStart,H(!0)},Zee=()=>{z(""),h.current=0},Qee=()=>{H(!0)},Jee=()=>{H(!1)},ete=Ee=>D.includes(Ee.key)?"highlight-row":"",tte=Ee=>{O(Ee)},nte=Ee=>{Jt(!0);const we=Ee===".."?E.split("/").slice(0,-1).join("/"):`${E}/${Ee}`;a&&m(`?path=${we}`),H(!1),O([]),I(we)},u3=(Ee,we)=>we.reduce((Ve,dt)=>{if(Ve&&Ve[dt]!==void 0)return Ve[dt]},Ee),d3=(Ee,we,Ve)=>{const dt=Array.isArray(Ve)?u3(Ee,Ve):Ee[Ve],Tt=Array.isArray(Ve)?u3(we,Ve):we[Ve];return dt===void 0&&Tt===void 0?0:dt===void 0?1:Tt===void 0?-1:typeof dt=="string"&&typeof Tt=="string"?dt.localeCompare(Tt):typeof dt=="number"&&typeof Tt=="number"?dt-Tt:(console.log("Unsupported types for sorting:",Ee,we),console.log("Unsupported types for sorting field:",Ve,dt,Tt),0)},rte=(Ee,we)=>Ee.isDir===we.isDir?d3(Ee,we,"name"):Ee.isDir?-1:1,ate=Ee=>Ee>0&&Ee<=Wz;var oc=[{title:f.jsx("div",{style:{minHeight:32}}),dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(Ee,we)=>{var Ve,dt;return f.jsxs(f.Fragment,{children:[we&&((Ve=we.tonieInfo)!=null&&Ve.picture)?f.jsx(f.Fragment,{children:f.jsx("img",{src:we.tonieInfo.picture,alt:s("tonies.content.toniePicture"),onClick:()=>Vt(we),style:{width:100,cursor:!we.isDir&&((dt=we==null?void 0:we.tonieInfo)!=null&&dt.tracks)?"help":"default"}},`picture-${we.name}`)}):f.jsx(f.Fragment,{}),we.hide?f.jsx("div",{style:{textAlign:"center"},children:f.jsx(tm,{bordered:!1,color:"warning",children:s("fileBrowser.hidden")})}):""]})},showOnDirOnly:!1},{title:s("fileBrowser.name"),dataIndex:"name",key:"name",sorter:rte,defaultSortOrder:"ascend",render:(Ee,we)=>{var Ve,dt,Tt,Bt,rn;return we&&f.jsxs("div",{children:[f.jsxs("div",{className:"showSmallDevicesOnly",children:[f.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[f.jsxs("div",{style:{display:"flex"},children:[we.isDir?f.jsx(Pc,{style:{marginRight:8}}):"",f.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:we.isDir?f.jsx(f.Fragment,{children:we.name}):we.name})]}),!we.isDir&&we.size?" ("+yd(we.size)+")":""]}),f.jsx("div",{children:(Ve=we.tonieInfo)==null?void 0:Ve.model}),f.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:((dt=we.tonieInfo)!=null&&dt.series?(Tt=we.tonieInfo)==null?void 0:Tt.series:"")+((Bt=we.tonieInfo)!=null&&Bt.episode?" - "+((rn=we.tonieInfo)==null?void 0:rn.episode):"")}),f.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),f.jsxs("div",{className:"showMediumDevicesOnly",children:[f.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[f.jsxs("div",{style:{display:"flex"},children:[we.isDir?f.jsx(Pc,{style:{marginRight:8}}):"",f.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:we.isDir?f.jsx(f.Fragment,{children:we.name}):we.name})]}),!we.isDir&&we.size?" ("+yd(we.size)+")":""]}),f.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),f.jsx("div",{className:"showBigDevicesOnly",children:f.jsxs("div",{style:{display:"flex"},children:[we.isDir?f.jsx(Pc,{style:{marginRight:8}}):"",f.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:we.isDir?f.jsx(f.Fragment,{children:we.name}):we.name})]})})]},`name-${we.name}`)},filteredValue:[B],onFilter:(Ee,we)=>{var dt,Tt,Bt,rn;const Ve=Ee.toLowerCase();return we.name===".."||we.name.toLowerCase().includes(Ve)||!we.isDir&&"tafHeader"in we&&we.tafHeader.size&&yd(we.tafHeader.size).toString().includes(Ve)||"tafHeader"in we&&((dt=we.tafHeader.audioId)==null?void 0:dt.toString().includes(Ve))||"tonieInfo"in we&&((Tt=we.tonieInfo)==null?void 0:Tt.model.toLowerCase().includes(Ve))||"tonieInfo"in we&&((Bt=we.tonieInfo)==null?void 0:Bt.series.toLowerCase().includes(Ve))||"tonieInfo"in we&&((rn=we.tonieInfo)==null?void 0:rn.episode.toLowerCase().includes(Ve))},showOnDirOnly:!0},{title:s("fileBrowser.size"),dataIndex:"size",key:"size",render:(Ee,we)=>f.jsx("div",{children:we.isDir?"":yd(Ee)},`size-${we.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:s("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(Ee,we)=>{var Ve;return f.jsx("div",{children:(Ve=we.tonieInfo)==null?void 0:Ve.model},`model-${we.name}`)}},{title:f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"showMediumDevicesOnly",children:[s("fileBrowser.model"),"/",s("fileBrowser.series"),"/",s("fileBrowser.episode")]}),f.jsx("div",{className:"showBigDevicesOnly",children:s("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(Ee,we)=>{var Ve,dt,Tt,Bt,rn,Tr,jr;return f.jsxs("div",{children:[f.jsxs("div",{className:"showMediumDevicesOnly",children:[f.jsx("div",{children:(Ve=we.tonieInfo)==null?void 0:Ve.model}),f.jsx("div",{style:{wordBreak:"break-word"},children:((dt=we.tonieInfo)!=null&&dt.series?(Tt=we.tonieInfo)==null?void 0:Tt.series:"")+((Bt=we.tonieInfo)!=null&&Bt.episode?" - "+((rn=we.tonieInfo)==null?void 0:rn.episode):"")})]}),f.jsx("div",{className:"showBigDevicesOnly",children:(Tr=we.tonieInfo)!=null&&Tr.series?(jr=we.tonieInfo)==null?void 0:jr.series:""})]},`series-${we.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:s("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(Ee,we)=>{var Ve;return f.jsx("div",{children:(Ve=we.tonieInfo)==null?void 0:Ve.episode},`episode-${we.name}`)}},{title:s("fileBrowser.date"),dataIndex:"date",key:"date",render:(Ee,we)=>f.jsx("div",{children:new Date(Ee*1e3).toLocaleString()},`date-${we.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:f.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:s("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(Ee,we)=>{let Ve=[];return we.tafHeader?(Ve.push(f.jsx(Ft,{title:s("fileBrowser.playFile"),children:f.jsx(Oi,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>c(encodeURI("/content"+E+"/"+we.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),we.tonieInfo,{...we,audioUrl:encodeURI("/content"+E+"/"+we.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:"")})})},`action-play-${we.name}`)),Ve.push(yt[we.name]?f.jsx(nc,{style:{margin:"0 6px 0 0",padding:4},size:"small",indicator:f.jsx(uo,{style:{fontSize:16,color:u.colorText},spin:!0})}):f.jsx(Ft,{title:s("fileBrowser.downloadFile"),children:f.jsx(eh,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>Yee(we)})},`action-download-${we.name}`)),e!=="library"&&(Ve.push(f.jsx(Ft,{title:s("fileBrowser.migrateContentToLib"),children:f.jsx(hY,{onClick:()=>c3(E.replace("/","")+we.name,!1,r),style:{margin:"4px 8px 4px 0",padding:4}})},`action-migrate-${we.name}`)),Ve.push(f.jsx(Ft,{title:s("fileBrowser.migrateContentToLibRoot"),children:f.jsx(RY,{onClick:()=>c3(E.replace("/","")+we.name,!0,r),style:{margin:"4px 8px 4px 0",padding:4}})},`action-migrate-root-${we.name}`)))):Yu.some(dt=>we.name.endsWith(dt))&&Ve.push(f.jsx(Ft,{title:s("fileBrowser.playFile"),children:f.jsx(Oi,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>c(encodeURI("/content"+E+"/"+we.name)+"?special="+e+(r?`&overlay=${r}`:""),we.tonieInfo)})},`action-play-${we.name}`)),n&&we.name.includes(".tap")&&(Ve.push(f.jsx(Ft,{title:s("fileBrowser.tap.edit"),children:f.jsx(Ul,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>Xt(E+"/"+we.name)})},`action-edit-${we.name}`)),Ve.push(f.jsx(Ft,{title:s("fileBrowser.tap.copy"),children:f.jsx(fx,{style:{margin:"4px 8px 4px 0",padding:4}})},`action-copy-${we.name}`))),we.tafHeader&&Ve.push(f.jsx(Ft,{title:s("fileBrowser.tafMeta.edit"),children:f.jsx(Ul,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>St()})},`action-edit-${we.name}`)),e==="library"&&(!we.isDir&&we.name!==".."&&Ve.push(f.jsx(Ft,{title:s("fileBrowser.rename"),children:f.jsx(bY,{onClick:()=>Eee(we.name),style:{margin:"4px 8px 4px 0",padding:4}})},`action-rename-${we.name}`)),!we.isDir&&we.name!==".."&&Ve.push(f.jsx(Ft,{title:s("fileBrowser.move"),children:f.jsx(S0,{onClick:()=>yr(we.name),style:{margin:"4px 8px 4px 0",padding:4}})},`action-move-${we.name}`))),we.name!==".."&&Ve.push(f.jsx(Ft,{title:s("fileBrowser.delete"),children:f.jsx(Hl,{onClick:()=>un(we.name,E+"/"+we.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"4px 8px 4px 0",padding:4}})},`action-delete-${we.name}`)),Ve},showOnDirOnly:!1}];oc.forEach(Ee=>{Ee.hasOwnProperty("sorter")||(Ee.sorter=(we,Ve)=>d3(we,Ve,Ee.dataIndex))}),i&&(oc=oc.filter(Ee=>Ee.showOnDirOnly)),o&&(oc=oc.filter(Ee=>typeof Ee.key=="string"?o.includes(Ee.key):!1));const ite=jt?"":f.jsx(Qr,{image:Qr.PRESENTED_IMAGE_SIMPLE});return f.jsxs(f.Fragment,{children:[f.jsx(uf,{title:s("fileBrowser.confirmDeleteModal"),open:De,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmDeleteDialog",{fileToDelete:re}),handleOk:sr,handleCancel:Hn}),f.jsx(uf,{title:s("fileBrowser.confirmDeleteModal"),open:lt,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmMultipleDeleteDialog"),handleOk:xa,handleCancel:Hn}),zn,Lr,Qt,qee,Ru,$ee,Hee,hn&&f.jsx(iZe,{isHelpModalOpen:hn,onClose:()=>gn(!1)}),ee?f.jsx(Ix,{open:K,tonieCardOrTAFRecord:{...ee,audioUrl:W},onClose:()=>Y(!1),overlay:r}):"",f.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[f.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8,width:"100%",justifyContent:"space-between"},children:[f.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[f.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:s("tonies.currentPath")}),or(E,Dr)]}),f.jsxs("div",{style:{alignSelf:"flex-end"},children:["(",T.filter(Ee=>Ee.name!="..").length,")"]})]}),f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%",marginBottom:8,minHeight:32},children:[e==="library"?f.jsx("div",{style:{width:"100%"},children:f.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8,minHeight:32},children:[D.length>0?f.jsxs(f.Fragment,{children:[e==="library"&&T.filter(Ee=>D.includes(Ee.name)&&!Ee.isDir).length>0?f.jsx(Ft,{title:s("fileBrowser.moveMultiple",{selectedRowCount:D.length}),children:f.jsx(tt,{size:"small",icon:f.jsx(S0,{}),onClick:()=>yr(""),disabled:D.length===0,children:f.jsxs("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:[" ",s("fileBrowser.move")]})})},"moveMultiple"):"",f.jsx(Ft,{title:s("fileBrowser.deleteMultiple",{selectedRowCount:D.length}),children:f.jsx(tt,{size:"small",icon:f.jsx(Hl,{}),onClick:Ir,disabled:D.length===0,children:f.jsxs("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:[" ",s("fileBrowser.delete")]})})},"deleteMultiple"),ate(T.filter(Ee=>D.includes(Ee.name)&&Yu.some(we=>Ee.name.toLowerCase().endsWith(we))).length)&&e==="library"?f.jsx(Ft,{title:s("fileBrowser.encodeFiles.encodeFiles",{selectedRowCount:D.length})+Yu.join(", "),children:f.jsx(tt,{size:"small",icon:f.jsx(x0,{}),onClick:Dee,disabled:D.length===0,children:f.jsxs("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:[" ",s("fileBrowser.encodeFiles.encode")]})})},"encodeFiles"):""]}):f.jsx(f.Fragment,{}),f.jsx(tt,{icon:f.jsx(cb,{}),size:"small",onClick:Sa,children:f.jsx("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:s("fileBrowser.createDirectory.createDirectory")})}),f.jsx(tt,{icon:f.jsx(_Y,{}),size:"small",onClick:Uee,children:f.jsx("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:s("fileBrowser.upload.showUploadFilesDragNDrop")})})]})}):f.jsx("div",{}),f.jsx("div",{children:f.jsx(tt,{size:"small",icon:f.jsx(Jg,{}),onClick:()=>gn(!0),style:{marginLeft:8},children:s("fileBrowser.help.showHelp")})})]})]}),f.jsxs("div",{className:"test",style:{position:"relative"},ref:Nn,children:[jt?f.jsx(BZ,{parentRef:Nn}):"",f.jsx(Ea,{dataSource:T,columns:oc,rowKey:Ee=>Ee.name,pagination:!1,onRow:Ee=>({onDoubleClick:()=>{Ee.isDir?nte(Ee.name):Ee.name.includes(".json")||Ee.name.includes(".tap")?on(E+"/"+Ee.name):Ee.tafHeader&&Cr(Ee.name,Ee.tafHeader)},style:{cursor:Ee.isDir?"context-menu":"unset"}}),rowClassName:ete,rowSelection:{columnTitle:Ee=>f.jsxs(Nwe,{gap:"small",children:[Ee,D.length>0&&f.jsxs(f.Fragment,{children:["(",D.length,")"]})]}),selectedRowKeys:D,onChange:tte,getCheckboxProps:Ee=>({disabled:Ee.name===".."}),onSelectAll:(Ee,we)=>{const Ve=Ee?we.filter(dt=>dt.name!=="..").map(dt=>dt.name):[];O(Ve)}},components:{header:{wrapper:Ee=>f.jsx("thead",{...Ee}),row:Ee=>f.jsxs(f.Fragment,{children:[f.jsx("tr",{...Ee}),f.jsx("tr",{children:f.jsx("th",{style:{padding:"10px 8px"},colSpan:oc.length+1,children:f.jsx(tn,{placeholder:s("fileBrowser.filter"),value:B,onChange:Xee,onFocus:Qee,onBlur:Jee,ref:v,style:{width:"100%"},autoFocus:U,addonAfter:f.jsx(va,{onClick:Zee,disabled:B.length===0,style:{color:B.length===0?u.colorTextDisabled:u.colorText,cursor:B.length===0?"default":"pointer"}})})})})]}),cell:Ee=>f.jsx("th",{...Ee,style:{position:"sticky",top:0,zIndex:8}})}},locale:{emptyText:ite}})]}),f.jsx(wee,{open:ce,initialValuesJson:Z?JSON.stringify(Z,null,2):void 0,onCreate:gt,onCancel:()=>{pe(!1)}},te)]})},OT=new Mn(On()),i3=e=>{const[t,n]=l.useState([]),[r,a]=l.useState(()=>{if(e!==void 0){if(e!==null)return localStorage.setItem("contentOverlay",e),e;{const o=localStorage.getItem("contentOverlay");return o||""}}else{const o=localStorage.getItem("contentOverlay");return o||""}});return l.useEffect(()=>{(async()=>{const s=await OT.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async m=>[await OT.apiGetTonieboxContentDir(m.ID),m.boxName,m.ID]))).reduce((m,[h,b,y])=>{const S=m.findIndex(v=>v[0]===h);return S!==-1?(m[S][1].push(b),r===y&&a(m[S][2])):m.push([h,[b],y]),m},[]),d=await OT.apiGetTonieboxContentDir("");u.findIndex(m=>m[0]===d)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const g=u.map(([m,h,b])=>[m,h,b]);if(r===""||r===null||r===void 0){const m=g.length>0?g[0][2]:"";a(m),localStorage.setItem("contentOverlay",m)}n(g)})()},[]),{tonieBoxContentDirs:t,overlay:r,handleContentOverlayChange:o=>{a(o),localStorage.setItem("contentOverlay",o)}}},{Option:sZe}=dr,lZe=()=>{const{t:e}=Nt(),t=go(),r=new URLSearchParams(t.search).get("overlay"),{tonieBoxContentDirs:a,overlay:i,handleContentOverlayChange:o}=i3(r);return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(bu,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",flexWrap:"wrap",gap:8,alignItems:"center",marginBottom:8},children:[f.jsx("h1",{children:e("tonies.content.title")}),a.length>1?f.jsx(dr,{id:"contentDirectorySelect",defaultValue:"",onChange:o,style:{maxWidth:"300px"},value:i,title:e("tonies.content.showToniesOfBoxes"),children:a.map(([s,c,u])=>f.jsx(sZe,{value:u,children:c.join(", ")},u))}):""]}),f.jsx(a3,{special:"",overlay:i})]})]})]})},{Text:cZe}=Sn,uZe=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:i,listeners:o,setNodeRef:s,transform:c,transition:u,isDragging:d}=See({id:n.uid}),{t:p}=Nt(),g={transform:hf.Transform.toString(c),transition:u,cursor:"move"};return f.jsx("div",{ref:s,style:g,className:d?"is-dragging":"",...i,...o,children:f.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[f.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:f.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),f.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[f.jsx("span",{className:"",children:n.name}),f.jsx("br",{}),f.jsx(cZe,{type:"secondary",children:yd(n.size?n.size:-1)})]}),f.jsx("span",{className:"ant-upload-list-item-actions picture",children:f.jsx(tt,{title:p("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:f.jsx(Hl,{})})})]})})};function dZe(e,t,n,r,a,i){const o=new FileReader;o.onload=async s=>{try{if(s.target==null)return;const c=s.target.result,u=new AudioContext,d=48e3,p=await u.decodeAudioData(c),g=new OfflineAudioContext({numberOfChannels:p.numberOfChannels,length:Math.round(p.length*d/p.sampleRate),sampleRate:d}),m=g.createBufferSource();m.buffer=p,m.connect(g.destination),m.start();const h=await g.startRendering(),b=h.numberOfChannels,y=new Float32Array(h.getChannelData(0)),S=b>1?new Float32Array(h.getChannelData(1)):new Float32Array(h.getChannelData(0)),v=new Int16Array(y.length+S.length);for(let x=0,w=0;x{t("Failed to read the file")},a.file&&o.readAsArrayBuffer(a.file)}const fZe=e=>Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),Mv=new Mn(On()),{useToken:pZe}=Ar,Xu={id:"1",pId:"-1",value:"1",title:"/"},gZe=()=>{const{t:e}=Nt(),{token:t}=pZe(),{addNotification:n,addLoadingNotification:r,closeLoadingNotification:a}=Qn(),[i,o]=l.useState(!1),[s,c]=l.useState([]),[u,d]=l.useState(!1),[p,g]=l.useState(!1),[m,h]=l.useState(""),[b,y]=l.useState(Xu.id),[S,v]=l.useState([Xu]),[x,w]=l.useState(!1),[C,E]=l.useState(""),[I,T]=l.useState(!1),[_,R]=l.useState(!1),$=l.useRef(null);let M=0;l.useEffect(()=>{(async()=>{const q=new Mn(On());let Z=!1;try{const Q=await q.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!Q.ok)throw new Error(`HTTP error! status: ${Q.status}`);Z=(await Q.json()).toString()==="true"}catch(Q){console.error("Error fetching debug.web.pcm_encode_console_url: ",Q)}o(Z)})(),(async()=>{const q=j(Xu.id);Mv.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${q}&special=library`).then(Z=>Z.json()).then(Z=>{var Q=Z.files;Q=Q.filter(J=>J.isDir&&J.name!=="..").sort((J,le)=>J.name===le.name?0:J.name.toLowerCase()>le.name.toLowerCase()?1:-1).map(J=>({id:Xu.id+"."+Q.indexOf(J),pId:Xu.id,value:Xu.id+"."+Q.indexOf(J),title:J.name})),v(S.concat(Q))})})()},[]),l.useEffect(()=>{x&&setTimeout(()=>{$.current&&$.current.focus()},0)},[x]),l.useEffect(()=>{M=s.length},[s]);const P=eee(Zx,{activationConstraint:{distance:10}}),D=({active:ae,over:W})=>{ae.id!==(W==null?void 0:W.id)&&c(q=>{const Z=q.findIndex(J=>J.uid===ae.id),Q=q.findIndex(J=>J.uid===(W==null?void 0:W.id));return eS(q,Z,Q)})},O=({fileList:ae})=>{M++,M>yv&&n(ft.Error,e("tonies.encoder.tooManyFilesError"),e("tonies.encoder.maxFiles",{maxFiles:yv}),e("tonies.title"));const W=ae.slice(0,yv);if(W.length===1&&m===""){const Z=W[0].name.replace(/\.[^/.]+$/,"");h(Z)}c(W)},k=ae=>{const W=s.indexOf(ae),q=s.slice();q.splice(W,1),c(q)},N=async()=>{d(!0);const ae=new FormData,W="encoding-"+m+".taf";r(W,e("tonies.encoder.uploading"),e("tonies.encoder.uploading"));for(const J of s){r(W,e("tonies.encoder.uploading"),e("tonies.encoder.uploadingDetails",{file:J.name}));try{await new Promise((le,ce)=>dZe(le,ce,ae,s,J,i))}catch(le){n(ft.Error,e("tonies.encoder.processingError"),e("tonies.encoder.errorFileProcessing")+le,e("tonies.title")),a(W),d(!1);return}}const q=Math.floor(Date.now()/1e3),Z={name:m+".taf",audioId:q-1342177280,path:j(b),special:"library"};g(!0);const Q=fZe(Z);try{r(W,e("tonies.encoder.processing"),e("tonies.encoder.processingDetails",{file:m+".taf"}));const J=await Mv.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${Q}`,ae);a(W),J.ok?(n(ft.Success,e("tonies.encoder.uploadSuccessful"),e("tonies.encoder.uploadSuccessfulDetails",{file:m+".taf"}),e("tonies.title")),c([]),h("")):n(ft.Error,e("tonies.encoder.uploadFailed"),e("tonies.encoder.uploadFailedDetails")+J.statusText,e("tonies.title")),g(!1),d(!1)}catch(J){a(W),n(ft.Error,e("tonies.encoder.uploadFailed"),e("tonies.encoder.uploadFailedDetails")+J,e("tonies.title")),g(!1),d(!1)}},A={listType:"picture",multiple:!0,beforeUpload:ae=>{const W=ae;return W.file=ae,s.push(W),c(s),!1},fileList:s,onChange:O,itemRender:(ae,W)=>f.jsx(uZe,{originNode:ae,fileList:s,file:W,onRemove:k,disabled:u})},L=({id:ae})=>new Promise((W,q)=>{const Z=j(ae);Mv.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${Z}&special=library`).then(Q=>Q.json()).then(Q=>{let J=Q.files;J=J.filter(le=>le.isDir&&le.name!=="..").sort((le,ce)=>le.name===ce.name?0:le.name.toLowerCase()>ce.name.toLowerCase()?1:-1).map(le=>({id:ae+"."+J.indexOf(le),pId:ae,value:ae+"."+J.indexOf(le),title:le.name})),v(S.concat(J)),W(!0)}).then(()=>{q()})}),j=ae=>{const W=S.filter(q=>q.value===ae)[0];return W.pId==="-1"?"":j(S.filter(q=>q.id===W.pId)[0].id)+"/"+W.title},F=()=>{c(ae=>[...ae].sort((W,q)=>W.name.localeCompare(q.name)))},B=()=>{c([])},z=()=>{w(!0)},U=ae=>{R(!wd(ae.target.value.toString())),E(ae.target.value)},H=()=>{const ae=j(b),W=`${b}.${S.length}`,q={id:W,pId:b,value:W,title:C};try{Mv.apiPostTeddyCloudRaw("/api/dirCreate?special=library",ae+"/"+C).then(Z=>Z.text()).then(Z=>{if(Z!=="OK")throw new Error(Z);v([...S,q].sort((Q,J)=>Q.title===J.title?0:Q.title.toLowerCase()>J.title.toLowerCase()?1:-1)),y(W),n(ft.Success,e("fileBrowser.createDirectory.directoryCreated"),e("fileBrowser.createDirectory.directoryCreatedDetails",{directory:ae+"/"+C}),e("fileBrowser.title")),w(!1),E("")}).catch(Z=>{n(ft.Error,e("fileBrowser.createDirectory.directoryCreateFailed"),e("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:ae+"/"+C})+Z,e("fileBrowser.title"))})}catch(Z){n(ft.Error,e("fileBrowser.createDirectory.directoryCreateFailed"),e("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:ae+"/"+C})+Z,e("fileBrowser.title"))}},K=()=>{w(!1),E(""),R(!1)},Y=f.jsxs(_n,{title:e("fileBrowser.createDirectory.modalTitle"),open:x,onCancel:K,onOk:H,okText:e("fileBrowser.createDirectory.create"),cancelText:e("fileBrowser.createDirectory.cancel"),okButtonProps:{disabled:_},children:[f.jsxs("p",{children:[e("fileBrowser.createDirectory.inDirectory")," ",f.jsxs("b",{children:[j(b),"/"]})]}),f.jsx(Kt.Item,{validateStatus:_?"error":"",help:_?e("inputValidator.invalidCharactersDetected",{invalidChar:mg}):"",required:!0,children:f.jsx(tn,{ref:$,autoFocus:!0,placeholder:e("fileBrowser.createDirectory.placeholder"),value:C,status:_?"error":"",onChange:U})})]}),ee=ae=>{const W=ae.target.value;T(!wd(W)),h(W)};return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(bu,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonies.encoder.title")}),f.jsxs(qa,{direction:"vertical",style:{display:"flex"},children:[f.jsx(gee,{sensors:[P],onDragEnd:D,children:f.jsx(yee,{items:s.map(ae=>ae.uid),strategy:hee,disabled:u,children:f.jsxs(rf.Dragger,{...A,disabled:u,children:[f.jsx("p",{className:"ant-upload-drag-icon",children:f.jsx(wk,{})}),f.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:yv})}),f.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),s.length>0?f.jsxs(f.Fragment,{children:[f.jsxs(qa,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start",flexWrap:"wrap"},children:[f.jsx(tt,{type:"default",disabled:u,onClick:F,children:e("tonies.encoder.sortAlphabetically")}),f.jsx(tt,{type:"default",disabled:u,style:{marginRight:16},onClick:B,children:e("tonies.encoder.clearList")})]}),f.jsx(Gn,{}),f.jsx("div",{style:{width:"100%"},className:"encoder",children:f.jsxs(qa,{direction:"vertical",style:{width:"100%"},children:[f.jsxs(qa.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[f.jsx(tn,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),f.jsx(rc,{treeLine:!0,treeDataSimpleMode:!0,disabled:u,style:{maxWidth:250},value:b,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:y,loadData:L,treeData:S}),f.jsx(Ft,{title:e("fileBrowser.createDirectory.createDirectory"),children:f.jsx(tt,{disabled:u,icon:f.jsx(cb,{}),onClick:z,style:{borderRadius:0}})}),f.jsx(tn,{addonAfter:".taf",required:!0,defaultValue:m,style:{maxWidth:300},status:s.length>0&&m===""||I?"error":"",onChange:ee,disabled:u})]}),I?f.jsx("div",{style:{textAlign:"end",color:t.colorErrorText},children:e("inputValidator.invalidCharactersDetected",{invalidChar:mg})}):"",f.jsx(qa.Compact,{style:{display:"flex",justifyContent:"flex-end",marginTop:"8px"},children:f.jsx(tt,{type:"primary",onClick:N,disabled:s.length===0||m===""||I,loading:u,children:e(u?p?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):f.jsx(f.Fragment,{})]})]})]}),Y]})},mZe=()=>{const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(bu,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonies.library.title")}),f.jsx(a3,{special:"library"})]})]})]})},hZe=new Mn(On()),{Option:vZe}=dr,bZe=()=>{const{t:e}=Nt(),{addNotification:t}=Qn(),n=go(),a=new URLSearchParams(n.search).get("overlay"),{tonieBoxContentDirs:i,overlay:o,handleContentOverlayChange:s}=i3(a),[c,u]=l.useState([]),[d,p]=l.useState(!0);return l.useEffect(()=>{(async()=>{p(!0);try{const m=await hZe.apiGetTagIndex(o||"");u(m.sort((h,b)=>h.tonieInfo.seriesb.tonieInfo.series?1:h.tonieInfo.episodeb.tonieInfo.episode?1:0))}catch(m){t(ft.Error,e("tonies.errorFetchingSystemSounds"),e("tonies.errorFetchingSystemSounds")+": "+m,e("tonies.navigationTitle"))}finally{p(!1)}})()},[o]),f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(bu,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",flexWrap:"wrap",gap:8,alignItems:"center",marginBottom:8},children:[f.jsx("h1",{children:e("tonies.system-sounds.title")}),i.length>1?f.jsx(dr,{id:"contentDirectorySelect",defaultValue:"",onChange:s,style:{maxWidth:"300px"},value:o,title:e("tonies.content.showToniesOfBoxes"),children:i.map(([g,m,h])=>f.jsx(vZe,{value:h,children:m.join(", ")},h))}):""]}),d?f.jsx(yu,{}):f.jsx(wA,{showFilter:!1,showPagination:!0,tonieCards:c.filter(g=>g.type==="system"),overlay:o,readOnly:!1})]})]})]})},{Paragraph:yZe}=Sn,xZe=()=>{const{t:e}=Nt(),[t,n]=l.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(bu,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("tonies.tap.title")}),f.jsx(wn,{message:e("settings.information"),description:f.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),f.jsx(a3,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),f.jsx(yZe,{children:f.jsxs("div",{children:[f.jsx(tt,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),f.jsx(wee,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},SZe=new Mn(On()),{Option:wZe}=dr,CZe=()=>{const{t:e}=Nt(),{addNotification:t}=Qn(),n=go(),a=new URLSearchParams(n.search).get("overlay"),{tonieBoxContentDirs:i,overlay:o,handleContentOverlayChange:s}=i3(a),[c,u]=l.useState([]),[d,p]=l.useState(""),[g,m]=l.useState(!0),h=b=>{u(y=>y.map(S=>S.ruid===b.ruid?b:S))};return l.useEffect(()=>{(async()=>{m(!0);try{const y=(await SZe.apiGetTagIndex(o||"",!0)).filter(S=>!S.hide);u(y.sort((S,v)=>S.tonieInfo.seriesv.tonieInfo.series?1:S.tonieInfo.episodev.tonieInfo.episode?1:0))}catch(y){t(ft.Error,e("tonies.errorFetchingTonies"),e("tonies.errorFetchingTonies")+": "+y,e("tonies.navigationTitle")),console.log("error: fetching tonies failed: "+y)}finally{m(!1)}})()},[o]),l.useEffect(()=>{const b={};c.forEach(v=>{const x=v.tonieInfo.language;b[x]?b[x]++:b[x]=1});let y=0,S="";for(const v in b)b.hasOwnProperty(v)&&b[v]>y&&(y=b[v],S=v);p(S)},[c]),f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(bu,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",flexWrap:"wrap",gap:8,alignItems:"center",marginBottom:8},children:[f.jsx("h1",{style:{width:"200px"},children:e("tonies.title")}),i.length>1?f.jsx(Ft,{title:e("tonies.content.showToniesOfBoxes"),children:f.jsx(dr,{id:"contentDirectorySelect",defaultValue:"",onChange:s,style:{maxWidth:"300px"},value:o,children:i.map(([b,y,S])=>f.jsx(wZe,{value:S,children:y.join(", ")},S))})}):""]}),g?f.jsx(yu,{}):f.jsx(wA,{showFilter:!0,showPagination:!0,tonieCards:c.filter(b=>b.type==="tag"),overlay:o,readOnly:!1,defaultLanguage:d,onToniesCardUpdate:h})]})]})]})},{Option:gc}=dr,{Paragraph:Sp}=Sn,{useToken:EZe}=Ar,IZe=()=>{const{t:e}=Nt(),{token:t}=EZe(),{notifications:n,confirmNotification:r,clearAllNotifications:a,removeNotifications:i}=Qn(),[o,s]=l.useState(n),[c,u]=l.useState(!1),[d,p]=l.useState(!1),[g,m]=l.useState([]),[h,b]=l.useState(20),[y,S]=l.useState(1),[v,x]=l.useState(!0),[w,C]=l.useState([null,null]),[E,I]=l.useState(""),[T,_]=l.useState(""),[R,$]=l.useState([]),[M,P]=l.useState([]),[D,O]=l.useState([]);l.useEffect(()=>{const H=n.filter(K=>{const Y=(!w[0]||K.date>=w[0])&&(!w[1]||K.date<=w[1]),ee=K.title.toLowerCase().includes(E.toLowerCase()),ae=K.description.toLowerCase().includes(T.toLowerCase()),W=R.length===0||R.includes(K.type),q=M.length===0||M.includes(K.context),Z=D.length===0||D.includes(K.flagConfirmed?"Confirmed":"Unconfirmed");return Y&&ee&&ae&&W&&q&&Z});s(H)},[n,w,E,T,R,M,D]),l.useEffect(()=>{const H=()=>{p(window.innerWidth<1024),u(window.innerWidth<768)};return H(),window.addEventListener("resize",H),()=>{window.removeEventListener("resize",H)}},[]);const k={success:f.jsx(Ef,{style:{color:t.colorSuccess}}),error:f.jsx(Ql,{style:{color:t.colorError}}),info:f.jsx(Iy,{style:{color:t.colorInfo}}),warning:f.jsx($m,{style:{color:t.colorWarning}})},N=Array.from(new Set(n.map(H=>H.context))).filter(Boolean),A=[{title:e("settings.notifications.colType"),dataIndex:"type",key:"type",render:H=>f.jsxs("div",{style:{display:"flex",gap:8},children:[c?"":k[H],H.charAt(0).toUpperCase()+H.slice(1)]}),sorter:(H,K)=>H.type.localeCompare(K.type),ellipsis:!0},{title:e("settings.notifications.colTitle"),dataIndex:"title",key:"title",sorter:(H,K)=>{const Y=H.title||"",ee=K.title||"";return Y.localeCompare(ee)}},{title:e("settings.notifications.colDetails"),dataIndex:"description",key:"description",sorter:(H,K)=>{const Y=H.description||"",ee=K.description||"";return Y.localeCompare(ee)},responsive:["lg"]},{title:e("settings.notifications.colContext"),dataIndex:"context",key:"context",sorter:(H,K)=>{const Y=H.context||"",ee=K.context||"";return Y.localeCompare(ee)},width:90,onCell:()=>({style:{maxWidth:90}}),ellipsis:!0,responsive:["lg"]},{title:e("settings.notifications.colDate"),dataIndex:"date",key:"date",render:H=>H instanceof Date?c?H.toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(",",""):H.toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(",",""):"",sorter:(H,K)=>{const Y=new Date(H.date),ee=new Date(K.date);return Y.getTime()-ee.getTime()},ellipsis:!0},{title:e("settings.notifications.colStatus"),dataIndex:"flagConfirmed",key:"flagConfirmed",render:(H,K)=>f.jsx("div",{style:{cursor:"pointer"},onClick:Y=>{Y.stopPropagation(),K.flagConfirmed||r(K.uuid)},children:K.flagConfirmed?e("settings.notifications.confirmed"):f.jsx(Ft,{title:e("settings.notifications.clickToConfirm"),children:e("settings.notifications.unconfirmed")})}),sorter:(H,K)=>Number(H.flagConfirmed)-Number(K.flagConfirmed),responsive:["sm"]}],j={selectedRowKeys:g,onChange:H=>{console.log("selectedRowKeys changed: ",H),m(H)}},F=f.jsxs("div",{style:{marginBottom:16,display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(250px, 1fr))",gap:16,alignItems:"start"},children:[f.jsxs(dr,{mode:"multiple",placeholder:e("settings.notifications.filterBy")+" "+e("settings.notifications.colType"),onChange:$,children:[f.jsx(gc,{value:"success",children:e("settings.notifications.success")}),f.jsx(gc,{value:"info",children:e("settings.notifications.info")}),f.jsx(gc,{value:"warning",children:e("settings.notifications.warning")}),f.jsx(gc,{value:"error",children:e("settings.notifications.error")})]}),f.jsx(dr,{mode:"multiple",placeholder:e("settings.notifications.filterBy")+" "+e("settings.notifications.colContext"),onChange:P,children:N.map(H=>f.jsx(gc,{value:H,children:H},H))}),f.jsxs(dr,{mode:"multiple",placeholder:e("settings.notifications.filterBy")+" "+e("settings.notifications.colStatus"),onChange:O,children:[f.jsx(gc,{value:"Confirmed",children:e("settings.notifications.confirmed")}),f.jsx(gc,{value:"Unconfirmed",children:e("settings.notifications.unconfirmed")})]}),f.jsx(Df.RangePicker,{onChange:H=>{C(H&&H[0]&&H[1]?[H[0].toDate(),H[1].toDate()]:[null,null])},placeholder:[e("settings.notifications.startDate"),e("settings.notifications.endDate")]}),f.jsx(tn,{placeholder:e("settings.notifications.searchIn")+" "+e("settings.notifications.colTitle"),onChange:H=>I(H.target.value)}),f.jsx(tn,{placeholder:e("settings.notifications.searchIn")+" "+e("settings.notifications.colDetails"),onChange:H=>_(H.target.value)})]}),B=[{key:"search-filter",label:e(v?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:F}],z=()=>{g.forEach(H=>{const K=String(H);r(K),m([])})},U=()=>{const H=g.map(K=>String(K));i(H)};return f.jsxs("div",{children:[f.jsx("h2",{children:e("settings.notifications.title")}),f.jsx(Sp,{style:{width:"100%",marginBottom:16},children:f.jsx(Ls,{items:B,defaultActiveKey:v?[]:["search-filter"],onChange:()=>x(!v),bordered:!1,style:{width:"100%"}})}),f.jsxs(Sp,{style:{display:"flex",gap:8,justifyContent:"space-between"},children:[g.length>0?f.jsxs(Sp,{style:{display:"flex",gap:8},children:[f.jsx(tt,{onClick:U,children:e("settings.notifications.removeSelectedNotifications")}),f.jsx(tt,{onClick:z,children:e("settings.notifications.confirmSelectedNotifications")})," "]}):f.jsx(Sp,{}),f.jsx(Sp,{children:f.jsx(tt,{onClick:a,children:e("settings.notifications.removeAll")})})]}),f.jsx(Ea,{tableLayout:"auto",size:"small",rowSelection:j,dataSource:o.map(H=>({uuid:H.uuid,type:H.type,title:H.title,description:H.description,context:H.context,date:H.date,flagConfirmed:H.flagConfirmed})),columns:A,pagination:{current:y,pageSize:h,showSizeChanger:!0,pageSizeOptions:[10,20,30,50],onChange:(H,K)=>{S(H),b(K)},locale:{items_per_page:e("settings.notifications.pageSelector")}},sticky:{offsetHeader:0},rowKey:"uuid",expandable:d?{expandedRowRender:H=>f.jsxs("div",{children:[f.jsxs("strong",{children:[e("settings.notifications.colDetails"),":"]})," ",H.description,H.context?f.jsxs("div",{children:[f.jsx("br",{}),f.jsxs("strong",{children:[e("settings.notifications.colContext"),":"]})," ",H.context," "]}):null,f.jsx("br",{}),c?f.jsxs("div",{children:[f.jsxs("strong",{children:[e("settings.notifications.colStatus"),":"]})," ",H.flagConfirmed?e("settings.notifications.confirmed"):f.jsx(Ft,{title:e("settings.notifications.clickToConfirm"),children:e("settings.notifications.unconfirmed")})]}):null]}),rowExpandable:H=>H.description!==void 0}:void 0})]})},TZe=()=>{const{t:e}=Nt();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(sh,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("settings.notifications.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("settings.notifications.title")}),f.jsx(IZe,{})]})]})]})},{Paragraph:rl}=Sn,{useToken:RZe}=Ar,_Ze=()=>{const{t:e}=Nt(),{token:t}=RZe();return f.jsxs(f.Fragment,{children:[f.jsx(jn,{children:f.jsx(Ks,{})}),f.jsxs(Fn,{children:[f.jsx(Bn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.supportRequestGuide.navigationTitle")}]}),f.jsxs(Pn,{children:[f.jsx("h1",{children:e("community.supportRequestGuide.title")}),f.jsx(rl,{children:e("community.supportRequestGuide.intro")}),f.jsx(Gn,{}),f.jsx("h2",{children:e("community.supportRequestGuide.step1.title")}),f.jsx(rl,{children:e("community.supportRequestGuide.step1.content")}),f.jsx(Gn,{}),f.jsx("h2",{children:e("community.supportRequestGuide.step2.title")}),f.jsx(rl,{children:e("community.supportRequestGuide.step2.intro")}),f.jsx("ul",{children:e("community.supportRequestGuide.step2.list",{returnObjects:!0}).map((n,r)=>f.jsx("li",{children:n},r))}),f.jsx(Gn,{}),f.jsx("h2",{children:e("community.supportRequestGuide.step3.title")}),f.jsx("ul",{children:e("community.supportRequestGuide.step3.list",{returnObjects:!0}).map((n,r)=>f.jsx("li",{children:n},r))}),f.jsx(Gn,{}),f.jsx("h2",{children:e("community.supportRequestGuide.step4.title")}),f.jsx(rl,{children:e("community.supportRequestGuide.step4.intro")}),f.jsxs("ul",{children:[f.jsxs("li",{children:[e("community.supportRequestGuide.step4.listFirstEntry"),f.jsx(mn,{language:"shell",code:"docker logs -f teddycloud > teddycloud_logs.txt"})]}),e("community.supportRequestGuide.step4.list",{returnObjects:!0}).map((n,r)=>f.jsx("li",{children:n},r))]}),f.jsx(Gn,{}),f.jsx("h2",{children:e("community.supportRequestGuide.step5.title")}),f.jsx(rl,{children:e("community.supportRequestGuide.step5.content")}),f.jsx(Gn,{}),f.jsx("h2",{children:e("community.supportRequestGuide.step6.title")}),f.jsx(rl,{children:e("community.supportRequestGuide.step6.content")}),f.jsx(Gn,{}),f.jsx("h3",{children:e("community.supportRequestGuide.example.title")}),f.jsx(rl,{children:e("community.supportRequestGuide.example.description")}),f.jsx("blockquote",{style:{borderLeft:"2px solid",borderLeftColor:t.colorBorder,paddingLeft:16,color:t.colorTextSecondary},children:f.jsx("span",{dangerouslySetInnerHTML:{__html:e("community.supportRequestGuide.example.details")}})}),f.jsx(Gn,{}),f.jsx(rl,{children:e("community.supportRequestGuide.closing")})]})]})]})};function $Ze(){const{defaultAlgorithm:e,darkAlgorithm:t}=Ar,n=u=>{const d=document.querySelector('meta[name="theme-color"]');d&&d.setAttribute("content",u),document.body.style.backgroundColor=u},[r,a]=l.useState(()=>localStorage.getItem("theme")||"auto"),[i,o]=l.useState(Ns()==="dark"),s=()=>{a(u=>u==="dark"?"light":u==="light"?"auto":"dark")};l.useEffect(()=>{localStorage.setItem("theme",r),o(Ns()==="dark"),Ns()==="dark"?n("#000000"):n("#f5f5f5")},[r]);let c;return r==="dark"?c=f.jsx(YTe,{onClick:s}):r==="light"?c=f.jsx(VRe,{onClick:s}):c=f.jsx(U2e,{onClick:s}),f.jsx(zo,{theme:{algorithm:i?t:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:f.jsx(G3e,{children:f.jsx("div",{className:"App",children:f.jsx(zs,{style:{minHeight:"100vh"},children:f.jsxs(Hie,{basename:"/web",children:[f.jsx(WBe,{themeSwitch:c}),f.jsxs(wAe,{children:[f.jsx(zs,{children:f.jsxs(Mie,{children:[f.jsx(kn,{path:"/",element:f.jsx(I5e,{})}),f.jsx(kn,{path:"/home/stats",element:f.jsx(R5e,{})}),f.jsx(kn,{path:"/home/features",element:f.jsx(d5e,{})}),f.jsx(kn,{path:"/home/toniemeeting",element:f.jsx($5e,{})}),f.jsx(kn,{path:"/tonies",element:f.jsx(CZe,{})}),f.jsx(kn,{path:"/tonies/system-sounds",element:f.jsx(bZe,{})}),f.jsx(kn,{path:"/tonies/content",element:f.jsx(lZe,{})}),f.jsx(kn,{path:"/tonies/library",element:f.jsx(mZe,{})}),f.jsx(kn,{path:"/tonies/encoder",element:f.jsx(gZe,{})}),f.jsx(kn,{path:"/tonies/tap",element:f.jsx(xZe,{})}),f.jsx(kn,{path:"/tonieboxes",element:f.jsx(pUe,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup",element:f.jsx(hUe,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup/identifyboxversion",element:f.jsx(_Ue,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup/openboxguide",element:f.jsx(PUe,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup/boxversioninfo",element:f.jsx(vUe,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup/esp32/flashing",element:f.jsx(JGe,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup/esp32/legacy",element:f.jsx(nqe,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup/cc3200/flashing",element:f.jsx(KUe,{})}),f.jsx(kn,{path:"/tonieboxes/boxsetup/cc3235/flashing",element:f.jsx(aVe,{})}),f.jsx(kn,{path:"/settings",element:f.jsx(aUe,{})}),f.jsx(kn,{path:"/settings/certificates",element:f.jsx(iUe,{})}),f.jsx(kn,{path:"/settings/rtnl",element:f.jsx(N5e,{})}),f.jsx(kn,{path:"/settings/notifications",element:f.jsx(TZe,{})}),f.jsx(kn,{path:"/community",element:f.jsx(JBe,{})}),f.jsx(kn,{path:"/community/faq",element:f.jsx(i5e,{})}),f.jsx(kn,{path:"/community/supportrequestguide",element:f.jsx(_Ze,{})}),f.jsx(kn,{path:"/community/contribution",element:f.jsx(e5e,{})}),f.jsx(kn,{path:"/community/contribution/tonies-json",element:f.jsx(r5e,{})}),f.jsx(kn,{path:"/community/contribution/translations",element:f.jsx(u5e,{})}),f.jsx(kn,{path:"/community/contributors",element:f.jsx(a5e,{})}),f.jsx(kn,{path:"/community/changelog",element:f.jsx(QBe,{})}),f.jsx(kn,{path:"/*",element:f.jsx(ZBe,{})})]})}),f.jsx(aDe,{})]})]})})})})})}const OZe=NT.createRoot(document.getElementById("root"));OZe.render(f.jsx(de.StrictMode,{children:f.jsx($Ze,{})}))});export default NZe(); diff --git a/contrib/data/www/web/assets/index-Dljhv4sL.css b/contrib/data/www/web/assets/index-Dljhv4sL.css deleted file mode 100644 index ce81ba15..00000000 --- a/contrib/data/www/web/assets/index-Dljhv4sL.css +++ /dev/null @@ -1 +0,0 @@ -body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.ant-layout .ant-layout-sider-children{margin:0!important}.ant-select{width:-webkit-fill-available!important;width:-moz-available!important;width:stretch!important}.ant-menu.ant-menu-dark{background:#141414!important}.ant-list-header{border-block-end:none!important}.ant-menu.ant-menu-root.ant-menu-inline{border-inline-end:none!important}.ant-card-actions{background:transparent!important}.warning .ant-modal-content{border-top:8px solid orange}.sticky-footer .ant-modal-footer{position:sticky;bottom:0;padding:12px 24px;margin-bottom:0;z-index:10}.sticky-footer .ant-modal-content{padding:20px 24px 0}.ant-form-item .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):after{color:#ff4d4f!important;display:inline-block;margin-inline-end:4px;font-family:SimSun,sans-serif;line-height:1;content:"*";visibility:visible!important}.ant-select-dropdown img{height:64px!important;width:64px!important;object-fit:cover!important;display:block!important;margin:8px}.ant-table-cell{padding:8px!important}.ant-steps-item-active .ant-steps-item-title{font-weight:500}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ant-steps .ant-steps-item-process.ant-steps-item-in-progress .ant-steps-item-icon{position:relative;border-radius:50%;overflow:hidden}.ant-steps .ant-steps-item-process.ant-steps-item-in-progress .ant-steps-item-icon:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;border:2px solid transparent;border-top-color:#e6f4ff;animation:spin 1s linear infinite;transform-origin:center}.move-file .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.showBigDevicesOnly,.showMediumDevicesOnly{display:none}.showSmallDevicesOnly{display:block}.ant-table-cell img{margin:-7px!important;width:75px!important}@media (max-width: 767px){.ant-menu{background:transparent!important}}@media (min-width: 767px){.showSmallDevicesOnly{display:none}.ant-table-cell img{margin:unset!important;width:100px!important}}@media (min-width: 767px) and (max-width: 1199px){.showMediumDevicesOnly{display:block}}@media (min-width: 1200px){.showBigDevicesOnly{display:block}}.ant-list .ant-row>div,.ant-list .ant-row .ant-col:first-child{display:flex}.ant-list .ant-row .ant-list-item{flex:1 1 auto}.ant-list .ant-row .ant-list-item .ant-card{height:100%;display:flex;flex-direction:column}.ant-card-cover{height:100%;align-content:center} diff --git a/contrib/data/www/web/assets/index-wbliYVPL.js b/contrib/data/www/web/assets/index-wbliYVPL.js new file mode 100644 index 00000000..9d6976f9 --- /dev/null +++ b/contrib/data/www/web/assets/index-wbliYVPL.js @@ -0,0 +1,832 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/esp32-BCJodKc7.js","assets/rom-Caghk6Eh.js","assets/esp32c2-jHqgYmC_.js","assets/esp32c3-BDV5-qos.js","assets/esp32c6-88vftfBr.js","assets/esp32c61-Cez2MlRb.js","assets/esp32c5-Dz2aR_Ca.js","assets/esp32h2-CCJRrESJ.js","assets/esp32s3-JCQC1yhu.js","assets/esp32s2-CE9Cs3Z2.js","assets/esp8266-CRPT5jVB.js","assets/esp32p4-Dm_OZzC4.js"])))=>i.map(i=>d[i]); +var bQ=Object.defineProperty;var yQ=(e,t,n)=>t in e?bQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xQ=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var mo=(e,t,n)=>yQ(e,typeof t!="symbol"?t+"":t,n);var DGe=xQ((Zo,Jo)=>{function f$(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var Js=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function co(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var JS={exports:{}},Pp={},QS={exports:{}},Xn={};/** + * @license React + * react.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 cP;function SQ(){if(cP)return Xn;cP=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.iterator;function m(z){return z===null||typeof z!="object"?null:(z=g&&z[g]||z["@@iterator"],typeof z=="function"?z:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,x={};function b(z,W,q){this.props=z,this.context=W,this.refs=x,this.updater=q||h}b.prototype.isReactComponent={},b.prototype.setState=function(z,W){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,W,"setState")},b.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function C(){}C.prototype=b.prototype;function S(z,W,q){this.props=z,this.context=W,this.refs=x,this.updater=q||h}var w=S.prototype=new C;w.constructor=S,y(w,b.prototype),w.isPureReactComponent=!0;var I=Array.isArray,E=Object.prototype.hasOwnProperty,_={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function N(z,W,q){var K,G={},X=null,Z=null;if(W!=null)for(K in W.ref!==void 0&&(Z=W.ref),W.key!==void 0&&(X=""+W.key),W)E.call(W,K)&&!R.hasOwnProperty(K)&&(G[K]=W[K]);var J=arguments.length-2;if(J===1)G.children=q;else if(1>>1,W=L[z];if(0>>1;za(G,U))Xa(Z,G)?(L[z]=Z,L[X]=U,z=X):(L[z]=G,L[K]=U,z=K);else if(Xa(Z,U))L[z]=Z,L[X]=U,z=X;else break e}}return H}function a(L,H){var U=L.sortIndex-H.sortIndex;return U!==0?U:L.id-H.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var c=[],u=[],f=1,g=null,m=3,h=!1,y=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(L){for(var H=n(u);H!==null;){if(H.callback===null)r(u);else if(H.startTime<=L)r(u),H.sortIndex=H.expirationTime,t(c,H);else break;H=n(u)}}function I(L){if(x=!1,w(L),!y)if(n(c)!==null)y=!0,k(E);else{var H=n(u);H!==null&&M(I,H.startTime-L)}}function E(L,H){y=!1,x&&(x=!1,C(N),N=-1),h=!0;var U=m;try{for(w(H),g=n(c);g!==null&&(!(g.expirationTime>H)||L&&!A());){var z=g.callback;if(typeof z=="function"){g.callback=null,m=g.priorityLevel;var W=z(g.expirationTime<=H);H=e.unstable_now(),typeof W=="function"?g.callback=W:g===n(c)&&r(c),w(H)}else r(c);g=n(c)}if(g!==null)var q=!0;else{var K=n(u);K!==null&&M(I,K.startTime-H),q=!1}return q}finally{g=null,m=U,h=!1}}var _=!1,R=null,N=-1,O=5,$=-1;function A(){return!(e.unstable_now()-$L||125z?(L.sortIndex=U,t(u,L),n(c)===null&&L===n(u)&&(x?(C(N),N=-1):x=!0,M(I,U-z))):(L.sortIndex=W,t(c,L),y||h||(y=!0,k(E))),L},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(L){var H=m;return function(){var U=m;m=H;try{return L.apply(this,arguments)}finally{m=U}}}}(n1)),n1}var gP;function IQ(){return gP||(gP=1,t1.exports=EQ()),t1.exports}/** + * @license React + * 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 mP;function _Q(){if(mP)return _o;mP=1;var e=p$(),t=IQ();function n(p){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+p,T=1;T"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c=Object.prototype.hasOwnProperty,u=/^[: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]*$/,f={},g={};function m(p){return c.call(g,p)?!0:c.call(f,p)?!1:u.test(p)?g[p]=!0:(f[p]=!0,!1)}function h(p,v,T,P){if(T!==null&&T.type===0)return!1;switch(typeof v){case"function":case"symbol":return!0;case"boolean":return P?!1:T!==null?!T.acceptsBooleans:(p=p.toLowerCase().slice(0,5),p!=="data-"&&p!=="aria-");default:return!1}}function y(p,v,T,P){if(v===null||typeof v>"u"||h(p,v,T,P))return!0;if(P)return!1;if(T!==null)switch(T.type){case 3:return!v;case 4:return v===!1;case 5:return isNaN(v);case 6:return isNaN(v)||1>v}return!1}function x(p,v,T,P,V,Y,de){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=P,this.attributeNamespace=V,this.mustUseProperty=T,this.propertyName=p,this.type=v,this.sanitizeURL=Y,this.removeEmptyString=de}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){b[p]=new x(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var v=p[0];b[v]=new x(v,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){b[p]=new x(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){b[p]=new x(p,2,!1,p,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(p){b[p]=new x(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){b[p]=new x(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){b[p]=new x(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){b[p]=new x(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){b[p]=new x(p,5,!1,p.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function S(p){return p[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(p){var v=p.replace(C,S);b[v]=new x(v,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var v=p.replace(C,S);b[v]=new x(v,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var v=p.replace(C,S);b[v]=new x(v,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){b[p]=new x(p,1,!1,p.toLowerCase(),null,!1,!1)}),b.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){b[p]=new x(p,1,!1,p.toLowerCase(),null,!0,!0)});function w(p,v,T,P){var V=b.hasOwnProperty(v)?b[v]:null;(V!==null?V.type!==0:P||!(2De||V[de]!==Y[De]){var He=` +`+V[de].replace(" at new "," at ");return p.displayName&&He.includes("")&&(He=He.replace("",p.displayName)),He}while(1<=de&&0<=De);break}}}finally{q=!1,Error.prepareStackTrace=T}return(p=p?p.displayName||p.name:"")?W(p):""}function G(p){switch(p.tag){case 5:return W(p.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return p=K(p.type,!1),p;case 11:return p=K(p.type.render,!1),p;case 1:return p=K(p.type,!0),p;default:return""}}function X(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case R:return"Fragment";case _:return"Portal";case O:return"Profiler";case N:return"StrictMode";case j:return"Suspense";case F:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case A:return(p.displayName||"Context")+".Consumer";case $:return(p._context.displayName||"Context")+".Provider";case B:var v=p.render;return p=p.displayName,p||(p=v.displayName||v.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case D:return v=p.displayName||null,v!==null?v:X(p.type)||"Memo";case k:v=p._payload,p=p._init;try{return X(p(v))}catch{}}return null}function Z(p){var v=p.type;switch(p.tag){case 24:return"Cache";case 9:return(v.displayName||"Context")+".Consumer";case 10:return(v._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return p=v.render,p=p.displayName||p.name||"",v.displayName||(p!==""?"ForwardRef("+p+")":"ForwardRef");case 7:return"Fragment";case 5:return v;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X(v);case 8:return v===N?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v}return null}function J(p){switch(typeof p){case"boolean":case"number":case"string":case"undefined":return p;case"object":return p;default:return""}}function ne(p){var v=p.type;return(p=p.nodeName)&&p.toLowerCase()==="input"&&(v==="checkbox"||v==="radio")}function Q(p){var v=ne(p)?"checked":"value",T=Object.getOwnPropertyDescriptor(p.constructor.prototype,v),P=""+p[v];if(!p.hasOwnProperty(v)&&typeof T<"u"&&typeof T.get=="function"&&typeof T.set=="function"){var V=T.get,Y=T.set;return Object.defineProperty(p,v,{configurable:!0,get:function(){return V.call(this)},set:function(de){P=""+de,Y.call(this,de)}}),Object.defineProperty(p,v,{enumerable:T.enumerable}),{getValue:function(){return P},setValue:function(de){P=""+de},stopTracking:function(){p._valueTracker=null,delete p[v]}}}}function ee(p){p._valueTracker||(p._valueTracker=Q(p))}function te(p){if(!p)return!1;var v=p._valueTracker;if(!v)return!0;var T=v.getValue(),P="";return p&&(P=ne(p)?p.checked?"true":"false":p.value),p=P,p!==T?(v.setValue(p),!0):!1}function oe(p){if(p=p||(typeof document<"u"?document:void 0),typeof p>"u")return null;try{return p.activeElement||p.body}catch{return p.body}}function le(p,v){var T=v.checked;return U({},v,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:T??p._wrapperState.initialChecked})}function fe(p,v){var T=v.defaultValue==null?"":v.defaultValue,P=v.checked!=null?v.checked:v.defaultChecked;T=J(v.value!=null?v.value:T),p._wrapperState={initialChecked:P,initialValue:T,controlled:v.type==="checkbox"||v.type==="radio"?v.checked!=null:v.value!=null}}function ue(p,v){v=v.checked,v!=null&&w(p,"checked",v,!1)}function we(p,v){ue(p,v);var T=J(v.value),P=v.type;if(T!=null)P==="number"?(T===0&&p.value===""||p.value!=T)&&(p.value=""+T):p.value!==""+T&&(p.value=""+T);else if(P==="submit"||P==="reset"){p.removeAttribute("value");return}v.hasOwnProperty("value")?ve(p,v.type,T):v.hasOwnProperty("defaultValue")&&ve(p,v.type,J(v.defaultValue)),v.checked==null&&v.defaultChecked!=null&&(p.defaultChecked=!!v.defaultChecked)}function pe(p,v,T){if(v.hasOwnProperty("value")||v.hasOwnProperty("defaultValue")){var P=v.type;if(!(P!=="submit"&&P!=="reset"||v.value!==void 0&&v.value!==null))return;v=""+p._wrapperState.initialValue,T||v===p.value||(p.value=v),p.defaultValue=v}T=p.name,T!==""&&(p.name=""),p.defaultChecked=!!p._wrapperState.initialChecked,T!==""&&(p.name=T)}function ve(p,v,T){(v!=="number"||oe(p.ownerDocument)!==p)&&(T==null?p.defaultValue=""+p._wrapperState.initialValue:p.defaultValue!==""+T&&(p.defaultValue=""+T))}var Ce=Array.isArray;function me(p,v,T,P){if(p=p.options,v){v={};for(var V=0;V"+v.valueOf().toString()+"",v=Fe.firstChild;p.firstChild;)p.removeChild(p.firstChild);for(;v.firstChild;)p.appendChild(v.firstChild)}});function qe(p,v){if(v){var T=p.firstChild;if(T&&T===p.lastChild&&T.nodeType===3){T.nodeValue=v;return}}p.textContent=v}var Ue={animationIterationCount:!0,aspectRatio:!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},Ne=["Webkit","ms","Moz","O"];Object.keys(Ue).forEach(function(p){Ne.forEach(function(v){v=v+p.charAt(0).toUpperCase()+p.substring(1),Ue[v]=Ue[p]})});function Ye(p,v,T){return v==null||typeof v=="boolean"||v===""?"":T||typeof v!="number"||v===0||Ue.hasOwnProperty(p)&&Ue[p]?(""+v).trim():v+"px"}function Re(p,v){p=p.style;for(var T in v)if(v.hasOwnProperty(T)){var P=T.indexOf("--")===0,V=Ye(T,v[T],P);T==="float"&&(T="cssFloat"),P?p.setProperty(T,V):p[T]=V}}var Ae=U({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 Le(p,v){if(v){if(Ae[p]&&(v.children!=null||v.dangerouslySetInnerHTML!=null))throw Error(n(137,p));if(v.dangerouslySetInnerHTML!=null){if(v.children!=null)throw Error(n(60));if(typeof v.dangerouslySetInnerHTML!="object"||!("__html"in v.dangerouslySetInnerHTML))throw Error(n(61))}if(v.style!=null&&typeof v.style!="object")throw Error(n(62))}}function Te(p,v){if(p.indexOf("-")===-1)return typeof v.is=="string";switch(p){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}}var Ve=null;function Je(p){return p=p.target||p.srcElement||window,p.correspondingUseElement&&(p=p.correspondingUseElement),p.nodeType===3?p.parentNode:p}var Qe=null,ut=null,xe=null;function be(p){if(p=yp(p)){if(typeof Qe!="function")throw Error(n(280));var v=p.stateNode;v&&(v=yh(v),Qe(p.stateNode,p.type,v))}}function Ee(p){ut?xe?xe.push(p):xe=[p]:ut=p}function ke(){if(ut){var p=ut,v=xe;if(xe=ut=null,be(p),v)for(p=0;p>>=0,p===0?32:31-(sr(p)/pr|0)|0}var Xr=64,wr=4194304;function Zr(p){switch(p&-p){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return p&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return p&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return p}}function bn(p,v){var T=p.pendingLanes;if(T===0)return 0;var P=0,V=p.suspendedLanes,Y=p.pingedLanes,de=T&268435455;if(de!==0){var De=de&~V;De!==0?P=Zr(De):(Y&=de,Y!==0&&(P=Zr(Y)))}else de=T&~V,de!==0?P=Zr(de):Y!==0&&(P=Zr(Y));if(P===0)return 0;if(v!==0&&v!==P&&(v&V)===0&&(V=P&-P,Y=v&-v,V>=Y||V===16&&(Y&4194240)!==0))return v;if((P&4)!==0&&(P|=T&16),v=p.entangledLanes,v!==0)for(p=p.entanglements,v&=P;0T;T++)v.push(p);return v}function On(p,v,T){p.pendingLanes|=v,v!==536870912&&(p.suspendedLanes=0,p.pingedLanes=0),p=p.eventTimes,v=31-$n(v),p[v]=T}function lr(p,v){var T=p.pendingLanes&~v;p.pendingLanes=v,p.suspendedLanes=0,p.pingedLanes=0,p.expiredLanes&=v,p.mutableReadLanes&=v,p.entangledLanes&=v,v=p.entanglements;var P=p.eventTimes;for(p=p.expirationTimes;0=Cn),is=" ",up=!1;function ak(p,v){switch(p){case"keyup":return Vt.indexOf(v.keyCode)!==-1;case"keydown":return v.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ok(p){return p=p.detail,typeof p=="object"&&"data"in p?p.data:null}var Uu=!1;function mJ(p,v){switch(p){case"compositionend":return ok(v);case"keypress":return v.which!==32?null:(up=!0,is);case"textInput":return p=v.data,p===is&&up?null:p;default:return null}}function hJ(p,v){if(Uu)return p==="compositionend"||!un&&ak(p,v)?(p=ap(),Cc=rp=os=null,Uu=!1,p):null;switch(p){case"paste":return null;case"keypress":if(!(v.ctrlKey||v.altKey||v.metaKey)||v.ctrlKey&&v.altKey){if(v.char&&1=v)return{node:T,offset:v-p};p=P}e:{for(;T;){if(T.nextSibling){T=T.nextSibling;break e}T=T.parentNode}T=void 0}T=fk(T)}}function gk(p,v){return p&&v?p===v?!0:p&&p.nodeType===3?!1:v&&v.nodeType===3?gk(p,v.parentNode):"contains"in p?p.contains(v):p.compareDocumentPosition?!!(p.compareDocumentPosition(v)&16):!1:!1}function mk(){for(var p=window,v=oe();v instanceof p.HTMLIFrameElement;){try{var T=typeof v.contentWindow.location.href=="string"}catch{T=!1}if(T)p=v.contentWindow;else break;v=oe(p.document)}return v}function Dx(p){var v=p&&p.nodeName&&p.nodeName.toLowerCase();return v&&(v==="input"&&(p.type==="text"||p.type==="search"||p.type==="tel"||p.type==="url"||p.type==="password")||v==="textarea"||p.contentEditable==="true")}function IJ(p){var v=mk(),T=p.focusedElem,P=p.selectionRange;if(v!==T&&T&&T.ownerDocument&&gk(T.ownerDocument.documentElement,T)){if(P!==null&&Dx(T)){if(v=P.start,p=P.end,p===void 0&&(p=v),"selectionStart"in T)T.selectionStart=v,T.selectionEnd=Math.min(p,T.value.length);else if(p=(v=T.ownerDocument||document)&&v.defaultView||window,p.getSelection){p=p.getSelection();var V=T.textContent.length,Y=Math.min(P.start,V);P=P.end===void 0?Y:Math.min(P.end,V),!p.extend&&Y>P&&(V=P,P=Y,Y=V),V=pk(T,Y);var de=pk(T,P);V&&de&&(p.rangeCount!==1||p.anchorNode!==V.node||p.anchorOffset!==V.offset||p.focusNode!==de.node||p.focusOffset!==de.offset)&&(v=v.createRange(),v.setStart(V.node,V.offset),p.removeAllRanges(),Y>P?(p.addRange(v),p.extend(de.node,de.offset)):(v.setEnd(de.node,de.offset),p.addRange(v)))}}for(v=[],p=T;p=p.parentNode;)p.nodeType===1&&v.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T=document.documentMode,Vu=null,Mx=null,gp=null,Lx=!1;function hk(p,v,T){var P=T.window===T?T.document:T.nodeType===9?T:T.ownerDocument;Lx||Vu==null||Vu!==oe(P)||(P=Vu,"selectionStart"in P&&Dx(P)?P={start:P.selectionStart,end:P.selectionEnd}:(P=(P.ownerDocument&&P.ownerDocument.defaultView||window).getSelection(),P={anchorNode:P.anchorNode,anchorOffset:P.anchorOffset,focusNode:P.focusNode,focusOffset:P.focusOffset}),gp&&pp(gp,P)||(gp=P,P=hh(Mx,"onSelect"),0Yu||(p.current=Yx[Yu],Yx[Yu]=null,Yu--)}function Fr(p,v){Yu++,Yx[Yu]=p.current,p.current=v}var vl={},eo=hl(vl),So=hl(!1),_c=vl;function Xu(p,v){var T=p.type.contextTypes;if(!T)return vl;var P=p.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===v)return P.__reactInternalMemoizedMaskedChildContext;var V={},Y;for(Y in T)V[Y]=v[Y];return P&&(p=p.stateNode,p.__reactInternalMemoizedUnmaskedChildContext=v,p.__reactInternalMemoizedMaskedChildContext=V),V}function Co(p){return p=p.childContextTypes,p!=null}function xh(){qr(So),qr(eo)}function Nk(p,v,T){if(eo.current!==vl)throw Error(n(168));Fr(eo,v),Fr(So,T)}function Ak(p,v,T){var P=p.stateNode;if(v=v.childContextTypes,typeof P.getChildContext!="function")return T;P=P.getChildContext();for(var V in P)if(!(V in v))throw Error(n(108,Z(p)||"Unknown",V));return U({},T,P)}function Sh(p){return p=(p=p.stateNode)&&p.__reactInternalMemoizedMergedChildContext||vl,_c=eo.current,Fr(eo,p),Fr(So,So.current),!0}function kk(p,v,T){var P=p.stateNode;if(!P)throw Error(n(169));T?(p=Ak(p,v,_c),P.__reactInternalMemoizedMergedChildContext=p,qr(So),qr(eo),Fr(eo,p)):qr(So),Fr(So,T)}var Ps=null,Ch=!1,Xx=!1;function Pk(p){Ps===null?Ps=[p]:Ps.push(p)}function LJ(p){Ch=!0,Pk(p)}function bl(){if(!Xx&&Ps!==null){Xx=!0;var p=0,v=xn;try{var T=Ps;for(xn=1;p>=de,V-=de,Ds=1<<32-$n(v)+V|T<kn?(Na=Tn,Tn=null):Na=Tn.sibling;var mr=Et(rt,Tn,at[kn],Lt);if(mr===null){Tn===null&&(Tn=Na);break}p&&Tn&&mr.alternate===null&&v(rt,Tn),Xe=Y(mr,Xe,kn),_n===null?dn=mr:_n.sibling=mr,_n=mr,Tn=Na}if(kn===at.length)return T(rt,Tn),Qr&&Rc(rt,kn),dn;if(Tn===null){for(;knkn?(Na=Tn,Tn=null):Na=Tn.sibling;var Tl=Et(rt,Tn,mr.value,Lt);if(Tl===null){Tn===null&&(Tn=Na);break}p&&Tn&&Tl.alternate===null&&v(rt,Tn),Xe=Y(Tl,Xe,kn),_n===null?dn=Tl:_n.sibling=Tl,_n=Tl,Tn=Na}if(mr.done)return T(rt,Tn),Qr&&Rc(rt,kn),dn;if(Tn===null){for(;!mr.done;kn++,mr=at.next())mr=$t(rt,mr.value,Lt),mr!==null&&(Xe=Y(mr,Xe,kn),_n===null?dn=mr:_n.sibling=mr,_n=mr);return Qr&&Rc(rt,kn),dn}for(Tn=P(rt,Tn);!mr.done;kn++,mr=at.next())mr=Qt(Tn,rt,kn,mr.value,Lt),mr!==null&&(p&&mr.alternate!==null&&Tn.delete(mr.key===null?kn:mr.key),Xe=Y(mr,Xe,kn),_n===null?dn=mr:_n.sibling=mr,_n=mr);return p&&Tn.forEach(function(vQ){return v(rt,vQ)}),Qr&&Rc(rt,kn),dn}function ca(rt,Xe,at,Lt){if(typeof at=="object"&&at!==null&&at.type===R&&at.key===null&&(at=at.props.children),typeof at=="object"&&at!==null){switch(at.$$typeof){case E:e:{for(var dn=at.key,_n=Xe;_n!==null;){if(_n.key===dn){if(dn=at.type,dn===R){if(_n.tag===7){T(rt,_n.sibling),Xe=V(_n,at.props.children),Xe.return=rt,rt=Xe;break e}}else if(_n.elementType===dn||typeof dn=="object"&&dn!==null&&dn.$$typeof===k&&Bk(dn)===_n.type){T(rt,_n.sibling),Xe=V(_n,at.props),Xe.ref=xp(rt,_n,at),Xe.return=rt,rt=Xe;break e}T(rt,_n);break}else v(rt,_n);_n=_n.sibling}at.type===R?(Xe=Mc(at.props.children,rt.mode,Lt,at.key),Xe.return=rt,rt=Xe):(Lt=Xh(at.type,at.key,at.props,null,rt.mode,Lt),Lt.ref=xp(rt,Xe,at),Lt.return=rt,rt=Lt)}return de(rt);case _:e:{for(_n=at.key;Xe!==null;){if(Xe.key===_n)if(Xe.tag===4&&Xe.stateNode.containerInfo===at.containerInfo&&Xe.stateNode.implementation===at.implementation){T(rt,Xe.sibling),Xe=V(Xe,at.children||[]),Xe.return=rt,rt=Xe;break e}else{T(rt,Xe);break}else v(rt,Xe);Xe=Xe.sibling}Xe=qS(at,rt.mode,Lt),Xe.return=rt,rt=Xe}return de(rt);case k:return _n=at._init,ca(rt,Xe,_n(at._payload),Lt)}if(Ce(at))return sn(rt,Xe,at,Lt);if(H(at))return cn(rt,Xe,at,Lt);_h(rt,at)}return typeof at=="string"&&at!==""||typeof at=="number"?(at=""+at,Xe!==null&&Xe.tag===6?(T(rt,Xe.sibling),Xe=V(Xe,at),Xe.return=rt,rt=Xe):(T(rt,Xe),Xe=GS(at,rt.mode,Lt),Xe.return=rt,rt=Xe),de(rt)):T(rt,Xe)}return ca}var ed=zk(!0),Hk=zk(!1),Th=hl(null),Rh=null,td=null,nS=null;function rS(){nS=td=Rh=null}function aS(p){var v=Th.current;qr(Th),p._currentValue=v}function oS(p,v,T){for(;p!==null;){var P=p.alternate;if((p.childLanes&v)!==v?(p.childLanes|=v,P!==null&&(P.childLanes|=v)):P!==null&&(P.childLanes&v)!==v&&(P.childLanes|=v),p===T)break;p=p.return}}function nd(p,v){Rh=p,nS=td=null,p=p.dependencies,p!==null&&p.firstContext!==null&&((p.lanes&v)!==0&&(wo=!0),p.firstContext=null)}function si(p){var v=p._currentValue;if(nS!==p)if(p={context:p,memoizedValue:v,next:null},td===null){if(Rh===null)throw Error(n(308));td=p,Rh.dependencies={lanes:0,firstContext:p}}else td=td.next=p;return v}var Oc=null;function iS(p){Oc===null?Oc=[p]:Oc.push(p)}function Uk(p,v,T,P){var V=v.interleaved;return V===null?(T.next=T,iS(v)):(T.next=V.next,V.next=T),v.interleaved=T,Ls(p,P)}function Ls(p,v){p.lanes|=v;var T=p.alternate;for(T!==null&&(T.lanes|=v),T=p,p=p.return;p!==null;)p.childLanes|=v,T=p.alternate,T!==null&&(T.childLanes|=v),T=p,p=p.return;return T.tag===3?T.stateNode:null}var yl=!1;function sS(p){p.updateQueue={baseState:p.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vk(p,v){p=p.updateQueue,v.updateQueue===p&&(v.updateQueue={baseState:p.baseState,firstBaseUpdate:p.firstBaseUpdate,lastBaseUpdate:p.lastBaseUpdate,shared:p.shared,effects:p.effects})}function js(p,v){return{eventTime:p,lane:v,tag:0,payload:null,callback:null,next:null}}function xl(p,v,T){var P=p.updateQueue;if(P===null)return null;if(P=P.shared,(gr&2)!==0){var V=P.pending;return V===null?v.next=v:(v.next=V.next,V.next=v),P.pending=v,Ls(p,T)}return V=P.interleaved,V===null?(v.next=v,iS(P)):(v.next=V.next,V.next=v),P.interleaved=v,Ls(p,T)}function Oh(p,v,T){if(v=v.updateQueue,v!==null&&(v=v.shared,(T&4194240)!==0)){var P=v.lanes;P&=p.pendingLanes,T|=P,v.lanes=T,vr(p,T)}}function Wk(p,v){var T=p.updateQueue,P=p.alternate;if(P!==null&&(P=P.updateQueue,T===P)){var V=null,Y=null;if(T=T.firstBaseUpdate,T!==null){do{var de={eventTime:T.eventTime,lane:T.lane,tag:T.tag,payload:T.payload,callback:T.callback,next:null};Y===null?V=Y=de:Y=Y.next=de,T=T.next}while(T!==null);Y===null?V=Y=v:Y=Y.next=v}else V=Y=v;T={baseState:P.baseState,firstBaseUpdate:V,lastBaseUpdate:Y,shared:P.shared,effects:P.effects},p.updateQueue=T;return}p=T.lastBaseUpdate,p===null?T.firstBaseUpdate=v:p.next=v,T.lastBaseUpdate=v}function $h(p,v,T,P){var V=p.updateQueue;yl=!1;var Y=V.firstBaseUpdate,de=V.lastBaseUpdate,De=V.shared.pending;if(De!==null){V.shared.pending=null;var He=De,lt=He.next;He.next=null,de===null?Y=lt:de.next=lt,de=He;var It=p.alternate;It!==null&&(It=It.updateQueue,De=It.lastBaseUpdate,De!==de&&(De===null?It.firstBaseUpdate=lt:De.next=lt,It.lastBaseUpdate=He))}if(Y!==null){var $t=V.baseState;de=0,It=lt=He=null,De=Y;do{var Et=De.lane,Qt=De.eventTime;if((P&Et)===Et){It!==null&&(It=It.next={eventTime:Qt,lane:0,tag:De.tag,payload:De.payload,callback:De.callback,next:null});e:{var sn=p,cn=De;switch(Et=v,Qt=T,cn.tag){case 1:if(sn=cn.payload,typeof sn=="function"){$t=sn.call(Qt,$t,Et);break e}$t=sn;break e;case 3:sn.flags=sn.flags&-65537|128;case 0:if(sn=cn.payload,Et=typeof sn=="function"?sn.call(Qt,$t,Et):sn,Et==null)break e;$t=U({},$t,Et);break e;case 2:yl=!0}}De.callback!==null&&De.lane!==0&&(p.flags|=64,Et=V.effects,Et===null?V.effects=[De]:Et.push(De))}else Qt={eventTime:Qt,lane:Et,tag:De.tag,payload:De.payload,callback:De.callback,next:null},It===null?(lt=It=Qt,He=$t):It=It.next=Qt,de|=Et;if(De=De.next,De===null){if(De=V.shared.pending,De===null)break;Et=De,De=Et.next,Et.next=null,V.lastBaseUpdate=Et,V.shared.pending=null}}while(!0);if(It===null&&(He=$t),V.baseState=He,V.firstBaseUpdate=lt,V.lastBaseUpdate=It,v=V.shared.interleaved,v!==null){V=v;do de|=V.lane,V=V.next;while(V!==v)}else Y===null&&(V.shared.lanes=0);Ac|=de,p.lanes=de,p.memoizedState=$t}}function Gk(p,v,T){if(p=v.effects,v.effects=null,p!==null)for(v=0;vT?T:4,p(!0);var P=fS.transition;fS.transition={};try{p(!1),v()}finally{xn=T,fS.transition=P}}function d3(){return li().memoizedState}function zJ(p,v,T){var P=El(p);if(T={lane:P,action:T,hasEagerState:!1,eagerState:null,next:null},f3(p))p3(v,T);else if(T=Uk(p,v,T,P),T!==null){var V=go();Li(T,p,P,V),g3(T,v,P)}}function HJ(p,v,T){var P=El(p),V={lane:P,action:T,hasEagerState:!1,eagerState:null,next:null};if(f3(p))p3(v,V);else{var Y=p.alternate;if(p.lanes===0&&(Y===null||Y.lanes===0)&&(Y=v.lastRenderedReducer,Y!==null))try{var de=v.lastRenderedState,De=Y(de,T);if(V.hasEagerState=!0,V.eagerState=De,Ai(De,de)){var He=v.interleaved;He===null?(V.next=V,iS(v)):(V.next=He.next,He.next=V),v.interleaved=V;return}}catch{}finally{}T=Uk(p,v,V,P),T!==null&&(V=go(),Li(T,p,P,V),g3(T,v,P))}}function f3(p){var v=p.alternate;return p===na||v!==null&&v===na}function p3(p,v){Ep=kh=!0;var T=p.pending;T===null?v.next=v:(v.next=T.next,T.next=v),p.pending=v}function g3(p,v,T){if((T&4194240)!==0){var P=v.lanes;P&=p.pendingLanes,T|=P,v.lanes=T,vr(p,T)}}var Mh={readContext:si,useCallback:to,useContext:to,useEffect:to,useImperativeHandle:to,useInsertionEffect:to,useLayoutEffect:to,useMemo:to,useReducer:to,useRef:to,useState:to,useDebugValue:to,useDeferredValue:to,useTransition:to,useMutableSource:to,useSyncExternalStore:to,useId:to,unstable_isNewReconciler:!1},UJ={readContext:si,useCallback:function(p,v){return cs().memoizedState=[p,v===void 0?null:v],p},useContext:si,useEffect:r3,useImperativeHandle:function(p,v,T){return T=T!=null?T.concat([p]):null,Ph(4194308,4,i3.bind(null,v,p),T)},useLayoutEffect:function(p,v){return Ph(4194308,4,p,v)},useInsertionEffect:function(p,v){return Ph(4,2,p,v)},useMemo:function(p,v){var T=cs();return v=v===void 0?null:v,p=p(),T.memoizedState=[p,v],p},useReducer:function(p,v,T){var P=cs();return v=T!==void 0?T(v):v,P.memoizedState=P.baseState=v,p={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:p,lastRenderedState:v},P.queue=p,p=p.dispatch=zJ.bind(null,na,p),[P.memoizedState,p]},useRef:function(p){var v=cs();return p={current:p},v.memoizedState=p},useState:t3,useDebugValue:yS,useDeferredValue:function(p){return cs().memoizedState=p},useTransition:function(){var p=t3(!1),v=p[0];return p=BJ.bind(null,p[1]),cs().memoizedState=p,[v,p]},useMutableSource:function(){},useSyncExternalStore:function(p,v,T){var P=na,V=cs();if(Qr){if(T===void 0)throw Error(n(407));T=T()}else{if(T=v(),$a===null)throw Error(n(349));(Nc&30)!==0||Xk(P,v,T)}V.memoizedState=T;var Y={value:T,getSnapshot:v};return V.queue=Y,r3(Jk.bind(null,P,Y,p),[p]),P.flags|=2048,Tp(9,Zk.bind(null,P,Y,T,v),void 0,null),T},useId:function(){var p=cs(),v=$a.identifierPrefix;if(Qr){var T=Ms,P=Ds;T=(P&~(1<<32-$n(P)-1)).toString(32)+T,v=":"+v+"R"+T,T=Ip++,0<\/script>",p=p.removeChild(p.firstChild)):typeof P.is=="string"?p=de.createElement(T,{is:P.is}):(p=de.createElement(T),T==="select"&&(de=p,P.multiple?de.multiple=!0:P.size&&(de.size=P.size))):p=de.createElementNS(p,T),p[ss]=v,p[bp]=P,P3(p,v,!1,!1),v.stateNode=p;e:{switch(de=Te(T,P),T){case"dialog":Gr("cancel",p),Gr("close",p),V=P;break;case"iframe":case"object":case"embed":Gr("load",p),V=P;break;case"video":case"audio":for(V=0;Vsd&&(v.flags|=128,P=!0,Rp(Y,!1),v.lanes=4194304)}else{if(!P)if(p=Nh(de),p!==null){if(v.flags|=128,P=!0,T=p.updateQueue,T!==null&&(v.updateQueue=T,v.flags|=4),Rp(Y,!0),Y.tail===null&&Y.tailMode==="hidden"&&!de.alternate&&!Qr)return no(v),null}else 2*We()-Y.renderingStartTime>sd&&T!==1073741824&&(v.flags|=128,P=!0,Rp(Y,!1),v.lanes=4194304);Y.isBackwards?(de.sibling=v.child,v.child=de):(T=Y.last,T!==null?T.sibling=de:v.child=de,Y.last=de)}return Y.tail!==null?(v=Y.tail,Y.rendering=v,Y.tail=v.sibling,Y.renderingStartTime=We(),v.sibling=null,T=ta.current,Fr(ta,P?T&1|2:T&1),v):(no(v),null);case 22:case 23:return US(),P=v.memoizedState!==null,p!==null&&p.memoizedState!==null!==P&&(v.flags|=8192),P&&(v.mode&1)!==0?(Bo&1073741824)!==0&&(no(v),v.subtreeFlags&6&&(v.flags|=8192)):no(v),null;case 24:return null;case 25:return null}throw Error(n(156,v.tag))}function ZJ(p,v){switch(Jx(v),v.tag){case 1:return Co(v.type)&&xh(),p=v.flags,p&65536?(v.flags=p&-65537|128,v):null;case 3:return rd(),qr(So),qr(eo),dS(),p=v.flags,(p&65536)!==0&&(p&128)===0?(v.flags=p&-65537|128,v):null;case 5:return cS(v),null;case 13:if(qr(ta),p=v.memoizedState,p!==null&&p.dehydrated!==null){if(v.alternate===null)throw Error(n(340));Qu()}return p=v.flags,p&65536?(v.flags=p&-65537|128,v):null;case 19:return qr(ta),null;case 4:return rd(),null;case 10:return aS(v.type._context),null;case 22:case 23:return US(),null;case 24:return null;default:return null}}var Bh=!1,ro=!1,JJ=typeof WeakSet=="function"?WeakSet:Set,rn=null;function od(p,v){var T=p.ref;if(T!==null)if(typeof T=="function")try{T(null)}catch(P){sa(p,v,P)}else T.current=null}function NS(p,v,T){try{T()}catch(P){sa(p,v,P)}}var L3=!1;function QJ(p,v){if(Ux=ju,p=mk(),Dx(p)){if("selectionStart"in p)var T={start:p.selectionStart,end:p.selectionEnd};else e:{T=(T=p.ownerDocument)&&T.defaultView||window;var P=T.getSelection&&T.getSelection();if(P&&P.rangeCount!==0){T=P.anchorNode;var V=P.anchorOffset,Y=P.focusNode;P=P.focusOffset;try{T.nodeType,Y.nodeType}catch{T=null;break e}var de=0,De=-1,He=-1,lt=0,It=0,$t=p,Et=null;t:for(;;){for(var Qt;$t!==T||V!==0&&$t.nodeType!==3||(De=de+V),$t!==Y||P!==0&&$t.nodeType!==3||(He=de+P),$t.nodeType===3&&(de+=$t.nodeValue.length),(Qt=$t.firstChild)!==null;)Et=$t,$t=Qt;for(;;){if($t===p)break t;if(Et===T&&++lt===V&&(De=de),Et===Y&&++It===P&&(He=de),(Qt=$t.nextSibling)!==null)break;$t=Et,Et=$t.parentNode}$t=Qt}T=De===-1||He===-1?null:{start:De,end:He}}else T=null}T=T||{start:0,end:0}}else T=null;for(Vx={focusedElem:p,selectionRange:T},ju=!1,rn=v;rn!==null;)if(v=rn,p=v.child,(v.subtreeFlags&1028)!==0&&p!==null)p.return=v,rn=p;else for(;rn!==null;){v=rn;try{var sn=v.alternate;if((v.flags&1024)!==0)switch(v.tag){case 0:case 11:case 15:break;case 1:if(sn!==null){var cn=sn.memoizedProps,ca=sn.memoizedState,rt=v.stateNode,Xe=rt.getSnapshotBeforeUpdate(v.elementType===v.type?cn:Pi(v.type,cn),ca);rt.__reactInternalSnapshotBeforeUpdate=Xe}break;case 3:var at=v.stateNode.containerInfo;at.nodeType===1?at.textContent="":at.nodeType===9&&at.documentElement&&at.removeChild(at.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Lt){sa(v,v.return,Lt)}if(p=v.sibling,p!==null){p.return=v.return,rn=p;break}rn=v.return}return sn=L3,L3=!1,sn}function Op(p,v,T){var P=v.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var V=P=P.next;do{if((V.tag&p)===p){var Y=V.destroy;V.destroy=void 0,Y!==void 0&&NS(v,T,Y)}V=V.next}while(V!==P)}}function zh(p,v){if(v=v.updateQueue,v=v!==null?v.lastEffect:null,v!==null){var T=v=v.next;do{if((T.tag&p)===p){var P=T.create;T.destroy=P()}T=T.next}while(T!==v)}}function AS(p){var v=p.ref;if(v!==null){var T=p.stateNode;switch(p.tag){case 5:p=T;break;default:p=T}typeof v=="function"?v(p):v.current=p}}function j3(p){var v=p.alternate;v!==null&&(p.alternate=null,j3(v)),p.child=null,p.deletions=null,p.sibling=null,p.tag===5&&(v=p.stateNode,v!==null&&(delete v[ss],delete v[bp],delete v[Kx],delete v[DJ],delete v[MJ])),p.stateNode=null,p.return=null,p.dependencies=null,p.memoizedProps=null,p.memoizedState=null,p.pendingProps=null,p.stateNode=null,p.updateQueue=null}function F3(p){return p.tag===5||p.tag===3||p.tag===4}function B3(p){e:for(;;){for(;p.sibling===null;){if(p.return===null||F3(p.return))return null;p=p.return}for(p.sibling.return=p.return,p=p.sibling;p.tag!==5&&p.tag!==6&&p.tag!==18;){if(p.flags&2||p.child===null||p.tag===4)continue e;p.child.return=p,p=p.child}if(!(p.flags&2))return p.stateNode}}function kS(p,v,T){var P=p.tag;if(P===5||P===6)p=p.stateNode,v?T.nodeType===8?T.parentNode.insertBefore(p,v):T.insertBefore(p,v):(T.nodeType===8?(v=T.parentNode,v.insertBefore(p,T)):(v=T,v.appendChild(p)),T=T._reactRootContainer,T!=null||v.onclick!==null||(v.onclick=bh));else if(P!==4&&(p=p.child,p!==null))for(kS(p,v,T),p=p.sibling;p!==null;)kS(p,v,T),p=p.sibling}function PS(p,v,T){var P=p.tag;if(P===5||P===6)p=p.stateNode,v?T.insertBefore(p,v):T.appendChild(p);else if(P!==4&&(p=p.child,p!==null))for(PS(p,v,T),p=p.sibling;p!==null;)PS(p,v,T),p=p.sibling}var Wa=null,Di=!1;function Sl(p,v,T){for(T=T.child;T!==null;)z3(p,v,T),T=T.sibling}function z3(p,v,T){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(Xt,T)}catch{}switch(T.tag){case 5:ro||od(T,v);case 6:var P=Wa,V=Di;Wa=null,Sl(p,v,T),Wa=P,Di=V,Wa!==null&&(Di?(p=Wa,T=T.stateNode,p.nodeType===8?p.parentNode.removeChild(T):p.removeChild(T)):Wa.removeChild(T.stateNode));break;case 18:Wa!==null&&(Di?(p=Wa,T=T.stateNode,p.nodeType===8?qx(p.parentNode,T):p.nodeType===1&&qx(p,T),ai(p)):qx(Wa,T.stateNode));break;case 4:P=Wa,V=Di,Wa=T.stateNode.containerInfo,Di=!0,Sl(p,v,T),Wa=P,Di=V;break;case 0:case 11:case 14:case 15:if(!ro&&(P=T.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){V=P=P.next;do{var Y=V,de=Y.destroy;Y=Y.tag,de!==void 0&&((Y&2)!==0||(Y&4)!==0)&&NS(T,v,de),V=V.next}while(V!==P)}Sl(p,v,T);break;case 1:if(!ro&&(od(T,v),P=T.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=T.memoizedProps,P.state=T.memoizedState,P.componentWillUnmount()}catch(De){sa(T,v,De)}Sl(p,v,T);break;case 21:Sl(p,v,T);break;case 22:T.mode&1?(ro=(P=ro)||T.memoizedState!==null,Sl(p,v,T),ro=P):Sl(p,v,T);break;default:Sl(p,v,T)}}function H3(p){var v=p.updateQueue;if(v!==null){p.updateQueue=null;var T=p.stateNode;T===null&&(T=p.stateNode=new JJ),v.forEach(function(P){var V=lQ.bind(null,p,P);T.has(P)||(T.add(P),P.then(V,V))})}}function Mi(p,v){var T=v.deletions;if(T!==null)for(var P=0;PV&&(V=de),P&=~Y}if(P=V,P=We()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*tQ(P/1960))-P,10p?16:p,wl===null)var P=!1;else{if(p=wl,wl=null,Gh=0,(gr&6)!==0)throw Error(n(331));var V=gr;for(gr|=4,rn=p.current;rn!==null;){var Y=rn,de=Y.child;if((rn.flags&16)!==0){var De=Y.deletions;if(De!==null){for(var He=0;HeWe()-LS?Pc(p,0):MS|=T),Io(p,v)}function tP(p,v){v===0&&((p.mode&1)===0?v=1:(v=wr,wr<<=1,(wr&130023424)===0&&(wr=4194304)));var T=go();p=Ls(p,v),p!==null&&(On(p,v,T),Io(p,T))}function sQ(p){var v=p.memoizedState,T=0;v!==null&&(T=v.retryLane),tP(p,T)}function lQ(p,v){var T=0;switch(p.tag){case 13:var P=p.stateNode,V=p.memoizedState;V!==null&&(T=V.retryLane);break;case 19:P=p.stateNode;break;default:throw Error(n(314))}P!==null&&P.delete(v),tP(p,T)}var nP;nP=function(p,v,T){if(p!==null)if(p.memoizedProps!==v.pendingProps||So.current)wo=!0;else{if((p.lanes&T)===0&&(v.flags&128)===0)return wo=!1,YJ(p,v,T);wo=(p.flags&131072)!==0}else wo=!1,Qr&&(v.flags&1048576)!==0&&Dk(v,Eh,v.index);switch(v.lanes=0,v.tag){case 2:var P=v.type;Fh(p,v),p=v.pendingProps;var V=Xu(v,eo.current);nd(v,T),V=gS(null,v,P,p,V,T);var Y=mS();return v.flags|=1,typeof V=="object"&&V!==null&&typeof V.render=="function"&&V.$$typeof===void 0?(v.tag=1,v.memoizedState=null,v.updateQueue=null,Co(P)?(Y=!0,Sh(v)):Y=!1,v.memoizedState=V.state!==null&&V.state!==void 0?V.state:null,sS(v),V.updater=Lh,v.stateNode=V,V._reactInternals=v,SS(v,P,p,T),v=IS(null,v,P,!0,Y,T)):(v.tag=0,Qr&&Y&&Zx(v),po(null,v,V,T),v=v.child),v;case 16:P=v.elementType;e:{switch(Fh(p,v),p=v.pendingProps,V=P._init,P=V(P._payload),v.type=P,V=v.tag=uQ(P),p=Pi(P,p),V){case 0:v=ES(null,v,P,p,T);break e;case 1:v=R3(null,v,P,p,T);break e;case 11:v=w3(null,v,P,p,T);break e;case 14:v=E3(null,v,P,Pi(P.type,p),T);break e}throw Error(n(306,P,""))}return v;case 0:return P=v.type,V=v.pendingProps,V=v.elementType===P?V:Pi(P,V),ES(p,v,P,V,T);case 1:return P=v.type,V=v.pendingProps,V=v.elementType===P?V:Pi(P,V),R3(p,v,P,V,T);case 3:e:{if(O3(v),p===null)throw Error(n(387));P=v.pendingProps,Y=v.memoizedState,V=Y.element,Vk(p,v),$h(v,P,null,T);var de=v.memoizedState;if(P=de.element,Y.isDehydrated)if(Y={element:P,isDehydrated:!1,cache:de.cache,pendingSuspenseBoundaries:de.pendingSuspenseBoundaries,transitions:de.transitions},v.updateQueue.baseState=Y,v.memoizedState=Y,v.flags&256){V=ad(Error(n(423)),v),v=$3(p,v,P,T,V);break e}else if(P!==V){V=ad(Error(n(424)),v),v=$3(p,v,P,T,V);break e}else for(Fo=ml(v.stateNode.containerInfo.firstChild),jo=v,Qr=!0,ki=null,T=Hk(v,null,P,T),v.child=T;T;)T.flags=T.flags&-3|4096,T=T.sibling;else{if(Qu(),P===V){v=Fs(p,v,T);break e}po(p,v,P,T)}v=v.child}return v;case 5:return qk(v),p===null&&eS(v),P=v.type,V=v.pendingProps,Y=p!==null?p.memoizedProps:null,de=V.children,Wx(P,V)?de=null:Y!==null&&Wx(P,Y)&&(v.flags|=32),T3(p,v),po(p,v,de,T),v.child;case 6:return p===null&&eS(v),null;case 13:return N3(p,v,T);case 4:return lS(v,v.stateNode.containerInfo),P=v.pendingProps,p===null?v.child=ed(v,null,P,T):po(p,v,P,T),v.child;case 11:return P=v.type,V=v.pendingProps,V=v.elementType===P?V:Pi(P,V),w3(p,v,P,V,T);case 7:return po(p,v,v.pendingProps,T),v.child;case 8:return po(p,v,v.pendingProps.children,T),v.child;case 12:return po(p,v,v.pendingProps.children,T),v.child;case 10:e:{if(P=v.type._context,V=v.pendingProps,Y=v.memoizedProps,de=V.value,Fr(Th,P._currentValue),P._currentValue=de,Y!==null)if(Ai(Y.value,de)){if(Y.children===V.children&&!So.current){v=Fs(p,v,T);break e}}else for(Y=v.child,Y!==null&&(Y.return=v);Y!==null;){var De=Y.dependencies;if(De!==null){de=Y.child;for(var He=De.firstContext;He!==null;){if(He.context===P){if(Y.tag===1){He=js(-1,T&-T),He.tag=2;var lt=Y.updateQueue;if(lt!==null){lt=lt.shared;var It=lt.pending;It===null?He.next=He:(He.next=It.next,It.next=He),lt.pending=He}}Y.lanes|=T,He=Y.alternate,He!==null&&(He.lanes|=T),oS(Y.return,T,v),De.lanes|=T;break}He=He.next}}else if(Y.tag===10)de=Y.type===v.type?null:Y.child;else if(Y.tag===18){if(de=Y.return,de===null)throw Error(n(341));de.lanes|=T,De=de.alternate,De!==null&&(De.lanes|=T),oS(de,T,v),de=Y.sibling}else de=Y.child;if(de!==null)de.return=Y;else for(de=Y;de!==null;){if(de===v){de=null;break}if(Y=de.sibling,Y!==null){Y.return=de.return,de=Y;break}de=de.return}Y=de}po(p,v,V.children,T),v=v.child}return v;case 9:return V=v.type,P=v.pendingProps.children,nd(v,T),V=si(V),P=P(V),v.flags|=1,po(p,v,P,T),v.child;case 14:return P=v.type,V=Pi(P,v.pendingProps),V=Pi(P.type,V),E3(p,v,P,V,T);case 15:return I3(p,v,v.type,v.pendingProps,T);case 17:return P=v.type,V=v.pendingProps,V=v.elementType===P?V:Pi(P,V),Fh(p,v),v.tag=1,Co(P)?(p=!0,Sh(v)):p=!1,nd(v,T),h3(v,P,V),SS(v,P,V,T),IS(null,v,P,!0,p,T);case 19:return k3(p,v,T);case 22:return _3(p,v,T)}throw Error(n(156,v.tag))};function rP(p,v){return Jt(p,v)}function cQ(p,v,T,P){this.tag=p,this.key=T,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=v,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ui(p,v,T,P){return new cQ(p,v,T,P)}function WS(p){return p=p.prototype,!(!p||!p.isReactComponent)}function uQ(p){if(typeof p=="function")return WS(p)?1:0;if(p!=null){if(p=p.$$typeof,p===B)return 11;if(p===D)return 14}return 2}function _l(p,v){var T=p.alternate;return T===null?(T=ui(p.tag,v,p.key,p.mode),T.elementType=p.elementType,T.type=p.type,T.stateNode=p.stateNode,T.alternate=p,p.alternate=T):(T.pendingProps=v,T.type=p.type,T.flags=0,T.subtreeFlags=0,T.deletions=null),T.flags=p.flags&14680064,T.childLanes=p.childLanes,T.lanes=p.lanes,T.child=p.child,T.memoizedProps=p.memoizedProps,T.memoizedState=p.memoizedState,T.updateQueue=p.updateQueue,v=p.dependencies,T.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext},T.sibling=p.sibling,T.index=p.index,T.ref=p.ref,T}function Xh(p,v,T,P,V,Y){var de=2;if(P=p,typeof p=="function")WS(p)&&(de=1);else if(typeof p=="string")de=5;else e:switch(p){case R:return Mc(T.children,V,Y,v);case N:de=8,V|=8;break;case O:return p=ui(12,T,v,V|2),p.elementType=O,p.lanes=Y,p;case j:return p=ui(13,T,v,V),p.elementType=j,p.lanes=Y,p;case F:return p=ui(19,T,v,V),p.elementType=F,p.lanes=Y,p;case M:return Zh(T,V,Y,v);default:if(typeof p=="object"&&p!==null)switch(p.$$typeof){case $:de=10;break e;case A:de=9;break e;case B:de=11;break e;case D:de=14;break e;case k:de=16,P=null;break e}throw Error(n(130,p==null?p:typeof p,""))}return v=ui(de,T,v,V),v.elementType=p,v.type=P,v.lanes=Y,v}function Mc(p,v,T,P){return p=ui(7,p,P,v),p.lanes=T,p}function Zh(p,v,T,P){return p=ui(22,p,P,v),p.elementType=M,p.lanes=T,p.stateNode={isHidden:!1},p}function GS(p,v,T){return p=ui(6,p,null,v),p.lanes=T,p}function qS(p,v,T){return v=ui(4,p.children!==null?p.children:[],p.key,v),v.lanes=T,v.stateNode={containerInfo:p.containerInfo,pendingChildren:null,implementation:p.implementation},v}function dQ(p,v,T,P,V){this.tag=v,this.containerInfo=p,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ut(0),this.expirationTimes=Ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ut(0),this.identifierPrefix=P,this.onRecoverableError=V,this.mutableSourceEagerHydrationData=null}function KS(p,v,T,P,V,Y,de,De,He){return p=new dQ(p,v,T,De,He),v===1?(v=1,Y===!0&&(v|=8)):v=0,Y=ui(3,null,null,v),p.current=Y,Y.stateNode=p,Y.memoizedState={element:P,isDehydrated:T,cache:null,transitions:null,pendingSuspenseBoundaries:null},sS(Y),p}function fQ(p,v,T){var P=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),e1.exports=_Q(),e1.exports}var vP;function TQ(){if(vP)return av;vP=1;var e=OH();return av.createRoot=e.createRoot,av.hydrateRoot=e.hydrateRoot,av}var RQ=TQ();const OQ=co(RQ),$Q=(e,t,n,r)=>{var o,i,s,c;const a=[n,{code:t,...r||{}}];if((i=(o=e==null?void 0:e.services)==null?void 0:o.logger)!=null&&i.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);eu(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),(c=(s=e==null?void 0:e.services)==null?void 0:s.logger)!=null&&c.warn?e.services.logger.warn(...a):console!=null&&console.warn&&console.warn(...a)},bP={},GT=(e,t,n,r)=>{eu(n)&&bP[n]||(eu(n)&&(bP[n]=new Date),$Q(e,t,n,r))},$H=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},qT=(e,t,n)=>{e.loadNamespaces(t,$H(e,n))},yP=(e,t,n,r)=>{if(eu(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return qT(e,n,r);n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,$H(e,r))},NQ=(e,t,n={})=>!t.languages||!t.languages.length?(GT(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),eu=e=>typeof e=="string",AQ=e=>typeof e=="object"&&e!==null,kQ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,PQ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},DQ=e=>PQ[e],MQ=e=>e.replace(kQ,DQ);let KT={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:MQ};const LQ=(e={})=>{KT={...KT,...e}},jQ=()=>KT;let NH;const FQ=e=>{NH=e},BQ=()=>NH,zQ={type:"3rdParty",init(e){LQ(e.options.react),FQ(e)}},HQ=l.createContext();class UQ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const VQ=(e,t)=>{const n=l.useRef();return l.useEffect(()=>{n.current=e},[e,t]),n.current},AH=(e,t,n,r)=>e.getFixedT(t,n,r),WQ=(e,t,n,r)=>l.useCallback(AH(e,t,n,r),[e,t,n,r]),Yt=(e,t={})=>{var I,E,_,R;const{i18n:n}=t,{i18n:r,defaultNS:a}=l.useContext(HQ)||{},o=n||r||BQ();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new UQ),!o){GT(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const N=($,A)=>eu(A)?A:AQ(A)&&eu(A.defaultValue)?A.defaultValue:Array.isArray($)?$[$.length-1]:$,O=[N,{},!1];return O.t=N,O.i18n={},O.ready=!1,O}(I=o.options.react)!=null&&I.wait&>(o,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...jQ(),...o.options.react,...t},{useSuspense:s,keyPrefix:c}=i;let u=a||((E=o.options)==null?void 0:E.defaultNS);u=eu(u)?[u]:u||["translation"],(R=(_=o.reportNamespaces).addUsedNamespaces)==null||R.call(_,u);const f=(o.isInitialized||o.initializedStoreOnce)&&u.every(N=>NQ(N,o,i)),g=WQ(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),m=()=>g,h=()=>AH(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),[y,x]=l.useState(m);let b=u.join();t.lng&&(b=`${t.lng}${b}`);const C=VQ(b),S=l.useRef(!0);l.useEffect(()=>{const{bindI18n:N,bindI18nStore:O}=i;S.current=!0,!f&&!s&&(t.lng?yP(o,t.lng,u,()=>{S.current&&x(h)}):qT(o,u,()=>{S.current&&x(h)})),f&&C&&C!==b&&S.current&&x(h);const $=()=>{S.current&&x(h)};return N&&(o==null||o.on(N,$)),O&&(o==null||o.store.on(O,$)),()=>{S.current=!1,o&&(N==null||N.split(" ").forEach(A=>o.off(A,$))),O&&o&&O.split(" ").forEach(A=>o.store.off(A,$))}},[o,b]),l.useEffect(()=>{S.current&&f&&x(m)},[o,c,f]);const w=[y,o,f];if(w.t=y,w.i18n=o,w.ready=f,f||!f&&!s)return w;throw new Promise(N=>{t.lng?yP(o,t.lng,u,()=>N()):qT(o,u,()=>N())})},jn=e=>typeof e=="string",Dp=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},xP=e=>e==null?"":""+e,GQ=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},qQ=/###/g,SP=e=>e&&e.indexOf("###")>-1?e.replace(qQ,"."):e,CP=e=>!e||jn(e),cg=(e,t,n)=>{const r=jn(t)?t.split("."):t;let a=0;for(;a{const{obj:r,k:a}=cg(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let o=t[t.length-1],i=t.slice(0,t.length-1),s=cg(e,i,Object);for(;s.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),s=cg(e,i,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},KQ=(e,t,n,r)=>{const{obj:a,k:o}=cg(e,t,Object);a[o]=a[o]||[],a[o].push(n)},Mb=(e,t)=>{const{obj:n,k:r}=cg(e,t);if(n)return n[r]},YQ=(e,t,n)=>{const r=Mb(e,n);return r!==void 0?r:Mb(t,n)},kH=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?jn(e[r])||e[r]instanceof String||jn(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):kH(e[r],t[r],n):e[r]=t[r]);return e},cd=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var XQ={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const ZQ=e=>jn(e)?e.replace(/[&<>"'\/]/g,t=>XQ[t]):e;class JQ{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const QQ=[" ",",","?","!",";"],eee=new JQ(20),tee=(e,t,n)=>{t=t||"",n=n||"";const r=QQ.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=eee.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let o=!a.test(e);if(!o){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o},YT=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let o=0;o-1&&ce&&e.replace("_","-"),nee={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class jb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||nee,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{let[s,c]=i;for(let u=0;u{let[s,c]=i;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):jn(r)&&o?s.push(...r.split(o)):s.push(r)));const c=Mb(this.data,s);return!c&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),c||!i||!jn(r)?c:YT(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(s=t.split("."),a=n,n=s[1]),this.addNamespaces(n),wP(this.data,s,a),o.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(jn(r[o])||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),a=r,r=n,n=s[1]),this.addNamespaces(n);let c=Mb(this.data,s)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?kH(c,r,o):c={...c,...r},wP(this.data,s,c),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var PH={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,a))}),t}};const IP={};class Fb extends M0{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),GQ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=vs.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!tee(t,r,a);if(i&&!s){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:jn(o)?[o]:o};const u=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(a)}return{key:t,namespaces:jn(o)?[o]:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(t[t.length-1],n),c=s[s.length-1],u=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(f){const I=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${I}${i}`,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${I}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:i}const g=this.resolve(t,n);let m=g&&g.res;const h=g&&g.usedKey||i,y=g&&g.exactUsedKey||i,x=Object.prototype.toString.apply(m),b=["[object Number]","[object Function]","[object RegExp]"],C=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,w=!jn(m)&&typeof m!="boolean"&&typeof m!="number";if(S&&m&&w&&b.indexOf(x)<0&&!(jn(C)&&Array.isArray(m))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const I=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,m,{...n,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(g.res=I,g.usedParams=this.getUsedParamsDetails(n),g):I}if(o){const I=Array.isArray(m),E=I?[]:{},_=I?y:h;for(const R in m)if(Object.prototype.hasOwnProperty.call(m,R)){const N=`${_}${o}${R}`;E[R]=this.translate(N,{...n,joinArrays:!1,ns:s}),E[R]===N&&(E[R]=m[R])}m=E}}else if(S&&jn(C)&&Array.isArray(m))m=m.join(C),m&&(m=this.extendTranslation(m,t,n,r));else{let I=!1,E=!1;const _=n.count!==void 0&&!jn(n.count),R=Fb.hasDefaultValue(n),N=_?this.pluralResolver.getSuffix(u,n.count,n):"",O=n.ordinal&&_?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",$=_&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),A=$&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${N}`]||n[`defaultValue${O}`]||n.defaultValue;!this.isValidLookup(m)&&R&&(I=!0,m=A),this.isValidLookup(m)||(E=!0,m=i);const j=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&E?void 0:m,F=R&&A!==m&&this.options.updateMissing;if(E||I||F){if(this.logger.log(F?"updateKey":"missingKey",u,c,i,F?A:m),o){const L=this.resolve(i,{...n,keySeparator:!1});L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let D=[];const k=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&k&&k[0])for(let L=0;L{const z=R&&U!==m?U:j;this.options.missingKeyHandler?this.options.missingKeyHandler(L,c,H,z,F,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(L,c,H,z,F,n),this.emit("missingKey",L,c,H,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&_?D.forEach(L=>{const H=this.pluralResolver.getSuffixes(L,n);$&&n[`defaultValue${this.options.pluralSeparator}zero`]&&H.indexOf(`${this.options.pluralSeparator}zero`)<0&&H.push(`${this.options.pluralSeparator}zero`),H.forEach(U=>{M([L],i+U,n[`defaultValue${U}`]||A)})}):M(D,i,A))}m=this.extendTranslation(m,t,n,g,r),E&&m===i&&this.options.appendNamespaceToMissingKey&&(m=`${c}:${i}`),(E||I)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${i}`:i,I?m:void 0):m=this.options.parseMissingKeyHandler(m))}return a?(g.res=m,g.usedParams=this.getUsedParamsDetails(n),g):m}extendTranslation(t,n,r,a,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=jn(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(u){const m=t.match(this.interpolator.nestingRegexp);f=m&&m.length}let g=r.replace&&!jn(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(g={...this.options.interpolation.defaultVariables,...g}),t=this.interpolator.interpolate(t,g,r.lng||this.language||a.usedLng,r),u){const m=t.match(this.interpolator.nestingRegexp),h=m&&m.length;f1&&arguments[1]!==void 0?arguments[1]:{},r,a,o,i,s;return jn(t)&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(c,n),f=u.key;a=f;let g=u.namespaces;this.options.fallbackNS&&(g=g.concat(this.options.fallbackNS));const m=n.count!==void 0&&!jn(n.count),h=m&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),y=n.context!==void 0&&(jn(n.context)||typeof n.context=="number")&&n.context!=="",x=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);g.forEach(b=>{this.isValidLookup(r)||(s=b,!IP[`${x[0]}-${b}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(IP[`${x[0]}-${b}`]=!0,this.logger.warn(`key "${a}" for languages "${x.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),x.forEach(C=>{if(this.isValidLookup(r))return;i=C;const S=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(S,f,C,b,n);else{let I;m&&(I=this.pluralResolver.getSuffix(C,n.count,n));const E=`${this.options.pluralSeparator}zero`,_=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(S.push(f+I),n.ordinal&&I.indexOf(_)===0&&S.push(f+I.replace(_,this.options.pluralSeparator)),h&&S.push(f+E)),y){const R=`${f}${this.options.contextSeparator}${n.context}`;S.push(R),m&&(S.push(R+I),n.ordinal&&I.indexOf(_)===0&&S.push(R+I.replace(_,this.options.pluralSeparator)),h&&S.push(R+E))}}let w;for(;w=S.pop();)this.isValidLookup(r)||(o=w,r=this.getResource(C,b,w,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!jn(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const o of n)delete a[o]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const r1=e=>e.charAt(0).toUpperCase()+e.slice(1);class _P{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=vs.create("languageUtils")}getScriptPartFromCode(t){if(t=Lb(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Lb(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(jn(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let a=Intl.getCanonicalLocales(t)[0];if(a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a)return a}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=r1(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=r1(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=r1(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(o=>{if(o===a)return o;if(!(o.indexOf("-")<0&&a.indexOf("-")<0)&&(o.indexOf("-")>0&&a.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===a||o.indexOf(a)===0&&a.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),jn(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],o=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return jn(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):jn(t)&&o(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}let ree=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],aee={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const oee=["v1","v2","v3"],iee=["v4"],TP={zero:0,one:1,two:2,few:3,many:4,other:5},see=()=>{const e={};return ree.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:aee[t.fc]}})}),e};class lee{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=vs.create("pluralResolver"),(!this.options.compatibilityJSON||iee.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=see(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=Lb(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(r,{type:a})}catch{if(!t.match(/-|_/))return;const c=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(c,n)}return this.pluralRulesCache[o]=i,i}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,o)=>TP[a]-TP[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const o=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!oee.includes(this.options.compatibilityJSON)}}const RP=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=YQ(e,t,n);return!o&&a&&jn(n)&&(o=YT(e,n,r),o===void 0&&(o=YT(t,n,r))),o},a1=e=>e.replace(/\$/g,"$$$$");class cee{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=vs.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:o,prefixEscaped:i,suffix:s,suffixEscaped:c,formatSeparator:u,unescapeSuffix:f,unescapePrefix:g,nestingPrefix:m,nestingPrefixEscaped:h,nestingSuffix:y,nestingSuffixEscaped:x,nestingOptionsSeparator:b,maxReplaces:C,alwaysFormat:S}=t.interpolation;this.escape=n!==void 0?n:ZQ,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?cd(o):i||"{{",this.suffix=s?cd(s):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=f?"":g||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=m?cd(m):h||cd("$t("),this.nestingSuffix=y?cd(y):x||cd(")"),this.nestingOptionsSeparator=b||",",this.maxReplaces=C||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let o,i,s;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=h=>{if(h.indexOf(this.formatSeparator)<0){const C=RP(n,c,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(C,void 0,r,{...a,...n,interpolationkey:h}):C}const y=h.split(this.formatSeparator),x=y.shift().trim(),b=y.join(this.formatSeparator).trim();return this.format(RP(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),b,r,{...a,...n,interpolationkey:x})};this.resetRegExp();const f=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,g=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:h=>a1(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?a1(this.escape(h)):a1(h)}].forEach(h=>{for(s=0;o=h.regex.exec(t);){const y=o[1].trim();if(i=u(y),i===void 0)if(typeof f=="function"){const b=f(t,o,a);i=jn(b)?b:""}else if(a&&Object.prototype.hasOwnProperty.call(a,y))i="";else if(g){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),i="";else!jn(i)&&!this.useRawValueToEscape&&(i=xP(i));const x=h.safeValue(i);if(t=t.replace(o[0],x),g?(h.regex.lastIndex+=i.length,h.regex.lastIndex-=o[0].length):h.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;const s=(c,u)=>{const f=this.nestingOptionsSeparator;if(c.indexOf(f)<0)return c;const g=c.split(new RegExp(`${f}[ ]*{`));let m=`{${g[1]}`;c=g[0],m=this.interpolate(m,i);const h=m.match(/'/g),y=m.match(/"/g);(h&&h.length%2===0&&!y||y.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),u&&(i={...u,...i})}catch(x){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,x),`${c}${f}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];i={...r},i=i.replace&&!jn(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const f=a[1].split(this.formatSeparator).map(g=>g.trim());a[1]=f.shift(),c=f,u=!0}if(o=n(s.call(this,a[1].trim(),i),i),o&&a[0]===t&&!jn(o))return o;jn(o)||(o=xP(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),u&&(o=c.reduce((f,g)=>this.format(f,g,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const uee=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[s,...c]=i.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),f=s.trim();n[f]||(n[f]=u),u==="false"&&(n[f]=!1),u==="true"&&(n[f]=!0),isNaN(u)||(n[f]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},ud=e=>{const t={};return(n,r,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});const i=r+JSON.stringify(o);let s=t[i];return s||(s=e(Lb(r),a),t[i]=s),s(n)}};class dee{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=vs.create("formatter"),this.options=t,this.formats={number:ud((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:ud((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:ud((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:ud((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:ud((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=ud(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(s=>s.indexOf(")")>-1)){const s=o.findIndex(c=>c.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,s)].join(this.formatSeparator)}return o.reduce((s,c)=>{const{formatName:u,formatOptions:f}=uee(c);if(this.formats[u]){let g=s;try{const m=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},h=m.locale||m.lng||a.locale||a.lng||r;g=this.formats[u](s,h,{...f,...a,...m})}catch(m){this.logger.warn(m)}return g}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const fee=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class pee extends M0{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=vs.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const o={},i={},s={},c={};return t.forEach(u=>{let f=!0;n.forEach(g=>{const m=`${u}|${g}`;!r.reload&&this.store.hasResourceBundle(u,g)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,f=!1,i[m]===void 0&&(i[m]=!0),o[m]===void 0&&(o[m]=!0),c[g]===void 0&&(c[g]=!0)))}),f||(s[u]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const a=t.split("|"),o=a[0],i=a[1];n&&this.emit("failedLoading",o,i,n),!n&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(c=>{KQ(c.loaded,[o],i),fee(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{s[u]||(s[u]={});const f=c.loaded[u];f.length&&f.forEach(g=>{s[u][g]===void 0&&(s[u][g]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:o,callback:i});return}this.readingCalls++;const s=(u,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const g=this.waitingReads.shift();this.read(g.lng,g.ns,g.fcName,g.tried,g.wait,g.callback)}if(u&&f&&a{this.read.call(this,t,n,r,a+1,o*2,i)},o);return}i(u,f)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(f=>s(null,f)).catch(s):s(null,u)}catch(u){s(u)}return}return c(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();jn(t)&&(t=this.languageUtils.toResolveHierarchy(t)),jn(n)&&(n=[n]);const o=this.queueLoad(t,n,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(i,s)=>{i&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,i),!i&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,s),this.loaded(t,i,s)})}saveMissing(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const c={...i,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let f;u.length===5?f=u(t,n,r,a,c):f=u(t,n,r,a),f&&typeof f.then=="function"?f.then(g=>s(null,g)).catch(s):s(null,f)}catch(f){s(f)}else u(t,n,r,a,s,c)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const OP=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),jn(e[1])&&(t.defaultValue=e[1]),jn(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),$P=e=>(jn(e.ns)&&(e.ns=[e.ns]),jn(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),jn(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),ov=()=>{},gee=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Rg extends M0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=$P(t),this.services={},this.logger=vs,this.modules={external:[]},gee(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(jn(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=OP();this.options={...a,...this.options,...$P(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=f=>f?typeof f=="function"?new f:f:null;if(!this.options.isClone){this.modules.logger?vs.init(o(this.modules.logger),this.options):vs.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=dee);const g=new _P(this.options);this.store=new EP(this.options.resources,this.options);const m=this.services;m.logger=vs,m.resourceStore=this.store,m.languageUtils=g,m.pluralResolver=new lee(g,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=o(f),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new cee(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new pee(o(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(h){for(var y=arguments.length,x=new Array(y>1?y-1:0),b=1;b1?y-1:0),b=1;b{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,r||(r=ov),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=function(){return t.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return t.store[f](...arguments),t}});const c=Dp(),u=()=>{const f=(g,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(m),r(g,m)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ov;const a=jn(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],i=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&o.indexOf(u)<0&&o.push(u)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>i(c)),this.options.preload&&this.options.preload.forEach(s=>i(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const a=Dp();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=ov),this.services.backendConnector.reload(t,n,o=>{a.resolve(),r(o)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&PH.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=Dp();this.emit("languageChanging",t);const o=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},i=(c,u)=>{u?(o(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},s=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=jn(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,f=>{i(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),a}getFixedT(t,n,r){var a=this;const o=function(i,s){let c;if(typeof s!="object"){for(var u=arguments.length,f=new Array(u>2?u-2:0),g=2;g`${c.keyPrefix}${m}${y}`):h=c.keyPrefix?`${c.keyPrefix}${m}${i}`:i,a.t(h,c)};return jn(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(s,c)=>{const u=this.services.backendConnector.state[`${s}|${c}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,i);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(o,t)))}loadNamespaces(t,n){const r=Dp();return this.options.ns?(jn(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Dp();jn(t)&&(t=[t]);const a=this.options.preload||[],o=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return o.length?(this.options.preload=a.concat(o),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new _P(OP());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Rg(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ov;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new Rg(a);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new EP(this.store.data,a),o.services.resourceStore=o.store),o.translator=new Fb(o.services,a),o.translator.on("*",function(s){for(var c=arguments.length,u=new Array(c>1?c-1:0),f=1;f"u"?"undefined":XT(XMLHttpRequest))==="object"}function mee(e){return!!e&&typeof e.then=="function"}function hee(e){return mee(e)?e:Promise.resolve(e)}function vee(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var iv={exports:{}},sv={exports:{}},NP;function bee(){return NP||(NP=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Js<"u"&&Js,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(i){var s=typeof o<"u"&&o||typeof self<"u"&&self||typeof s<"u"&&s,c={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function u(D){return D&&DataView.prototype.isPrototypeOf(D)}if(c.arrayBuffer)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=ArrayBuffer.isView||function(D){return D&&f.indexOf(Object.prototype.toString.call(D))>-1};function m(D){if(typeof D!="string"&&(D=String(D)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(D)||D==="")throw new TypeError('Invalid character in header field name: "'+D+'"');return D.toLowerCase()}function h(D){return typeof D!="string"&&(D=String(D)),D}function y(D){var k={next:function(){var M=D.shift();return{done:M===void 0,value:M}}};return c.iterable&&(k[Symbol.iterator]=function(){return k}),k}function x(D){this.map={},D instanceof x?D.forEach(function(k,M){this.append(M,k)},this):Array.isArray(D)?D.forEach(function(k){this.append(k[0],k[1])},this):D&&Object.getOwnPropertyNames(D).forEach(function(k){this.append(k,D[k])},this)}x.prototype.append=function(D,k){D=m(D),k=h(k);var M=this.map[D];this.map[D]=M?M+", "+k:k},x.prototype.delete=function(D){delete this.map[m(D)]},x.prototype.get=function(D){return D=m(D),this.has(D)?this.map[D]:null},x.prototype.has=function(D){return this.map.hasOwnProperty(m(D))},x.prototype.set=function(D,k){this.map[m(D)]=h(k)},x.prototype.forEach=function(D,k){for(var M in this.map)this.map.hasOwnProperty(M)&&D.call(k,this.map[M],M,this)},x.prototype.keys=function(){var D=[];return this.forEach(function(k,M){D.push(M)}),y(D)},x.prototype.values=function(){var D=[];return this.forEach(function(k){D.push(k)}),y(D)},x.prototype.entries=function(){var D=[];return this.forEach(function(k,M){D.push([M,k])}),y(D)},c.iterable&&(x.prototype[Symbol.iterator]=x.prototype.entries);function b(D){if(D.bodyUsed)return Promise.reject(new TypeError("Already read"));D.bodyUsed=!0}function C(D){return new Promise(function(k,M){D.onload=function(){k(D.result)},D.onerror=function(){M(D.error)}})}function S(D){var k=new FileReader,M=C(k);return k.readAsArrayBuffer(D),M}function w(D){var k=new FileReader,M=C(k);return k.readAsText(D),M}function I(D){for(var k=new Uint8Array(D),M=new Array(k.length),L=0;L-1?k:D}function O(D,k){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');k=k||{};var M=k.body;if(D instanceof O){if(D.bodyUsed)throw new TypeError("Already read");this.url=D.url,this.credentials=D.credentials,k.headers||(this.headers=new x(D.headers)),this.method=D.method,this.mode=D.mode,this.signal=D.signal,!M&&D._bodyInit!=null&&(M=D._bodyInit,D.bodyUsed=!0)}else this.url=String(D);if(this.credentials=k.credentials||this.credentials||"same-origin",(k.headers||!this.headers)&&(this.headers=new x(k.headers)),this.method=N(k.method||this.method||"GET"),this.mode=k.mode||this.mode||null,this.signal=k.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&M)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(M),(this.method==="GET"||this.method==="HEAD")&&(k.cache==="no-store"||k.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var H=/\?/;this.url+=(H.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}O.prototype.clone=function(){return new O(this,{body:this._bodyInit})};function $(D){var k=new FormData;return D.trim().split("&").forEach(function(M){if(M){var L=M.split("="),H=L.shift().replace(/\+/g," "),U=L.join("=").replace(/\+/g," ");k.append(decodeURIComponent(H),decodeURIComponent(U))}}),k}function A(D){var k=new x,M=D.replace(/\r?\n[\t ]+/g," ");return M.split("\r").map(function(L){return L.indexOf(` +`)===0?L.substr(1,L.length):L}).forEach(function(L){var H=L.split(":"),U=H.shift().trim();if(U){var z=H.join(":").trim();k.append(U,z)}}),k}_.call(O.prototype);function B(D,k){if(!(this instanceof B))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');k||(k={}),this.type="default",this.status=k.status===void 0?200:k.status,this.ok=this.status>=200&&this.status<300,this.statusText=k.statusText===void 0?"":""+k.statusText,this.headers=new x(k.headers),this.url=k.url||"",this._initBody(D)}_.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new x(this.headers),url:this.url})},B.error=function(){var D=new B(null,{status:0,statusText:""});return D.type="error",D};var j=[301,302,303,307,308];B.redirect=function(D,k){if(j.indexOf(k)===-1)throw new RangeError("Invalid status code");return new B(null,{status:k,headers:{location:D}})},i.DOMException=s.DOMException;try{new i.DOMException}catch{i.DOMException=function(k,M){this.message=k,this.name=M;var L=Error(k);this.stack=L.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function F(D,k){return new Promise(function(M,L){var H=new O(D,k);if(H.signal&&H.signal.aborted)return L(new i.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function z(){U.abort()}U.onload=function(){var q={status:U.status,statusText:U.statusText,headers:A(U.getAllResponseHeaders()||"")};q.url="responseURL"in U?U.responseURL:q.headers.get("X-Request-URL");var K="response"in U?U.response:U.responseText;setTimeout(function(){M(new B(K,q))},0)},U.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},U.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},U.onabort=function(){setTimeout(function(){L(new i.DOMException("Aborted","AbortError"))},0)};function W(q){try{return q===""&&s.location.href?s.location.href:q}catch{return q}}U.open(H.method,W(H.url),!0),H.credentials==="include"?U.withCredentials=!0:H.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&(c.blob?U.responseType="blob":c.arrayBuffer&&H.headers.get("Content-Type")&&H.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(U.responseType="arraybuffer")),k&&typeof k.headers=="object"&&!(k.headers instanceof x)?Object.getOwnPropertyNames(k.headers).forEach(function(q){U.setRequestHeader(q,h(k.headers[q]))}):H.headers.forEach(function(q,K){U.setRequestHeader(K,q)}),H.signal&&(H.signal.addEventListener("abort",z),U.onreadystatechange=function(){U.readyState===4&&H.signal.removeEventListener("abort",z)}),U.send(typeof H._bodyInit>"u"?null:H._bodyInit)})}return F.polyfill=!0,s.fetch||(s.fetch=F,s.Headers=x,s.Request=O,s.Response=B),i.Headers=x,i.Request=O,i.Response=B,i.fetch=F,i})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=n.fetch?n:r;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t}(sv,sv.exports)),sv.exports}var AP;function yee(){return AP||(AP=1,function(e,t){var n=typeof fetch=="function"?fetch:void 0;if(typeof Js<"u"&&Js.fetch?n=Js.fetch:typeof window<"u"&&window.fetch&&(n=window.fetch),typeof vee<"u"&&typeof window>"u"){var r=n||bee();r.default&&(r=r.default),t.default=r,e.exports=t.default}}(iv,iv.exports)),iv.exports}var MH=yee();const LH=co(MH),kP=f$({__proto__:null,default:LH},[MH]);function PP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function DP(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(o["Content-Type"]="application/json");var i=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=DP({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},LP?{}:i),c=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{MP(n,s,a,c)}catch(u){if(!i||Object.keys(i).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(i).forEach(function(f){delete s[f]}),MP(n,s,a,c),LP=!0}catch(f){a(f)}}},Eee=function(t,n,r,a){r&&cu(r)==="object"&&(r=ZT("",r).slice(1)),t.queryStringParams&&(n=ZT(n,t.queryStringParams));try{var o;Og?o=new Og:o=new Bb("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var i=t.customHeaders;if(i=typeof i=="function"?i():i,i)for(var s in i)o.setRequestHeader(s,i[s]);o.onreadystatechange=function(){o.readyState>3&&a(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(c){console&&console.log(c)}},Iee=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},ec&&n.indexOf("file:")!==0)return wee(t,n,r,a);if(DH()||typeof ActiveXObject=="function")return Eee(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function ef(e){"@babel/helpers - typeof";return ef=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},ef(e)}function jP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function o1(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_ee(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return Ree(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=o1(o1(o1({},$ee()),this.options||{}),a),this.allOptions=o,this.services&&this.options.reloadInterval){var i=setInterval(function(){return r.reload()},this.options.reloadInterval);ef(i)==="object"&&typeof i.unref=="function"&&i.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,o,i){var s=this,c=this.options.loadPath;typeof this.options.loadPath=="function"&&(c=this.options.loadPath(n,a)),c=hee(c),c.then(function(u){if(!u)return i(null,{});var f=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:a.join("+")});s.loadUrl(f,i,r,o)})}},{key:"loadUrl",value:function(n,r,a,o){var i=this,s=typeof a=="string"?[a]:a,c=typeof o=="string"?[o]:o,u=this.options.parseLoadPayload(s,c);this.options.request(this.options,n,u,function(f,g){if(g&&(g.status>=500&&g.status<600||!g.status))return r("failed loading "+n+"; status code: "+g.status,!0);if(g&&g.status>=400&&g.status<500)return r("failed loading "+n+"; status code: "+g.status,!1);if(!g&&f&&f.message){var m=f.message.toLowerCase(),h=["failed","fetch","network","load"].find(function(b){return m.indexOf(b)>-1});if(h)return r("failed loading "+n+": "+f.message,!0)}if(f)return r(f,!1);var y,x;try{typeof g.data=="string"?y=i.options.parse(g.data,a,o):y=g.data}catch{x="failed parsing "+n+" to json"}if(x)return r(x,!1);r(null,y)})}},{key:"create",value:function(n,r,a,o,i){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var c=this.options.parsePayload(r,a,o),u=0,f=[],g=[];n.forEach(function(m){var h=s.options.addPath;typeof s.options.addPath=="function"&&(h=s.options.addPath(m,r));var y=s.services.interpolator.interpolate(h,{lng:m,ns:r});s.options.request(s.options,y,c,function(x,b){u+=1,f.push(x),g.push(b),u===n.length&&typeof i=="function"&&i(f,g)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,o=r.languageUtils,i=r.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var c=[],u=function(g){var m=o.toResolveHierarchy(g);m.forEach(function(h){c.indexOf(h)<0&&c.push(h)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(f){return u(f)}),c.forEach(function(f){n.allOptions.ns.forEach(function(g){a.read(f,g,"read",null,null,function(m,h){m&&i.warn("loading namespace ".concat(g," for language ").concat(f," failed"),m),!m&&h&&i.log("loaded namespace ".concat(g," for language ").concat(f),h),a.loaded("".concat(f,"|").concat(g),m,h)})})})}}}])}();BH.type="backend";const{slice:Nee,forEach:Aee}=[];function kee(e){return Aee.call(Nee.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const FP=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Pee=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(t);let o=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!FP.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!FP.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},BP={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=Pee(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const i=a.substring(1).split("&");for(let s=0;s0&&i[s].substring(0,c)===t&&(n=i[s].substring(c+1))}}return n}};let dd=null;const zP=()=>{if(dd!==null)return dd;try{if(dd=typeof window<"u"&&window.localStorage!==null,!dd)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{dd=!1}return dd};var Lee={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&zP())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&zP()&&window.localStorage.setItem(n,e)}};let fd=null;const HP=()=>{if(fd!==null)return fd;try{if(fd=typeof window<"u"&&window.sessionStorage!==null,!fd)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{fd=!1}return fd};var jee={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&HP())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&HP()&&window.sessionStorage.setItem(n,e)}},Fee={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let o=0;o0?t:void 0}},Bee={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},zee={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},Hee={name:"subdomain",lookup(e){var a,o;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((o=(a=window.location)==null?void 0:a.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};let zH=!1;try{document.cookie,zH=!0}catch{}const HH=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];zH||HH.splice(1,1);const Uee=()=>({order:HH,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class UH{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=kee(n,this.options||{},Uee()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(Dee),this.addDetector(Mee),this.addDetector(Lee),this.addDetector(jee),this.addDetector(Fee),this.addDetector(Bee),this.addDetector(zee),this.addDetector(Hee)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}UH.type="languageDetector";Ur.use(BH).use(UH).use(zQ).init({supportedLngs:["en","de","fr","es"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});var Ka=OH();const $g=co(Ka),Vee=f$({__proto__:null,default:$g},[Ka]);/** + * @remix-run/router v1.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ng(){return Ng=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function VH(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Gee(){return Math.random().toString(36).substr(2,8)}function VP(e,t){return{usr:e.state,key:e.key,idx:t}}function JT(e,t,n,r){return n===void 0&&(n=null),Ng({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?_f(t):t,{state:n,key:t&&t.key||r||Gee()})}function zb(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function _f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function qee(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,s=Bl.Pop,c=null,u=f();u==null&&(u=0,i.replaceState(Ng({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function g(){s=Bl.Pop;let b=f(),C=b==null?null:b-u;u=b,c&&c({action:s,location:x.location,delta:C})}function m(b,C){s=Bl.Push;let S=JT(x.location,b,C);u=f()+1;let w=VP(S,u),I=x.createHref(S);try{i.pushState(w,"",I)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;a.location.assign(I)}o&&c&&c({action:s,location:x.location,delta:1})}function h(b,C){s=Bl.Replace;let S=JT(x.location,b,C);u=f();let w=VP(S,u),I=x.createHref(S);i.replaceState(w,"",I),o&&c&&c({action:s,location:x.location,delta:0})}function y(b){let C=a.location.origin!=="null"?a.location.origin:a.location.href,S=typeof b=="string"?b:zb(b);return S=S.replace(/ $/,"%20"),va(C,"No window.location.(origin|href) available to create URL for href: "+S),new URL(S,C)}let x={get action(){return s},get location(){return e(a,i)},listen(b){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(UP,g),c=b,()=>{a.removeEventListener(UP,g),c=null}},createHref(b){return t(a,b)},createURL:y,encodeLocation(b){let C=y(b);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:m,replace:h,go(b){return i.go(b)}};return x}var WP;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(WP||(WP={}));function Kee(e,t,n){return n===void 0&&(n="/"),Yee(e,t,n)}function Yee(e,t,n,r){let a=typeof t=="string"?_f(t):t,o=g$(a.pathname||"/",n);if(o==null)return null;let i=WH(e);Xee(i);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};c.relativePath.startsWith("/")&&(va(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=ql([r,c.relativePath]),f=n.concat(c);o.children&&o.children.length>0&&(va(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),WH(o.children,t,f,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:rte(u,o.index),routesMeta:f})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))a(o,i);else for(let c of GH(o.path))a(o,i,c)}),t}function GH(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let i=GH(r.join("/")),s=[];return s.push(...i.map(c=>c===""?o:[o,c].join("/"))),a&&s.push(...i),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function Xee(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ate(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Zee=/^:[\w-]+$/,Jee=3,Qee=2,ete=1,tte=10,nte=-2,GP=e=>e==="*";function rte(e,t){let n=e.split("/"),r=n.length;return n.some(GP)&&(r+=nte),t&&(r+=Qee),n.filter(a=>!GP(a)).reduce((a,o)=>a+(Zee.test(o)?Jee:o===""?ete:tte),r)}function ate(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function ote(e,t,n){let{routesMeta:r}=e,a={},o="/",i=[];for(let s=0;s{let{paramName:m,isOptional:h}=f;if(m==="*"){let x=s[g]||"";i=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const y=s[g];return h&&!y?u[m]=void 0:u[m]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function ste(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),VH(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function lte(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return VH(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function g$(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function cte(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?_f(e):e;return{pathname:n?n.startsWith("/")?n:ute(n,t):t,search:pte(r),hash:gte(a)}}function ute(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function i1(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function dte(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function qH(e,t){let n=dte(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function KH(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=_f(e):(a=Ng({},e),va(!a.pathname||!a.pathname.includes("?"),i1("?","pathname","search",a)),va(!a.pathname||!a.pathname.includes("#"),i1("#","pathname","hash",a)),va(!a.search||!a.search.includes("#"),i1("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,s;if(i==null)s=n;else{let g=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),g-=1;a.pathname=m.join("/")}s=g>=0?t[g]:"/"}let c=cte(a,s),u=i&&i!=="/"&&i.endsWith("/"),f=(o||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||f)&&(c.pathname+="/"),c}const ql=e=>e.join("/").replace(/\/\/+/g,"/"),fte=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),pte=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gte=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function mte(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const YH=["post","put","patch","delete"];new Set(YH);const hte=["get",...YH];new Set(hte);/** + * React Router v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ag(){return Ag=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),l.useCallback(function(u,f){if(f===void 0&&(f={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let g=KH(u,JSON.parse(i),o,f.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:ql([t,g.pathname])),(f.replace?r.replace:r.push)(g,f.state,f)},[t,r,i,o,e])}function xte(){let{matches:e}=l.useContext(cc),t=e[e.length-1];return t?t.params:{}}function JH(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=l.useContext(Eu),{matches:a}=l.useContext(cc),{pathname:o}=ei(),i=JSON.stringify(qH(a,r.v7_relativeSplatPath));return l.useMemo(()=>KH(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function Ste(e,t){return Cte(e,t)}function Cte(e,t,n,r){mm()||va(!1);let{navigator:a,static:o}=l.useContext(Eu),{matches:i}=l.useContext(cc),s=i[i.length-1],c=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let f=ei(),g;if(t){var m;let C=typeof t=="string"?_f(t):t;u==="/"||(m=C.pathname)!=null&&m.startsWith(u)||va(!1),g=C}else g=f;let h=g.pathname||"/",y=h;if(u!=="/"){let C=u.replace(/^\//,"").split("/");y="/"+h.replace(/^\//,"").split("/").slice(C.length).join("/")}let x=Kee(e,{pathname:y}),b=Tte(x&&x.map(C=>Object.assign({},C,{params:Object.assign({},c,C.params),pathname:ql([u,a.encodeLocation?a.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?u:ql([u,a.encodeLocation?a.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&b?l.createElement(L0.Provider,{value:{location:Ag({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Bl.Pop}},b):b}function wte(){let e=Nte(),t=mte(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},t),n?l.createElement("pre",{style:a},n):null,null)}const Ete=l.createElement(wte,null);class Ite extends l.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?l.createElement(cc.Provider,{value:this.props.routeContext},l.createElement(XH.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function _te(e){let{routeContext:t,match:n,children:r}=e,a=l.useContext(m$);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(cc.Provider,{value:t},r)}function Tte(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(a=n)==null?void 0:a.errors;if(s!=null){let f=i.findIndex(g=>g.route.id&&(s==null?void 0:s[g.route.id])!==void 0);f>=0||va(!1),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((f,g,m)=>{let h,y=!1,x=null,b=null;n&&(h=s&&g.route.id?s[g.route.id]:void 0,x=g.route.errorElement||Ete,c&&(u<0&&m===0?(kte("route-fallback"),y=!0,b=null):u===m&&(y=!0,b=g.route.hydrateFallbackElement||null)));let C=t.concat(i.slice(0,m+1)),S=()=>{let w;return h?w=x:y?w=b:g.route.Component?w=l.createElement(g.route.Component,null):g.route.element?w=g.route.element:w=f,l.createElement(_te,{match:g,routeContext:{outlet:f,matches:C,isDataRoute:n!=null},children:w})};return n&&(g.route.ErrorBoundary||g.route.errorElement||m===0)?l.createElement(Ite,{location:n.location,revalidation:n.revalidation,component:x,error:h,children:S(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):S()},null)}var QH=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(QH||{}),e9=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(e9||{});function Rte(e){let t=l.useContext(m$);return t||va(!1),t}function Ote(e){let t=l.useContext(vte);return t||va(!1),t}function $te(e){let t=l.useContext(cc);return t||va(!1),t}function t9(e){let t=$te(),n=t.matches[t.matches.length-1];return n.route.id||va(!1),n.route.id}function Nte(){var e;let t=l.useContext(XH),n=Ote(),r=t9();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Ate(){let{router:e}=Rte(QH.UseNavigateStable),t=t9(e9.UseNavigateStable),n=l.useRef(!1);return ZH(()=>{n.current=!0}),l.useCallback(function(a,o){o===void 0&&(o={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Ag({fromRouteId:t},o)))},[e,t])}const qP={};function kte(e,t,n){qP[e]||(qP[e]=!0)}function Pte(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Wn(e){va(!1)}function Dte(e){let{basename:t="/",children:n=null,location:r,navigationType:a=Bl.Pop,navigator:o,static:i=!1,future:s}=e;mm()&&va(!1);let c=t.replace(/^\/*/,"/"),u=l.useMemo(()=>({basename:c,navigator:o,static:i,future:Ag({v7_relativeSplatPath:!1},s)}),[c,s,o,i]);typeof r=="string"&&(r=_f(r));let{pathname:f="/",search:g="",hash:m="",state:h=null,key:y="default"}=r,x=l.useMemo(()=>{let b=g$(f,c);return b==null?null:{location:{pathname:b,search:g,hash:m,state:h,key:y},navigationType:a}},[c,f,g,m,h,y,a]);return x==null?null:l.createElement(Eu.Provider,{value:u},l.createElement(L0.Provider,{children:n,value:x}))}function Mte(e){let{children:t,location:n}=e;return Ste(QT(t),n)}new Promise(()=>{});function QT(e,t){t===void 0&&(t=[]);let n=[];return l.Children.forEach(e,(r,a)=>{if(!l.isValidElement(r))return;let o=[...t,a];if(r.type===l.Fragment){n.push.apply(n,QT(r.props.children,o));return}r.type!==Wn&&va(!1),!r.props.index||!r.props.children||va(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=QT(r.props.children,o)),n.push(i)}),n}/** + * React Router DOM v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function eR(){return eR=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function jte(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Fte(e,t){return e.button===0&&(!t||t==="_self")&&!jte(e)}const Bte=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],zte="6";try{window.__reactRouterVersion=zte}catch{}const Hte="startTransition",KP=gm[Hte];function Ute(e){let{basename:t,children:n,future:r,window:a}=e,o=l.useRef();o.current==null&&(o.current=Wee({window:a,v5Compat:!0}));let i=o.current,[s,c]=l.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},f=l.useCallback(g=>{u&&KP?KP(()=>c(g)):c(g)},[c,u]);return l.useLayoutEffect(()=>i.listen(f),[i,f]),l.useEffect(()=>Pte(r),[r]),l.createElement(Dte,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const Vte=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Wte=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vt=l.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:o,replace:i,state:s,target:c,to:u,preventScrollReset:f,viewTransition:g}=t,m=Lte(t,Bte),{basename:h}=l.useContext(Eu),y,x=!1;if(typeof u=="string"&&Wte.test(u)&&(y=u,Vte))try{let w=new URL(window.location.href),I=u.startsWith("//")?new URL(w.protocol+u):new URL(u),E=g$(I.pathname,h);I.origin===w.origin&&E!=null?u=E+I.search+I.hash:x=!0}catch{}let b=bte(u,{relative:a}),C=Gte(u,{replace:i,state:s,target:c,preventScrollReset:f,relative:a,viewTransition:g});function S(w){r&&r(w),w.defaultPrevented||C(w)}return l.createElement("a",eR({},m,{href:y||b,onClick:x||o?r:S,ref:n,target:c}))});var YP;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(YP||(YP={}));var XP;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(XP||(XP={}));function Gte(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:i,viewTransition:s}=t===void 0?{}:t,c=uc(),u=ei(),f=JH(e,{relative:i});return l.useCallback(g=>{if(Fte(g,n)){g.preventDefault();let m=r!==void 0?r:zb(u)===zb(f);c(e,{replace:m,state:a,preventScrollReset:o,relative:i,viewTransition:s})}},[u,c,f,r,a,n,e,o,i,s])}var s1={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/var ZP;function qte(){return ZP||(ZP=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",i=0;i1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ge.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(aa(r)):n9(r)&&r.props?n=n.concat(aa(r.props.children,t)):n.push(r))}),n}var tR={},Jte=function(t){};function Qte(e,t){}function ene(e,t){}function tne(){tR={}}function r9(e,t,n){!t&&!tR[n]&&(e(!1,n),tR[n]=!0)}function ar(e,t){r9(Qte,e,t)}function nne(e,t){r9(ene,e,t)}ar.preMessage=Jte;ar.resetWarned=tne;ar.noteOnce=nne;function rne(e,t){if(Pt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function a9(e){var t=rne(e,"string");return Pt(t)=="symbol"?t:t+""}function re(e,t,n){return(t=a9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function se(e){for(var t=1;t=19)return!0;var a=c1.isMemo(t)?t.type.type:t.type;return!(typeof a=="function"&&!((n=a.prototype)!==null&&n!==void 0&&n.render)&&a.$$typeof!==c1.ForwardRef||typeof t=="function"&&!((r=t.prototype)!==null&&r!==void 0&&r.render)&&t.$$typeof!==c1.ForwardRef)};function h$(e){return l.isValidElement(e)&&!n9(e)}var sne=function(t){return h$(t)&&Ki(t)},dc=function(t){if(t&&h$(t)){var n=t;return n.props.propertyIsEnumerable("ref")?n.props.ref:n.ref}return null},nR=l.createContext(null);function lne(e){var t=e.children,n=e.onBatchResize,r=l.useRef(0),a=l.useRef([]),o=l.useContext(nR),i=l.useCallback(function(s,c,u){r.current+=1;var f=r.current;a.current.push({size:s,element:c,data:u}),Promise.resolve().then(function(){f===r.current&&(n==null||n(a.current),a.current=[])}),o==null||o(s,c,u)},[n,o]);return l.createElement(nR.Provider,{value:i},t)}var o9=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,o){return a[0]===n?(r=o,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,o=this.__entries__;a0},e.prototype.connect_=function(){!rR||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),gne?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!rR||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=pne.some(function(o){return!!~r.indexOf(o)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),i9=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof tf(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new wne(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof tf(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new Ene(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),l9=typeof WeakMap<"u"?new WeakMap:new o9,c9=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=mne.getInstance(),r=new Ine(t,n,this);l9.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){c9.prototype[e]=function(){var t;return(t=l9.get(this))[e].apply(t,arguments)}});var _ne=function(){return typeof Hb.ResizeObserver<"u"?Hb.ResizeObserver:c9}(),zl=new Map;function Tne(e){e.forEach(function(t){var n,r=t.target;(n=zl.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var u9=new _ne(Tne);function Rne(e,t){zl.has(e)||(zl.set(e,new Set),u9.observe(e)),zl.get(e).add(t)}function One(e,t){zl.has(e)&&(zl.get(e).delete(t),zl.get(e).size||(u9.unobserve(e),zl.delete(e)))}function Pr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nD(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;rD+=1;var r=rD;function a(o){if(o===0)m9(r),t();else{var i=p9(function(){a(o-1)});v$.set(r,i)}}return a(n),r};mn.cancel=function(e){var t=v$.get(e);return m9(e),g9(t)};function h9(e){if(Array.isArray(e))return e}function Lne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,i,s=[],c=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){u=!0,a=f}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return s}}function v9(){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 ye(e,t){return h9(e)||Lne(e,t)||B0(e,t)||v9()}function Mg(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Ba(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function oR(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var aD="data-rc-order",oD="data-rc-priority",jne="rc-util-key",iR=new Map;function b9(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):jne}function z0(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Fne(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function b$(e){return Array.from((iR.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function y9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ba())return null;var n=t.csp,r=t.prepend,a=t.priority,o=a===void 0?0:a,i=Fne(r),s=i==="prependQueue",c=document.createElement("style");c.setAttribute(aD,i),s&&o&&c.setAttribute(oD,"".concat(o)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=z0(t),f=u.firstChild;if(r){if(s){var g=(t.styles||b$(u)).filter(function(m){if(!["prepend","prependQueue"].includes(m.getAttribute(aD)))return!1;var h=Number(m.getAttribute(oD)||0);return o>=h});if(g.length)return u.insertBefore(c,g[g.length-1].nextSibling),c}u.insertBefore(c,f)}else u.appendChild(c);return c}function x9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=z0(t);return(t.styles||b$(n)).find(function(r){return r.getAttribute(b9(t))===e})}function Lg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=x9(e,t);if(n){var r=z0(t);r.removeChild(n)}}function Bne(e,t){var n=iR.get(e);if(!n||!oR(document,n)){var r=y9("",t),a=r.parentNode;iR.set(e,a),e.removeChild(r)}}function Qs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=z0(n),a=b$(r),o=se(se({},n),{},{styles:a});Bne(r,o);var i=x9(t,o);if(i){var s,c;if((s=o.csp)!==null&&s!==void 0&&s.nonce&&i.nonce!==((c=o.csp)===null||c===void 0?void 0:c.nonce)){var u;i.nonce=(u=o.csp)===null||u===void 0?void 0:u.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var f=y9(e,o);return f.setAttribute(b9(o),t),f}function zne(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Bt(e,t){if(e==null)return{};var n,r,a=zne(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(o,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=r.has(o);if(ar(!c,"Warning: There may be circular references"),c)return!1;if(o===i)return!0;if(n&&s>1)return!1;r.add(o);var u=s+1;if(Array.isArray(o)){if(!Array.isArray(i)||o.length!==i.length)return!1;for(var f=0;f1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(s){if(!i)i=void 0;else{var c;i=(c=i)===null||c===void 0||(c=c.map)===null||c===void 0?void 0:c.get(s)}}),(r=i)!==null&&r!==void 0&&r.value&&o&&(i.value[1]=this.cacheCallTimes++),(a=i)===null||a===void 0?void 0:a.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var a=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(u,f){var g=ye(u,2),m=g[1];return a.internalGet(f)[1]0,void 0),iD+=1}return Dr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),u1=new y$;function Vb(e){var t=Array.isArray(e)?e:[e];return u1.has(t)||u1.set(t,new S9(t)),u1.get(t)}var Gne=new WeakMap,d1={};function qne(e,t){for(var n=Gne,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var i=se(se({},a),{},(r={},re(r,nf,t),re(r,Vi,n),r)),s=Object.keys(i).map(function(c){var u=i[c];return u?"".concat(c,'="').concat(u,'"'):null}).filter(function(c){return c}).join(" ");return"")}var rb=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Kne=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(a){var o=ye(a,2),i=o[0],s=o[1];return"".concat(i,":").concat(s,";")}).join(""),"}"):""},C9=function(t,n,r){var a={},o={};return Object.entries(t).forEach(function(i){var s,c,u=ye(i,2),f=u[0],g=u[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[f])o[f]=g;else if((typeof g=="string"||typeof g=="number")&&!(r!=null&&(c=r.ignore)!==null&&c!==void 0&&c[f])){var m,h=rb(f,r==null?void 0:r.prefix);a[h]=typeof g=="number"&&!(r!=null&&(m=r.unitless)!==null&&m!==void 0&&m[f])?"".concat(g,"px"):String(g),o[f]="var(".concat(h,")")}}),[o,Kne(a,n,{scope:r==null?void 0:r.scope})]},cD=Ba()?l.useLayoutEffect:l.useEffect,Rn=function(t,n){var r=l.useRef(!0);cD(function(){return t(r.current)},n),cD(function(){return r.current=!1,function(){r.current=!0}},[])},tu=function(t,n){Rn(function(r){if(!r)return t()},n)},Yne=se({},gm),uD=Yne.useInsertionEffect,Xne=function(t,n,r){l.useMemo(t,r),Rn(function(){return n(!0)},r)},Zne=uD?function(e,t,n){return uD(function(){return e(),t()},n)}:Xne,Jne=se({},gm),Qne=Jne.useInsertionEffect,ere=function(t){var n=[],r=!1;function a(o){r||n.push(o)}return l.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),a},tre=function(){return function(t){t()}},nre=typeof Qne<"u"?ere:tre;function x$(e,t,n,r,a){var o=l.useContext(vm),i=o.cache,s=[e].concat(Ze(t)),c=sR(s),u=nre([c]),f=function(y){i.opUpdate(c,function(x){var b=x||[void 0,void 0],C=ye(b,2),S=C[0],w=S===void 0?0:S,I=C[1],E=I,_=E||n(),R=[w,_];return y?y(R):R})};l.useMemo(function(){f()},[c]);var g=i.opGet(c),m=g[1];return Zne(function(){a==null||a(m)},function(h){return f(function(y){var x=ye(y,2),b=x[0],C=x[1];return h&&b===0&&(a==null||a(m)),[b+1,C]}),function(){i.opUpdate(c,function(y){var x=y||[],b=ye(x,2),C=b[0],S=C===void 0?0:C,w=b[1],I=S-1;return I===0?(u(function(){(h||!i.opGet(c))&&(r==null||r(w,!1))}),null):[S-1,w]})}},[c]),m}var rre={},are="css",Wc=new Map;function ore(e){Wc.set(e,(Wc.get(e)||0)+1)}function ire(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(nf,'="').concat(e,'"]'));n.forEach(function(r){if(r[Hl]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var sre=0;function lre(e,t){Wc.set(e,(Wc.get(e)||0)-1);var n=Array.from(Wc.keys()),r=n.filter(function(a){var o=Wc.get(a)||0;return o<=0});n.length-r.length>sre&&r.forEach(function(a){ire(a,t),Wc.delete(a)})}var w9=function(t,n,r,a){var o=r.getDerivativeToken(t),i=se(se({},o),n);return a&&(i=a(i)),i},E9="token";function cre(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=l.useContext(vm),a=r.cache.instanceId,o=r.container,i=n.salt,s=i===void 0?"":i,c=n.override,u=c===void 0?rre:c,f=n.formatToken,g=n.getComputedToken,m=n.cssVar,h=qne(function(){return Object.assign.apply(Object,[{}].concat(Ze(t)))},t),y=ug(h),x=ug(u),b=m?ug(m):"",C=x$(E9,[s,e.id,y,x,b],function(){var S,w=g?g(h,u,e):w9(h,u,e,f),I=se({},w),E="";if(m){var _=C9(w,m.key,{prefix:m.prefix,ignore:m.ignore,unitless:m.unitless,preserve:m.preserve}),R=ye(_,2);w=R[0],E=R[1]}var N=lD(w,s);w._tokenKey=N,I._tokenKey=lD(I,s);var O=(S=m==null?void 0:m.key)!==null&&S!==void 0?S:N;w._themeKey=O,ore(O);var $="".concat(are,"-").concat(Mg(N));return w._hashId=$,[w,$,I,E,(m==null?void 0:m.key)||""]},function(S){lre(S[0]._themeKey,a)},function(S){var w=ye(S,4),I=w[0],E=w[3];if(m&&E){var _=Qs(E,Mg("css-variables-".concat(I._themeKey)),{mark:Vi,prepend:"queue",attachTo:o,priority:-999});_[Hl]=a,_.setAttribute(nf,I._themeKey)}});return C}var ure=function(t,n,r){var a=ye(t,5),o=a[2],i=a[3],s=a[4],c=r||{},u=c.plain;if(!i)return null;var f=o._tokenKey,g=-999,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(g)},h=Wb(i,s,f,m,u);return[g,f,h]},dre={animationIterationCount: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},I9="comm",_9="rule",T9="decl",fre="@import",pre="@namespace",gre="@keyframes",mre="@layer",R9=Math.abs,S$=String.fromCharCode;function O9(e){return e.trim()}function ab(e,t,n){return e.replace(t,n)}function hre(e,t,n){return e.indexOf(t,n)}function Gd(e,t){return e.charCodeAt(t)|0}function rf(e,t,n){return e.slice(t,n)}function gs(e){return e.length}function vre(e){return e.length}function lv(e,t){return t.push(e),e}var H0=1,af=1,$9=0,Ii=0,ga=0,Tf="";function C$(e,t,n,r,a,o,i,s){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:H0,column:af,length:i,return:"",siblings:s}}function bre(){return ga}function yre(){return ga=Ii>0?Gd(Tf,--Ii):0,af--,ga===10&&(af=1,H0--),ga}function Wi(){return ga=Ii<$9?Gd(Tf,Ii++):0,af++,ga===10&&(af=1,H0++),ga}function Ul(){return Gd(Tf,Ii)}function ob(){return Ii}function U0(e,t){return rf(Tf,e,t)}function jg(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function xre(e){return H0=af=1,$9=gs(Tf=e),Ii=0,[]}function Sre(e){return Tf="",e}function f1(e){return O9(U0(Ii-1,cR(e===91?e+2:e===40?e+1:e)))}function Cre(e){for(;(ga=Ul())&&ga<33;)Wi();return jg(e)>2||jg(ga)>3?"":" "}function wre(e,t){for(;--t&&Wi()&&!(ga<48||ga>102||ga>57&&ga<65||ga>70&&ga<97););return U0(e,ob()+(t<6&&Ul()==32&&Wi()==32))}function cR(e){for(;Wi();)switch(ga){case e:return Ii;case 34:case 39:e!==34&&e!==39&&cR(ga);break;case 40:e===41&&cR(e);break;case 92:Wi();break}return Ii}function Ere(e,t){for(;Wi()&&e+ga!==57;)if(e+ga===84&&Ul()===47)break;return"/*"+U0(t,Ii-1)+"*"+S$(e===47?e:Wi())}function Ire(e){for(;!jg(Ul());)Wi();return U0(e,Ii)}function _re(e){return Sre(ib("",null,null,null,[""],e=xre(e),0,[0],e))}function ib(e,t,n,r,a,o,i,s,c){for(var u=0,f=0,g=i,m=0,h=0,y=0,x=1,b=1,C=1,S=0,w="",I=a,E=o,_=r,R=w;b;)switch(y=S,S=Wi()){case 40:if(y!=108&&Gd(R,g-1)==58){hre(R+=ab(f1(S),"&","&\f"),"&\f",R9(u?s[u-1]:0))!=-1&&(C=-1);break}case 34:case 39:case 91:R+=f1(S);break;case 9:case 10:case 13:case 32:R+=Cre(y);break;case 92:R+=wre(ob()-1,7);continue;case 47:switch(Ul()){case 42:case 47:lv(Tre(Ere(Wi(),ob()),t,n,c),c),(jg(y||1)==5||jg(Ul()||1)==5)&&gs(R)&&rf(R,-1,void 0)!==" "&&(R+=" ");break;default:R+="/"}break;case 123*x:s[u++]=gs(R)*C;case 125*x:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+f:C==-1&&(R=ab(R,/\f/g,"")),h>0&&(gs(R)-g||x===0&&y===47)&&lv(h>32?fD(R+";",r,n,g-1,c):fD(ab(R," ","")+";",r,n,g-2,c),c);break;case 59:R+=";";default:if(lv(_=dD(R,t,n,u,f,a,s,w,I=[],E=[],g,o),o),S===123)if(f===0)ib(R,t,_,_,I,o,g,s,E);else{switch(m){case 99:if(Gd(R,3)===110)break;case 108:if(Gd(R,2)===97)break;default:f=0;case 100:case 109:case 115:}f?ib(e,_,_,r&&lv(dD(e,_,_,0,0,a,s,w,a,I=[],g,E),E),a,E,g,s,r?I:E):ib(R,_,_,_,[""],E,0,s,E)}}u=f=h=0,x=C=1,w=R="",g=i;break;case 58:g=1+gs(R),h=y;default:if(x<1){if(S==123)--x;else if(S==125&&x++==0&&yre()==125)continue}switch(R+=S$(S),S*x){case 38:C=f>0?1:(R+="\f",-1);break;case 44:s[u++]=(gs(R)-1)*C,C=1;break;case 64:Ul()===45&&(R+=f1(Wi())),m=Ul(),f=g=gs(w=R+=Ire(ob())),S++;break;case 45:y===45&&gs(R)==2&&(x=0)}}return o}function dD(e,t,n,r,a,o,i,s,c,u,f,g){for(var m=a-1,h=a===0?o:[""],y=vre(h),x=0,b=0,C=0;x0?h[S]+" "+w:ab(w,/&\f/g,h[S])))&&(c[C++]=I);return C$(e,t,n,a===0?_9:s,c,u,f,g)}function Tre(e,t,n,r){return C$(e,t,n,I9,S$(bre()),rf(e,2,-2),0,r)}function fD(e,t,n,r,a){return C$(e,t,n,T9,rf(e,0,r),rf(e,r+1,-1),r,a)}function uR(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,o=r.injectHash,i=r.parentSelectors,s=n.hashId,c=n.layer;n.path;var u=n.hashPriority,f=n.transformers,g=f===void 0?[]:f;n.linters;var m="",h={};function y(C){var S=C.getName(s);if(!h[S]){var w=e(C.style,n,{root:!1,parentSelectors:i}),I=ye(w,1),E=I[0];h[S]="@keyframes ".concat(C.getName(s)).concat(E)}}function x(C){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.forEach(function(w){Array.isArray(w)?x(w,S):w&&S.push(w)}),S}var b=x(Array.isArray(t)?t:[t]);return b.forEach(function(C){var S=typeof C=="string"&&!a?{}:C;if(typeof S=="string")m+="".concat(S,` +`);else if(S._keyframe)y(S);else{var w=g.reduce(function(I,E){var _;return(E==null||(_=E.visit)===null||_===void 0?void 0:_.call(E,I))||I},S);Object.keys(w).forEach(function(I){var E=w[I];if(Pt(E)==="object"&&E&&(I!=="animationName"||!E._keyframe)&&!kre(E)){var _=!1,R=I.trim(),N=!1;(a||o)&&s?R.startsWith("@")?_=!0:R==="&"?R=gD("",s,u):R=gD(I,s,u):a&&!s&&(R==="&"||R==="")&&(R="",N=!0);var O=e(E,n,{root:N,injectHash:_,parentSelectors:[].concat(Ze(i),[R])}),$=ye(O,2),A=$[0],B=$[1];h=se(se({},h),B),m+="".concat(R).concat(A)}else{let D=function(k,M){var L=k.replace(/[A-Z]/g,function(U){return"-".concat(U.toLowerCase())}),H=M;!dre[k]&&typeof H=="number"&&H!==0&&(H="".concat(H,"px")),k==="animationName"&&M!==null&&M!==void 0&&M._keyframe&&(y(M),H=M.getName(s)),m+="".concat(L,":").concat(H,";")};var j,F=(j=E==null?void 0:E.value)!==null&&j!==void 0?j:E;Pt(E)==="object"&&E!==null&&E!==void 0&&E[k9]&&Array.isArray(F)?F.forEach(function(k){D(I,k)}):D(I,F)}})}}),a?c&&(m&&(m="@layer ".concat(c.name," {").concat(m,"}")),c.dependencies&&(h["@layer ".concat(c.name)]=c.dependencies.map(function(C){return"@layer ".concat(C,", ").concat(c.name,";")}).join(` +`))):m="{".concat(m,"}"),[m,h]};function P9(e,t){return Mg("".concat(e.join("%")).concat(t))}function Dre(){return null}var D9="style";function dR(e,t){var n=e.token,r=e.path,a=e.hashId,o=e.layer,i=e.nonce,s=e.clientOnly,c=e.order,u=c===void 0?0:c,f=l.useContext(vm),g=f.autoClear;f.mock;var m=f.defaultCache,h=f.hashPriority,y=f.container,x=f.ssrInline,b=f.transformers,C=f.linters,S=f.cache,w=f.layer,I=n._tokenKey,E=[I];w&&E.push("layer"),E.push.apply(E,Ze(r));var _=lR,R=x$(D9,E,function(){var B=E.join("|");if($re(B)){var j=Nre(B),F=ye(j,2),D=F[0],k=F[1];if(D)return[D,I,k,{},s,u]}var M=t(),L=Pre(M,{hashId:a,hashPriority:h,layer:w?o:void 0,path:r.join("-"),transformers:b,linters:C}),H=ye(L,2),U=H[0],z=H[1],W=sb(U),q=P9(E,W);return[W,I,q,z,s,u]},function(B,j){var F=ye(B,3),D=F[2];(j||g)&&lR&&Lg(D,{mark:Vi})},function(B){var j=ye(B,4),F=j[0];j[1];var D=j[2],k=j[3];if(_&&F!==N9){var M={mark:Vi,prepend:w?!1:"queue",attachTo:y,priority:u},L=typeof i=="function"?i():i;L&&(M.csp={nonce:L});var H=[],U=[];Object.keys(k).forEach(function(W){W.startsWith("@layer")?H.push(W):U.push(W)}),H.forEach(function(W){Qs(sb(k[W]),"_layer-".concat(W),se(se({},M),{},{prepend:!0}))});var z=Qs(F,D,M);z[Hl]=S.instanceId,z.setAttribute(nf,I),U.forEach(function(W){Qs(sb(k[W]),"_effect-".concat(W),M)})}}),N=ye(R,3),O=N[0],$=N[1],A=N[2];return function(B){var j;if(!x||_||!m)j=l.createElement(Dre,null);else{var F;j=l.createElement("style",Ie({},(F={},re(F,nf,$),re(F,Vi,A),F),{dangerouslySetInnerHTML:{__html:O}}))}return l.createElement(l.Fragment,null,j,B)}}var Mre=function(t,n,r){var a=ye(t,6),o=a[0],i=a[1],s=a[2],c=a[3],u=a[4],f=a[5],g=r||{},m=g.plain;if(u)return null;var h=o,y={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)};return h=Wb(o,i,s,y,m),c&&Object.keys(c).forEach(function(x){if(!n[x]){n[x]=!0;var b=sb(c[x]),C=Wb(b,i,"_effect-".concat(x),y,m);x.startsWith("@layer")?h=C+h:h+=C}}),[f,s,h]},M9="cssVar",Lre=function(t,n){var r=t.key,a=t.prefix,o=t.unitless,i=t.ignore,s=t.token,c=t.scope,u=c===void 0?"":c,f=l.useContext(vm),g=f.cache.instanceId,m=f.container,h=s._tokenKey,y=[].concat(Ze(t.path),[r,u,h]),x=x$(M9,y,function(){var b=n(),C=C9(b,r,{prefix:a,unitless:o,ignore:i,scope:u}),S=ye(C,2),w=S[0],I=S[1],E=P9(y,I);return[w,I,E,r]},function(b){var C=ye(b,3),S=C[2];lR&&Lg(S,{mark:Vi})},function(b){var C=ye(b,3),S=C[1],w=C[2];if(S){var I=Qs(S,w,{mark:Vi,prepend:"queue",attachTo:m,priority:-999});I[Hl]=g,I.setAttribute(nf,r)}});return x},jre=function(t,n,r){var a=ye(t,4),o=a[1],i=a[2],s=a[3],c=r||{},u=c.plain;if(!o)return null;var f=-999,g={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},m=Wb(o,s,i,g,u);return[f,i,m]},Mp;Mp={},re(Mp,D9,Mre),re(Mp,E9,ure),re(Mp,M9,jre);var An=function(){function e(t,n){Pr(this,e),re(this,"name",void 0),re(this,"style",void 0),re(this,"_keyframe",!0),this.name=t,this.style=n}return Dr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function pd(e){return e.notSplit=!0,e}pd(["borderTop","borderBottom"]),pd(["borderTop"]),pd(["borderBottom"]),pd(["borderLeft","borderRight"]),pd(["borderLeft"]),pd(["borderRight"]);var w$=l.createContext({});function L9(e){return h9(e)||f9(e)||B0(e)||v9()}function bo(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!bo(e,t.slice(0,-1))?e:j9(e,t,n,r)}function Fre(e){return Pt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function mD(e){return Array.isArray(e)?[]:{}}var Bre=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Md(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=zre,e},F9=l.createContext(void 0);var B9={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},Ure={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Vre=se(se({},Ure),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const z9={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Gb={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Vre),timePickerLocale:Object.assign({},z9)},zo="${label} is not a valid ${type}",Ss={locale:"en",Pagination:B9,DatePicker:Gb,TimePicker:z9,Calendar:Gb,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:zo,method:zo,array:zo,object:zo,number:zo,date:zo,boolean:zo,integer:zo,float:zo,regexp:zo,email:zo,url:zo,hex:zo},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let lb=Object.assign({},Ss.Modal),cb=[];const hD=()=>cb.reduce((e,t)=>Object.assign(Object.assign({},e),t),Ss.Modal);function Wre(e){if(e){const t=Object.assign({},e);return cb.push(t),lb=hD(),()=>{cb=cb.filter(n=>n!==t),lb=hD()}}lb=Object.assign({},Ss.Modal)}function H9(){return lb}const E$=l.createContext(void 0),ni=(e,t)=>{const n=l.useContext(E$),r=l.useMemo(()=>{var o;const i=t||Ss[e],s=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),s||{})},[e,t,n]),a=l.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?Ss.locale:o},[n]);return[r,a]},Gre="internalMark",qre=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;l.useEffect(()=>Wre(t==null?void 0:t.Modal),[t]);const a=l.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return l.createElement(E$.Provider,{value:a},n)},I$={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},of=Object.assign(Object.assign({},I$),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),Aa=Math.round;function p1(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(a=>parseFloat(a));for(let a=0;a<3;a+=1)r[a]=t(r[a]||0,n[a]||"",a);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const vD=(e,t,n)=>n===0?e:e/100;function Lp(e,t){const n=t||255;return e>n?n:e<0?0:e}class In{constructor(t){re(this,"isValid",!0),re(this,"r",0),re(this,"g",0),re(this,"b",0),re(this,"a",1),re(this,"_h",void 0),re(this,"_s",void 0),re(this,"_l",void 0),re(this,"_v",void 0),re(this,"_max",void 0),re(this,"_min",void 0),re(this,"_brightness",void 0);function n(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let o=function(i){return a.startsWith(i)};var r=o;const a=t.trim();/^#?[A-F\d]{3,8}$/i.test(a)?this.fromHexString(a):o("rgb")?this.fromRgbString(a):o("hsl")?this.fromHslString(a):(o("hsv")||o("hsb"))&&this.fromHsvString(a)}else if(t instanceof In)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Lp(t.r),this.g=Lp(t.g),this.b=Lp(t.b),this.a=typeof t.a=="number"?Lp(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(o){const i=o/255;return i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),a=t(this.b);return .2126*n+.7152*r+.0722*a}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Aa(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let a=this.getLightness()-t/100;return a<0&&(a=0),this._c({h:n,s:r,l:a,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let a=this.getLightness()+t/100;return a>1&&(a=1),this._c({h:n,s:r,l:a,a:this.a})}mix(t,n=50){const r=this._c(t),a=n/100,o=s=>(r[s]-this[s])*a+this[s],i={r:Aa(o("r")),g:Aa(o("g")),b:Aa(o("b")),a:Aa(o("a")*100)/100};return this._c(i)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),a=o=>Aa((this[o]*this.a+n[o]*n.a*(1-this.a))/r);return this._c({r:a("r"),g:a("g"),b:a("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const a=(this.b||0).toString(16);if(t+=a.length===2?a:"0"+a,typeof this.a=="number"&&this.a>=0&&this.a<1){const o=Aa(this.a*255).toString(16);t+=o.length===2?o:"0"+o}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=Aa(this.getSaturation()*100),r=Aa(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const a=this.clone();return a[t]=Lp(n,r),a}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(a,o){return parseInt(n[a]+n[o||a],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof a=="number"?a:1,n<=0){const m=Aa(r*255);this.r=m,this.g=m,this.b=m}let o=0,i=0,s=0;const c=t/60,u=(1-Math.abs(2*r-1))*n,f=u*(1-Math.abs(c%2-1));c>=0&&c<1?(o=u,i=f):c>=1&&c<2?(o=f,i=u):c>=2&&c<3?(i=u,s=f):c>=3&&c<4?(i=f,s=u):c>=4&&c<5?(o=f,s=u):c>=5&&c<6&&(o=u,s=f);const g=r-u/2;this.r=Aa((o+g)*255),this.g=Aa((i+g)*255),this.b=Aa((s+g)*255)}fromHsv({h:t,s:n,v:r,a}){this._h=t%360,this._s=n,this._v=r,this.a=typeof a=="number"?a:1;const o=Aa(r*255);if(this.r=o,this.g=o,this.b=o,n<=0)return;const i=t/60,s=Math.floor(i),c=i-s,u=Aa(r*(1-n)*255),f=Aa(r*(1-n*c)*255),g=Aa(r*(1-n*(1-c))*255);switch(s){case 0:this.g=g,this.b=u;break;case 1:this.r=f,this.b=u;break;case 2:this.r=u,this.b=g;break;case 3:this.r=u,this.g=f;break;case 4:this.r=g,this.g=u;break;case 5:default:this.g=u,this.b=f;break}}fromHsvString(t){const n=p1(t,vD);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=p1(t,vD);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=p1(t,(r,a)=>a.includes("%")?Aa(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}var cv=2,bD=.16,Kre=.05,Yre=.05,Xre=.15,U9=5,V9=4,Zre=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function yD(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-cv*t:Math.round(e.h)+cv*t:r=n?Math.round(e.h)+cv*t:Math.round(e.h)-cv*t,r<0?r+=360:r>=360&&(r-=360),r}function xD(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-bD*t:t===V9?r=e.s+bD:r=e.s+Kre*t,r>1&&(r=1),n&&t===U9&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function SD(e,t,n){var r;return n?r=e.v+Yre*t:r=e.v-Xre*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function du(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=new In(e),a=r.toHsv(),o=U9;o>0;o-=1){var i=new In({h:yD(a,o,!0),s:xD(a,o,!0),v:SD(a,o,!0)});n.push(i)}n.push(r);for(var s=1;s<=V9;s+=1){var c=new In({h:yD(a,s),s:xD(a,s),v:SD(a,s)});n.push(c)}return t.theme==="dark"?Zre.map(function(u){var f=u.index,g=u.amount;return new In(t.backgroundColor||"#141414").mix(n[f],g).toHexString()}):n.map(function(u){return u.toHexString()})}var qd={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fR=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];fR.primary=fR[5];var pR=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];pR.primary=pR[5];var gR=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];gR.primary=gR[5];var qb=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];qb.primary=qb[5];var mR=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];mR.primary=mR[5];var hR=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];hR.primary=hR[5];var vR=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];vR.primary=vR[5];var bR=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];bR.primary=bR[5];var sf=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];sf.primary=sf[5];var yR=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];yR.primary=yR[5];var xR=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];xR.primary=xR[5];var SR=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];SR.primary=SR[5];var CR=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];CR.primary=CR[5];var g1={red:fR,volcano:pR,orange:gR,gold:qb,yellow:mR,lime:hR,green:vR,cyan:bR,blue:sf,geekblue:yR,purple:xR,magenta:SR,grey:CR};function W9(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:o,colorError:i,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:f}=e,g=n(c),m=n(a),h=n(o),y=n(i),x=n(s),b=r(u,f),C=e.colorLink||e.colorInfo,S=n(C),w=new In(y[1]).mix(new In(y[3]),50).toHexString();return Object.assign(Object.assign({},b),{colorPrimaryBg:g[1],colorPrimaryBgHover:g[2],colorPrimaryBorder:g[3],colorPrimaryBorderHover:g[4],colorPrimaryHover:g[5],colorPrimary:g[6],colorPrimaryActive:g[7],colorPrimaryTextHover:g[8],colorPrimaryText:g[9],colorPrimaryTextActive:g[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:y[1],colorErrorBgHover:y[2],colorErrorBgFilledHover:w,colorErrorBgActive:y[3],colorErrorBorder:y[3],colorErrorBorderHover:y[4],colorErrorHover:y[5],colorError:y[6],colorErrorActive:y[7],colorErrorTextHover:y[8],colorErrorText:y[9],colorErrorTextActive:y[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:x[1],colorInfoBgHover:x[2],colorInfoBorder:x[3],colorInfoBorderHover:x[4],colorInfoHover:x[4],colorInfo:x[6],colorInfoActive:x[7],colorInfoTextHover:x[8],colorInfoText:x[9],colorInfoTextActive:x[10],colorLinkHover:S[4],colorLink:S[6],colorLinkActive:S[7],colorBgMask:new In("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const Jre=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function Qre(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},Jre(r))}const G9=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function ub(e){return(e+8)/e}function eae(e){const t=Array.from({length:10}).map((n,r)=>{const a=r-1,o=e*Math.pow(Math.E,a/5),i=r>1?Math.floor(o):Math.ceil(o);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:ub(n)}))}const q9=e=>{const t=eae(e),n=t.map(f=>f.size),r=t.map(f=>f.lineHeight),a=n[1],o=n[0],i=n[2],s=r[1],c=r[0],u=r[2];return{fontSizeSM:o,fontSize:a,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(s*a),fontHeightLG:Math.round(u*i),fontHeightSM:Math.round(c*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function tae(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const di=(e,t)=>new In(e).setA(t).toRgbString(),jp=(e,t)=>new In(e).darken(t).toHexString(),nae=e=>{const t=du(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},rae=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:di(r,.88),colorTextSecondary:di(r,.65),colorTextTertiary:di(r,.45),colorTextQuaternary:di(r,.25),colorFill:di(r,.15),colorFillSecondary:di(r,.06),colorFillTertiary:di(r,.04),colorFillQuaternary:di(r,.02),colorBgSolid:di(r,1),colorBgSolidHover:di(r,.75),colorBgSolidActive:di(r,.95),colorBgLayout:jp(n,4),colorBgContainer:jp(n,0),colorBgElevated:jp(n,0),colorBgSpotlight:di(r,.85),colorBgBlur:"transparent",colorBorder:jp(n,15),colorBorderSecondary:jp(n,6)}};function V0(e){qd.pink=qd.magenta,g1.pink=g1.magenta;const t=Object.keys(I$).map(n=>{const r=e[n]===qd[n]?g1[n]:du(e[n]);return Array.from({length:10},()=>1).reduce((a,o,i)=>(a[`${n}-${i+1}`]=r[i],a[`${n}${i+1}`]=r[i],a),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),W9(e,{generateColorPalettes:nae,generateNeutralColorPalettes:rae})),q9(e.fontSize)),tae(e)),G9(e)),Qre(e))}const _$=Vb(V0),Fg={token:of,override:{override:of},hashed:!0},T$=ge.createContext(Fg),Bg="ant",W0="anticon",aae=["outlined","borderless","filled","underlined"],oae=(e,t)=>t||(e?`${Bg}-${e}`:Bg),Wt=l.createContext({getPrefixCls:oae,iconPrefixCls:W0}),{Consumer:LGe}=Wt,CD={};function ia(e){const t=l.useContext(Wt),{getPrefixCls:n,direction:r,getPopupContainer:a}=t,o=t[e];return Object.assign(Object.assign({classNames:CD,styles:CD},o),{getPrefixCls:n,direction:r,getPopupContainer:a})}const iae=`-ant-${Date.now()}-${Math.random()}`;function sae(e,t){const n={},r=(i,s)=>{let c=i.clone();return c=(s==null?void 0:s(c))||c,c.toRgbString()},a=(i,s)=>{const c=new In(i),u=du(c.toRgbString());n[`${s}-color`]=r(c),n[`${s}-color-disabled`]=u[1],n[`${s}-color-hover`]=u[4],n[`${s}-color-active`]=u[6],n[`${s}-color-outline`]=c.clone().setA(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=u[0],n[`${s}-color-deprecated-border`]=u[2]};if(t.primaryColor){a(t.primaryColor,"primary");const i=new In(t.primaryColor),s=du(i.toRgbString());s.forEach((u,f)=>{n[`primary-${f+1}`]=u}),n["primary-color-deprecated-l-35"]=r(i,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(i,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(i,u=>u.setA(u.a*.12));const c=new In(s[0]);n["primary-color-active-deprecated-f-30"]=r(c,u=>u.setA(u.a*.3)),n["primary-color-active-deprecated-d-02"]=r(c,u=>u.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),` + :root { + ${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(` +`)} + } + `.trim()}function lae(e,t){const n=sae(e,t);Ba()&&Qs(n,`${iae}-dynamic-theme`)}const za=l.createContext(!1),R$=e=>{let{children:t,disabled:n}=e;const r=l.useContext(za);return l.createElement(za.Provider,{value:n??r},t)},fu=l.createContext(void 0),cae=e=>{let{children:t,size:n}=e;const r=l.useContext(fu);return l.createElement(fu.Provider,{value:n||r},t)};function uae(){const e=l.useContext(za),t=l.useContext(fu);return{componentDisabled:e,componentSize:t}}var K9=Dr(function e(){Pr(this,e)}),Y9="CALC_UNIT",dae=new RegExp(Y9,"g");function m1(e){return typeof e=="number"?"".concat(e).concat(Y9):e}var fae=function(e){ti(n,e);var t=$i(n);function n(r,a){var o;Pr(this,n),o=t.call(this),re(Mt(o),"result",""),re(Mt(o),"unitlessCssVar",void 0),re(Mt(o),"lowPriority",void 0);var i=Pt(r);return o.unitlessCssVar=a,r instanceof n?o.result="(".concat(r.result,")"):i==="number"?o.result=m1(r):i==="string"&&(o.result=r),o}return Dr(n,[{key:"add",value:function(a){return a instanceof n?this.result="".concat(this.result," + ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," + ").concat(m1(a))),this.lowPriority=!0,this}},{key:"sub",value:function(a){return a instanceof n?this.result="".concat(this.result," - ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," - ").concat(m1(a))),this.lowPriority=!0,this}},{key:"mul",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," * ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," * ").concat(a)),this.lowPriority=!1,this}},{key:"div",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," / ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," / ").concat(a)),this.lowPriority=!1,this}},{key:"getResult",value:function(a){return this.lowPriority||a?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(a){var o=this,i=a||{},s=i.unit,c=!0;return typeof s=="boolean"?c=s:Array.from(this.unitlessCssVar).some(function(u){return o.result.includes(u)})&&(c=!1),this.result=this.result.replace(dae,c?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(K9),pae=function(e){ti(n,e);var t=$i(n);function n(r){var a;return Pr(this,n),a=t.call(this),re(Mt(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return Dr(n,[{key:"add",value:function(a){return a instanceof n?this.result+=a.result:typeof a=="number"&&(this.result+=a),this}},{key:"sub",value:function(a){return a instanceof n?this.result-=a.result:typeof a=="number"&&(this.result-=a),this}},{key:"mul",value:function(a){return a instanceof n?this.result*=a.result:typeof a=="number"&&(this.result*=a),this}},{key:"div",value:function(a){return a instanceof n?this.result/=a.result:typeof a=="number"&&(this.result/=a),this}},{key:"equal",value:function(){return this.result}}]),n}(K9),gae=function(t,n){var r=t==="css"?fae:pae;return function(a){return new r(a,n)}},wD=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function En(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i1e4){var r=Date.now();this.lastAccessBeat.forEach(function(a,o){r-a>bae&&(n.map.delete(o),n.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e}(),TD=new yae;function xae(e,t){return ge.useMemo(function(){var n=TD.get(t);if(n)return n;var r=e();return TD.set(t,r),r},t)}var Sae=function(){return{}};function Cae(e){var t=e.useCSP,n=t===void 0?Sae:t,r=e.useToken,a=e.usePrefix,o=e.getResetStyles,i=e.getCommonStyle,s=e.getCompUnitless;function c(m,h,y,x){var b=Array.isArray(m)?m[0]:m;function C(N){return"".concat(String(b)).concat(N.slice(0,1).toUpperCase()).concat(N.slice(1))}var S=(x==null?void 0:x.unitless)||{},w=typeof s=="function"?s(m):{},I=se(se({},w),{},re({},C("zIndexPopup"),!0));Object.keys(S).forEach(function(N){I[C(N)]=S[N]});var E=se(se({},x),{},{unitless:I,prefixToken:C}),_=f(m,h,y,E),R=u(b,y,E);return function(N){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N,$=_(N,O),A=ye($,2),B=A[1],j=R(O),F=ye(j,2),D=F[0],k=F[1];return[D,B,k]}}function u(m,h,y){var x=y.unitless,b=y.injectStyle,C=b===void 0?!0:b,S=y.prefixToken,w=y.ignore,I=function(R){var N=R.rootCls,O=R.cssVar,$=O===void 0?{}:O,A=r(),B=A.realToken;return Lre({path:[m],prefix:$.prefix,key:$.key,unitless:x,ignore:w,token:B,scope:N},function(){var j=_D(m,B,h),F=ED(m,B,j,{deprecatedTokens:y==null?void 0:y.deprecatedTokens});return Object.keys(j).forEach(function(D){F[S(D)]=F[D],delete F[D]}),F}),null},E=function(R){var N=r(),O=N.cssVar;return[function($){return C&&O?ge.createElement(ge.Fragment,null,ge.createElement(I,{rootCls:R,cssVar:O,component:m}),$):$},O==null?void 0:O.key]};return E}function f(m,h,y){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},b=Array.isArray(m)?m:[m,m],C=ye(b,1),S=C[0],w=b.join("-"),I=e.layer||{name:"antd"};return function(E){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E,R=r(),N=R.theme,O=R.realToken,$=R.hashId,A=R.token,B=R.cssVar,j=a(),F=j.rootPrefixCls,D=j.iconPrefixCls,k=n(),M=B?"css":"js",L=xae(function(){var K=new Set;return B&&Object.keys(x.unitless||{}).forEach(function(G){K.add(rb(G,B.prefix)),K.add(rb(G,wD(S,B.prefix)))}),gae(M,K)},[M,S,B==null?void 0:B.prefix]),H=vae(M),U=H.max,z=H.min,W={theme:N,token:A,hashId:$,nonce:function(){return k.nonce},clientOnly:x.clientOnly,layer:I,order:x.order||-999};typeof o=="function"&&dR(se(se({},W),{},{clientOnly:!1,path:["Shared",F]}),function(){return o(A,{prefix:{rootPrefixCls:F,iconPrefixCls:D},csp:k})});var q=dR(se(se({},W),{},{path:[w,E,D]}),function(){if(x.injectStyle===!1)return[];var K=hae(A),G=K.token,X=K.flush,Z=_D(S,O,y),J=".".concat(E),ne=ED(S,O,Z,{deprecatedTokens:x.deprecatedTokens});B&&Z&&Pt(Z)==="object"&&Object.keys(Z).forEach(function(oe){Z[oe]="var(".concat(rb(oe,wD(S,B.prefix)),")")});var Q=fn(G,{componentCls:J,prefixCls:E,iconCls:".".concat(D),antCls:".".concat(F),calc:L,max:U,min:z},B?Z:ne),ee=h(Q,{hashId:$,prefixCls:E,rootPrefixCls:F,iconPrefixCls:D});X(S,ne);var te=typeof i=="function"?i(Q,E,_,x.resetFont):null;return[x.resetStyle===!1?null:te,ee]});return[q,$]}}function g(m,h,y){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},b=f(m,h,y,se({resetStyle:!1,order:-998},x)),C=function(w){var I=w.prefixCls,E=w.rootCls,_=E===void 0?I:E;return b(I,_),null};return C}return{genStyleHooks:c,genSubStyleComponent:g,genComponentStyleHook:f}}const tc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],wae="5.24.6";function v1(e){return e>=0&&e<=255}function Yp(e,t){const{r:n,g:r,b:a,a:o}=new In(e).toRgb();if(o<1)return e;const{r:i,g:s,b:c}=new In(t).toRgb();for(let u=.01;u<=1;u+=.01){const f=Math.round((n-i*(1-u))/u),g=Math.round((r-s*(1-u))/u),m=Math.round((a-c*(1-u))/u);if(v1(f)&&v1(g)&&v1(m))return new In({r:f,g,b:m,a:Math.round(u*100)/100}).toRgbString()}return new In({r:n,g:r,b:a,a:1}).toRgbString()}var Eae=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{delete r[m]});const a=Object.assign(Object.assign({},n),r),o=480,i=576,s=768,c=992,u=1200,f=1600;if(a.motion===!1){const m="0s";a.motionDurationFast=m,a.motionDurationMid=m,a.motionDurationSlow=m}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:Yp(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:Yp(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:Yp(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidthFocus:a.lineWidth*3,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:Yp(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:o,screenXSMin:o,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:f-1,screenXXL:f,screenXXLMin:f,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new In("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new In("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new In("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var RD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const r=n.getDerivativeToken(e),{override:a}=t,o=RD(t,["override"]);let i=Object.assign(Object.assign({},r),{override:a});return i=O$(i),o&&Object.entries(o).forEach(s=>{let[c,u]=s;const{theme:f}=u,g=RD(u,["theme"]);let m=g;f&&(m=J9(Object.assign(Object.assign({},i),g),{override:g},f)),i[c]=m}),i};function ba(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=ge.useContext(T$),o=`${wae}-${t||""}`,i=n||_$,[s,c,u]=cre(i,[of,e],{salt:o,override:r,getComputedToken:J9,formatToken:O$,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:Z9,ignore:Iae,preserve:_ae}});return[i,u,t?c:"",s,a]}const Qo={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Dn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Iu=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Yi=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Tae=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Rae=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,o=n?`.${n}`:a,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},s),i),{[a]:i})}},Xi=(e,t)=>({outline:`${ae(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),Po=(e,t)=>({"&:focus-visible":Object.assign({},Xi(e,t))}),Q9=e=>({[`.${e}`]:Object.assign(Object.assign({},Iu()),{[`.${e} .${e}-icon`]:{display:"block"}})}),$$=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Po(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:Nn,genComponentStyleHook:Oae,genSubStyleComponent:_u}=Cae({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=l.useContext(Wt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=ba();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e}=l.useContext(Wt);return e??{}},getResetStyles:(e,t)=>{var n;const r=Tae(e);return[r,{"&":r},Q9((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:W0)]},getCommonStyle:Rae,getCompUnitless:()=>Z9});function G0(e,t){return tc.reduce((n,r)=>{const a=e[`${r}1`],o=e[`${r}3`],i=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:a,lightBorderColor:o,darkColor:i,textColor:s}))},{})}const $ae=(e,t)=>{const[n,r]=ba();return dR({token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[Q9(e)])},Nae=Object.assign({},gm),{useId:OD}=Nae,Aae=()=>"",kae=typeof OD>"u"?Aae:OD;function Pae(e,t,n){var r;fc();const a=e||{},o=a.inherit===!1||!t?Object.assign(Object.assign({},Fg),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:Fg.hashed,cssVar:t==null?void 0:t.cssVar}):t,i=kae();return tl(()=>{var s,c;if(!e)return t;const u=Object.assign({},o.components);Object.keys(e.components||{}).forEach(m=>{u[m]=Object.assign(Object.assign({},u[m]),e.components[m])});const f=`css-var-${i.replace(/:/g,"")}`,g=((s=a.cssVar)!==null&&s!==void 0?s:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof o.cssVar=="object"?o.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((c=a.cssVar)===null||c===void 0?void 0:c.key)||f});return Object.assign(Object.assign(Object.assign({},o),a),{token:Object.assign(Object.assign({},o.token),a.token),components:u,cssVar:g})},[a,o],(s,c)=>s.some((u,f)=>{const g=c[f];return!Ei(u,g,!0)}))}var Dae=["children"],eU=l.createContext({});function Mae(e){var t=e.children,n=Bt(e,Dae);return l.createElement(eU.Provider,{value:n},t)}var Lae=function(e){ti(n,e);var t=$i(n);function n(){return Pr(this,n),t.apply(this,arguments)}return Dr(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component);function jae(e){var t=l.useReducer(function(s){return s+1},0),n=ye(t,2),r=n[1],a=l.useRef(e),o=En(function(){return a.current}),i=En(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[o,i]}var Pl="none",uv="appear",dv="enter",fv="leave",$D="none",Bi="prepare",Ld="start",jd="active",N$="end",tU="prepared";function ND(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Fae(e,t){var n={animationend:ND("Animation","AnimationEnd"),transitionend:ND("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Bae=Fae(Ba(),typeof window<"u"?window:{}),nU={};if(Ba()){var zae=document.createElement("div");nU=zae.style}var pv={};function rU(e){if(pv[e])return pv[e];var t=Bae[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:2;t();var o=mn(function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)});e.current=o}return l.useEffect(function(){return function(){t()}},[]),[n,t]};var Vae=[Bi,Ld,jd,N$],Wae=[Bi,tU],lU=!1,Gae=!0;function cU(e){return e===jd||e===N$}const qae=function(e,t,n){var r=pu($D),a=ye(r,2),o=a[0],i=a[1],s=Uae(),c=ye(s,2),u=c[0],f=c[1];function g(){i(Bi,!0)}var m=t?Wae:Vae;return sU(function(){if(o!==$D&&o!==N$){var h=m.indexOf(o),y=m[h+1],x=n(o);x===lU?i(y,!0):y&&u(function(b){function C(){b.isCanceled()||i(y,!0)}x===!0?C():Promise.resolve(x).then(C)})}},[e,o]),l.useEffect(function(){return function(){f()}},[]),[g,o]};function Kae(e,t,n,r){var a=r.motionEnter,o=a===void 0?!0:a,i=r.motionAppear,s=i===void 0?!0:i,c=r.motionLeave,u=c===void 0?!0:c,f=r.motionDeadline,g=r.motionLeaveImmediately,m=r.onAppearPrepare,h=r.onEnterPrepare,y=r.onLeavePrepare,x=r.onAppearStart,b=r.onEnterStart,C=r.onLeaveStart,S=r.onAppearActive,w=r.onEnterActive,I=r.onLeaveActive,E=r.onAppearEnd,_=r.onEnterEnd,R=r.onLeaveEnd,N=r.onVisibleChanged,O=pu(),$=ye(O,2),A=$[0],B=$[1],j=jae(Pl),F=ye(j,2),D=F[0],k=F[1],M=pu(null),L=ye(M,2),H=L[0],U=L[1],z=D(),W=l.useRef(!1),q=l.useRef(null);function K(){return n()}var G=l.useRef(!1);function X(){k(Pl),U(null,!0)}var Z=En(function(me){var ie=D();if(ie!==Pl){var he=K();if(!(me&&!me.deadline&&me.target!==he)){var Se=G.current,_e;ie===uv&&Se?_e=E==null?void 0:E(he,me):ie===dv&&Se?_e=_==null?void 0:_(he,me):ie===fv&&Se&&(_e=R==null?void 0:R(he,me)),Se&&_e!==!1&&X()}}}),J=Hae(Z),ne=ye(J,1),Q=ne[0],ee=function(ie){switch(ie){case uv:return re(re(re({},Bi,m),Ld,x),jd,S);case dv:return re(re(re({},Bi,h),Ld,b),jd,w);case fv:return re(re(re({},Bi,y),Ld,C),jd,I);default:return{}}},te=l.useMemo(function(){return ee(z)},[z]),oe=qae(z,!e,function(me){if(me===Bi){var ie=te[Bi];return ie?ie(K()):lU}if(ue in te){var he;U(((he=te[ue])===null||he===void 0?void 0:he.call(te,K(),null))||null)}return ue===jd&&z!==Pl&&(Q(K()),f>0&&(clearTimeout(q.current),q.current=setTimeout(function(){Z({deadline:!0})},f))),ue===tU&&X(),Gae}),le=ye(oe,2),fe=le[0],ue=le[1],we=cU(ue);G.current=we;var pe=l.useRef(null);sU(function(){if(!(W.current&&pe.current===t)){B(t);var me=W.current;W.current=!0;var ie;!me&&t&&s&&(ie=uv),me&&t&&o&&(ie=dv),(me&&!t&&u||!me&&g&&!t&&u)&&(ie=fv);var he=ee(ie);ie&&(e||he[Bi])?(k(ie),fe()):k(Pl),pe.current=t}},[t]),l.useEffect(function(){(z===uv&&!s||z===dv&&!o||z===fv&&!u)&&k(Pl)},[s,o,u]),l.useEffect(function(){return function(){W.current=!1,clearTimeout(q.current)}},[]);var ve=l.useRef(!1);l.useEffect(function(){A&&(ve.current=!0),A!==void 0&&z===Pl&&((ve.current||A)&&(N==null||N(A)),ve.current=!0)},[A,z]);var Ce=H;return te[Bi]&&ue===Ld&&(Ce=se({transition:"none"},Ce)),[z,ue,Ce,A??t]}function Yae(e){var t=e;Pt(e)==="object"&&(t=e.transitionSupport);function n(a,o){return!!(a.motionName&&t&&o!==!1)}var r=l.forwardRef(function(a,o){var i=a.visible,s=i===void 0?!0:i,c=a.removeOnLeave,u=c===void 0?!0:c,f=a.forceRender,g=a.children,m=a.motionName,h=a.leavedClassName,y=a.eventProps,x=l.useContext(eU),b=x.motion,C=n(a,b),S=l.useRef(),w=l.useRef();function I(){try{return S.current instanceof HTMLElement?S.current:nb(w.current)}catch{return null}}var E=Kae(C,s,I,a),_=ye(E,4),R=_[0],N=_[1],O=_[2],$=_[3],A=l.useRef($);$&&(A.current=!0);var B=l.useCallback(function(L){S.current=L,Pg(o,L)},[o]),j,F=se(se({},y),{},{visible:s});if(!g)j=null;else if(R===Pl)$?j=g(se({},F),B):!u&&A.current&&h?j=g(se(se({},F),{},{className:h}),B):f||!u&&!h?j=g(se(se({},F),{},{style:{display:"none"}}),B):j=null;else{var D;N===Bi?D="prepare":cU(N)?D="active":N===Ld&&(D="start");var k=PD(m,"".concat(R,"-").concat(D));j=g(se(se({},F),{},{className:ce(PD(m,R),re(re({},k,k&&D),m,typeof m=="string")),style:O}),B)}if(l.isValidElement(j)&&Ki(j)){var M=dc(j);M||(j=l.cloneElement(j,{ref:B}))}return l.createElement(Lae,{ref:w},j)});return r.displayName="CSSMotion",r}const Ia=Yae(iU);var ER="add",IR="keep",_R="remove",b1="removed";function Xae(e){var t;return e&&Pt(e)==="object"&&"key"in e?t=e:t={key:e},se(se({},t),{},{key:String(t.key)})}function TR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Xae)}function Zae(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,o=TR(e),i=TR(t);o.forEach(function(u){for(var f=!1,g=r;g1});return c.forEach(function(u){n=n.filter(function(f){var g=f.key,m=f.status;return g!==u||m!==_R}),n.forEach(function(f){f.key===u&&(f.status=IR)})}),n}var Jae=["component","children","onVisibleChanged","onAllRemoved"],Qae=["status"],eoe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function toe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ia,n=function(r){ti(o,r);var a=$i(o);function o(){var i;Pr(this,o);for(var s=arguments.length,c=new Array(s),u=0;unull;var aoe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at.endsWith("Color"))}const loe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(Kb=t),n!==void 0&&(uU=n),"holderRender"in e&&(fU=a),r&&(soe(r)?lae(db(),r):dU=r)},pU=()=>({getPrefixCls:(e,t)=>t||(e?`${db()}-${e}`:db()),getIconPrefixCls:ioe,getRootPrefixCls:()=>Kb||db(),getTheme:()=>dU,holderRender:fU}),coe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:o,form:i,locale:s,componentSize:c,direction:u,space:f,splitter:g,virtual:m,dropdownMatchSelectWidth:h,popupMatchSelectWidth:y,popupOverflow:x,legacyLocale:b,parentContext:C,iconPrefixCls:S,theme:w,componentDisabled:I,segmented:E,statistic:_,spin:R,calendar:N,carousel:O,cascader:$,collapse:A,typography:B,checkbox:j,descriptions:F,divider:D,drawer:k,skeleton:M,steps:L,image:H,layout:U,list:z,mentions:W,modal:q,progress:K,result:G,slider:X,breadcrumb:Z,menu:J,pagination:ne,input:Q,textArea:ee,empty:te,badge:oe,radio:le,rate:fe,switch:ue,transfer:we,avatar:pe,message:ve,tag:Ce,table:me,card:ie,tabs:he,timeline:Se,timePicker:_e,upload:$e,notification:ze,tree:Fe,colorPicker:je,datePicker:qe,rangePicker:Ue,flex:Ne,wave:Ye,dropdown:Re,warning:Ae,tour:Le,tooltip:Te,popover:Ve,popconfirm:Je,floatButtonGroup:Qe,variant:ut,inputNumber:xe,treeSelect:be}=e,Ee=l.useCallback((yt,Dt)=>{const{prefixCls:Rt}=e;if(Dt)return Dt;const _t=Rt||C.getPrefixCls("");return yt?`${_t}-${yt}`:_t},[C.getPrefixCls,e.prefixCls]),ke=S||C.iconPrefixCls||W0,et=n||C.csp;$ae(ke,et);const Be=Pae(w,C.theme,{prefixCls:Ee("")}),Ke={csp:et,autoInsertSpaceInButton:r,alert:a,anchor:o,locale:s||b,direction:u,space:f,splitter:g,virtual:m,popupMatchSelectWidth:y??h,popupOverflow:x,getPrefixCls:Ee,iconPrefixCls:ke,theme:Be,segmented:E,statistic:_,spin:R,calendar:N,carousel:O,cascader:$,collapse:A,typography:B,checkbox:j,descriptions:F,divider:D,drawer:k,skeleton:M,steps:L,image:H,input:Q,textArea:ee,layout:U,list:z,mentions:W,modal:q,progress:K,result:G,slider:X,breadcrumb:Z,menu:J,pagination:ne,empty:te,badge:oe,radio:le,rate:fe,switch:ue,transfer:we,avatar:pe,message:ve,tag:Ce,table:me,card:ie,tabs:he,timeline:Se,timePicker:_e,upload:$e,notification:ze,tree:Fe,colorPicker:je,datePicker:qe,rangePicker:Ue,flex:Ne,wave:Ye,dropdown:Re,warning:Ae,tour:Le,tooltip:Te,popover:Ve,popconfirm:Je,floatButtonGroup:Qe,variant:ut,inputNumber:xe,treeSelect:be},Ge=Object.assign({},C);Object.keys(Ke).forEach(yt=>{Ke[yt]!==void 0&&(Ge[yt]=Ke[yt])}),ooe.forEach(yt=>{const Dt=e[yt];Dt&&(Ge[yt]=Dt)}),typeof r<"u"&&(Ge.button=Object.assign({autoInsertSpace:r},Ge.button));const nt=tl(()=>Ge,Ge,(yt,Dt)=>{const Rt=Object.keys(yt),_t=Object.keys(Dt);return Rt.length!==_t.length||Rt.some(jt=>yt[jt]!==Dt[jt])}),{layer:ht}=l.useContext(vm),tt=l.useMemo(()=>({prefixCls:ke,csp:et,layer:ht?"antd":void 0}),[ke,et,ht]);let ct=l.createElement(l.Fragment,null,l.createElement(roe,{dropdownMatchSelectWidth:h}),t);const bt=l.useMemo(()=>{var yt,Dt,Rt,_t;return Md(((yt=Ss.Form)===null||yt===void 0?void 0:yt.defaultValidateMessages)||{},((Rt=(Dt=nt.locale)===null||Dt===void 0?void 0:Dt.Form)===null||Rt===void 0?void 0:Rt.defaultValidateMessages)||{},((_t=nt.form)===null||_t===void 0?void 0:_t.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[nt,i==null?void 0:i.validateMessages]);Object.keys(bt).length>0&&(ct=l.createElement(F9.Provider,{value:bt},ct)),s&&(ct=l.createElement(qre,{locale:s,_ANT_MARK__:Gre},ct)),ct=l.createElement(w$.Provider,{value:tt},ct),c&&(ct=l.createElement(cae,{size:c},ct)),ct=l.createElement(noe,null,ct);const St=l.useMemo(()=>{const yt=Be||{},{algorithm:Dt,token:Rt,components:_t,cssVar:jt}=yt,zt=aoe(yt,["algorithm","token","components","cssVar"]),en=Dt&&(!Array.isArray(Dt)||Dt.length>0)?Vb(Dt):_$,gn={};Object.entries(_t||{}).forEach(Ft=>{let[qt,Jt]=Ft;const st=Object.assign({},Jt);"algorithm"in st&&(st.algorithm===!0?st.theme=en:(Array.isArray(st.algorithm)||typeof st.algorithm=="function")&&(st.theme=Vb(st.algorithm)),delete st.algorithm),gn[qt]=st});const on=Object.assign(Object.assign({},of),Rt);return Object.assign(Object.assign({},zt),{theme:en,token:on,components:gn,override:Object.assign({override:on},gn),cssVar:jt})},[Be]);return w&&(ct=l.createElement(T$.Provider,{value:St},ct)),nt.warning&&(ct=l.createElement(Hre.Provider,{value:nt.warning},ct)),I!==void 0&&(ct=l.createElement(R$,{disabled:I},ct)),l.createElement(Wt.Provider,{value:nt},ct)},Qi=e=>{const t=l.useContext(Wt),n=l.useContext(E$);return l.createElement(coe,Object.assign({parentContext:t,legacyLocale:n},e))};Qi.ConfigContext=Wt;Qi.SizeContext=fu;Qi.config=loe;Qi.useConfig=uae;Object.defineProperty(Qi,"SizeContext",{get:()=>fu});var uoe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function gU(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function doe(e){return gU(e)instanceof ShadowRoot}function Yb(e){return doe(e)?gU(e):null}function foe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function poe(e,t){ar(e,"[@ant-design/icons] ".concat(t))}function DD(e){return Pt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Pt(e.icon)==="object"||typeof e.icon=="function")}function MD(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[foe(n)]=r}return t},{})}function RR(e,t,n){return n?ge.createElement(e.tag,se(se({key:t},MD(e.attrs)),n),(e.children||[]).map(function(r,a){return RR(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):ge.createElement(e.tag,se({key:t},MD(e.attrs)),(e.children||[]).map(function(r,a){return RR(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function mU(e){return du(e)[0]}function hU(e){return e?Array.isArray(e)?e:[e]:[]}var goe=` +.anticon { + display: inline-flex; + align-items: center; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,moe=function(t){var n=l.useContext(w$),r=n.csp,a=n.prefixCls,o=n.layer,i=goe;a&&(i=i.replace(/anticon/g,a)),o&&(i="@layer ".concat(o,` { +`).concat(i,` +}`)),l.useEffect(function(){var s=t.current,c=Yb(s);Qs(i,"@ant-design-icons",{prepend:!o,csp:r,attachTo:c})},[])},hoe=["icon","className","onClick","style","primaryColor","secondaryColor"],dg={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function voe(e){var t=e.primaryColor,n=e.secondaryColor;dg.primaryColor=t,dg.secondaryColor=n||mU(t),dg.calculated=!!n}function boe(){return se({},dg)}var Rf=function(t){var n=t.icon,r=t.className,a=t.onClick,o=t.style,i=t.primaryColor,s=t.secondaryColor,c=Bt(t,hoe),u=l.useRef(),f=dg;if(i&&(f={primaryColor:i,secondaryColor:s||mU(i)}),moe(u),poe(DD(n),"icon should be icon definiton, but got ".concat(n)),!DD(n))return null;var g=n;return g&&typeof g.icon=="function"&&(g=se(se({},g),{},{icon:g.icon(f.primaryColor,f.secondaryColor)})),RR(g.icon,"svg-".concat(g.name),se(se({className:r,onClick:a,style:o,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};Rf.displayName="IconReact";Rf.getTwoToneColors=boe;Rf.setTwoToneColors=voe;function vU(e){var t=hU(e),n=ye(t,2),r=n[0],a=n[1];return Rf.setTwoToneColors({primaryColor:r,secondaryColor:a})}function yoe(){var e=Rf.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var xoe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];vU(sf.primary);var gt=l.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,o=e.rotate,i=e.tabIndex,s=e.onClick,c=e.twoToneColor,u=Bt(e,xoe),f=l.useContext(w$),g=f.prefixCls,m=g===void 0?"anticon":g,h=f.rootClassName,y=ce(h,m,re(re({},"".concat(m,"-").concat(r.name),!!r.name),"".concat(m,"-spin"),!!a||r.name==="loading"),n),x=i;x===void 0&&s&&(x=-1);var b=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,C=hU(c),S=ye(C,2),w=S[0],I=S[1];return l.createElement("span",Ie({role:"img","aria-label":r.name},u,{ref:t,tabIndex:x,onClick:s,className:y}),l.createElement(Rf,{icon:r,primaryColor:w,secondaryColor:I,style:b}))});gt.displayName="AntdIcon";gt.getTwoToneColor=yoe;gt.setTwoToneColor=vU;var Soe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:uoe}))},Of=l.forwardRef(Soe),Coe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},woe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Coe}))},pc=l.forwardRef(woe),Eoe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Ioe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Eoe}))},Ha=l.forwardRef(Ioe),_oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},Toe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:_oe}))},bm=l.forwardRef(Toe),Roe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},Ooe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Roe}))},q0=l.forwardRef(Ooe),$oe=`accept acceptCharset accessKey action allowFullScreen allowTransparency + alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge + charSet checked classID className colSpan cols content contentEditable contextMenu + controls coords crossOrigin data dateTime default defer dir disabled download draggable + encType form formAction formEncType formMethod formNoValidate formTarget frameBorder + headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity + is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media + mediaGroup method min minLength multiple muted name noValidate nonce open + optimum pattern placeholder poster preload radioGroup readOnly rel required + reversed role rowSpan rows sandbox scope scoped scrolling seamless selected + shape size sizes span spellCheck src srcDoc srcLang srcSet start step style + summary tabIndex target title type useMap value width wmode wrap`,Noe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown + onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick + onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown + onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel + onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough + onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Aoe="".concat($oe," ").concat(Noe).split(/[\s\n]+/),koe="aria-",Poe="data-";function LD(e,t){return e.indexOf(t)===0}function zr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=se({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||LD(a,koe))||n.data&&LD(a,Poe)||n.attr&&Aoe.includes(a))&&(r[a]=e[a])}),r}function bU(e){return e&&ge.isValidElement(e)&&e.type===ge.Fragment}const k$=(e,t,n)=>ge.isValidElement(e)?ge.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function oa(e,t){return k$(e,e,t)}const gv=(e,t,n,r,a)=>({background:e,border:`${ae(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),Doe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:o,fontSizeLG:i,lineHeight:s,borderRadiusLG:c,motionEaseInOutCirc:u,withDescriptionIconSize:f,colorText:g,colorTextHeading:m,withDescriptionPadding:h,defaultPadding:y}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{position:"relative",display:"flex",alignItems:"center",padding:y,wordWrap:"break-word",borderRadius:c,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:s},"&-message":{color:m},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, + padding-top ${n} ${u}, padding-bottom ${n} ${u}, + margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:a,fontSize:f,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:m,fontSize:i},[`${t}-description`]:{display:"block",color:g}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},Moe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:o,colorWarningBorder:i,colorWarningBg:s,colorError:c,colorErrorBorder:u,colorErrorBg:f,colorInfo:g,colorInfoBorder:m,colorInfoBg:h}=e;return{[t]:{"&-success":gv(a,r,n,e,t),"&-info":gv(h,m,g,e,t),"&-warning":gv(s,i,o,e,t),"&-error":Object.assign(Object.assign({},gv(f,u,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},Loe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:o,colorIcon:i,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:o,lineHeight:ae(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:i,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:i,transition:`color ${r}`,"&:hover":{color:s}}}}},joe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),Foe=Nn("Alert",e=>[Doe(e),Moe(e),Loe(e)],joe);var jD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{icon:t,prefixCls:n,type:r}=e,a=Boe[r]||null;return t?k$(t,l.createElement("span",{className:`${n}-icon`},t),()=>({className:ce(`${n}-icon`,t.props.className)})):l.createElement(a,{className:`${n}-icon`})},Hoe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:o}=e,i=r===!0||r===void 0?l.createElement(Ha,null):r;return t?l.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},o),i):null},yU=l.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:a,banner:o,className:i,rootClassName:s,style:c,onMouseEnter:u,onMouseLeave:f,onClick:g,afterClose:m,showIcon:h,closable:y,closeText:x,closeIcon:b,action:C,id:S}=e,w=jD(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[I,E]=l.useState(!1),_=l.useRef(null);l.useImperativeHandle(t,()=>({nativeElement:_.current}));const{getPrefixCls:R,direction:N,closable:O,closeIcon:$,className:A,style:B}=ia("alert"),j=R("alert",r),[F,D,k]=Foe(j),M=G=>{var X;E(!0),(X=e.onClose)===null||X===void 0||X.call(e,G)},L=l.useMemo(()=>e.type!==void 0?e.type:o?"warning":"info",[e.type,o]),H=l.useMemo(()=>typeof y=="object"&&y.closeIcon||x?!0:typeof y=="boolean"?y:b!==!1&&b!==null&&b!==void 0?!0:!!O,[x,b,y,O]),U=o&&h===void 0?!0:h,z=ce(j,`${j}-${L}`,{[`${j}-with-description`]:!!n,[`${j}-no-icon`]:!U,[`${j}-banner`]:!!o,[`${j}-rtl`]:N==="rtl"},A,i,s,k,D),W=zr(w,{aria:!0,data:!0}),q=l.useMemo(()=>typeof y=="object"&&y.closeIcon?y.closeIcon:x||(b!==void 0?b:typeof O=="object"&&O.closeIcon?O.closeIcon:$),[b,y,x,$]),K=l.useMemo(()=>{const G=y??O;if(typeof G=="object"){const{closeIcon:X}=G;return jD(G,["closeIcon"])}return{}},[y,O]);return F(l.createElement(Ia,{visible:!I,motionName:`${j}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:G=>({maxHeight:G.offsetHeight}),onLeaveEnd:m},(G,X)=>{let{className:Z,style:J}=G;return l.createElement("div",Object.assign({id:S,ref:Ua(_,X),"data-show":!I,className:ce(z,Z),style:Object.assign(Object.assign(Object.assign({},B),c),J),onMouseEnter:u,onMouseLeave:f,onClick:g,role:"alert"},W),U?l.createElement(zoe,{description:n,icon:e.icon,prefixCls:j,type:L}):null,l.createElement("div",{className:`${j}-content`},a?l.createElement("div",{className:`${j}-message`},a):null,n?l.createElement("div",{className:`${j}-description`},n):null),C?l.createElement("div",{className:`${j}-action`},C):null,l.createElement(Hoe,{isClosable:H,prefixCls:j,closeIcon:q,handleClose:M,ariaProps:K}))}))});function Uoe(e,t,n){return t=uu(t),d9(e,F0()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}let Voe=function(e){function t(){var n;return Pr(this,t),n=Uoe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return ti(t,e),Dr(t,[{key:"componentDidCatch",value:function(r,a){this.setState({error:r,info:a})}},{key:"render",value:function(){const{message:r,description:a,id:o,children:i}=this.props,{error:s,info:c}=this.state,u=(c==null?void 0:c.componentStack)||null,f=typeof r>"u"?(s||"").toString():r,g=typeof a>"u"?u:a;return s?l.createElement(yU,{id:o,type:"error",message:f,description:l.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},g)}):i}}])}(l.Component);const qn=yU;qn.ErrorBoundary=Voe;const FD=e=>typeof e=="object"&&e!=null&&e.nodeType===1,BD=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",mv=(e,t)=>{if(e.clientHeight{const a=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!a&&(a.clientHeightot||o>e&&i=t&&s>=n?o-e-r:i>t&&sn?i-t+a:0,Woe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},zD=(e,t)=>{var n,r,a,o;if(typeof document>"u")return[];const{scrollMode:i,block:s,inline:c,boundary:u,skipOverflowHiddenElements:f}=t,g=typeof u=="function"?u:k=>k!==u;if(!FD(e))throw new TypeError("Invalid target");const m=document.scrollingElement||document.documentElement,h=[];let y=e;for(;FD(y)&&g(y);){if(y=Woe(y),y===m){h.push(y);break}y!=null&&y===document.body&&mv(y)&&!mv(document.documentElement)||y!=null&&mv(y,f)&&h.push(y)}const x=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,b=(o=(a=window.visualViewport)==null?void 0:a.height)!=null?o:innerHeight,{scrollX:C,scrollY:S}=window,{height:w,width:I,top:E,right:_,bottom:R,left:N}=e.getBoundingClientRect(),{top:O,right:$,bottom:A,left:B}=(k=>{const M=window.getComputedStyle(k);return{top:parseFloat(M.scrollMarginTop)||0,right:parseFloat(M.scrollMarginRight)||0,bottom:parseFloat(M.scrollMarginBottom)||0,left:parseFloat(M.scrollMarginLeft)||0}})(e);let j=s==="start"||s==="nearest"?E-O:s==="end"?R+A:E+w/2-O+A,F=c==="center"?N+I/2-B+$:c==="end"?_+$:N-B;const D=[];for(let k=0;k=0&&N>=0&&R<=b&&_<=x&&(M===m&&!mv(M)||E>=U&&R<=W&&N>=q&&_<=z))return D;const K=getComputedStyle(M),G=parseInt(K.borderLeftWidth,10),X=parseInt(K.borderTopWidth,10),Z=parseInt(K.borderRightWidth,10),J=parseInt(K.borderBottomWidth,10);let ne=0,Q=0;const ee="offsetWidth"in M?M.offsetWidth-M.clientWidth-G-Z:0,te="offsetHeight"in M?M.offsetHeight-M.clientHeight-X-J:0,oe="offsetWidth"in M?M.offsetWidth===0?0:H/M.offsetWidth:0,le="offsetHeight"in M?M.offsetHeight===0?0:L/M.offsetHeight:0;if(m===M)ne=s==="start"?j:s==="end"?j-b:s==="nearest"?hv(S,S+b,b,X,J,S+j,S+j+w,w):j-b/2,Q=c==="start"?F:c==="center"?F-x/2:c==="end"?F-x:hv(C,C+x,x,G,Z,C+F,C+F+I,I),ne=Math.max(0,ne+S),Q=Math.max(0,Q+C);else{ne=s==="start"?j-U-X:s==="end"?j-W+J+te:s==="nearest"?hv(U,W,L,X,J+te,j,j+w,w):j-(U+L/2)+te/2,Q=c==="start"?F-q-G:c==="center"?F-(q+H/2)+ee/2:c==="end"?F-z+Z+ee:hv(q,z,H,G,Z+ee,F,F+I,I);const{scrollLeft:fe,scrollTop:ue}=M;ne=le===0?0:Math.max(0,Math.min(ue+ne/le,M.scrollHeight-L/le+te)),Q=oe===0?0:Math.max(0,Math.min(fe+Q/oe,M.scrollWidth-H/oe+ee)),j+=ue-ne,F+=fe-Q}D.push({el:M,top:ne,left:Q})}return D},Goe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function qoe(e,t){if(!e.isConnected||!(a=>{let o=a;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;const n=(a=>{const o=window.getComputedStyle(a);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(t))return t.behavior(zD(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:o,left:i}of zD(e,Goe(t))){const s=o-n.top+n.bottom,c=i-n.left+n.right;a.scroll({top:s,left:c,behavior:r})}}function OR(e){return e!=null&&e===e.window}const Koe=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return OR(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!OR(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function Yoe(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function Xoe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,o=n(),i=Koe(o),s=Date.now(),c=()=>{const f=Date.now()-s,g=Yoe(f>a?a:f,i,e,a);OR(o)?o.scrollTo(window.pageXOffset,g):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=g:o.scrollTop=g,f{const[,,,,t]=ba();return t?`${e}-css-var`:""};var pt={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,N:78,P:80,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,SEMICOLON:186,EQUALS:187,WIN_KEY:224},xU=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,o=e.duration,i=o===void 0?4.5:o,s=e.showProgress,c=e.pauseOnHover,u=c===void 0?!0:c,f=e.eventKey,g=e.content,m=e.closable,h=e.closeIcon,y=h===void 0?"x":h,x=e.props,b=e.onClick,C=e.onNoticeClose,S=e.times,w=e.hovering,I=l.useState(!1),E=ye(I,2),_=E[0],R=E[1],N=l.useState(0),O=ye(N,2),$=O[0],A=O[1],B=l.useState(0),j=ye(B,2),F=j[0],D=j[1],k=w||_,M=i>0&&s,L=function(){C(f)},H=function(G){(G.key==="Enter"||G.code==="Enter"||G.keyCode===pt.ENTER)&&L()};l.useEffect(function(){if(!k&&i>0){var K=Date.now()-F,G=setTimeout(function(){L()},i*1e3-F);return function(){u&&clearTimeout(G),D(Date.now()-K)}}},[i,k,S]),l.useEffect(function(){if(!k&&M&&(u||F===0)){var K=performance.now(),G,X=function Z(){cancelAnimationFrame(G),G=requestAnimationFrame(function(J){var ne=J+F-K,Q=Math.min(ne/(i*1e3),1);A(Q*100),Q<1&&Z()})};return X(),function(){u&&cancelAnimationFrame(G)}}},[i,F,k,M,S]);var U=l.useMemo(function(){return Pt(m)==="object"&&m!==null?m:m?{closeIcon:y}:{}},[m,y]),z=zr(U,!0),W=100-(!$||$<0?0:$>100?100:$),q="".concat(n,"-notice");return l.createElement("div",Ie({},x,{ref:t,className:ce(q,a,re({},"".concat(q,"-closable"),m)),style:r,onMouseEnter:function(G){var X;R(!0),x==null||(X=x.onMouseEnter)===null||X===void 0||X.call(x,G)},onMouseLeave:function(G){var X;R(!1),x==null||(X=x.onMouseLeave)===null||X===void 0||X.call(x,G)},onClick:b}),l.createElement("div",{className:"".concat(q,"-content")},g),m&&l.createElement("a",Ie({tabIndex:0,className:"".concat(q,"-close"),onKeyDown:H,"aria-label":"Close"},z,{onClick:function(G){G.preventDefault(),G.stopPropagation(),L()}}),U.closeIcon),M&&l.createElement("progress",{className:"".concat(q,"-progress"),max:"100",value:W},W+"%"))}),SU=ge.createContext({}),Zoe=function(t){var n=t.children,r=t.classNames;return ge.createElement(SU.Provider,{value:{classNames:r}},n)},HD=8,UD=3,VD=16,Joe=function(t){var n={offset:HD,threshold:UD,gap:VD};if(t&&Pt(t)==="object"){var r,a,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:HD,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:UD,n.gap=(o=t.gap)!==null&&o!==void 0?o:VD}return[!!t,n]},Qoe=["className","style","classNames","styles"],eie=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,o=t.className,i=t.style,s=t.motion,c=t.onAllNoticeRemoved,u=t.onNoticeClose,f=t.stack,g=l.useContext(SU),m=g.classNames,h=l.useRef({}),y=l.useState(null),x=ye(y,2),b=x[0],C=x[1],S=l.useState([]),w=ye(S,2),I=w[0],E=w[1],_=n.map(function(k){return{config:k,key:String(k.key)}}),R=Joe(f),N=ye(R,2),O=N[0],$=N[1],A=$.offset,B=$.threshold,j=$.gap,F=O&&(I.length>0||_.length<=B),D=typeof s=="function"?s(r):s;return l.useEffect(function(){O&&I.length>1&&E(function(k){return k.filter(function(M){return _.some(function(L){var H=L.key;return M===H})})})},[I,_,O]),l.useEffect(function(){var k;if(O&&h.current[(k=_[_.length-1])===null||k===void 0?void 0:k.key]){var M;C(h.current[(M=_[_.length-1])===null||M===void 0?void 0:M.key])}},[_,O]),ge.createElement(A$,Ie({key:r,className:ce(a,"".concat(a,"-").concat(r),m==null?void 0:m.list,o,re(re({},"".concat(a,"-stack"),!!O),"".concat(a,"-stack-expanded"),F)),style:i,keys:_,motionAppear:!0},D,{onAllRemoved:function(){c(r)}}),function(k,M){var L=k.config,H=k.className,U=k.style,z=k.index,W=L,q=W.key,K=W.times,G=String(q),X=L,Z=X.className,J=X.style,ne=X.classNames,Q=X.styles,ee=Bt(X,Qoe),te=_.findIndex(function(Se){return Se.key===G}),oe={};if(O){var le=_.length-1-(te>-1?te:z-1),fe=r==="top"||r==="bottom"?"-50%":"0";if(le>0){var ue,we,pe;oe.height=F?(ue=h.current[G])===null||ue===void 0?void 0:ue.offsetHeight:b==null?void 0:b.offsetHeight;for(var ve=0,Ce=0;Ce-1?h.current[G]=_e:delete h.current[G]},prefixCls:a,classNames:ne,styles:Q,className:ce(Z,m==null?void 0:m.notice),style:J,times:K,key:q,eventKey:q,onNoticeClose:u,hovering:O&&I.length>0})))})},tie=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,a=e.container,o=e.motion,i=e.maxCount,s=e.className,c=e.style,u=e.onAllRemoved,f=e.stack,g=e.renderNotifications,m=l.useState([]),h=ye(m,2),y=h[0],x=h[1],b=function(O){var $,A=y.find(function(B){return B.key===O});A==null||($=A.onClose)===null||$===void 0||$.call(A),x(function(B){return B.filter(function(j){return j.key!==O})})};l.useImperativeHandle(t,function(){return{open:function(O){x(function($){var A=Ze($),B=A.findIndex(function(D){return D.key===O.key}),j=se({},O);if(B>=0){var F;j.times=(((F=$[B])===null||F===void 0?void 0:F.times)||0)+1,A[B]=j}else j.times=0,A.push(j);return i>0&&A.length>i&&(A=A.slice(-i)),A})},close:function(O){b(O)},destroy:function(){x([])}}});var C=l.useState({}),S=ye(C,2),w=S[0],I=S[1];l.useEffect(function(){var N={};y.forEach(function(O){var $=O.placement,A=$===void 0?"topRight":$;A&&(N[A]=N[A]||[],N[A].push(O))}),Object.keys(w).forEach(function(O){N[O]=N[O]||[]}),I(N)},[y]);var E=function(O){I(function($){var A=se({},$),B=A[O]||[];return B.length||delete A[O],A})},_=l.useRef(!1);if(l.useEffect(function(){Object.keys(w).length>0?_.current=!0:_.current&&(u==null||u(),_.current=!1)},[w]),!a)return null;var R=Object.keys(w);return Ka.createPortal(l.createElement(l.Fragment,null,R.map(function(N){var O=w[N],$=l.createElement(eie,{key:N,configList:O,placement:N,prefixCls:r,className:s==null?void 0:s(N),style:c==null?void 0:c(N),motion:o,onNoticeClose:b,onAllNoticeRemoved:E,stack:f});return g?g($,{prefixCls:r,key:N}):$})),a)}),nie=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],rie=function(){return document.body},WD=0;function aie(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?rie:t,r=e.motion,a=e.prefixCls,o=e.maxCount,i=e.className,s=e.style,c=e.onAllRemoved,u=e.stack,f=e.renderNotifications,g=Bt(e,nie),m=l.useState(),h=ye(m,2),y=h[0],x=h[1],b=l.useRef(),C=l.createElement(tie,{container:y,ref:b,prefixCls:a,motion:r,maxCount:o,className:i,style:s,onAllRemoved:c,stack:u,renderNotifications:f}),S=l.useState([]),w=ye(S,2),I=w[0],E=w[1],_=l.useMemo(function(){return{open:function(N){var O=aie(g,N);(O.key===null||O.key===void 0)&&(O.key="rc-notification-".concat(WD),WD+=1),E(function($){return[].concat(Ze($),[{type:"open",config:O}])})},close:function(N){E(function(O){return[].concat(Ze(O),[{type:"close",key:N}])})},destroy:function(){E(function(N){return[].concat(Ze(N),[{type:"destroy"}])})}}},[]);return l.useEffect(function(){x(n())}),l.useEffect(function(){if(b.current&&I.length){I.forEach(function(O){switch(O.type){case"open":b.current.open(O.config);break;case"close":b.current.close(O.key);break;case"destroy":b.current.destroy();break}});var R,N;E(function(O){return(R!==O||!N)&&(R=O,N=O.filter(function($){return!I.includes($)})),N})}},[I]),[_,C]}var iie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},sie=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:iie}))},_i=l.forwardRef(sie);const ym=ge.createContext(void 0),Dl=100,lie=10,CU=Dl*lie,wU={Modal:Dl,Drawer:Dl,Popover:Dl,Popconfirm:Dl,Tooltip:Dl,Tour:Dl,FloatButton:Dl},cie={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function uie(e){return e in wU}const es=(e,t)=>{const[,n]=ba(),r=ge.useContext(ym),a=uie(e);let o;if(t!==void 0)o=[t,t];else{let i=r??0;a?i+=(r?0:n.zIndexPopupBase)+wU[e]:i+=cie[e],o=[r===void 0?t:i,i]}return o};function die(){const[e,t]=l.useState([]),n=l.useCallback(r=>(t(a=>[].concat(Ze(a),[r])),()=>{t(a=>a.filter(o=>o!==r))}),[]);return[e,n]}function kr(){kr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(k,M,L){k[M]=L.value},o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(k,M,L){return Object.defineProperty(k,M,{value:L,enumerable:!0,configurable:!0,writable:!0}),k[M]}try{u({},"")}catch{u=function(L,H,U){return L[H]=U}}function f(k,M,L,H){var U=M&&M.prototype instanceof C?M:C,z=Object.create(U.prototype),W=new F(H||[]);return a(z,"_invoke",{value:$(k,L,W)}),z}function g(k,M,L){try{return{type:"normal",arg:k.call(M,L)}}catch(H){return{type:"throw",arg:H}}}t.wrap=f;var m="suspendedStart",h="suspendedYield",y="executing",x="completed",b={};function C(){}function S(){}function w(){}var I={};u(I,i,function(){return this});var E=Object.getPrototypeOf,_=E&&E(E(D([])));_&&_!==n&&r.call(_,i)&&(I=_);var R=w.prototype=C.prototype=Object.create(I);function N(k){["next","throw","return"].forEach(function(M){u(k,M,function(L){return this._invoke(M,L)})})}function O(k,M){function L(U,z,W,q){var K=g(k[U],k,z);if(K.type!=="throw"){var G=K.arg,X=G.value;return X&&Pt(X)=="object"&&r.call(X,"__await")?M.resolve(X.__await).then(function(Z){L("next",Z,W,q)},function(Z){L("throw",Z,W,q)}):M.resolve(X).then(function(Z){G.value=Z,W(G)},function(Z){return L("throw",Z,W,q)})}q(K.arg)}var H;a(this,"_invoke",{value:function(z,W){function q(){return new M(function(K,G){L(z,W,K,G)})}return H=H?H.then(q,q):q()}})}function $(k,M,L){var H=m;return function(U,z){if(H===y)throw Error("Generator is already running");if(H===x){if(U==="throw")throw z;return{value:e,done:!0}}for(L.method=U,L.arg=z;;){var W=L.delegate;if(W){var q=A(W,L);if(q){if(q===b)continue;return q}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(H===m)throw H=x,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);H=y;var K=g(k,M,L);if(K.type==="normal"){if(H=L.done?x:h,K.arg===b)continue;return{value:K.arg,done:L.done}}K.type==="throw"&&(H=x,L.method="throw",L.arg=K.arg)}}}function A(k,M){var L=M.method,H=k.iterator[L];if(H===e)return M.delegate=null,L==="throw"&&k.iterator.return&&(M.method="return",M.arg=e,A(k,M),M.method==="throw")||L!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+L+"' method")),b;var U=g(H,k.iterator,M.arg);if(U.type==="throw")return M.method="throw",M.arg=U.arg,M.delegate=null,b;var z=U.arg;return z?z.done?(M[k.resultName]=z.value,M.next=k.nextLoc,M.method!=="return"&&(M.method="next",M.arg=e),M.delegate=null,b):z:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,b)}function B(k){var M={tryLoc:k[0]};1 in k&&(M.catchLoc=k[1]),2 in k&&(M.finallyLoc=k[2],M.afterLoc=k[3]),this.tryEntries.push(M)}function j(k){var M=k.completion||{};M.type="normal",delete M.arg,k.completion=M}function F(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(B,this),this.reset(!0)}function D(k){if(k||k===""){var M=k[i];if(M)return M.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var L=-1,H=function U(){for(;++L=0;--U){var z=this.tryEntries[U],W=z.completion;if(z.tryLoc==="root")return H("end");if(z.tryLoc<=this.prev){var q=r.call(z,"catchLoc"),K=r.call(z,"finallyLoc");if(q&&K){if(this.prev=0;--H){var U=this.tryEntries[H];if(U.tryLoc<=this.prev&&r.call(U,"finallyLoc")&&this.prev=0;--L){var H=this.tryEntries[L];if(H.finallyLoc===M)return this.complete(H.completion,H.afterLoc),j(H),b}},catch:function(M){for(var L=this.tryEntries.length-1;L>=0;--L){var H=this.tryEntries[L];if(H.tryLoc===M){var U=H.completion;if(U.type==="throw"){var z=U.arg;j(H)}return z}}throw Error("illegal catch attempt")},delegateYield:function(M,L,H){return this.delegate={iterator:D(M),resultName:L,nextLoc:H},this.method==="next"&&(this.arg=e),b}},t}function GD(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,a)}function qo(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(c){GD(o,r,a,i,s,"next",c)}function s(c){GD(o,r,a,i,s,"throw",c)}i(void 0)})}}var xm=se({},Vee),fie=xm.version,y1=xm.render,pie=xm.unmountComponentAtNode,K0;try{var gie=Number((fie||"").split(".")[0]);gie>=18&&(K0=xm.createRoot)}catch{}function qD(e){var t=xm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Pt(t)==="object"&&(t.usingClientEntryPoint=e)}var Xb="__rc_react_root__";function mie(e,t){qD(!0);var n=t[Xb]||K0(t);qD(!1),n.render(e),t[Xb]=n}function hie(e,t){y1==null||y1(e,t)}function vie(e,t){if(K0){mie(e,t);return}hie(e,t)}function bie(e){return $R.apply(this,arguments)}function $R(){return $R=qo(kr().mark(function e(t){return kr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[Xb])===null||a===void 0||a.unmount(),delete t[Xb]}));case 1:case"end":return r.stop()}},e)})),$R.apply(this,arguments)}function yie(e){pie(e)}function xie(e){return NR.apply(this,arguments)}function NR(){return NR=qo(kr().mark(function e(t){return kr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(K0===void 0){r.next=2;break}return r.abrupt("return",bie(t));case 2:yie(t);case 3:case"end":return r.stop()}},e)})),NR.apply(this,arguments)}const Sie=(e,t)=>(vie(e,t),()=>xie(t));let Cie=Sie;function P$(){return Cie}const x1=()=>({height:0,opacity:0}),KD=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},wie=e=>({height:e?e.offsetHeight:0}),S1=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",lf=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bg}-motion-collapse`,onAppearStart:x1,onEnterStart:x1,onAppearActive:KD,onEnterActive:KD,onLeaveStart:wie,onLeaveActive:x1,onAppearEnd:S1,onEnterEnd:S1,onLeaveEnd:S1,motionDeadline:500}},lo=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function or(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}const $f=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),o=a.width,i=a.height;if(o||i)return!0}}return!1},Eie=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Iie=Oae("Wave",e=>[Eie(e)]),Y0=`${Bg}-wave-target`;function C1(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function _ie(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return C1(t)?t:C1(n)?n:C1(r)?r:null}function w1(e){return Number.isNaN(e)?0:e}const Tie=e=>{const{className:t,target:n,component:r,registerUnmount:a}=e,o=l.useRef(null),i=l.useRef(null);l.useEffect(()=>{i.current=a()},[]);const[s,c]=l.useState(null),[u,f]=l.useState([]),[g,m]=l.useState(0),[h,y]=l.useState(0),[x,b]=l.useState(0),[C,S]=l.useState(0),[w,I]=l.useState(!1),E={left:g,top:h,width:x,height:C,borderRadius:u.map(N=>`${N}px`).join(" ")};s&&(E["--wave-color"]=s);function _(){const N=getComputedStyle(n);c(_ie(n));const O=N.position==="static",{borderLeftWidth:$,borderTopWidth:A}=N;m(O?n.offsetLeft:w1(-parseFloat($))),y(O?n.offsetTop:w1(-parseFloat(A))),b(n.offsetWidth),S(n.offsetHeight);const{borderTopLeftRadius:B,borderTopRightRadius:j,borderBottomLeftRadius:F,borderBottomRightRadius:D}=N;f([B,j,D,F].map(k=>w1(parseFloat(k))))}if(l.useEffect(()=>{if(n){const N=mn(()=>{_(),I(!0)});let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(_),O.observe(n)),()=>{mn.cancel(N),O==null||O.disconnect()}}},[]),!w)return null;const R=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Y0));return l.createElement(Ia,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(N,O)=>{var $,A;if(O.deadline||O.propertyName==="opacity"){const B=($=o.current)===null||$===void 0?void 0:$.parentElement;(A=i.current)===null||A===void 0||A.call(i).then(()=>{B==null||B.remove()})}return!1}},(N,O)=>{let{className:$}=N;return l.createElement("div",{ref:Ua(o,O),className:ce(t,$,{"wave-quick":R}),style:E})})},Rie=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const a=document.createElement("div");a.style.position="absolute",a.style.left="0px",a.style.top="0px",e==null||e.insertBefore(a,e==null?void 0:e.firstChild);const o=P$();let i=null;function s(){return i}i=o(l.createElement(Tie,Object.assign({},t,{target:e,registerUnmount:s})),a)},Oie=(e,t,n)=>{const{wave:r}=l.useContext(Wt),[,a,o]=ba(),i=En(u=>{const f=e.current;if(r!=null&&r.disabled||!f)return;const g=f.querySelector(`.${Y0}`)||f,{showEffect:m}=r||{};(m||Rie)(g,{className:t,token:a,component:n,event:u,hashId:o})}),s=l.useRef(null);return u=>{mn.cancel(s.current),s.current=mn(()=>{i(u)})}},Sm=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=l.useContext(Wt),o=l.useRef(null),i=a("wave"),[,s]=Iie(i),c=Oie(o,ce(i,s),r);if(ge.useEffect(()=>{const f=o.current;if(!f||f.nodeType!==1||n)return;const g=m=>{!$f(m.target)||!f.getAttribute||f.getAttribute("disabled")||f.disabled||f.className.includes("disabled")||f.className.includes("-leave")||c(m)};return f.addEventListener("click",g,!0),()=>{f.removeEventListener("click",g,!0)}},[n]),!ge.isValidElement(t))return t??null;const u=Ki(t)?Ua(dc(t),o):o;return oa(t,{ref:u})},da=e=>{const t=ge.useContext(fu);return ge.useMemo(()=>e?typeof e=="string"?e??t:typeof e=="function"?e(t):t:t,[e,t])},$ie=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Nie=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Aie=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},EU=Nn("Space",e=>{const t=fn(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Nie(t),Aie(t),$ie(t)]},()=>({}),{resetStyle:!1});var IU=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(X0),r=l.useMemo(()=>{if(!n)return"";const{compactDirection:a,isFirstItem:o,isLastItem:i}=n,s=a==="vertical"?"-vertical-":"-";return ce(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},kie=e=>{const{children:t}=e;return l.createElement(X0.Provider,{value:null},t)},Pie=e=>{const{children:t}=e,n=IU(e,["children"]);return l.createElement(X0.Provider,{value:l.useMemo(()=>n,[n])},t)},Die=e=>{const{getPrefixCls:t,direction:n}=l.useContext(Wt),{size:r,direction:a,block:o,prefixCls:i,className:s,rootClassName:c,children:u}=e,f=IU(e,["size","direction","block","prefixCls","className","rootClassName","children"]),g=da(w=>r??w),m=t("space-compact",i),[h,y]=EU(m),x=ce(m,y,{[`${m}-rtl`]:n==="rtl",[`${m}-block`]:o,[`${m}-vertical`]:a==="vertical"},s,c),b=l.useContext(X0),C=aa(u),S=l.useMemo(()=>C.map((w,I)=>{const E=(w==null?void 0:w.key)||`${m}-item-${I}`;return l.createElement(Pie,{key:E,compactSize:g,compactDirection:a,isFirstItem:I===0&&(!b||(b==null?void 0:b.isFirstItem)),isLastItem:I===C.length-1&&(!b||(b==null?void 0:b.isLastItem))},w)}),[r,C,b]);return C.length===0?null:h(l.createElement("div",Object.assign({className:x},f),S))};var Mie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n}=l.useContext(Wt),{prefixCls:r,size:a,className:o}=e,i=Mie(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,c]=ba(),u=l.useMemo(()=>{switch(a){case"large":return"lg";case"small":return"sm";default:return""}},[a]),f=ce(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},o,c);return l.createElement(_U.Provider,{value:a},l.createElement("div",Object.assign({},i,{className:f})))},YD=/^[\u4E00-\u9FA5]{2}$/,AR=YD.test.bind(YD);function TU(e){return e==="danger"?{danger:!0}:{type:e}}function XD(e){return typeof e=="string"}function E1(e){return e==="text"||e==="link"}function jie(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&XD(e.type)&&AR(e.props.children)?oa(e,{children:e.props.children.split("").join(n)}):XD(e)?AR(e)?ge.createElement("span",null,e.split("").join(n)):ge.createElement("span",null,e):bU(e)?ge.createElement("span",null,e):e}function Fie(e,t){let n=!1;const r=[];return ge.Children.forEach(e,a=>{const o=typeof a,i=o==="string"||o==="number";if(n&&i){const s=r.length-1,c=r[s];r[s]=`${c}${a}`}else r.push(a);n=i}),ge.Children.map(r,a=>jie(a,t))}["default","primary","danger"].concat(Ze(tc));const kR=l.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:o}=e,i=ce(`${o}-icon`,n);return ge.createElement("span",{ref:t,className:i,style:r},a)}),ZD=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:o}=e,i=ce(`${n}-loading-icon`,r);return ge.createElement(kR,{prefixCls:n,className:i,style:a,ref:t},ge.createElement(_i,{className:o}))}),I1=()=>({width:0,opacity:0,transform:"scale(0)"}),_1=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Bie=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:o,mount:i}=e,s=!!n;return r?ge.createElement(ZD,{prefixCls:t,className:a,style:o}):ge.createElement(Ia,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:!0,onAppearStart:I1,onAppearActive:_1,onEnterStart:I1,onEnterActive:_1,onLeaveStart:_1,onLeaveActive:I1},(c,u)=>{let{className:f,style:g}=c;const m=Object.assign(Object.assign({},o),g);return ge.createElement(ZD,{prefixCls:t,className:ce(a,f),style:m,ref:u})})},JD=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),zie=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:a,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},JD(`${t}-primary`,a),JD(`${t}-danger`,o)]}};var Hie=["b"],Uie=["v"],T1=function(t){return Math.round(Number(t||0))},Vie=function(t){if(t instanceof In)return t;if(t&&Pt(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,a=Bt(n,Hie);return se(se({},a),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},zg=function(e){ti(n,e);var t=$i(n);function n(r){return Pr(this,n),t.call(this,Vie(r))}return Dr(n,[{key:"toHsbString",value:function(){var a=this.toHsb(),o=T1(a.s*100),i=T1(a.b*100),s=T1(a.h),c=a.a,u="hsb(".concat(s,", ").concat(o,"%, ").concat(i,"%)"),f="hsba(".concat(s,", ").concat(o,"%, ").concat(i,"%, ").concat(c.toFixed(c===0?0:2),")");return c===1?u:f}},{key:"toHsb",value:function(){var a=this.toHsv(),o=a.v,i=Bt(a,Uie);return se(se({},i),{},{b:o,a:this.a})}}]),n}(In),Wie=function(t){return t instanceof zg?t:new zg(t)};Wie("#1677ff");const Gie=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",qie=(e,t)=>e?Gie(e,t):"";let Kie=function(){function e(t){Pr(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(a=>({color:new e(a.color),percent:a.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(a=>{let{color:o,percent:i}=a;return{color:new e(o),percent:i}}),this.metaColor=new zg(this.colors[0].color.metaColor)):this.metaColor=new zg(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Dr(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return qie(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(a=>`${a.color.toRgbString()} ${a.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,a)=>{const o=n.colors[a];return r.percent===o.percent&&r.color.equals(o.color)}):this.toHexString()===n.toHexString()}}])}();var Yie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Xie=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Yie}))},Do=l.forwardRef(Xie),RU=ge.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,a=e.className,o=e.style,i=e.children,s=e.isActive,c=e.role,u=e.classNames,f=e.styles,g=ge.useState(s||r),m=ye(g,2),h=m[0],y=m[1];return ge.useEffect(function(){(r||s)&&y(!0)},[r,s]),h?ge.createElement("div",{ref:t,className:ce("".concat(n,"-content"),re(re({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:o,role:c},ge.createElement("div",{className:ce("".concat(n,"-content-box"),u==null?void 0:u.body),style:f==null?void 0:f.body},i)):null});RU.displayName="PanelContent";var Zie=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],OU=ge.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,a=e.headerClass,o=e.isActive,i=e.onItemClick,s=e.forceRender,c=e.className,u=e.classNames,f=u===void 0?{}:u,g=e.styles,m=g===void 0?{}:g,h=e.prefixCls,y=e.collapsible,x=e.accordion,b=e.panelKey,C=e.extra,S=e.header,w=e.expandIcon,I=e.openMotion,E=e.destroyInactivePanel,_=e.children,R=Bt(e,Zie),N=y==="disabled",O=C!=null&&typeof C!="boolean",$=re(re(re({onClick:function(){i==null||i(b)},onKeyDown:function(M){(M.key==="Enter"||M.keyCode===pt.ENTER||M.which===pt.ENTER)&&(i==null||i(b))},role:x?"tab":"button"},"aria-expanded",o),"aria-disabled",N),"tabIndex",N?-1:0),A=typeof w=="function"?w(e):ge.createElement("i",{className:"arrow"}),B=A&&ge.createElement("div",Ie({className:"".concat(h,"-expand-icon")},["header","icon"].includes(y)?$:{}),A),j=ce("".concat(h,"-item"),re(re({},"".concat(h,"-item-active"),o),"".concat(h,"-item-disabled"),N),c),F=ce(a,"".concat(h,"-header"),re({},"".concat(h,"-collapsible-").concat(y),!!y),f.header),D=se({className:F,style:m.header},["header","icon"].includes(y)?{}:$);return ge.createElement("div",Ie({},R,{ref:t,className:j}),ge.createElement("div",D,r&&B,ge.createElement("span",Ie({className:"".concat(h,"-header-text")},y==="header"?$:{}),S),O&&ge.createElement("div",{className:"".concat(h,"-extra")},C)),ge.createElement(Ia,Ie({visible:o,leavedClassName:"".concat(h,"-content-hidden")},I,{forceRender:s,removeOnLeave:E}),function(k,M){var L=k.className,H=k.style;return ge.createElement(RU,{ref:M,prefixCls:h,className:L,classNames:f,style:H,styles:m,isActive:o,forceRender:s,role:x?"tabpanel":void 0},_)}))}),Jie=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Qie=function(t,n){var r=n.prefixCls,a=n.accordion,o=n.collapsible,i=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,u=n.openMotion,f=n.expandIcon;return t.map(function(g,m){var h=g.children,y=g.label,x=g.key,b=g.collapsible,C=g.onItemClick,S=g.destroyInactivePanel,w=Bt(g,Jie),I=String(x??m),E=b??o,_=S??i,R=function($){E!=="disabled"&&(s($),C==null||C($))},N=!1;return a?N=c[0]===I:N=c.indexOf(I)>-1,ge.createElement(OU,Ie({},w,{prefixCls:r,key:I,panelKey:I,isActive:N,accordion:a,openMotion:u,expandIcon:f,header:y,collapsible:E,onItemClick:R,destroyInactivePanel:_}),h)})},ese=function(t,n,r){if(!t)return null;var a=r.prefixCls,o=r.accordion,i=r.collapsible,s=r.destroyInactivePanel,c=r.onItemClick,u=r.activeKey,f=r.openMotion,g=r.expandIcon,m=t.key||String(n),h=t.props,y=h.header,x=h.headerClass,b=h.destroyInactivePanel,C=h.collapsible,S=h.onItemClick,w=!1;o?w=u[0]===m:w=u.indexOf(m)>-1;var I=C??i,E=function(N){I!=="disabled"&&(c(N),S==null||S(N))},_={key:m,panelKey:m,header:y,headerClass:x,isActive:w,prefixCls:a,destroyInactivePanel:b??s,openMotion:f,accordion:o,children:t.props.children,onItemClick:E,expandIcon:g,collapsible:I};return typeof t.type=="string"?t:(Object.keys(_).forEach(function(R){typeof _[R]>"u"&&delete _[R]}),ge.cloneElement(t,_))};function tse(e,t,n){return Array.isArray(e)?Qie(e,n):aa(t).map(function(r,a){return ese(r,a,n)})}function nse(e){var t=e;if(!Array.isArray(t)){var n=Pt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var rse=ge.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,a=e.destroyInactivePanel,o=a===void 0?!1:a,i=e.style,s=e.accordion,c=e.className,u=e.children,f=e.collapsible,g=e.openMotion,m=e.expandIcon,h=e.activeKey,y=e.defaultActiveKey,x=e.onChange,b=e.items,C=ce(r,c),S=Vn([],{value:h,onChange:function(O){return x==null?void 0:x(O)},defaultValue:y,postState:nse}),w=ye(S,2),I=w[0],E=w[1],_=function(O){return E(function(){if(s)return I[0]===O?[]:[O];var $=I.indexOf(O),A=$>-1;return A?I.filter(function(B){return B!==O}):[].concat(Ze(I),[O])})};ar(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var R=tse(b,u,{prefixCls:r,accordion:s,openMotion:g,expandIcon:m,collapsible:f,destroyInactivePanel:o,onItemClick:_,activeKey:I});return ge.createElement("div",Ie({ref:t,className:C,style:i,role:s?"tablist":void 0},zr(e,{aria:!0,data:!0})),R)});const D$=Object.assign(rse,{Panel:OU});D$.Panel;const ase=l.forwardRef((e,t)=>{const{getPrefixCls:n}=l.useContext(Wt),{prefixCls:r,className:a,showArrow:o=!0}=e,i=n("collapse",r),s=ce({[`${i}-no-arrow`]:!o},a);return l.createElement(D$.Panel,Object.assign({ref:t},e,{prefixCls:i,className:s}))}),Cm=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),ose=e=>({animationDuration:e,animationFillMode:"both"}),ise=e=>({animationDuration:e,animationFillMode:"both"}),Z0=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${o}${e}-enter, + ${o}${e}-appear + `]:Object.assign(Object.assign({},ose(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:Object.assign(Object.assign({},ise(r)),{animationPlayState:"paused"}),[` + ${o}${e}-enter${e}-enter-active, + ${o}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},sse=new An("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),lse=new An("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),M$=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,a=t?"&":"";return[Z0(r,sse,lse,e.motionDurationMid,t),{[` + ${a}${r}-enter, + ${a}${r}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]},cse=new An("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),use=new An("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),dse=new An("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),fse=new An("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),pse=new An("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),gse=new An("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),mse=new An("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),hse=new An("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),vse={"move-up":{inKeyframes:mse,outKeyframes:hse},"move-down":{inKeyframes:cse,outKeyframes:use},"move-left":{inKeyframes:dse,outKeyframes:fse},"move-right":{inKeyframes:pse,outKeyframes:gse}},cf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:o}=vse[t];return[Z0(r,a,o,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},J0=new An("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Q0=new An("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),ey=new An("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ty=new An("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),bse=new An("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),yse=new An("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),xse=new An("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Sse=new An("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Cse={"slide-up":{inKeyframes:J0,outKeyframes:Q0},"slide-down":{inKeyframes:ey,outKeyframes:ty},"slide-left":{inKeyframes:bse,outKeyframes:yse},"slide-right":{inKeyframes:xse,outKeyframes:Sse}},Cs=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:o}=Cse[t];return[Z0(r,a,o,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},L$=new An("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),wse=new An("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),QD=new An("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),eM=new An("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Ese=new An("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Ise=new An("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),_se=new An("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Tse=new An("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Rse=new An("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Ose=new An("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),$se=new An("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Nse=new An("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Ase={zoom:{inKeyframes:L$,outKeyframes:wse},"zoom-big":{inKeyframes:QD,outKeyframes:eM},"zoom-big-fast":{inKeyframes:QD,outKeyframes:eM},"zoom-left":{inKeyframes:_se,outKeyframes:Tse},"zoom-right":{inKeyframes:Rse,outKeyframes:Ose},"zoom-up":{inKeyframes:Ese,outKeyframes:Ise},"zoom-down":{inKeyframes:$se,outKeyframes:Nse}},Nf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:o}=Ase[t];return[Z0(r,a,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},kse=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:o,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:f,colorBorder:g,colorText:m,colorTextHeading:h,colorTextDisabled:y,fontSizeLG:x,lineHeight:b,lineHeightLG:C,marginSM:S,paddingSM:w,paddingLG:I,paddingXS:E,motionDurationSlow:_,fontSizeIcon:R,contentPadding:N,fontHeight:O,fontHeightLG:$}=e,A=`${ae(u)} ${f} ${g}`;return{[t]:Object.assign(Object.assign({},Dn(e)),{backgroundColor:a,border:A,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:A,"&:first-child":{[` + &, + & > ${t}-header`]:{borderRadius:`${ae(c)} ${ae(c)} 0 0`}},"&:last-child":{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${ae(c)} ${ae(c)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:h,lineHeight:b,cursor:"pointer",transition:`all ${_}, visibility 0s`},Po(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:O,display:"flex",alignItems:"center",paddingInlineEnd:S},[`${t}-arrow`]:Object.assign(Object.assign({},Iu()),{fontSize:R,transition:`transform ${_}`,svg:{transition:`transform ${_}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:m,backgroundColor:n,borderTop:A,[`& > ${t}-content-box`]:{padding:N},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:i,paddingInlineStart:E,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(E).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:x,lineHeight:C,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:$,marginInlineStart:e.calc(I).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:I}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${ae(c)} ${ae(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:y,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:S}}}}})}},Pse=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Dse=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + > ${t}-item:last-child, + > ${t}-item:last-child ${t}-header + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},Mse=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},Lse=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),jse=Nn("Collapse",e=>{const t=fn(e,{collapseHeaderPaddingSM:`${ae(e.paddingXS)} ${ae(e.paddingSM)}`,collapseHeaderPaddingLG:`${ae(e.padding)} ${ae(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[kse(t),Dse(t),Mse(t),Pse(t),Cm(t)]},Lse),Fse=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,expandIcon:a,className:o,style:i}=ia("collapse"),{prefixCls:s,className:c,rootClassName:u,style:f,bordered:g=!0,ghost:m,size:h,expandIconPosition:y="start",children:x,expandIcon:b}=e,C=da(j=>{var F;return(F=h??j)!==null&&F!==void 0?F:"middle"}),S=n("collapse",s),w=n(),[I,E,_]=jse(S),R=l.useMemo(()=>y==="left"?"start":y==="right"?"end":y,[y]),N=b??a,O=l.useCallback(function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const F=typeof N=="function"?N(j):l.createElement(Do,{rotate:j.isActive?r==="rtl"?-90:90:void 0,"aria-label":j.isActive?"expanded":"collapsed"});return oa(F,()=>{var D;return{className:ce((D=F==null?void 0:F.props)===null||D===void 0?void 0:D.className,`${S}-arrow`)}})},[N,S]),$=ce(`${S}-icon-position-${R}`,{[`${S}-borderless`]:!g,[`${S}-rtl`]:r==="rtl",[`${S}-ghost`]:!!m,[`${S}-${C}`]:C!=="middle"},o,c,u,E,_),A=Object.assign(Object.assign({},lf(w)),{motionAppear:!1,leavedClassName:`${S}-content-hidden`}),B=l.useMemo(()=>x?aa(x).map((j,F)=>{var D,k;const M=j.props;if(M!=null&&M.disabled){const L=(D=j.key)!==null&&D!==void 0?D:String(F),H=Object.assign(Object.assign({},or(j.props,["disabled"])),{key:L,collapsible:(k=M.collapsible)!==null&&k!==void 0?k:"disabled"});return oa(j,H)}return j}):null,[x]);return I(l.createElement(D$,Object.assign({ref:t,openMotion:A},or(e,["rootClassName"]),{expandIcon:O,prefixCls:S,className:$,style:Object.assign(Object.assign({},i),f)}),B))}),Ui=Object.assign(Fse,{Panel:ase}),Bse=(e,t)=>{const{r:n,g:r,b:a,a:o}=e.toRgb(),i=new zg(e.toRgbString()).onBackground(t).toHsv();return o<=.5?i.v>.5:n*.299+r*.587+a*.114>192},$U=e=>{const{paddingInline:t,onlyIconSize:n}=e;return fn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},NU=e=>{var t,n,r,a,o,i;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,c=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,f=(a=e.contentLineHeight)!==null&&a!==void 0?a:ub(s),g=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:ub(c),m=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:ub(u),h=Bse(new Kie(e.colorBgSolid),"#fff")?"#000":"#fff",y=tc.reduce((x,b)=>Object.assign(Object.assign({},x),{[`${b}ShadowColor`]:`0 ${ae(e.controlOutlineWidth)} 0 ${Yp(e[`${b}1`],e.colorBgContainer)}`}),{});return Object.assign(Object.assign({},y),{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:h,contentFontSize:s,contentFontSizeSM:c,contentFontSizeLG:u,contentLineHeight:f,contentLineHeightSM:g,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-s*f)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*g)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*m)/2-e.lineWidth,0)})},zse=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:a,motionDurationSlow:o,motionEaseInOut:i,marginXS:s,calc:c}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ae(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:Iu(),"> a":{color:"currentColor"},"&:not(:disabled)":Po(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:a,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(u=>`${u} ${o} ${i}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},AU=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Hse=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Use=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Vse=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),ny=(e,t,n,r,a,o,i,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},AU(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:o||void 0}})}),Wse=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},Vse(e))}),Gse=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),ry=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?Gse:Wse;return Object.assign(Object.assign({},o(e)),AU(e.componentCls,t,n))},ay=(e,t,n,r,a)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},ry(e,r,a))}),oy=(e,t,n,r,a)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},ry(e,r,a))}),iy=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),sy=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},ry(e,n,r))}),ws=(e,t,n,r,a)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},ry(e,r,a,n))}),qse=e=>{const{componentCls:t}=e;return tc.reduce((n,r)=>{const a=e[`${r}6`],o=e[`${r}1`],i=e[`${r}5`],s=e[`${r}2`],c=e[`${r}3`],u=e[`${r}7`];return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:a,boxShadow:e[`${r}ShadowColor`]},ay(e,e.colorTextLightSolid,a,{background:i},{background:u})),oy(e,a,e.colorBgContainer,{color:i,borderColor:i,background:e.colorBgContainer},{color:u,borderColor:u,background:e.colorBgContainer})),iy(e)),sy(e,o,{background:s},{background:c})),ws(e,a,"link",{color:i},{color:u})),ws(e,a,"text",{color:i,background:o},{color:u,background:c}))})},{})},Kse=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},ay(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),iy(e)),sy(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),ny(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),ws(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Yse=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},oy(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),iy(e)),sy(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),ws(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),ws(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),ny(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Xse=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},ay(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),oy(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),iy(e)),sy(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),ws(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),ws(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),ny(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Zse=e=>Object.assign(Object.assign({},ws(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),ny(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})),Jse=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:Kse(e),[`${t}-color-primary`]:Yse(e),[`${t}-color-dangerous`]:Xse(e),[`${t}-color-link`]:Zse(e)},qse(e))},Qse=e=>Object.assign(Object.assign(Object.assign(Object.assign({},oy(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),ws(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),ay(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),ws(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),j$=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:a,borderRadius:o,buttonPaddingHorizontal:i,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:u}=e;return[{[t]:{fontSize:a,height:r,padding:`${ae(c)} ${ae(i)}`,borderRadius:o,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:u}}}},{[`${n}${n}-circle${t}`]:Hse(e)},{[`${n}${n}-round${t}`]:Use(e)}]},ele=e=>{const t=fn(e,{fontSize:e.contentFontSize});return j$(t,e.componentCls)},tle=e=>{const t=fn(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return j$(t,`${e.componentCls}-sm`)},nle=e=>{const t=fn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return j$(t,`${e.componentCls}-lg`)},rle=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},ale=Nn("Button",e=>{const t=$U(e);return[zse(t),ele(t),tle(t),nle(t),rle(t),Jse(t),Qse(t),zie(t)]},NU,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function ole(e,t,n){const{focusElCls:r,focus:a,borderElCls:o}=n,i=o?"> *":"",s=["hover",a?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function ile(e,t,n){const{borderElCls:r}=n,a=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function wm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},ole(e,r,t)),ile(n,r,t))}}function sle(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function lle(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function cle(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},sle(e,t)),lle(e.componentCls,t))}}const ule=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:a}=e,o=a(r).mul(-1).equal(),i=s=>{const c=`${t}-compact${s?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${c} + ${c}::before`]:{position:"absolute",top:s?o:0,insetInlineStart:s?0:o,backgroundColor:n,content:'""',width:s?"100%":r,height:s?r:"100%"}}};return Object.assign(Object.assign({},i()),i(!0))},dle=_u(["Button","compact"],e=>{const t=$U(e);return[wm(t),cle(t),ule(t)]},NU);var fle=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{loading:a=!1,prefixCls:o,color:i,variant:s,type:c,danger:u=!1,shape:f="default",size:g,styles:m,disabled:h,className:y,rootClassName:x,children:b,icon:C,iconPosition:S="start",ghost:w=!1,block:I=!1,htmlType:E="button",classNames:_,style:R={},autoInsertSpace:N,autoFocus:O}=e,$=fle(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),A=c||"default",[B,j]=l.useMemo(()=>{if(i&&s)return[i,s];const Ae=gle[A]||[];return u?["danger",Ae[1]]:Ae},[c,i,s,u]),D=B==="danger"?"dangerous":B,{getPrefixCls:k,direction:M,autoInsertSpace:L,className:H,style:U,classNames:z,styles:W}=ia("button"),q=(n=N??L)!==null&&n!==void 0?n:!0,K=k("btn",o),[G,X,Z]=ale(K),J=l.useContext(za),ne=h??J,Q=l.useContext(_U),ee=l.useMemo(()=>ple(a),[a]),[te,oe]=l.useState(ee.loading),[le,fe]=l.useState(!1),ue=l.useRef(null),we=Rs(t,ue),pe=l.Children.count(b)===1&&!C&&!E1(j),ve=l.useRef(!0);ge.useEffect(()=>(ve.current=!1,()=>{ve.current=!0}),[]),l.useEffect(()=>{let Ae=null;ee.delay>0?Ae=setTimeout(()=>{Ae=null,oe(!0)},ee.delay):oe(ee.loading);function Le(){Ae&&(clearTimeout(Ae),Ae=null)}return Le},[ee]),l.useEffect(()=>{if(!ue.current||!q)return;const Ae=ue.current.textContent||"";pe&&AR(Ae)?le||fe(!0):le&&fe(!1)}),l.useEffect(()=>{O&&ue.current&&ue.current.focus()},[]);const Ce=ge.useCallback(Ae=>{var Le;if(te||ne){Ae.preventDefault();return}(Le=e.onClick)===null||Le===void 0||Le.call(e,("href"in e,Ae))},[e.onClick,te,ne]),{compactSize:me,compactItemClassnames:ie}=Os(K,M),he={large:"lg",small:"sm",middle:void 0},Se=da(Ae=>{var Le,Te;return(Te=(Le=g??me)!==null&&Le!==void 0?Le:Q)!==null&&Te!==void 0?Te:Ae}),_e=Se&&(r=he[Se])!==null&&r!==void 0?r:"",$e=te?"loading":C,ze=or($,["navigate"]),Fe=ce(K,X,Z,{[`${K}-${f}`]:f!=="default"&&f,[`${K}-${A}`]:A,[`${K}-dangerous`]:u,[`${K}-color-${D}`]:D,[`${K}-variant-${j}`]:j,[`${K}-${_e}`]:_e,[`${K}-icon-only`]:!b&&b!==0&&!!$e,[`${K}-background-ghost`]:w&&!E1(j),[`${K}-loading`]:te,[`${K}-two-chinese-chars`]:le&&q&&!te,[`${K}-block`]:I,[`${K}-rtl`]:M==="rtl",[`${K}-icon-end`]:S==="end"},ie,y,x,H),je=Object.assign(Object.assign({},U),R),qe=ce(_==null?void 0:_.icon,z.icon),Ue=Object.assign(Object.assign({},(m==null?void 0:m.icon)||{}),W.icon||{}),Ne=C&&!te?ge.createElement(kR,{prefixCls:K,className:qe,style:Ue},C):a&&typeof a=="object"&&a.icon?ge.createElement(kR,{prefixCls:K,className:qe,style:Ue},a.icon):ge.createElement(Bie,{existIcon:!!C,prefixCls:K,loading:te,mount:ve.current}),Ye=b||b===0?Fie(b,pe&&q):null;if(ze.href!==void 0)return G(ge.createElement("a",Object.assign({},ze,{className:ce(Fe,{[`${K}-disabled`]:ne}),href:ne?void 0:ze.href,style:je,onClick:Ce,ref:we,tabIndex:ne?-1:0}),Ne,Ye));let Re=ge.createElement("button",Object.assign({},$,{type:E,className:Fe,style:je,onClick:Ce,disabled:ne,ref:we}),Ne,Ye,ie&&ge.createElement(dle,{prefixCls:K}));return E1(j)||(Re=ge.createElement(Sm,{component:"Button",disabled:te},Re)),G(Re)}),mt=mle;mt.Group=Lie;mt.__ANT_BUTTON=!0;function R1(e){return!!(e!=null&&e.then)}const kU=e=>{const{type:t,children:n,prefixCls:r,buttonProps:a,close:o,autoFocus:i,emitEvent:s,isSilent:c,quitOnNullishReturnValue:u,actionFn:f}=e,g=l.useRef(!1),m=l.useRef(null),[h,y]=pu(!1),x=function(){o==null||o.apply(void 0,arguments)};l.useEffect(()=>{let S=null;return i&&(S=setTimeout(()=>{var w;(w=m.current)===null||w===void 0||w.focus({preventScroll:!0})})),()=>{S&&clearTimeout(S)}},[]);const b=S=>{R1(S)&&(y(!0),S.then(function(){y(!1,!0),x.apply(void 0,arguments),g.current=!1},w=>{if(y(!1,!0),g.current=!1,!(c!=null&&c()))return Promise.reject(w)}))},C=S=>{if(g.current)return;if(g.current=!0,!f){x();return}let w;if(s){if(w=f(S),u&&!R1(w)){g.current=!1,x(S);return}}else if(f.length)w=f(o),g.current=!1;else if(w=f(),!R1(w)){x();return}b(w)};return l.createElement(mt,Object.assign({},TU(t),{onClick:C,loading:h,prefixCls:r},a,{ref:m}),n)},Em=ge.createContext({}),{Provider:PU}=Em,tM=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:o,close:i,onCancel:s,onConfirm:c}=l.useContext(Em);return a?ge.createElement(kU,{isSilent:r,actionFn:s,close:function(){i==null||i.apply(void 0,arguments),c==null||c(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${o}-btn`},n):null},nM=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:o,okType:i,onConfirm:s,onOk:c}=l.useContext(Em);return ge.createElement(kU,{isSilent:n,type:i||"primary",actionFn:c,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${a}-btn`},o)};var DU=l.createContext(null),rM=[];function hle(e,t){var n=l.useState(function(){if(!Ba())return null;var y=document.createElement("div");return y}),r=ye(n,1),a=r[0],o=l.useRef(!1),i=l.useContext(DU),s=l.useState(rM),c=ye(s,2),u=c[0],f=c[1],g=i||(o.current?void 0:function(y){f(function(x){var b=[y].concat(Ze(x));return b})});function m(){a.parentElement||document.body.appendChild(a),o.current=!0}function h(){var y;(y=a.parentElement)===null||y===void 0||y.removeChild(a),o.current=!1}return Rn(function(){return e?i?i(m):m():h(),h},[e]),Rn(function(){u.length&&(u.forEach(function(y){return y()}),f(rM))},[u]),[a,g]}var O1;function MU(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var a,o;if(e){var i=getComputedStyle(e);r.scrollbarColor=i.scrollbarColor,r.scrollbarWidth=i.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(s.width,10),u=parseInt(s.height,10);try{var f=c?"width: ".concat(s.width,";"):"",g=u?"height: ".concat(s.height,";"):"";Qs(` +#`.concat(t,`::-webkit-scrollbar { +`).concat(f,` +`).concat(g,` +}`),t)}catch(y){console.error(y),a=c,o=u}}document.body.appendChild(n);var m=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,h=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),Lg(t),{width:m,height:h}}function aM(e){return typeof document>"u"?0:(O1===void 0&&(O1=MU()),O1.width)}function PR(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:MU(e)}function vle(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ble="rc-util-locker-".concat(Date.now()),oM=0;function yle(e){var t=!!e,n=l.useState(function(){return oM+=1,"".concat(ble,"_").concat(oM)}),r=ye(n,1),a=r[0];Rn(function(){if(t){var o=PR(document.body).width,i=vle();Qs(` +html body { + overflow-y: hidden; + `.concat(i?"width: calc(100% - ".concat(o,"px);"):"",` +}`),a)}else Lg(a);return function(){Lg(a)}},[t,a])}var xle=!1;function Sle(e){return xle}var iM=function(t){return t===!1?!1:!Ba()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Im=l.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var o=e.autoDestroy,i=o===void 0?!0:o,s=e.children,c=l.useState(n),u=ye(c,2),f=u[0],g=u[1],m=f||n;l.useEffect(function(){(i||n)&&g(n)},[n,i]);var h=l.useState(function(){return iM(a)}),y=ye(h,2),x=y[0],b=y[1];l.useEffect(function(){var A=iM(a);b(A??null)});var C=hle(m&&!x),S=ye(C,2),w=S[0],I=S[1],E=x??w;yle(r&&n&&Ba()&&(E===w||E===document.body));var _=null;if(s&&Ki(s)&&t){var R=s;_=R.ref}var N=Rs(_,t);if(!m||!Ba()||x===void 0)return null;var O=E===!1||Sle(),$=s;return t&&($=l.cloneElement(s,{ref:N})),l.createElement(DU.Provider,{value:I},O?$:Ka.createPortal($,E))}),LU=l.createContext({});function Cle(){var e=se({},gm);return e.useId}var sM=0,lM=Cle();const ly=lM?function(t){var n=lM();return t||n}:function(t){var n=l.useState("ssr-id"),r=ye(n,2),a=r[0],o=r[1];return l.useEffect(function(){var i=sM;sM+=1,o("rc_unique_".concat(i))},[]),t||a};function cM(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function uM(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var a=e.document;n=a.documentElement[r],typeof n!="number"&&(n=a.body[r])}return n}function wle(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=uM(a),n.top+=uM(a,!0),n}const Ele=l.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var Ile={width:0,height:0,overflow:"hidden",outline:"none"},_le={outline:"none"},jU=ge.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.title,i=e.ariaId,s=e.footer,c=e.closable,u=e.closeIcon,f=e.onClose,g=e.children,m=e.bodyStyle,h=e.bodyProps,y=e.modalRender,x=e.onMouseDown,b=e.onMouseUp,C=e.holderRef,S=e.visible,w=e.forceRender,I=e.width,E=e.height,_=e.classNames,R=e.styles,N=ge.useContext(LU),O=N.panel,$=Rs(C,O),A=l.useRef(),B=l.useRef();ge.useImperativeHandle(t,function(){return{focus:function(){var W;(W=A.current)===null||W===void 0||W.focus({preventScroll:!0})},changeActive:function(W){var q=document,K=q.activeElement;W&&K===B.current?A.current.focus({preventScroll:!0}):!W&&K===A.current&&B.current.focus({preventScroll:!0})}}});var j={};I!==void 0&&(j.width=I),E!==void 0&&(j.height=E);var F=s?ge.createElement("div",{className:ce("".concat(n,"-footer"),_==null?void 0:_.footer),style:se({},R==null?void 0:R.footer)},s):null,D=o?ge.createElement("div",{className:ce("".concat(n,"-header"),_==null?void 0:_.header),style:se({},R==null?void 0:R.header)},ge.createElement("div",{className:"".concat(n,"-title"),id:i},o)):null,k=l.useMemo(function(){return Pt(c)==="object"&&c!==null?c:c?{closeIcon:u??ge.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u,n]),M=zr(k,!0),L=Pt(c)==="object"&&c.disabled,H=c?ge.createElement("button",Ie({type:"button",onClick:f,"aria-label":"Close"},M,{className:"".concat(n,"-close"),disabled:L}),k.closeIcon):null,U=ge.createElement("div",{className:ce("".concat(n,"-content"),_==null?void 0:_.content),style:R==null?void 0:R.content},H,D,ge.createElement("div",Ie({className:ce("".concat(n,"-body"),_==null?void 0:_.body),style:se(se({},m),R==null?void 0:R.body)},h),g),F);return ge.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":o?i:null,"aria-modal":"true",ref:$,style:se(se({},a),j),className:ce(n,r),onMouseDown:x,onMouseUp:b},ge.createElement("div",{ref:A,tabIndex:0,style:_le},ge.createElement(Ele,{shouldUpdate:S||w},y?y(U):U)),ge.createElement("div",{tabIndex:0,ref:B,style:Ile}))}),FU=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,a=e.style,o=e.className,i=e.visible,s=e.forceRender,c=e.destroyOnClose,u=e.motionName,f=e.ariaId,g=e.onVisibleChanged,m=e.mousePosition,h=l.useRef(),y=l.useState(),x=ye(y,2),b=x[0],C=x[1],S={};b&&(S.transformOrigin=b);function w(){var I=wle(h.current);C(m&&(m.x||m.y)?"".concat(m.x-I.left,"px ").concat(m.y-I.top,"px"):"")}return l.createElement(Ia,{visible:i,onVisibleChanged:g,onAppearPrepare:w,onEnterPrepare:w,forceRender:s,motionName:u,removeOnLeave:c,ref:h},function(I,E){var _=I.className,R=I.style;return l.createElement(jU,Ie({},e,{ref:t,title:r,ariaId:f,prefixCls:n,holderRef:E,style:se(se(se({},R),a),S),className:ce(o,_)}))})});FU.displayName="Content";var Tle=function(t){var n=t.prefixCls,r=t.style,a=t.visible,o=t.maskProps,i=t.motionName,s=t.className;return l.createElement(Ia,{key:"mask",visible:a,motionName:i,leavedClassName:"".concat(n,"-mask-hidden")},function(c,u){var f=c.className,g=c.style;return l.createElement("div",Ie({ref:u,style:se(se({},g),r),className:ce("".concat(n,"-mask"),f,s)},o))})},Rle=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,a=t.zIndex,o=t.visible,i=o===void 0?!1:o,s=t.keyboard,c=s===void 0?!0:s,u=t.focusTriggerAfterClose,f=u===void 0?!0:u,g=t.wrapStyle,m=t.wrapClassName,h=t.wrapProps,y=t.onClose,x=t.afterOpenChange,b=t.afterClose,C=t.transitionName,S=t.animation,w=t.closable,I=w===void 0?!0:w,E=t.mask,_=E===void 0?!0:E,R=t.maskTransitionName,N=t.maskAnimation,O=t.maskClosable,$=O===void 0?!0:O,A=t.maskStyle,B=t.maskProps,j=t.rootClassName,F=t.classNames,D=t.styles,k=l.useRef(),M=l.useRef(),L=l.useRef(),H=l.useState(i),U=ye(H,2),z=U[0],W=U[1],q=ly();function K(){oR(M.current,document.activeElement)||(k.current=document.activeElement)}function G(){if(!oR(M.current,document.activeElement)){var fe;(fe=L.current)===null||fe===void 0||fe.focus()}}function X(fe){if(fe)G();else{if(W(!1),_&&k.current&&f){try{k.current.focus({preventScroll:!0})}catch{}k.current=null}z&&(b==null||b())}x==null||x(fe)}function Z(fe){y==null||y(fe)}var J=l.useRef(!1),ne=l.useRef(),Q=function(){clearTimeout(ne.current),J.current=!0},ee=function(){ne.current=setTimeout(function(){J.current=!1})},te=null;$&&(te=function(ue){J.current?J.current=!1:M.current===ue.target&&Z(ue)});function oe(fe){if(c&&fe.keyCode===pt.ESC){fe.stopPropagation(),Z(fe);return}i&&fe.keyCode===pt.TAB&&L.current.changeActive(!fe.shiftKey)}l.useEffect(function(){i&&(W(!0),K())},[i]),l.useEffect(function(){return function(){clearTimeout(ne.current)}},[]);var le=se(se(se({zIndex:a},g),D==null?void 0:D.wrapper),{},{display:z?null:"none"});return l.createElement("div",Ie({className:ce("".concat(r,"-root"),j)},zr(t,{data:!0})),l.createElement(Tle,{prefixCls:r,visible:_&&i,motionName:cM(r,R,N),style:se(se({zIndex:a},A),D==null?void 0:D.mask),maskProps:B,className:F==null?void 0:F.mask}),l.createElement("div",Ie({tabIndex:-1,onKeyDown:oe,className:ce("".concat(r,"-wrap"),m,F==null?void 0:F.wrapper),ref:M,onClick:te,style:le},h),l.createElement(FU,Ie({},t,{onMouseDown:Q,onMouseUp:ee,ref:L,closable:I,ariaId:q,prefixCls:r,visible:i&&z,onClose:Z,onVisibleChanged:X,motionName:cM(r,C,S)}))))},F$=function(t){var n=t.visible,r=t.getContainer,a=t.forceRender,o=t.destroyOnClose,i=o===void 0?!1:o,s=t.afterClose,c=t.panelRef,u=l.useState(n),f=ye(u,2),g=f[0],m=f[1],h=l.useMemo(function(){return{panel:c}},[c]);return l.useEffect(function(){n&&m(!0)},[n]),!a&&i&&!g?null:l.createElement(LU.Provider,{value:h},l.createElement(Im,{open:n||a||g,autoDestroy:!1,getContainer:r,autoLock:n||g},l.createElement(Rle,Ie({},t,{destroyOnClose:i,afterClose:function(){s==null||s(),m(!1)}}))))};F$.displayName="Dialog";var qc="RC_FORM_INTERNAL_HOOKS",Or=function(){ar(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},gu=l.createContext({getFieldValue:Or,getFieldsValue:Or,getFieldError:Or,getFieldWarning:Or,getFieldsError:Or,isFieldsTouched:Or,isFieldTouched:Or,isFieldValidating:Or,isFieldsValidating:Or,resetFields:Or,setFields:Or,setFieldValue:Or,setFieldsValue:Or,validateFields:Or,submit:Or,getInternalHooks:function(){return Or(),{dispatch:Or,initEntityValue:Or,registerField:Or,useSubscribe:Or,setInitialValues:Or,destroyForm:Or,setCallbacks:Or,registerWatch:Or,getFields:Or,setValidateMessages:Or,setPreserve:Or,getInitialValue:Or}}}),Hg=l.createContext(null);function DR(e){return e==null?[]:Array.isArray(e)?e:[e]}function Ole(e){return e&&!!e._init}function MR(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var LR=MR();function $le(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Nle(e,t,n){if(F0())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&Dg(a,n.prototype),a}function jR(e){var t=typeof Map=="function"?new Map:void 0;return jR=function(r){if(r===null||!$le(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return Nle(r,arguments,uu(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Dg(a,r)},jR(e)}var Ale=/%[sdj%]/g,kle=function(){};function FR(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Ko(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=o)return s;switch(s){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return s}});return i}return e}function Ple(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function _a(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ple(t)&&typeof e=="string"&&!e)}function Dle(e,t,n){var r=[],a=0,o=e.length;function i(s){r.push.apply(r,Ze(s||[])),a++,a===o&&n(r)}e.forEach(function(s){t(s,i)})}function dM(e,t,n){var r=0,a=e.length;function o(i){if(i&&i.length){n(i);return}var s=r;r=r+1,st.max?a.push(Ko(o.messages[g].max,t.fullField,t.max)):s&&c&&(ft.max)&&a.push(Ko(o.messages[g].range,t.fullField,t.min,t.max))},BU=function(t,n,r,a,o,i){t.required&&(!r.hasOwnProperty(t.field)||_a(n,i||t.type))&&a.push(Ko(o.messages.required,t.fullField))},vv;const Ule=function(){if(vv)return vv;var e="[a-fA-F\\d:]",t=function(_){return _&&_.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",a=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],o="(?:%[0-9a-zA-Z]{1,})?",i="(?:".concat(a.join("|"),")").concat(o),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),c=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(i,"$")),f=function(_){return _&&_.exact?s:new RegExp("(?:".concat(t(_)).concat(n).concat(t(_),")|(?:").concat(t(_)).concat(i).concat(t(_),")"),"g")};f.v4=function(E){return E&&E.exact?c:new RegExp("".concat(t(E)).concat(n).concat(t(E)),"g")},f.v6=function(E){return E&&E.exact?u:new RegExp("".concat(t(E)).concat(i).concat(t(E)),"g")};var g="(?:(?:[a-z]+:)?//)",m="(?:\\S+(?::\\S*)?@)?",h=f.v4().source,y=f.v6().source,x="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",b="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",C="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",S="(?::\\d{2,5})?",w='(?:[/?#][^\\s"]*)?',I="(?:".concat(g,"|www\\.)").concat(m,"(?:localhost|").concat(h,"|").concat(y,"|").concat(x).concat(b).concat(C,")").concat(S).concat(w);return vv=new RegExp("(?:^".concat(I,"$)"),"i"),vv};var mM={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Xp={integer:function(t){return Xp.number(t)&&parseInt(t,10)===t},float:function(t){return Xp.number(t)&&!Xp.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return Pt(t)==="object"&&!Xp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(mM.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Ule())},hex:function(t){return typeof t=="string"&&!!t.match(mM.hex)}},Vle=function(t,n,r,a,o){if(t.required&&n===void 0){BU(t,n,r,a,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;i.indexOf(s)>-1?Xp[s](n)||a.push(Ko(o.messages.types[s],t.fullField,t.type)):s&&Pt(n)!==t.type&&a.push(Ko(o.messages.types[s],t.fullField,t.type))},Wle=function(t,n,r,a,o){(/^\s+$/.test(n)||n==="")&&a.push(Ko(o.messages.whitespace,t.fullField))};const tr={required:BU,whitespace:Wle,type:Vle,range:Hle,enum:Ble,pattern:zle};var Gle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o)}r(i)},qle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();tr.required(t,n,a,i,o,"array"),n!=null&&(tr.type(t,n,a,i,o),tr.range(t,n,a,i,o))}r(i)},Kle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),n!==void 0&&tr.type(t,n,a,i,o)}r(i)},Yle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n,"date")&&!t.required)return r();if(tr.required(t,n,a,i,o),!_a(n,"date")){var c;n instanceof Date?c=n:c=new Date(n),tr.type(t,c,a,i,o),c&&tr.range(t,c.getTime(),a,i,o)}}r(i)},Xle="enum",Zle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),n!==void 0&&tr[Xle](t,n,a,i,o)}r(i)},Jle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),n!==void 0&&(tr.type(t,n,a,i,o),tr.range(t,n,a,i,o))}r(i)},Qle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),n!==void 0&&(tr.type(t,n,a,i,o),tr.range(t,n,a,i,o))}r(i)},ece=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),n!==void 0&&tr.type(t,n,a,i,o)}r(i)},tce=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),n!==void 0&&(tr.type(t,n,a,i,o),tr.range(t,n,a,i,o))}r(i)},nce=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),n!==void 0&&tr.type(t,n,a,i,o)}r(i)},rce=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n,"string")&&!t.required)return r();tr.required(t,n,a,i,o),_a(n,"string")||tr.pattern(t,n,a,i,o)}r(i)},ace=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n)&&!t.required)return r();tr.required(t,n,a,i,o),_a(n)||tr.type(t,n,a,i,o)}r(i)},oce=function(t,n,r,a,o){var i=[],s=Array.isArray(n)?"array":Pt(n);tr.required(t,n,a,i,o,s),r(i)},ice=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(_a(n,"string")&&!t.required)return r();tr.required(t,n,a,i,o,"string"),_a(n,"string")||(tr.type(t,n,a,i,o),tr.range(t,n,a,i,o),tr.pattern(t,n,a,i,o),t.whitespace===!0&&tr.whitespace(t,n,a,i,o))}r(i)},$1=function(t,n,r,a,o){var i=t.type,s=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(_a(n,i)&&!t.required)return r();tr.required(t,n,a,s,o,i),_a(n,i)||tr.type(t,n,a,s,o)}r(s)};const fg={string:ice,method:ece,number:tce,boolean:Kle,regexp:ace,integer:Qle,float:Jle,array:qle,object:nce,enum:Zle,pattern:rce,date:Yle,url:$1,hex:$1,email:$1,required:oce,any:Gle};var _m=function(){function e(t){Pr(this,e),re(this,"rules",null),re(this,"_messages",LR),this.define(t)}return Dr(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Pt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var o=n[a];r.rules[a]=Array.isArray(o)?o:[o]})}},{key:"messages",value:function(n){return n&&(this._messages=gM(MR(),n)),this._messages}},{key:"validate",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},i=n,s=a,c=o;if(typeof s=="function"&&(c=s,s={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,i),Promise.resolve(i);function u(y){var x=[],b={};function C(w){if(Array.isArray(w)){var I;x=(I=x).concat.apply(I,Ze(w))}else x.push(w)}for(var S=0;S0&&arguments[0]!==void 0?arguments[0]:[],N=Array.isArray(R)?R:[R];!s.suppressWarning&&N.length&&e.warning("async-validator:",N),N.length&&b.message!==void 0&&(N=[].concat(b.message));var O=N.map(pM(b,i));if(s.first&&O.length)return h[b.field]=1,x(O);if(!C)x(O);else{if(b.required&&!y.value)return b.message!==void 0?O=[].concat(b.message).map(pM(b,i)):s.error&&(O=[s.error(b,Ko(s.messages.required,b.field))]),x(O);var $={};b.defaultField&&Object.keys(y.value).map(function(j){$[j]=b.defaultField}),$=se(se({},$),y.rule.fields);var A={};Object.keys($).forEach(function(j){var F=$[j],D=Array.isArray(F)?F:[F];A[j]=D.map(S.bind(null,j))});var B=new e(A);B.messages(s.messages),y.rule.options&&(y.rule.options.messages=s.messages,y.rule.options.error=s.error),B.validate(y.value,y.rule.options||s,function(j){var F=[];O&&O.length&&F.push.apply(F,Ze(O)),j&&j.length&&F.push.apply(F,Ze(j)),x(F.length?F:null)})}}var I;if(b.asyncValidator)I=b.asyncValidator(b,y.value,w,y.source,s);else if(b.validator){try{I=b.validator(b,y.value,w,y.source,s)}catch(R){var E,_;(E=(_=console).error)===null||E===void 0||E.call(_,R),s.suppressValidatorError||setTimeout(function(){throw R},0),w(R.message)}I===!0?w():I===!1?w(typeof b.message=="function"?b.message(b.fullField||b.field):b.message||"".concat(b.fullField||b.field," fails")):I instanceof Array?w(I):I instanceof Error&&w(I.message)}I&&I.then&&I.then(function(){return w()},function(R){return w(R)})},function(y){u(y)},i)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!fg.hasOwnProperty(n.type))throw new Error(Ko("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),a=r.indexOf("message");return a!==-1&&r.splice(a,1),r.length===1&&r[0]==="required"?fg.required:fg[this.getType(n)]||void 0}}]),e}();re(_m,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");fg[t]=n});re(_m,"warning",kle);re(_m,"messages",LR);re(_m,"validators",fg);var Ho="'${name}' is not a valid ${type}",zU={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Ho,method:Ho,array:Ho,object:Ho,number:Ho,date:Ho,boolean:Ho,integer:Ho,float:Ho,regexp:Ho,email:Ho,url:Ho,hex:Ho},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},hM=_m;function sce(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var vM="CODE_LOGIC_ERROR";function BR(e,t,n,r,a){return zR.apply(this,arguments)}function zR(){return zR=qo(kr().mark(function e(t,n,r,a,o){var i,s,c,u,f,g,m,h,y;return kr().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return i=se({},r),delete i.ruleIndex,hM.warning=function(){},i.validator&&(s=i.validator,i.validator=function(){try{return s.apply(void 0,arguments)}catch(C){return console.error(C),Promise.reject(vM)}}),c=null,i&&i.type==="array"&&i.defaultField&&(c=i.defaultField,delete i.defaultField),u=new hM(re({},t,[i])),f=Md(zU,a.validateMessages),u.messages(f),g=[],b.prev=10,b.next=13,Promise.resolve(u.validate(re({},t,n),se({},a)));case 13:b.next=18;break;case 15:b.prev=15,b.t0=b.catch(10),b.t0.errors&&(g=b.t0.errors.map(function(C,S){var w=C.message,I=w===vM?f.default:w;return l.isValidElement(I)?l.cloneElement(I,{key:"error_".concat(S)}):I}));case 18:if(!(!g.length&&c)){b.next=23;break}return b.next=21,Promise.all(n.map(function(C,S){return BR("".concat(t,".").concat(S),C,c,a,o)}));case 21:return m=b.sent,b.abrupt("return",m.reduce(function(C,S){return[].concat(Ze(C),Ze(S))},[]));case 23:return h=se(se({},r),{},{name:t,enum:(r.enum||[]).join(", ")},o),y=g.map(function(C){return typeof C=="string"?sce(C,h):C}),b.abrupt("return",y);case 26:case"end":return b.stop()}},e,null,[[10,15]])})),zR.apply(this,arguments)}function lce(e,t,n,r,a,o){var i=e.join("."),s=n.map(function(f,g){var m=f.validator,h=se(se({},f),{},{ruleIndex:g});return m&&(h.validator=function(y,x,b){var C=!1,S=function(){for(var E=arguments.length,_=new Array(E),R=0;R2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return HU(t,r,n)})}function HU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,a){return e[a]===r})}function dce(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||Pt(e)!=="object"||Pt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return Ze(a).every(function(o){var i=e[o],s=t[o];return typeof i=="function"&&typeof s=="function"?!0:i===s})}function fce(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&Pt(t.target)==="object"&&e in t.target?t.target[e]:t}function yM(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var a=e[t],o=t-n;return o>0?[].concat(Ze(e.slice(0,n)),[a],Ze(e.slice(n,t)),Ze(e.slice(t+1,r))):o<0?[].concat(Ze(e.slice(0,t)),Ze(e.slice(t+1,n+1)),[a],Ze(e.slice(n+1,r))):e}var pce=["name"],fi=[];function N1(e,t,n,r,a,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==a}var B$=function(e){ti(n,e);var t=$i(n);function n(r){var a;if(Pr(this,n),a=t.call(this,r),re(Mt(a),"state",{resetCount:0}),re(Mt(a),"cancelRegisterFunc",null),re(Mt(a),"mounted",!1),re(Mt(a),"touched",!1),re(Mt(a),"dirty",!1),re(Mt(a),"validatePromise",void 0),re(Mt(a),"prevValidating",void 0),re(Mt(a),"errors",fi),re(Mt(a),"warnings",fi),re(Mt(a),"cancelRegister",function(){var c=a.props,u=c.preserve,f=c.isListField,g=c.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(f,u,ua(g)),a.cancelRegisterFunc=null}),re(Mt(a),"getNamePath",function(){var c=a.props,u=c.name,f=c.fieldContext,g=f.prefixName,m=g===void 0?[]:g;return u!==void 0?[].concat(Ze(m),Ze(u)):[]}),re(Mt(a),"getRules",function(){var c=a.props,u=c.rules,f=u===void 0?[]:u,g=c.fieldContext;return f.map(function(m){return typeof m=="function"?m(g):m})}),re(Mt(a),"refresh",function(){a.mounted&&a.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),re(Mt(a),"metaCache",null),re(Mt(a),"triggerMetaEvent",function(c){var u=a.props.onMetaChange;if(u){var f=se(se({},a.getMeta()),{},{destroy:c});Ei(a.metaCache,f)||u(f),a.metaCache=f}else a.metaCache=null}),re(Mt(a),"onStoreChange",function(c,u,f){var g=a.props,m=g.shouldUpdate,h=g.dependencies,y=h===void 0?[]:h,x=g.onReset,b=f.store,C=a.getNamePath(),S=a.getValue(c),w=a.getValue(b),I=u&&Kd(u,C);switch(f.type==="valueUpdate"&&f.source==="external"&&!Ei(S,w)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=fi,a.warnings=fi,a.triggerMetaEvent()),f.type){case"reset":if(!u||I){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=fi,a.warnings=fi,a.triggerMetaEvent(),x==null||x(),a.refresh();return}break;case"remove":{if(m&&N1(m,c,b,S,w,f)){a.reRender();return}break}case"setField":{var E=f.data;if(I){"touched"in E&&(a.touched=E.touched),"validating"in E&&!("originRCField"in E)&&(a.validatePromise=E.validating?Promise.resolve([]):null),"errors"in E&&(a.errors=E.errors||fi),"warnings"in E&&(a.warnings=E.warnings||fi),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in E&&Kd(u,C,!0)){a.reRender();return}if(m&&!C.length&&N1(m,c,b,S,w,f)){a.reRender();return}break}case"dependenciesUpdate":{var _=y.map(ua);if(_.some(function(R){return Kd(f.relatedFields,R)})){a.reRender();return}break}default:if(I||(!y.length||C.length||m)&&N1(m,c,b,S,w,f)){a.reRender();return}break}m===!0&&a.reRender()}),re(Mt(a),"validateRules",function(c){var u=a.getNamePath(),f=a.getValue(),g=c||{},m=g.triggerName,h=g.validateOnly,y=h===void 0?!1:h,x=Promise.resolve().then(qo(kr().mark(function b(){var C,S,w,I,E,_,R;return kr().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(a.mounted){O.next=2;break}return O.abrupt("return",[]);case 2:if(C=a.props,S=C.validateFirst,w=S===void 0?!1:S,I=C.messageVariables,E=C.validateDebounce,_=a.getRules(),m&&(_=_.filter(function($){return $}).filter(function($){var A=$.validateTrigger;if(!A)return!0;var B=DR(A);return B.includes(m)})),!(E&&m)){O.next=10;break}return O.next=8,new Promise(function($){setTimeout($,E)});case 8:if(a.validatePromise===x){O.next=10;break}return O.abrupt("return",[]);case 10:return R=lce(u,f,_,c,w,I),R.catch(function($){return $}).then(function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fi;if(a.validatePromise===x){var A;a.validatePromise=null;var B=[],j=[];(A=$.forEach)===null||A===void 0||A.call($,function(F){var D=F.rule.warningOnly,k=F.errors,M=k===void 0?fi:k;D?j.push.apply(j,Ze(M)):B.push.apply(B,Ze(M))}),a.errors=B,a.warnings=j,a.triggerMetaEvent(),a.reRender()}}),O.abrupt("return",R);case 13:case"end":return O.stop()}},b)})));return y||(a.validatePromise=x,a.dirty=!0,a.errors=fi,a.warnings=fi,a.triggerMetaEvent(),a.reRender()),x}),re(Mt(a),"isFieldValidating",function(){return!!a.validatePromise}),re(Mt(a),"isFieldTouched",function(){return a.touched}),re(Mt(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var c=a.props.fieldContext,u=c.getInternalHooks(qc),f=u.getInitialValue;return f(a.getNamePath())!==void 0}),re(Mt(a),"getErrors",function(){return a.errors}),re(Mt(a),"getWarnings",function(){return a.warnings}),re(Mt(a),"isListField",function(){return a.props.isListField}),re(Mt(a),"isList",function(){return a.props.isList}),re(Mt(a),"isPreserve",function(){return a.props.preserve}),re(Mt(a),"getMeta",function(){a.prevValidating=a.isFieldValidating();var c={touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,warnings:a.warnings,name:a.getNamePath(),validated:a.validatePromise===null};return c}),re(Mt(a),"getOnlyChild",function(c){if(typeof c=="function"){var u=a.getMeta();return se(se({},a.getOnlyChild(c(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var f=aa(c);return f.length!==1||!l.isValidElement(f[0])?{child:f,isFunction:!1}:{child:f[0],isFunction:!1}}),re(Mt(a),"getValue",function(c){var u=a.props.fieldContext.getFieldsValue,f=a.getNamePath();return bo(c||u(!0),f)}),re(Mt(a),"getControlled",function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.props,f=u.name,g=u.trigger,m=u.validateTrigger,h=u.getValueFromEvent,y=u.normalize,x=u.valuePropName,b=u.getValueProps,C=u.fieldContext,S=m!==void 0?m:C.validateTrigger,w=a.getNamePath(),I=C.getInternalHooks,E=C.getFieldsValue,_=I(qc),R=_.dispatch,N=a.getValue(),O=b||function(F){return re({},x,F)},$=c[g],A=f!==void 0?O(N):{},B=se(se({},c),A);B[g]=function(){a.touched=!0,a.dirty=!0,a.triggerMetaEvent();for(var F,D=arguments.length,k=new Array(D),M=0;M=0&&$<=A.length?(f.keys=[].concat(Ze(f.keys.slice(0,$)),[f.id],Ze(f.keys.slice($))),w([].concat(Ze(A.slice(0,$)),[O],Ze(A.slice($))))):(f.keys=[].concat(Ze(f.keys),[f.id]),w([].concat(Ze(A),[O]))),f.id+=1},remove:function(O){var $=E(),A=new Set(Array.isArray(O)?O:[O]);A.size<=0||(f.keys=f.keys.filter(function(B,j){return!A.has(j)}),w($.filter(function(B,j){return!A.has(j)})))},move:function(O,$){if(O!==$){var A=E();O<0||O>=A.length||$<0||$>=A.length||(f.keys=yM(f.keys,O,$),w(yM(A,O,$)))}}},R=S||[];return Array.isArray(R)||(R=[]),r(R.map(function(N,O){var $=f.keys[O];return $===void 0&&(f.keys[O]=f.id,$=f.keys[O],f.id+=1),{name:O,key:$,isListField:!0}}),_,b)})))}function gce(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(a,o){e.forEach(function(i,s){i.catch(function(c){return t=!0,c}).then(function(c){n-=1,r[s]=c,!(n>0)&&(t&&o(r),a(r))})})}):Promise.resolve([])}var VU="__@field_split__";function A1(e){return e.map(function(t){return"".concat(Pt(t),":").concat(t)}).join(VU)}var md=function(){function e(){Pr(this,e),re(this,"kvs",new Map)}return Dr(e,[{key:"set",value:function(n,r){this.kvs.set(A1(n),r)}},{key:"get",value:function(n){return this.kvs.get(A1(n))}},{key:"update",value:function(n,r){var a=this.get(n),o=r(a);o?this.set(n,o):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(A1(n))}},{key:"map",value:function(n){return Ze(this.kvs.entries()).map(function(r){var a=ye(r,2),o=a[0],i=a[1],s=o.split(VU);return n({key:s.map(function(c){var u=c.match(/^([^:]*):(.*)$/),f=ye(u,3),g=f[1],m=f[2];return g==="number"?Number(m):m}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var a=r.key,o=r.value;return n[a.join(".")]=o,null}),n}}]),e}(),mce=["name"],hce=Dr(function e(t){var n=this;Pr(this,e),re(this,"formHooked",!1),re(this,"forceRootUpdate",void 0),re(this,"subscribable",!0),re(this,"store",{}),re(this,"fieldEntities",[]),re(this,"initialValues",{}),re(this,"callbacks",{}),re(this,"validateMessages",null),re(this,"preserve",null),re(this,"lastValidatePromise",null),re(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),re(this,"getInternalHooks",function(r){return r===qc?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(ar(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),re(this,"useSubscribe",function(r){n.subscribable=r}),re(this,"prevWithoutPreserves",null),re(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var o,i=Md(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(s){var c=s.key;i=yi(i,c,bo(r,c))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),re(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new md;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||a.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),re(this,"getInitialValue",function(r){var a=bo(n.initialValues,r);return r.length?Md(a):a}),re(this,"setCallbacks",function(r){n.callbacks=r}),re(this,"setValidateMessages",function(r){n.validateMessages=r}),re(this,"setPreserve",function(r){n.preserve=r}),re(this,"watchList",[]),re(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),re(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var a=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(a,o,r)})}}),re(this,"timeoutId",null),re(this,"warningUnhooked",function(){}),re(this,"updateStore",function(r){n.store=r}),re(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(a){return a.getNamePath().length}):n.fieldEntities}),re(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new md;return n.getFieldEntities(r).forEach(function(o){var i=o.getNamePath();a.set(i,o)}),a}),re(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(o){var i=ua(o);return a.get(i)||{INVALIDATE_NAME_PATH:ua(o)}})}),re(this,"getFieldsValue",function(r,a){n.warningUnhooked();var o,i,s;if(r===!0||Array.isArray(r)?(o=r,i=a):r&&Pt(r)==="object"&&(s=r.strict,i=r.filter),o===!0&&!i)return n.store;var c=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),u=[];return c.forEach(function(f){var g,m,h="INVALIDATE_NAME_PATH"in f?f.INVALIDATE_NAME_PATH:f.getNamePath();if(s){var y,x;if((y=(x=f).isList)!==null&&y!==void 0&&y.call(x))return}else if(!o&&(g=(m=f).isListField)!==null&&g!==void 0&&g.call(m))return;if(!i)u.push(h);else{var b="getMeta"in f?f.getMeta():null;i(b)&&u.push(h)}}),bM(n.store,u.map(ua))}),re(this,"getFieldValue",function(r){n.warningUnhooked();var a=ua(r);return bo(n.store,a)}),re(this,"getFieldsError",function(r){n.warningUnhooked();var a=n.getFieldEntitiesForNamePathList(r);return a.map(function(o,i){return o&&!("INVALIDATE_NAME_PATH"in o)?{name:o.getNamePath(),errors:o.getErrors(),warnings:o.getWarnings()}:{name:ua(r[i]),errors:[],warnings:[]}})}),re(this,"getFieldError",function(r){n.warningUnhooked();var a=ua(r),o=n.getFieldsError([a])[0];return o.errors}),re(this,"getFieldWarning",function(r){n.warningUnhooked();var a=ua(r),o=n.getFieldsError([a])[0];return o.warnings}),re(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,a=new Array(r),o=0;o0&&arguments[0]!==void 0?arguments[0]:{},a=new md,o=n.getFieldEntities(!0);o.forEach(function(c){var u=c.props.initialValue,f=c.getNamePath();if(u!==void 0){var g=a.get(f)||new Set;g.add({entity:c,value:u}),a.set(f,g)}});var i=function(u){u.forEach(function(f){var g=f.props.initialValue;if(g!==void 0){var m=f.getNamePath(),h=n.getInitialValue(m);if(h!==void 0)ar(!1,"Form already set 'initialValues' with path '".concat(m.join("."),"'. Field can not overwrite it."));else{var y=a.get(m);if(y&&y.size>1)ar(!1,"Multiple Field with path '".concat(m.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(y){var x=n.getFieldValue(m),b=f.isListField();!b&&(!r.skipExist||x===void 0)&&n.updateStore(yi(n.store,m,Ze(y)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(c){var u=a.get(c);if(u){var f;(f=s).push.apply(f,Ze(Ze(u).map(function(g){return g.entity})))}})):s=o,i(s)}),re(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore(Md(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(ua);o.forEach(function(i){var s=n.getInitialValue(i);n.updateStore(yi(n.store,i,s))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(a,o,{type:"reset"}),n.notifyWatch(o)}),re(this,"setFields",function(r){n.warningUnhooked();var a=n.store,o=[];r.forEach(function(i){var s=i.name,c=Bt(i,mce),u=ua(s);o.push(u),"value"in c&&n.updateStore(yi(n.store,u,c.value)),n.notifyObservers(a,[u],{type:"setField",data:i})}),n.notifyWatch(o)}),re(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(o){var i=o.getNamePath(),s=o.getMeta(),c=se(se({},s),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(c,"originRCField",{value:!0}),c});return a}),re(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var o=r.getNamePath(),i=bo(n.store,o);i===void 0&&n.updateStore(yi(n.store,o,a))}}),re(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),re(this,"registerField",function(r){n.fieldEntities.push(r);var a=r.getNamePath();if(n.notifyWatch([a]),r.props.initialValue!==void 0){var o=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(o,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(g){return g!==r}),!n.isMergedPreserve(s)&&(!i||c.length>1)){var u=i?void 0:n.getInitialValue(a);if(a.length&&n.getFieldValue(a)!==u&&n.fieldEntities.every(function(g){return!HU(g.getNamePath(),a)})){var f=n.store;n.updateStore(yi(f,a,u,!0)),n.notifyObservers(f,[a],{type:"remove"}),n.triggerDependenciesUpdate(f,a)}}n.notifyWatch([a])}}),re(this,"dispatch",function(r){switch(r.type){case"updateValue":{var a=r.namePath,o=r.value;n.updateValue(a,o);break}case"validateField":{var i=r.namePath,s=r.triggerName;n.validateFields([i],{triggerName:s});break}}}),re(this,"notifyObservers",function(r,a,o){if(n.subscribable){var i=se(se({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var c=s.onStoreChange;c(r,a,i)})}else n.forceRootUpdate()}),re(this,"triggerDependenciesUpdate",function(r,a){var o=n.getDependencyChildrenFields(a);return o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[a].concat(Ze(o))}),o}),re(this,"updateValue",function(r,a){var o=ua(r),i=n.store;n.updateStore(yi(n.store,o,a)),n.notifyObservers(i,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var s=n.triggerDependenciesUpdate(i,o),c=n.callbacks.onValuesChange;if(c){var u=bM(n.store,[o]);c(u,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat(Ze(s)))}),re(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var o=Md(n.store,r);n.updateStore(o)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),re(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a,errors:[],warnings:[]}])}),re(this,"getDependencyChildrenFields",function(r){var a=new Set,o=[],i=new md;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(f){var g=ua(f);i.update(g,function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return m.add(c),m})})});var s=function c(u){var f=i.get(u)||new Set;f.forEach(function(g){if(!a.has(g)){a.add(g);var m=g.getNamePath();g.isFieldDirty()&&m.length&&(o.push(m),c(m))}})};return s(r),o}),re(this,"triggerOnFieldsChange",function(r,a){var o=n.callbacks.onFieldsChange;if(o){var i=n.getFields();if(a){var s=new md;a.forEach(function(u){var f=u.name,g=u.errors;s.set(f,g)}),i.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var c=i.filter(function(u){var f=u.name;return Kd(r,f)});c.length&&o(c,i)}}),re(this,"validateFields",function(r,a){n.warningUnhooked();var o,i;Array.isArray(r)||typeof r=="string"||typeof a=="string"?(o=r,i=a):i=r;var s=!!o,c=s?o.map(ua):[],u=[],f=String(Date.now()),g=new Set,m=i||{},h=m.recursive,y=m.dirty;n.getFieldEntities(!0).forEach(function(S){if(s||c.push(S.getNamePath()),!(!S.props.rules||!S.props.rules.length)&&!(y&&!S.isFieldDirty())){var w=S.getNamePath();if(g.add(w.join(f)),!s||Kd(c,w,h)){var I=S.validateRules(se({validateMessages:se(se({},zU),n.validateMessages)},i));u.push(I.then(function(){return{name:w,errors:[],warnings:[]}}).catch(function(E){var _,R=[],N=[];return(_=E.forEach)===null||_===void 0||_.call(E,function(O){var $=O.rule.warningOnly,A=O.errors;$?N.push.apply(N,Ze(A)):R.push.apply(R,Ze(A))}),R.length?Promise.reject({name:w,errors:R,warnings:N}):{name:w,errors:R,warnings:N}}))}}});var x=gce(u);n.lastValidatePromise=x,x.catch(function(S){return S}).then(function(S){var w=S.map(function(I){var E=I.name;return E});n.notifyObservers(n.store,w,{type:"validateFinish"}),n.triggerOnFieldsChange(w,S)});var b=x.then(function(){return n.lastValidatePromise===x?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(S){var w=S.filter(function(I){return I&&I.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:w,outOfDate:n.lastValidatePromise!==x})});b.catch(function(S){return S});var C=c.filter(function(S){return g.has(S.join(f))});return n.triggerOnFieldsChange(C),b}),re(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var a=n.callbacks.onFinish;if(a)try{a(r)}catch(o){console.error(o)}}).catch(function(r){var a=n.callbacks.onFinishFailed;a&&a(r)})}),this.forceRootUpdate=t});function H$(e){var t=l.useRef(),n=l.useState({}),r=ye(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){a({})},i=new hce(o);t.current=i.getForm()}return[t.current]}var VR=l.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),WU=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,o=t.children,i=l.useContext(VR),s=l.useRef({});return l.createElement(VR.Provider,{value:se(se({},i),{},{validateMessages:se(se({},i.validateMessages),n),triggerFormChange:function(u,f){r&&r(u,{changedFields:f,forms:s.current}),i.triggerFormChange(u,f)},triggerFormFinish:function(u,f){a&&a(u,{values:f,forms:s.current}),i.triggerFormFinish(u,f)},registerForm:function(u,f){u&&(s.current=se(se({},s.current),{},re({},u,f))),i.registerForm(u,f)},unregisterForm:function(u){var f=se({},s.current);delete f[u],s.current=f,i.unregisterForm(u)}})},o)},vce=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],bce=function(t,n){var r=t.name,a=t.initialValues,o=t.fields,i=t.form,s=t.preserve,c=t.children,u=t.component,f=u===void 0?"form":u,g=t.validateMessages,m=t.validateTrigger,h=m===void 0?"onChange":m,y=t.onValuesChange,x=t.onFieldsChange,b=t.onFinish,C=t.onFinishFailed,S=t.clearOnDestroy,w=Bt(t,vce),I=l.useRef(null),E=l.useContext(VR),_=H$(i),R=ye(_,1),N=R[0],O=N.getInternalHooks(qc),$=O.useSubscribe,A=O.setInitialValues,B=O.setCallbacks,j=O.setValidateMessages,F=O.setPreserve,D=O.destroyForm;l.useImperativeHandle(n,function(){return se(se({},N),{},{nativeElement:I.current})}),l.useEffect(function(){return E.registerForm(r,N),function(){E.unregisterForm(r)}},[E,N,r]),j(se(se({},E.validateMessages),g)),B({onValuesChange:y,onFieldsChange:function(K){if(E.triggerFormChange(r,K),x){for(var G=arguments.length,X=new Array(G>1?G-1:0),Z=1;Z{}}),qU=l.createContext(null),KU=e=>{const t=or(e,["prefixCls"]);return l.createElement(WU,Object.assign({},t))},U$=l.createContext({prefixCls:""}),Ta=l.createContext({}),xce=e=>{let{children:t,status:n,override:r}=e;const a=l.useContext(Ta),o=l.useMemo(()=>{const i=Object.assign({},a);return r&&delete i.isFormItemInput,n&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[n,r,a]);return l.createElement(Ta.Provider,{value:o},t)},YU=l.createContext(void 0),Es=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=ge.createElement(xce,{override:!0,status:!0},a)),t&&(a=ge.createElement(kie,null,a)),a};function uf(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function SM(e){const{closable:t,closeIcon:n}=e||{};return ge.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function CM(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(o=>{a[o]!==void 0&&(e[o]=a[o])})}),e}const Sce={};function V$(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Sce;const r=SM(e),a=SM(t),o=typeof r!="boolean"?!!(r!=null&&r.disabled):!1,i=ge.useMemo(()=>Object.assign({closeIcon:ge.createElement(Ha,null)},n),[n]),s=ge.useMemo(()=>r===!1?!1:r?CM(i,a,r):a===!1?!1:a?CM(i,a):i.closable?i:!1,[r,a,i]);return ge.useMemo(()=>{if(s===!1)return[!1,null,o];const{closeIconRender:c}=i,{closeIcon:u}=s;let f=u;if(f!=null){c&&(f=c(u));const g=zr(s,!0);Object.keys(g).length&&(f=ge.isValidElement(f)?ge.cloneElement(f,g):ge.createElement("span",Object.assign({},g),f))}return[!0,f,o]},[s,i])}var XU=function(t){if(Ba()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(a){return a in r.style})}return!1},Cce=function(t,n){if(!XU(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function WR(e,t){return!Array.isArray(e)&&t!==void 0?Cce(e,t):XU(e)}const wce=()=>Ba()&&window.document.documentElement,cy=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:o}=e,i=ce({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),s=ce({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),c=l.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return l.createElement("span",{className:ce(t,i,s,n),style:Object.assign(Object.assign({},c),r)})},Ece=new An("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),uy=e=>({height:e,lineHeight:ae(e)}),Yd=e=>Object.assign({width:e},uy(e)),Ice=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ece,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),k1=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},uy(e)),_ce=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Yd(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Yd(a)),[`${t}${t}-sm`]:Object.assign({},Yd(o))}},Tce=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},k1(t,s)),[`${r}-lg`]:Object.assign({},k1(a,s)),[`${r}-sm`]:Object.assign({},k1(o,s))}},wM=e=>Object.assign({width:e},uy(e)),Rce=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a,calc:o}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:a},wM(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},wM(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},P1=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},D1=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},uy(e)),Oce=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},D1(r,s))},P1(e,r,n)),{[`${n}-lg`]:Object.assign({},D1(a,s))}),P1(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},D1(o,s))}),P1(e,o,`${n}-sm`))},$ce=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:o,skeletonInputCls:i,skeletonImageCls:s,controlHeight:c,controlHeightLG:u,controlHeightSM:f,gradientFromColor:g,padding:m,marginSM:h,borderRadius:y,titleHeight:x,blockRadius:b,paragraphLiHeight:C,controlHeightXS:S,paragraphMarginTop:w}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:g},Yd(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Yd(u)),[`${n}-sm`]:Object.assign({},Yd(f))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:x,background:g,borderRadius:b,[`+ ${a}`]:{marginBlockStart:f}},[a]:{padding:0,"> li":{width:"100%",height:C,listStyle:"none",background:g,borderRadius:b,"+ li":{marginBlockStart:S}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:y}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:h,[`+ ${a}`]:{marginBlockStart:w}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Oce(e)),_ce(e)),Tce(e)),Rce(e)),[`${t}${t}-block`]:{width:"100%",[o]:{width:"100%"},[i]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${a} > li, + ${n}, + ${o}, + ${i}, + ${s} + `]:Object.assign({},Ice(e))}}},Nce=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},kf=Nn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=fn(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[$ce(r)]},Nce,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ace=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:o="circle",size:i="default"}=e,{getPrefixCls:s}=l.useContext(Wt),c=s("skeleton",t),[u,f,g]=kf(c),m=or(e,["prefixCls","className"]),h=ce(c,`${c}-element`,{[`${c}-active`]:a},n,r,f,g);return u(l.createElement("div",{className:h},l.createElement(cy,Object.assign({prefixCls:`${c}-avatar`,shape:o,size:i},m))))},kce=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o=!1,size:i="default"}=e,{getPrefixCls:s}=l.useContext(Wt),c=s("skeleton",t),[u,f,g]=kf(c),m=or(e,["prefixCls"]),h=ce(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},n,r,f,g);return u(l.createElement("div",{className:h},l.createElement(cy,Object.assign({prefixCls:`${c}-button`,size:i},m))))},Pce="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",Dce=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o}=e,{getPrefixCls:i}=l.useContext(Wt),s=i("skeleton",t),[c,u,f]=kf(s),g=ce(s,`${s}-element`,{[`${s}-active`]:o},n,r,u,f);return c(l.createElement("div",{className:g},l.createElement("div",{className:ce(`${s}-image`,n),style:a},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},l.createElement("title",null,"Image placeholder"),l.createElement("path",{d:Pce,className:`${s}-image-path`})))))},Mce=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o,size:i="default"}=e,{getPrefixCls:s}=l.useContext(Wt),c=s("skeleton",t),[u,f,g]=kf(c),m=or(e,["prefixCls"]),h=ce(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},n,r,f,g);return u(l.createElement("div",{className:h},l.createElement(cy,Object.assign({prefixCls:`${c}-input`,size:i},m))))},Lce=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o,children:i}=e,{getPrefixCls:s}=l.useContext(Wt),c=s("skeleton",t),[u,f,g]=kf(c),m=ce(c,`${c}-element`,{[`${c}-active`]:o},f,n,r,g);return u(l.createElement("div",{className:m},l.createElement("div",{className:ce(`${c}-image`,n),style:a},i)))},jce=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},Fce=e=>{const{prefixCls:t,className:n,style:r,rows:a=0}=e,o=Array.from({length:a}).map((i,s)=>l.createElement("li",{key:s,style:{width:jce(s,e)}}));return l.createElement("ul",{className:ce(t,n),style:r},o)},Bce=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return l.createElement("h3",{className:ce(t,n),style:Object.assign({width:r},a)})};function M1(e){return e&&typeof e=="object"?e:{}}function zce(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Hce(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Uce(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const gc=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:o,children:i,avatar:s=!1,title:c=!0,paragraph:u=!0,active:f,round:g}=e,{getPrefixCls:m,direction:h,className:y,style:x}=ia("skeleton"),b=m("skeleton",t),[C,S,w]=kf(b);if(n||!("loading"in e)){const I=!!s,E=!!c,_=!!u;let R;if(I){const $=Object.assign(Object.assign({prefixCls:`${b}-avatar`},zce(E,_)),M1(s));R=l.createElement("div",{className:`${b}-header`},l.createElement(cy,Object.assign({},$)))}let N;if(E||_){let $;if(E){const B=Object.assign(Object.assign({prefixCls:`${b}-title`},Hce(I,_)),M1(c));$=l.createElement(Bce,Object.assign({},B))}let A;if(_){const B=Object.assign(Object.assign({prefixCls:`${b}-paragraph`},Uce(I,E)),M1(u));A=l.createElement(Fce,Object.assign({},B))}N=l.createElement("div",{className:`${b}-content`},$,A)}const O=ce(b,{[`${b}-with-avatar`]:I,[`${b}-active`]:f,[`${b}-rtl`]:h==="rtl",[`${b}-round`]:g},y,r,a,S,w);return C(l.createElement("div",{className:O,style:Object.assign(Object.assign({},x),o)},R,N))}return i??null};gc.Button=kce;gc.Avatar=Ace;gc.Input=Mce;gc.Image=Dce;gc.Node=Lce;function EM(){}const Vce=l.createContext({add:EM,remove:EM});function ZU(e){const t=l.useContext(Vce),n=l.useRef(null);return En(a=>{if(a){const o=e?a.querySelector(e):a;t.add(o),n.current=o}else t.remove(n.current)})}const IM=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=l.useContext(Em);return ge.createElement(mt,Object.assign({onClick:n},e),t)},_M=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=l.useContext(Em);return ge.createElement(mt,Object.assign({},TU(n),{loading:e,onClick:a},t),r)};function JU(e,t){return ge.createElement("span",{className:`${e}-close-x`},t||ge.createElement(Ha,{className:`${e}-close-icon`}))}const QU=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:o,onCancel:i,okButtonProps:s,cancelButtonProps:c,footer:u}=e,[f]=ni("Modal",H9()),g=t||(f==null?void 0:f.okText),m=r||(f==null?void 0:f.cancelText),h={confirmLoading:a,okButtonProps:s,cancelButtonProps:c,okTextLocale:g,cancelTextLocale:m,okType:n,onOk:o,onCancel:i},y=ge.useMemo(()=>h,Ze(Object.values(h)));let x;return typeof u=="function"||typeof u>"u"?(x=ge.createElement(ge.Fragment,null,ge.createElement(IM,null),ge.createElement(_M,null)),typeof u=="function"&&(x=u(x,{OkBtn:_M,CancelBtn:IM})),x=ge.createElement(PU,{value:y},x)):x=u,ge.createElement(R$,{disabled:!1},x)},Wce=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},Gce=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},qce=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:a}=e,o={};for(let i=a;i>=0;i--)i===0?(o[`${r}${t}-${i}`]={display:"none"},o[`${r}-push-${i}`]={insetInlineStart:"auto"},o[`${r}-pull-${i}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${i}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${i}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${i}`]={marginInlineStart:0},o[`${r}${t}-order-${i}`]={order:0}):(o[`${r}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/a*100}%`,maxWidth:`${i/a*100}%`}],o[`${r}${t}-push-${i}`]={insetInlineStart:`${i/a*100}%`},o[`${r}${t}-pull-${i}`]={insetInlineEnd:`${i/a*100}%`},o[`${r}${t}-offset-${i}`]={marginInlineStart:`${i/a*100}%`},o[`${r}${t}-order-${i}`]={order:i});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},GR=(e,t)=>qce(e,t),Kce=(e,t,n)=>({[`@media (min-width: ${ae(t)})`]:Object.assign({},GR(e,n))}),Yce=()=>({}),Xce=()=>({}),Zce=Nn("Grid",Wce,Yce),eV=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),Jce=Nn("Grid",e=>{const t=fn(e,{gridColumns:24}),n=eV(t);return delete n.xs,[Gce(t),GR(t,""),GR(t,"-xs"),Object.keys(n).map(r=>Kce(t,n[r],`-${r}`)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},Xce);function TM(e){return{position:e,inset:0}}const tV=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},TM("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},TM("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:M$(e)}]},Qce=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ae(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},Dn(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ae(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:ae(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Po(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${ae(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + ${t}-body, + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},eue=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},tue=e=>{const{componentCls:t}=e,n=eV(e);delete n.xs;const r=Object.keys(n).map(a=>({[`@media (min-width: ${ae(n[a])})`]:{width:`var(--${t.replace(".","")}-${a}-width)`}}));return{[`${t}-root`]:{[t]:[{width:`var(--${t.replace(".","")}-xs-width)`}].concat(Ze(r))}}},nV=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return fn(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},rV=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${ae(e.paddingMD)} ${ae(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ae(e.padding)} ${ae(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ae(e.paddingXS)} ${ae(e.padding)}`:0,footerBorderTop:e.wireframe?`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ae(e.padding*2)} ${ae(e.padding*2)} ${ae(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),aV=Nn("Modal",e=>{const t=nV(e);return[Qce(t),eue(t),tV(t),Nf(t,"zoom"),tue(t)]},rV,{unitless:{titleLineHeight:!0}});var nue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{qR={x:e.pageX,y:e.pageY},setTimeout(()=>{qR=null},100)};wce()&&document.documentElement.addEventListener("click",rue,!0);const oV=e=>{const{prefixCls:t,className:n,rootClassName:r,open:a,wrapClassName:o,centered:i,getContainer:s,focusTriggerAfterClose:c=!0,style:u,visible:f,width:g=520,footer:m,classNames:h,styles:y,children:x,loading:b,confirmLoading:C,zIndex:S,mousePosition:w,onOk:I,onCancel:E}=e,_=nue(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel"]),{getPopupContainer:R,getPrefixCls:N,direction:O,modal:$}=l.useContext(Wt),A=Q=>{C||E==null||E(Q)},B=Q=>{I==null||I(Q)},j=N("modal",t),F=N(),D=Hr(j),[k,M,L]=aV(j,D),H=ce(o,{[`${j}-centered`]:i??($==null?void 0:$.centered),[`${j}-wrap-rtl`]:O==="rtl"}),U=m!==null&&!b?l.createElement(QU,Object.assign({},e,{onOk:B,onCancel:A})):null,[z,W,q]=V$(uf(e),uf($),{closable:!0,closeIcon:l.createElement(Ha,{className:`${j}-close-icon`}),closeIconRender:Q=>JU(j,Q)}),K=ZU(`.${j}-content`),[G,X]=es("Modal",S),[Z,J]=l.useMemo(()=>g&&typeof g=="object"?[void 0,g]:[g,void 0],[g]),ne=l.useMemo(()=>{const Q={};return J&&Object.keys(J).forEach(ee=>{const te=J[ee];te!==void 0&&(Q[`--${j}-${ee}-width`]=typeof te=="number"?`${te}px`:te)}),Q},[J]);return k(l.createElement(Es,{form:!0,space:!0},l.createElement(ym.Provider,{value:X},l.createElement(F$,Object.assign({width:Z},_,{zIndex:G,getContainer:s===void 0?R:s,prefixCls:j,rootClassName:ce(M,r,L,D),footer:U,visible:a??f,mousePosition:w??qR,onClose:A,closable:z&&{disabled:q,closeIcon:W},closeIcon:W,focusTriggerAfterClose:c,transitionName:lo(F,"zoom",e.transitionName),maskTransitionName:lo(F,"fade",e.maskTransitionName),className:ce(M,n,$==null?void 0:$.className),style:Object.assign(Object.assign(Object.assign({},$==null?void 0:$.style),u),ne),classNames:Object.assign(Object.assign(Object.assign({},$==null?void 0:$.classNames),h),{wrapper:ce(H,h==null?void 0:h.wrapper)}),styles:Object.assign(Object.assign({},$==null?void 0:$.styles),y),panelRef:K}),b?l.createElement(gc,{active:!0,title:!1,paragraph:{rows:4},className:`${j}-body-skeleton`}):x))))},aue=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:a,fontSize:o,lineHeight:i,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:u}=e,f=`${t}-confirm`;return{[f]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${f}-body-wrapper`]:Object.assign({},Yi()),[`&${t} ${t}-body`]:{padding:u},[`${f}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:a,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(a).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(a).equal()).div(2).equal()}},[`${f}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${ae(e.marginSM)})`},[`${e.iconCls} + ${f}-paragraph`]:{maxWidth:`calc(100% - ${ae(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${f}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${f}-content`]:{color:e.colorText,fontSize:o,lineHeight:i},[`${f}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${f}-error ${f}-body > ${e.iconCls}`]:{color:e.colorError},[`${f}-warning ${f}-body > ${e.iconCls}, + ${f}-confirm ${f}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${f}-info ${f}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${f}-success ${f}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},oue=_u(["Modal","confirm"],e=>{const t=nV(e);return[aue(t)]},rV,{order:-1e3});var iue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aS,Ze(Object.values(S))),I=l.createElement(l.Fragment,null,l.createElement(tM,null),l.createElement(nM,null)),E=e.title!==void 0&&e.title!==null,_=`${o}-body`;return l.createElement("div",{className:`${o}-body-wrapper`},l.createElement("div",{className:ce(_,{[`${_}-has-title`]:E})},g,l.createElement("div",{className:`${o}-paragraph`},E&&l.createElement("span",{className:`${o}-title`},e.title),l.createElement("div",{className:`${o}-content`},e.content))),c===void 0||typeof c=="function"?l.createElement(PU,{value:w},l.createElement("div",{className:`${o}-btns`},typeof c=="function"?c(I,{OkBtn:nM,CancelBtn:tM}):I)):c,l.createElement(oue,{prefixCls:t}))}const sue=e=>{const{close:t,zIndex:n,maskStyle:r,direction:a,prefixCls:o,wrapClassName:i,rootPrefixCls:s,bodyStyle:c,closable:u=!1,onConfirm:f,styles:g}=e,m=`${o}-confirm`,h=e.width||416,y=e.style||{},x=e.mask===void 0?!0:e.mask,b=e.maskClosable===void 0?!1:e.maskClosable,C=ce(m,`${m}-${e.type}`,{[`${m}-rtl`]:a==="rtl"},e.className),[,S]=ba(),w=l.useMemo(()=>n!==void 0?n:S.zIndexPopupBase+CU,[n,S]);return l.createElement(oV,Object.assign({},e,{className:C,wrapClassName:ce({[`${m}-centered`]:!!e.centered},i),onCancel:()=>{t==null||t({triggerCancel:!0}),f==null||f(!1)},title:"",footer:null,transitionName:lo(s||"","zoom",e.transitionName),maskTransitionName:lo(s||"","fade",e.maskTransitionName),mask:x,maskClosable:b,style:y,styles:Object.assign({body:c,mask:r},g),width:h,zIndex:w,closable:u}),l.createElement(iV,Object.assign({},e,{confirmPrefixCls:m})))},sV=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return l.createElement(Qi,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},l.createElement(sue,Object.assign({},e)))},Kc=[];let lV="";function cV(){return lV}const lue=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:o}=e,i=H9(),s=l.useContext(Wt),c=cV()||s.getPrefixCls(),u=r||`${c}-modal`;let f=a;return f===!1&&(f=void 0),ge.createElement(sV,Object.assign({},e,{rootPrefixCls:c,prefixCls:u,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:o??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:i,getContainer:f}))};function Tm(e){const t=pU(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:c,open:!0}),a,o;function i(){for(var f,g=arguments.length,m=new Array(g),h=0;hb==null?void 0:b.triggerCancel)){var x;(f=e.onCancel)===null||f===void 0||(x=f).call.apply(x,[e,()=>{}].concat(Ze(m.slice(1))))}for(let b=0;b{const g=t.getPrefixCls(void 0,cV()),m=t.getIconPrefixCls(),h=t.getTheme(),y=ge.createElement(lue,Object.assign({},f));o=P$()(ge.createElement(Qi,{prefixCls:g,iconPrefixCls:m,theme:h},t.holderRender?t.holderRender(y):y),n)})}function c(){for(var f=arguments.length,g=new Array(f),m=0;m{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,g)}}),r.visible&&delete r.visible,s(r)}function u(f){typeof f=="function"?r=f(r):r=Object.assign(Object.assign({},r),f),s(r)}return s(r),Kc.push(c),{destroy:c,update:u}}function uV(e){return Object.assign(Object.assign({},e),{type:"warning"})}function dV(e){return Object.assign(Object.assign({},e),{type:"info"})}function fV(e){return Object.assign(Object.assign({},e),{type:"success"})}function pV(e){return Object.assign(Object.assign({},e),{type:"error"})}function gV(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function cue(e){let{rootPrefixCls:t}=e;lV=t}var uue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,{afterClose:r,config:a}=e,o=uue(e,["afterClose","config"]);const[i,s]=l.useState(!0),[c,u]=l.useState(a),{direction:f,getPrefixCls:g}=l.useContext(Wt),m=g("modal"),h=g(),y=()=>{var S;r(),(S=c.afterClose)===null||S===void 0||S.call(c)},x=function(){var S;s(!1);for(var w=arguments.length,I=new Array(w),E=0;EN==null?void 0:N.triggerCancel)){var R;(S=c.onCancel)===null||S===void 0||(R=S).call.apply(R,[c,()=>{}].concat(Ze(I.slice(1))))}};l.useImperativeHandle(t,()=>({destroy:x,update:S=>{u(w=>Object.assign(Object.assign({},w),S))}}));const b=(n=c.okCancel)!==null&&n!==void 0?n:c.type==="confirm",[C]=ni("Modal",Ss.Modal);return l.createElement(sV,Object.assign({prefixCls:m,rootPrefixCls:h},c,{close:x,open:i,afterClose:y,okText:c.okText||(b?C==null?void 0:C.okText:C==null?void 0:C.justOkText),direction:c.direction||f,cancelText:c.cancelText||(C==null?void 0:C.cancelText)},o))},fue=l.forwardRef(due);let RM=0;const pue=l.memo(l.forwardRef((e,t)=>{const[n,r]=die();return l.useImperativeHandle(t,()=>({patchElement:r}),[]),l.createElement(l.Fragment,null,n)}));function gue(){const e=l.useRef(null),[t,n]=l.useState([]);l.useEffect(()=>{t.length&&(Ze(t).forEach(i=>{i()}),n([]))},[t]);const r=l.useCallback(o=>function(s){var c;RM+=1;const u=l.createRef();let f;const g=new Promise(b=>{f=b});let m=!1,h;const y=l.createElement(fue,{key:`modal-${RM}`,config:o(s),ref:u,afterClose:()=>{h==null||h()},isSilent:()=>m,onConfirm:b=>{f(b)}});return h=(c=e.current)===null||c===void 0?void 0:c.patchElement(y),h&&Kc.push(h),{destroy:()=>{function b(){var C;(C=u.current)===null||C===void 0||C.destroy()}u.current?b():n(C=>[].concat(Ze(C),[b]))},update:b=>{function C(){var S;(S=u.current)===null||S===void 0||S.update(b)}u.current?C():n(S=>[].concat(Ze(S),[C]))},then:b=>(m=!0,g.then(b))}},[]);return[l.useMemo(()=>({info:r(dV),success:r(fV),error:r(pV),warning:r(uV),confirm:r(gV)}),[]),l.createElement(pue,{key:"modal-holder",ref:e})]}const mue=e=>{const{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,a=`${t}-notice`,o=new An("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),i=new An("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new An("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new An("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[a]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[a]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:c}}}}},hue=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],vue={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},bue=(e,t)=>{const{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[vue[t]]:{value:0,_skip_check_:!0}}}}},yue=e=>{const t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},xue=e=>{const t={};for(let n=1;n{const{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`transform ${e.motionDurationSlow}, backdrop-filter 0s`,willChange:"transform, opacity",position:"absolute"},yue(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},xue(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},hue.map(n=>bue(e,n)).reduce((n,r)=>Object.assign(Object.assign({},n),r),{}))},mV=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:a,notificationMarginBottom:o,borderRadiusLG:i,colorSuccess:s,colorInfo:c,colorWarning:u,colorError:f,colorTextHeading:g,notificationBg:m,notificationPadding:h,notificationMarginEdge:y,notificationProgressBg:x,notificationProgressHeight:b,fontSize:C,lineHeight:S,width:w,notificationIconSize:I,colorText:E}=e,_=`${n}-notice`;return{position:"relative",marginBottom:o,marginInlineStart:"auto",background:m,borderRadius:i,boxShadow:r,[_]:{padding:h,width:w,maxWidth:`calc(100vw - ${ae(e.calc(y).mul(2).equal())})`,overflow:"hidden",lineHeight:S,wordWrap:"break-word"},[`${_}-message`]:{marginBottom:e.marginXS,color:g,fontSize:a,lineHeight:e.lineHeightLG},[`${_}-description`]:{fontSize:C,color:E},[`${_}-closable ${_}-message`]:{paddingInlineEnd:e.paddingLG},[`${_}-with-icon ${_}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(I).equal(),fontSize:a},[`${_}-with-icon ${_}-description`]:{marginInlineStart:e.calc(e.marginSM).add(I).equal(),fontSize:C},[`${_}-icon`]:{position:"absolute",fontSize:I,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:f}},[`${_}-close`]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},Po(e)),[`${_}-progress`]:{position:"absolute",display:"block",appearance:"none",inlineSize:`calc(100% - ${ae(i)} * 2)`,left:{_skip_check_:!0,value:i},right:{_skip_check_:!0,value:i},bottom:0,blockSize:b,border:0,"&, &::-webkit-progress-bar":{borderRadius:i,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:x},"&::-webkit-progress-value":{borderRadius:i,background:x}},[`${_}-actions`]:{float:"right",marginTop:e.marginSM}}},Cue=e=>{const{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:a,motionEaseInOut:o}=e,i=`${t}-notice`,s=new An("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},Dn(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:o,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:o,animationFillMode:"both",animationDuration:a,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${i}-actions`]:{float:"left"}}})},{[t]:{[`${i}-wrapper`]:Object.assign({},mV(e))}}]},hV=e=>({zIndexPopup:e.zIndexPopupBase+CU+50,width:384}),vV=e=>{const t=e.paddingMD,n=e.paddingLG;return fn(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${ae(e.paddingMD)} ${ae(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`})},bV=Nn("Notification",e=>{const t=vV(e);return[Cue(t),mue(t),Sue(t)]},hV),wue=_u(["Notification","PurePanel"],e=>{const t=`${e.componentCls}-notice`,n=vV(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},mV(n)),{width:n.width,maxWidth:`calc(100vw - ${ae(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},hV);var Eue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,icon:n,type:r,message:a,description:o,actions:i,role:s="alert"}=e;let c=null;return n?c=l.createElement("span",{className:`${t}-icon`},n):r&&(c=l.createElement(Iue[r]||null,{className:ce(`${t}-icon`,`${t}-icon-${r}`)})),l.createElement("div",{className:ce({[`${t}-with-icon`]:c}),role:s},c,l.createElement("div",{className:`${t}-message`},a),l.createElement("div",{className:`${t}-description`},o),i&&l.createElement("div",{className:`${t}-actions`},i))},_ue=e=>{const{prefixCls:t,className:n,icon:r,type:a,message:o,description:i,btn:s,actions:c,closable:u=!0,closeIcon:f,className:g}=e,m=Eue(e,["prefixCls","className","icon","type","message","description","btn","actions","closable","closeIcon","className"]),{getPrefixCls:h}=l.useContext(Wt),y=c??s,x=t||h("notification"),b=`${x}-notice`,C=Hr(x),[S,w,I]=bV(x,C);return S(l.createElement("div",{className:ce(`${b}-pure-panel`,w,n,I,C)},l.createElement(wue,{prefixCls:x}),l.createElement(xU,Object.assign({},m,{prefixCls:x,eventKey:"pure",duration:null,closable:u,className:ce({notificationClassName:g}),closeIcon:W$(x,f),content:l.createElement(yV,{prefixCls:b,icon:r,type:a,message:o,description:i,actions:y})}))))};function Tue(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function Rue(e){return{motionName:`${e}-fade`}}function Oue(e,t,n){return typeof e<"u"?e:typeof(t==null?void 0:t.closeIcon)<"u"?t.closeIcon:n==null?void 0:n.closeIcon}var $ue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{children:t,prefixCls:n}=e;const r=Hr(n),[a,o,i]=bV(n,r);return a(ge.createElement(Zoe,{classNames:{list:ce(o,i,r)}},t))},Pue=(e,t)=>{let{prefixCls:n,key:r}=t;return ge.createElement(kue,{prefixCls:n,key:r},e)},Due=ge.forwardRef((e,t)=>{const{top:n,bottom:r,prefixCls:a,getContainer:o,maxCount:i,rtl:s,onAllRemoved:c,stack:u,duration:f,pauseOnHover:g=!0,showProgress:m}=e,{getPrefixCls:h,getPopupContainer:y,notification:x,direction:b}=l.useContext(Wt),[,C]=ba(),S=a||h("notification"),w=N=>Tue(N,n??OM,r??OM),I=()=>ce({[`${S}-rtl`]:s??b==="rtl"}),E=()=>Rue(S),[_,R]=oie({prefixCls:S,style:w,className:I,motion:E,closable:!0,closeIcon:W$(S),duration:f??Nue,getContainer:()=>(o==null?void 0:o())||(y==null?void 0:y())||document.body,maxCount:i,pauseOnHover:g,showProgress:m,onAllRemoved:c,renderNotifications:Pue,stack:u===!1?!1:{threshold:typeof u=="object"?u==null?void 0:u.threshold:void 0,offset:8,gap:C.margin}});return ge.useImperativeHandle(t,()=>Object.assign(Object.assign({},_),{prefixCls:S,notification:x})),R});function xV(e){const t=ge.useRef(null);return fc(),[ge.useMemo(()=>{const r=s=>{var c;if(!t.current)return;const{open:u,prefixCls:f,notification:g}=t.current,m=`${f}-notice`,{message:h,description:y,icon:x,type:b,btn:C,actions:S,className:w,style:I,role:E="alert",closeIcon:_,closable:R}=s,N=$ue(s,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),O=S??C,$=W$(m,Oue(_,e,g));return u(Object.assign(Object.assign({placement:(c=e==null?void 0:e.placement)!==null&&c!==void 0?c:Aue},N),{content:ge.createElement(yV,{prefixCls:m,icon:x,type:b,message:h,description:y,actions:O,role:E}),className:ce(b&&`${m}-${b}`,w,g==null?void 0:g.className),style:Object.assign(Object.assign({},g==null?void 0:g.style),I),closeIcon:$,closable:R??!!$}))},o={open:r,destroy:s=>{var c,u;s!==void 0?(c=t.current)===null||c===void 0||c.close(s):(u=t.current)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(s=>{o[s]=c=>r(Object.assign(Object.assign({},c),{type:s}))}),o},[]),ge.createElement(Due,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Mue(e){return xV(e)}const Lue=ge.createContext({});function SV(e){return t=>l.createElement(Qi,{theme:{token:{motion:!1,zIndexPopupBase:0}}},l.createElement(e,Object.assign({},t)))}const Rm=(e,t,n,r,a)=>SV(i=>{const{prefixCls:s,style:c}=i,u=l.useRef(null),[f,g]=l.useState(0),[m,h]=l.useState(0),[y,x]=Vn(!1,{value:i.open}),{getPrefixCls:b}=l.useContext(Wt),C=b(r||"select",s);l.useEffect(()=>{if(x(!0),typeof ResizeObserver<"u"){const I=new ResizeObserver(_=>{const R=_[0].target;g(R.offsetHeight+8),h(R.offsetWidth)}),E=setInterval(()=>{var _;const R=a?`.${a(C)}`:`.${C}-dropdown`,N=(_=u.current)===null||_===void 0?void 0:_.querySelector(R);N&&(clearInterval(E),I.observe(N))},10);return()=>{clearInterval(E),I.disconnect()}}},[]);let S=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},c),{margin:0}),open:y,visible:y,getPopupContainer:()=>u.current});n&&(S=n(S)),t&&Object.assign(S,{[t]:{overflow:{adjustX:!1,adjustY:!1}}});const w={paddingBottom:f,position:"relative",minWidth:m};return l.createElement("div",{ref:u,style:w},l.createElement(e,Object.assign({},S)))}),dy=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var fy=function(t){var n=t.className,r=t.customizeIcon,a=t.customizeIconProps,o=t.children,i=t.onMouseDown,s=t.onClick,c=typeof r=="function"?r(a):r;return l.createElement("span",{className:n,onMouseDown:function(f){f.preventDefault(),i==null||i(f)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},c!==void 0?c:l.createElement("span",{className:ce(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},o))},jue=function(t,n,r,a,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=ge.useMemo(function(){if(Pt(a)==="object")return a.clearIcon;if(o)return o},[a,o]),f=ge.useMemo(function(){return!!(!i&&a&&(r.length||s)&&!(c==="combobox"&&s===""))},[a,i,r.length,s,c]);return{allowClear:f,clearIcon:ge.createElement(fy,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},CV=l.createContext(null);function wV(){return l.useContext(CV)}function Fue(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=l.useState(!1),n=ye(t,2),r=n[0],a=n[1],o=l.useRef(null),i=function(){window.clearTimeout(o.current)};l.useEffect(function(){return i},[]);var s=function(u,f){i(),o.current=window.setTimeout(function(){a(u),f&&f()},e)};return[r,s,i]}function EV(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=l.useRef(null),n=l.useRef(null);l.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(a){(a||t.current===null)&&(t.current=a),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function Bue(e,t,n,r){var a=l.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},l.useEffect(function(){function o(i){var s;if(!((s=a.current)!==null&&s!==void 0&&s.customizedTrigger)){var c=i.target;c.shadowRoot&&i.composed&&(c=i.composedPath()[0]||c),a.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(c)&&u!==c})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",o),function(){return window.removeEventListener("mousedown",o)}},[])}function zue(e){return e&&![pt.ESC,pt.SHIFT,pt.BACKSPACE,pt.TAB,pt.WIN_KEY,pt.ALT,pt.META,pt.WIN_KEY_RIGHT,pt.CTRL,pt.SEMICOLON,pt.EQUALS,pt.CAPS_LOCK,pt.CONTEXT_MENU,pt.F1,pt.F2,pt.F3,pt.F4,pt.F5,pt.F6,pt.F7,pt.F8,pt.F9,pt.F10,pt.F11,pt.F12].includes(e)}var Hue=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],hd=void 0;function Uue(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,o=e.renderItem,i=e.responsive,s=e.responsiveDisabled,c=e.registerSize,u=e.itemKey,f=e.className,g=e.style,m=e.children,h=e.display,y=e.order,x=e.component,b=x===void 0?"div":x,C=Bt(e,Hue),S=i&&!h;function w(N){c(u,N)}l.useEffect(function(){return function(){w(null)}},[]);var I=o&&a!==hd?o(a,{index:y}):m,E;r||(E={opacity:S?0:1,height:S?0:hd,overflowY:S?"hidden":hd,order:i?y:hd,pointerEvents:S?"none":hd,position:S?"absolute":hd});var _={};S&&(_["aria-hidden"]=!0);var R=l.createElement(b,Ie({className:ce(!r&&n,f),style:se(se({},E),g)},_,C,{ref:t}),I);return i&&(R=l.createElement(Xa,{onResize:function(O){var $=O.offsetWidth;w($)},disabled:s},R)),R}var pg=l.forwardRef(Uue);pg.displayName="Item";function Vue(e){if(typeof MessageChannel>"u")mn(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Wue(){var e=l.useRef(null),t=function(r){e.current||(e.current=[],Vue(function(){Ka.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function Fp(e,t){var n=l.useState(t),r=ye(n,2),a=r[0],o=r[1],i=En(function(s){e(function(){o(s)})});return[a,i]}var Zb=ge.createContext(null),Gue=["component"],que=["className"],Kue=["className"],Yue=function(t,n){var r=l.useContext(Zb);if(!r){var a=t.component,o=a===void 0?"div":a,i=Bt(t,Gue);return l.createElement(o,Ie({},i,{ref:n}))}var s=r.className,c=Bt(r,que),u=t.className,f=Bt(t,Kue);return l.createElement(Zb.Provider,{value:null},l.createElement(pg,Ie({ref:n,className:ce(s,u)},c,f)))},IV=l.forwardRef(Yue);IV.displayName="RawItem";var Xue=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],_V="responsive",TV="invalidate";function Zue(e){return"+ ".concat(e.length," ...")}function Jue(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,o=a===void 0?[]:a,i=e.renderItem,s=e.renderRawItem,c=e.itemKey,u=e.itemWidth,f=u===void 0?10:u,g=e.ssr,m=e.style,h=e.className,y=e.maxCount,x=e.renderRest,b=e.renderRawRest,C=e.suffix,S=e.component,w=S===void 0?"div":S,I=e.itemComponent,E=e.onVisibleChange,_=Bt(e,Xue),R=g==="full",N=Wue(),O=Fp(N,null),$=ye(O,2),A=$[0],B=$[1],j=A||0,F=Fp(N,new Map),D=ye(F,2),k=D[0],M=D[1],L=Fp(N,0),H=ye(L,2),U=H[0],z=H[1],W=Fp(N,0),q=ye(W,2),K=q[0],G=q[1],X=Fp(N,0),Z=ye(X,2),J=Z[0],ne=Z[1],Q=l.useState(null),ee=ye(Q,2),te=ee[0],oe=ee[1],le=l.useState(null),fe=ye(le,2),ue=fe[0],we=fe[1],pe=l.useMemo(function(){return ue===null&&R?Number.MAX_SAFE_INTEGER:ue||0},[ue,A]),ve=l.useState(!1),Ce=ye(ve,2),me=Ce[0],ie=Ce[1],he="".concat(r,"-item"),Se=Math.max(U,K),_e=y===_V,$e=o.length&&_e,ze=y===TV,Fe=$e||typeof y=="number"&&o.length>y,je=l.useMemo(function(){var Be=o;return $e?A===null&&R?Be=o:Be=o.slice(0,Math.min(o.length,j/f)):typeof y=="number"&&(Be=o.slice(0,y)),Be},[o,f,A,y,$e]),qe=l.useMemo(function(){return $e?o.slice(pe+1):o.slice(je.length)},[o,je,$e,pe]),Ue=l.useCallback(function(Be,Ke){var Ge;return typeof c=="function"?c(Be):(Ge=c&&(Be==null?void 0:Be[c]))!==null&&Ge!==void 0?Ge:Ke},[c]),Ne=l.useCallback(i||function(Be){return Be},[i]);function Ye(Be,Ke,Ge){ue===Be&&(Ke===void 0||Ke===te)||(we(Be),Ge||(ie(Bej){Ye(nt-1,Be-ht-J+K);break}}C&&Ve(0)+J>j&&oe(null)}},[j,k,K,J,Ue,je]);var Je=me&&!!qe.length,Qe={};te!==null&&$e&&(Qe={position:"absolute",left:te,top:0});var ut={prefixCls:he,responsive:$e,component:I,invalidate:ze},xe=s?function(Be,Ke){var Ge=Ue(Be,Ke);return l.createElement(Zb.Provider,{key:Ge,value:se(se({},ut),{},{order:Ke,item:Be,itemKey:Ge,registerSize:Ae,display:Ke<=pe})},s(Be,Ke))}:function(Be,Ke){var Ge=Ue(Be,Ke);return l.createElement(pg,Ie({},ut,{order:Ke,key:Ge,item:Be,renderItem:Ne,itemKey:Ge,registerSize:Ae,display:Ke<=pe}))},be={order:Je?pe:Number.MAX_SAFE_INTEGER,className:"".concat(he,"-rest"),registerSize:Le,display:Je},Ee=x||Zue,ke=b?l.createElement(Zb.Provider,{value:se(se({},ut),be)},b(qe)):l.createElement(pg,Ie({},ut,be),typeof Ee=="function"?Ee(qe):Ee),et=l.createElement(w,Ie({className:ce(!ze&&r,h),style:m,ref:t},_),je.map(xe),Fe?ke:null,C&&l.createElement(pg,Ie({},ut,{responsive:_e,responsiveDisabled:!$e,order:pe,className:"".concat(he,"-suffix"),registerSize:Te,display:!0,style:Qe}),C));return _e?l.createElement(Xa,{onResize:Re,disabled:!$e},et):et}var Gi=l.forwardRef(Jue);Gi.displayName="Overflow";Gi.Item=IV;Gi.RESPONSIVE=_V;Gi.INVALIDATE=TV;var Que=function(t,n){var r,a=t.prefixCls,o=t.id,i=t.inputElement,s=t.disabled,c=t.tabIndex,u=t.autoFocus,f=t.autoComplete,g=t.editable,m=t.activeDescendantId,h=t.value,y=t.maxLength,x=t.onKeyDown,b=t.onMouseDown,C=t.onChange,S=t.onPaste,w=t.onCompositionStart,I=t.onCompositionEnd,E=t.onBlur,_=t.open,R=t.attrs,N=i||l.createElement("input",null),O=N,$=O.ref,A=O.props,B=A.onKeyDown,j=A.onChange,F=A.onMouseDown,D=A.onCompositionStart,k=A.onCompositionEnd,M=A.onBlur,L=A.style;return"maxLength"in N.props,N=l.cloneElement(N,se(se(se({type:"search"},A),{},{id:o,ref:Ua(n,$),disabled:s,tabIndex:c,autoComplete:f||"off",autoFocus:u,className:ce("".concat(a,"-selection-search-input"),(r=N)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":_||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":_?m:void 0},R),{},{value:g?h:"",maxLength:y,readOnly:!g,unselectable:g?null:"on",style:se(se({},L),{},{opacity:g?null:0}),onKeyDown:function(U){x(U),B&&B(U)},onMouseDown:function(U){b(U),F&&F(U)},onChange:function(U){C(U),j&&j(U)},onCompositionStart:function(U){w(U),D&&D(U)},onCompositionEnd:function(U){I(U),k&&k(U)},onPaste:S,onBlur:function(U){E(U),M&&M(U)}})),N},RV=l.forwardRef(Que);function OV(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var ede=typeof window<"u"&&window.document&&window.document.documentElement,tde=ede;function nde(e){return e!=null}function rde(e){return!e&&e!==0}function $M(e){return["string","number"].includes(Pt(e))}function $V(e){var t=void 0;return e&&($M(e.title)?t=e.title.toString():$M(e.label)&&(t=e.label.toString())),t}function ade(e,t){tde?l.useLayoutEffect(e,t):l.useEffect(e,t)}function ode(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var NM=function(t){t.preventDefault(),t.stopPropagation()},ide=function(t){var n=t.id,r=t.prefixCls,a=t.values,o=t.open,i=t.searchValue,s=t.autoClearSearchValue,c=t.inputRef,u=t.placeholder,f=t.disabled,g=t.mode,m=t.showSearch,h=t.autoFocus,y=t.autoComplete,x=t.activeDescendantId,b=t.tabIndex,C=t.removeIcon,S=t.maxTagCount,w=t.maxTagTextLength,I=t.maxTagPlaceholder,E=I===void 0?function(le){return"+ ".concat(le.length," ...")}:I,_=t.tagRender,R=t.onToggleOpen,N=t.onRemove,O=t.onInputChange,$=t.onInputPaste,A=t.onInputKeyDown,B=t.onInputMouseDown,j=t.onInputCompositionStart,F=t.onInputCompositionEnd,D=t.onInputBlur,k=l.useRef(null),M=l.useState(0),L=ye(M,2),H=L[0],U=L[1],z=l.useState(!1),W=ye(z,2),q=W[0],K=W[1],G="".concat(r,"-selection"),X=o||g==="multiple"&&s===!1||g==="tags"?i:"",Z=g==="tags"||g==="multiple"&&s===!1||m&&(o||q);ade(function(){U(k.current.scrollWidth)},[X]);var J=function(fe,ue,we,pe,ve){return l.createElement("span",{title:$V(fe),className:ce("".concat(G,"-item"),re({},"".concat(G,"-item-disabled"),we))},l.createElement("span",{className:"".concat(G,"-item-content")},ue),pe&&l.createElement(fy,{className:"".concat(G,"-item-remove"),onMouseDown:NM,onClick:ve,customizeIcon:C},"×"))},ne=function(fe,ue,we,pe,ve,Ce){var me=function(he){NM(he),R(!o)};return l.createElement("span",{onMouseDown:me},_({label:ue,value:fe,disabled:we,closable:pe,onClose:ve,isMaxTag:!!Ce}))},Q=function(fe){var ue=fe.disabled,we=fe.label,pe=fe.value,ve=!f&&!ue,Ce=we;if(typeof w=="number"&&(typeof we=="string"||typeof we=="number")){var me=String(Ce);me.length>w&&(Ce="".concat(me.slice(0,w),"..."))}var ie=function(Se){Se&&Se.stopPropagation(),N(fe)};return typeof _=="function"?ne(pe,Ce,ue,ve,ie):J(fe,Ce,ue,ve,ie)},ee=function(fe){if(!a.length)return null;var ue=typeof E=="function"?E(fe):E;return typeof _=="function"?ne(void 0,ue,!1,!1,void 0,!0):J({title:ue},ue,!1)},te=l.createElement("div",{className:"".concat(G,"-search"),style:{width:H},onFocus:function(){K(!0)},onBlur:function(){K(!1)}},l.createElement(RV,{ref:c,open:o,prefixCls:r,id:n,inputElement:null,disabled:f,autoFocus:h,autoComplete:y,editable:Z,activeDescendantId:x,value:X,onKeyDown:A,onMouseDown:B,onChange:O,onPaste:$,onCompositionStart:j,onCompositionEnd:F,onBlur:D,tabIndex:b,attrs:zr(t,!0)}),l.createElement("span",{ref:k,className:"".concat(G,"-search-mirror"),"aria-hidden":!0},X," ")),oe=l.createElement(Gi,{prefixCls:"".concat(G,"-overflow"),data:a,renderItem:Q,renderRest:ee,suffix:te,itemKey:ode,maxCount:S});return l.createElement("span",{className:"".concat(G,"-wrap")},oe,!a.length&&!X&&l.createElement("span",{className:"".concat(G,"-placeholder")},u))},sde=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,o=t.inputRef,i=t.disabled,s=t.autoFocus,c=t.autoComplete,u=t.activeDescendantId,f=t.mode,g=t.open,m=t.values,h=t.placeholder,y=t.tabIndex,x=t.showSearch,b=t.searchValue,C=t.activeValue,S=t.maxLength,w=t.onInputKeyDown,I=t.onInputMouseDown,E=t.onInputChange,_=t.onInputPaste,R=t.onInputCompositionStart,N=t.onInputCompositionEnd,O=t.onInputBlur,$=t.title,A=l.useState(!1),B=ye(A,2),j=B[0],F=B[1],D=f==="combobox",k=D||x,M=m[0],L=b||"";D&&C&&!j&&(L=C),l.useEffect(function(){D&&F(!1)},[D,C]);var H=f!=="combobox"&&!g&&!x?!1:!!L,U=$===void 0?$V(M):$,z=l.useMemo(function(){return M?null:l.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:H?{visibility:"hidden"}:void 0},h)},[M,H,h,r]);return l.createElement("span",{className:"".concat(r,"-selection-wrap")},l.createElement("span",{className:"".concat(r,"-selection-search")},l.createElement(RV,{ref:o,prefixCls:r,id:a,open:g,inputElement:n,disabled:i,autoFocus:s,autoComplete:c,editable:k,activeDescendantId:u,value:L,onKeyDown:w,onMouseDown:I,onChange:function(q){F(!0),E(q)},onPaste:_,onCompositionStart:R,onCompositionEnd:N,onBlur:O,tabIndex:y,attrs:zr(t,!0),maxLength:D?S:void 0})),!D&&M?l.createElement("span",{className:"".concat(r,"-selection-item"),title:U,style:H?{visibility:"hidden"}:void 0},M.label):null,z)},lde=function(t,n){var r=l.useRef(null),a=l.useRef(!1),o=t.prefixCls,i=t.open,s=t.mode,c=t.showSearch,u=t.tokenWithEnter,f=t.disabled,g=t.prefix,m=t.autoClearSearchValue,h=t.onSearch,y=t.onSearchSubmit,x=t.onToggleOpen,b=t.onInputKeyDown,C=t.onInputBlur,S=t.domRef;l.useImperativeHandle(n,function(){return{focus:function(U){r.current.focus(U)},blur:function(){r.current.blur()}}});var w=EV(0),I=ye(w,2),E=I[0],_=I[1],R=function(U){var z=U.which,W=r.current instanceof HTMLTextAreaElement;!W&&i&&(z===pt.UP||z===pt.DOWN)&&U.preventDefault(),b&&b(U),z===pt.ENTER&&s==="tags"&&!a.current&&!i&&(y==null||y(U.target.value)),!(W&&!i&&~[pt.UP,pt.DOWN,pt.LEFT,pt.RIGHT].indexOf(z))&&zue(z)&&x(!0)},N=function(){_(!0)},O=l.useRef(null),$=function(U){h(U,!0,a.current)!==!1&&x(!0)},A=function(){a.current=!0},B=function(U){a.current=!1,s!=="combobox"&&$(U.target.value)},j=function(U){var z=U.target.value;if(u&&O.current&&/[\r\n]/.test(O.current)){var W=O.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");z=z.replace(W,O.current)}O.current=null,$(z)},F=function(U){var z=U.clipboardData,W=z==null?void 0:z.getData("text");O.current=W||""},D=function(U){var z=U.target;if(z!==r.current){var W=document.body.style.msTouchAction!==void 0;W?setTimeout(function(){r.current.focus()}):r.current.focus()}},k=function(U){var z=E();U.target!==r.current&&!z&&!(s==="combobox"&&f)&&U.preventDefault(),(s!=="combobox"&&(!c||!z)||!i)&&(i&&m!==!1&&h("",!0,!1),x())},M={inputRef:r,onInputKeyDown:R,onInputMouseDown:N,onInputChange:j,onInputPaste:F,onInputCompositionStart:A,onInputCompositionEnd:B,onInputBlur:C},L=s==="multiple"||s==="tags"?l.createElement(ide,Ie({},t,M)):l.createElement(sde,Ie({},t,M));return l.createElement("div",{ref:S,className:"".concat(o,"-selector"),onClick:D,onMouseDown:k},g&&l.createElement("div",{className:"".concat(o,"-prefix")},g),L)},cde=l.forwardRef(lde);function ude(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,o=r||{},i=o.className,s=o.content,c=a.x,u=c===void 0?0:c,f=a.y,g=f===void 0?0:f,m=l.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(n.autoArrow!==!1){var y=n.points[0],x=n.points[1],b=y[0],C=y[1],S=x[0],w=x[1];b===S||!["t","b"].includes(b)?h.top=g:b==="t"?h.top=0:h.bottom=0,C===w||!["l","r"].includes(C)?h.left=u:C==="l"?h.left=0:h.right=0}return l.createElement("div",{ref:m,className:ce("".concat(t,"-arrow"),i),style:h},s)}function dde(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,o=e.motion;return a?l.createElement(Ia,Ie({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var s=i.className;return l.createElement("div",{style:{zIndex:r},className:ce("".concat(t,"-mask"),s)})}):null}var fde=l.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),pde=l.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,o=e.style,i=e.target,s=e.onVisibleChanged,c=e.open,u=e.keepDom,f=e.fresh,g=e.onClick,m=e.mask,h=e.arrow,y=e.arrowPos,x=e.align,b=e.motion,C=e.maskMotion,S=e.forceRender,w=e.getPopupContainer,I=e.autoDestroy,E=e.portal,_=e.zIndex,R=e.onMouseEnter,N=e.onMouseLeave,O=e.onPointerEnter,$=e.onPointerDownCapture,A=e.ready,B=e.offsetX,j=e.offsetY,F=e.offsetR,D=e.offsetB,k=e.onAlign,M=e.onPrepare,L=e.stretch,H=e.targetWidth,U=e.targetHeight,z=typeof n=="function"?n():n,W=c||u,q=(w==null?void 0:w.length)>0,K=l.useState(!w||!q),G=ye(K,2),X=G[0],Z=G[1];if(Rn(function(){!X&&q&&i&&Z(!0)},[X,q,i]),!X)return null;var J="auto",ne={left:"-1000vw",top:"-1000vh",right:J,bottom:J};if(A||!c){var Q,ee=x.points,te=x.dynamicInset||((Q=x._experimental)===null||Q===void 0?void 0:Q.dynamicInset),oe=te&&ee[0][1]==="r",le=te&&ee[0][0]==="b";oe?(ne.right=F,ne.left=J):(ne.left=B,ne.right=J),le?(ne.bottom=D,ne.top=J):(ne.top=j,ne.bottom=J)}var fe={};return L&&(L.includes("height")&&U?fe.height=U:L.includes("minHeight")&&U&&(fe.minHeight=U),L.includes("width")&&H?fe.width=H:L.includes("minWidth")&&H&&(fe.minWidth=H)),c||(fe.pointerEvents="none"),l.createElement(E,{open:S||W,getContainer:w&&function(){return w(i)},autoDestroy:I},l.createElement(dde,{prefixCls:a,open:c,zIndex:_,mask:m,motion:C}),l.createElement(Xa,{onResize:k,disabled:!c},function(ue){return l.createElement(Ia,Ie({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:S,leavedClassName:"".concat(a,"-hidden")},b,{onAppearPrepare:M,onEnterPrepare:M,visible:c,onVisibleChanged:function(pe){var ve;b==null||(ve=b.onVisibleChanged)===null||ve===void 0||ve.call(b,pe),s(pe)}}),function(we,pe){var ve=we.className,Ce=we.style,me=ce(a,ve,r);return l.createElement("div",{ref:Ua(ue,t,pe),className:me,style:se(se(se(se({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},ne),fe),Ce),{},{boxSizing:"border-box",zIndex:_},o),onMouseEnter:R,onMouseLeave:N,onPointerEnter:O,onClick:g,onPointerDownCapture:$},h&&l.createElement(ude,{prefixCls:a,arrow:h,arrowPos:y,align:x}),l.createElement(fde,{cache:!c&&!f},z))})}))}),gde=l.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=Ki(n),o=l.useCallback(function(s){Pg(t,r?r(s):s)},[r]),i=Rs(o,dc(n));return a?l.cloneElement(n,{ref:i}):n}),AM=l.createContext(null);function kM(e){return e?Array.isArray(e)?e:[e]:[]}function mde(e,t,n,r){return l.useMemo(function(){var a=kM(n??t),o=kM(r??t),i=new Set(a),s=new Set(o);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[i,s]},[e,t,n,r])}function hde(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function vde(e,t,n,r){for(var a=n.points,o=Object.keys(e),i=0;i1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Bp(e){return Ug(parseFloat(e),0)}function DM(e,t){var n=se({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=Om(r).getComputedStyle(r),o=a.overflow,i=a.overflowClipMargin,s=a.borderTopWidth,c=a.borderBottomWidth,u=a.borderLeftWidth,f=a.borderRightWidth,g=r.getBoundingClientRect(),m=r.offsetHeight,h=r.clientHeight,y=r.offsetWidth,x=r.clientWidth,b=Bp(s),C=Bp(c),S=Bp(u),w=Bp(f),I=Ug(Math.round(g.width/y*1e3)/1e3),E=Ug(Math.round(g.height/m*1e3)/1e3),_=(y-x-S-w)*I,R=(m-h-b-C)*E,N=b*E,O=C*E,$=S*I,A=w*I,B=0,j=0;if(o==="clip"){var F=Bp(i);B=F*I,j=F*E}var D=g.x+$-B,k=g.y+N-j,M=D+g.width+2*B-$-A-_,L=k+g.height+2*j-N-O-R;n.left=Math.max(n.left,D),n.top=Math.max(n.top,k),n.right=Math.min(n.right,M),n.bottom=Math.min(n.bottom,L)}}),n}function MM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function LM(e,t){var n=t||[],r=ye(n,2),a=r[0],o=r[1];return[MM(e.width,a),MM(e.height,o)]}function jM(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function vd(e,t){var n=t[0],r=t[1],a,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?a=e.x:r==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:o}}function Rl(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,a){return a===t?n[r]||"c":r}).join("")}function bde(e,t,n,r,a,o,i){var s=l.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),c=ye(s,2),u=c[0],f=c[1],g=l.useRef(0),m=l.useMemo(function(){return t?KR(t):[]},[t]),h=l.useRef({}),y=function(){h.current={}};e||y();var x=En(function(){if(t&&n&&e){let br=function(Lr,Wr){var Ra=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,ri=K.x+Lr,Qa=K.y+Wr,Ns=ri+oe,tn=Qa+te,hn=Math.max(ri,Ra.left),Rr=Math.max(Qa,Ra.top),jr=Math.min(Ns,Ra.right),yr=Math.min(tn,Ra.bottom);return Math.max(0,(jr-hn)*(yr-Rr))},Vr=function(){en=K.y+Ge,gn=en+te,on=K.x+Ke,Ft=on+oe};var Fn=br,Bn=Vr,S,w,I,E,_=t,R=_.ownerDocument,N=Om(_),O=N.getComputedStyle(_),$=O.width,A=O.height,B=O.position,j=_.style.left,F=_.style.top,D=_.style.right,k=_.style.bottom,M=_.style.overflow,L=se(se({},a[r]),o),H=R.createElement("div");(S=_.parentElement)===null||S===void 0||S.appendChild(H),H.style.left="".concat(_.offsetLeft,"px"),H.style.top="".concat(_.offsetTop,"px"),H.style.position=B,H.style.height="".concat(_.offsetHeight,"px"),H.style.width="".concat(_.offsetWidth,"px"),_.style.left="0",_.style.top="0",_.style.right="auto",_.style.bottom="auto",_.style.overflow="hidden";var U;if(Array.isArray(n))U={x:n[0],y:n[1],width:0,height:0};else{var z,W,q=n.getBoundingClientRect();q.x=(z=q.x)!==null&&z!==void 0?z:q.left,q.y=(W=q.y)!==null&&W!==void 0?W:q.top,U={x:q.x,y:q.y,width:q.width,height:q.height}}var K=_.getBoundingClientRect();K.x=(w=K.x)!==null&&w!==void 0?w:K.left,K.y=(I=K.y)!==null&&I!==void 0?I:K.top;var G=R.documentElement,X=G.clientWidth,Z=G.clientHeight,J=G.scrollWidth,ne=G.scrollHeight,Q=G.scrollTop,ee=G.scrollLeft,te=K.height,oe=K.width,le=U.height,fe=U.width,ue={left:0,top:0,right:X,bottom:Z},we={left:-ee,top:-Q,right:J-ee,bottom:ne-Q},pe=L.htmlRegion,ve="visible",Ce="visibleFirst";pe!=="scroll"&&pe!==Ce&&(pe=ve);var me=pe===Ce,ie=DM(we,m),he=DM(ue,m),Se=pe===ve?he:ie,_e=me?he:Se;_.style.left="auto",_.style.top="auto",_.style.right="0",_.style.bottom="0";var $e=_.getBoundingClientRect();_.style.left=j,_.style.top=F,_.style.right=D,_.style.bottom=k,_.style.overflow=M,(E=_.parentElement)===null||E===void 0||E.removeChild(H);var ze=Ug(Math.round(oe/parseFloat($)*1e3)/1e3),Fe=Ug(Math.round(te/parseFloat(A)*1e3)/1e3);if(ze===0||Fe===0||kg(n)&&!$f(n))return;var je=L.offset,qe=L.targetOffset,Ue=LM(K,je),Ne=ye(Ue,2),Ye=Ne[0],Re=Ne[1],Ae=LM(U,qe),Le=ye(Ae,2),Te=Le[0],Ve=Le[1];U.x-=Te,U.y-=Ve;var Je=L.points||[],Qe=ye(Je,2),ut=Qe[0],xe=Qe[1],be=jM(xe),Ee=jM(ut),ke=vd(U,be),et=vd(K,Ee),Be=se({},L),Ke=ke.x-et.x+Ye,Ge=ke.y-et.y+Re,nt=br(Ke,Ge),ht=br(Ke,Ge,he),tt=vd(U,["t","l"]),ct=vd(K,["t","l"]),bt=vd(U,["b","r"]),St=vd(K,["b","r"]),yt=L.overflow||{},Dt=yt.adjustX,Rt=yt.adjustY,_t=yt.shiftX,jt=yt.shiftY,zt=function(Wr){return typeof Wr=="boolean"?Wr:Wr>=0},en,gn,on,Ft;Vr();var qt=zt(Rt),Jt=Ee[0]===be[0];if(qt&&Ee[0]==="t"&&(gn>_e.bottom||h.current.bt)){var st=Ge;Jt?st-=te-le:st=tt.y-St.y-Re;var Ct=br(Ke,st),ot=br(Ke,st,he);Ct>nt||Ct===nt&&(!me||ot>=ht)?(h.current.bt=!0,Ge=st,Re=-Re,Be.points=[Rl(Ee,0),Rl(be,0)]):h.current.bt=!1}if(qt&&Ee[0]==="b"&&(en<_e.top||h.current.tb)){var We=Ge;Jt?We+=te-le:We=bt.y-ct.y-Re;var dt=br(Ke,We),Ot=br(Ke,We,he);dt>nt||dt===nt&&(!me||Ot>=ht)?(h.current.tb=!0,Ge=We,Re=-Re,Be.points=[Rl(Ee,0),Rl(be,0)]):h.current.tb=!1}var Zt=zt(Dt),yn=Ee[1]===be[1];if(Zt&&Ee[1]==="l"&&(Ft>_e.right||h.current.rl)){var Nt=Ke;yn?Nt-=oe-fe:Nt=tt.x-St.x-Ye;var At=br(Nt,Ge),Xt=br(Nt,Ge,he);At>nt||At===nt&&(!me||Xt>=ht)?(h.current.rl=!0,Ke=Nt,Ye=-Ye,Be.points=[Rl(Ee,1),Rl(be,1)]):h.current.rl=!1}if(Zt&&Ee[1]==="r"&&(on<_e.left||h.current.lr)){var ln=Ke;yn?ln+=oe-fe:ln=bt.x-ct.x-Ye;var Mn=br(ln,Ge),$n=br(ln,Ge,he);Mn>nt||Mn===nt&&(!me||$n>=ht)?(h.current.lr=!0,Ke=ln,Ye=-Ye,Be.points=[Rl(Ee,1),Rl(be,1)]):h.current.lr=!1}Vr();var sr=_t===!0?0:_t;typeof sr=="number"&&(onhe.right&&(Ke-=Ft-he.right-Ye,U.x>he.right-sr&&(Ke+=U.x-he.right+sr)));var pr=jt===!0?0:jt;typeof pr=="number"&&(enhe.bottom&&(Ge-=gn-he.bottom-Re,U.y>he.bottom-pr&&(Ge+=U.y-he.bottom+pr)));var la=K.x+Ke,Xr=la+oe,wr=K.y+Ge,Zr=wr+te,bn=U.x,Kt=bn+fe,Gt=U.y,Ln=Gt+le,Ht=Math.max(la,bn),Ut=Math.min(Xr,Kt),On=(Ht+Ut)/2,lr=On-la,vr=Math.max(wr,Gt),xn=Math.min(Zr,Ln),Mr=(vr+xn)/2,Jr=Mr-wr;i==null||i(t,Be);var kt=$e.right-K.x-(Ke+K.width),wt=$e.bottom-K.y-(Ge+K.height);ze===1&&(Ke=Math.round(Ke),kt=Math.round(kt)),Fe===1&&(Ge=Math.round(Ge),wt=Math.round(wt));var an={ready:!0,offsetX:Ke/ze,offsetY:Ge/Fe,offsetR:kt/ze,offsetB:wt/Fe,arrowX:lr/ze,arrowY:Jr/Fe,scaleX:ze,scaleY:Fe,align:Be};f(an)}}),b=function(){g.current+=1;var w=g.current;Promise.resolve().then(function(){g.current===w&&x()})},C=function(){f(function(w){return se(se({},w),{},{ready:!1})})};return Rn(C,[r]),Rn(function(){e||C()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,b]}function yde(e,t,n,r,a){Rn(function(){if(e&&t&&n){let m=function(){r(),a()};var g=m,o=t,i=n,s=KR(o),c=KR(i),u=Om(i),f=new Set([u].concat(Ze(s),Ze(c)));return f.forEach(function(h){h.addEventListener("scroll",m,{passive:!0})}),u.addEventListener("resize",m,{passive:!0}),r(),function(){f.forEach(function(h){h.removeEventListener("scroll",m),u.removeEventListener("resize",m)})}}},[e,t,n])}function xde(e,t,n,r,a,o,i,s){var c=l.useRef(e);c.current=e;var u=l.useRef(!1);l.useEffect(function(){if(t&&r&&(!a||o)){var g=function(){u.current=!1},m=function(b){var C;c.current&&!i(((C=b.composedPath)===null||C===void 0||(C=C.call(b))===null||C===void 0?void 0:C[0])||b.target)&&!u.current&&s(!1)},h=Om(r);h.addEventListener("pointerdown",g,!0),h.addEventListener("mousedown",m,!0),h.addEventListener("contextmenu",m,!0);var y=Yb(n);return y&&(y.addEventListener("mousedown",m,!0),y.addEventListener("contextmenu",m,!0)),function(){h.removeEventListener("pointerdown",g,!0),h.removeEventListener("mousedown",m,!0),h.removeEventListener("contextmenu",m,!0),y&&(y.removeEventListener("mousedown",m,!0),y.removeEventListener("contextmenu",m,!0))}}},[t,n,r,a,o]);function f(){u.current=!0}return f}var Sde=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Cde(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Im,t=l.forwardRef(function(n,r){var a=n.prefixCls,o=a===void 0?"rc-trigger-popup":a,i=n.children,s=n.action,c=s===void 0?"hover":s,u=n.showAction,f=n.hideAction,g=n.popupVisible,m=n.defaultPopupVisible,h=n.onPopupVisibleChange,y=n.afterPopupVisibleChange,x=n.mouseEnterDelay,b=n.mouseLeaveDelay,C=b===void 0?.1:b,S=n.focusDelay,w=n.blurDelay,I=n.mask,E=n.maskClosable,_=E===void 0?!0:E,R=n.getPopupContainer,N=n.forceRender,O=n.autoDestroy,$=n.destroyPopupOnHide,A=n.popup,B=n.popupClassName,j=n.popupStyle,F=n.popupPlacement,D=n.builtinPlacements,k=D===void 0?{}:D,M=n.popupAlign,L=n.zIndex,H=n.stretch,U=n.getPopupClassNameFromAlign,z=n.fresh,W=n.alignPoint,q=n.onPopupClick,K=n.onPopupAlign,G=n.arrow,X=n.popupMotion,Z=n.maskMotion,J=n.popupTransitionName,ne=n.popupAnimation,Q=n.maskTransitionName,ee=n.maskAnimation,te=n.className,oe=n.getTriggerDOMNode,le=Bt(n,Sde),fe=O||$||!1,ue=l.useState(!1),we=ye(ue,2),pe=we[0],ve=we[1];Rn(function(){ve(dy())},[]);var Ce=l.useRef({}),me=l.useContext(AM),ie=l.useMemo(function(){return{registerSubPopup:function(hn,Rr){Ce.current[hn]=Rr,me==null||me.registerSubPopup(hn,Rr)}}},[me]),he=ly(),Se=l.useState(null),_e=ye(Se,2),$e=_e[0],ze=_e[1],Fe=l.useRef(null),je=En(function(tn){Fe.current=tn,kg(tn)&&$e!==tn&&ze(tn),me==null||me.registerSubPopup(he,tn)}),qe=l.useState(null),Ue=ye(qe,2),Ne=Ue[0],Ye=Ue[1],Re=l.useRef(null),Ae=En(function(tn){kg(tn)&&Ne!==tn&&(Ye(tn),Re.current=tn)}),Le=l.Children.only(i),Te=(Le==null?void 0:Le.props)||{},Ve={},Je=En(function(tn){var hn,Rr,jr=Ne;return(jr==null?void 0:jr.contains(tn))||((hn=Yb(jr))===null||hn===void 0?void 0:hn.host)===tn||tn===jr||($e==null?void 0:$e.contains(tn))||((Rr=Yb($e))===null||Rr===void 0?void 0:Rr.host)===tn||tn===$e||Object.values(Ce.current).some(function(yr){return(yr==null?void 0:yr.contains(tn))||tn===yr})}),Qe=PM(o,X,ne,J),ut=PM(o,Z,ee,Q),xe=l.useState(m||!1),be=ye(xe,2),Ee=be[0],ke=be[1],et=g??Ee,Be=En(function(tn){g===void 0&&ke(tn)});Rn(function(){ke(g||!1)},[g]);var Ke=l.useRef(et);Ke.current=et;var Ge=l.useRef([]);Ge.current=[];var nt=En(function(tn){var hn;Be(tn),((hn=Ge.current[Ge.current.length-1])!==null&&hn!==void 0?hn:et)!==tn&&(Ge.current.push(tn),h==null||h(tn))}),ht=l.useRef(),tt=function(){clearTimeout(ht.current)},ct=function(hn){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;tt(),Rr===0?nt(hn):ht.current=setTimeout(function(){nt(hn)},Rr*1e3)};l.useEffect(function(){return tt},[]);var bt=l.useState(!1),St=ye(bt,2),yt=St[0],Dt=St[1];Rn(function(tn){(!tn||et)&&Dt(!0)},[et]);var Rt=l.useState(null),_t=ye(Rt,2),jt=_t[0],zt=_t[1],en=l.useState(null),gn=ye(en,2),on=gn[0],Ft=gn[1],qt=function(hn){Ft([hn.clientX,hn.clientY])},Jt=bde(et,$e,W&&on!==null?on:Ne,F,k,M,K),st=ye(Jt,11),Ct=st[0],ot=st[1],We=st[2],dt=st[3],Ot=st[4],Zt=st[5],yn=st[6],Nt=st[7],At=st[8],Xt=st[9],ln=st[10],Mn=mde(pe,c,u,f),$n=ye(Mn,2),sr=$n[0],pr=$n[1],la=sr.has("click"),Xr=pr.has("click")||pr.has("contextMenu"),wr=En(function(){yt||ln()}),Zr=function(){Ke.current&&W&&Xr&&ct(!1)};yde(et,Ne,$e,wr,Zr),Rn(function(){wr()},[on,F]),Rn(function(){et&&!(k!=null&&k[F])&&wr()},[JSON.stringify(M)]);var bn=l.useMemo(function(){var tn=vde(k,o,Xt,W);return ce(tn,U==null?void 0:U(Xt))},[Xt,U,k,o,W]);l.useImperativeHandle(r,function(){return{nativeElement:Re.current,popupElement:Fe.current,forceAlign:wr}});var Kt=l.useState(0),Gt=ye(Kt,2),Ln=Gt[0],Ht=Gt[1],Ut=l.useState(0),On=ye(Ut,2),lr=On[0],vr=On[1],xn=function(){if(H&&Ne){var hn=Ne.getBoundingClientRect();Ht(hn.width),vr(hn.height)}},Mr=function(){xn(),wr()},Jr=function(hn){Dt(!1),ln(),y==null||y(hn)},kt=function(){return new Promise(function(hn){xn(),zt(function(){return hn})})};Rn(function(){jt&&(ln(),jt(),zt(null))},[jt]);function wt(tn,hn,Rr,jr){Ve[tn]=function(yr){var Ni;jr==null||jr(yr),ct(hn,Rr);for(var dl=arguments.length,as=new Array(dl>1?dl-1:0),ai=1;ai1?Rr-1:0),yr=1;yr1?Rr-1:0),yr=1;yr1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],o=NV(n,!1),i=o.label,s=o.value,c=o.options,u=o.groupLabel;function f(g,m){Array.isArray(g)&&g.forEach(function(h){if(m||!(c in h)){var y=h[s];a.push({key:FM(h,a.length),groupOption:m,data:h,label:h[i],value:y})}else{var x=h[u];x===void 0&&r&&(x=h.label),a.push({key:FM(h,a.length),group:!0,data:h,label:x}),f(h[c],!0)}})}return f(e,!1),a}function XR(e){var t=se({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return ar(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var Rde=function(t,n,r){if(!n||!n.length)return null;var a=!1,o=function s(c,u){var f=L9(u),g=f[0],m=f.slice(1);if(!g)return[c];var h=c.split(g);return a=a||h.length>1,h.reduce(function(y,x){return[].concat(Ze(y),Ze(s(x,m)))},[]).filter(Boolean)},i=o(t,n);return a?typeof r<"u"?i.slice(0,r):i:null},G$=l.createContext(null);function Ode(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return l.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(a){var o=a.label,i=a.value;return["number","string"].includes(Pt(o))?o:i}).join(", ")),n.length>r?", ...":null)}var $de=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Nde=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ZR=function(t){return t==="tags"||t==="multiple"},AV=l.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,o=e.className,i=e.showSearch,s=e.tagRender,c=e.direction,u=e.omitDomProps,f=e.displayValues,g=e.onDisplayValuesChange,m=e.emptyOptions,h=e.notFoundContent,y=h===void 0?"Not Found":h,x=e.onClear,b=e.mode,C=e.disabled,S=e.loading,w=e.getInputElement,I=e.getRawInputElement,E=e.open,_=e.defaultOpen,R=e.onDropdownVisibleChange,N=e.activeValue,O=e.onActiveValueChange,$=e.activeDescendantId,A=e.searchValue,B=e.autoClearSearchValue,j=e.onSearch,F=e.onSearchSplit,D=e.tokenSeparators,k=e.allowClear,M=e.prefix,L=e.suffixIcon,H=e.clearIcon,U=e.OptionList,z=e.animation,W=e.transitionName,q=e.dropdownStyle,K=e.dropdownClassName,G=e.dropdownMatchSelectWidth,X=e.dropdownRender,Z=e.dropdownAlign,J=e.placement,ne=e.builtinPlacements,Q=e.getPopupContainer,ee=e.showAction,te=ee===void 0?[]:ee,oe=e.onFocus,le=e.onBlur,fe=e.onKeyUp,ue=e.onKeyDown,we=e.onMouseDown,pe=Bt(e,$de),ve=ZR(b),Ce=(i!==void 0?i:ve)||b==="combobox",me=se({},pe);Nde.forEach(function(Kt){delete me[Kt]}),u==null||u.forEach(function(Kt){delete me[Kt]});var ie=l.useState(!1),he=ye(ie,2),Se=he[0],_e=he[1];l.useEffect(function(){_e(dy())},[]);var $e=l.useRef(null),ze=l.useRef(null),Fe=l.useRef(null),je=l.useRef(null),qe=l.useRef(null),Ue=l.useRef(!1),Ne=Fue(),Ye=ye(Ne,3),Re=Ye[0],Ae=Ye[1],Le=Ye[2];l.useImperativeHandle(t,function(){var Kt,Gt;return{focus:(Kt=je.current)===null||Kt===void 0?void 0:Kt.focus,blur:(Gt=je.current)===null||Gt===void 0?void 0:Gt.blur,scrollTo:function(Ht){var Ut;return(Ut=qe.current)===null||Ut===void 0?void 0:Ut.scrollTo(Ht)},nativeElement:$e.current||ze.current}});var Te=l.useMemo(function(){var Kt;if(b!=="combobox")return A;var Gt=(Kt=f[0])===null||Kt===void 0?void 0:Kt.value;return typeof Gt=="string"||typeof Gt=="number"?String(Gt):""},[A,b,f]),Ve=b==="combobox"&&typeof w=="function"&&w()||null,Je=typeof I=="function"&&I(),Qe=Rs(ze,Je==null||(n=Je.props)===null||n===void 0?void 0:n.ref),ut=l.useState(!1),xe=ye(ut,2),be=xe[0],Ee=xe[1];Rn(function(){Ee(!0)},[]);var ke=Vn(!1,{defaultValue:_,value:E}),et=ye(ke,2),Be=et[0],Ke=et[1],Ge=be?Be:!1,nt=!y&&m;(C||nt&&Ge&&b==="combobox")&&(Ge=!1);var ht=nt?!1:Ge,tt=l.useCallback(function(Kt){var Gt=Kt!==void 0?Kt:!Ge;C||(Ke(Gt),Ge!==Gt&&(R==null||R(Gt)))},[C,Ge,Ke,R]),ct=l.useMemo(function(){return(D||[]).some(function(Kt){return[` +`,`\r +`].includes(Kt)})},[D]),bt=l.useContext(G$)||{},St=bt.maxCount,yt=bt.rawValues,Dt=function(Gt,Ln,Ht){if(!(ve&&YR(St)&&(yt==null?void 0:yt.size)>=St)){var Ut=!0,On=Gt;O==null||O(null);var lr=Rde(Gt,D,YR(St)?St-yt.size:void 0),vr=Ht?null:lr;return b!=="combobox"&&vr&&(On="",F==null||F(vr),tt(!1),Ut=!1),j&&Te!==On&&j(On,{source:Ln?"typing":"effect"}),Ut}},Rt=function(Gt){!Gt||!Gt.trim()||j(Gt,{source:"submit"})};l.useEffect(function(){!Ge&&!ve&&b!=="combobox"&&Dt("",!1,!1)},[Ge]),l.useEffect(function(){Be&&C&&Ke(!1),C&&!Ue.current&&Ae(!1)},[C]);var _t=EV(),jt=ye(_t,2),zt=jt[0],en=jt[1],gn=l.useRef(!1),on=function(Gt){var Ln=zt(),Ht=Gt.key,Ut=Ht==="Enter";if(Ut&&(b!=="combobox"&&Gt.preventDefault(),Ge||tt(!0)),en(!!Te),Ht==="Backspace"&&!Ln&&ve&&!Te&&f.length){for(var On=Ze(f),lr=null,vr=On.length-1;vr>=0;vr-=1){var xn=On[vr];if(!xn.disabled){On.splice(vr,1),lr=xn;break}}lr&&g(On,{type:"remove",values:[lr]})}for(var Mr=arguments.length,Jr=new Array(Mr>1?Mr-1:0),kt=1;kt1?Ln-1:0),Ut=1;Ut1?lr-1:0),xn=1;xn"u"?"undefined":Pt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const PV=function(e,t,n,r){var a=l.useRef(!1),o=l.useRef(null);function i(){clearTimeout(o.current),a.current=!0,o.current=setTimeout(function(){a.current=!1},50)}var s=l.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(c,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,g=c?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return f&&g?(clearTimeout(o.current),a.current=!1):(!g||a.current)&&i(),!a.current&&g}};function Mde(e,t,n,r,a,o,i){var s=l.useRef(0),c=l.useRef(null),u=l.useRef(null),f=l.useRef(!1),g=PV(t,n,r,a);function m(S,w){if(mn.cancel(c.current),!g(!1,w)){var I=S;if(!I._virtualHandled)I._virtualHandled=!0;else return;s.current+=w,u.current=w,BM||I.preventDefault(),c.current=mn(function(){var E=f.current?10:1;i(s.current*E,!1),s.current=0})}}function h(S,w){i(w,!0),BM||S.preventDefault()}var y=l.useRef(null),x=l.useRef(null);function b(S){if(e){mn.cancel(x.current),x.current=mn(function(){y.current=null},2);var w=S.deltaX,I=S.deltaY,E=S.shiftKey,_=w,R=I;(y.current==="sx"||!y.current&&E&&I&&!w)&&(_=I,R=0,y.current="sx");var N=Math.abs(_),O=Math.abs(R);y.current===null&&(y.current=o&&N>O?"x":"y"),y.current==="y"?m(S,R):h(S,_)}}function C(S){e&&(f.current=S.detail===u.current)}return[b,C]}function Lde(e,t,n,r){var a=l.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=ye(a,2),i=o[0],s=o[1],c=function(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f,m=i.get(f),h=i.get(g);if(m===void 0||h===void 0)for(var y=e.length,x=s.length;x0&&arguments[0]!==void 0?arguments[0]:!1;f();var y=function(){var C=!1;s.current.forEach(function(S,w){if(S&&S.offsetParent){var I=S.offsetHeight,E=getComputedStyle(S),_=E.marginTop,R=E.marginBottom,N=zM(_),O=zM(R),$=I+N+O;c.current.get(w)!==$&&(c.current.set(w,$),C=!0)}}),C&&i(function(S){return S+1})};if(h)y();else{u.current+=1;var x=u.current;Promise.resolve().then(function(){x===u.current&&y()})}}function m(h,y){var x=e(h);s.current.get(x),y?(s.current.set(x,y),g()):s.current.delete(x)}return l.useEffect(function(){return f},[]),[m,g,c.current,o]}var HM=14/15;function Bde(e,t,n){var r=l.useRef(!1),a=l.useRef(0),o=l.useRef(0),i=l.useRef(null),s=l.useRef(null),c,u=function(h){if(r.current){var y=Math.ceil(h.touches[0].pageX),x=Math.ceil(h.touches[0].pageY),b=a.current-y,C=o.current-x,S=Math.abs(b)>Math.abs(C);S?a.current=y:o.current=x;var w=n(S,S?b:C,!1,h);w&&h.preventDefault(),clearInterval(s.current),w&&(s.current=setInterval(function(){S?b*=HM:C*=HM;var I=Math.floor(S?b:C);(!n(S,I,!0)||Math.abs(I)<=.1)&&clearInterval(s.current)},16))}},f=function(){r.current=!1,c()},g=function(h){c(),h.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(h.touches[0].pageX),o.current=Math.ceil(h.touches[0].pageY),i.current=h.target,i.current.addEventListener("touchmove",u,{passive:!1}),i.current.addEventListener("touchend",f,{passive:!0}))};c=function(){i.current&&(i.current.removeEventListener("touchmove",u),i.current.removeEventListener("touchend",f))},Rn(function(){return e&&t.current.addEventListener("touchstart",g,{passive:!0}),function(){var m;(m=t.current)===null||m===void 0||m.removeEventListener("touchstart",g),c(),clearInterval(s.current)}},[e])}function UM(e){return Math.floor(Math.pow(e,.5))}function JR(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}function zde(e,t,n){l.useEffect(function(){var r=t.current;if(e&&r){var a=!1,o,i,s=function(){mn.cancel(o)},c=function m(){s(),o=mn(function(){n(i),m()})},u=function(h){if(!(h.target.draggable||h.button!==0)){var y=h;y._virtualHandled||(y._virtualHandled=!0,a=!0)}},f=function(){a=!1,s()},g=function(h){if(a){var y=JR(h,!1),x=r.getBoundingClientRect(),b=x.top,C=x.bottom;if(y<=b){var S=b-y;i=-UM(S),c()}else if(y>=C){var w=y-C;i=UM(w),c()}else s()}};return r.addEventListener("mousedown",u),r.ownerDocument.addEventListener("mouseup",f),r.ownerDocument.addEventListener("mousemove",g),function(){r.removeEventListener("mousedown",u),r.ownerDocument.removeEventListener("mouseup",f),r.ownerDocument.removeEventListener("mousemove",g),s()}}},[e])}var Hde=10;function Ude(e,t,n,r,a,o,i,s){var c=l.useRef(),u=l.useState(null),f=ye(u,2),g=f[0],m=f[1];return Rn(function(){if(g&&g.times=0;F-=1){var D=a(t[F]),k=n.get(D);if(k===void 0){S=!0;break}if(j-=k,j<=0)break}switch(E){case"top":I=R-b;break;case"bottom":I=N-C+b;break;default:{var M=e.current.scrollTop,L=M+C;RL&&(w="bottom")}}I!==null&&i(I),I!==g.lastTop&&(S=!0)}S&&m(se(se({},g),{},{times:g.times+1,targetAlign:w,lastTop:I}))}},[g,e.current]),function(h){if(h==null){s();return}if(mn.cancel(c.current),typeof h=="number")i(h);else if(h&&Pt(h)==="object"){var y,x=h.align;"index"in h?y=h.index:y=t.findIndex(function(S){return a(S)===h.key});var b=h.offset,C=b===void 0?0:b;m({times:0,index:y,offset:C,originAlign:x})}}}var VM=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,o=e.scrollRange,i=e.onStartMove,s=e.onStopMove,c=e.onScroll,u=e.horizontal,f=e.spinSize,g=e.containerSize,m=e.style,h=e.thumbStyle,y=e.showScrollBar,x=l.useState(!1),b=ye(x,2),C=b[0],S=b[1],w=l.useState(null),I=ye(w,2),E=I[0],_=I[1],R=l.useState(null),N=ye(R,2),O=N[0],$=N[1],A=!r,B=l.useRef(),j=l.useRef(),F=l.useState(y),D=ye(F,2),k=D[0],M=D[1],L=l.useRef(),H=function(){y===!0||y===!1||(clearTimeout(L.current),M(!0),L.current=setTimeout(function(){M(!1)},3e3))},U=o-g||0,z=g-f||0,W=l.useMemo(function(){if(a===0||U===0)return 0;var ee=a/U;return ee*z},[a,U,z]),q=function(te){te.stopPropagation(),te.preventDefault()},K=l.useRef({top:W,dragging:C,pageY:E,startTop:O});K.current={top:W,dragging:C,pageY:E,startTop:O};var G=function(te){S(!0),_(JR(te,u)),$(K.current.top),i(),te.stopPropagation(),te.preventDefault()};l.useEffect(function(){var ee=function(fe){fe.preventDefault()},te=B.current,oe=j.current;return te.addEventListener("touchstart",ee,{passive:!1}),oe.addEventListener("touchstart",G,{passive:!1}),function(){te.removeEventListener("touchstart",ee),oe.removeEventListener("touchstart",G)}},[]);var X=l.useRef();X.current=U;var Z=l.useRef();Z.current=z,l.useEffect(function(){if(C){var ee,te=function(fe){var ue=K.current,we=ue.dragging,pe=ue.pageY,ve=ue.startTop;mn.cancel(ee);var Ce=B.current.getBoundingClientRect(),me=g/(u?Ce.width:Ce.height);if(we){var ie=(JR(fe,u)-pe)*me,he=ve;!A&&u?he-=ie:he+=ie;var Se=X.current,_e=Z.current,$e=_e?he/_e:0,ze=Math.ceil($e*Se);ze=Math.max(ze,0),ze=Math.min(ze,Se),ee=mn(function(){c(ze,u)})}},oe=function(){S(!1),s()};return window.addEventListener("mousemove",te,{passive:!0}),window.addEventListener("touchmove",te,{passive:!0}),window.addEventListener("mouseup",oe,{passive:!0}),window.addEventListener("touchend",oe,{passive:!0}),function(){window.removeEventListener("mousemove",te),window.removeEventListener("touchmove",te),window.removeEventListener("mouseup",oe),window.removeEventListener("touchend",oe),mn.cancel(ee)}}},[C]),l.useEffect(function(){return H(),function(){clearTimeout(L.current)}},[a]),l.useImperativeHandle(t,function(){return{delayHidden:H}});var J="".concat(n,"-scrollbar"),ne={position:"absolute",visibility:k?null:"hidden"},Q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(ne.height=8,ne.left=0,ne.right=0,ne.bottom=0,Q.height="100%",Q.width=f,A?Q.left=W:Q.right=W):(ne.width=8,ne.top=0,ne.bottom=0,A?ne.right=0:ne.left=0,Q.width="100%",Q.height=f,Q.top=W),l.createElement("div",{ref:B,className:ce(J,re(re(re({},"".concat(J,"-horizontal"),u),"".concat(J,"-vertical"),!u),"".concat(J,"-visible"),k)),style:se(se({},ne),m),onMouseDown:q,onMouseMove:H},l.createElement("div",{ref:j,className:ce("".concat(J,"-thumb"),re({},"".concat(J,"-thumb-moving"),C)),style:se(se({},Q),h),onMouseDown:G}))}),Vde=20;function WM(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,Vde),Math.floor(n)}var Wde=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Gde=[],qde={overflowY:"auto",overflowAnchor:"none"};function Kde(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,o=e.height,i=e.itemHeight,s=e.fullHeight,c=s===void 0?!0:s,u=e.style,f=e.data,g=e.children,m=e.itemKey,h=e.virtual,y=e.direction,x=e.scrollWidth,b=e.component,C=b===void 0?"div":b,S=e.onScroll,w=e.onVirtualScroll,I=e.onVisibleChange,E=e.innerProps,_=e.extraRender,R=e.styles,N=e.showScrollBar,O=N===void 0?"optional":N,$=Bt(e,Wde),A=l.useCallback(function(st){return typeof m=="function"?m(st):st==null?void 0:st[m]},[m]),B=Fde(A),j=ye(B,4),F=j[0],D=j[1],k=j[2],M=j[3],L=!!(h!==!1&&o&&i),H=l.useMemo(function(){return Object.values(k.maps).reduce(function(st,Ct){return st+Ct},0)},[k.id,k.maps]),U=L&&f&&(Math.max(i*f.length,H)>o||!!x),z=y==="rtl",W=ce(r,re({},"".concat(r,"-rtl"),z),a),q=f||Gde,K=l.useRef(),G=l.useRef(),X=l.useRef(),Z=l.useState(0),J=ye(Z,2),ne=J[0],Q=J[1],ee=l.useState(0),te=ye(ee,2),oe=te[0],le=te[1],fe=l.useState(!1),ue=ye(fe,2),we=ue[0],pe=ue[1],ve=function(){pe(!0)},Ce=function(){pe(!1)},me={getKey:A};function ie(st){Q(function(Ct){var ot;typeof st=="function"?ot=st(Ct):ot=st;var We=Ee(ot);return K.current.scrollTop=We,We})}var he=l.useRef({start:0,end:q.length}),Se=l.useRef(),_e=Dde(q,A),$e=ye(_e,1),ze=$e[0];Se.current=ze;var Fe=l.useMemo(function(){if(!L)return{scrollHeight:void 0,start:0,end:q.length-1,offset:void 0};if(!U){var st;return{scrollHeight:((st=G.current)===null||st===void 0?void 0:st.offsetHeight)||0,start:0,end:q.length-1,offset:void 0}}for(var Ct=0,ot,We,dt,Ot=q.length,Zt=0;Zt=ne&&ot===void 0&&(ot=Zt,We=Ct),Xt>ne+o&&dt===void 0&&(dt=Zt),Ct=Xt}return ot===void 0&&(ot=0,We=0,dt=Math.ceil(o/i)),dt===void 0&&(dt=q.length-1),dt=Math.min(dt+1,q.length-1),{scrollHeight:Ct,start:ot,end:dt,offset:We}},[U,L,ne,q,M,o]),je=Fe.scrollHeight,qe=Fe.start,Ue=Fe.end,Ne=Fe.offset;he.current.start=qe,he.current.end=Ue,l.useLayoutEffect(function(){var st=k.getRecord();if(st.size===1){var Ct=Array.from(st)[0],ot=q[qe];if(ot){var We=A(ot);if(We===Ct){var dt=k.get(Ct),Ot=dt-i;ie(function(Zt){return Zt+Ot})}}}k.resetRecord()},[je]);var Ye=l.useState({width:0,height:o}),Re=ye(Ye,2),Ae=Re[0],Le=Re[1],Te=function(Ct){Le({width:Ct.offsetWidth,height:Ct.offsetHeight})},Ve=l.useRef(),Je=l.useRef(),Qe=l.useMemo(function(){return WM(Ae.width,x)},[Ae.width,x]),ut=l.useMemo(function(){return WM(Ae.height,je)},[Ae.height,je]),xe=je-o,be=l.useRef(xe);be.current=xe;function Ee(st){var Ct=st;return Number.isNaN(be.current)||(Ct=Math.min(Ct,be.current)),Ct=Math.max(Ct,0),Ct}var ke=ne<=0,et=ne>=xe,Be=oe<=0,Ke=oe>=x,Ge=PV(ke,et,Be,Ke),nt=function(){return{x:z?-oe:oe,y:ne}},ht=l.useRef(nt()),tt=En(function(st){if(w){var Ct=se(se({},nt()),st);(ht.current.x!==Ct.x||ht.current.y!==Ct.y)&&(w(Ct),ht.current=Ct)}});function ct(st,Ct){var ot=st;Ct?(Ka.flushSync(function(){le(ot)}),tt()):ie(ot)}function bt(st){var Ct=st.currentTarget.scrollTop;Ct!==ne&&ie(Ct),S==null||S(st),tt()}var St=function(Ct){var ot=Ct,We=x?x-Ae.width:0;return ot=Math.max(ot,0),ot=Math.min(ot,We),ot},yt=En(function(st,Ct){Ct?(Ka.flushSync(function(){le(function(ot){var We=ot+(z?-st:st);return St(We)})}),tt()):ie(function(ot){var We=ot+st;return We})}),Dt=Mde(L,ke,et,Be,Ke,!!x,yt),Rt=ye(Dt,2),_t=Rt[0],jt=Rt[1];Bde(L,K,function(st,Ct,ot,We){var dt=We;return Ge(st,Ct,ot)?!1:!dt||!dt._virtualHandled?(dt&&(dt._virtualHandled=!0),_t({preventDefault:function(){},deltaX:st?Ct:0,deltaY:st?0:Ct}),!0):!1}),zde(U,K,function(st){ie(function(Ct){return Ct+st})}),Rn(function(){function st(ot){var We=ke&&ot.detail<0,dt=et&&ot.detail>0;L&&!We&&!dt&&ot.preventDefault()}var Ct=K.current;return Ct.addEventListener("wheel",_t,{passive:!1}),Ct.addEventListener("DOMMouseScroll",jt,{passive:!0}),Ct.addEventListener("MozMousePixelScroll",st,{passive:!1}),function(){Ct.removeEventListener("wheel",_t),Ct.removeEventListener("DOMMouseScroll",jt),Ct.removeEventListener("MozMousePixelScroll",st)}},[L,ke,et]),Rn(function(){if(x){var st=St(oe);le(st),tt({x:st})}},[Ae.width,x]);var zt=function(){var Ct,ot;(Ct=Ve.current)===null||Ct===void 0||Ct.delayHidden(),(ot=Je.current)===null||ot===void 0||ot.delayHidden()},en=Ude(K,q,k,i,A,function(){return D(!0)},ie,zt);l.useImperativeHandle(t,function(){return{nativeElement:X.current,getScrollInfo:nt,scrollTo:function(Ct){function ot(We){return We&&Pt(We)==="object"&&("left"in We||"top"in We)}ot(Ct)?(Ct.left!==void 0&&le(St(Ct.left)),en(Ct.top)):en(Ct)}}}),Rn(function(){if(I){var st=q.slice(qe,Ue+1);I(st,q)}},[qe,Ue,q]);var gn=Lde(q,A,k,i),on=_==null?void 0:_({start:qe,end:Ue,virtual:U,offsetX:oe,offsetY:Ne,rtl:z,getSize:gn}),Ft=kde(q,qe,Ue,x,oe,F,g,me),qt=null;o&&(qt=se(re({},c?"height":"maxHeight",o),qde),L&&(qt.overflowY="hidden",x&&(qt.overflowX="hidden"),we&&(qt.pointerEvents="none")));var Jt={};return z&&(Jt.dir="rtl"),l.createElement("div",Ie({ref:X,style:se(se({},u),{},{position:"relative"}),className:W},Jt,$),l.createElement(Xa,{onResize:Te},l.createElement(C,{className:"".concat(r,"-holder"),style:qt,ref:K,onScroll:bt,onMouseEnter:zt},l.createElement(kV,{prefixCls:r,height:je,offsetX:oe,offsetY:Ne,scrollWidth:x,onInnerResize:D,ref:G,innerProps:E,rtl:z,extra:on},Ft))),U&&je>o&&l.createElement(VM,{ref:Ve,prefixCls:r,scrollOffset:ne,scrollRange:je,rtl:z,onScroll:ct,onStartMove:ve,onStopMove:Ce,spinSize:ut,containerSize:Ae.height,style:R==null?void 0:R.verticalScrollBar,thumbStyle:R==null?void 0:R.verticalScrollBarThumb,showScrollBar:O}),U&&x>Ae.width&&l.createElement(VM,{ref:Je,prefixCls:r,scrollOffset:oe,scrollRange:x,rtl:z,onScroll:ct,onStartMove:ve,onStopMove:Ce,spinSize:Qe,containerSize:Ae.width,horizontal:!0,style:R==null?void 0:R.horizontalScrollBar,thumbStyle:R==null?void 0:R.horizontalScrollBarThumb,showScrollBar:O}))}var py=l.forwardRef(Kde);py.displayName="List";function Yde(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Xde=["disabled","title","children","style","className"];function GM(e){return typeof e=="string"||typeof e=="number"}var Zde=function(t,n){var r=wV(),a=r.prefixCls,o=r.id,i=r.open,s=r.multiple,c=r.mode,u=r.searchValue,f=r.toggleOpen,g=r.notFoundContent,m=r.onPopupScroll,h=l.useContext(G$),y=h.maxCount,x=h.flattenOptions,b=h.onActiveValue,C=h.defaultActiveFirstOption,S=h.onSelect,w=h.menuItemSelectedIcon,I=h.rawValues,E=h.fieldNames,_=h.virtual,R=h.direction,N=h.listHeight,O=h.listItemHeight,$=h.optionRender,A="".concat(a,"-item"),B=tl(function(){return x},[i,x],function(ee,te){return te[0]&&ee[1]!==te[1]}),j=l.useRef(null),F=l.useMemo(function(){return s&&YR(y)&&(I==null?void 0:I.size)>=y},[s,y,I==null?void 0:I.size]),D=function(te){te.preventDefault()},k=function(te){var oe;(oe=j.current)===null||oe===void 0||oe.scrollTo(typeof te=="number"?{index:te}:te)},M=l.useCallback(function(ee){return c==="combobox"?!1:I.has(ee)},[c,Ze(I).toString(),I.size]),L=function(te){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,le=B.length,fe=0;fe1&&arguments[1]!==void 0?arguments[1]:!1;W(te);var le={source:oe?"keyboard":"mouse"},fe=B[te];if(!fe){b(null,-1,le);return}b(fe.value,te,le)};l.useEffect(function(){q(C!==!1?L(0):-1)},[B.length,u]);var K=l.useCallback(function(ee){return c==="combobox"?String(ee).toLowerCase()===u.toLowerCase():I.has(ee)},[c,u,Ze(I).toString(),I.size]);l.useEffect(function(){var ee=setTimeout(function(){if(!s&&i&&I.size===1){var oe=Array.from(I)[0],le=B.findIndex(function(fe){var ue=fe.data;return ue.value===oe});le!==-1&&(q(le),k(le))}});if(i){var te;(te=j.current)===null||te===void 0||te.scrollTo(void 0)}return function(){return clearTimeout(ee)}},[i,u]);var G=function(te){te!==void 0&&S(te,{selected:!I.has(te)}),s||f(!1)};if(l.useImperativeHandle(n,function(){return{onKeyDown:function(te){var oe=te.which,le=te.ctrlKey;switch(oe){case pt.N:case pt.P:case pt.UP:case pt.DOWN:{var fe=0;if(oe===pt.UP?fe=-1:oe===pt.DOWN?fe=1:Yde()&&le&&(oe===pt.N?fe=1:oe===pt.P&&(fe=-1)),fe!==0){var ue=L(z+fe,fe);k(ue),q(ue,!0)}break}case pt.TAB:case pt.ENTER:{var we,pe=B[z];pe&&!(pe!=null&&(we=pe.data)!==null&&we!==void 0&&we.disabled)&&!F?G(pe.value):G(void 0),i&&te.preventDefault();break}case pt.ESC:f(!1),i&&te.stopPropagation()}},onKeyUp:function(){},scrollTo:function(te){k(te)}}}),B.length===0)return l.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat(A,"-empty"),onMouseDown:D},g);var X=Object.keys(E).map(function(ee){return E[ee]}),Z=function(te){return te.label};function J(ee,te){var oe=ee.group;return{role:oe?"presentation":"option",id:"".concat(o,"_list_").concat(te)}}var ne=function(te){var oe=B[te];if(!oe)return null;var le=oe.data||{},fe=le.value,ue=oe.group,we=zr(le,!0),pe=Z(oe);return oe?l.createElement("div",Ie({"aria-label":typeof pe=="string"&&!ue?pe:null},we,{key:te},J(oe,te),{"aria-selected":K(fe)}),fe):null},Q={role:"listbox",id:"".concat(o,"_list")};return l.createElement(l.Fragment,null,_&&l.createElement("div",Ie({},Q,{style:{height:0,width:0,overflow:"hidden"}}),ne(z-1),ne(z),ne(z+1)),l.createElement(py,{itemKey:"key",ref:j,data:B,height:N,itemHeight:O,fullHeight:!1,onMouseDown:D,onScroll:m,virtual:_,direction:R,innerProps:_?null:Q},function(ee,te){var oe=ee.group,le=ee.groupOption,fe=ee.data,ue=ee.label,we=ee.value,pe=fe.key;if(oe){var ve,Ce=(ve=fe.title)!==null&&ve!==void 0?ve:GM(ue)?ue.toString():void 0;return l.createElement("div",{className:ce(A,"".concat(A,"-group"),fe.className),title:Ce},ue!==void 0?ue:pe)}var me=fe.disabled,ie=fe.title;fe.children;var he=fe.style,Se=fe.className,_e=Bt(fe,Xde),$e=or(_e,X),ze=M(we),Fe=me||!ze&&F,je="".concat(A,"-option"),qe=ce(A,je,Se,re(re(re(re({},"".concat(je,"-grouped"),le),"".concat(je,"-active"),z===te&&!Fe),"".concat(je,"-disabled"),Fe),"".concat(je,"-selected"),ze)),Ue=Z(ee),Ne=!w||typeof w=="function"||ze,Ye=typeof Ue=="number"?Ue:Ue||we,Re=GM(Ye)?Ye.toString():void 0;return ie!==void 0&&(Re=ie),l.createElement("div",Ie({},zr($e),_?{}:J(ee,te),{"aria-selected":K(we),className:qe,title:Re,onMouseMove:function(){z===te||Fe||q(te)},onClick:function(){Fe||G(we)},style:he}),l.createElement("div",{className:"".concat(je,"-content")},typeof $=="function"?$(ee,{index:te}):Ye),l.isValidElement(w)||ze,Ne&&l.createElement(fy,{className:"".concat(A,"-option-state"),customizeIcon:w,customizeIconProps:{value:we,disabled:Fe,isSelected:ze}},ze?"✓":null))}))},Jde=l.forwardRef(Zde);const Qde=function(e,t){var n=l.useRef({values:new Map,options:new Map}),r=l.useMemo(function(){var o=n.current,i=o.values,s=o.options,c=e.map(function(g){if(g.label===void 0){var m;return se(se({},g),{},{label:(m=i.get(g.value))===null||m===void 0?void 0:m.label})}return g}),u=new Map,f=new Map;return c.forEach(function(g){u.set(g.value,g),f.set(g.value,t.get(g.value)||s.get(g.value))}),n.current.values=u,n.current.options=f,c},[e,t]),a=l.useCallback(function(o){return t.get(o)||n.current.options.get(o)},[t]);return[r,a]};function L1(e,t){return OV(e).join("").toUpperCase().includes(t)}const efe=function(e,t,n,r,a){return l.useMemo(function(){if(!n||r===!1)return e;var o=t.options,i=t.label,s=t.value,c=[],u=typeof r=="function",f=n.toUpperCase(),g=u?r:function(h,y){return a?L1(y[a],f):y[o]?L1(y[i!=="children"?i:"label"],f):L1(y[s],f)},m=u?function(h){return XR(h)}:function(h){return h};return e.forEach(function(h){if(h[o]){var y=g(n,m(h));if(y)c.push(h);else{var x=h[o].filter(function(b){return g(n,m(b))});x.length&&c.push(se(se({},h),{},re({},o,x)))}return}g(n,m(h))&&c.push(h)}),c},[e,r,a,n,t])};var qM=0,tfe=Ba();function nfe(){var e;return tfe?(e=qM,qM+=1):e="TEST_OR_SSR",e}function DV(e){var t=l.useState(),n=ye(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_select_".concat(nfe()))},[]),e||r}var rfe=["children","value"],afe=["children"];function ofe(e){var t=e,n=t.key,r=t.props,a=r.children,o=r.value,i=Bt(r,rfe);return se({key:n,value:o!==void 0?o:n,children:a},i)}function MV(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return aa(e).map(function(n,r){if(!l.isValidElement(n)||!n.type)return null;var a=n,o=a.type.isSelectOptGroup,i=a.key,s=a.props,c=s.children,u=Bt(s,afe);return t||!o?ofe(n):se(se({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},u),{},{options:MV(c)})}).filter(function(n){return n})}var ife=function(t,n,r,a,o){return l.useMemo(function(){var i=t,s=!t;s&&(i=MV(n));var c=new Map,u=new Map,f=function(h,y,x){x&&typeof x=="string"&&h.set(y[x],y)},g=function m(h){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,x=0;x0?tt(St.options):St.options}):St})},Ye=l.useMemo(function(){return S?Ne(Ue):Ue},[Ue,S,Q]),Re=l.useMemo(function(){return Tde(Ye,{fieldNames:Z,childrenAsData:G})},[Ye,Z,G]),Ae=function(ct){var bt=ue(ct);if(Ce(bt),U&&(bt.length!==Se.length||bt.some(function(Dt,Rt){var _t;return((_t=Se[Rt])===null||_t===void 0?void 0:_t.value)!==(Dt==null?void 0:Dt.value)}))){var St=H?bt:bt.map(function(Dt){return Dt.value}),yt=bt.map(function(Dt){return XR(_e(Dt.value))});U(K?St:St[0],K?yt:yt[0])}},Le=l.useState(null),Te=ye(Le,2),Ve=Te[0],Je=Te[1],Qe=l.useState(0),ut=ye(Qe,2),xe=ut[0],be=ut[1],Ee=N!==void 0?N:r!=="combobox",ke=l.useCallback(function(tt,ct){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},St=bt.source,yt=St===void 0?"keyboard":St;be(ct),i&&r==="combobox"&&tt!==null&&yt==="keyboard"&&Je(String(tt))},[i,r]),et=function(ct,bt,St){var yt=function(){var qt,Jt=_e(ct);return[H?{label:Jt==null?void 0:Jt[Z.label],value:ct,key:(qt=Jt==null?void 0:Jt.key)!==null&&qt!==void 0?qt:ct}:ct,XR(Jt)]};if(bt&&h){var Dt=yt(),Rt=ye(Dt,2),_t=Rt[0],jt=Rt[1];h(_t,jt)}else if(!bt&&y&&St!=="clear"){var zt=yt(),en=ye(zt,2),gn=en[0],on=en[1];y(gn,on)}},Be=KM(function(tt,ct){var bt,St=K?ct.selected:!0;St?bt=K?[].concat(Ze(Se),[tt]):[tt]:bt=Se.filter(function(yt){return yt.value!==tt}),Ae(bt),et(tt,St),r==="combobox"?Je(""):(!ZR||m)&&(ee(""),Je(""))}),Ke=function(ct,bt){Ae(ct);var St=bt.type,yt=bt.values;(St==="remove"||St==="clear")&&yt.forEach(function(Dt){et(Dt.value,!1,St)})},Ge=function(ct,bt){if(ee(ct),Je(null),bt.source==="submit"){var St=(ct||"").trim();if(St){var yt=Array.from(new Set([].concat(Ze(ze),[St])));Ae(yt),et(St,!0),ee("")}return}bt.source!=="blur"&&(r==="combobox"&&Ae(ct),f==null||f(ct))},nt=function(ct){var bt=ct;r!=="tags"&&(bt=ct.map(function(yt){var Dt=le.get(yt);return Dt==null?void 0:Dt.value}).filter(function(yt){return yt!==void 0}));var St=Array.from(new Set([].concat(Ze(ze),Ze(bt))));Ae(St),St.forEach(function(yt){et(yt,!0)})},ht=l.useMemo(function(){var tt=$!==!1&&b!==!1;return se(se({},te),{},{flattenOptions:Re,onActiveValue:ke,defaultActiveFirstOption:Ee,onSelect:Be,menuItemSelectedIcon:O,rawValues:ze,fieldNames:Z,virtual:tt,direction:A,listHeight:j,listItemHeight:D,childrenAsData:G,maxCount:z,optionRender:_})},[z,te,Re,ke,Ee,Be,O,ze,Z,$,b,A,j,D,G,_]);return l.createElement(G$.Provider,{value:ht},l.createElement(AV,Ie({},W,{id:q,prefixCls:o,ref:t,omitDomProps:lfe,mode:r,displayValues:$e,onDisplayValuesChange:Ke,direction:A,searchValue:Q,onSearch:Ge,autoClearSearchValue:m,onSearchSplit:nt,dropdownMatchSelectWidth:b,OptionList:Jde,emptyOptions:!Re.length,activeValue:Ve,activeDescendantId:"".concat(q,"_list_").concat(xe)})))}),Y$=ufe;Y$.Option=K$;Y$.OptGroup=q$;function rl(e,t,n){return ce({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const mc=(e,t)=>t||e,dfe=()=>{const[,e]=ba(),[t]=ni("Empty"),r=new In(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return l.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,(t==null?void 0:t.description)||"Empty"),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),l.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),l.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),l.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),l.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),l.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ffe=()=>{const[,e]=ba(),[t]=ni("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:o}=e,{borderColor:i,shadowColor:s,contentColor:c}=l.useMemo(()=>({borderColor:new In(n).onBackground(o).toHexString(),shadowColor:new In(r).onBackground(o).toHexString(),contentColor:new In(a).onBackground(o).toHexString()}),[n,r,a,o]);return l.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,(t==null?void 0:t.description)||"Empty"),l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{fillRule:"nonzero",stroke:i},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:c}))))},pfe=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:o,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},gfe=Nn("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=fn(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[pfe(a)]});var mfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{className:t,rootClassName:n,prefixCls:r,image:a=LV,description:o,children:i,imageStyle:s,style:c,classNames:u,styles:f}=e,g=mfe(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:m,direction:h,className:y,style:x,classNames:b,styles:C}=ia("empty"),S=m("empty",r),[w,I,E]=gfe(S),[_]=ni("Empty"),R=typeof o<"u"?o:_==null?void 0:_.description,N=typeof R=="string"?R:"empty";let O=null;return typeof a=="string"?O=l.createElement("img",{alt:N,src:a}):O=a,w(l.createElement("div",Object.assign({className:ce(I,E,S,y,{[`${S}-normal`]:a===jV,[`${S}-rtl`]:h==="rtl"},t,n,b.root,u==null?void 0:u.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},C.root),x),f==null?void 0:f.root),c)},g),l.createElement("div",{className:ce(`${S}-image`,b.image,u==null?void 0:u.image),style:Object.assign(Object.assign(Object.assign({},s),C.image),f==null?void 0:f.image)},O),R&&l.createElement("div",{className:ce(`${S}-description`,b.description,u==null?void 0:u.description),style:Object.assign(Object.assign({},C.description),f==null?void 0:f.description)},R),i&&l.createElement("div",{className:ce(`${S}-footer`,b.footer,u==null?void 0:u.footer),style:Object.assign(Object.assign({},C.footer),f==null?void 0:f.footer)},i)))};Ca.PRESENTED_IMAGE_DEFAULT=LV;Ca.PRESENTED_IMAGE_SIMPLE=jV;const gy=e=>{const{componentName:t}=e,{getPrefixCls:n}=l.useContext(Wt),r=n("empty");switch(t){case"Table":case"List":return ge.createElement(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ge.createElement(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return ge.createElement(Ca,null)}},hc=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,a;const{variant:o,[e]:i}=l.useContext(Wt),s=l.useContext(YU),c=i==null?void 0:i.variant;let u;typeof t<"u"?u=t:n===!1?u="borderless":u=(a=(r=s??c)!==null&&r!==void 0?r:o)!==null&&a!==void 0?a:"outlined";const f=aae.includes(u);return[u,f]},hfe=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function FV(e,t){return e||hfe(t)}const YM=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:a}=e;return{position:"relative",display:"block",minHeight:t,padding:a,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},vfe=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,o=`&${t}-slide-up-appear${t}-slide-up-appear-active`,i=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,c=`${r}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},Dn(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + ${a}${s}bottomLeft, + ${o}${s}bottomLeft + `]:{animationName:J0},[` + ${a}${s}topLeft, + ${o}${s}topLeft, + ${a}${s}topRight, + ${o}${s}topRight + `]:{animationName:ey},[`${i}${s}bottomLeft`]:{animationName:Q0},[` + ${i}${s}topLeft, + ${i}${s}topRight + `]:{animationName:ty},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},YM(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Qo),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},YM(e)),{color:e.colorTextDisabled})}),[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},Cs(e,"slide-up"),Cs(e,"slide-down"),cf(e,"move-up"),cf(e,"move-down")]},BV=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:a}=e,o=e.max(e.calc(n).sub(r).equal(),0),i=e.max(e.calc(o).sub(a).equal(),0);return{basePadding:o,containerPadding:i,itemHeight:ae(t),itemLineHeight:ae(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},bfe=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},zV=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:a,paddingXS:o,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:f}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:f,borderRadius:r,cursor:"default",transition:`font-size ${a}, line-height ${a}, height ${a}`,marginInlineEnd:e.calc(f).mul(2).equal(),paddingInlineStart:o,paddingInlineEnd:e.calc(o).div(2).equal(),[`${t}-disabled&`]:{color:i,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(o).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Iu()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},yfe=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,i=bfe(e),s=t?`${n}-${t}`:"",c=BV(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},zV(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ae(r)} 0`,lineHeight:ae(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:c.itemHeight,lineHeight:ae(c.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:ae(o),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal()},[`${a}-item + ${a}-item, + ${n}-prefix + ${n}-selection-wrap + `]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${a}-item-suffix`]:{minHeight:c.itemHeight,marginBlock:r},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:ae(o),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function j1(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",a={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[yfe(e,t),a]}const xfe=e=>{const{componentCls:t}=e,n=fn(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=fn(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[j1(e),j1(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},j1(r,"lg")]};function F1(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,o=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},Dn(e,!0)),{display:"flex",borderRadius:a,flex:"1 1 auto",[`${n}-selection-wrap:after`]:{lineHeight:ae(o)},[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{display:"block",padding:0,lineHeight:ae(o),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-search, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${ae(r)}`,[`${n}-selection-search-input`]:{height:o,fontSize:e.fontSize},"&:after":{lineHeight:ae(o)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ae(r)}`,"&:after":{display:"none"}}}}}}}function Sfe(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[F1(e),F1(fn(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${ae(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` + &${t}-show-arrow ${t}-selection-item, + &${t}-show-arrow ${t}-selection-placeholder + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},F1(fn(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Cfe=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:o,controlHeightLG:i,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:f,fontWeightStrong:g,controlItemBgActive:m,controlItemBgHover:h,colorBgContainer:y,colorFillSecondary:x,colorBgContainerDisabled:b,colorTextDisabled:C,colorPrimaryHover:S,colorPrimary:w,controlOutline:I}=e,E=s*2,_=r*2,R=Math.min(a-E,a-_),N=Math.min(o-E,o-_),O=Math.min(i-E,i-_);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:f,optionSelectedFontWeight:g,optionSelectedBg:m,optionActiveBg:h,optionPadding:`${(a-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:y,clearBg:y,singleItemHeightLG:i,multipleItemBg:x,multipleItemBorderColor:"transparent",multipleItemHeight:R,multipleItemHeightSM:N,multipleItemHeightLG:O,multipleSelectorBgDisabled:b,multipleItemColorDisabled:C,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:S,activeBorderColor:w,activeOutlineColor:I,selectAffixPadding:s}},HV=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${ae(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${ae(a)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},XM=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},HV(e,t))}),wfe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},HV(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),XM(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),XM(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),UV=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${ae(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},ZM=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},UV(e,t))}),Efe=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},UV(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),ZM(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),ZM(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),Ife=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${ae(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),VV=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{borderWidth:`0 0 ${ae(e.lineWidth)} 0`,borderStyle:`none none ${e.lineType} none`,borderColor:t.borderColor,background:e.selectorBg,borderRadius:0},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,outline:0},[`${n}-prefix`]:{color:t.color}}}},JM=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},VV(e,t))}),_fe=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},VV(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),JM(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),JM(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Tfe=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},wfe(e)),Efe(e)),Ife(e)),_fe(e))}),Rfe=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ofe=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},$fe=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},Dn(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},Rfe(e)),Ofe(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Qo),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},Qo),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Iu()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[a]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},Nfe=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},$fe(e),Sfe(e),xfe(e),vfe(e),{[`${t}-rtl`]:{direction:"rtl"}},wm(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},WV=Nn("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=fn(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Nfe(r),Tfe(r)]},Cfe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var Afe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},kfe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Afe}))},Pf=l.forwardRef(kfe),Pfe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Dfe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Pfe}))},my=l.forwardRef(Dfe),Mfe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Lfe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Mfe}))},Nm=l.forwardRef(Lfe);function X$(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:a,loading:o,multiple:i,hasFeedback:s,prefixCls:c,showSuffixIcon:u,feedbackIcon:f,showArrow:g,componentName:m}=e;const h=n??l.createElement(pc,null),y=S=>t===null&&!s&&!g?null:l.createElement(l.Fragment,null,u!==!1&&S,s&&f);let x=null;if(t!==void 0)x=y(t);else if(o)x=y(l.createElement(_i,{spin:!0}));else{const S=`${c}-suffix`;x=w=>{let{open:I,showSearch:E}=w;return y(I&&E?l.createElement(Nm,{className:S}):l.createElement(my,{className:S}))}}let b=null;r!==void 0?b=r:i?b=l.createElement(Pf,null):b=null;let C=null;return a!==void 0?C=a:C=l.createElement(Ha,null),{clearIcon:h,suffixIcon:x,itemIcon:b,removeIcon:C}}function GV(e,t){return t!==void 0?t:e!==null}var jfe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a,className:o,rootClassName:i,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:f=256,placement:g,listItemHeight:m,size:h,disabled:y,notFoundContent:x,status:b,builtinPlacements:C,dropdownMatchSelectWidth:S,popupMatchSelectWidth:w,direction:I,style:E,allowClear:_,variant:R,dropdownStyle:N,transitionName:O,tagRender:$,maxCount:A,prefix:B}=e,j=jfe(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:F,getPrefixCls:D,renderEmpty:k,direction:M,virtual:L,popupMatchSelectWidth:H,popupOverflow:U}=l.useContext(Wt),z=ia("select"),[,W]=ba(),q=m??(W==null?void 0:W.controlHeight),K=D("select",r),G=D(),X=I??M,{compactSize:Z,compactItemClassnames:J}=Os(K,X),[ne,Q]=hc("select",R,a),ee=Hr(K),[te,oe,le]=WV(K,ee),fe=l.useMemo(()=>{const{mode:Ve}=e;if(Ve!=="combobox")return Ve===qV?"combobox":Ve},[e.mode]),ue=fe==="multiple"||fe==="tags",we=GV(e.suffixIcon,e.showArrow),pe=(n=w??S)!==null&&n!==void 0?n:H,{status:ve,hasFeedback:Ce,isFormItemInput:me,feedbackIcon:ie}=l.useContext(Ta),he=mc(ve,b);let Se;x!==void 0?Se=x:fe==="combobox"?Se=null:Se=(k==null?void 0:k("Select"))||l.createElement(gy,{componentName:"Select"});const{suffixIcon:_e,itemIcon:$e,removeIcon:ze,clearIcon:Fe}=X$(Object.assign(Object.assign({},j),{multiple:ue,hasFeedback:Ce,feedbackIcon:ie,showSuffixIcon:we,prefixCls:K,componentName:"Select"})),je=_===!0?{clearIcon:Fe}:_,qe=or(j,["suffixIcon","itemIcon"]),Ue=ce(c||u,{[`${K}-dropdown-${X}`]:X==="rtl"},i,le,ee,oe),Ne=da(Ve=>{var Je;return(Je=h??Z)!==null&&Je!==void 0?Je:Ve}),Ye=l.useContext(za),Re=y??Ye,Ae=ce({[`${K}-lg`]:Ne==="large",[`${K}-sm`]:Ne==="small",[`${K}-rtl`]:X==="rtl",[`${K}-${ne}`]:Q,[`${K}-in-form-item`]:me},rl(K,he,Ce),J,z.className,o,i,le,ee,oe),Le=l.useMemo(()=>g!==void 0?g:X==="rtl"?"bottomRight":"bottomLeft",[g,X]),[Te]=es("SelectLike",N==null?void 0:N.zIndex);return te(l.createElement(Y$,Object.assign({ref:t,virtual:L,showSearch:z.showSearch},qe,{style:Object.assign(Object.assign({},z.style),E),dropdownMatchSelectWidth:pe,transitionName:lo(G,"slide-up",O),builtinPlacements:FV(C,U),listHeight:f,listItemHeight:q,mode:fe,prefixCls:K,placement:Le,direction:X,prefix:B,suffixIcon:_e,menuItemSelectedIcon:$e,removeIcon:ze,allowClear:je,notFoundContent:Se,className:Ae,getPopupContainer:s||F,dropdownClassName:Ue,disabled:Re,dropdownStyle:Object.assign(Object.assign({},N),{zIndex:Te}),maxCount:ue?A:void 0,tagRender:ue?$:void 0})))},ra=l.forwardRef(Ffe),Bfe=Rm(ra,"dropdownAlign");ra.SECRET_COMBOBOX_MODE_DO_NOT_USE=qV;ra.Option=K$;ra.OptGroup=q$;ra._InternalPanelDoNotUseOrYouWillBeFired=Bfe;const mu=["xxl","xl","lg","md","sm","xs"],zfe=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Hfe=e=>{const t=e,n=[].concat(mu).reverse();return n.forEach((r,a)=>{const o=r.toUpperCase(),i=`screen${o}Min`,s=`screen${o}`;if(!(t[i]<=t[s]))throw new Error(`${i}<=${s} fails : !(${t[i]}<=${t[s]})`);if(a{const[,e]=ba(),t=zfe(Hfe(e));return ge.useMemo(()=>{const n=new Map;let r=-1,a={};return{responsiveMap:t,matchHandlers:{},dispatch(o){return a=o,n.forEach(i=>i(a)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(a),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},register(){Object.keys(t).forEach(o=>{const i=t[o],s=u=>{let{matches:f}=u;this.dispatch(Object.assign(Object.assign({},a),{[o]:f}))},c=window.matchMedia(i);c.addListener(s),this.matchHandlers[i]={mql:c,listener:s},s(c)})},unregister(){Object.keys(t).forEach(o=>{const i=t[o],s=this.matchHandlers[i];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()}}},[e])};function Z$(){const[,e]=l.useReducer(t=>t+1,0);return e}function Am(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=l.useRef(t),r=Z$(),a=Ufe();return Rn(()=>{const o=a.subscribe(i=>{n.current=i,e&&r()});return()=>a.unsubscribe(o)},[]),n.current}const Jb=e=>e?typeof e=="function"?e():e:null;function J$(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,o=e.bodyClassName,i=e.className,s=e.style;return l.createElement("div",{className:ce("".concat(n,"-content"),i),style:s},l.createElement("div",{className:ce("".concat(n,"-inner"),o),id:r,role:"tooltip",style:a},typeof t=="function"?t():t))}var bd={shiftX:64,adjustY:1},yd={adjustX:1,shiftY:!0},pi=[0,0],Vfe={left:{points:["cr","cl"],overflow:yd,offset:[-4,0],targetOffset:pi},right:{points:["cl","cr"],overflow:yd,offset:[4,0],targetOffset:pi},top:{points:["bc","tc"],overflow:bd,offset:[0,-4],targetOffset:pi},bottom:{points:["tc","bc"],overflow:bd,offset:[0,4],targetOffset:pi},topLeft:{points:["bl","tl"],overflow:bd,offset:[0,-4],targetOffset:pi},leftTop:{points:["tr","tl"],overflow:yd,offset:[-4,0],targetOffset:pi},topRight:{points:["br","tr"],overflow:bd,offset:[0,-4],targetOffset:pi},rightTop:{points:["tl","tr"],overflow:yd,offset:[4,0],targetOffset:pi},bottomRight:{points:["tr","br"],overflow:bd,offset:[0,4],targetOffset:pi},rightBottom:{points:["bl","br"],overflow:yd,offset:[4,0],targetOffset:pi},bottomLeft:{points:["tl","bl"],overflow:bd,offset:[0,4],targetOffset:pi},leftBottom:{points:["br","bl"],overflow:yd,offset:[-4,0],targetOffset:pi}},Wfe=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Gfe=function(t,n){var r=t.overlayClassName,a=t.trigger,o=a===void 0?["hover"]:a,i=t.mouseEnterDelay,s=i===void 0?0:i,c=t.mouseLeaveDelay,u=c===void 0?.1:c,f=t.overlayStyle,g=t.prefixCls,m=g===void 0?"rc-tooltip":g,h=t.children,y=t.onVisibleChange,x=t.afterVisibleChange,b=t.transitionName,C=t.animation,S=t.motion,w=t.placement,I=w===void 0?"right":w,E=t.align,_=E===void 0?{}:E,R=t.destroyTooltipOnHide,N=R===void 0?!1:R,O=t.defaultVisible,$=t.getTooltipContainer,A=t.overlayInnerStyle;t.arrowContent;var B=t.overlay,j=t.id,F=t.showArrow,D=F===void 0?!0:F,k=t.classNames,M=t.styles,L=Bt(t,Wfe),H=ly(j),U=l.useRef(null);l.useImperativeHandle(n,function(){return U.current});var z=se({},L);"visible"in t&&(z.popupVisible=t.visible);var W=function(){return l.createElement(J$,{key:"content",prefixCls:m,id:H,bodyClassName:k==null?void 0:k.body,overlayInnerStyle:se(se({},A),M==null?void 0:M.body)},B)},q=function(){var G=l.Children.only(h),X=(G==null?void 0:G.props)||{},Z=se(se({},X),{},{"aria-describedby":B?H:null});return l.cloneElement(h,Z)};return l.createElement($m,Ie({popupClassName:ce(r,k==null?void 0:k.root),prefixCls:m,popup:W,action:o,builtinPlacements:Vfe,popupPlacement:I,ref:U,popupAlign:_,getPopupContainer:$,onPopupVisibleChange:y,afterPopupVisibleChange:x,popupTransitionName:b,popupAnimation:C,popupMotion:S,defaultPopupVisible:O,autoDestroy:N,mouseLeaveDelay:u,popupStyle:se(se({},f),M==null?void 0:M.root),mouseEnterDelay:s,arrow:D},z),q())};const qfe=l.forwardRef(Gfe);function hy(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,a=t/2,o=0,i=a,s=r*1/Math.sqrt(2),c=a-r*(1-1/Math.sqrt(2)),u=a-n*(1/Math.sqrt(2)),f=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),g=2*a-u,m=f,h=2*a-s,y=c,x=2*a-o,b=i,C=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),S=r*(Math.sqrt(2)-1),w=`polygon(${S}px 100%, 50% ${S}px, ${2*a-S}px 100%, ${S}px 100%)`,I=`path('M ${o} ${i} A ${r} ${r} 0 0 0 ${s} ${c} L ${u} ${f} A ${n} ${n} 0 0 1 ${g} ${m} L ${h} ${y} A ${r} ${r} 0 0 0 ${x} ${b} Z')`;return{arrowShadowWidth:C,arrowPath:I,arrowPolygon:w}}const KV=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:a,arrowPath:o,arrowShadowWidth:i,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[a,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${ae(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},YV=8;function vy(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?YV:r}}function bv(e,t){return e?t:{}}function Q$(e,t,n){const{componentCls:r,boxShadowPopoverArrow:a,arrowOffsetVertical:o,arrowOffsetHorizontal:i}=e,{arrowDistance:s=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},KV(e,t,a)),{"&:before":{background:t}})]},bv(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${ae(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),bv(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${ae(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),bv(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:o},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:o}})),bv(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:o},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:o}}))}}function Kfe(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const a=r&&typeof r=="object"?r:{},o={};switch(e){case"top":case"bottom":o.shiftX=t.arrowOffsetHorizontal*2+n,o.shiftY=!0,o.adjustY=!0;break;case"left":case"right":o.shiftY=t.arrowOffsetVertical*2+n,o.shiftX=!0,o.adjustX=!0;break}const i=Object.assign(Object.assign({},o),a);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const QM={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Yfe={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Xfe=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function XV(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:o,visibleFirst:i}=e,s=t/2,c={};return Object.keys(QM).forEach(u=>{const f=r&&Yfe[u]||QM[u],g=Object.assign(Object.assign({},f),{offset:[0,0],dynamicInset:!0});switch(c[u]=g,Xfe.has(u)&&(g.autoArrow=!1),u){case"top":case"topLeft":case"topRight":g.offset[1]=-s-a;break;case"bottom":case"bottomLeft":case"bottomRight":g.offset[1]=s+a;break;case"left":case"leftTop":case"leftBottom":g.offset[0]=-s-a;break;case"right":case"rightTop":case"rightBottom":g.offset[0]=s+a;break}const m=vy({contentRadius:o,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":g.offset[0]=-m.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":g.offset[0]=m.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":g.offset[1]=-m.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":g.offset[1]=m.arrowOffsetHorizontal*2-s;break}g.overflow=Kfe(u,m,t,n),i&&(g.htmlRegion="visibleFirst")}),c}const Zfe=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:a,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:s,controlHeight:c,boxShadowSecondary:u,paddingSM:f,paddingXS:g,arrowOffsetHorizontal:m,sizePopupArrow:h}=e,y=t(i).add(h).add(m).equal(),x=t(i).mul(2).add(h).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${n}-inner`]:{minWidth:x,minHeight:c,padding:`${ae(e.calc(f).div(2).equal())} ${ae(g)}`,color:a,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:u,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:y},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(i,YV)}},[`${n}-content`]:{position:"relative"}}),G0(e,(b,C)=>{let{darkColor:S}=C;return{[`&${n}-${b}`]:{[`${n}-inner`]:{backgroundColor:S},[`${n}-arrow`]:{"--antd-arrow-background-color":S}}}})),{"&-rtl":{direction:"rtl"}})},Q$(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Jfe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},vy({contentRadius:e.borderRadius,limitVerticalRadius:!0})),hy(fn(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),ZV=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Nn("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:o,colorBgSpotlight:i}=r,s=fn(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:a,tooltipBg:i});return[Zfe(s),Nf(r,"zoom-big-fast")]},Jfe,{resetStyle:!1,injectStyle:t})(e)},Qfe=tc.map(e=>`${e}-inverse`),epe=["success","processing","error","default","warning"];function by(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Ze(Qfe),Ze(tc)).includes(e):tc.includes(e)}function tpe(e){return epe.includes(e)}function JV(e,t){const n=by(t),r=ce({[`${e}-${t}`]:t&&n}),a={},o={};return t&&!n&&(a.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:o}}const npe=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:o,overlayInnerStyle:i}=e,{getPrefixCls:s}=l.useContext(Wt),c=s("tooltip",t),[u,f,g]=ZV(c),m=JV(c,o),h=m.arrowStyle,y=Object.assign(Object.assign({},i),m.overlayStyle),x=ce(f,g,c,`${c}-pure`,`${c}-placement-${r}`,n,m.className);return u(l.createElement("div",{className:x,style:h},l.createElement("div",{className:`${c}-arrow`}),l.createElement(J$,Object.assign({},e,{className:f,prefixCls:c,overlayInnerStyle:y}),a)))};var rpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,openClassName:o,getTooltipContainer:i,color:s,overlayInnerStyle:c,children:u,afterOpenChange:f,afterVisibleChange:g,destroyTooltipOnHide:m,arrow:h=!0,title:y,overlay:x,builtinPlacements:b,arrowPointAtCenter:C=!1,autoAdjustOverflow:S=!0,motion:w,getPopupContainer:I,placement:E="top",mouseEnterDelay:_=.1,mouseLeaveDelay:R=.1,overlayStyle:N,rootClassName:O,overlayClassName:$,styles:A,classNames:B}=e,j=rpe(e,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),F=!!h,[,D]=ba(),{getPopupContainer:k,getPrefixCls:M,direction:L,className:H,style:U,classNames:z,styles:W}=ia("tooltip"),q=fc(),K=l.useRef(null),G=()=>{var qe;(qe=K.current)===null||qe===void 0||qe.forceAlign()};l.useImperativeHandle(t,()=>{var qe,Ue;return{forceAlign:G,forcePopupAlign:()=>{q.deprecated(!1,"forcePopupAlign","forceAlign"),G()},nativeElement:(qe=K.current)===null||qe===void 0?void 0:qe.nativeElement,popupElement:(Ue=K.current)===null||Ue===void 0?void 0:Ue.popupElement}});const[X,Z]=Vn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),J=!y&&!x&&y!==0,ne=qe=>{var Ue,Ne;Z(J?!1:qe),J||((Ue=e.onOpenChange)===null||Ue===void 0||Ue.call(e,qe),(Ne=e.onVisibleChange)===null||Ne===void 0||Ne.call(e,qe))},Q=l.useMemo(()=>{var qe,Ue;let Ne=C;return typeof h=="object"&&(Ne=(Ue=(qe=h.pointAtCenter)!==null&&qe!==void 0?qe:h.arrowPointAtCenter)!==null&&Ue!==void 0?Ue:C),b||XV({arrowPointAtCenter:Ne,autoAdjustOverflow:S,arrowWidth:F?D.sizePopupArrow:0,borderRadius:D.borderRadius,offset:D.marginXXS,visibleFirst:!0})},[C,h,b,D]),ee=l.useMemo(()=>y===0?y:x||y||"",[x,y]),te=l.createElement(Es,{space:!0},typeof ee=="function"?ee():ee),oe=M("tooltip",a),le=M(),fe=e["data-popover-inject"];let ue=X;!("open"in e)&&!("visible"in e)&&J&&(ue=!1);const we=l.isValidElement(u)&&!bU(u)?u:l.createElement("span",null,u),pe=we.props,ve=!pe.className||typeof pe.className=="string"?ce(pe.className,o||`${oe}-open`):pe.className,[Ce,me,ie]=ZV(oe,!fe),he=JV(oe,s),Se=he.arrowStyle,_e=ce($,{[`${oe}-rtl`]:L==="rtl"},he.className,O,me,ie,H,z.root,B==null?void 0:B.root),$e=ce(z.body,B==null?void 0:B.body),[ze,Fe]=es("Tooltip",j.zIndex),je=l.createElement(qfe,Object.assign({},j,{zIndex:ze,showArrow:F,placement:E,mouseEnterDelay:_,mouseLeaveDelay:R,prefixCls:oe,classNames:{root:_e,body:$e},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Se),W.root),U),N),A==null?void 0:A.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},W.body),c),A==null?void 0:A.body),he.overlayStyle)},getTooltipContainer:I||i||k,ref:K,builtinPlacements:Q,overlay:te,visible:ue,onVisibleChange:ne,afterVisibleChange:f??g,arrowContent:l.createElement("span",{className:`${oe}-arrow-content`}),motion:{motionName:lo(le,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),ue?oa(we,{className:ve}):we);return Ce(l.createElement(ym.Provider,{value:Fe},je))}),nn=ape;nn._InternalPanelDoNotUseOrYouWillBeFired=npe;const ope=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:a,innerPadding:o,boxShadowSecondary:i,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:u,titleMarginBottom:f,colorBgElevated:g,popoverBg:m,titleBorderBottom:h,innerContentPadding:y,titlePadding:x}=e;return[{[t]:Object.assign(Object.assign({},Dn(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":g,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:m,backgroundClip:"padding-box",borderRadius:c,boxShadow:i,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:f,color:s,fontWeight:a,borderBottom:h,padding:x},[`${t}-inner-content`]:{color:n,padding:y}})},Q$(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},ipe=e=>{const{componentCls:t}=e;return{[t]:tc.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},spe=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:a,wireframe:o,zIndexPopupBase:i,borderRadiusLG:s,marginXS:c,lineType:u,colorSplit:f,paddingSM:g}=e,m=n-r,h=m/2,y=m/2-t,x=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},hy(e)),vy({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:c,titlePadding:o?`${h}px ${x}px ${y}px`:0,titleBorderBottom:o?`${t}px ${u} ${f}`:"none",innerContentPadding:o?`${g}px ${x}px`:0})},QV=Nn("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=fn(e,{popoverBg:t,popoverColor:n});return[ope(r),ipe(r),Nf(r,"zoom-big")]},spe,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var lpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:l.createElement(l.Fragment,null,t&&l.createElement("div",{className:`${r}-title`},t),n&&l.createElement("div",{className:`${r}-inner-content`},n))},cpe=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:o="top",title:i,content:s,children:c}=e,u=Jb(i),f=Jb(s),g=ce(t,n,`${n}-pure`,`${n}-placement-${o}`,r);return l.createElement("div",{className:g,style:a},l.createElement("div",{className:`${n}-arrow`}),l.createElement(J$,Object.assign({},e,{className:t,prefixCls:n}),c||l.createElement(eW,{prefixCls:n,title:u,content:f})))},upe=e=>{const{prefixCls:t,className:n}=e,r=lpe(e,["prefixCls","className"]),{getPrefixCls:a}=l.useContext(Wt),o=a("popover",t),[i,s,c]=QV(o);return i(l.createElement(cpe,Object.assign({},r,{prefixCls:o,hashId:s,className:ce(n,c)})))};var dpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,title:o,content:i,overlayClassName:s,placement:c="top",trigger:u="hover",children:f,mouseEnterDelay:g=.1,mouseLeaveDelay:m=.1,onOpenChange:h,overlayStyle:y={},styles:x,classNames:b}=e,C=dpe(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:S,className:w,style:I,classNames:E,styles:_}=ia("popover"),R=S("popover",a),[N,O,$]=QV(R),A=S(),B=ce(s,O,$,w,E.root,b==null?void 0:b.root),j=ce(E.body,b==null?void 0:b.body),[F,D]=Vn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),k=(z,W)=>{D(z,!0),h==null||h(z,W)},M=z=>{z.keyCode===pt.ESC&&k(!1,z)},L=z=>{k(z)},H=Jb(o),U=Jb(i);return N(l.createElement(nn,Object.assign({placement:c,trigger:u,mouseEnterDelay:g,mouseLeaveDelay:m},C,{prefixCls:R,classNames:{root:B,body:j},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},_.root),I),y),x==null?void 0:x.root),body:Object.assign(Object.assign({},_.body),x==null?void 0:x.body)},ref:t,open:F,onOpenChange:L,overlay:H||U?l.createElement(eW,{prefixCls:R,title:H,content:U}):null,transitionName:lo(A,"zoom-big",C.transitionName),"data-popover-inject":!0}),oa(f,{onKeyDown:z=>{var W,q;l.isValidElement(f)&&((q=f==null?void 0:(W=f.props).onKeyDown)===null||q===void 0||q.call(W,z)),M(z)}})))}),tW=fpe;tW._InternalPanelDoNotUseOrYouWillBeFired=upe;const ppe=new An("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),gpe=new An("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),mpe=new An("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),hpe=new An("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),vpe=new An("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),bpe=new An("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),ype=e=>{const{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:a,textFontSize:o,textFontSizeSM:i,statusSize:s,dotSize:c,textFontWeight:u,indicatorHeight:f,indicatorHeightSM:g,marginXS:m,calc:h}=e,y=`${r}-scroll-number`,x=G0(e,(b,C)=>{let{darkColor:S}=C;return{[`&${t} ${t}-color-${b}`]:{background:S,[`&:not(${t}-count)`]:{color:S},"a:hover &":{background:S}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:f,height:f,color:e.badgeTextColor,fontWeight:u,fontSize:o,lineHeight:ae(f),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:h(f).div(2).equal(),boxShadow:`0 0 0 ${ae(a)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:g,height:g,fontSize:i,lineHeight:ae(g),borderRadius:h(g).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${ae(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${ae(a)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${y}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:bpe,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:a,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:ppe,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:m,color:e.colorText,fontSize:e.fontSize}}}),x),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:gpe,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:mpe,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:hpe,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:vpe,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${y}-custom-component, ${t}-count`]:{transform:"none"},[`${y}-custom-component, ${y}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[y]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${y}-only`]:{position:"relative",display:"inline-block",height:f,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${y}-only-unit`]:{height:f,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${y}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${y}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},nW=e=>{const{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:a}=e,o=t,i=n,s=e.colorTextLightSolid,c=e.colorError,u=e.colorErrorHover;return fn(e,{badgeFontHeight:o,badgeShadowSize:i,badgeTextColor:s,badgeColor:c,badgeColorHover:u,badgeShadowColor:a,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},rW=e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:a}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*a,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},xpe=Nn("Badge",e=>{const t=nW(e);return ype(t)},rW),Spe=e=>{const{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:a,calc:o}=e,i=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,c=G0(e,(u,f)=>{let{darkColor:g}=f;return{[`&${i}-color-${u}`]:{background:g,color:g}}});return{[s]:{position:"relative"},[i]:Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{position:"absolute",top:r,padding:`0 ${ae(e.paddingXS)}`,color:e.colorPrimary,lineHeight:ae(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${i}-text`]:{color:e.badgeTextColor},[`${i}-corner`]:{position:"absolute",top:"100%",width:a,height:a,color:"currentcolor",border:`${ae(o(a).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),c),{[`&${i}-placement-end`]:{insetInlineEnd:o(a).mul(-1).equal(),borderEndEndRadius:0,[`${i}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${i}-placement-start`]:{insetInlineStart:o(a).mul(-1).equal(),borderEndStartRadius:0,[`${i}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},Cpe=Nn(["Badge","Ribbon"],e=>{const t=nW(e);return Spe(t)},rW),wpe=e=>{const{className:t,prefixCls:n,style:r,color:a,children:o,text:i,placement:s="end",rootClassName:c}=e,{getPrefixCls:u,direction:f}=l.useContext(Wt),g=u("ribbon",n),m=`${g}-wrapper`,[h,y,x]=Cpe(g,m),b=by(a,!1),C=ce(g,`${g}-placement-${s}`,{[`${g}-rtl`]:f==="rtl",[`${g}-color-${a}`]:b},t),S={},w={};return a&&!b&&(S.background=a,w.color=a),h(l.createElement("div",{className:ce(m,c,y,x)},o,l.createElement("div",{className:ce(C,y),style:Object.assign(Object.assign({},S),r)},l.createElement("span",{className:`${g}-text`},i),l.createElement("div",{className:`${g}-corner`,style:w}))))},e4=e=>{const{prefixCls:t,value:n,current:r,offset:a=0}=e;let o;return a&&(o={position:"absolute",top:`${a}00%`,left:0}),l.createElement("span",{style:o,className:ce(`${t}-only-unit`,{current:r})},n)};function Epe(e,t,n){let r=e,a=0;for(;(r+10)%10!==t;)r+=n,a+=n;return a}const Ipe=e=>{const{prefixCls:t,count:n,value:r}=e,a=Number(r),o=Math.abs(n),[i,s]=l.useState(a),[c,u]=l.useState(o),f=()=>{s(a),u(o)};l.useEffect(()=>{const h=setTimeout(f,1e3);return()=>clearTimeout(h)},[a]);let g,m;if(i===a||Number.isNaN(a)||Number.isNaN(i))g=[l.createElement(e4,Object.assign({},e,{key:a,current:!0}))],m={transition:"none"};else{g=[];const h=a+10,y=[];for(let S=a;S<=h;S+=1)y.push(S);const x=cS%10===i);g=(x<0?y.slice(0,b+1):y.slice(b)).map((S,w)=>{const I=S%10;return l.createElement(e4,Object.assign({},e,{key:S,value:I,offset:x<0?w-b:w,current:w===b}))}),m={transform:`translateY(${-Epe(i,a,x)}00%)`}}return l.createElement("span",{className:`${t}-only`,style:m,onTransitionEnd:f},g)};var _pe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,count:r,className:a,motionClassName:o,style:i,title:s,show:c,component:u="sup",children:f}=e,g=_pe(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:m}=l.useContext(Wt),h=m("scroll-number",n),y=Object.assign(Object.assign({},g),{"data-show":c,style:i,className:ce(h,a,o),title:s});let x=r;if(r&&Number(r)%1===0){const b=String(r).split("");x=l.createElement("bdi",null,b.map((C,S)=>l.createElement(Ipe,{prefixCls:h,count:Number(r),value:C,key:b.length-S})))}return i!=null&&i.borderColor&&(y.style=Object.assign(Object.assign({},i),{boxShadow:`0 0 0 1px ${i.borderColor} inset`})),f?oa(f,b=>({className:ce(`${h}-custom-component`,b==null?void 0:b.className,o)})):l.createElement(u,Object.assign({},y,{ref:t}),x)});var Rpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a,o,i;const{prefixCls:s,scrollNumberPrefixCls:c,children:u,status:f,text:g,color:m,count:h=null,overflowCount:y=99,dot:x=!1,size:b="default",title:C,offset:S,style:w,className:I,rootClassName:E,classNames:_,styles:R,showZero:N=!1}=e,O=Rpe(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:$,direction:A,badge:B}=l.useContext(Wt),j=$("badge",s),[F,D,k]=xpe(j),M=h>y?`${y}+`:h,L=M==="0"||M===0,H=h===null||L&&!N,U=(f!=null||m!=null)&&H,z=x&&!L,W=z?"":M,q=l.useMemo(()=>(W==null||W===""||L&&!N)&&!z,[W,L,N,z]),K=l.useRef(h);q||(K.current=h);const G=K.current,X=l.useRef(W);q||(X.current=W);const Z=X.current,J=l.useRef(z);q||(J.current=z);const ne=l.useMemo(()=>{if(!S)return Object.assign(Object.assign({},B==null?void 0:B.style),w);const we={marginTop:S[1]};return A==="rtl"?we.left=parseInt(S[0],10):we.right=-parseInt(S[0],10),Object.assign(Object.assign(Object.assign({},we),B==null?void 0:B.style),w)},[A,S,w,B==null?void 0:B.style]),Q=C??(typeof G=="string"||typeof G=="number"?G:void 0),ee=q||!g?null:l.createElement("span",{className:`${j}-status-text`},g),te=!G||typeof G!="object"?void 0:oa(G,we=>({style:Object.assign(Object.assign({},ne),we.style)})),oe=by(m,!1),le=ce(_==null?void 0:_.indicator,(n=B==null?void 0:B.classNames)===null||n===void 0?void 0:n.indicator,{[`${j}-status-dot`]:U,[`${j}-status-${f}`]:!!f,[`${j}-color-${m}`]:oe}),fe={};m&&!oe&&(fe.color=m,fe.background=m);const ue=ce(j,{[`${j}-status`]:U,[`${j}-not-a-wrapper`]:!u,[`${j}-rtl`]:A==="rtl"},I,E,B==null?void 0:B.className,(r=B==null?void 0:B.classNames)===null||r===void 0?void 0:r.root,_==null?void 0:_.root,D,k);if(!u&&U){const we=ne.color;return F(l.createElement("span",Object.assign({},O,{className:ue,style:Object.assign(Object.assign(Object.assign({},R==null?void 0:R.root),(a=B==null?void 0:B.styles)===null||a===void 0?void 0:a.root),ne)}),l.createElement("span",{className:le,style:Object.assign(Object.assign(Object.assign({},R==null?void 0:R.indicator),(o=B==null?void 0:B.styles)===null||o===void 0?void 0:o.indicator),fe)}),g&&l.createElement("span",{style:{color:we},className:`${j}-status-text`},g)))}return F(l.createElement("span",Object.assign({ref:t},O,{className:ue,style:Object.assign(Object.assign({},(i=B==null?void 0:B.styles)===null||i===void 0?void 0:i.root),R==null?void 0:R.root)}),u,l.createElement(Ia,{visible:!q,motionName:`${j}-zoom`,motionAppear:!1,motionDeadline:1e3},we=>{let{className:pe}=we;var ve,Ce;const me=$("scroll-number",c),ie=J.current,he=ce(_==null?void 0:_.indicator,(ve=B==null?void 0:B.classNames)===null||ve===void 0?void 0:ve.indicator,{[`${j}-dot`]:ie,[`${j}-count`]:!ie,[`${j}-count-sm`]:b==="small",[`${j}-multiple-words`]:!ie&&Z&&Z.toString().length>1,[`${j}-status-${f}`]:!!f,[`${j}-color-${m}`]:oe});let Se=Object.assign(Object.assign(Object.assign({},R==null?void 0:R.indicator),(Ce=B==null?void 0:B.styles)===null||Ce===void 0?void 0:Ce.indicator),ne);return m&&!oe&&(Se=Se||{},Se.background=m),l.createElement(Tpe,{prefixCls:me,show:!q,motionClassName:pe,className:he,count:Z,title:Q,style:Se,key:"scrollNumber"},te)}),ee))}),Qb=Ope;Qb.Ribbon=wpe;var $pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Npe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:$pe}))},Is=l.forwardRef(Npe),Ape=pt.ESC,kpe=pt.TAB;function Ppe(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,o=e.overlayRef,i=l.useRef(!1),s=function(){if(t){var g,m;(g=n.current)===null||g===void 0||(m=g.focus)===null||m===void 0||m.call(g),r==null||r(!1)}},c=function(){var g;return(g=o.current)!==null&&g!==void 0&&g.focus?(o.current.focus(),i.current=!0,!0):!1},u=function(g){switch(g.keyCode){case Ape:s();break;case kpe:{var m=!1;i.current||(m=c()),m?g.preventDefault():s();break}}};l.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&mn(c,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var Dpe=l.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,o=l.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),i=Ua(t,dc(o));return ge.createElement(ge.Fragment,null,r&&ge.createElement("div",{className:"".concat(a,"-arrow")}),ge.cloneElement(o,{ref:Ki(o)?i:void 0}))}),xd={adjustX:1,adjustY:1},Sd=[0,0],Mpe={topLeft:{points:["bl","tl"],overflow:xd,offset:[0,-4],targetOffset:Sd},top:{points:["bc","tc"],overflow:xd,offset:[0,-4],targetOffset:Sd},topRight:{points:["br","tr"],overflow:xd,offset:[0,-4],targetOffset:Sd},bottomLeft:{points:["tl","bl"],overflow:xd,offset:[0,4],targetOffset:Sd},bottom:{points:["tc","bc"],overflow:xd,offset:[0,4],targetOffset:Sd},bottomRight:{points:["tr","br"],overflow:xd,offset:[0,4],targetOffset:Sd}},Lpe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function jpe(e,t){var n,r=e.arrow,a=r===void 0?!1:r,o=e.prefixCls,i=o===void 0?"rc-dropdown":o,s=e.transitionName,c=e.animation,u=e.align,f=e.placement,g=f===void 0?"bottomLeft":f,m=e.placements,h=m===void 0?Mpe:m,y=e.getPopupContainer,x=e.showAction,b=e.hideAction,C=e.overlayClassName,S=e.overlayStyle,w=e.visible,I=e.trigger,E=I===void 0?["hover"]:I,_=e.autoFocus,R=e.overlay,N=e.children,O=e.onVisibleChange,$=Bt(e,Lpe),A=ge.useState(),B=ye(A,2),j=B[0],F=B[1],D="visible"in e?w:j,k=ge.useRef(null),M=ge.useRef(null),L=ge.useRef(null);ge.useImperativeHandle(t,function(){return k.current});var H=function(J){F(J),O==null||O(J)};Ppe({visible:D,triggerRef:L,onVisibleChange:H,autoFocus:_,overlayRef:M});var U=function(J){var ne=e.onOverlayClick;F(!1),ne&&ne(J)},z=function(){return ge.createElement(Dpe,{ref:M,overlay:R,prefixCls:i,arrow:a})},W=function(){return typeof R=="function"?z:z()},q=function(){var J=e.minOverlayWidthMatchTrigger,ne=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?J:!ne},K=function(){var J=e.openClassName;return J!==void 0?J:"".concat(i,"-open")},G=ge.cloneElement(N,{className:ce((n=N.props)===null||n===void 0?void 0:n.className,D&&K()),ref:Ki(N)?Ua(L,dc(N)):void 0}),X=b;return!X&&E.indexOf("contextMenu")!==-1&&(X=["click"]),ge.createElement($m,Ie({builtinPlacements:h},$,{prefixCls:i,ref:k,popupClassName:ce(C,re({},"".concat(i,"-show-arrow"),a)),popupStyle:S,action:E,showAction:x,hideAction:X,popupPlacement:g,popupAlign:u,popupTransitionName:s,popupAnimation:c,popupVisible:D,stretch:q()?"minWidth":"",popup:W(),onPopupVisibleChange:H,onPopupClick:U,getPopupContainer:y}),G)}const aW=ge.forwardRef(jpe),Fpe=e=>typeof e!="object"&&typeof e!="function"||e===null;var oW=l.createContext(null);function iW(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function sW(e){var t=l.useContext(oW);return iW(t,e)}var Bpe=["children","locked"],Zi=l.createContext(null);function zpe(e,t){var n=se({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function Vg(e){var t=e.children,n=e.locked,r=Bt(e,Bpe),a=l.useContext(Zi),o=tl(function(){return zpe(a,r)},[a,r],function(i,s){return!n&&(i[0]!==s[0]||!Ei(i[1],s[1],!0))});return l.createElement(Zi.Provider,{value:o},t)}var Hpe=[],lW=l.createContext(null);function yy(){return l.useContext(lW)}var cW=l.createContext(Hpe);function Df(e){var t=l.useContext(cW);return l.useMemo(function(){return e!==void 0?[].concat(Ze(t),[e]):t},[t,e])}var uW=l.createContext(null),eN=l.createContext({});function t4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if($f(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),o=Number(a),i=null;return a&&!Number.isNaN(o)?i=o:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function Upe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Ze(e.querySelectorAll("*")).filter(function(r){return t4(r,t)});return t4(e,t)&&n.unshift(e),n}var QR=pt.LEFT,eO=pt.RIGHT,tO=pt.UP,fb=pt.DOWN,pb=pt.ENTER,dW=pt.ESC,zp=pt.HOME,Hp=pt.END,n4=[tO,fb,QR,eO];function Vpe(e,t,n,r){var a,o="prev",i="next",s="children",c="parent";if(e==="inline"&&r===pb)return{inlineTrigger:!0};var u=re(re({},tO,o),fb,i),f=re(re(re(re({},QR,n?i:o),eO,n?o:i),fb,s),pb,s),g=re(re(re(re(re(re({},tO,o),fb,i),pb,s),dW,c),QR,n?s:c),eO,n?c:s),m={inline:u,horizontal:f,vertical:g,inlineSub:u,horizontalSub:g,verticalSub:g},h=(a=m["".concat(e).concat(t?"":"Sub")])===null||a===void 0?void 0:a[r];switch(h){case o:return{offset:-1,sibling:!0};case i:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}function Wpe(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function Gpe(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function tN(e,t){var n=Upe(e,!0);return n.filter(function(r){return t.has(r)})}function r4(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=tN(e,t),o=a.length,i=a.findIndex(function(s){return n===s});return r<0?i===-1?i=o-1:i-=1:r>0&&(i+=1),i=(i+o)%o,a[i]}var nO=function(t,n){var r=new Set,a=new Map,o=new Map;return t.forEach(function(i){var s=document.querySelector("[data-menu-id='".concat(iW(n,i),"']"));s&&(r.add(s),o.set(s,i),a.set(i,s))}),{elements:r,key2element:a,element2key:o}};function qpe(e,t,n,r,a,o,i,s,c,u){var f=l.useRef(),g=l.useRef();g.current=t;var m=function(){mn.cancel(f.current)};return l.useEffect(function(){return function(){m()}},[]),function(h){var y=h.which;if([].concat(n4,[pb,dW,zp,Hp]).includes(y)){var x=o(),b=nO(x,r),C=b,S=C.elements,w=C.key2element,I=C.element2key,E=w.get(t),_=Gpe(E,S),R=I.get(_),N=Vpe(e,i(R,!0).length===1,n,y);if(!N&&y!==zp&&y!==Hp)return;(n4.includes(y)||[zp,Hp].includes(y))&&h.preventDefault();var O=function(M){if(M){var L=M,H=M.querySelector("a");H!=null&&H.getAttribute("href")&&(L=H);var U=I.get(M);s(U),m(),f.current=mn(function(){g.current===U&&L.focus()})}};if([zp,Hp].includes(y)||N.sibling||!_){var $;!_||e==="inline"?$=a.current:$=Wpe(_);var A,B=tN($,S);y===zp?A=B[0]:y===Hp?A=B[B.length-1]:A=r4($,S,_,N.offset),O(A)}else if(N.inlineTrigger)c(R);else if(N.offset>0)c(R,!0),m(),f.current=mn(function(){b=nO(x,r);var k=_.getAttribute("aria-controls"),M=document.getElementById(k),L=r4(M,b.elements);O(L)},5);else if(N.offset<0){var j=i(R,!0),F=j[j.length-2],D=w.get(F);c(F,!1),O(D)}}u==null||u(h)}}function Kpe(e){Promise.resolve().then(e)}var nN="__RC_UTIL_PATH_SPLIT__",a4=function(t){return t.join(nN)},Ype=function(t){return t.split(nN)},rO="rc-menu-more";function Xpe(){var e=l.useState({}),t=ye(e,2),n=t[1],r=l.useRef(new Map),a=l.useRef(new Map),o=l.useState([]),i=ye(o,2),s=i[0],c=i[1],u=l.useRef(0),f=l.useRef(!1),g=function(){f.current||n({})},m=l.useCallback(function(w,I){var E=a4(I);a.current.set(E,w),r.current.set(w,E),u.current+=1;var _=u.current;Kpe(function(){_===u.current&&g()})},[]),h=l.useCallback(function(w,I){var E=a4(I);a.current.delete(E),r.current.delete(w)},[]),y=l.useCallback(function(w){c(w)},[]),x=l.useCallback(function(w,I){var E=r.current.get(w)||"",_=Ype(E);return I&&s.includes(_[0])&&_.unshift(rO),_},[s]),b=l.useCallback(function(w,I){return w.filter(function(E){return E!==void 0}).some(function(E){var _=x(E,!0);return _.includes(I)})},[x]),C=function(){var I=Ze(r.current.keys());return s.length&&I.push(rO),I},S=l.useCallback(function(w){var I="".concat(r.current.get(w)).concat(nN),E=new Set;return Ze(a.current.keys()).forEach(function(_){_.startsWith(I)&&E.add(a.current.get(_))}),E},[]);return l.useEffect(function(){return function(){f.current=!0}},[]),{registerPath:m,unregisterPath:h,refreshOverflowKeys:y,isSubPathKey:b,getKeyPath:x,getKeys:C,getSubPathKeys:S}}function Zp(e){var t=l.useRef(e);t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i1&&(S.motionAppear=!1);var w=S.onVisibleChanged;return S.onVisibleChanged=function(I){return!m.current&&!I&&b(!0),w==null?void 0:w(I)},x?null:l.createElement(Vg,{mode:o,locked:!m.current},l.createElement(Ia,Ie({visible:C},S,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(I){var E=I.className,_=I.style;return l.createElement(rN,{id:t,className:E,style:_},a)}))}var pge=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],gge=["active"],mge=l.forwardRef(function(e,t){var n=e.style,r=e.className,a=e.title,o=e.eventKey;e.warnKey;var i=e.disabled,s=e.internalPopupClose,c=e.children,u=e.itemIcon,f=e.expandIcon,g=e.popupClassName,m=e.popupOffset,h=e.popupStyle,y=e.onClick,x=e.onMouseEnter,b=e.onMouseLeave,C=e.onTitleClick,S=e.onTitleMouseEnter,w=e.onTitleMouseLeave,I=Bt(e,pge),E=sW(o),_=l.useContext(Zi),R=_.prefixCls,N=_.mode,O=_.openKeys,$=_.disabled,A=_.overflowDisabled,B=_.activeKey,j=_.selectedKeys,F=_.itemIcon,D=_.expandIcon,k=_.onItemClick,M=_.onOpenChange,L=_.onActive,H=l.useContext(eN),U=H._internalRenderSubMenuItem,z=l.useContext(uW),W=z.isSubPathKey,q=Df(),K="".concat(R,"-submenu"),G=$||i,X=l.useRef(),Z=l.useRef(),J=u??F,ne=f??D,Q=O.includes(o),ee=!A&&Q,te=W(j,o),oe=fW(o,G,S,w),le=oe.active,fe=Bt(oe,gge),ue=l.useState(!1),we=ye(ue,2),pe=we[0],ve=we[1],Ce=function(Le){G||ve(Le)},me=function(Le){Ce(!0),x==null||x({key:o,domEvent:Le})},ie=function(Le){Ce(!1),b==null||b({key:o,domEvent:Le})},he=l.useMemo(function(){return le||(N!=="inline"?pe||W([B],o):!1)},[N,le,B,pe,o,W]),Se=pW(q.length),_e=function(Le){G||(C==null||C({key:o,domEvent:Le}),N==="inline"&&M(o,!Q))},$e=Zp(function(Ae){y==null||y(e0(Ae)),k(Ae)}),ze=function(Le){N!=="inline"&&M(o,Le)},Fe=function(){L(o)},je=E&&"".concat(E,"-popup"),qe=l.useMemo(function(){return l.createElement(gW,{icon:N!=="horizontal"?ne:void 0,props:se(se({},e),{},{isOpen:ee,isSubMenu:!0})},l.createElement("i",{className:"".concat(K,"-arrow")}))},[N,ne,e,ee,K]),Ue=l.createElement("div",Ie({role:"menuitem",style:Se,className:"".concat(K,"-title"),tabIndex:G?null:-1,ref:X,title:typeof a=="string"?a:null,"data-menu-id":A&&E?null:E,"aria-expanded":ee,"aria-haspopup":!0,"aria-controls":je,"aria-disabled":G,onClick:_e,onFocus:Fe},fe),a,qe),Ne=l.useRef(N);if(N!=="inline"&&q.length>1?Ne.current="vertical":Ne.current=N,!A){var Ye=Ne.current;Ue=l.createElement(dge,{mode:Ye,prefixCls:K,visible:!s&&ee&&N!=="inline",popupClassName:g,popupOffset:m,popupStyle:h,popup:l.createElement(Vg,{mode:Ye==="horizontal"?"vertical":Ye},l.createElement(rN,{id:je,ref:Z},c)),disabled:G,onVisibleChange:ze},Ue)}var Re=l.createElement(Gi.Item,Ie({ref:t,role:"none"},I,{component:"li",style:n,className:ce(K,"".concat(K,"-").concat(N),r,re(re(re(re({},"".concat(K,"-open"),ee),"".concat(K,"-active"),he),"".concat(K,"-selected"),te),"".concat(K,"-disabled"),G)),onMouseEnter:me,onMouseLeave:ie}),Ue,!A&&l.createElement(fge,{id:je,open:ee,keyPath:q},c));return U&&(Re=U(Re,e,{selected:te,active:he,open:ee,disabled:G})),l.createElement(Vg,{onItemClick:$e,mode:N==="horizontal"?"vertical":N,itemIcon:J,expandIcon:ne},Re)}),xy=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Df(n),o=aN(r,a),i=yy();l.useEffect(function(){if(i)return i.registerPath(n,a),function(){i.unregisterPath(n,a)}},[a]);var s;return i?s=o:s=l.createElement(mge,Ie({ref:t},e),o),l.createElement(cW.Provider,{value:a},s)});function oN(e){var t=e.className,n=e.style,r=l.useContext(Zi),a=r.prefixCls,o=yy();return o?null:l.createElement("li",{role:"separator",className:ce("".concat(a,"-item-divider"),t),style:n})}var hge=["className","title","eventKey","children"],vge=l.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,o=Bt(e,hge),i=l.useContext(Zi),s=i.prefixCls,c="".concat(s,"-item-group");return l.createElement("li",Ie({ref:t,role:"presentation"},o,{onClick:function(f){return f.stopPropagation()},className:ce(c,n)}),l.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof r=="string"?r:void 0},r),l.createElement("ul",{role:"group",className:"".concat(c,"-list")},a))}),iN=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Df(n),o=aN(r,a),i=yy();return i?o:l.createElement(vge,Ie({ref:t},or(e,["warnKey"])),o)}),bge=["label","children","key","type","extra"];function aO(e,t,n){var r=t.item,a=t.group,o=t.submenu,i=t.divider;return(e||[]).map(function(s,c){if(s&&Pt(s)==="object"){var u=s,f=u.label,g=u.children,m=u.key,h=u.type,y=u.extra,x=Bt(u,bge),b=m??"tmp-".concat(c);return g||h==="group"?h==="group"?l.createElement(a,Ie({key:b},x,{title:f}),aO(g,t,n)):l.createElement(o,Ie({key:b},x,{title:f}),aO(g,t,n)):h==="divider"?l.createElement(i,Ie({key:b},x)):l.createElement(r,Ie({key:b},x,{extra:y}),f,(!!y||y===0)&&l.createElement("span",{className:"".concat(n,"-item-extra")},y))}return null}).filter(function(s){return s})}function i4(e,t,n,r,a){var o=e,i=se({divider:oN,item:km,group:iN,submenu:xy},r);return t&&(o=aO(t,i,a)),aN(o,n)}var yge=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Lc=[],xge=l.forwardRef(function(e,t){var n,r=e,a=r.prefixCls,o=a===void 0?"rc-menu":a,i=r.rootClassName,s=r.style,c=r.className,u=r.tabIndex,f=u===void 0?0:u,g=r.items,m=r.children,h=r.direction,y=r.id,x=r.mode,b=x===void 0?"vertical":x,C=r.inlineCollapsed,S=r.disabled,w=r.disabledOverflow,I=r.subMenuOpenDelay,E=I===void 0?.1:I,_=r.subMenuCloseDelay,R=_===void 0?.1:_,N=r.forceSubMenuRender,O=r.defaultOpenKeys,$=r.openKeys,A=r.activeKey,B=r.defaultActiveFirst,j=r.selectable,F=j===void 0?!0:j,D=r.multiple,k=D===void 0?!1:D,M=r.defaultSelectedKeys,L=r.selectedKeys,H=r.onSelect,U=r.onDeselect,z=r.inlineIndent,W=z===void 0?24:z,q=r.motion,K=r.defaultMotions,G=r.triggerSubMenuAction,X=G===void 0?"hover":G,Z=r.builtinPlacements,J=r.itemIcon,ne=r.expandIcon,Q=r.overflowedIndicator,ee=Q===void 0?"...":Q,te=r.overflowedIndicatorPopupClassName,oe=r.getPopupContainer,le=r.onClick,fe=r.onOpenChange,ue=r.onKeyDown;r.openAnimation,r.openTransitionName;var we=r._internalRenderMenuItem,pe=r._internalRenderSubMenuItem,ve=r._internalComponents,Ce=Bt(r,yge),me=l.useMemo(function(){return[i4(m,g,Lc,ve,o),i4(m,g,Lc,{},o)]},[m,g,ve]),ie=ye(me,2),he=ie[0],Se=ie[1],_e=l.useState(!1),$e=ye(_e,2),ze=$e[0],Fe=$e[1],je=l.useRef(),qe=Jpe(y),Ue=h==="rtl",Ne=Vn(O,{value:$,postState:function(Kt){return Kt||Lc}}),Ye=ye(Ne,2),Re=Ye[0],Ae=Ye[1],Le=function(Kt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ln(){Ae(Kt),fe==null||fe(Kt)}Gt?Ka.flushSync(Ln):Ln()},Te=l.useState(Re),Ve=ye(Te,2),Je=Ve[0],Qe=Ve[1],ut=l.useRef(!1),xe=l.useMemo(function(){return(b==="inline"||b==="vertical")&&C?["vertical",C]:[b,!1]},[b,C]),be=ye(xe,2),Ee=be[0],ke=be[1],et=Ee==="inline",Be=l.useState(Ee),Ke=ye(Be,2),Ge=Ke[0],nt=Ke[1],ht=l.useState(ke),tt=ye(ht,2),ct=tt[0],bt=tt[1];l.useEffect(function(){nt(Ee),bt(ke),ut.current&&(et?Ae(Je):Le(Lc))},[Ee,ke]);var St=l.useState(0),yt=ye(St,2),Dt=yt[0],Rt=yt[1],_t=Dt>=he.length-1||Ge!=="horizontal"||w;l.useEffect(function(){et&&Qe(Re)},[Re]),l.useEffect(function(){return ut.current=!0,function(){ut.current=!1}},[]);var jt=Xpe(),zt=jt.registerPath,en=jt.unregisterPath,gn=jt.refreshOverflowKeys,on=jt.isSubPathKey,Ft=jt.getKeyPath,qt=jt.getKeys,Jt=jt.getSubPathKeys,st=l.useMemo(function(){return{registerPath:zt,unregisterPath:en}},[zt,en]),Ct=l.useMemo(function(){return{isSubPathKey:on}},[on]);l.useEffect(function(){gn(_t?Lc:he.slice(Dt+1).map(function(bn){return bn.key}))},[Dt,_t]);var ot=Vn(A||B&&((n=he[0])===null||n===void 0?void 0:n.key),{value:A}),We=ye(ot,2),dt=We[0],Ot=We[1],Zt=Zp(function(bn){Ot(bn)}),yn=Zp(function(){Ot(void 0)});l.useImperativeHandle(t,function(){return{list:je.current,focus:function(Kt){var Gt,Ln=qt(),Ht=nO(Ln,qe),Ut=Ht.elements,On=Ht.key2element,lr=Ht.element2key,vr=tN(je.current,Ut),xn=dt??(vr[0]?lr.get(vr[0]):(Gt=he.find(function(kt){return!kt.props.disabled}))===null||Gt===void 0?void 0:Gt.key),Mr=On.get(xn);if(xn&&Mr){var Jr;Mr==null||(Jr=Mr.focus)===null||Jr===void 0||Jr.call(Mr,Kt)}}}});var Nt=Vn(M||[],{value:L,postState:function(Kt){return Array.isArray(Kt)?Kt:Kt==null?Lc:[Kt]}}),At=ye(Nt,2),Xt=At[0],ln=At[1],Mn=function(Kt){if(F){var Gt=Kt.key,Ln=Xt.includes(Gt),Ht;k?Ln?Ht=Xt.filter(function(On){return On!==Gt}):Ht=[].concat(Ze(Xt),[Gt]):Ht=[Gt],ln(Ht);var Ut=se(se({},Kt),{},{selectedKeys:Ht});Ln?U==null||U(Ut):H==null||H(Ut)}!k&&Re.length&&Ge!=="inline"&&Le(Lc)},$n=Zp(function(bn){le==null||le(e0(bn)),Mn(bn)}),sr=Zp(function(bn,Kt){var Gt=Re.filter(function(Ht){return Ht!==bn});if(Kt)Gt.push(bn);else if(Ge!=="inline"){var Ln=Jt(bn);Gt=Gt.filter(function(Ht){return!Ln.has(Ht)})}Ei(Re,Gt,!0)||Le(Gt,!0)}),pr=function(Kt,Gt){var Ln=Gt??!Re.includes(Kt);sr(Kt,Ln)},la=qpe(Ge,dt,Ue,qe,je,qt,Ft,Ot,pr,ue);l.useEffect(function(){Fe(!0)},[]);var Xr=l.useMemo(function(){return{_internalRenderMenuItem:we,_internalRenderSubMenuItem:pe}},[we,pe]),wr=Ge!=="horizontal"||w?he:he.map(function(bn,Kt){return l.createElement(Vg,{key:bn.key,overflowDisabled:Kt>Dt},bn)}),Zr=l.createElement(Gi,Ie({id:y,ref:je,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:km,className:ce(o,"".concat(o,"-root"),"".concat(o,"-").concat(Ge),c,re(re({},"".concat(o,"-inline-collapsed"),ct),"".concat(o,"-rtl"),Ue),i),dir:h,style:s,role:"menu",tabIndex:f,data:wr,renderRawItem:function(Kt){return Kt},renderRawRest:function(Kt){var Gt=Kt.length,Ln=Gt?he.slice(-Gt):null;return l.createElement(xy,{eventKey:rO,title:ee,disabled:_t,internalPopupClose:Gt===0,popupClassName:te},Ln)},maxCount:Ge!=="horizontal"||w?Gi.INVALIDATE:Gi.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Kt){Rt(Kt)},onKeyDown:la},Ce));return l.createElement(eN.Provider,{value:Xr},l.createElement(oW.Provider,{value:qe},l.createElement(Vg,{prefixCls:o,rootClassName:i,mode:Ge,openKeys:Re,rtl:Ue,disabled:S,motion:ze?q:null,defaultMotions:ze?K:null,activeKey:dt,onActive:Zt,onInactive:yn,selectedKeys:Xt,inlineIndent:W,subMenuOpenDelay:E,subMenuCloseDelay:R,forceSubMenuRender:N,builtinPlacements:Z,triggerSubMenuAction:X,getPopupContainer:oe,itemIcon:J,expandIcon:ne,onItemClick:$n,onOpenChange:sr},l.createElement(uW.Provider,{value:Ct},Zr),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(lW.Provider,{value:st},Se)))))}),Mf=xge;Mf.Item=km;Mf.SubMenu=xy;Mf.ItemGroup=iN;Mf.Divider=oN;var Sge={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Cge=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Sge}))},wge=l.forwardRef(Cge);const hW=l.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),Ege=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:a,headerHeight:o,headerPadding:i,headerColor:s,footerPadding:c,fontSize:u,bodyBg:f,headerBg:g}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:f,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:o,padding:i,color:s,lineHeight:ae(o),background:g,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:c,color:r,fontSize:u,background:a},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},vW=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:a,controlHeightSM:o,marginXXS:i,colorTextLightSolid:s,colorBgContainer:c}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:a,footerPadding:`${o}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+i*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}},bW=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],yW=Nn("Layout",e=>[Ege(e)],vW,{deprecatedTokens:bW}),Ige=e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:a,antCls:o,triggerHeight:i,triggerColor:s,triggerBg:c,headerHeight:u,zeroTriggerWidth:f,zeroTriggerHeight:g,borderRadiusLG:m,lightSiderBg:h,lightTriggerColor:y,lightTriggerBg:x,bodyBg:b}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:i},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${o}-menu${o}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${t}-children`]:{overflow:"hidden"},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:i,color:s,lineHeight:ae(i),textAlign:"center",background:c,cursor:"pointer",transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:"absolute",top:u,insetInlineEnd:e.calc(f).mul(-1).equal(),zIndex:1,width:f,height:g,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${ae(m)} ${ae(m)} 0`,cursor:"pointer",transition:`background ${a} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${a}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(f).mul(-1).equal(),borderRadius:`${ae(m)} 0 0 ${ae(m)}`}},"&-light":{background:h,[`${t}-trigger`]:{color:y,background:x},[`${t}-zero-width-trigger`]:{color:y,background:x,border:`1px solid ${b}`,borderInlineStart:0}}}}},_ge=Nn(["Layout","Sider"],e=>[Ige(e)],vW,{deprecatedTokens:bW});var Tge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a!Number.isNaN(Number.parseFloat(e))&&isFinite(e),Sy=l.createContext({}),Oge=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),sN=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:a,children:o,defaultCollapsed:i=!1,theme:s="dark",style:c={},collapsible:u=!1,reverseArrow:f=!1,width:g=200,collapsedWidth:m=80,zeroWidthTriggerStyle:h,breakpoint:y,onCollapse:x,onBreakpoint:b}=e,C=Tge(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:S}=l.useContext(hW),[w,I]=l.useState("collapsed"in e?e.collapsed:i),[E,_]=l.useState(!1);l.useEffect(()=>{"collapsed"in e&&I(e.collapsed)},[e.collapsed]);const R=(J,ne)=>{"collapsed"in e||I(J),x==null||x(J,ne)},{getPrefixCls:N,direction:O}=l.useContext(Wt),$=N("layout-sider",n),[A,B,j]=_ge($),F=l.useRef(null);F.current=J=>{_(J.matches),b==null||b(J.matches),w!==J.matches&&R(J.matches,"responsive")},l.useEffect(()=>{function J(Q){return F.current(Q)}let ne;if(typeof window<"u"){const{matchMedia:Q}=window;if(Q&&y&&y in s4){ne=Q(`screen and (max-width: ${s4[y]})`);try{ne.addEventListener("change",J)}catch{ne.addListener(J)}J(ne)}}return()=>{try{ne==null||ne.removeEventListener("change",J)}catch{ne==null||ne.removeListener(J)}}},[y]),l.useEffect(()=>{const J=Oge("ant-sider-");return S.addSider(J),()=>S.removeSider(J)},[]);const D=()=>{R(!w,"clickTrigger")},k=or(C,["collapsed"]),M=w?m:g,L=Rge(M)?`${M}px`:String(M),H=parseFloat(String(m||0))===0?l.createElement("span",{onClick:D,className:ce(`${$}-zero-width-trigger`,`${$}-zero-width-trigger-${f?"right":"left"}`),style:h},a||l.createElement(wge,null)):null,U=O==="rtl"==!f,q={expanded:U?l.createElement(Do,null):l.createElement(Is,null),collapsed:U?l.createElement(Is,null):l.createElement(Do,null)}[w?"collapsed":"expanded"],K=a!==null?H||l.createElement("div",{className:`${$}-trigger`,onClick:D,style:{width:L}},a||q):null,G=Object.assign(Object.assign({},c),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),X=ce($,`${$}-${s}`,{[`${$}-collapsed`]:!!w,[`${$}-has-trigger`]:u&&a!==null&&!H,[`${$}-below`]:!!E,[`${$}-zero-width`]:parseFloat(L)===0},r,B,j),Z=l.useMemo(()=>({siderCollapsed:w}),[w]);return A(l.createElement(Sy.Provider,{value:Z},l.createElement("aside",Object.assign({className:X},k,{style:G,ref:t}),l.createElement("div",{className:`${$}-children`},o),u||E&&H?K:null)))});var $ge={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Nge=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:$ge}))},lN=l.forwardRef(Nge);const t0=l.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var Age=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,dashed:r}=e,a=Age(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=l.useContext(Wt),i=o("menu",t),s=ce({[`${i}-item-divider-dashed`]:!!r},n);return l.createElement(oN,Object.assign({className:s},a))},SW=e=>{var t;const{className:n,children:r,icon:a,title:o,danger:i,extra:s}=e,{prefixCls:c,firstLevel:u,direction:f,disableMenuItemTitleTooltip:g,inlineCollapsed:m}=l.useContext(t0),h=w=>{const I=r==null?void 0:r[0],E=l.createElement("span",{className:ce(`${c}-title-content`,{[`${c}-title-content-with-extra`]:!!s||s===0})},r);return(!a||l.isValidElement(r)&&r.type==="span")&&r&&w&&u&&typeof I=="string"?l.createElement("div",{className:`${c}-inline-collapsed-noicon`},I.charAt(0)):E},{siderCollapsed:y}=l.useContext(Sy);let x=o;typeof o>"u"?x=u?r:"":o===!1&&(x="");const b={title:x};!y&&!m&&(b.title=null,b.open=!1);const C=aa(r).length;let S=l.createElement(km,Object.assign({},or(e,["title","icon","danger"]),{className:ce({[`${c}-item-danger`]:i,[`${c}-item-only-child`]:(a?C+1:C)===1},n),title:typeof o=="string"?o:void 0}),oa(a,{className:ce(l.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${c}-item-icon`)}),h(m));return g||(S=l.createElement(nn,Object.assign({},b,{placement:f==="rtl"?"left":"right",classNames:{root:`${c}-inline-collapsed-tooltip`}}),S)),S};var kge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{children:n}=e,r=kge(e,["children"]),a=l.useContext(n0),o=l.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),i=sne(n),s=Rs(t,i?dc(n):null);return l.createElement(n0.Provider,{value:o},l.createElement(Es,{space:!0},i?l.cloneElement(n,{ref:s}):n))}),Pge=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:a,lineWidth:o,lineType:i,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${ae(o)} ${i} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, + > ${t}-item-active, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},Dge=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${ae(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${ae(n)})`}}}}},l4=e=>Object.assign({},Xi(e)),c4=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,subMenuItemSelectedColor:o,groupTitleColor:i,itemBg:s,subMenuItemBg:c,itemSelectedBg:u,activeBarHeight:f,activeBarWidth:g,activeBarBorderWidth:m,motionDurationSlow:h,motionEaseInOut:y,motionEaseOut:x,itemPaddingInline:b,motionDurationMid:C,itemHoverColor:S,lineType:w,colorSplit:I,itemDisabledColor:E,dangerItemColor:_,dangerItemHoverColor:R,dangerItemSelectedColor:N,dangerItemActiveBg:O,dangerItemSelectedBg:$,popupBg:A,itemHoverBg:B,itemActiveBg:j,menuSubMenuBg:F,horizontalItemSelectedColor:D,horizontalItemSelectedBg:k,horizontalItemBorderRadius:M,horizontalItemHoverBg:L}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:Object.assign({},l4(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:i}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:o},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},l4(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${E} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:S}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:B},"&:active":{backgroundColor:j}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:B},"&:active":{backgroundColor:j}}},[`${n}-item-danger`]:{color:_,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:R}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:N},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:u,[`&${n}-item-danger`]:{backgroundColor:$}},[`&${n}-submenu > ${n}`]:{backgroundColor:F},[`&${n}-popup > ${n}`]:{backgroundColor:A},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:A},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:m,marginTop:e.calc(m).mul(-1).equal(),marginBottom:0,borderRadius:M,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${ae(f)} solid transparent`,transition:`border-color ${h} ${y}`,content:'""'},"&:hover, &-active, &-open":{background:L,"&::after":{borderBottomWidth:f,borderBottomColor:D}},"&-selected":{color:D,backgroundColor:k,"&:hover":{backgroundColor:k},"&::after":{borderBottomWidth:f,borderBottomColor:D}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${ae(m)} ${w} ${I}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ae(g)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${C} ${x}`,`opacity ${C} ${x}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:N}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${C} ${y}`,`opacity ${C} ${y}`].join(",")}}}}}},u4=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:o,marginXS:i,itemMarginBlock:s,itemWidth:c,itemPaddingInline:u}=e,f=e.calc(o).add(a).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:ae(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:c},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:ae(n)},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:f}}},Mge=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:o,controlHeightLG:i,motionEaseOut:s,paddingXL:c,itemMarginInline:u,fontSizeLG:f,motionDurationFast:g,motionDurationSlow:m,paddingXS:h,boxShadowSecondary:y,collapsedWidth:x,collapsedIconSize:b}=e,C={height:r,lineHeight:ae(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},u4(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},u4(e)),{boxShadow:y})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${ae(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${m}`,`background ${m}`,`padding ${g} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:C,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:C}},{[`${t}-inline-collapsed`]:{width:x,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${ae(e.calc(b).div(2).equal())} - ${ae(u)})`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:b,lineHeight:ae(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:Object.assign(Object.assign({},Qo),{paddingInline:h})}}]},d4=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:o,iconCls:i,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${a}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${o}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Iu()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},f4=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:o,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(o).mul(.6).equal(),height:e.calc(o).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${ae(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${ae(i)})`}}}}},Lge=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:o,motionEaseInOut:i,paddingXS:s,padding:c,colorSplit:u,lineWidth:f,zIndexPopup:g,borderRadiusLG:m,subMenuItemBorderRadius:h,menuArrowSize:y,menuArrowOffset:x,lineType:b,groupTitleLineHeight:C,groupTitleFontSize:S}=e;return[{"":{[n]:Object.assign(Object.assign({},Yi()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),Yi()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${ae(s)} ${ae(c)}`,fontSize:S,lineHeight:C,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${i}`,`background ${a} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${i}`,`background ${a} ${i}`,`padding ${o} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${a}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:b,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),d4(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${ae(e.calc(r).mul(2).equal())} ${ae(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:g,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},d4(e)),f4(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:h},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${i}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),f4(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ae(x)})`},"&::after":{transform:`rotate(45deg) translateX(${ae(e.calc(x).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${ae(e.calc(y).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${ae(e.calc(x).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${ae(x)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},jge=e=>{var t,n,r;const{colorPrimary:a,colorError:o,colorTextDisabled:i,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:f,colorFillAlter:g,colorFillContent:m,lineWidth:h,lineWidthBold:y,controlItemBgActive:x,colorBgTextHover:b,controlHeightLG:C,lineHeight:S,colorBgElevated:w,marginXXS:I,padding:E,fontSize:_,controlHeightSM:R,fontSizeLG:N,colorTextLightSolid:O,colorErrorHover:$}=e,A=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,B=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:h,j=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,F=new In(O).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,subMenuItemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:f,itemBg:f,colorItemBgHover:b,itemHoverBg:b,colorItemBgActive:m,itemActiveBg:x,colorSubItemBg:g,subMenuItemBg:g,colorItemBgSelected:x,itemSelectedBg:x,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:A,colorActiveBarHeight:y,activeBarHeight:y,colorActiveBarBorderSize:h,activeBarBorderWidth:B,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:C,groupTitleLineHeight:S,collapsedWidth:C*2,popupBg:w,itemMarginBlock:I,itemPaddingInline:E,horizontalLineHeight:`${C*1.15}px`,iconSize:_,iconMarginInlineEnd:R-_,collapsedIconSize:N,groupTitleFontSize:_,darkItemDisabledColor:new In(O).setA(.25).toRgbString(),darkItemColor:F,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:O,darkItemSelectedBg:a,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:F,darkItemHoverColor:O,darkDangerItemHoverColor:$,darkDangerItemSelectedColor:O,darkDangerItemActiveBg:o,itemWidth:A?`calc(100% + ${B}px)`:`calc(100% - ${j*2}px)`}},Fge=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Nn("Menu",a=>{const{colorBgElevated:o,controlHeightLG:i,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:f,darkSubMenuItemBg:g,darkItemSelectedColor:m,darkItemSelectedBg:h,darkDangerItemSelectedBg:y,darkItemHoverBg:x,darkGroupTitleColor:b,darkItemHoverColor:C,darkItemDisabledColor:S,darkDangerItemHoverColor:w,darkDangerItemSelectedColor:I,darkDangerItemActiveBg:E,popupBg:_,darkPopupBg:R}=a,N=a.calc(s).div(7).mul(5).equal(),O=fn(a,{menuArrowSize:N,menuHorizontalHeight:a.calc(i).mul(1.15).equal(),menuArrowOffset:a.calc(N).mul(.25).equal(),menuSubMenuBg:o,calc:a.calc,popupBg:_}),$=fn(O,{itemColor:c,itemHoverColor:C,groupTitleColor:b,itemSelectedColor:m,subMenuItemSelectedColor:m,itemBg:f,popupBg:R,subMenuItemBg:g,itemActiveBg:"transparent",itemSelectedBg:h,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:x,itemDisabledColor:S,dangerItemColor:u,dangerItemHoverColor:w,dangerItemSelectedColor:I,dangerItemActiveBg:E,dangerItemSelectedBg:y,menuSubMenuBg:g,horizontalItemSelectedColor:m,horizontalItemSelectedBg:h});return[Lge(O),Pge(O),Mge(O),c4(O,"light"),c4($,"dark"),Dge(O),Cm(O),Cs(O,"slide-up"),Cs(O,"slide-down"),Nf(O,"zoom-big")]},jge,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)},wW=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:o}=e,i=l.useContext(t0),{prefixCls:s,inlineCollapsed:c,theme:u}=i,f=Df();let g;if(!r)g=c&&!f.length&&a&&typeof a=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},a.charAt(0)):l.createElement("span",{className:`${s}-title-content`},a);else{const y=l.isValidElement(a)&&a.type==="span";g=l.createElement(l.Fragment,null,oa(r,{className:ce(l.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),y?a:l.createElement("span",{className:`${s}-title-content`},a))}const m=l.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[h]=es("Menu");return l.createElement(t0.Provider,{value:m},l.createElement(xy,Object.assign({},or(e,["icon"]),{title:g,popupClassName:ce(s,n,`${s}-${o||u}`),popupStyle:Object.assign({zIndex:h},e.popupStyle)})))};var Bge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const r=l.useContext(n0),a=r||{},{getPrefixCls:o,getPopupContainer:i,direction:s,menu:c}=l.useContext(Wt),u=o(),{prefixCls:f,className:g,style:m,theme:h="light",expandIcon:y,_internalDisableMenuItemTitleTooltip:x,inlineCollapsed:b,siderCollapsed:C,rootClassName:S,mode:w,selectable:I,onClick:E,overflowedIndicatorPopupClassName:_}=e,R=Bge(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),N=or(R,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:w});const O=En(function(){var W;E==null||E.apply(void 0,arguments),(W=a.onClick)===null||W===void 0||W.call(a)}),$=a.mode||w,A=I??a.selectable,B=b??C,j={horizontal:{motionName:`${u}-slide-up`},inline:lf(u),other:{motionName:`${u}-zoom-big`}},F=o("menu",f||a.prefixCls),D=Hr(F),[k,M,L]=Fge(F,D,!r),H=ce(`${F}-${h}`,c==null?void 0:c.className,g),U=l.useMemo(()=>{var W,q;if(typeof y=="function"||B1(y))return y||null;if(typeof a.expandIcon=="function"||B1(a.expandIcon))return a.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||B1(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const K=(W=y??(a==null?void 0:a.expandIcon))!==null&&W!==void 0?W:c==null?void 0:c.expandIcon;return oa(K,{className:ce(`${F}-submenu-expand-icon`,l.isValidElement(K)?(q=K.props)===null||q===void 0?void 0:q.className:void 0)})},[y,a==null?void 0:a.expandIcon,c==null?void 0:c.expandIcon,F]),z=l.useMemo(()=>({prefixCls:F,inlineCollapsed:B||!1,direction:s,firstLevel:!0,theme:h,mode:$,disableMenuItemTitleTooltip:x}),[F,B,s,x,h]);return k(l.createElement(n0.Provider,{value:null},l.createElement(t0.Provider,{value:z},l.createElement(Mf,Object.assign({getPopupContainer:i,overflowedIndicator:l.createElement(lN,null),overflowedIndicatorPopupClassName:ce(F,`${F}-${h}`,_),mode:$,selectable:A,onClick:O},N,{inlineCollapsed:B,style:Object.assign(Object.assign({},c==null?void 0:c.style),m),className:H,prefixCls:F,direction:s,defaultMotions:j,expandIcon:U,ref:t,rootClassName:ce(S,M,a.rootClassName,L,D),_internalComponents:zge})))))}),sl=l.forwardRef((e,t)=>{const n=l.useRef(null),r=l.useContext(Sy);return l.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var o;(o=n.current)===null||o===void 0||o.focus(a)}})),l.createElement(Hge,Object.assign({ref:n},e,r))});sl.Item=SW;sl.SubMenu=wW;sl.Divider=xW;sl.ItemGroup=iN;const Uge=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},Vge=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,sizePopupArrow:o,antCls:i,iconCls:s,motionDurationMid:c,paddingBlock:u,fontSize:f,dropdownEdgeChildPadding:g,colorTextDisabled:m,fontSizeIcon:h,controlPaddingHorizontal:y,colorBgElevated:x}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(o).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${i}-btn`]:{[`& > ${s}-down, & > ${i}-btn-icon > ${s}-down`]:{fontSize:h}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${s}-down`]:{fontSize:h},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:J0},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:ey},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, + &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Q0},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:ty}}},Q$(e,x,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},Dn(e)),{[n]:Object.assign(Object.assign({padding:g,listStyleType:"none",backgroundColor:x,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Po(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${ae(u)} ${ae(y)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:f,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${ae(u)} ${ae(y)}`,color:e.colorText,fontWeight:"normal",fontSize:f,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Po(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:x,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ae(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${ae(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(y).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:x,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[Cs(e,"slide-up"),Cs(e,"slide-down"),cf(e,"move-up"),cf(e,"move-down"),Nf(e,"zoom-big")]]},Wge=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},vy({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),hy(e)),Gge=Nn("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,o=fn(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[Vge(o),Uge(o)]},Wge,{resetStyle:!1}),Pm=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:o,trigger:i,disabled:s,dropdownRender:c,getPopupContainer:u,overlayClassName:f,rootClassName:g,overlayStyle:m,open:h,onOpenChange:y,visible:x,onVisibleChange:b,mouseEnterDelay:C=.15,mouseLeaveDelay:S=.1,autoAdjustOverflow:w=!0,placement:I="",overlay:E,transitionName:_}=e,{getPopupContainer:R,getPrefixCls:N,direction:O,dropdown:$}=l.useContext(Wt);fc();const A=l.useMemo(()=>{const oe=N();return _!==void 0?_:I.includes("top")?`${oe}-slide-down`:`${oe}-slide-up`},[N,I,_]),B=l.useMemo(()=>I?I.includes("Center")?I.slice(0,I.indexOf("Center")):I:O==="rtl"?"bottomRight":"bottomLeft",[I,O]),j=N("dropdown",a),F=Hr(j),[D,k,M]=Gge(j,F),[,L]=ba(),H=l.Children.only(Fpe(o)?l.createElement("span",null,o):o),U=oa(H,{className:ce(`${j}-trigger`,{[`${j}-rtl`]:O==="rtl"},H.props.className),disabled:(t=H.props.disabled)!==null&&t!==void 0?t:s}),z=s?[]:i,W=!!(z!=null&&z.includes("contextMenu")),[q,K]=Vn(!1,{value:h??x}),G=En(oe=>{y==null||y(oe,{source:"trigger"}),b==null||b(oe),K(oe)}),X=ce(f,g,k,M,F,$==null?void 0:$.className,{[`${j}-rtl`]:O==="rtl"}),Z=XV({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:w,offset:L.marginXXS,arrowWidth:r?L.sizePopupArrow:0,borderRadius:L.borderRadius}),J=l.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(y==null||y(!1,{source:"menu"}),K(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),ne=()=>{let oe;return n!=null&&n.items?oe=l.createElement(sl,Object.assign({},n)):typeof E=="function"?oe=E():oe=E,c&&(oe=c(oe)),oe=l.Children.only(typeof oe=="string"?l.createElement("span",null,oe):oe),l.createElement(CW,{prefixCls:`${j}-menu`,rootClassName:ce(M,F),expandIcon:l.createElement("span",{className:`${j}-menu-submenu-arrow`},O==="rtl"?l.createElement(Is,{className:`${j}-menu-submenu-arrow-icon`}):l.createElement(Do,{className:`${j}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:J,validator:le=>{let{mode:fe}=le}},oe)},[Q,ee]=es("Dropdown",m==null?void 0:m.zIndex);let te=l.createElement(aW,Object.assign({alignPoint:W},or(e,["rootClassName"]),{mouseEnterDelay:C,mouseLeaveDelay:S,visible:q,builtinPlacements:Z,arrow:!!r,overlayClassName:X,prefixCls:j,getPopupContainer:u||R,transitionName:A,trigger:z,overlay:ne,placement:B,onVisibleChange:G,overlayStyle:Object.assign(Object.assign(Object.assign({},$==null?void 0:$.style),m),{zIndex:Q})}),U);return Q&&(te=l.createElement(ym.Provider,{value:ee},te)),D(te)},qge=Rm(Pm,"align",void 0,"dropdown",e=>e),Kge=e=>l.createElement(qge,Object.assign({},e),l.createElement("span",null));Pm._InternalPanelDoNotUseOrYouWillBeFired=Kge;const Cy=e=>{let{children:t}=e;const{getPrefixCls:n}=l.useContext(Wt),r=n("breadcrumb");return l.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};Cy.__ANT_BREADCRUMB_SEPARATOR=!0;var Yge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at[a]||r)}function EW(e,t,n,r){if(n==null)return null;const{className:a,onClick:o}=t,i=Yge(t,["className","onClick"]),s=Object.assign(Object.assign({},zr(i,{data:!0,aria:!0})),{onClick:o});return r!==void 0?l.createElement("a",Object.assign({},s,{className:ce(`${e}-link`,a),href:r}),n):l.createElement("span",Object.assign({},s,{className:ce(`${e}-link`,a)}),n)}function Zge(e,t){return(r,a,o,i,s)=>{if(t)return t(r,a,o,i);const c=Xge(r,a);return EW(e,r,c,s)}}var oO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,separator:n="/",children:r,menu:a,overlay:o,dropdownProps:i,href:s}=e,u=(f=>{if(a||o){const g=Object.assign({},i);if(a){const m=a||{},{items:h}=m,y=oO(m,["items"]);g.menu=Object.assign(Object.assign({},y),{items:h==null?void 0:h.map((x,b)=>{var{key:C,title:S,label:w,path:I}=x,E=oO(x,["key","title","label","path"]);let _=w??S;return I&&(_=l.createElement("a",{href:`${s}${I}`},_)),Object.assign(Object.assign({},E),{key:C??b,label:_})})})}else o&&(g.overlay=o);return l.createElement(Pm,Object.assign({placement:"bottom"},g),l.createElement("span",{className:`${t}-overlay-link`},f,l.createElement(my,null)))}return f})(r);return u!=null?l.createElement(l.Fragment,null,l.createElement("li",null,u),n&&l.createElement(Cy,null,n)):null},_W=e=>{const{prefixCls:t,children:n,href:r}=e,a=oO(e,["prefixCls","children","href"]),{getPrefixCls:o}=l.useContext(Wt),i=o("breadcrumb",t);return l.createElement(IW,Object.assign({},a,{prefixCls:i}),EW(i,a,n,r))};_W.__ANT_BREADCRUMB_ITEM=!0;const Jge=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${ae(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},Po(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + > ${n} + span, + > ${n} + a + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${ae(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Qge=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),eme=Nn("Breadcrumb",e=>{const t=fn(e,{});return Jge(t)},Qge);var p4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{breadcrumbName:i}=o,s=p4(o,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:i})})}),a}function nme(e,t){return l.useMemo(()=>e||(t?t.map(tme):null),[e,t])}var rme=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},Dm=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:o,routes:i,items:s,children:c,itemRender:u,params:f={}}=e,g=rme(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:m,direction:h,breadcrumb:y}=l.useContext(Wt);let x;const b=m("breadcrumb",t),[C,S,w]=eme(b),I=nme(s,i),E=Zge(b,u);if(I&&I.length>0){const N=[],O=s||i;x=I.map(($,A)=>{const{path:B,key:j,type:F,menu:D,overlay:k,onClick:M,className:L,separator:H,dropdownProps:U}=$,z=ame(f,B);z!==void 0&&N.push(z);const W=j??A;if(F==="separator")return l.createElement(Cy,{key:W},H);const q={},K=A===I.length-1;D?q.menu=D:k&&(q.overlay=k);let{href:G}=$;return N.length&&z!==void 0&&(G=`#/${N.join("/")}`),l.createElement(IW,Object.assign({key:W},q,zr($,{data:!0,aria:!0}),{className:L,dropdownProps:U,href:G,separator:K?"":n,onClick:M,prefixCls:b}),E($,f,O,N,G))})}else if(c){const N=aa(c).length;x=aa(c).map((O,$)=>{if(!O)return O;const A=$===N-1;return oa(O,{separator:A?"":n,key:$})})}const _=ce(b,y==null?void 0:y.className,{[`${b}-rtl`]:h==="rtl"},a,o,S,w),R=Object.assign(Object.assign({},y==null?void 0:y.style),r);return C(l.createElement("nav",Object.assign({className:_,style:R},g),l.createElement("ol",null,x)))};Dm.Item=_W;Dm.Separator=Cy;var gb={exports:{}},ome=gb.exports,g4;function ime(){return g4||(g4=1,function(e,t){(function(n,r){e.exports=r()})(ome,function(){var n=1e3,r=6e4,a=36e5,o="millisecond",i="second",s="minute",c="hour",u="day",f="week",g="month",m="quarter",h="year",y="date",x="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(F){var D=["th","st","nd","rd"],k=F%100;return"["+F+(D[(k-20)%10]||D[k]||D[0])+"]"}},w=function(F,D,k){var M=String(F);return!M||M.length>=D?F:""+Array(D+1-M.length).join(k)+F},I={s:w,z:function(F){var D=-F.utcOffset(),k=Math.abs(D),M=Math.floor(k/60),L=k%60;return(D<=0?"+":"-")+w(M,2,"0")+":"+w(L,2,"0")},m:function F(D,k){if(D.date()1)return F(U[0])}else{var z=D.name;_[z]=D,L=z}return!M&&L&&(E=L),L||!M&&E},$=function(F,D){if(N(F))return F.clone();var k=typeof D=="object"?D:{};return k.date=F,k.args=arguments,new B(k)},A=I;A.l=O,A.i=N,A.w=function(F,D){return $(F,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var B=function(){function F(k){this.$L=O(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[R]=!0}var D=F.prototype;return D.parse=function(k){this.$d=function(M){var L=M.date,H=M.utc;if(L===null)return new Date(NaN);if(A.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var U=L.match(b);if(U){var z=U[2]-1||0,W=(U[7]||"0").substring(0,3);return H?new Date(Date.UTC(U[1],z,U[3]||1,U[4]||0,U[5]||0,U[6]||0,W)):new Date(U[1],z,U[3]||1,U[4]||0,U[5]||0,U[6]||0,W)}}return new Date(L)}(k),this.init()},D.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},D.$utils=function(){return A},D.isValid=function(){return this.$d.toString()!==x},D.isSame=function(k,M){var L=$(k);return this.startOf(M)<=L&&L<=this.endOf(M)},D.isAfter=function(k,M){return $(k)25){var f=i(this).startOf(r).add(1,r).date(u),g=i(this).endOf(n);if(f.isBefore(g))return 1}var m=i(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),h=this.diff(m,n,!0);return h<0?i(this).startOf("week").week():Math.ceil(h)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})}(vb)),vb.exports}var bme=vme();const yme=co(bme);var bb={exports:{}},xme=bb.exports,b4;function Sme(){return b4||(b4=1,function(e,t){(function(n,r){e.exports=r()})(xme,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),o=this.week(),i=this.year();return o===1&&a===11?i+1:a===0&&o>=52?i-1:i}}})}(bb)),bb.exports}var Cme=Sme();const wme=co(Cme);var yb={exports:{}},Eme=yb.exports,y4;function Ime(){return y4||(y4=1,function(e,t){(function(n,r){e.exports=r()})(Eme,function(){return function(n,r){var a=r.prototype,o=a.format;a.format=function(i){var s=this,c=this.$locale();if(!this.isValid())return o.bind(this)(i);var u=this.$utils(),f=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(g){switch(g){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return c.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return c.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),g==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),g==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),g==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return g}});return o.bind(this)(f)}}})}(yb)),yb.exports}var _me=Ime();const Tme=co(_me);var xb={exports:{}},Rme=xb.exports,x4;function Ome(){return x4||(x4=1,function(e,t){(function(n,r){e.exports=r()})(Rme,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,o=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,c={},u=function(b){return(b=+b)+(b>68?1900:2e3)},f=function(b){return function(C){this[b]=+C}},g=[/[+-]\d\d:?(\d\d)?|Z/,function(b){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var S=C.match(/([+-]|\d\d)/g),w=60*S[1]+(+S[2]||0);return w===0?0:S[0]==="+"?-w:w}(b)}],m=function(b){var C=c[b];return C&&(C.indexOf?C:C.s.concat(C.f))},h=function(b,C){var S,w=c.meridiem;if(w){for(var I=1;I<=24;I+=1)if(b.indexOf(w(I,0,C))>-1){S=I>12;break}}else S=b===(C?"pm":"PM");return S},y={A:[s,function(b){this.afternoon=h(b,!1)}],a:[s,function(b){this.afternoon=h(b,!0)}],Q:[a,function(b){this.month=3*(b-1)+1}],S:[a,function(b){this.milliseconds=100*+b}],SS:[o,function(b){this.milliseconds=10*+b}],SSS:[/\d{3}/,function(b){this.milliseconds=+b}],s:[i,f("seconds")],ss:[i,f("seconds")],m:[i,f("minutes")],mm:[i,f("minutes")],H:[i,f("hours")],h:[i,f("hours")],HH:[i,f("hours")],hh:[i,f("hours")],D:[i,f("day")],DD:[o,f("day")],Do:[s,function(b){var C=c.ordinal,S=b.match(/\d+/);if(this.day=S[0],C)for(var w=1;w<=31;w+=1)C(w).replace(/\[|\]/g,"")===b&&(this.day=w)}],w:[i,f("week")],ww:[o,f("week")],M:[i,f("month")],MM:[o,f("month")],MMM:[s,function(b){var C=m("months"),S=(m("monthsShort")||C.map(function(w){return w.slice(0,3)})).indexOf(b)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[s,function(b){var C=m("months").indexOf(b)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,f("year")],YY:[o,function(b){this.year=u(b)}],YYYY:[/\d{4}/,f("year")],Z:g,ZZ:g};function x(b){var C,S;C=b,S=c&&c.formats;for(var w=(b=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,A,B){var j=B&&B.toUpperCase();return A||S[B]||n[B]||S[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(F,D,k){return D||k.slice(1)})})).match(r),I=w.length,E=0;E-1)return new Date((L==="X"?1e3:1)*M);var z=x(L)(M),W=z.year,q=z.month,K=z.day,G=z.hours,X=z.minutes,Z=z.seconds,J=z.milliseconds,ne=z.zone,Q=z.week,ee=new Date,te=K||(W||q?1:ee.getDate()),oe=W||ee.getFullYear(),le=0;W&&!q||(le=q>0?q-1:ee.getMonth());var fe,ue=G||0,we=X||0,pe=Z||0,ve=J||0;return ne?new Date(Date.UTC(oe,le,te,ue,we,pe,ve+60*ne.offset*1e3)):H?new Date(Date.UTC(oe,le,te,ue,we,pe,ve)):(fe=new Date(oe,le,te,ue,we,pe,ve),Q&&(fe=U(fe).week(Q).toDate()),fe)}catch{return new Date("")}}(_,O,R,S),this.init(),j&&j!==!0&&(this.$L=this.locale(j).$L),B&&_!=this.format(O)&&(this.$d=new Date("")),c={}}else if(O instanceof Array)for(var F=O.length,D=1;D<=F;D+=1){N[1]=O[D-1];var k=S.apply(this,N);if(k.isValid()){this.$d=k.$d,this.$L=k.$L,this.init();break}D===F&&(this.$d=new Date(""))}else I.call(this,E)}}})}(xb)),xb.exports}var $me=Ome();const Nme=co($me);Ro.extend(Nme);Ro.extend(Tme);Ro.extend(dme);Ro.extend(mme);Ro.extend(yme);Ro.extend(wme);Ro.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(o){var i=(o||"").replace("Wo","wo");return r.bind(this)(i)}});var Ame={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},jc=function(t){var n=Ame[t];return n||t.split("_")[0]},kme={getNow:function(){var t=Ro();return typeof t.tz=="function"?t.tz():t},getFixedDate:function(t){return Ro(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return Ro().locale(jc(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(jc(t)).weekday(0)},getWeek:function(t,n){return n.locale(jc(t)).week()},getShortWeekDays:function(t){return Ro().locale(jc(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Ro().locale(jc(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(jc(t)).format(r)},parse:function(t,n,r){for(var a=jc(t),o=0;o2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=l.useState([!1,!1]),a=ye(r,2),o=a[0],i=a[1],s=function(f,g){i(function(m){return gg(m,g,f)})},c=l.useMemo(function(){return o.map(function(u,f){if(u)return!0;var g=e[f];return g?!!(!n[f]&&!g||g&&t(g,{activeIndex:f})):!1})},[e,o,t,n]);return[c,s]}function AW(e,t,n,r,a){var o="",i=[];return e&&i.push(a?"hh":"HH"),t&&i.push("mm"),n&&i.push("ss"),o=i.join(":"),r&&(o+=".SSS"),a&&(o+=" A"),o}function Mme(e,t,n,r,a,o){var i=e.fieldDateTimeFormat,s=e.fieldDateFormat,c=e.fieldTimeFormat,u=e.fieldMonthFormat,f=e.fieldYearFormat,g=e.fieldWeekFormat,m=e.fieldQuarterFormat,h=e.yearFormat,y=e.cellYearFormat,x=e.cellQuarterFormat,b=e.dayFormat,C=e.cellDateFormat,S=AW(t,n,r,a,o);return se(se({},e),{},{fieldDateTimeFormat:i||"YYYY-MM-DD ".concat(S),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:c||S,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:f||"YYYY",fieldWeekFormat:g||"gggg-wo",fieldQuarterFormat:m||"YYYY-[Q]Q",yearFormat:h||"YYYY",cellYearFormat:y||"YYYY",cellQuarterFormat:x||"[Q]Q",cellDateFormat:C||b||"D"})}function kW(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,o=t.showMillisecond,i=t.use12Hours;return ge.useMemo(function(){return Mme(e,n,r,a,o,i)},[e,n,r,a,o,i])}function Up(e,t,n){return n??t.some(function(r){return e.includes(r)})}var Lme=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function jme(e){var t=wy(e,Lme),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=Pt(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function Fme(e){return e&&typeof e=="string"}function PW(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function DW(e,t,n,r,a){var o=t,i=n,s=r;if(!e&&!o&&!i&&!s&&!a)o=!0,i=!0,s=!0;else if(e){var c,u,f,g=[o,i,s].some(function(y){return y===!1}),m=[o,i,s].some(function(y){return y===!0}),h=g?!0:!m;o=(c=o)!==null&&c!==void 0?c:h,i=(u=i)!==null&&u!==void 0?u:h,s=(f=s)!==null&&f!==void 0?f:h}return[o,i,s,a]}function MW(e){var t=e.showTime,n=jme(e),r=ye(n,2),a=r[0],o=r[1],i=t&&Pt(t)==="object"?t:{},s=se(se({defaultOpenValue:i.defaultOpenValue||i.defaultValue},a),i),c=s.showMillisecond,u=s.showHour,f=s.showMinute,g=s.showSecond,m=PW(u,f,g,c),h=DW(m,u,f,g,c),y=ye(h,3);return u=y[0],f=y[1],g=y[2],[s,se(se({},s),{},{showHour:u,showMinute:f,showSecond:g,showMillisecond:c}),s.format,o]}function LW(e,t,n,r,a){var o=e==="time";if(e==="datetime"||o){for(var i=r,s=RW(e,a,null),c=s,u=[t,n],f=0;f1&&(i=t.addDate(i,-7)),i}function Ea(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return e?typeof a=="function"?a(e):n.locale.format(r.locale,e,a):""}function r0(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(i,s){n?r=e[i](r,e[a[s]](n)):r=e[i](r,0)}),r}function Ume(e,t,n,r,a){var o=En(function(i,s){return!!(n&&n(i,s)||r&&e.isAfter(r,i)&&!io(e,t,r,i,s.type)||a&&e.isAfter(i,a)&&!io(e,t,a,i,s.type))});return o}function Vme(e,t,n){return l.useMemo(function(){var r=RW(e,t,n),a=Tu(r),o=a[0],i=Pt(o)==="object"&&o.type==="mask"?o.format:null;return[a.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),i]},[e,t,n])}function Wme(e,t,n){return typeof e[0]=="function"||n?!0:t}function Gme(e,t,n,r){var a=En(function(o,i){var s=se({type:t},i);if(delete s.activeIndex,!e.isValidate(o)||n&&n(o,s))return!0;if((t==="date"||t==="time")&&r){var c,u=i&&i.activeIndex===1?"end":"start",f=((c=r.disabledTime)===null||c===void 0?void 0:c.call(r,o,u,{from:s.from}))||{},g=f.disabledHours,m=f.disabledMinutes,h=f.disabledSeconds,y=f.disabledMilliseconds,x=r.disabledHours,b=r.disabledMinutes,C=r.disabledSeconds,S=g||x,w=m||b,I=h||C,E=e.getHour(o),_=e.getMinute(o),R=e.getSecond(o),N=e.getMillisecond(o);if(S&&S().includes(E)||w&&w(E).includes(_)||I&&I(E,_).includes(R)||y&&y(E,_,R).includes(N))return!0}return!1});return a}function xv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=l.useMemo(function(){var r=e&&Tu(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function BW(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,o=a===void 0?"date":a,i=e.prefixCls,s=i===void 0?"rc-picker":i,c=e.styles,u=c===void 0?{}:c,f=e.classNames,g=f===void 0?{}:f,m=e.order,h=m===void 0?!0:m,y=e.components,x=y===void 0?{}:y,b=e.inputRender,C=e.allowClear,S=e.clearIcon,w=e.needConfirm,I=e.multiple,E=e.format,_=e.inputReadOnly,R=e.disabledDate,N=e.minDate,O=e.maxDate,$=e.showTime,A=e.value,B=e.defaultValue,j=e.pickerValue,F=e.defaultPickerValue,D=xv(A),k=xv(B),M=xv(j),L=xv(F),H=o==="date"&&$?"datetime":o,U=H==="time"||H==="datetime",z=U||I,W=w??U,q=MW(e),K=ye(q,4),G=K[0],X=K[1],Z=K[2],J=K[3],ne=kW(r,X),Q=l.useMemo(function(){return LW(H,Z,J,G,ne)},[H,Z,J,G,ne]),ee=l.useMemo(function(){return se(se({},e),{},{prefixCls:s,locale:ne,picker:o,styles:u,classNames:g,order:h,components:se({input:b},x),clearIcon:Bme(s,C,S),showTime:Q,value:D,defaultValue:k,pickerValue:M,defaultPickerValue:L},t==null?void 0:t())},[e]),te=Vme(H,ne,E),oe=ye(te,2),le=oe[0],fe=oe[1],ue=Wme(le,_,I),we=Ume(n,r,R,N,O),pe=Gme(n,o,we,Q),ve=l.useMemo(function(){return se(se({},ee),{},{needConfirm:W,inputReadOnly:ue,disabledDate:we})},[ee,W,ue,we]);return[ve,H,z,le,fe,pe]}function qme(e,t,n){var r=Vn(t,{value:e}),a=ye(r,2),o=a[0],i=a[1],s=ge.useRef(e),c=ge.useRef(),u=function(){mn.cancel(c.current)},f=En(function(){i(s.current),n&&o!==s.current&&n(s.current)}),g=En(function(m,h){u(),s.current=m,m||h?f():c.current=mn(f)});return ge.useEffect(function(){return u},[]),[o,g]}function zW(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,a=n.every(function(f){return f})?!1:e,o=qme(a,t||!1,r),i=ye(o,2),s=i[0],c=i[1];function u(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!g.inherit||s)&&c(f,g.force)}return[s,u]}function HW(e){var t=l.useRef();return l.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var o;(o=t.current)===null||o===void 0||o.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function UW(e,t){return l.useMemo(function(){return e||(t?(ar(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=ye(n,2),a=r[0],o=r[1];return{label:a,value:o}})):[])},[e,t])}function pN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=l.useRef(t);r.current=t,tu(function(){if(e)r.current(e);else{var a=mn(function(){r.current(e)},n);return function(){mn.cancel(a)}}},[e])}function VW(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=l.useState(0),a=ye(r,2),o=a[0],i=a[1],s=l.useState(!1),c=ye(s,2),u=c[0],f=c[1],g=l.useRef([]),m=l.useRef(null),h=l.useRef(null),y=function(I){m.current=I},x=function(I){return m.current===I},b=function(I){f(I)},C=function(I){return I&&(h.current=I),h.current},S=function(I){var E=g.current,_=new Set(E.filter(function(N){return I[N]||t[N]})),R=E[E.length-1]===0?1:0;return _.size>=2||e[R]?null:R};return pN(u||n,function(){u||(g.current=[],y(null))}),l.useEffect(function(){u&&g.current.push(o)},[u,o]),[u,b,C,o,i,S,g.current,y,x]}function Kme(e,t,n,r,a,o){var i=n[n.length-1],s=function(u,f){var g=ye(e,2),m=g[0],h=g[1],y=se(se({},f),{},{from:OW(e,n)});return i===1&&t[0]&&m&&!io(r,a,m,u,y.type)&&r.isAfter(m,u)||i===0&&t[1]&&h&&!io(r,a,h,u,y.type)&&r.isAfter(u,h)?!0:o==null?void 0:o(u,y)};return s}function Qp(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var H1=[];function WW(e,t,n,r,a,o,i,s){var c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:H1,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:H1,f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:H1,g=arguments.length>11?arguments[11]:void 0,m=arguments.length>12?arguments[12]:void 0,h=arguments.length>13?arguments[13]:void 0,y=i==="time",x=o||0,b=function(M){var L=e.getNow();return y&&(L=r0(e,L)),c[M]||n[M]||L},C=ye(u,2),S=C[0],w=C[1],I=Vn(function(){return b(0)},{value:S}),E=ye(I,2),_=E[0],R=E[1],N=Vn(function(){return b(1)},{value:w}),O=ye(N,2),$=O[0],A=O[1],B=l.useMemo(function(){var k=[_,$][x];return y?k:r0(e,k,f[x])},[y,_,$,x,e,f]),j=function(M){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",H=[R,A][x];H(M);var U=[_,$];U[x]=M,g&&(!io(e,t,_,U[0],i)||!io(e,t,$,U[1],i))&&g(U,{source:L,range:x===1?"end":"start",mode:r})},F=function(M,L){if(s){var H={date:"month",week:"month",month:"year",quarter:"year"},U=H[i];if(U&&!io(e,t,M,L,U))return Qp(e,i,L,-1);if(i==="year"&&M){var z=Math.floor(e.getYear(M)/10),W=Math.floor(e.getYear(L)/10);if(z!==W)return Qp(e,i,L,-1)}}return L},D=l.useRef(null);return Rn(function(){if(a&&!c[x]){var k=y?null:e.getNow();if(D.current!==null&&D.current!==x?k=[_,$][x^1]:n[x]?k=x===0?n[0]:F(n[0],n[1]):n[x^1]&&(k=n[x^1]),k){m&&e.isAfter(m,k)&&(k=m);var M=s?Qp(e,i,k,1):k;h&&e.isAfter(M,h)&&(k=s?Qp(e,i,h,-1):h),j(k,"reset")}}},[a,x,n[x]]),l.useEffect(function(){a?D.current=x:D.current=null},[a,x]),Rn(function(){a&&c&&c[x]&&j(c[x],"reset")},[a,x]),[B,j]}function GW(e,t){var n=l.useRef(e),r=l.useState({}),a=ye(r,2),o=a[1],i=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,o({})};return[i,s,i(!0)]}var Yme=[];function qW(e,t,n){var r=function(i){return i.map(function(s){return Ea(s,{generateConfig:e,locale:t,format:n[0]})})},a=function(i,s){for(var c=Math.max(i.length,s.length),u=-1,f=0;f2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,i=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var u=a.includes(c);(!u||!r)&&i.push({label:cN(c,o),value:c,disabled:u})}return i}function gN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},a=r.use12Hours,o=r.hourStep,i=o===void 0?1:o,s=r.minuteStep,c=s===void 0?1:s,u=r.secondStep,f=u===void 0?1:u,g=r.millisecondStep,m=g===void 0?100:g,h=r.hideDisabledOptions,y=r.disabledTime,x=r.disabledHours,b=r.disabledMinutes,C=r.disabledSeconds,S=l.useMemo(function(){return n||e.getNow()},[n,e]),w=l.useCallback(function(L){var H=(y==null?void 0:y(L))||{};return[H.disabledHours||x||Sv,H.disabledMinutes||b||Sv,H.disabledSeconds||C||Sv,H.disabledMilliseconds||Sv]},[y,x,b,C]),I=l.useMemo(function(){return w(S)},[S,w]),E=ye(I,4),_=E[0],R=E[1],N=E[2],O=E[3],$=l.useCallback(function(L,H,U,z){var W=Cv(0,23,i,h,L()),q=a?W.map(function(Z){return se(se({},Z),{},{label:cN(Z.value%12||12,2)})}):W,K=function(J){return Cv(0,59,c,h,H(J))},G=function(J,ne){return Cv(0,59,f,h,U(J,ne))},X=function(J,ne,Q){return Cv(0,999,m,h,z(J,ne,Q),3)};return[q,K,G,X]},[h,i,a,m,c,f]),A=l.useMemo(function(){return $(_,R,N,O)},[$,_,R,N,O]),B=ye(A,4),j=B[0],F=B[1],D=B[2],k=B[3],M=function(H,U){var z=function(){return j},W=F,q=D,K=k;if(U){var G=w(U),X=ye(G,4),Z=X[0],J=X[1],ne=X[2],Q=X[3],ee=$(Z,J,ne,Q),te=ye(ee,4),oe=te[0],le=te[1],fe=te[2],ue=te[3];z=function(){return oe},W=le,q=fe,K=ue}var we=Zme(H,z,W,q,K,e);return we};return[M,j,F,D,k]}function Jme(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,o=e.showTime,i=e.onSubmit,s=e.onNow,c=e.invalid,u=e.needConfirm,f=e.generateConfig,g=e.disabledDate,m=l.useContext(ts),h=m.prefixCls,y=m.locale,x=m.button,b=x===void 0?"button":x,C=f.getNow(),S=gN(f,o,C),w=ye(S,1),I=w[0],E=r==null?void 0:r(t),_=g(C,{type:t}),R=function(){if(!_){var F=I(C);s(F)}},N="".concat(h,"-now"),O="".concat(N,"-btn"),$=a&&l.createElement("li",{className:N},l.createElement("a",{className:ce(O,_&&"".concat(O,"-disabled")),"aria-disabled":_,onClick:R},n==="date"?y.today:y.now)),A=u&&l.createElement("li",{className:"".concat(h,"-ok")},l.createElement(b,{disabled:c,onClick:i},y.ok)),B=($||A)&&l.createElement("ul",{className:"".concat(h,"-ranges")},$,A);return!E&&!B?null:l.createElement("div",{className:"".concat(h,"-footer")},E&&l.createElement("div",{className:"".concat(h,"-footer-extra")},E),B)}function JW(e,t,n){function r(a,o){var i=a.findIndex(function(c){return io(e,t,c,o,n)});if(i===-1)return[].concat(Ze(a),[o]);var s=Ze(a);return s.splice(i,1),s}return r}var Ru=l.createContext(null);function Iy(){return l.useContext(Ru)}function Lf(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,o=e.disabledDate,i=e.minDate,s=e.maxDate,c=e.cellRender,u=e.hoverValue,f=e.hoverRangeValue,g=e.onHover,m=e.values,h=e.pickerValue,y=e.onSelect,x=e.prevIcon,b=e.nextIcon,C=e.superPrevIcon,S=e.superNextIcon,w=r.getNow(),I={now:w,values:m,pickerValue:h,prefixCls:n,disabledDate:o,minDate:i,maxDate:s,cellRender:c,hoverValue:u,hoverRangeValue:f,onHover:g,locale:a,generateConfig:r,onSelect:y,panelType:t,prevIcon:x,nextIcon:b,superPrevIcon:C,superNextIcon:S};return[I,w]}var Kl=l.createContext({});function Mm(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,o=e.prefixColumn,i=e.rowClassName,s=e.titleFormat,c=e.getCellText,u=e.getCellClassName,f=e.headerCells,g=e.cellSelection,m=g===void 0?!0:g,h=e.disabledDate,y=Iy(),x=y.prefixCls,b=y.panelType,C=y.now,S=y.disabledDate,w=y.cellRender,I=y.onHover,E=y.hoverValue,_=y.hoverRangeValue,R=y.generateConfig,N=y.values,O=y.locale,$=y.onSelect,A=h||S,B="".concat(x,"-cell"),j=l.useContext(Kl),F=j.onCellDblClick,D=function(q){return N.some(function(K){return K&&io(R,O,q,K,b)})},k=[],M=0;M1&&arguments[1]!==void 0?arguments[1]:!1;ie(Ae),b==null||b(Ae),Le&&he(Ae)},_e=function(Ae,Le){ne(Ae),Le&&Se(Le),he(Le,Ae)},$e=function(Ae){if(pe(Ae),Se(Ae),J!==I){var Le=["decade","year"],Te=[].concat(Le,["month"]),Ve={quarter:[].concat(Le,["quarter"]),week:[].concat(Ze(Te),["week"]),date:[].concat(Ze(Te),["date"])},Je=Ve[I]||Te,Qe=Je.indexOf(J),ut=Je[Qe+1];ut&&_e(ut,Ae)}},ze=l.useMemo(function(){var Re,Ae;if(Array.isArray(R)){var Le=ye(R,2);Re=Le[0],Ae=Le[1]}else Re=R;return!Re&&!Ae?null:(Re=Re||Ae,Ae=Ae||Re,a.isAfter(Re,Ae)?[Ae,Re]:[Re,Ae])},[R,a]),Fe=uN(N,O,$),je=B[Q]||uhe[Q]||_y,qe=l.useContext(Kl),Ue=l.useMemo(function(){return se(se({},qe),{},{hideHeader:j})},[qe,j]),Ne="".concat(F,"-panel"),Ye=wy(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return l.createElement(Kl.Provider,{value:Ue},l.createElement("div",{ref:D,tabIndex:c,className:ce(Ne,re({},"".concat(Ne,"-rtl"),o==="rtl"))},l.createElement(je,Ie({},Ye,{showTime:K,prefixCls:F,locale:W,generateConfig:a,onModeChange:_e,pickerValue:me,onPickerValueChange:function(Ae){Se(Ae,!0)},value:ue[0],onSelect:$e,values:ue,cellRender:Fe,hoverRangeValue:ze,hoverValue:_}))))}var U1=l.memo(l.forwardRef(dhe));function fhe(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,o=e.needConfirm,i=e.onSubmit,s=e.range,c=e.hoverValue,u=l.useContext(ts),f=u.prefixCls,g=u.generateConfig,m=l.useCallback(function(S,w){return Qp(g,t,S,w)},[g,t]),h=l.useMemo(function(){return m(r,1)},[r,m]),y=function(w){a(m(w,-1))},x={onCellDblClick:function(){o&&i()}},b=t==="time",C=se(se({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:b});return s?C.hoverRangeValue=c:C.hoverValue=c,n?l.createElement("div",{className:"".concat(f,"-panels")},l.createElement(Kl.Provider,{value:se(se({},x),{},{hideNext:!0})},l.createElement(U1,C)),l.createElement(Kl.Provider,{value:se(se({},x),{},{hidePrev:!0})},l.createElement(U1,Ie({},C,{pickerValue:h,onPickerValueChange:y})))):l.createElement(Kl.Provider,{value:se({},x)},l.createElement(U1,C))}function C4(e){return typeof e=="function"?e():e}function phe(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?l.createElement("div",{className:"".concat(t,"-presets")},l.createElement("ul",null,n.map(function(o,i){var s=o.label,c=o.value;return l.createElement("li",{key:i,onClick:function(){r(C4(c))},onMouseEnter:function(){a(C4(c))},onMouseLeave:function(){a(null)}},s)}))):null}function eG(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,o=e.range,i=e.multiple,s=e.activeInfo,c=s===void 0?[0,0,0]:s,u=e.presets,f=e.onPresetHover,g=e.onPresetSubmit,m=e.onFocus,h=e.onBlur,y=e.onPanelMouseDown,x=e.direction,b=e.value,C=e.onSelect,S=e.isInvalid,w=e.defaultOpenValue,I=e.onOk,E=e.onSubmit,_=l.useContext(ts),R=_.prefixCls,N="".concat(R,"-panel"),O=x==="rtl",$=l.useRef(null),A=l.useRef(null),B=l.useState(0),j=ye(B,2),F=j[0],D=j[1],k=l.useState(0),M=ye(k,2),L=M[0],H=M[1],U=l.useState(0),z=ye(U,2),W=z[0],q=z[1],K=function($e){$e.width&&D($e.width)},G=ye(c,3),X=G[0],Z=G[1],J=G[2],ne=l.useState(0),Q=ye(ne,2),ee=Q[0],te=Q[1];l.useEffect(function(){te(10)},[X]),l.useEffect(function(){if(o&&A.current){var _e,$e=((_e=$.current)===null||_e===void 0?void 0:_e.offsetWidth)||0,ze=A.current.getBoundingClientRect();if(!ze.height||ze.right<0){te(function(Ue){return Math.max(0,Ue-1)});return}var Fe=(O?Z-$e:X)-ze.left;if(q(Fe),F&&F=s&&n<=c)return o;var u=Math.min(Math.abs(n-s),Math.abs(n-c));u0?Be:Ke));var tt=ht+Ee,ct=Ke-Be+1;return String(Be+(ct+tt-Be)%ct)};switch(Ae){case"Backspace":case"Delete":Le="",Te=Je;break;case"ArrowLeft":Le="",Qe(-1);break;case"ArrowRight":Le="",Qe(1);break;case"ArrowUp":Le="",Te=ut(1);break;case"ArrowDown":Le="",Te=ut(-1);break;default:isNaN(Number(Ae))||(Le=z+Ae,Te=Le);break}if(Le!==null&&(W(Le),Le.length>=Ve&&(Qe(1),W(""))),Te!==null){var xe=ee.slice(0,we)+cN(Te,Ve)+ee.slice(pe);Ce(xe.slice(0,i.length))}Q({})},Ue=l.useRef();Rn(function(){if(!(!j||!i||he.current)){if(!le.match(ee)){Ce(i);return}return oe.current.setSelectionRange(we,pe),Ue.current=mn(function(){oe.current.setSelectionRange(we,pe)}),function(){mn.cancel(Ue.current)}}},[le,i,j,ee,G,we,pe,ne,Ce]);var Ne=i?{onFocus:$e,onBlur:Fe,onKeyDown:qe,onMouseDown:Se,onMouseUp:_e,onPaste:ie}:{};return l.createElement("div",{ref:te,className:ce($,re(re({},"".concat($,"-active"),n&&a),"".concat($,"-placeholder"),u))},l.createElement(O,Ie({ref:oe,"aria-invalid":x,autoComplete:"off"},C,{onKeyDown:je,onBlur:ze},Ne,{value:ee,onChange:me})),l.createElement(Ty,{type:"suffix",icon:o}),b)}),xhe=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],She=["index"];function Che(e,t){var n=e.id,r=e.prefix,a=e.clearIcon,o=e.suffixIcon,i=e.separator,s=i===void 0?"~":i,c=e.activeIndex;e.activeHelp,e.allHelp;var u=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var f=e.placeholder,g=e.className,m=e.style,h=e.onClick,y=e.onClear,x=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var b=e.disabled,C=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var w=e.onActiveInfo;e.placement;var I=e.onMouseDown;e.required,e["aria-required"];var E=e.autoFocus,_=e.tabIndex,R=Bt(e,xhe),N=S==="rtl",O=l.useContext(ts),$=O.prefixCls,A=l.useMemo(function(){if(typeof n=="string")return[n];var ne=n||{};return[ne.start,ne.end]},[n]),B=l.useRef(),j=l.useRef(),F=l.useRef(),D=function(Q){var ee;return(ee=[j,F][Q])===null||ee===void 0?void 0:ee.current};l.useImperativeHandle(t,function(){return{nativeElement:B.current,focus:function(Q){if(Pt(Q)==="object"){var ee,te=Q||{},oe=te.index,le=oe===void 0?0:oe,fe=Bt(te,She);(ee=D(le))===null||ee===void 0||ee.focus(fe)}else{var ue;(ue=D(Q??0))===null||ue===void 0||ue.focus()}},blur:function(){var Q,ee;(Q=D(0))===null||Q===void 0||Q.blur(),(ee=D(1))===null||ee===void 0||ee.blur()}}});var k=nG(R),M=l.useMemo(function(){return Array.isArray(f)?f:[f,f]},[f]),L=tG(se(se({},e),{},{id:A,placeholder:M})),H=ye(L,1),U=H[0],z=l.useState({position:"absolute",width:0}),W=ye(z,2),q=W[0],K=W[1],G=En(function(){var ne=D(c);if(ne){var Q=ne.nativeElement.getBoundingClientRect(),ee=B.current.getBoundingClientRect(),te=Q.left-ee.left;K(function(oe){return se(se({},oe),{},{width:Q.width,left:te})}),w([Q.left,Q.right,ee.width])}});l.useEffect(function(){G()},[c]);var X=a&&(x[0]&&!b[0]||x[1]&&!b[1]),Z=E&&!b[0],J=E&&!Z&&!b[1];return l.createElement(Xa,{onResize:G},l.createElement("div",Ie({},k,{className:ce($,"".concat($,"-range"),re(re(re(re({},"".concat($,"-focused"),u),"".concat($,"-disabled"),b.every(function(ne){return ne})),"".concat($,"-invalid"),C.some(function(ne){return ne})),"".concat($,"-rtl"),N),g),style:m,ref:B,onClick:h,onMouseDown:function(Q){var ee=Q.target;ee!==j.current.inputElement&&ee!==F.current.inputElement&&Q.preventDefault(),I==null||I(Q)}}),r&&l.createElement("div",{className:"".concat($,"-prefix")},r),l.createElement(lO,Ie({ref:j},U(0),{autoFocus:Z,tabIndex:_,"date-range":"start"})),l.createElement("div",{className:"".concat($,"-range-separator")},s),l.createElement(lO,Ie({ref:F},U(1),{autoFocus:J,tabIndex:_,"date-range":"end"})),l.createElement("div",{className:"".concat($,"-active-bar"),style:q}),l.createElement(Ty,{type:"suffix",icon:o}),X&&l.createElement(sO,{icon:a,onClear:y})))}var whe=l.forwardRef(Che);function E4(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function Ev(e){return e===1?"end":"start"}function Ehe(e,t){var n=BW(e,function(){var kt=e.disabled,wt=e.allowEmpty,an=E4(kt,!1),Fn=E4(wt,!1);return{disabled:an,allowEmpty:Fn}}),r=ye(n,6),a=r[0],o=r[1],i=r[2],s=r[3],c=r[4],u=r[5],f=a.prefixCls,g=a.styles,m=a.classNames,h=a.defaultValue,y=a.value,x=a.needConfirm,b=a.onKeyDown,C=a.disabled,S=a.allowEmpty,w=a.disabledDate,I=a.minDate,E=a.maxDate,_=a.defaultOpen,R=a.open,N=a.onOpenChange,O=a.locale,$=a.generateConfig,A=a.picker,B=a.showNow,j=a.showToday,F=a.showTime,D=a.mode,k=a.onPanelChange,M=a.onCalendarChange,L=a.onOk,H=a.defaultPickerValue,U=a.pickerValue,z=a.onPickerValueChange,W=a.inputReadOnly,q=a.suffixIcon,K=a.onFocus,G=a.onBlur,X=a.presets,Z=a.ranges,J=a.components,ne=a.cellRender,Q=a.dateRender,ee=a.monthCellRender,te=a.onClick,oe=HW(t),le=zW(R,_,C,N),fe=ye(le,2),ue=fe[0],we=fe[1],pe=function(wt,an){(C.some(function(Fn){return!Fn})||!wt)&&we(wt,an)},ve=YW($,O,s,!0,!1,h,y,M,L),Ce=ye(ve,5),me=Ce[0],ie=Ce[1],he=Ce[2],Se=Ce[3],_e=Ce[4],$e=he(),ze=VW(C,S,ue),Fe=ye(ze,9),je=Fe[0],qe=Fe[1],Ue=Fe[2],Ne=Fe[3],Ye=Fe[4],Re=Fe[5],Ae=Fe[6],Le=Fe[7],Te=Fe[8],Ve=function(wt,an){qe(!0),K==null||K(wt,{range:Ev(an??Ne)})},Je=function(wt,an){qe(!1),G==null||G(wt,{range:Ev(an??Ne)})},Qe=l.useMemo(function(){if(!F)return null;var kt=F.disabledTime,wt=kt?function(an){var Fn=Ev(Ne),Bn=OW($e,Ae,Ne);return kt(an,Fn,{from:Bn})}:void 0;return se(se({},F),{},{disabledTime:wt})},[F,Ne,$e,Ae]),ut=Vn([A,A],{value:D}),xe=ye(ut,2),be=xe[0],Ee=xe[1],ke=be[Ne]||A,et=ke==="date"&&Qe?"datetime":ke,Be=et===A&&et!=="time",Ke=ZW(A,ke,B,j,!0),Ge=XW(a,me,ie,he,Se,C,s,je,ue,u),nt=ye(Ge,2),ht=nt[0],tt=nt[1],ct=Kme($e,C,Ae,$,O,w),bt=NW($e,u,S),St=ye(bt,2),yt=St[0],Dt=St[1],Rt=WW($,O,$e,be,ue,Ne,o,Be,H,U,Qe==null?void 0:Qe.defaultOpenValue,z,I,E),_t=ye(Rt,2),jt=_t[0],zt=_t[1],en=En(function(kt,wt,an){var Fn=gg(be,Ne,wt);if((Fn[0]!==be[0]||Fn[1]!==be[1])&&Ee(Fn),k&&an!==!1){var Bn=Ze($e);kt&&(Bn[Ne]=kt),k(Bn,Fn)}}),gn=function(wt,an){return gg($e,an,wt)},on=function(wt,an){var Fn=$e;wt&&(Fn=gn(wt,Ne)),Le(Ne);var Bn=Re(Fn);Se(Fn),ht(Ne,Bn===null),Bn===null?pe(!1,{force:!0}):an||oe.current.focus({index:Bn})},Ft=function(wt){var an,Fn=wt.target.getRootNode();if(!oe.current.nativeElement.contains((an=Fn.activeElement)!==null&&an!==void 0?an:document.activeElement)){var Bn=C.findIndex(function(br){return!br});Bn>=0&&oe.current.focus({index:Bn})}pe(!0),te==null||te(wt)},qt=function(){tt(null),pe(!1,{force:!0})},Jt=l.useState(null),st=ye(Jt,2),Ct=st[0],ot=st[1],We=l.useState(null),dt=ye(We,2),Ot=dt[0],Zt=dt[1],yn=l.useMemo(function(){return Ot||$e},[$e,Ot]);l.useEffect(function(){ue||Zt(null)},[ue]);var Nt=l.useState([0,0,0]),At=ye(Nt,2),Xt=At[0],ln=At[1],Mn=UW(X,Z),$n=function(wt){Zt(wt),ot("preset")},sr=function(wt){var an=tt(wt);an&&pe(!1,{force:!0})},pr=function(wt){on(wt)},la=function(wt){Zt(wt?gn(wt,Ne):null),ot("cell")},Xr=function(wt){pe(!0),Ve(wt)},wr=function(){Ue("panel")},Zr=function(wt){var an=gg($e,Ne,wt);Se(an),!x&&!i&&o===et&&on(wt)},bn=function(){pe(!1)},Kt=uN(ne,Q,ee,Ev(Ne)),Gt=$e[Ne]||null,Ln=En(function(kt){return u(kt,{activeIndex:Ne})}),Ht=l.useMemo(function(){var kt=zr(a,!1),wt=or(a,[].concat(Ze(Object.keys(kt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return wt},[a]),Ut=l.createElement(eG,Ie({},Ht,{showNow:Ke,showTime:Qe,range:!0,multiplePanel:Be,activeInfo:Xt,disabledDate:ct,onFocus:Xr,onBlur:Je,onPanelMouseDown:wr,picker:A,mode:ke,internalMode:et,onPanelChange:en,format:c,value:Gt,isInvalid:Ln,onChange:null,onSelect:Zr,pickerValue:jt,defaultOpenValue:Tu(F==null?void 0:F.defaultOpenValue)[Ne],onPickerValueChange:zt,hoverValue:yn,onHover:la,needConfirm:x,onSubmit:on,onOk:_e,presets:Mn,onPresetHover:$n,onPresetSubmit:sr,onNow:pr,cellRender:Kt})),On=function(wt,an){var Fn=gn(wt,an);Se(Fn)},lr=function(){Ue("input")},vr=function(wt,an){var Fn=Ae.length,Bn=Ae[Fn-1];if(Fn&&Bn!==an&&x&&!S[Bn]&&!Te(Bn)&&$e[Bn]){oe.current.focus({index:Bn});return}Ue("input"),pe(!0,{inherit:!0}),Ne!==an&&ue&&!x&&i&&on(null,!0),Ye(an),Ve(wt,an)},xn=function(wt,an){if(pe(!1),!x&&Ue()==="input"){var Fn=Re($e);ht(Ne,Fn===null)}Je(wt,an)},Mr=function(wt,an){wt.key==="Tab"&&on(null,!0),b==null||b(wt,an)},Jr=l.useMemo(function(){return{prefixCls:f,locale:O,generateConfig:$,button:J.button,input:J.input}},[f,O,$,J.button,J.input]);return Rn(function(){ue&&Ne!==void 0&&en(null,A,!1)},[ue,Ne,A]),Rn(function(){var kt=Ue();!ue&&kt==="input"&&(pe(!1),on(null,!0)),!ue&&i&&!x&&kt==="panel"&&(pe(!0),on())},[ue]),l.createElement(ts.Provider,{value:Jr},l.createElement(TW,Ie({},$W(a),{popupElement:Ut,popupStyle:g.popup,popupClassName:m.popup,visible:ue,onClose:bn,range:!0}),l.createElement(whe,Ie({},a,{ref:oe,suffixIcon:q,activeIndex:je||ue?Ne:null,activeHelp:!!Ot,allHelp:!!Ot&&Ct==="preset",focused:je,onFocus:vr,onBlur:xn,onKeyDown:Mr,onSubmit:on,value:yn,maskFormat:c,onChange:On,onInputChange:lr,format:s,inputReadOnly:W,disabled:C,open:ue,onOpenChange:pe,onClick:Ft,onClear:qt,invalid:yt,onInvalid:Dt,onActiveInfo:ln}))))}var Ihe=l.forwardRef(Ehe);function _he(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,o=a===void 0?"×":a,i=e.formatDate,s=e.disabled,c=e.maxTagCount,u=e.placeholder,f="".concat(t,"-selector"),g="".concat(t,"-selection"),m="".concat(g,"-overflow");function h(b,C){return l.createElement("span",{className:ce("".concat(g,"-item")),title:typeof b=="string"?b:null},l.createElement("span",{className:"".concat(g,"-item-content")},b),!s&&C&&l.createElement("span",{onMouseDown:function(w){w.preventDefault()},onClick:C,className:"".concat(g,"-item-remove")},o))}function y(b){var C=i(b),S=function(I){I&&I.stopPropagation(),r(b)};return h(C,S)}function x(b){var C="+ ".concat(b.length," ...");return h(C)}return l.createElement("div",{className:f},l.createElement(Gi,{prefixCls:m,data:n,renderItem:y,renderRest:x,itemKey:function(C){return i(C)},maxCount:c}),!n.length&&l.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var The=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function Rhe(e,t){e.id;var n=e.open,r=e.prefix,a=e.clearIcon,o=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var s=e.locale,c=e.generateConfig,u=e.placeholder,f=e.className,g=e.style,m=e.onClick,h=e.onClear,y=e.internalPicker,x=e.value,b=e.onChange,C=e.onSubmit;e.onInputChange;var S=e.multiple,w=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var I=e.disabled,E=e.invalid;e.inputReadOnly;var _=e.direction;e.onOpenChange;var R=e.onMouseDown;e.required,e["aria-required"];var N=e.autoFocus,O=e.tabIndex,$=e.removeIcon,A=Bt(e,The),B=_==="rtl",j=l.useContext(ts),F=j.prefixCls,D=l.useRef(),k=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:D.current,focus:function(Z){var J;(J=k.current)===null||J===void 0||J.focus(Z)},blur:function(){var Z;(Z=k.current)===null||Z===void 0||Z.blur()}}});var M=nG(A),L=function(Z){b([Z])},H=function(Z){var J=x.filter(function(ne){return ne&&!io(c,s,ne,Z,y)});b(J),n||C()},U=tG(se(se({},e),{},{onChange:L}),function(X){var Z=X.valueTexts;return{value:Z[0]||"",active:i}}),z=ye(U,2),W=z[0],q=z[1],K=!!(a&&x.length&&!I),G=S?l.createElement(l.Fragment,null,l.createElement(_he,{prefixCls:F,value:x,onRemove:H,formatDate:q,maxTagCount:w,disabled:I,removeIcon:$,placeholder:u}),l.createElement("input",{className:"".concat(F,"-multiple-input"),value:x.map(q).join(","),ref:k,readOnly:!0,autoFocus:N,tabIndex:O}),l.createElement(Ty,{type:"suffix",icon:o}),K&&l.createElement(sO,{icon:a,onClear:h})):l.createElement(lO,Ie({ref:k},W(),{autoFocus:N,tabIndex:O,suffixIcon:o,clearIcon:K&&l.createElement(sO,{icon:a,onClear:h}),showActiveCls:!1}));return l.createElement("div",Ie({},M,{className:ce(F,re(re(re(re(re({},"".concat(F,"-multiple"),S),"".concat(F,"-focused"),i),"".concat(F,"-disabled"),I),"".concat(F,"-invalid"),E),"".concat(F,"-rtl"),B),f),style:g,ref:D,onClick:m,onMouseDown:function(Z){var J,ne=Z.target;ne!==((J=k.current)===null||J===void 0?void 0:J.inputElement)&&Z.preventDefault(),R==null||R(Z)}}),r&&l.createElement("div",{className:"".concat(F,"-prefix")},r),G)}var Ohe=l.forwardRef(Rhe);function $he(e,t){var n=BW(e),r=ye(n,6),a=r[0],o=r[1],i=r[2],s=r[3],c=r[4],u=r[5],f=a,g=f.prefixCls,m=f.styles,h=f.classNames,y=f.order,x=f.defaultValue,b=f.value,C=f.needConfirm,S=f.onChange,w=f.onKeyDown,I=f.disabled,E=f.disabledDate,_=f.minDate,R=f.maxDate,N=f.defaultOpen,O=f.open,$=f.onOpenChange,A=f.locale,B=f.generateConfig,j=f.picker,F=f.showNow,D=f.showToday,k=f.showTime,M=f.mode,L=f.onPanelChange,H=f.onCalendarChange,U=f.onOk,z=f.multiple,W=f.defaultPickerValue,q=f.pickerValue,K=f.onPickerValueChange,G=f.inputReadOnly,X=f.suffixIcon,Z=f.removeIcon,J=f.onFocus,ne=f.onBlur,Q=f.presets,ee=f.components,te=f.cellRender,oe=f.dateRender,le=f.monthCellRender,fe=f.onClick,ue=HW(t);function we(Ht){return Ht===null?null:z?Ht:Ht[0]}var pe=JW(B,A,o),ve=zW(O,N,[I],$),Ce=ye(ve,2),me=Ce[0],ie=Ce[1],he=function(Ut,On,lr){if(H){var vr=se({},lr);delete vr.range,H(we(Ut),we(On),vr)}},Se=function(Ut){U==null||U(we(Ut))},_e=YW(B,A,s,!1,y,x,b,he,Se),$e=ye(_e,5),ze=$e[0],Fe=$e[1],je=$e[2],qe=$e[3],Ue=$e[4],Ne=je(),Ye=VW([I]),Re=ye(Ye,4),Ae=Re[0],Le=Re[1],Te=Re[2],Ve=Re[3],Je=function(Ut){Le(!0),J==null||J(Ut,{})},Qe=function(Ut){Le(!1),ne==null||ne(Ut,{})},ut=Vn(j,{value:M}),xe=ye(ut,2),be=xe[0],Ee=xe[1],ke=be==="date"&&k?"datetime":be,et=ZW(j,be,F,D),Be=S&&function(Ht,Ut){S(we(Ht),we(Ut))},Ke=XW(se(se({},a),{},{onChange:Be}),ze,Fe,je,qe,[],s,Ae,me,u),Ge=ye(Ke,2),nt=Ge[1],ht=NW(Ne,u),tt=ye(ht,2),ct=tt[0],bt=tt[1],St=l.useMemo(function(){return ct.some(function(Ht){return Ht})},[ct]),yt=function(Ut,On){if(K){var lr=se(se({},On),{},{mode:On.mode[0]});delete lr.range,K(Ut[0],lr)}},Dt=WW(B,A,Ne,[be],me,Ve,o,!1,W,q,Tu(k==null?void 0:k.defaultOpenValue),yt,_,R),Rt=ye(Dt,2),_t=Rt[0],jt=Rt[1],zt=En(function(Ht,Ut,On){if(Ee(Ut),L&&On!==!1){var lr=Ht||Ne[Ne.length-1];L(lr,Ut)}}),en=function(){nt(je()),ie(!1,{force:!0})},gn=function(Ut){!I&&!ue.current.nativeElement.contains(document.activeElement)&&ue.current.focus(),ie(!0),fe==null||fe(Ut)},on=function(){nt(null),ie(!1,{force:!0})},Ft=l.useState(null),qt=ye(Ft,2),Jt=qt[0],st=qt[1],Ct=l.useState(null),ot=ye(Ct,2),We=ot[0],dt=ot[1],Ot=l.useMemo(function(){var Ht=[We].concat(Ze(Ne)).filter(function(Ut){return Ut});return z?Ht:Ht.slice(0,1)},[Ne,We,z]),Zt=l.useMemo(function(){return!z&&We?[We]:Ne.filter(function(Ht){return Ht})},[Ne,We,z]);l.useEffect(function(){me||dt(null)},[me]);var yn=UW(Q),Nt=function(Ut){dt(Ut),st("preset")},At=function(Ut){var On=z?pe(je(),Ut):[Ut],lr=nt(On);lr&&!z&&ie(!1,{force:!0})},Xt=function(Ut){At(Ut)},ln=function(Ut){dt(Ut),st("cell")},Mn=function(Ut){ie(!0),Je(Ut)},$n=function(Ut){if(Te("panel"),!(z&&ke!==j)){var On=z?pe(je(),Ut):[Ut];qe(On),!C&&!i&&o===ke&&en()}},sr=function(){ie(!1)},pr=uN(te,oe,le),la=l.useMemo(function(){var Ht=zr(a,!1),Ut=or(a,[].concat(Ze(Object.keys(Ht)),["onChange","onCalendarChange","style","className","onPanelChange"]));return se(se({},Ut),{},{multiple:a.multiple})},[a]),Xr=l.createElement(eG,Ie({},la,{showNow:et,showTime:k,disabledDate:E,onFocus:Mn,onBlur:Qe,picker:j,mode:be,internalMode:ke,onPanelChange:zt,format:c,value:Ne,isInvalid:u,onChange:null,onSelect:$n,pickerValue:_t,defaultOpenValue:k==null?void 0:k.defaultOpenValue,onPickerValueChange:jt,hoverValue:Ot,onHover:ln,needConfirm:C,onSubmit:en,onOk:Ue,presets:yn,onPresetHover:Nt,onPresetSubmit:At,onNow:Xt,cellRender:pr})),wr=function(Ut){qe(Ut)},Zr=function(){Te("input")},bn=function(Ut){Te("input"),ie(!0,{inherit:!0}),Je(Ut)},Kt=function(Ut){ie(!1),Qe(Ut)},Gt=function(Ut,On){Ut.key==="Tab"&&en(),w==null||w(Ut,On)},Ln=l.useMemo(function(){return{prefixCls:g,locale:A,generateConfig:B,button:ee.button,input:ee.input}},[g,A,B,ee.button,ee.input]);return Rn(function(){me&&Ve!==void 0&&zt(null,j,!1)},[me,Ve,j]),Rn(function(){var Ht=Te();!me&&Ht==="input"&&(ie(!1),en()),!me&&i&&!C&&Ht==="panel"&&en()},[me]),l.createElement(ts.Provider,{value:Ln},l.createElement(TW,Ie({},$W(a),{popupElement:Xr,popupStyle:m.popup,popupClassName:h.popup,visible:me,onClose:sr}),l.createElement(Ohe,Ie({},a,{ref:ue,suffixIcon:X,removeIcon:Z,activeHelp:!!We,allHelp:!!We&&Jt==="preset",focused:Ae,onFocus:bn,onBlur:Kt,onKeyDown:Gt,onSubmit:en,value:Zt,maskFormat:c,onChange:wr,onInputChange:Zr,internalPicker:o,format:s,inputReadOnly:G,disabled:I,open:me,onOpenChange:ie,onClick:gn,onClear:on,invalid:St,onInvalid:function(Ut){bt(Ut,0)}}))))}var Nhe=l.forwardRef($he);const rG=l.createContext(null),Ahe=rG.Provider,aG=l.createContext(null),khe=aG.Provider;var Phe=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],oG=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,a=e.className,o=e.style,i=e.checked,s=e.disabled,c=e.defaultChecked,u=c===void 0?!1:c,f=e.type,g=f===void 0?"checkbox":f,m=e.title,h=e.onChange,y=Bt(e,Phe),x=l.useRef(null),b=l.useRef(null),C=Vn(u,{value:i}),S=ye(C,2),w=S[0],I=S[1];l.useImperativeHandle(t,function(){return{focus:function(N){var O;(O=x.current)===null||O===void 0||O.focus(N)},blur:function(){var N;(N=x.current)===null||N===void 0||N.blur()},input:x.current,nativeElement:b.current}});var E=ce(r,a,re(re({},"".concat(r,"-checked"),w),"".concat(r,"-disabled"),s)),_=function(N){s||("checked"in e||I(N.target.checked),h==null||h({target:se(se({},e),{},{type:g,checked:N.target.checked}),stopPropagation:function(){N.stopPropagation()},preventDefault:function(){N.preventDefault()},nativeEvent:N.nativeEvent}))};return l.createElement("span",{className:E,title:m,style:o,ref:b},l.createElement("input",Ie({},y,{className:"".concat(r,"-input"),ref:x,onChange:_,disabled:s,checked:!!w,type:g})),l.createElement("span",{className:"".concat(r,"-inner")}))});function iG(e){const t=ge.useRef(null),n=()=>{mn.cancel(t.current),t.current=null};return[()=>{n(),t.current=mn(()=>{t.current=null})},o=>{t.current&&(o.stopPropagation(),n()),e==null||e(o)}]}const Dhe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},Dn(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`&${r}-block`]:{display:"flex"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},Mhe=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:o,motionDurationMid:i,motionEaseInOutCirc:s,colorBgContainer:c,colorBorder:u,lineWidth:f,colorBgContainerDisabled:g,colorTextDisabled:m,paddingXS:h,dotColorDisabled:y,lineType:x,radioColor:b,radioBgColor:C,calc:S}=e,w=`${t}-inner`,E=S(a).sub(S(4).mul(2)),_=S(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},Dn(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${ae(f)} ${x} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},Dn(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${w}`]:{borderColor:r},[`${t}-input:focus-visible + ${w}`]:Object.assign({},Xi(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:_,height:_,marginBlockStart:S(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:S(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:b,borderBlockStart:0,borderInlineStart:0,borderRadius:_,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:_,height:_,backgroundColor:c,borderColor:u,borderStyle:"solid",borderWidth:f,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[w]:{borderColor:r,backgroundColor:C,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[w]:{backgroundColor:g,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:y}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[w]:{"&::after":{transform:`scale(${S(E).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:h,paddingInlineEnd:h}})}},Lhe=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:o,colorBorder:i,motionDurationSlow:s,motionDurationMid:c,buttonPaddingInline:u,fontSize:f,buttonBg:g,fontSizeLG:m,controlHeightLG:h,controlHeightSM:y,paddingXS:x,borderRadius:b,borderRadiusSM:C,borderRadiusLG:S,buttonCheckedBg:w,buttonSolidCheckedColor:I,colorTextDisabled:E,colorBgContainerDisabled:_,buttonCheckedBgDisabled:R,buttonCheckedColorDisabled:N,colorPrimary:O,colorPrimaryHover:$,colorPrimaryActive:A,buttonSolidCheckedBg:B,buttonSolidCheckedHoverBg:j,buttonSolidCheckedActiveBg:F,calc:D}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:f,lineHeight:ae(D(n).sub(D(a).mul(2)).equal()),background:g,border:`${ae(a)} ${o} ${i}`,borderBlockStartWidth:D(a).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:D(a).mul(-1).equal(),insetInlineStart:D(a).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${ae(a)} ${o} ${i}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${r}-group-large &`]:{height:h,fontSize:m,lineHeight:ae(D(h).sub(D(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},[`${r}-group-small &`]:{height:y,paddingInline:D(x).sub(a).equal(),paddingBlock:0,lineHeight:ae(D(y).sub(D(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:C,borderEndStartRadius:C},"&:last-child":{borderStartEndRadius:C,borderEndEndRadius:C}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},Xi(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:w,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:$,borderColor:$,"&::before":{backgroundColor:$}},"&:active":{color:A,borderColor:A,"&::before":{backgroundColor:A}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:I,background:B,borderColor:B,"&:hover":{color:I,background:j,borderColor:j},"&:active":{color:I,background:F,borderColor:F}},"&-disabled":{color:E,backgroundColor:_,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:_,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:N,backgroundColor:R,borderColor:i,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},jhe=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:o,colorText:i,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:u,colorTextLightSolid:f,colorPrimary:g,colorPrimaryHover:m,colorPrimaryActive:h,colorWhite:y}=e,x=4,b=o,C=t?b-x*2:b-(x+a)*2;return{radioSize:b,dotSize:C,dotColorDisabled:c,buttonSolidCheckedColor:f,buttonSolidCheckedBg:g,buttonSolidCheckedHoverBg:m,buttonSolidCheckedActiveBg:h,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:c,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?g:y,radioBgColor:t?s:g}},sG=Nn("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${ae(n)} ${t}`,o=fn(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Dhe(o),Mhe(o),Lhe(o)]},jhe,{unitless:{radioSize:!0,dotSize:!0}});var Fhe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const a=l.useContext(rG),o=l.useContext(aG),{getPrefixCls:i,direction:s,radio:c}=l.useContext(Wt),u=l.useRef(null),f=Ua(t,u),{isFormItemInput:g}=l.useContext(Ta),m=k=>{var M,L;(M=e.onChange)===null||M===void 0||M.call(e,k),(L=a==null?void 0:a.onChange)===null||L===void 0||L.call(a,k)},{prefixCls:h,className:y,rootClassName:x,children:b,style:C,title:S}=e,w=Fhe(e,["prefixCls","className","rootClassName","children","style","title"]),I=i("radio",h),E=((a==null?void 0:a.optionType)||o)==="button",_=E?`${I}-button`:I,R=Hr(I),[N,O,$]=sG(I,R),A=Object.assign({},w),B=l.useContext(za);a&&(A.name=a.name,A.onChange=m,A.checked=e.value===a.value,A.disabled=(n=A.disabled)!==null&&n!==void 0?n:a.disabled),A.disabled=(r=A.disabled)!==null&&r!==void 0?r:B;const j=ce(`${_}-wrapper`,{[`${_}-wrapper-checked`]:A.checked,[`${_}-wrapper-disabled`]:A.disabled,[`${_}-wrapper-rtl`]:s==="rtl",[`${_}-wrapper-in-form-item`]:g,[`${_}-wrapper-block`]:!!(a!=null&&a.block)},c==null?void 0:c.className,y,x,O,$,R),[F,D]=iG(A.onClick);return N(l.createElement(Sm,{component:"Radio",disabled:A.disabled},l.createElement("label",{className:j,style:Object.assign(Object.assign({},c==null?void 0:c.style),C),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:S,onClick:F},l.createElement(oG,Object.assign({},A,{className:ce(A.className,{[Y0]:!E}),type:"radio",prefixCls:_,ref:f,onClick:D})),b!==void 0?l.createElement("span",{className:`${_}-label`},b):null)))},a0=l.forwardRef(Bhe),zhe=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=l.useContext(Wt),a=ly(),{prefixCls:o,className:i,rootClassName:s,options:c,buttonStyle:u="outline",disabled:f,children:g,size:m,style:h,id:y,optionType:x,name:b=a,defaultValue:C,value:S,block:w=!1,onChange:I,onMouseEnter:E,onMouseLeave:_,onFocus:R,onBlur:N}=e,[O,$]=Vn(C,{value:S}),A=l.useCallback(W=>{const q=O,K=W.target.value;"value"in e||$(K),K!==q&&(I==null||I(W))},[O,$,I]),B=n("radio",o),j=`${B}-group`,F=Hr(B),[D,k,M]=sG(B,F);let L=g;c&&c.length>0&&(L=c.map(W=>typeof W=="string"||typeof W=="number"?l.createElement(a0,{key:W.toString(),prefixCls:B,disabled:f,value:W,checked:O===W},W):l.createElement(a0,{key:`radio-group-value-options-${W.value}`,prefixCls:B,disabled:W.disabled||f,value:W.value,checked:O===W.value,title:W.title,style:W.style,id:W.id,required:W.required},W.label)));const H=da(m),U=ce(j,`${j}-${u}`,{[`${j}-${H}`]:H,[`${j}-rtl`]:r==="rtl",[`${j}-block`]:w},i,s,k,M,F),z=l.useMemo(()=>({onChange:A,value:O,disabled:f,name:b,optionType:x,block:w}),[A,O,f,b,x,w]);return D(l.createElement("div",Object.assign({},zr(e,{aria:!0,data:!0}),{className:U,style:h,onMouseEnter:E,onMouseLeave:_,onFocus:R,onBlur:N,id:y,ref:t}),l.createElement(Ahe,{value:z},L)))}),Hhe=l.memo(zhe);var Uhe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n}=l.useContext(Wt),{prefixCls:r}=e,a=Uhe(e,["prefixCls"]),o=n("radio",r);return l.createElement(khe,{value:"button"},l.createElement(a0,Object.assign({prefixCls:o},a,{type:"radio",ref:t})))},Whe=l.forwardRef(Vhe),so=a0;so.Button=Whe;so.Group=Hhe;so.__ANT_RADIO=!0;function Ou(e){return fn(e,{inputAffixPadding:e.paddingXXS})}const $u=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightSM:o,controlHeightLG:i,fontSizeLG:s,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:f,controlPaddingHorizontal:g,colorFillAlter:m,colorPrimaryHover:h,colorPrimary:y,controlOutlineWidth:x,controlOutline:b,colorErrorOutline:C,colorWarningOutline:S,colorBgContainer:w,inputFontSize:I,inputFontSizeLG:E,inputFontSizeSM:_}=e,R=I||n,N=_||R,O=E||s,$=Math.round((t-R*r)/2*10)/10-a,A=Math.round((o-N*r)/2*10)/10-a,B=Math.ceil((i-O*c)/2*10)/10-a;return{paddingBlock:Math.max($,0),paddingBlockSM:Math.max(A,0),paddingBlockLG:Math.max(B,0),paddingInline:u-a,paddingInlineSM:f-a,paddingInlineLG:g-a,addonBg:m,activeBorderColor:y,hoverBorderColor:h,activeShadow:`0 0 0 ${x}px ${b}`,errorActiveShadow:`0 0 0 ${x}px ${C}`,warningActiveShadow:`0 0 0 ${x}px ${S}`,hoverBg:w,activeBg:w,inputFontSize:R,inputFontSizeLG:O,inputFontSizeSM:N}},Ghe=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Ry=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},Ghe(fn(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),mN=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),I4=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},mN(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),hN=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},mN(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Ry(e))}),I4(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),I4(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),_4=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),lG=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},_4(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),_4(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Ry(e))}})}),vN=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},cG=(e,t)=>{var n;return{background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(n=t==null?void 0:t.inputColor)!==null&&n!==void 0?n:"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}},T4=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},cG(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),bN=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},cG(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Ry(e))}),T4(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),T4(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),R4=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),uG=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},R4(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),R4(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),dG=(e,t)=>({background:e.colorBgContainer,borderWidth:`${ae(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.borderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.borderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),O4=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},dG(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),yN=(e,t)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},dG(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),O4(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),O4(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),xN=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),fG=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${ae(t)} ${ae(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},SN=e=>({padding:`${ae(e.paddingBlockSM)} ${ae(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Lm=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${ae(e.paddingBlock)} ${ae(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},xN(e.colorTextPlaceholder)),{"&-lg":Object.assign({},fG(e)),"&-sm":Object.assign({},SN(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),pG=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},fG(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},SN(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${ae(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${ae(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${ae(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${ae(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${ae(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Yi()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${t}-affix-wrapper, + & > ${t}-number-affix-wrapper, + & > ${n}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},qhe=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:a}=e,i=a(n).sub(a(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),Lm(e)),hN(e)),bN(e)),vN(e)),yN(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},Khe=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${ae(e.inputAffixPadding)}`}}}},Yhe=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:o,colorIconHover:i,iconCls:s}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},Lm(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Khe(e)),{[`${s}${t}-password-icon`]:{color:o,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:i}}}),[`${t}-underlined`]:{borderRadius:0},[u]:{[`${s}${t}-password-icon`]:{color:o,cursor:"not-allowed","&:hover":{color:o}}}}},Xhe=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Dn(e)),pG(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},lG(e)),uG(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},Zhe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Jhe=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},gG=Nn(["Input","Shared"],e=>{const t=fn(e,Ou(e));return[qhe(t),Yhe(t)]},$u,{resetFont:!1}),mG=Nn(["Input","Component"],e=>{const t=fn(e,Ou(e));return[Xhe(t),Zhe(t),Jhe(t),wm(t)]},$u,{resetFont:!1}),W1=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",o=BV(e);return[{[`${n}-multiple${a}`]:{paddingBlock:o.containerPadding,paddingInlineStart:o.basePadding,minHeight:r,[`${n}-selection-item`]:{height:o.itemHeight,lineHeight:ae(o.itemLineHeight)}}}]},Qhe=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=fn(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),o=fn(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[W1(a,"small"),W1(e),W1(o,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},zV(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},eve=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:o,cellHoverBg:i,lineWidth:s,lineType:c,colorPrimary:u,cellActiveWithRangeBg:f,colorTextLightSolid:g,colorTextDisabled:m,cellBgDisabled:h,colorFillSecondary:y}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:ae(r),borderRadius:a,transition:`background ${o}`},[`&:hover:not(${t}-in-view):not(${t}-disabled), + &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:i}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ae(s)} ${c} ${u}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:f}},[`&-in-view${t}-selected, + &-in-view${t}-range-start, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:g,background:u},[`&${t}-disabled ${n}`]:{background:y}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:m,cursor:"not-allowed",[n]:{background:"transparent"},"&::before":{background:h}},[`&-disabled${t}-today ${n}::before`]:{borderColor:m}}},tve=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:o,cellWidth:i,paddingSM:s,paddingXS:c,paddingXXS:u,colorBgContainer:f,lineWidth:g,lineType:m,borderRadiusLG:h,colorPrimary:y,colorTextHeading:x,colorSplit:b,pickerControlIconBorderWidth:C,colorIcon:S,textHeight:w,motionDurationMid:I,colorIconHover:E,fontWeightStrong:_,cellHeight:R,pickerCellPaddingVertical:N,colorTextDisabled:O,colorText:$,fontSize:A,motionDurationSlow:B,withoutTimeCellHeight:j,pickerQuarterPanelContentHeight:F,borderRadiusSM:D,colorTextLightSolid:k,cellHoverBg:M,timeColumnHeight:L,timeColumnWidth:H,timeCellHeight:U,controlItemBgActive:z,marginXXS:W,pickerDatePanelPaddingHorizontal:q,pickerControlIconMargin:K}=e,G=e.calc(i).mul(7).add(e.calc(q).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:f,borderRadius:h,outline:"none","&-focused":{borderColor:y},"&-rtl":{[`${t}-prev-icon, + ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:G},"&-header":{display:"flex",padding:`0 ${ae(c)}`,color:x,borderBottom:`${ae(g)} ${m} ${b}`,"> *":{flex:"none"},button:{padding:0,color:S,lineHeight:ae(w),background:"transparent",border:0,cursor:"pointer",transition:`color ${I}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:A,"&:hover":{color:E},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:_,lineHeight:ae(w),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:y}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:o,height:o,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:C,borderInlineStartWidth:C,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:K,insetInlineStart:K,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:C,borderInlineStartWidth:C,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:R,fontWeight:"normal"},th:{height:e.calc(R).add(e.calc(N).mul(2)).equal(),color:$,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ae(N)} 0`,color:O,cursor:"pointer","&-in-view":{color:$}},eve(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(j).mul(4).equal()},[r]:{padding:`0 ${ae(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:F}},"&-decade-panel":{[r]:{padding:`0 ${ae(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${ae(c)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${ae(c)} ${ae(q)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, + &-selected ${r}, + ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${I}`},"&:first-child:before":{borderStartStartRadius:D,borderEndStartRadius:D},"&:last-child:before":{borderStartEndRadius:D,borderEndEndRadius:D}},"&:hover td:before":{background:M},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:y},[`&${t}-cell-week`]:{color:new In(k).setA(.5).toHexString()},[r]:{color:k}}},"&-range-hover td:before":{background:z}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${ae(c)} ${ae(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${ae(g)} ${m} ${b}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${B}`},"&-active":{[`${t}-date-panel, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:L},"&-column":{flex:"1 0 auto",width:H,margin:`${ae(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${I}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${ae(U)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ae(g)} ${m} ${b}`},"&-active":{background:new In(z).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:W,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(H).sub(e.calc(W).mul(2)).equal(),height:U,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(H).sub(U).div(2).equal(),color:$,lineHeight:ae(U),borderRadius:D,cursor:"pointer",transition:`background ${I}`,"&:hover":{background:M}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:z}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:O,background:"transparent",cursor:"not-allowed"}}}}}}}}},nve=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:o,colorPrimary:i,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:u,colorSplit:f}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${ae(r)} ${u} ${f}`,"&-extra":{padding:`0 ${ae(a)}`,lineHeight:ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${ae(r)} ${u} ${f}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:ae(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:i,background:s,borderColor:c,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},rve=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(r).div(2)).equal()}},ave=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:o,lineWidth:i}=e,s=o*2,c=i*2,u=Math.min(n-s,n-c),f=Math.min(r-s,r-c),g=Math.min(a-s,a-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new In(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new In(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:a*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:a,withoutTimeCellHeight:a*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:f,multipleItemHeightLG:g,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},ove=e=>Object.assign(Object.assign(Object.assign(Object.assign({},$u(e)),ave(e)),hy(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),ive=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign(Object.assign({},hN(e)),yN(e)),bN(e)),vN(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},G1=(e,t,n,r)=>{const a=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(a).div(2).equal(),0),i=e.max(e.calc(t).sub(a).sub(o).equal(),0);return{padding:`${ae(o)} ${ae(r)} ${ae(i)}`}},sve=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},lve=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:a,lineWidth:o,lineType:i,colorBorder:s,borderRadius:c,motionDurationMid:u,colorTextDisabled:f,colorTextPlaceholder:g,controlHeightLG:m,fontSizeLG:h,controlHeightSM:y,paddingInlineSM:x,paddingXS:b,marginXS:C,colorTextDescription:S,lineWidthBold:w,colorPrimary:I,motionDurationSlow:E,zIndexPopup:_,paddingXXS:R,sizePopupArrow:N,colorBgElevated:O,borderRadiusLG:$,boxShadowSecondary:A,borderRadiusSM:B,colorSplit:j,cellHoverBg:F,presetsWidth:D,presetsMaxWidth:k,boxShadowPopoverArrow:M,fontHeight:L,fontHeightLG:H,lineHeightLG:U}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},Dn(e)),G1(e,r,L,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-prefix`]:{flex:"0 0 auto",marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},xN(g)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:f,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:g}}},"&-large":Object.assign(Object.assign({},G1(e,m,H,a)),{[`${t}-input > input`]:{fontSize:h,lineHeight:U}}),"&-small":Object.assign({},G1(e,y,L,x)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(b).div(2).equal(),color:f,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:C}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:f,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:S}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:h,color:f,fontSize:h,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:S},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:w,background:I,opacity:0,transition:`all ${E} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${ae(b)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:x}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},Dn(e)),tve(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:_,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, + &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, + &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-appear, &${n}-slide-up-enter`]:{[`${t}-range-arrow${t}-range-arrow`]:{transition:"none"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:ey},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:J0},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:ty},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Q0},[`${t}-panel > ${t}-time-panel`]:{paddingTop:R},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${E} ease-out`},KV(e,O,M)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:O,borderRadius:$,boxShadow:A,transition:`margin ${E}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:D,maxWidth:k,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:b,borderInlineEnd:`${ae(o)} ${i} ${j}`,li:Object.assign(Object.assign({},Qo),{borderRadius:B,paddingInline:b,paddingBlock:e.calc(y).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${E}`,"+ li":{marginTop:C},"&:hover":{background:F}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${ae(e.calc(N).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"scale(-1, 1)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Cs(e,"slide-up"),Cs(e,"slide-down"),cf(e,"move-up"),cf(e,"move-down")]},hG=Nn("DatePicker",e=>{const t=fn(Ou(e),rve(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[nve(t),lve(t),ive(t),sve(t),Qhe(t),wm(e,{focusElCls:`${e.componentCls}-focused`})]},ove);var cve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},uve=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:cve}))},jm=l.forwardRef(uve);const Oy=l.createContext(null);var dve=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,o=t.indicator,i=o===void 0?{}:o,s=i.size,c=i.align,u=c===void 0?"center":c,f=l.useState(),g=ye(f,2),m=g[0],h=g[1],y=l.useRef(),x=ge.useCallback(function(C){return typeof s=="function"?s(C):typeof s=="number"?s:C},[s]);function b(){mn.cancel(y.current)}return l.useEffect(function(){var C={};if(n)if(r){C.width=x(n.width);var S=a?"right":"left";u==="start"&&(C[S]=n[S]),u==="center"&&(C[S]=n[S]+n.width/2,C.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(C[S]=n[S]+n.width,C.transform="translateX(-100%)")}else C.height=x(n.height),u==="start"&&(C.top=n.top),u==="center"&&(C.top=n.top+n.height/2,C.transform="translateY(-50%)"),u==="end"&&(C.top=n.top+n.height,C.transform="translateY(-100%)");return b(),y.current=mn(function(){h(C)}),b},[n,r,a,u,x]),{style:m}},$4={width:0,height:0,left:0,top:0};function fve(e,t,n){return l.useMemo(function(){for(var r,a=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||$4,i=o.left+o.width,s=0;sF?(B=$,_.current="x"):(B=A,_.current="y"),t(-B,-B)&&O.preventDefault()}var N=l.useRef(null);N.current={onTouchStart:w,onTouchMove:I,onTouchEnd:E,onWheel:R},l.useEffect(function(){function O(j){N.current.onTouchStart(j)}function $(j){N.current.onTouchMove(j)}function A(j){N.current.onTouchEnd(j)}function B(j){N.current.onWheel(j)}return document.addEventListener("touchmove",$,{passive:!1}),document.addEventListener("touchend",A,{passive:!0}),e.current.addEventListener("touchstart",O,{passive:!0}),e.current.addEventListener("wheel",B,{passive:!1}),function(){document.removeEventListener("touchmove",$),document.removeEventListener("touchend",A)}},[])}function vG(e){var t=l.useState(0),n=ye(t,2),r=n[0],a=n[1],o=l.useRef(0),i=l.useRef();return i.current=e,tu(function(){var s;(s=i.current)===null||s===void 0||s.call(i)},[r]),function(){o.current===r&&(o.current+=1,a(o.current))}}function mve(e){var t=l.useRef([]),n=l.useState({}),r=ye(n,2),a=r[1],o=l.useRef(typeof e=="function"?e():e),i=vG(function(){var c=o.current;t.current.forEach(function(u){c=u(c)}),t.current=[],o.current=c,a({})});function s(c){t.current.push(c),i()}return[o.current,s]}var P4={width:0,height:0,left:0,top:0,right:0};function hve(e,t,n,r,a,o,i){var s=i.tabs,c=i.tabPosition,u=i.rtl,f,g,m;return["top","bottom"].includes(c)?(f="width",g=u?"right":"left",m=Math.abs(n)):(f="height",g="top",m=-n),l.useMemo(function(){if(!s.length)return[0,0];for(var h=s.length,y=h,x=0;xMath.floor(m+t)){y=x-1;break}}for(var C=0,S=h-1;S>=0;S-=1){var w=e.get(s[S].key)||P4;if(w[g]=y?[0,0]:[C,y]},[e,t,r,a,o,m,c,s.map(function(h){return h.key}).join("_"),u])}function D4(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var vve="TABS_DQ";function bG(e){return String(e).replace(/"/g,vve)}function CN(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var yG=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,o=e.style;return!r||r.showAdd===!1?null:l.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),M4=l.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var o,i={};return Pt(a)==="object"&&!l.isValidElement(a)?i=a:i.right=a,n==="right"&&(o=i.right),n==="left"&&(o=i.left),o?l.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),bve=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,o=e.locale,i=e.mobile,s=e.more,c=s===void 0?{}:s,u=e.style,f=e.className,g=e.editable,m=e.tabBarGutter,h=e.rtl,y=e.removeAriaLabel,x=e.onTabClick,b=e.getPopupContainer,C=e.popupClassName,S=l.useState(!1),w=ye(S,2),I=w[0],E=w[1],_=l.useState(null),R=ye(_,2),N=R[0],O=R[1],$=c.icon,A=$===void 0?"More":$,B="".concat(r,"-more-popup"),j="".concat(n,"-dropdown"),F=N!==null?"".concat(B,"-").concat(N):null,D=o==null?void 0:o.dropdownAriaLabel;function k(q,K){q.preventDefault(),q.stopPropagation(),g.onEdit("remove",{key:K,event:q})}var M=l.createElement(Mf,{onClick:function(K){var G=K.key,X=K.domEvent;x(G,X),E(!1)},prefixCls:"".concat(j,"-menu"),id:B,tabIndex:-1,role:"listbox","aria-activedescendant":F,selectedKeys:[N],"aria-label":D!==void 0?D:"expanded dropdown"},a.map(function(q){var K=q.closable,G=q.disabled,X=q.closeIcon,Z=q.key,J=q.label,ne=CN(K,X,g,G);return l.createElement(km,{key:Z,id:"".concat(B,"-").concat(Z),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(Z),disabled:G},l.createElement("span",null,J),ne&&l.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(j,"-menu-item-remove"),onClick:function(ee){ee.stopPropagation(),k(ee,Z)}},X||g.removeIcon||"×"))}));function L(q){for(var K=a.filter(function(ne){return!ne.disabled}),G=K.findIndex(function(ne){return ne.key===N})||0,X=K.length,Z=0;ZWe?"left":"right"})}),j=ye(B,2),F=j[0],D=j[1],k=N4(0,function(ot,We){!A&&x&&x({direction:ot>We?"top":"bottom"})}),M=ye(k,2),L=M[0],H=M[1],U=l.useState([0,0]),z=ye(U,2),W=z[0],q=z[1],K=l.useState([0,0]),G=ye(K,2),X=G[0],Z=G[1],J=l.useState([0,0]),ne=ye(J,2),Q=ne[0],ee=ne[1],te=l.useState([0,0]),oe=ye(te,2),le=oe[0],fe=oe[1],ue=mve(new Map),we=ye(ue,2),pe=we[0],ve=we[1],Ce=fve(w,pe,X[0]),me=Iv(W,A),ie=Iv(X,A),he=Iv(Q,A),Se=Iv(le,A),_e=Math.floor(me)je?je:ot}var Ue=l.useRef(null),Ne=l.useState(),Ye=ye(Ne,2),Re=Ye[0],Ae=Ye[1];function Le(){Ae(Date.now())}function Te(){Ue.current&&clearTimeout(Ue.current)}gve(R,function(ot,We){function dt(Ot,Zt){Ot(function(yn){var Nt=qe(yn+Zt);return Nt})}return _e?(A?dt(D,ot):dt(H,We),Te(),Le(),!0):!1}),l.useEffect(function(){return Te(),Re&&(Ue.current=setTimeout(function(){Ae(0)},100)),Te},[Re]);var Ve=hve(Ce,$e,A?F:L,ie,he,Se,se(se({},e),{},{tabs:w})),Je=ye(Ve,2),Qe=Je[0],ut=Je[1],xe=En(function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i,We=Ce.get(ot)||{width:0,height:0,left:0,right:0,top:0};if(A){var dt=F;s?We.rightF+$e&&(dt=We.right+We.width-$e):We.left<-F?dt=-We.left:We.left+We.width>-F+$e&&(dt=-(We.left+We.width-$e)),H(0),D(qe(dt))}else{var Ot=L;We.top<-L?Ot=-We.top:We.top+We.height>-L+$e&&(Ot=-(We.top+We.height-$e)),D(0),H(qe(Ot))}}),be=l.useState(),Ee=ye(be,2),ke=Ee[0],et=Ee[1],Be=l.useState(!1),Ke=ye(Be,2),Ge=Ke[0],nt=Ke[1],ht=w.filter(function(ot){return!ot.disabled}).map(function(ot){return ot.key}),tt=function(We){var dt=ht.indexOf(ke||i),Ot=ht.length,Zt=(dt+We+Ot)%Ot,yn=ht[Zt];et(yn)},ct=function(We){var dt=We.code,Ot=s&&A,Zt=ht[0],yn=ht[ht.length-1];switch(dt){case"ArrowLeft":{A&&tt(Ot?1:-1);break}case"ArrowRight":{A&&tt(Ot?-1:1);break}case"ArrowUp":{We.preventDefault(),A||tt(-1);break}case"ArrowDown":{We.preventDefault(),A||tt(1);break}case"Home":{We.preventDefault(),et(Zt);break}case"End":{We.preventDefault(),et(yn);break}case"Enter":case"Space":{We.preventDefault(),y(i,We);break}case"Backspace":case"Delete":{var Nt=ht.indexOf(ke),At=w.find(function(ln){return ln.key===ke}),Xt=CN(At==null?void 0:At.closable,At==null?void 0:At.closeIcon,u,At==null?void 0:At.disabled);Xt&&(We.preventDefault(),We.stopPropagation(),u.onEdit("remove",{key:ke,event:We}),Nt===ht.length-1?tt(-1):tt(1));break}}},bt={};A?bt[s?"marginRight":"marginLeft"]=m:bt.marginTop=m;var St=w.map(function(ot,We){var dt=ot.key;return l.createElement(xve,{id:a,prefixCls:S,key:dt,tab:ot,style:We===0?void 0:bt,closable:ot.closable,editable:u,active:dt===i,focus:dt===ke,renderWrapper:h,removeAriaLabel:f==null?void 0:f.removeAriaLabel,tabCount:ht.length,currentPosition:We+1,onClick:function(Zt){y(dt,Zt)},onKeyDown:ct,onFocus:function(){Ge||et(dt),xe(dt),Le(),R.current&&(s||(R.current.scrollLeft=0),R.current.scrollTop=0)},onBlur:function(){et(void 0)},onMouseDown:function(){nt(!0)},onMouseUp:function(){nt(!1)}})}),yt=function(){return ve(function(){var We,dt=new Map,Ot=(We=N.current)===null||We===void 0?void 0:We.getBoundingClientRect();return w.forEach(function(Zt){var yn,Nt=Zt.key,At=(yn=N.current)===null||yn===void 0?void 0:yn.querySelector('[data-node-key="'.concat(bG(Nt),'"]'));if(At){var Xt=Sve(At,Ot),ln=ye(Xt,4),Mn=ln[0],$n=ln[1],sr=ln[2],pr=ln[3];dt.set(Nt,{width:Mn,height:$n,left:sr,top:pr})}}),dt})};l.useEffect(function(){yt()},[w.map(function(ot){return ot.key}).join("_")]);var Dt=vG(function(){var ot=Cd(I),We=Cd(E),dt=Cd(_);q([ot[0]-We[0]-dt[0],ot[1]-We[1]-dt[1]]);var Ot=Cd($);ee(Ot);var Zt=Cd(O);fe(Zt);var yn=Cd(N);Z([yn[0]-Ot[0],yn[1]-Ot[1]]),yt()}),Rt=w.slice(0,Qe),_t=w.slice(ut+1),jt=[].concat(Ze(Rt),Ze(_t)),zt=Ce.get(i),en=dve({activeTabOffset:zt,horizontal:A,indicator:b,rtl:s}),gn=en.style;l.useEffect(function(){xe()},[i,Fe,je,D4(zt),D4(Ce),A]),l.useEffect(function(){Dt()},[s]);var on=!!jt.length,Ft="".concat(S,"-nav-wrap"),qt,Jt,st,Ct;return A?s?(Jt=F>0,qt=F!==je):(qt=F<0,Jt=F!==Fe):(st=L<0,Ct=L!==Fe),l.createElement(Xa,{onResize:Dt},l.createElement("div",{ref:Rs(t,I),role:"tablist","aria-orientation":A?"horizontal":"vertical",className:ce("".concat(S,"-nav"),n),style:r,onKeyDown:function(){Le()}},l.createElement(M4,{ref:E,position:"left",extra:c,prefixCls:S}),l.createElement(Xa,{onResize:Dt},l.createElement("div",{className:ce(Ft,re(re(re(re({},"".concat(Ft,"-ping-left"),qt),"".concat(Ft,"-ping-right"),Jt),"".concat(Ft,"-ping-top"),st),"".concat(Ft,"-ping-bottom"),Ct)),ref:R},l.createElement(Xa,{onResize:Dt},l.createElement("div",{ref:N,className:"".concat(S,"-nav-list"),style:{transform:"translate(".concat(F,"px, ").concat(L,"px)"),transition:Re?"none":void 0}},St,l.createElement(yG,{ref:$,prefixCls:S,locale:f,editable:u,style:se(se({},St.length===0?void 0:bt),{},{visibility:on?"hidden":null})}),l.createElement("div",{className:ce("".concat(S,"-ink-bar"),re({},"".concat(S,"-ink-bar-animated"),o.inkBar)),style:gn}))))),l.createElement(yve,Ie({},e,{removeAriaLabel:f==null?void 0:f.removeAriaLabel,ref:O,prefixCls:S,tabs:jt,className:!on&&ze,tabMoving:!!Re})),l.createElement(M4,{ref:_,position:"right",extra:c,prefixCls:S})))}),xG=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.id,i=e.active,s=e.tabKey,c=e.children;return l.createElement("div",{id:o&&"".concat(o,"-panel-").concat(s),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(s),"aria-hidden":!i,style:a,className:ce(n,i&&"".concat(n,"-active"),r),ref:t},c)}),Cve=["renderTabBar"],wve=["label","key"],Eve=function(t){var n=t.renderTabBar,r=Bt(t,Cve),a=l.useContext(Oy),o=a.tabs;if(n){var i=se(se({},r),{},{panes:o.map(function(s){var c=s.label,u=s.key,f=Bt(s,wve);return l.createElement(xG,Ie({tab:c,key:u,tabKey:u},f))})});return n(i,L4)}return l.createElement(L4,r)},Ive=["key","forceRender","style","className","destroyInactiveTabPane"],_ve=function(t){var n=t.id,r=t.activeKey,a=t.animated,o=t.tabPosition,i=t.destroyInactiveTabPane,s=l.useContext(Oy),c=s.prefixCls,u=s.tabs,f=a.tabPane,g="".concat(c,"-tabpane");return l.createElement("div",{className:ce("".concat(c,"-content-holder"))},l.createElement("div",{className:ce("".concat(c,"-content"),"".concat(c,"-content-").concat(o),re({},"".concat(c,"-content-animated"),f))},u.map(function(m){var h=m.key,y=m.forceRender,x=m.style,b=m.className,C=m.destroyInactiveTabPane,S=Bt(m,Ive),w=h===r;return l.createElement(Ia,Ie({key:h,visible:w,forceRender:y,removeOnLeave:!!(i||C),leavedClassName:"".concat(g,"-hidden")},a.tabPaneMotion),function(I,E){var _=I.style,R=I.className;return l.createElement(xG,Ie({},S,{prefixCls:g,id:n,tabKey:h,animated:f,active:w,style:se(se({},x),_),className:ce(b,R),ref:E}))})})))};function Tve(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=se({inkBar:!0},Pt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var Rve=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],j4=0,Ove=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tabs":r,o=e.className,i=e.items,s=e.direction,c=e.activeKey,u=e.defaultActiveKey,f=e.editable,g=e.animated,m=e.tabPosition,h=m===void 0?"top":m,y=e.tabBarGutter,x=e.tabBarStyle,b=e.tabBarExtraContent,C=e.locale,S=e.more,w=e.destroyInactiveTabPane,I=e.renderTabBar,E=e.onChange,_=e.onTabClick,R=e.onTabScroll,N=e.getPopupContainer,O=e.popupClassName,$=e.indicator,A=Bt(e,Rve),B=l.useMemo(function(){return(i||[]).filter(function(le){return le&&Pt(le)==="object"&&"key"in le})},[i]),j=s==="rtl",F=Tve(g),D=l.useState(!1),k=ye(D,2),M=k[0],L=k[1];l.useEffect(function(){L(dy())},[]);var H=Vn(function(){var le;return(le=B[0])===null||le===void 0?void 0:le.key},{value:c,defaultValue:u}),U=ye(H,2),z=U[0],W=U[1],q=l.useState(function(){return B.findIndex(function(le){return le.key===z})}),K=ye(q,2),G=K[0],X=K[1];l.useEffect(function(){var le=B.findIndex(function(ue){return ue.key===z});if(le===-1){var fe;le=Math.max(0,Math.min(G,B.length-1)),W((fe=B[le])===null||fe===void 0?void 0:fe.key)}X(le)},[B.map(function(le){return le.key}).join("_"),z,G]);var Z=Vn(null,{value:n}),J=ye(Z,2),ne=J[0],Q=J[1];l.useEffect(function(){n||(Q("rc-tabs-".concat(j4)),j4+=1)},[]);function ee(le,fe){_==null||_(le,fe);var ue=le!==z;W(le),ue&&(E==null||E(le))}var te={id:ne,activeKey:z,animated:F,tabPosition:h,rtl:j,mobile:M},oe=se(se({},te),{},{editable:f,locale:C,more:S,tabBarGutter:y,onTabClick:ee,onTabScroll:R,extra:b,style:x,panes:null,getPopupContainer:N,popupClassName:O,indicator:$});return l.createElement(Oy.Provider,{value:{tabs:B,prefixCls:a}},l.createElement("div",Ie({ref:t,id:n,className:ce(a,"".concat(a,"-").concat(h),re(re(re({},"".concat(a,"-mobile"),M),"".concat(a,"-editable"),f),"".concat(a,"-rtl"),j),o)},A),l.createElement(Eve,Ie({},oe,{renderTabBar:I})),l.createElement(_ve,Ie({destroyInactiveTabPane:w},te,{animated:F}))))});const $ve={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Nve(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},$ve),{motionName:lo(e,"switch")})),n}var Ave=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at)}function Pve(e,t){if(e)return e;const n=aa(t).map(r=>{if(l.isValidElement(r)){const{key:a,props:o}=r,i=o||{},{tab:s}=i,c=Ave(i,["tab"]);return Object.assign(Object.assign({key:String(a)},c),{label:s})}return null});return kve(n)}const Dve=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Cs(e,"slide-up"),Cs(e,"slide-down")]]},Mve=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:o,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${ae(e.lineWidth)} ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-tab-focus`]:Object.assign({},Xi(e,-3)),[`${t}-ink-bar`]:{visibility:"hidden"},[`& ${t}-tab${t}-tab-focus ${t}-tab-btn`]:{outline:"none"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:ae(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:ae(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ae(e.borderRadiusLG)} 0 0 ${ae(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Lve=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Dn(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${ae(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Qo),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${ae(e.paddingXXS)} ${ae(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},jve=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:o,verticalItemMargin:i,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${ae(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:ae(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Fve=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${ae(e.borderRadius)} ${ae(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${ae(e.borderRadius)} ${ae(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ae(e.borderRadius)} ${ae(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ae(e.borderRadius)} 0 0 ${ae(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Bve=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:o,horizontalItemPadding:i,itemSelectedColor:s,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},Po(e)),"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-focus ${u}-btn`]:Object.assign({},Xi(e)),[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${a}`]:{margin:0},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:o}}}},zve=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:ae(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:ae(e.marginXS)},marginLeft:{_skip_check_:!0,value:ae(o(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Hve=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:o,itemActiveColor:i,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:a},padding:ae(e.paddingXS),background:"transparent",border:`${ae(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:i}},Po(e,-3))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Bve(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:Object.assign(Object.assign({},Po(e)),{"&-hidden":{display:"none"}})}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},Uve=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},Vve=Nn("Tabs",e=>{const t=fn(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${ae(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${ae(e.horizontalItemGutter)}`});return[Fve(t),zve(t),jve(t),Lve(t),Mve(t),Hve(t),Dve(t)]},Uve),Wve=()=>null;var Gve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t,n,r,a,o,i,s,c,u,f,g;const{type:m,className:h,rootClassName:y,size:x,onEdit:b,hideAdd:C,centered:S,addIcon:w,removeIcon:I,moreIcon:E,more:_,popupClassName:R,children:N,items:O,animated:$,style:A,indicatorSize:B,indicator:j}=e,F=Gve(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:D}=F,{direction:k,tabs:M,getPrefixCls:L,getPopupContainer:H}=l.useContext(Wt),U=L("tabs",D),z=Hr(U),[W,q,K]=Vve(U,z);let G;m==="editable-card"&&(G={onEdit:(te,oe)=>{let{key:le,event:fe}=oe;b==null||b(te==="add"?fe:le,te)},removeIcon:(t=I??(M==null?void 0:M.removeIcon))!==null&&t!==void 0?t:l.createElement(Ha,null),addIcon:(w??(M==null?void 0:M.addIcon))||l.createElement(jm,null),showAdd:C!==!0});const X=L(),Z=da(x),J=Pve(O,N),ne=Nve(U,$),Q=Object.assign(Object.assign({},M==null?void 0:M.style),A),ee={align:(n=j==null?void 0:j.align)!==null&&n!==void 0?n:(r=M==null?void 0:M.indicator)===null||r===void 0?void 0:r.align,size:(s=(o=(a=j==null?void 0:j.size)!==null&&a!==void 0?a:B)!==null&&o!==void 0?o:(i=M==null?void 0:M.indicator)===null||i===void 0?void 0:i.size)!==null&&s!==void 0?s:M==null?void 0:M.indicatorSize};return W(l.createElement(Ove,Object.assign({direction:k,getPopupContainer:H},F,{items:J,className:ce({[`${U}-${Z}`]:Z,[`${U}-card`]:["card","editable-card"].includes(m),[`${U}-editable-card`]:m==="editable-card",[`${U}-centered`]:S},M==null?void 0:M.className,h,y,q,K,z),popupClassName:ce(R,q,K,z),style:Q,editable:G,more:Object.assign({icon:(g=(f=(u=(c=M==null?void 0:M.more)===null||c===void 0?void 0:c.icon)!==null&&u!==void 0?u:M==null?void 0:M.moreIcon)!==null&&f!==void 0?f:E)!==null&&g!==void 0?g:l.createElement(lN,null),transitionName:`${X}-slide-up`},_),prefixCls:U,animated:ne,indicator:ee})))};vu.TabPane=Wve;var qve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=qve(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=l.useContext(Wt),i=o("card",t),s=ce(`${i}-grid`,n,{[`${i}-grid-hoverable`]:r});return l.createElement("div",Object.assign({},a,{className:s}))},Kve=e=>{const{antCls:t,componentCls:n,headerHeight:r,headerPadding:a,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${ae(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)} 0 0`},Yi()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},Qo),{[` + > ${n}-typography, + > ${n}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},Yve=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${ae(a)} 0 0 0 ${n}, + 0 ${ae(a)} 0 0 ${n}, + ${ae(a)} ${ae(a)} 0 0 ${n}, + ${ae(a)} 0 0 0 ${n} inset, + 0 ${ae(a)} 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},Xve=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:o,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${ae(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)}`},Yi()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:ae(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:ae(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${ae(e.lineWidth)} ${e.lineType} ${o}`}}})},Zve=e=>Object.assign(Object.assign({margin:`${ae(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Yi()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Qo),"&-description":{color:e.colorTextDescription}}),Jve=e=>{const{componentCls:t,colorFillAlter:n,headerPadding:r,bodyPadding:a}=e;return{[`${t}-head`]:{padding:`0 ${ae(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${ae(e.padding)} ${ae(a)}`}}},Qve=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},ebe=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:o,bodyPadding:i,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:Kve(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:i,borderRadius:`0 0 ${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)}`},Yi()),[`${t}-grid`]:Yve(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:Xve(e),[`${t}-meta`]:Zve(e)}),[`${t}-bordered`]:{border:`${ae(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${ae(e.borderRadiusLG)} ${ae(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:Jve(e),[`${t}-loading`]:Qve(e),[`${t}-rtl`]:{direction:"rtl"}}},tbe=e=>{const{componentCls:t,bodyPaddingSM:n,headerPaddingSM:r,headerHeightSM:a,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:a,padding:`0 ${ae(r)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},nbe=e=>{var t,n;return{headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:(t=e.bodyPadding)!==null&&t!==void 0?t:e.paddingLG,headerPadding:(n=e.headerPadding)!==null&&n!==void 0?n:e.paddingLG}},rbe=Nn("Card",e=>{const t=fn(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[ebe(t),tbe(t)]},nbe);var F4=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return l.createElement("ul",{className:t,style:r},n.map((a,o)=>{const i=`action-${o}`;return l.createElement("li",{style:{width:`${100/n.length}%`},key:i},l.createElement("span",null,a))}))},obe=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:o,extra:i,headStyle:s={},bodyStyle:c={},title:u,loading:f,bordered:g,variant:m,size:h,type:y,cover:x,actions:b,tabList:C,children:S,activeTabKey:w,defaultActiveTabKey:I,tabBarExtraContent:E,hoverable:_,tabProps:R={},classNames:N,styles:O}=e,$=F4(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:A,direction:B,card:j}=l.useContext(Wt),[F]=hc("card",m,g),D=Ce=>{var me;(me=e.onTabChange)===null||me===void 0||me.call(e,Ce)},k=Ce=>{var me;return ce((me=j==null?void 0:j.classNames)===null||me===void 0?void 0:me[Ce],N==null?void 0:N[Ce])},M=Ce=>{var me;return Object.assign(Object.assign({},(me=j==null?void 0:j.styles)===null||me===void 0?void 0:me[Ce]),O==null?void 0:O[Ce])},L=l.useMemo(()=>{let Ce=!1;return l.Children.forEach(S,me=>{(me==null?void 0:me.type)===SG&&(Ce=!0)}),Ce},[S]),H=A("card",n),[U,z,W]=rbe(H),q=l.createElement(gc,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),K=w!==void 0,G=Object.assign(Object.assign({},R),{[K?"activeKey":"defaultActiveKey"]:K?w:I,tabBarExtraContent:E});let X;const Z=da(h),J=!Z||Z==="default"?"large":Z,ne=C?l.createElement(vu,Object.assign({size:J},G,{className:`${H}-head-tabs`,onChange:D,items:C.map(Ce=>{var{tab:me}=Ce,ie=F4(Ce,["tab"]);return Object.assign({label:me},ie)})})):null;if(u||i||ne){const Ce=ce(`${H}-head`,k("header")),me=ce(`${H}-head-title`,k("title")),ie=ce(`${H}-extra`,k("extra")),he=Object.assign(Object.assign({},s),M("header"));X=l.createElement("div",{className:Ce,style:he},l.createElement("div",{className:`${H}-head-wrapper`},u&&l.createElement("div",{className:me,style:M("title")},u),i&&l.createElement("div",{className:ie,style:M("extra")},i)),ne)}const Q=ce(`${H}-cover`,k("cover")),ee=x?l.createElement("div",{className:Q,style:M("cover")},x):null,te=ce(`${H}-body`,k("body")),oe=Object.assign(Object.assign({},c),M("body")),le=l.createElement("div",{className:te,style:oe},f?q:S),fe=ce(`${H}-actions`,k("actions")),ue=b!=null&&b.length?l.createElement(abe,{actionClasses:fe,actionStyle:M("actions"),actions:b}):null,we=or($,["onTabChange"]),pe=ce(H,j==null?void 0:j.className,{[`${H}-loading`]:f,[`${H}-bordered`]:F!=="borderless",[`${H}-hoverable`]:_,[`${H}-contain-grid`]:L,[`${H}-contain-tabs`]:C==null?void 0:C.length,[`${H}-${Z}`]:Z,[`${H}-type-${y}`]:!!y,[`${H}-rtl`]:B==="rtl"},r,a,z,W),ve=Object.assign(Object.assign({},j==null?void 0:j.style),o);return U(l.createElement("div",Object.assign({ref:t},we,{className:pe,style:ve}),X,ee,le,ue))});var ibe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,avatar:r,title:a,description:o}=e,i=ibe(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=l.useContext(Wt),c=s("card",t),u=ce(`${c}-meta`,n),f=r?l.createElement("div",{className:`${c}-meta-avatar`},r):null,g=a?l.createElement("div",{className:`${c}-meta-title`},a):null,m=o?l.createElement("div",{className:`${c}-meta-description`},o):null,h=g||m?l.createElement("div",{className:`${c}-meta-detail`},g,m):null;return l.createElement("div",Object.assign({},i,{className:u}),f,h)},bc=obe;bc.Grid=SG;bc.Meta=sbe;function lbe(e,t,n){var r=n||{},a=r.noTrailing,o=a===void 0?!1:a,i=r.noLeading,s=i===void 0?!1:i,c=r.debounceMode,u=c===void 0?void 0:c,f,g=!1,m=0;function h(){f&&clearTimeout(f)}function y(b){var C=b||{},S=C.upcomingOnly,w=S===void 0?!1:S;h(),g=!w}function x(){for(var b=arguments.length,C=new Array(b),S=0;Se?s?(m=Date.now(),o||(f=setTimeout(u?_:E,e))):E():o!==!0&&(f=setTimeout(u?_:E,u===void 0?e-I:e))}return x.cancel=y,x}function cbe(e,t,n){var r={},a=r.atBegin,o=a===void 0?!1:a;return lbe(e,t,{debounceMode:o!==!1})}function Oo(e,t){return e[t]}var ube=["children"];function CG(e,t){return"".concat(e,"-").concat(t)}function dbe(e){return e&&e.type&&e.type.isTreeNode}function Fm(e,t){return e??t}function df(e){var t=e||{},n=t.title,r=t._title,a=t.key,o=t.children,i=n||"title";return{title:i,_title:r||[i],key:a||"key",children:o||"children"}}function wG(e){function t(n){var r=aa(n);return r.map(function(a){if(!dbe(a))return ar(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var o=a.key,i=a.props,s=i.children,c=Bt(i,ube),u=se({key:o},c),f=t(s);return f.length&&(u.children=f),u}).filter(function(a){return a})}return t(e)}function q1(e,t,n){var r=df(n),a=r._title,o=r.key,i=r.children,s=new Set(t===!0?[]:t),c=[];function u(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return f.map(function(m,h){for(var y=CG(g?g.pos:"0",h),x=Fm(m[o],y),b,C=0;C1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,a=t.onProcessFinished,o=t.externalGetKey,i=t.childrenPropName,s=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,u=o||c,f={},g={},m={posEntities:f,keyEntities:g};return n&&(m=n(m)||m),fbe(e,function(h){var y=h.node,x=h.index,b=h.pos,C=h.key,S=h.parentPos,w=h.level,I=h.nodes,E={node:y,nodes:I,index:x,key:C,pos:b,level:w},_=Fm(C,b);f[b]=E,g[_]=E,E.parent=f[S],E.parent&&(E.parent.children=E.parent.children||[],E.parent.children.push(E)),r&&r(E,m)},{externalGetKey:u,childrenPropName:i,fieldNames:s}),a&&a(m),m}function mg(e,t){var n=t.expandedKeys,r=t.selectedKeys,a=t.loadedKeys,o=t.loadingKeys,i=t.checkedKeys,s=t.halfCheckedKeys,c=t.dragOverNodeKey,u=t.dropPosition,f=t.keyEntities,g=Oo(f,e),m={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:a.indexOf(e)!==-1,loading:o.indexOf(e)!==-1,checked:i.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(g?g.pos:""),dragOver:c===e&&u===0,dragOverGapTop:c===e&&u===-1,dragOverGapBottom:c===e&&u===1};return m}function pa(e){var t=e.data,n=e.expanded,r=e.selected,a=e.checked,o=e.loaded,i=e.loading,s=e.halfChecked,c=e.dragOver,u=e.dragOverGapTop,f=e.dragOverGapBottom,g=e.pos,m=e.active,h=e.eventKey,y=se(se({},t),{},{expanded:n,selected:r,checked:a,loaded:o,loading:i,halfChecked:s,dragOver:c,dragOverGapTop:u,dragOverGapBottom:f,pos:g,active:m,key:h});return"props"in y||Object.defineProperty(y,"props",{get:function(){return ar(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),y}function EG(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function pbe(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function gbe(e,t,n,r){for(var a=new Set(e),o=new Set,i=0;i<=n;i+=1){var s=t.get(i)||new Set;s.forEach(function(g){var m=g.key,h=g.node,y=g.children,x=y===void 0?[]:y;a.has(m)&&!r(h)&&x.filter(function(b){return!r(b.node)}).forEach(function(b){a.add(b.key)})})}for(var c=new Set,u=n;u>=0;u-=1){var f=t.get(u)||new Set;f.forEach(function(g){var m=g.parent,h=g.node;if(!(r(h)||!g.parent||c.has(g.parent.key))){if(r(g.parent.node)){c.add(m.key);return}var y=!0,x=!1;(m.children||[]).filter(function(b){return!r(b.node)}).forEach(function(b){var C=b.key,S=a.has(C);y&&!S&&(y=!1),!x&&(S||o.has(C))&&(x=!0)}),y&&a.add(m.key),x&&o.add(m.key),c.add(m.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(EG(o,a))}}function mbe(e,t,n,r,a){for(var o=new Set(e),i=new Set(t),s=0;s<=r;s+=1){var c=n.get(s)||new Set;c.forEach(function(m){var h=m.key,y=m.node,x=m.children,b=x===void 0?[]:x;!o.has(h)&&!i.has(h)&&!a(y)&&b.filter(function(C){return!a(C.node)}).forEach(function(C){o.delete(C.key)})})}i=new Set;for(var u=new Set,f=r;f>=0;f-=1){var g=n.get(f)||new Set;g.forEach(function(m){var h=m.parent,y=m.node;if(!(a(y)||!m.parent||u.has(m.parent.key))){if(a(m.parent.node)){u.add(h.key);return}var x=!0,b=!1;(h.children||[]).filter(function(C){return!a(C.node)}).forEach(function(C){var S=C.key,w=o.has(S);x&&!w&&(x=!1),!b&&(w||i.has(S))&&(b=!0)}),x||o.delete(h.key),b&&i.add(h.key),u.add(h.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(EG(i,o))}}function el(e,t,n,r){var a=[],o;r?o=r:o=pbe;var i=new Set(e.filter(function(f){var g=!!Oo(n,f);return g||a.push(f),g})),s=new Map,c=0;Object.keys(n).forEach(function(f){var g=n[f],m=g.level,h=s.get(m);h||(h=new Set,s.set(m,h)),h.add(g),c=Math.max(c,m)}),ar(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(f){return"'".concat(f,"'")}).join(", ")));var u;return t===!0?u=gbe(i,s,c,o):u=mbe(i,t.halfCheckedKeys,s,c,o),u}const hbe=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Dn(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},Dn(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Dn(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Xi(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${ae(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + ${n}:not(${n}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` + ${n}-checked:not(${n}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function wN(e,t){const n=fn(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[hbe(n)]}const IG=Nn("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[wN(n,e)]}),_G=ge.createContext(null);var vbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,rootClassName:o,children:i,indeterminate:s=!1,style:c,onMouseEnter:u,onMouseLeave:f,skipGroup:g=!1,disabled:m}=e,h=vbe(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:y,direction:x,checkbox:b}=l.useContext(Wt),C=l.useContext(_G),{isFormItemInput:S}=l.useContext(Ta),w=l.useContext(za),I=(n=(C==null?void 0:C.disabled)||m)!==null&&n!==void 0?n:w,E=l.useRef(h.value),_=l.useRef(null),R=Ua(t,_);l.useEffect(()=>{C==null||C.registerValue(h.value)},[]),l.useEffect(()=>{if(!g)return h.value!==E.current&&(C==null||C.cancelValue(E.current),C==null||C.registerValue(h.value),E.current=h.value),()=>C==null?void 0:C.cancelValue(h.value)},[h.value]),l.useEffect(()=>{var L;!((L=_.current)===null||L===void 0)&&L.input&&(_.current.input.indeterminate=s)},[s]);const N=y("checkbox",r),O=Hr(N),[$,A,B]=IG(N,O),j=Object.assign({},h);C&&!g&&(j.onChange=function(){h.onChange&&h.onChange.apply(h,arguments),C.toggleOption&&C.toggleOption({label:i,value:h.value})},j.name=C.name,j.checked=C.value.includes(h.value));const F=ce(`${N}-wrapper`,{[`${N}-rtl`]:x==="rtl",[`${N}-wrapper-checked`]:j.checked,[`${N}-wrapper-disabled`]:I,[`${N}-wrapper-in-form-item`]:S},b==null?void 0:b.className,a,o,B,O,A),D=ce({[`${N}-indeterminate`]:s},Y0,A),[k,M]=iG(j.onClick);return $(l.createElement(Sm,{component:"Checkbox",disabled:I},l.createElement("label",{className:F,style:Object.assign(Object.assign({},b==null?void 0:b.style),c),onMouseEnter:u,onMouseLeave:f,onClick:k},l.createElement(oG,Object.assign({},j,{onClick:M,prefixCls:N,className:D,disabled:I,ref:R})),i!==void 0&&l.createElement("span",{className:`${N}-label`},i))))},TG=l.forwardRef(bbe);var ybe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{defaultValue:n,children:r,options:a=[],prefixCls:o,className:i,rootClassName:s,style:c,onChange:u}=e,f=ybe(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:g,direction:m}=l.useContext(Wt),[h,y]=l.useState(f.value||n||[]),[x,b]=l.useState([]);l.useEffect(()=>{"value"in f&&y(f.value||[])},[f.value]);const C=l.useMemo(()=>a.map(D=>typeof D=="string"||typeof D=="number"?{label:D,value:D}:D),[a]),S=D=>{b(k=>k.filter(M=>M!==D))},w=D=>{b(k=>[].concat(Ze(k),[D]))},I=D=>{const k=h.indexOf(D.value),M=Ze(h);k===-1?M.push(D.value):M.splice(k,1),"value"in f||y(M),u==null||u(M.filter(L=>x.includes(L)).sort((L,H)=>{const U=C.findIndex(W=>W.value===L),z=C.findIndex(W=>W.value===H);return U-z}))},E=g("checkbox",o),_=`${E}-group`,R=Hr(E),[N,O,$]=IG(E,R),A=or(f,["value","disabled"]),B=a.length?C.map(D=>l.createElement(TG,{prefixCls:E,key:D.value.toString(),disabled:"disabled"in D?D.disabled:f.disabled,value:D.value,checked:h.includes(D.value),onChange:D.onChange,className:`${_}-item`,style:D.style,title:D.title,id:D.id,required:D.required},D.label)):r,j={toggleOption:I,value:h,disabled:f.disabled,name:f.name,registerValue:w,cancelValue:S},F=ce(_,{[`${_}-rtl`]:m==="rtl"},i,s,$,R,O);return N(l.createElement("div",Object.assign({className:F,style:c},A,{ref:t}),l.createElement(_G.Provider,{value:j},B)))}),Ti=TG;Ti.Group=xbe;Ti.__ANT_CHECKBOX=!0;const RG=l.createContext({});var Sbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(Wt),{gutter:a,wrap:o}=l.useContext(RG),{prefixCls:i,span:s,order:c,offset:u,push:f,pull:g,className:m,children:h,flex:y,style:x}=e,b=Sbe(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),C=n("col",i),[S,w,I]=Jce(C),E={};let _={};Cbe.forEach(O=>{let $={};const A=e[O];typeof A=="number"?$.span=A:typeof A=="object"&&($=A||{}),delete b[O],_=Object.assign(Object.assign({},_),{[`${C}-${O}-${$.span}`]:$.span!==void 0,[`${C}-${O}-order-${$.order}`]:$.order||$.order===0,[`${C}-${O}-offset-${$.offset}`]:$.offset||$.offset===0,[`${C}-${O}-push-${$.push}`]:$.push||$.push===0,[`${C}-${O}-pull-${$.pull}`]:$.pull||$.pull===0,[`${C}-rtl`]:r==="rtl"}),$.flex&&(_[`${C}-${O}-flex`]=!0,E[`--${C}-${O}-flex`]=B4($.flex))});const R=ce(C,{[`${C}-${s}`]:s!==void 0,[`${C}-order-${c}`]:c,[`${C}-offset-${u}`]:u,[`${C}-push-${f}`]:f,[`${C}-pull-${g}`]:g},m,_,w,I),N={};if(a&&a[0]>0){const O=a[0]/2;N.paddingLeft=O,N.paddingRight=O}return y&&(N.flex=B4(y),o===!1&&!N.minWidth&&(N.minWidth=0)),S(l.createElement("div",Object.assign({},b,{style:Object.assign(Object.assign(Object.assign({},N),x),E),className:R,ref:t}),h))});function wbe(e,t){const n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],a=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return r.forEach((o,i)=>{if(typeof o=="object"&&o!==null)for(let s=0;s{if(typeof e=="string"&&r(e),typeof e=="object")for(let o=0;o{a()},[JSON.stringify(e),t]),n}const Ma=l.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:o,style:i,children:s,gutter:c=0,wrap:u}=e,f=Ebe(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:g,direction:m}=l.useContext(Wt),h=Am(!0,null),y=z4(a,h),x=z4(r,h),b=g("row",n),[C,S,w]=Zce(b),I=wbe(c,h),E=ce(b,{[`${b}-no-wrap`]:u===!1,[`${b}-${x}`]:x,[`${b}-${y}`]:y,[`${b}-rtl`]:m==="rtl"},o,S,w),_={},R=I[0]!=null&&I[0]>0?I[0]/-2:void 0;R&&(_.marginLeft=R,_.marginRight=R);const[N,O]=I;_.rowGap=O;const $=l.useMemo(()=>({gutter:[N,O],wrap:u}),[N,O,u]);return C(l.createElement(RG.Provider,{value:$},l.createElement("div",Object.assign({},f,{className:E,style:Object.assign(Object.assign({},_),i),ref:t}),s)))}),Ibe=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:o,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{borderBlockStart:`${ae(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ae(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ae(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${ae(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ae(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-start`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${ae(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${ae(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},_be=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Tbe=Nn("Divider",e=>{const t=fn(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Ibe(t)]},_be,{unitless:{orientationMargin:!0}});var Rbe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,className:r,style:a}=ia("divider"),{prefixCls:o,type:i="horizontal",orientation:s="center",orientationMargin:c,className:u,rootClassName:f,children:g,dashed:m,variant:h="solid",plain:y,style:x}=e,b=Rbe(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),C=t("divider",o),[S,w,I]=Tbe(C),E=!!g,_=l.useMemo(()=>s==="left"?n==="rtl"?"end":"start":s==="right"?n==="rtl"?"start":"end":s,[n,s]),R=_==="start"&&c!=null,N=_==="end"&&c!=null,O=ce(C,r,w,I,`${C}-${i}`,{[`${C}-with-text`]:E,[`${C}-with-text-${_}`]:E,[`${C}-dashed`]:!!m,[`${C}-${h}`]:h!=="solid",[`${C}-plain`]:!!y,[`${C}-rtl`]:n==="rtl",[`${C}-no-default-orientation-margin-start`]:R,[`${C}-no-default-orientation-margin-end`]:N},u,f),$=l.useMemo(()=>typeof c=="number"?c:/^\d+$/.test(c)?Number(c):c,[c]),A={marginInlineStart:R?$:void 0,marginInlineEnd:N?$:void 0};return S(l.createElement("div",Object.assign({className:O,style:Object.assign(Object.assign({},a),x)},b,{role:"separator"}),g&&i!=="vertical"&&l.createElement("span",{className:`${C}-inner-text`,style:A},g)))};var Obe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},$be=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Obe}))},Nbe=l.forwardRef($be);function cO(){return typeof BigInt=="function"}function OG(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function ru(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),o=a[0]||"0",i=a[1]||"0";o==="0"&&i==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:o,decimalStr:i,fullStr:"".concat(s).concat(r)}}function EN(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Yc(e){var t=String(e);if(EN(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&IN(t)?t.length-t.indexOf(".")-1:0}function Ny(e){var t=String(e);if(EN(e)){if(e>Number.MAX_SAFE_INTEGER)return String(cO()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":ru("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),kbe=function(){function e(t){if(Pr(this,e),re(this,"origin",""),re(this,"number",void 0),re(this,"empty",void 0),OG(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Dr(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var a=this.number+r;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(aNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Ny(this.number):this.origin}}]),e}();function Fi(e){return cO()?new Abe(e):new kbe(e)}function Cb(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=ru(e),o=a.negativeStr,i=a.integerStr,s=a.decimalStr,c="".concat(t).concat(s),u="".concat(o).concat(i);if(n>=0){var f=Number(s[n]);if(f>=5&&!r){var g=Fi(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-f));return Cb(g.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return c===".0"?u:"".concat(u).concat(c)}function Pbe(e){return!!(e.addonBefore||e.addonAfter)}function Dbe(e){return!!(e.prefix||e.suffix||e.allowClear)}function H4(e,t,n){var r=t.cloneNode(!0),a=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},a}function o0(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=H4(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=H4(t,e,r),n(a);return}n(a)}}function _N(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var a=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}var TN=ge.forwardRef(function(e,t){var n,r,a,o=e.inputElement,i=e.children,s=e.prefixCls,c=e.prefix,u=e.suffix,f=e.addonBefore,g=e.addonAfter,m=e.className,h=e.style,y=e.disabled,x=e.readOnly,b=e.focused,C=e.triggerFocus,S=e.allowClear,w=e.value,I=e.handleReset,E=e.hidden,_=e.classes,R=e.classNames,N=e.dataAttrs,O=e.styles,$=e.components,A=e.onClear,B=i??o,j=($==null?void 0:$.affixWrapper)||"span",F=($==null?void 0:$.groupWrapper)||"span",D=($==null?void 0:$.wrapper)||"span",k=($==null?void 0:$.groupAddon)||"span",M=l.useRef(null),L=function(fe){var ue;(ue=M.current)!==null&&ue!==void 0&&ue.contains(fe.target)&&(C==null||C())},H=Dbe(e),U=l.cloneElement(B,{value:w,className:ce((n=B.props)===null||n===void 0?void 0:n.className,!H&&(R==null?void 0:R.variant))||null}),z=l.useRef(null);if(ge.useImperativeHandle(t,function(){return{nativeElement:z.current||M.current}}),H){var W=null;if(S){var q=!y&&!x&&w,K="".concat(s,"-clear-icon"),G=Pt(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"✖";W=ge.createElement("button",{type:"button",tabIndex:-1,onClick:function(fe){I==null||I(fe),A==null||A()},onMouseDown:function(fe){return fe.preventDefault()},className:ce(K,re(re({},"".concat(K,"-hidden"),!q),"".concat(K,"-has-suffix"),!!u))},G)}var X="".concat(s,"-affix-wrapper"),Z=ce(X,re(re(re(re(re({},"".concat(s,"-disabled"),y),"".concat(X,"-disabled"),y),"".concat(X,"-focused"),b),"".concat(X,"-readonly"),x),"".concat(X,"-input-with-clear-btn"),u&&S&&w),_==null?void 0:_.affixWrapper,R==null?void 0:R.affixWrapper,R==null?void 0:R.variant),J=(u||S)&&ge.createElement("span",{className:ce("".concat(s,"-suffix"),R==null?void 0:R.suffix),style:O==null?void 0:O.suffix},W,u);U=ge.createElement(j,Ie({className:Z,style:O==null?void 0:O.affixWrapper,onClick:L},N==null?void 0:N.affixWrapper,{ref:M}),c&&ge.createElement("span",{className:ce("".concat(s,"-prefix"),R==null?void 0:R.prefix),style:O==null?void 0:O.prefix},c),U,J)}if(Pbe(e)){var ne="".concat(s,"-group"),Q="".concat(ne,"-addon"),ee="".concat(ne,"-wrapper"),te=ce("".concat(s,"-wrapper"),ne,_==null?void 0:_.wrapper,R==null?void 0:R.wrapper),oe=ce(ee,re({},"".concat(ee,"-disabled"),y),_==null?void 0:_.group,R==null?void 0:R.groupWrapper);U=ge.createElement(F,{className:oe,ref:z},ge.createElement(D,{className:te},f&&ge.createElement(k,{className:Q},f),U,g&&ge.createElement(k,{className:Q},g)))}return ge.cloneElement(U,{className:ce((r=U.props)===null||r===void 0?void 0:r.className,m)||null,style:se(se({},(a=U.props)===null||a===void 0?void 0:a.style),h),hidden:E})}),Mbe=["show"];function $G(e,t){return l.useMemo(function(){var n={};t&&(n.show=Pt(t)==="object"&&t.formatter?t.formatter:!!t),n=se(se({},n),e);var r=n,a=r.show,o=Bt(r,Mbe);return se(se({},o),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:o.strategy||function(i){return i.length}})},[e,t])}var Lbe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],jbe=l.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,a=e.onFocus,o=e.onBlur,i=e.onPressEnter,s=e.onKeyDown,c=e.onKeyUp,u=e.prefixCls,f=u===void 0?"rc-input":u,g=e.disabled,m=e.htmlSize,h=e.className,y=e.maxLength,x=e.suffix,b=e.showCount,C=e.count,S=e.type,w=S===void 0?"text":S,I=e.classes,E=e.classNames,_=e.styles,R=e.onCompositionStart,N=e.onCompositionEnd,O=Bt(e,Lbe),$=l.useState(!1),A=ye($,2),B=A[0],j=A[1],F=l.useRef(!1),D=l.useRef(!1),k=l.useRef(null),M=l.useRef(null),L=function(Se){k.current&&_N(k.current,Se)},H=Vn(e.defaultValue,{value:e.value}),U=ye(H,2),z=U[0],W=U[1],q=z==null?"":String(z),K=l.useState(null),G=ye(K,2),X=G[0],Z=G[1],J=$G(C,b),ne=J.max||y,Q=J.strategy(q),ee=!!ne&&Q>ne;l.useImperativeHandle(t,function(){var he;return{focus:L,blur:function(){var _e;(_e=k.current)===null||_e===void 0||_e.blur()},setSelectionRange:function(_e,$e,ze){var Fe;(Fe=k.current)===null||Fe===void 0||Fe.setSelectionRange(_e,$e,ze)},select:function(){var _e;(_e=k.current)===null||_e===void 0||_e.select()},input:k.current,nativeElement:((he=M.current)===null||he===void 0?void 0:he.nativeElement)||k.current}}),l.useEffect(function(){D.current&&(D.current=!1),j(function(he){return he&&g?!1:he})},[g]);var te=function(Se,_e,$e){var ze=_e;if(!F.current&&J.exceedFormatter&&J.max&&J.strategy(_e)>J.max){if(ze=J.exceedFormatter(_e,{max:J.max}),_e!==ze){var Fe,je;Z([((Fe=k.current)===null||Fe===void 0?void 0:Fe.selectionStart)||0,((je=k.current)===null||je===void 0?void 0:je.selectionEnd)||0])}}else if($e.source==="compositionEnd")return;W(ze),k.current&&o0(k.current,Se,r,ze)};l.useEffect(function(){if(X){var he;(he=k.current)===null||he===void 0||he.setSelectionRange.apply(he,Ze(X))}},[X]);var oe=function(Se){te(Se,Se.target.value,{source:"change"})},le=function(Se){F.current=!1,te(Se,Se.currentTarget.value,{source:"compositionEnd"}),N==null||N(Se)},fe=function(Se){i&&Se.key==="Enter"&&!D.current&&(D.current=!0,i(Se)),s==null||s(Se)},ue=function(Se){Se.key==="Enter"&&(D.current=!1),c==null||c(Se)},we=function(Se){j(!0),a==null||a(Se)},pe=function(Se){D.current&&(D.current=!1),j(!1),o==null||o(Se)},ve=function(Se){W(""),L(),k.current&&o0(k.current,Se,r)},Ce=ee&&"".concat(f,"-out-of-range"),me=function(){var Se=or(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return ge.createElement("input",Ie({autoComplete:n},Se,{onChange:oe,onFocus:we,onBlur:pe,onKeyDown:fe,onKeyUp:ue,className:ce(f,re({},"".concat(f,"-disabled"),g),E==null?void 0:E.input),style:_==null?void 0:_.input,ref:k,size:m,type:w,onCompositionStart:function($e){F.current=!0,R==null||R($e)},onCompositionEnd:le}))},ie=function(){var Se=Number(ne)>0;if(x||J.show){var _e=J.showFormatter?J.showFormatter({value:q,count:Q,maxLength:ne}):"".concat(Q).concat(Se?" / ".concat(ne):"");return ge.createElement(ge.Fragment,null,J.show&&ge.createElement("span",{className:ce("".concat(f,"-show-count-suffix"),re({},"".concat(f,"-show-count-has-suffix"),!!x),E==null?void 0:E.count),style:se({},_==null?void 0:_.count)},_e),x)}return null};return ge.createElement(TN,Ie({},O,{prefixCls:f,className:ce(h,Ce),handleReset:ve,value:q,focused:B,triggerFocus:L,suffix:ie(),disabled:g,classes:I,classNames:E,styles:_}),me())});function Fbe(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,a){if(t[a])return t[a];var o=r[a];return typeof o=="function"?o.bind(r):o}}):e}function Bbe(e,t){var n=l.useRef(null);function r(){try{var o=e.selectionStart,i=e.selectionEnd,s=e.value,c=s.substring(0,o),u=s.substring(i);n.current={start:o,end:i,value:s,beforeTxt:c,afterTxt:u}}catch{}}function a(){if(e&&n.current&&t)try{var o=e.value,i=n.current,s=i.beforeTxt,c=i.afterTxt,u=i.start,f=o.length;if(o.startsWith(s))f=s.length;else if(o.endsWith(c))f=o.length-n.current.afterTxt.length;else{var g=s[u-1],m=o.indexOf(g,u-1);m!==-1&&(f=m+1)}e.setSelectionRange(f,f)}catch(h){ar(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(h.message))}}return[r,a]}var zbe=function(){var t=l.useState(!1),n=ye(t,2),r=n[0],a=n[1];return Rn(function(){a(dy())},[]),r},Hbe=200,Ube=600;function Vbe(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,a=e.upDisabled,o=e.downDisabled,i=e.onStep,s=l.useRef(),c=l.useRef([]),u=l.useRef();u.current=i;var f=function(){clearTimeout(s.current)},g=function(w,I){w.preventDefault(),f(),u.current(I);function E(){u.current(I),s.current=setTimeout(E,Hbe)}s.current=setTimeout(E,Ube)};l.useEffect(function(){return function(){f(),c.current.forEach(function(S){return mn.cancel(S)})}},[]);var m=zbe();if(m)return null;var h="".concat(t,"-handler"),y=ce(h,"".concat(h,"-up"),re({},"".concat(h,"-up-disabled"),a)),x=ce(h,"".concat(h,"-down"),re({},"".concat(h,"-down-disabled"),o)),b=function(){return c.current.push(mn(f))},C={unselectable:"on",role:"button",onMouseUp:b,onMouseLeave:b};return l.createElement("div",{className:"".concat(h,"-wrap")},l.createElement("span",Ie({},C,{onMouseDown:function(w){g(w,!0)},"aria-label":"Increase Value","aria-disabled":a,className:y}),n||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),l.createElement("span",Ie({},C,{onMouseDown:function(w){g(w,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:x}),r||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function U4(e){var t=typeof e=="number"?Ny(e):ru(e).fullStr,n=t.includes(".");return n?ru(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const Wbe=function(){var e=l.useRef(0),t=function(){mn.cancel(e.current)};return l.useEffect(function(){return t},[]),function(n){t(),e.current=mn(function(){n()})}};var Gbe=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],qbe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],V4=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},W4=function(t){var n=Fi(t);return n.isInvalidate()?null:n},Kbe=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.min,i=e.max,s=e.step,c=s===void 0?1:s,u=e.defaultValue,f=e.value,g=e.disabled,m=e.readOnly,h=e.upHandler,y=e.downHandler,x=e.keyboard,b=e.changeOnWheel,C=b===void 0?!1:b,S=e.controls,w=S===void 0?!0:S;e.classNames;var I=e.stringMode,E=e.parser,_=e.formatter,R=e.precision,N=e.decimalSeparator,O=e.onChange,$=e.onInput,A=e.onPressEnter,B=e.onStep,j=e.changeOnBlur,F=j===void 0?!0:j,D=e.domRef,k=Bt(e,Gbe),M="".concat(n,"-input"),L=l.useRef(null),H=l.useState(!1),U=ye(H,2),z=U[0],W=U[1],q=l.useRef(!1),K=l.useRef(!1),G=l.useRef(!1),X=l.useState(function(){return Fi(f??u)}),Z=ye(X,2),J=Z[0],ne=Z[1];function Q(xe){f===void 0&&ne(xe)}var ee=l.useCallback(function(xe,be){if(!be)return R>=0?R:Math.max(Yc(xe),Yc(c))},[R,c]),te=l.useCallback(function(xe){var be=String(xe);if(E)return E(be);var Ee=be;return N&&(Ee=Ee.replace(N,".")),Ee.replace(/[^\w.-]+/g,"")},[E,N]),oe=l.useRef(""),le=l.useCallback(function(xe,be){if(_)return _(xe,{userTyping:be,input:String(oe.current)});var Ee=typeof xe=="number"?Ny(xe):xe;if(!be){var ke=ee(Ee,be);if(IN(Ee)&&(N||ke>=0)){var et=N||".";Ee=Cb(Ee,et,ke)}}return Ee},[_,ee,N]),fe=l.useState(function(){var xe=u??f;return J.isInvalidate()&&["string","number"].includes(Pt(xe))?Number.isNaN(xe)?"":xe:le(J.toString(),!1)}),ue=ye(fe,2),we=ue[0],pe=ue[1];oe.current=we;function ve(xe,be){pe(le(xe.isInvalidate()?xe.toString(!1):xe.toString(!be),be))}var Ce=l.useMemo(function(){return W4(i)},[i,R]),me=l.useMemo(function(){return W4(o)},[o,R]),ie=l.useMemo(function(){return!Ce||!J||J.isInvalidate()?!1:Ce.lessEquals(J)},[Ce,J]),he=l.useMemo(function(){return!me||!J||J.isInvalidate()?!1:J.lessEquals(me)},[me,J]),Se=Bbe(L.current,z),_e=ye(Se,2),$e=_e[0],ze=_e[1],Fe=function(be){return Ce&&!be.lessEquals(Ce)?Ce:me&&!me.lessEquals(be)?me:null},je=function(be){return!Fe(be)},qe=function(be,Ee){var ke=be,et=je(ke)||ke.isEmpty();if(!ke.isEmpty()&&!Ee&&(ke=Fe(ke)||ke,et=!0),!m&&!g&&et){var Be=ke.toString(),Ke=ee(Be,Ee);return Ke>=0&&(ke=Fi(Cb(Be,".",Ke)),je(ke)||(ke=Fi(Cb(Be,".",Ke,!0)))),ke.equals(J)||(Q(ke),O==null||O(ke.isEmpty()?null:V4(I,ke)),f===void 0&&ve(ke,Ee)),ke}return J},Ue=Wbe(),Ne=function xe(be){if($e(),oe.current=be,pe(be),!K.current){var Ee=te(be),ke=Fi(Ee);ke.isNaN()||qe(ke,!0)}$==null||$(be),Ue(function(){var et=be;E||(et=be.replace(/。/g,".")),et!==be&&xe(et)})},Ye=function(){K.current=!0},Re=function(){K.current=!1,Ne(L.current.value)},Ae=function(be){Ne(be.target.value)},Le=function(be){var Ee;if(!(be&&ie||!be&&he)){q.current=!1;var ke=Fi(G.current?U4(c):c);be||(ke=ke.negate());var et=(J||Fi(0)).add(ke.toString()),Be=qe(et,!1);B==null||B(V4(I,Be),{offset:G.current?U4(c):c,type:be?"up":"down"}),(Ee=L.current)===null||Ee===void 0||Ee.focus()}},Te=function(be){var Ee=Fi(te(we)),ke;Ee.isNaN()?ke=qe(J,be):ke=qe(Ee,be),f!==void 0?ve(J,!1):ke.isNaN()||ve(ke,!1)},Ve=function(){q.current=!0},Je=function(be){var Ee=be.key,ke=be.shiftKey;q.current=!0,G.current=ke,Ee==="Enter"&&(K.current||(q.current=!1),Te(!1),A==null||A(be)),x!==!1&&!K.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ee)&&(Le(Ee==="Up"||Ee==="ArrowUp"),be.preventDefault())},Qe=function(){q.current=!1,G.current=!1};l.useEffect(function(){if(C&&z){var xe=function(ke){Le(ke.deltaY<0),ke.preventDefault()},be=L.current;if(be)return be.addEventListener("wheel",xe,{passive:!1}),function(){return be.removeEventListener("wheel",xe)}}});var ut=function(){F&&Te(!1),W(!1),q.current=!1};return tu(function(){J.isInvalidate()||ve(J,!1)},[R,_]),tu(function(){var xe=Fi(f);ne(xe);var be=Fi(te(we));(!xe.equals(be)||!q.current||_)&&ve(xe,q.current)},[f]),tu(function(){_&&ze()},[we]),l.createElement("div",{ref:D,className:ce(n,r,re(re(re(re(re({},"".concat(n,"-focused"),z),"".concat(n,"-disabled"),g),"".concat(n,"-readonly"),m),"".concat(n,"-not-a-number"),J.isNaN()),"".concat(n,"-out-of-range"),!J.isInvalidate()&&!je(J))),style:a,onFocus:function(){W(!0)},onBlur:ut,onKeyDown:Je,onKeyUp:Qe,onCompositionStart:Ye,onCompositionEnd:Re,onBeforeInput:Ve},w&&l.createElement(Vbe,{prefixCls:n,upNode:h,downNode:y,upDisabled:ie,downDisabled:he,onStep:Le}),l.createElement("div",{className:"".concat(M,"-wrap")},l.createElement("input",Ie({autoComplete:"off",role:"spinbutton","aria-valuemin":o,"aria-valuemax":i,"aria-valuenow":J.isInvalidate()?null:J.toString(),step:c},k,{ref:Ua(L,t),className:M,value:we,onChange:Ae,disabled:g,readOnly:m}))))}),Ybe=l.forwardRef(function(e,t){var n=e.disabled,r=e.style,a=e.prefixCls,o=a===void 0?"rc-input-number":a,i=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,f=e.addonAfter,g=e.className,m=e.classNames,h=Bt(e,qbe),y=l.useRef(null),x=l.useRef(null),b=l.useRef(null),C=function(w){b.current&&_N(b.current,w)};return l.useImperativeHandle(t,function(){return Fbe(b.current,{focus:C,nativeElement:y.current.nativeElement||x.current})}),l.createElement(TN,{className:g,triggerFocus:C,prefixCls:o,value:i,disabled:n,style:r,prefix:s,suffix:c,addonAfter:f,addonBefore:u,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:y},l.createElement(Kbe,Ie({prefixCls:o,disabled:n,ref:b,domRef:x,className:m==null?void 0:m.input},h)))});const Xbe=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto",r=e.controlHeightSM-e.lineWidth*2;return Object.assign(Object.assign({},$u(e)),{controlWidth:90,handleWidth:r,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new In(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0,handleVisibleWidth:n===!0?r:0})},G4=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e;const o=t==="lg"?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${n}-handler-up`]:{borderStartEndRadius:o},[`${n}-handler-down`]:{borderEndEndRadius:o}}}},Zbe=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:a,inputFontSizeSM:o,inputFontSizeLG:i,controlHeightLG:s,controlHeightSM:c,colorError:u,paddingInlineSM:f,paddingBlockSM:g,paddingBlockLG:m,paddingInlineLG:h,colorTextDescription:y,motionDurationMid:x,handleHoverColor:b,handleOpacity:C,paddingInline:S,paddingBlock:w,handleBg:I,handleActiveBg:E,colorTextDisabled:_,borderRadiusSM:R,borderRadiusLG:N,controlWidth:O,handleBorderColor:$,filledHandleBg:A,lineHeightLG:B,calc:j}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),Lm(e)),{display:"inline-block",width:O,margin:0,padding:0,borderRadius:a}),hN(e,{[`${t}-handler-wrap`]:{background:I,[`${t}-handler-down`]:{borderBlockStart:`${ae(n)} ${r} ${$}`}}})),bN(e,{[`${t}-handler-wrap`]:{background:A,[`${t}-handler-down`]:{borderBlockStart:`${ae(n)} ${r} ${$}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:I}}})),yN(e,{[`${t}-handler-wrap`]:{background:I,[`${t}-handler-down`]:{borderBlockStart:`${ae(n)} ${r} ${$}`}}})),vN(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,lineHeight:B,borderRadius:N,[`input${t}-input`]:{height:j(s).sub(j(n).mul(2)).equal(),padding:`${ae(m)} ${ae(h)}`}},"&-sm":{padding:0,fontSize:o,borderRadius:R,[`input${t}-input`]:{height:j(c).sub(j(n).mul(2)).equal(),padding:`${ae(g)} ${ae(f)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},Dn(e)),pG(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:N,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:R}}},lG(e)),uG(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{width:"100%",padding:`${ae(w)} ${ae(S)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${x} linear`,appearance:"textfield",fontSize:"inherit"}),xN(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:C,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${x}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:y,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${ae(n)} ${r} ${$}`,transition:`all ${x} linear`,"&:active":{background:E},"&:hover":{height:"60%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{color:b}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Iu()),{color:y,transition:`all ${x} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},G4(e,"lg")),G4(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + ${t}-handler-up-disabled, + ${t}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${t}-handler-up-disabled:hover &-handler-up-inner, + ${t}-handler-down-disabled:hover &-handler-down-inner + `]:{color:_}})}]},Jbe=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:o,borderRadiusLG:i,borderRadiusSM:s,paddingInlineLG:c,paddingInlineSM:u,paddingBlockLG:f,paddingBlockSM:g,motionDurationMid:m}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${ae(n)} 0`}},Lm(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:i,paddingInlineStart:c,[`input${t}-input`]:{padding:`${ae(f)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${ae(g)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${m}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},Qbe=Nn("InputNumber",e=>{const t=fn(e,Ou(e));return[Zbe(t),Jbe(t),wm(t)]},Xbe,{unitless:{handleOpacity:!0}});var e0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(Wt),a=l.useRef(null);l.useImperativeHandle(t,()=>a.current);const{className:o,rootClassName:i,size:s,disabled:c,prefixCls:u,addonBefore:f,addonAfter:g,prefix:m,suffix:h,bordered:y,readOnly:x,status:b,controls:C,variant:S}=e,w=e0e(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),I=n("input-number",u),E=Hr(I),[_,R,N]=Qbe(I,E),{compactSize:O,compactItemClassnames:$}=Os(I,r);let A=l.createElement(Nbe,{className:`${I}-handler-up-inner`}),B=l.createElement(my,{className:`${I}-handler-down-inner`});const j=typeof C=="boolean"?C:void 0;typeof C=="object"&&(A=typeof C.upIcon>"u"?A:l.createElement("span",{className:`${I}-handler-up-inner`},C.upIcon),B=typeof C.downIcon>"u"?B:l.createElement("span",{className:`${I}-handler-down-inner`},C.downIcon));const{hasFeedback:F,status:D,isFormItemInput:k,feedbackIcon:M}=l.useContext(Ta),L=mc(D,b),H=da(J=>{var ne;return(ne=s??O)!==null&&ne!==void 0?ne:J}),U=l.useContext(za),z=c??U,[W,q]=hc("inputNumber",S,y),K=F&&l.createElement(l.Fragment,null,M),G=ce({[`${I}-lg`]:H==="large",[`${I}-sm`]:H==="small",[`${I}-rtl`]:r==="rtl",[`${I}-in-form-item`]:k},R),X=`${I}-group`,Z=l.createElement(Ybe,Object.assign({ref:a,disabled:z,className:ce(N,E,o,i,$),upHandler:A,downHandler:B,prefixCls:I,readOnly:x,controls:j,prefix:m,suffix:K||h,addonBefore:f&&l.createElement(Es,{form:!0,space:!0},f),addonAfter:g&&l.createElement(Es,{form:!0,space:!0},g),classNames:{input:G,variant:ce({[`${I}-${W}`]:q},rl(I,L,F)),affixWrapper:ce({[`${I}-affix-wrapper-sm`]:H==="small",[`${I}-affix-wrapper-lg`]:H==="large",[`${I}-affix-wrapper-rtl`]:r==="rtl",[`${I}-affix-wrapper-without-controls`]:C===!1||z},R),wrapper:ce({[`${X}-rtl`]:r==="rtl"},R),groupWrapper:ce({[`${I}-group-wrapper-sm`]:H==="small",[`${I}-group-wrapper-lg`]:H==="large",[`${I}-group-wrapper-rtl`]:r==="rtl",[`${I}-group-wrapper-${W}`]:q},rl(`${I}-group-wrapper`,L,F),R)}},w));return _(Z)}),AG=NG,t0e=e=>l.createElement(Qi,{theme:{components:{InputNumber:{handleVisible:!0}}}},l.createElement(NG,Object.assign({},e)));AG._InternalPanelDoNotUseOrYouWillBeFired=t0e;const kG=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:ge.createElement(pc,null)}),t};function PG(e,t){const n=l.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var a,o,i,s;!((a=e.current)===null||a===void 0)&&a.input&&((o=e.current)===null||o===void 0?void 0:o.input.getAttribute("type"))==="password"&&(!((i=e.current)===null||i===void 0)&&i.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return l.useEffect(()=>(t&&r(),()=>n.current.forEach(a=>{a&&clearTimeout(a)})),[]),r}function n0e(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var r0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,bordered:r=!0,status:a,size:o,disabled:i,onBlur:s,onFocus:c,suffix:u,allowClear:f,addonAfter:g,addonBefore:m,className:h,style:y,styles:x,rootClassName:b,onChange:C,classNames:S,variant:w}=e,I=r0e(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:E,direction:_,allowClear:R,autoComplete:N,className:O,style:$,classNames:A,styles:B}=ia("input"),j=E("input",n),F=l.useRef(null),D=Hr(j),[k,M,L]=gG(j,b),[H]=mG(j,D),{compactSize:U,compactItemClassnames:z}=Os(j,_),W=da(pe=>{var ve;return(ve=o??U)!==null&&ve!==void 0?ve:pe}),q=ge.useContext(za),K=i??q,{status:G,hasFeedback:X,feedbackIcon:Z}=l.useContext(Ta),J=mc(G,a),ne=n0e(e)||!!X;l.useRef(ne);const Q=PG(F,!0),ee=pe=>{Q(),s==null||s(pe)},te=pe=>{Q(),c==null||c(pe)},oe=pe=>{Q(),C==null||C(pe)},le=(X||u)&&ge.createElement(ge.Fragment,null,u,X&&Z),fe=kG(f??R),[ue,we]=hc("input",w,r);return k(H(ge.createElement(jbe,Object.assign({ref:Ua(t,F),prefixCls:j,autoComplete:N},I,{disabled:K,onBlur:ee,onFocus:te,style:Object.assign(Object.assign({},$),y),styles:Object.assign(Object.assign({},B),x),suffix:le,allowClear:fe,className:ce(h,b,L,D,z,O),onChange:oe,addonBefore:m&&ge.createElement(Es,{form:!0,space:!0},m),addonAfter:g&&ge.createElement(Es,{form:!0,space:!0},g),classNames:Object.assign(Object.assign(Object.assign({},S),A),{input:ce({[`${j}-sm`]:W==="small",[`${j}-lg`]:W==="large",[`${j}-rtl`]:_==="rtl"},S==null?void 0:S.input,A.input,M),variant:ce({[`${j}-${ue}`]:we},rl(j,J)),affixWrapper:ce({[`${j}-affix-wrapper-sm`]:W==="small",[`${j}-affix-wrapper-lg`]:W==="large",[`${j}-affix-wrapper-rtl`]:_==="rtl"},M),wrapper:ce({[`${j}-group-rtl`]:_==="rtl"},M),groupWrapper:ce({[`${j}-group-wrapper-sm`]:W==="small",[`${j}-group-wrapper-lg`]:W==="large",[`${j}-group-wrapper-rtl`]:_==="rtl",[`${j}-group-wrapper-${ue}`]:we},rl(`${j}-group-wrapper`,J,X),M)})}))))});function uO(e,t,n){return(e-t)/(n-t)}function RN(e,t,n,r){var a=uO(t,n,r),o={};switch(e){case"rtl":o.right="".concat(a*100,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(a*100,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(a*100,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(a*100,"%"),o.transform="translateX(-50%)";break}return o}function Gc(e,t){return Array.isArray(e)?e[t]:e}var Nu=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),a0e=l.createContext({}),o0e=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],q4=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,a=e.valueIndex,o=e.onStartMove,i=e.onDelete,s=e.style,c=e.render,u=e.dragging,f=e.draggingDelete,g=e.onOffsetChange,m=e.onChangeComplete,h=e.onFocus,y=e.onMouseEnter,x=Bt(e,o0e),b=l.useContext(Nu),C=b.min,S=b.max,w=b.direction,I=b.disabled,E=b.keyboard,_=b.range,R=b.tabIndex,N=b.ariaLabelForHandle,O=b.ariaLabelledByForHandle,$=b.ariaRequired,A=b.ariaValueTextFormatterForHandle,B=b.styles,j=b.classNames,F="".concat(n,"-handle"),D=function(G){I||o(G,a)},k=function(G){h==null||h(G,a)},M=function(G){y(G,a)},L=function(G){if(!I&&E){var X=null;switch(G.which||G.keyCode){case pt.LEFT:X=w==="ltr"||w==="btt"?-1:1;break;case pt.RIGHT:X=w==="ltr"||w==="btt"?1:-1;break;case pt.UP:X=w!=="ttb"?1:-1;break;case pt.DOWN:X=w!=="ttb"?-1:1;break;case pt.HOME:X="min";break;case pt.END:X="max";break;case pt.PAGE_UP:X=2;break;case pt.PAGE_DOWN:X=-2;break;case pt.BACKSPACE:case pt.DELETE:i(a);break}X!==null&&(G.preventDefault(),g(X,a))}},H=function(G){switch(G.which||G.keyCode){case pt.LEFT:case pt.RIGHT:case pt.UP:case pt.DOWN:case pt.HOME:case pt.END:case pt.PAGE_UP:case pt.PAGE_DOWN:m==null||m();break}},U=RN(w,r,C,S),z={};if(a!==null){var W;z={tabIndex:I?null:Gc(R,a),role:"slider","aria-valuemin":C,"aria-valuemax":S,"aria-valuenow":r,"aria-disabled":I,"aria-label":Gc(N,a),"aria-labelledby":Gc(O,a),"aria-required":Gc($,a),"aria-valuetext":(W=Gc(A,a))===null||W===void 0?void 0:W(r),"aria-orientation":w==="ltr"||w==="rtl"?"horizontal":"vertical",onMouseDown:D,onTouchStart:D,onFocus:k,onMouseEnter:M,onKeyDown:L,onKeyUp:H}}var q=l.createElement("div",Ie({ref:t,className:ce(F,re(re(re({},"".concat(F,"-").concat(a+1),a!==null&&_),"".concat(F,"-dragging"),u),"".concat(F,"-dragging-delete"),f),j.handle),style:se(se(se({},U),s),B.handle)},z,x));return c&&(q=c(q,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:f})),q}),i0e=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],s0e=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,o=e.onOffsetChange,i=e.values,s=e.handleRender,c=e.activeHandleRender,u=e.draggingIndex,f=e.draggingDelete,g=e.onFocus,m=Bt(e,i0e),h=l.useRef({}),y=l.useState(!1),x=ye(y,2),b=x[0],C=x[1],S=l.useState(-1),w=ye(S,2),I=w[0],E=w[1],_=function(A){E(A),C(!0)},R=function(A,B){_(B),g==null||g(A)},N=function(A,B){_(B)};l.useImperativeHandle(t,function(){return{focus:function(A){var B;(B=h.current[A])===null||B===void 0||B.focus()},hideHelp:function(){Ka.flushSync(function(){C(!1)})}}});var O=se({prefixCls:n,onStartMove:a,onOffsetChange:o,render:s,onFocus:R,onMouseEnter:N},m);return l.createElement(l.Fragment,null,i.map(function($,A){var B=u===A;return l.createElement(q4,Ie({ref:function(F){F?h.current[A]=F:delete h.current[A]},dragging:B,draggingDelete:B&&f,style:Gc(r,A),key:A,value:$,valueIndex:A},O))}),c&&b&&l.createElement(q4,Ie({key:"a11y"},O,{value:i[I],valueIndex:null,dragging:u!==-1,draggingDelete:f,render:c,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),l0e=function(t){var n=t.prefixCls,r=t.style,a=t.children,o=t.value,i=t.onClick,s=l.useContext(Nu),c=s.min,u=s.max,f=s.direction,g=s.includedStart,m=s.includedEnd,h=s.included,y="".concat(n,"-text"),x=RN(f,o,c,u);return l.createElement("span",{className:ce(y,re({},"".concat(y,"-active"),h&&g<=o&&o<=m)),style:se(se({},x),r),onMouseDown:function(C){C.stopPropagation()},onClick:function(){i(o)}},a)},c0e=function(t){var n=t.prefixCls,r=t.marks,a=t.onClick,o="".concat(n,"-mark");return r.length?l.createElement("div",{className:o},r.map(function(i){var s=i.value,c=i.style,u=i.label;return l.createElement(l0e,{key:s,prefixCls:o,style:c,value:s,onClick:a},u)})):null},u0e=function(t){var n=t.prefixCls,r=t.value,a=t.style,o=t.activeStyle,i=l.useContext(Nu),s=i.min,c=i.max,u=i.direction,f=i.included,g=i.includedStart,m=i.includedEnd,h="".concat(n,"-dot"),y=f&&g<=r&&r<=m,x=se(se({},RN(u,r,s,c)),typeof a=="function"?a(r):a);return y&&(x=se(se({},x),typeof o=="function"?o(r):o)),l.createElement("span",{className:ce(h,re({},"".concat(h,"-active"),y)),style:x})},d0e=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,o=t.style,i=t.activeStyle,s=l.useContext(Nu),c=s.min,u=s.max,f=s.step,g=l.useMemo(function(){var m=new Set;if(r.forEach(function(y){m.add(y.value)}),a&&f!==null)for(var h=c;h<=u;)m.add(h),h+=f;return Array.from(m)},[c,u,f,a,r]);return l.createElement("div",{className:"".concat(n,"-step")},g.map(function(m){return l.createElement(u0e,{prefixCls:n,key:m,value:m,style:o,activeStyle:i})}))},K4=function(t){var n=t.prefixCls,r=t.style,a=t.start,o=t.end,i=t.index,s=t.onStartMove,c=t.replaceCls,u=l.useContext(Nu),f=u.direction,g=u.min,m=u.max,h=u.disabled,y=u.range,x=u.classNames,b="".concat(n,"-track"),C=uO(a,g,m),S=uO(o,g,m),w=function(R){!h&&s&&s(R,-1)},I={};switch(f){case"rtl":I.right="".concat(C*100,"%"),I.width="".concat(S*100-C*100,"%");break;case"btt":I.bottom="".concat(C*100,"%"),I.height="".concat(S*100-C*100,"%");break;case"ttb":I.top="".concat(C*100,"%"),I.height="".concat(S*100-C*100,"%");break;default:I.left="".concat(C*100,"%"),I.width="".concat(S*100-C*100,"%")}var E=c||ce(b,re(re({},"".concat(b,"-").concat(i+1),i!==null&&y),"".concat(n,"-track-draggable"),s),x.track);return l.createElement("div",{className:E,style:se(se({},I),r),onMouseDown:w,onTouchStart:w})},f0e=function(t){var n=t.prefixCls,r=t.style,a=t.values,o=t.startPoint,i=t.onStartMove,s=l.useContext(Nu),c=s.included,u=s.range,f=s.min,g=s.styles,m=s.classNames,h=l.useMemo(function(){if(!u){if(a.length===0)return[];var x=o??f,b=a[0];return[{start:Math.min(x,b),end:Math.max(x,b)}]}for(var C=[],S=0;Sp0e&&f3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof x=="number"){var S,w=y[b],I=w+x,E=[];r.forEach(function($){E.push($.value)}),E.push(e,t),E.push(s(w));var _=x>0?1:-1;C==="unit"?E.push(s(w+_*n)):E.push(s(I)),E=E.filter(function($){return $!==null}).filter(function($){return x<0?$<=w:$>=w}),C==="unit"&&(E=E.filter(function($){return $!==w}));var R=C==="unit"?w:I;S=E[0];var N=Math.abs(S-R);if(E.forEach(function($){var A=Math.abs($-R);A1){var O=Ze(y);return O[b]=S,h(O,x-_,b,C)}return S}else{if(x==="min")return e;if(x==="max")return t}},f=function(y,x,b){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",S=y[b],w=u(y,x,b,C);return{value:w,changed:w!==S}},g=function(y){return o===null&&y===0||typeof o=="number"&&y3&&arguments[3]!==void 0?arguments[3]:"unit",S=y.map(c),w=S[b],I=u(S,x,b,C);if(S[b]=I,a===!1){var E=o||0;b>0&&S[b-1]!==w&&(S[b]=Math.max(S[b],S[b-1]+E)),b0;O-=1)for(var $=!0;g(S[O]-S[O-1])&&$;){var A=f(S,-1,O-1);S[O-1]=A.value,$=A.changed}for(var B=S.length-1;B>0;B-=1)for(var j=!0;g(S[B]-S[B-1])&&j;){var F=f(S,-1,B-1);S[B-1]=F.value,j=F.changed}for(var D=0;D=0?M:!1},[M,Ue]),Ye=l.useMemo(function(){return Object.keys(J||{}).map(function(ot){var We=J[ot],dt={value:Number(ot)};return We&&Pt(We)==="object"&&!l.isValidElement(We)&&("label"in We||"style"in We)?(dt.style=We.style,dt.label=We.label):dt.label=We,dt}).filter(function(ot){var We=ot.label;return We||typeof We=="number"}).sort(function(ot,We){return ot.value-We.value})},[J]),Re=m0e(je,qe,Ue,Ye,D,Ne),Ae=ye(Re,2),Le=Ae[0],Te=Ae[1],Ve=Vn(R,{value:_}),Je=ye(Ve,2),Qe=Je[0],ut=Je[1],xe=l.useMemo(function(){var ot=Qe==null?[]:Array.isArray(Qe)?Qe:[Qe],We=ye(ot,1),dt=We[0],Ot=dt===void 0?je:dt,Zt=Qe===null?[]:[Ot];if(Se){if(Zt=Ze(ot),O||Qe===void 0){var yn=O>=0?O+1:2;for(Zt=Zt.slice(0,yn);Zt.length=0&&ve.current.focus(ot)}_t(null)},[Rt]);var zt=l.useMemo(function(){return $e&&Ue===null?!1:$e},[$e,Ue]),en=En(function(ot,We){ct(ot,We),A==null||A(be(xe))}),gn=Ge!==-1;l.useEffect(function(){if(!gn){var ot=xe.lastIndexOf(nt);ve.current.focus(ot)}},[gn]);var on=l.useMemo(function(){return Ze(tt).sort(function(ot,We){return ot-We})},[tt]),Ft=l.useMemo(function(){return Se?[on[0],on[on.length-1]]:[je,on[0]]},[on,Se,je]),qt=ye(Ft,2),Jt=qt[0],st=qt[1];l.useImperativeHandle(t,function(){return{focus:function(){ve.current.focus(0)},blur:function(){var We,dt=document,Ot=dt.activeElement;(We=Ce.current)!==null&&We!==void 0&&We.contains(Ot)&&(Ot==null||Ot.blur())}}}),l.useEffect(function(){h&&ve.current.focus(0)},[]);var Ct=l.useMemo(function(){return{min:je,max:qe,direction:me,disabled:f,keyboard:m,step:Ue,included:z,includedStart:Jt,includedEnd:st,range:Se,tabIndex:le,ariaLabelForHandle:fe,ariaLabelledByForHandle:ue,ariaRequired:we,ariaValueTextFormatterForHandle:pe,styles:s||{},classNames:i||{}}},[je,qe,me,f,m,Ue,z,Jt,st,Se,le,fe,ue,we,pe,s,i]);return l.createElement(Nu.Provider,{value:Ct},l.createElement("div",{ref:Ce,className:ce(r,a,re(re(re(re({},"".concat(r,"-disabled"),f),"".concat(r,"-vertical"),H),"".concat(r,"-horizontal"),!H),"".concat(r,"-with-marks"),Ye.length)),style:o,onMouseDown:St,id:c},l.createElement("div",{className:ce("".concat(r,"-rail"),i==null?void 0:i.rail),style:se(se({},G),s==null?void 0:s.rail)}),te!==!1&&l.createElement(f0e,{prefixCls:r,style:q,values:xe,startPoint:W,onStartMove:zt?en:void 0}),l.createElement(d0e,{prefixCls:r,marks:Ye,dots:ne,style:X,activeStyle:Z}),l.createElement(s0e,{ref:ve,prefixCls:r,style:K,values:tt,draggingIndex:Ge,draggingDelete:ht,onStartMove:en,onOffsetChange:jt,onFocus:y,onBlur:x,handleRender:Q,activeHandleRender:ee,onChangeComplete:ke,onDelete:_e?et:void 0}),l.createElement(c0e,{prefixCls:r,marks:Ye,onClick:bt})))});const b0e=l.createContext({}),X4=l.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=l.useRef(null),o=n&&!r,i=l.useRef(null);function s(){mn.cancel(i.current),i.current=null}function c(){i.current=mn(()=>{var u;(u=a.current)===null||u===void 0||u.forceAlign(),i.current=null})}return l.useEffect(()=>(o?c():s(),s),[o,e.title]),l.createElement(nn,Object.assign({ref:Ua(a,t)},e,{open:o}))}),y0e=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:o,marginPart:i,colorFillContentHover:s,handleColorDisabled:c,calc:u,handleSize:f,handleSizeHover:g,handleActiveColor:m,handleActiveOutlineColor:h,handleLineWidth:y,handleLineWidthHover:x,motionDurationMid:b}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{position:"relative",height:r,margin:`${ae(i)} ${ae(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${ae(o)} ${ae(i)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${b}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${b}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${ae(y)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:f,height:f,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:u(y).mul(-1).equal(),insetBlockStart:u(y).mul(-1).equal(),width:u(f).add(u(y).mul(2)).equal(),height:u(f).add(u(y).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:f,height:f,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${ae(y)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${b}, + inset-block-start ${b}, + width ${b}, + height ${b}, + box-shadow ${b}, + outline ${b} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(g).sub(f).div(2).add(x).mul(-1).equal(),insetBlockStart:u(g).sub(f).div(2).add(x).mul(-1).equal(),width:u(g).add(u(x).mul(2)).equal(),height:u(g).add(u(x).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${ae(x)} ${m}`,outline:`6px solid ${h}`,width:g,height:g,insetInlineStart:e.calc(f).sub(g).div(2).equal(),insetBlockStart:e.calc(f).sub(g).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${ae(y)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` + ${t}-dot + `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:f,height:f,boxShadow:`0 0 0 ${ae(y)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` + ${t}-mark-text, + ${t}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},DG=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:o,marginFull:i,calc:s}=e,c=t?"paddingBlock":"paddingInline",u=t?"width":"height",f=t?"height":"width",g=t?"insetBlockStart":"insetInlineStart",m=t?"top":"insetInlineStart",h=s(r).mul(3).sub(a).div(2).equal(),y=s(a).sub(r).div(2).equal(),x=t?{borderWidth:`${ae(y)} 0`,transform:`translateY(${ae(s(y).mul(-1).equal())})`}:{borderWidth:`0 ${ae(y)}`,transform:`translateX(${ae(e.calc(y).mul(-1).equal())})`};return{[c]:r,[f]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[f]:r},[`${n}-track,${n}-tracks`]:{[f]:r},[`${n}-track-draggable`]:Object.assign({},x),[`${n}-handle`]:{[g]:h},[`${n}-mark`]:{insetInlineStart:0,top:0,[m]:s(r).mul(3).add(t?0:i).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[m]:r,[u]:"100%",[f]:r},[`${n}-dot`]:{position:"absolute",[g]:s(r).sub(o).div(2).equal()}}},x0e=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},DG(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},S0e=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},DG(e,!1)),{height:"100%"})}},C0e=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,o=e.lineWidth+1*1.5,i=e.colorPrimary,s=new In(i).setA(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:o,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:i,handleActiveOutlineColor:s,handleColorDisabled:new In(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},w0e=Nn("Slider",e=>{const t=fn(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[y0e(t),x0e(t),S0e(t)]},C0e);function K1(){const[e,t]=l.useState(!1),n=l.useRef(null),r=()=>{mn.cancel(n.current)},a=o=>{r(),o?t(o):n.current=mn(()=>{t(o)})};return l.useEffect(()=>r,[]),[e,a]}var E0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);atypeof n=="number"?n.toString():""}const _0e=ge.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:o,style:i,disabled:s,tooltipPrefixCls:c,tipFormatter:u,tooltipVisible:f,getTooltipPopupContainer:g,tooltipPlacement:m,tooltip:h={},onChangeComplete:y,classNames:x,styles:b}=e,C=E0e(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:S}=e,{getPrefixCls:w,direction:I,className:E,style:_,classNames:R,styles:N,getPopupContainer:O}=ia("slider"),$=ge.useContext(za),A=s??$,{handleRender:B,direction:j}=ge.useContext(b0e),D=(j||I)==="rtl",[k,M]=K1(),[L,H]=K1(),U=Object.assign({},h),{open:z,placement:W,getPopupContainer:q,prefixCls:K,formatter:G}=U,X=z??f,Z=(k||L)&&X!==!1,J=I0e(G,u),[ne,Q]=K1(),ee=Se=>{y==null||y(Se),Q(!1)},te=(Se,_e)=>Se||(_e?D?"left":"right":"top"),oe=w("slider",n),[le,fe,ue]=w0e(oe),we=ce(a,E,R.root,x==null?void 0:x.root,o,{[`${oe}-rtl`]:D,[`${oe}-lock`]:ne},fe,ue);D&&!C.vertical&&(C.reverse=!C.reverse),ge.useEffect(()=>{const Se=()=>{mn(()=>{H(!1)},1)};return document.addEventListener("mouseup",Se),()=>{document.removeEventListener("mouseup",Se)}},[]);const pe=r&&!X,ve=B||((Se,_e)=>{const{index:$e}=_e,ze=Se.props;function Fe(Ne,Ye,Re){var Ae,Le,Te,Ve;Re&&((Le=(Ae=C)[Ne])===null||Le===void 0||Le.call(Ae,Ye)),(Ve=(Te=ze)[Ne])===null||Ve===void 0||Ve.call(Te,Ye)}const je=Object.assign(Object.assign({},ze),{onMouseEnter:Ne=>{M(!0),Fe("onMouseEnter",Ne)},onMouseLeave:Ne=>{M(!1),Fe("onMouseLeave",Ne)},onMouseDown:Ne=>{H(!0),Q(!0),Fe("onMouseDown",Ne)},onFocus:Ne=>{var Ye;H(!0),(Ye=C.onFocus)===null||Ye===void 0||Ye.call(C,Ne),Fe("onFocus",Ne,!0)},onBlur:Ne=>{var Ye;H(!1),(Ye=C.onBlur)===null||Ye===void 0||Ye.call(C,Ne),Fe("onBlur",Ne,!0)}}),qe=ge.cloneElement(Se,je),Ue=(!!X||Z)&&J!==null;return pe?qe:ge.createElement(X4,Object.assign({},U,{prefixCls:w("tooltip",K??c),title:J?J(_e.value):"",open:Ue,placement:te(W??m,S),key:$e,classNames:{root:`${oe}-tooltip`},getPopupContainer:q||g||O}),qe)}),Ce=pe?(Se,_e)=>{const $e=ge.cloneElement(Se,{style:Object.assign(Object.assign({},Se.props.style),{visibility:"hidden"})});return ge.createElement(X4,Object.assign({},U,{prefixCls:w("tooltip",K??c),title:J?J(_e.value):"",open:J!==null&&Z,placement:te(W??m,S),key:"tooltip",classNames:{root:`${oe}-tooltip`},getPopupContainer:q||g||O,draggingDelete:_e.draggingDelete}),$e)}:void 0,me=Object.assign(Object.assign(Object.assign(Object.assign({},N.root),_),b==null?void 0:b.root),i),ie=Object.assign(Object.assign({},N.tracks),b==null?void 0:b.tracks),he=ce(R.tracks,x==null?void 0:x.tracks);return le(ge.createElement(v0e,Object.assign({},C,{classNames:Object.assign({handle:ce(R.handle,x==null?void 0:x.handle),rail:ce(R.rail,x==null?void 0:x.rail),track:ce(R.track,x==null?void 0:x.track)},he?{tracks:he}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},N.handle),b==null?void 0:b.handle),rail:Object.assign(Object.assign({},N.rail),b==null?void 0:b.rail),track:Object.assign(Object.assign({},N.track),b==null?void 0:b.track)},Object.keys(ie).length?{tracks:ie}:{}),step:C.step,range:r,className:we,style:me,disabled:A,ref:t,prefixCls:oe,handleRender:ve,activeHandleRender:Ce,onChangeComplete:ee})))});var T0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},R0e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:T0e}))},MG=l.forwardRef(R0e),O0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},$0e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:O0e}))},LG=l.forwardRef($0e),N0e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},A0e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:N0e}))},k0e=l.forwardRef(A0e);function P0e(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function D0e(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function jG(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=X$(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[l.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[M0e,L0e]=["week","WeekPicker"],[j0e,F0e]=["month","MonthPicker"],[B0e,z0e]=["year","YearPicker"],[H0e,U0e]=["quarter","QuarterPicker"],[FG,Z4]=["time","TimePicker"],V0e=e=>l.createElement(mt,Object.assign({size:"small",type:"primary"},e));function BG(e){return l.useMemo(()=>Object.assign({button:V0e},e),[e])}var W0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((n,r)=>{var a;const{prefixCls:o,getPopupContainer:i,components:s,className:c,style:u,placement:f,size:g,disabled:m,bordered:h=!0,placeholder:y,popupClassName:x,dropdownClassName:b,status:C,rootClassName:S,variant:w,picker:I}=n,E=W0e(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),_=l.useRef(null),{getPrefixCls:R,direction:N,getPopupContainer:O,rangePicker:$}=l.useContext(Wt),A=R("picker",o),{compactSize:B,compactItemClassnames:j}=Os(A,N),F=R(),[D,k]=hc("rangePicker",w,h),M=Hr(A),[L,H,U]=hG(A,M),[z]=jG(n,A),W=BG(s),q=da(le=>{var fe;return(fe=g??B)!==null&&fe!==void 0?fe:le}),K=l.useContext(za),G=m??K,X=l.useContext(Ta),{hasFeedback:Z,status:J,feedbackIcon:ne}=X,Q=l.createElement(l.Fragment,null,I===FG?l.createElement(LG,null):l.createElement(MG,null),Z&&ne);l.useImperativeHandle(r,()=>_.current);const[ee]=ni("Calendar",Gb),te=Object.assign(Object.assign({},ee),n.locale),[oe]=es("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return L(l.createElement(Es,{space:!0},l.createElement(Ihe,Object.assign({separator:l.createElement("span",{"aria-label":"to",className:`${A}-separator`},l.createElement(k0e,null)),disabled:G,ref:_,placement:f,placeholder:D0e(te,I,y),suffixIcon:Q,prevIcon:l.createElement("span",{className:`${A}-prev-icon`}),nextIcon:l.createElement("span",{className:`${A}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${A}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${A}-super-next-icon`}),transitionName:`${F}-slide-up`,picker:I},E,{className:ce({[`${A}-${q}`]:q,[`${A}-${D}`]:k},rl(A,mc(J,C),Z),H,j,c,$==null?void 0:$.className,U,M,S),style:Object.assign(Object.assign({},$==null?void 0:$.style),u),locale:te.lang,prefixCls:A,getPopupContainer:i||O,generateConfig:e,components:W,direction:N,classNames:{popup:ce(H,x||b,U,M,S)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:oe})},allowClear:z}))))});var q0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const t=(c,u)=>{const f=u===Z4?"timePicker":"datePicker";return l.forwardRef((m,h)=>{var y;const{prefixCls:x,getPopupContainer:b,components:C,style:S,className:w,rootClassName:I,size:E,bordered:_,placement:R,placeholder:N,popupClassName:O,dropdownClassName:$,disabled:A,status:B,variant:j,onCalendarChange:F}=m,D=q0e(m,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:k,direction:M,getPopupContainer:L,[f]:H}=l.useContext(Wt),U=k("picker",x),{compactSize:z,compactItemClassnames:W}=Os(U,M),q=l.useRef(null),[K,G]=hc("datePicker",j,_),X=Hr(U),[Z,J,ne]=hG(U,X);l.useImperativeHandle(h,()=>q.current);const Q={showToday:!0},ee=c||m.picker,te=k(),{onSelect:oe,multiple:le}=D,fe=oe&&c==="time"&&!le,ue=(Ue,Ne,Ye)=>{F==null||F(Ue,Ne,Ye),fe&&oe(Ue)},[we,pe]=jG(m,U),ve=BG(C),Ce=da(Ue=>{var Ne;return(Ne=E??z)!==null&&Ne!==void 0?Ne:Ue}),me=l.useContext(za),ie=A??me,he=l.useContext(Ta),{hasFeedback:Se,status:_e,feedbackIcon:$e}=he,ze=l.createElement(l.Fragment,null,ee==="time"?l.createElement(LG,null):l.createElement(MG,null),Se&&$e),[Fe]=ni("DatePicker",Gb),je=Object.assign(Object.assign({},Fe),m.locale),[qe]=es("DatePicker",(y=m.popupStyle)===null||y===void 0?void 0:y.zIndex);return Z(l.createElement(Es,{space:!0},l.createElement(Nhe,Object.assign({ref:q,placeholder:P0e(je,ee,N),suffixIcon:ze,placement:R,prevIcon:l.createElement("span",{className:`${U}-prev-icon`}),nextIcon:l.createElement("span",{className:`${U}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${U}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${U}-super-next-icon`}),transitionName:`${te}-slide-up`,picker:c,onCalendarChange:ue},Q,D,{locale:je.lang,className:ce({[`${U}-${Ce}`]:Ce,[`${U}-${K}`]:G},rl(U,mc(_e,B),Se),J,W,H==null?void 0:H.className,w,ne,X,I),style:Object.assign(Object.assign({},H==null?void 0:H.style),S),prefixCls:U,getPopupContainer:b||L,generateConfig:e,components:ve,direction:M,disabled:ie,classNames:{popup:ce(J,ne,X,I,O||$)},styles:{popup:Object.assign(Object.assign({},m.popupStyle),{zIndex:qe})},allowClear:we,removeIcon:pe}))))})},n=t(),r=t(M0e,L0e),a=t(j0e,F0e),o=t(B0e,z0e),i=t(H0e,U0e),s=t(FG,Z4);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:o,TimePicker:s,QuarterPicker:i}},zG=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:o,QuarterPicker:i}=K0e(e),s=G0e(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=a,c.RangePicker=s,c.TimePicker=o,c.QuarterPicker=i,c},Ff=zG(kme),Y0e=Rm(Ff,"popupAlign",void 0,"picker");Ff._InternalPanelDoNotUseOrYouWillBeFired=Y0e;const X0e=Rm(Ff.RangePicker,"popupAlign",void 0,"picker");Ff._InternalRangePanelDoNotUseOrYouWillBeFired=X0e;Ff.generatePicker=zG;var J4=l.createContext(null),HG=l.createContext({}),Z0e=["prefixCls","className","containerRef"],J0e=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,o=Bt(t,Z0e),i=l.useContext(HG),s=i.panel,c=Rs(s,a);return l.createElement("div",Ie({className:ce("".concat(n,"-content"),r),role:"dialog",ref:c},zr(t,{aria:!0}),{"aria-modal":"true"},o))};function Q4(e){return typeof e=="string"&&String(Number(e))===e?(ar(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var eL={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Q0e(e,t){var n,r,a,o=e.prefixCls,i=e.open,s=e.placement,c=e.inline,u=e.push,f=e.forceRender,g=e.autoFocus,m=e.keyboard,h=e.classNames,y=e.rootClassName,x=e.rootStyle,b=e.zIndex,C=e.className,S=e.id,w=e.style,I=e.motion,E=e.width,_=e.height,R=e.children,N=e.mask,O=e.maskClosable,$=e.maskMotion,A=e.maskClassName,B=e.maskStyle,j=e.afterOpenChange,F=e.onClose,D=e.onMouseEnter,k=e.onMouseOver,M=e.onMouseLeave,L=e.onClick,H=e.onKeyDown,U=e.onKeyUp,z=e.styles,W=e.drawerRender,q=l.useRef(),K=l.useRef(),G=l.useRef();l.useImperativeHandle(t,function(){return q.current});var X=function(ie){var he=ie.keyCode,Se=ie.shiftKey;switch(he){case pt.TAB:{if(he===pt.TAB){if(!Se&&document.activeElement===G.current){var _e;(_e=K.current)===null||_e===void 0||_e.focus({preventScroll:!0})}else if(Se&&document.activeElement===K.current){var $e;($e=G.current)===null||$e===void 0||$e.focus({preventScroll:!0})}}break}case pt.ESC:{F&&m&&(ie.stopPropagation(),F(ie));break}}};l.useEffect(function(){if(i&&g){var me;(me=q.current)===null||me===void 0||me.focus({preventScroll:!0})}},[i]);var Z=l.useState(!1),J=ye(Z,2),ne=J[0],Q=J[1],ee=l.useContext(J4),te;typeof u=="boolean"?te=u?{}:{distance:0}:te=u||{};var oe=(n=(r=(a=te)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:ee==null?void 0:ee.pushDistance)!==null&&n!==void 0?n:180,le=l.useMemo(function(){return{pushDistance:oe,push:function(){Q(!0)},pull:function(){Q(!1)}}},[oe]);l.useEffect(function(){if(i){var me;ee==null||(me=ee.push)===null||me===void 0||me.call(ee)}else{var ie;ee==null||(ie=ee.pull)===null||ie===void 0||ie.call(ee)}},[i]),l.useEffect(function(){return function(){var me;ee==null||(me=ee.pull)===null||me===void 0||me.call(ee)}},[]);var fe=N&&l.createElement(Ia,Ie({key:"mask"},$,{visible:i}),function(me,ie){var he=me.className,Se=me.style;return l.createElement("div",{className:ce("".concat(o,"-mask"),he,h==null?void 0:h.mask,A),style:se(se(se({},Se),B),z==null?void 0:z.mask),onClick:O&&i?F:void 0,ref:ie})}),ue=typeof I=="function"?I(s):I,we={};if(ne&&oe)switch(s){case"top":we.transform="translateY(".concat(oe,"px)");break;case"bottom":we.transform="translateY(".concat(-oe,"px)");break;case"left":we.transform="translateX(".concat(oe,"px)");break;default:we.transform="translateX(".concat(-oe,"px)");break}s==="left"||s==="right"?we.width=Q4(E):we.height=Q4(_);var pe={onMouseEnter:D,onMouseOver:k,onMouseLeave:M,onClick:L,onKeyDown:H,onKeyUp:U},ve=l.createElement(Ia,Ie({key:"panel"},ue,{visible:i,forceRender:f,onVisibleChanged:function(ie){j==null||j(ie)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(me,ie){var he=me.className,Se=me.style,_e=l.createElement(J0e,Ie({id:S,containerRef:ie,prefixCls:o,className:ce(C,h==null?void 0:h.content),style:se(se({},w),z==null?void 0:z.content)},zr(e,{aria:!0}),pe),R);return l.createElement("div",Ie({className:ce("".concat(o,"-content-wrapper"),h==null?void 0:h.wrapper,he),style:se(se(se({},we),Se),z==null?void 0:z.wrapper)},zr(e,{data:!0})),W?W(_e):_e)}),Ce=se({},x);return b&&(Ce.zIndex=b),l.createElement(J4.Provider,{value:le},l.createElement("div",{className:ce(o,"".concat(o,"-").concat(s),y,re(re({},"".concat(o,"-open"),i),"".concat(o,"-inline"),c)),style:Ce,tabIndex:-1,ref:q,onKeyDown:X},fe,l.createElement("div",{tabIndex:0,ref:K,style:eL,"aria-hidden":"true","data-sentinel":"start"}),ve,l.createElement("div",{tabIndex:0,ref:G,style:eL,"aria-hidden":"true","data-sentinel":"end"})))}var eye=l.forwardRef(Q0e),tye=function(t){var n=t.open,r=n===void 0?!1:n,a=t.prefixCls,o=a===void 0?"rc-drawer":a,i=t.placement,s=i===void 0?"right":i,c=t.autoFocus,u=c===void 0?!0:c,f=t.keyboard,g=f===void 0?!0:f,m=t.width,h=m===void 0?378:m,y=t.mask,x=y===void 0?!0:y,b=t.maskClosable,C=b===void 0?!0:b,S=t.getContainer,w=t.forceRender,I=t.afterOpenChange,E=t.destroyOnClose,_=t.onMouseEnter,R=t.onMouseOver,N=t.onMouseLeave,O=t.onClick,$=t.onKeyDown,A=t.onKeyUp,B=t.panelRef,j=l.useState(!1),F=ye(j,2),D=F[0],k=F[1],M=l.useState(!1),L=ye(M,2),H=L[0],U=L[1];Rn(function(){U(!0)},[]);var z=H?r:!1,W=l.useRef(),q=l.useRef();Rn(function(){z&&(q.current=document.activeElement)},[z]);var K=function(ne){var Q;if(k(ne),I==null||I(ne),!ne&&q.current&&!((Q=W.current)!==null&&Q!==void 0&&Q.contains(q.current))){var ee;(ee=q.current)===null||ee===void 0||ee.focus({preventScroll:!0})}},G=l.useMemo(function(){return{panel:B}},[B]);if(!w&&!D&&!z&&E)return null;var X={onMouseEnter:_,onMouseOver:R,onMouseLeave:N,onClick:O,onKeyDown:$,onKeyUp:A},Z=se(se({},t),{},{open:z,prefixCls:o,placement:s,autoFocus:u,keyboard:g,width:h,mask:x,maskClosable:C,inline:S===!1,afterOpenChange:K,ref:W},X);return l.createElement(HG.Provider,{value:G},l.createElement(Im,{open:z||w||D,autoDestroy:!1,getContainer:S,autoLock:x&&(z||D)},l.createElement(eye,Z)))};const UG=e=>{var t,n;const{prefixCls:r,title:a,footer:o,extra:i,loading:s,onClose:c,headerStyle:u,bodyStyle:f,footerStyle:g,children:m,classNames:h,styles:y}=e,x=ia("drawer"),b=l.useCallback(E=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${r}-close`},E),[c]),[C,S]=V$(uf(e),uf(x),{closable:!0,closeIconRender:b}),w=l.useMemo(()=>{var E,_;return!a&&!C?null:l.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(E=x.styles)===null||E===void 0?void 0:E.header),u),y==null?void 0:y.header),className:ce(`${r}-header`,{[`${r}-header-close-only`]:C&&!a&&!i},(_=x.classNames)===null||_===void 0?void 0:_.header,h==null?void 0:h.header)},l.createElement("div",{className:`${r}-header-title`},S,a&&l.createElement("div",{className:`${r}-title`},a)),i&&l.createElement("div",{className:`${r}-extra`},i))},[C,S,i,u,r,a]),I=l.useMemo(()=>{var E,_;if(!o)return null;const R=`${r}-footer`;return l.createElement("div",{className:ce(R,(E=x.classNames)===null||E===void 0?void 0:E.footer,h==null?void 0:h.footer),style:Object.assign(Object.assign(Object.assign({},(_=x.styles)===null||_===void 0?void 0:_.footer),g),y==null?void 0:y.footer)},o)},[o,g,r]);return l.createElement(l.Fragment,null,w,l.createElement("div",{className:ce(`${r}-body`,h==null?void 0:h.body,(t=x.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=x.styles)===null||n===void 0?void 0:n.body),f),y==null?void 0:y.body)},s?l.createElement(gc,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):m),I)},nye=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},VG=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),WG=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},VG({opacity:e},{opacity:1})),rye=(e,t)=>[WG(.7,t),VG({transform:nye(e)},{transform:"none"})],aye=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:WG(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:rye(a,n)}),{})}}},oye=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:o,motionDurationSlow:i,motionDurationMid:s,paddingXS:c,padding:u,paddingLG:f,fontSizeLG:g,lineHeightLG:m,lineWidth:h,lineType:y,colorSplit:x,marginXS:b,colorIcon:C,colorIconHover:S,colorBgTextHover:w,colorBgTextActive:I,colorText:E,fontWeightStrong:_,footerPaddingBlock:R,footerPaddingInline:N,calc:O}=e,$=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:E,"&-pure":{position:"relative",background:o,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[$]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${$}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${$}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${$}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${$}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${ae(u)} ${ae(f)}`,fontSize:g,lineHeight:m,borderBottom:`${ae(h)} ${y} ${x}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(g).add(c).equal(),height:O(g).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:b,color:C,fontWeight:_,fontSize:g,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:S,backgroundColor:w,textDecoration:"none"},"&:active":{backgroundColor:I}},Po(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:g,lineHeight:m},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:f,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${ae(R)} ${ae(N)}`,borderTop:`${ae(h)} ${y} ${x}`},"&-rtl":{direction:"rtl"}}}},iye=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),GG=Nn("Drawer",e=>{const t=fn(e,{});return[oye(t),aye(t)]},iye);var qG=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{rootClassName:t,width:n,height:r,size:a="default",mask:o=!0,push:i=sye,open:s,afterOpenChange:c,onClose:u,prefixCls:f,getContainer:g,style:m,className:h,visible:y,afterVisibleChange:x,maskStyle:b,drawerStyle:C,contentWrapperStyle:S}=e,w=qG(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:I,getPrefixCls:E,direction:_,className:R,style:N,classNames:O,styles:$}=ia("drawer"),A=E("drawer",f),[B,j,F]=GG(A),D=g===void 0&&I?()=>I(document.body):g,k=ce({"no-mask":!o,[`${A}-rtl`]:_==="rtl"},t,j,F),M=l.useMemo(()=>n??(a==="large"?736:378),[n,a]),L=l.useMemo(()=>r??(a==="large"?736:378),[r,a]),H={motionName:lo(A,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},U=X=>({motionName:lo(A,`panel-motion-${X}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),z=ZU(),[W,q]=es("Drawer",w.zIndex),{classNames:K={},styles:G={}}=w;return B(l.createElement(Es,{form:!0,space:!0},l.createElement(ym.Provider,{value:q},l.createElement(tye,Object.assign({prefixCls:A,onClose:u,maskMotion:H,motion:U},w,{classNames:{mask:ce(K.mask,O.mask),content:ce(K.content,O.content),wrapper:ce(K.wrapper,O.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},G.mask),b),$.mask),content:Object.assign(Object.assign(Object.assign({},G.content),C),$.content),wrapper:Object.assign(Object.assign(Object.assign({},G.wrapper),S),$.wrapper)},open:s??y,mask:o,push:i,width:M,height:L,style:Object.assign(Object.assign({},N),m),className:ce(R,h),rootClassName:k,getContainer:D,afterOpenChange:c??x,panelRef:z,zIndex:W}),l.createElement(UG,Object.assign({prefixCls:A},w,{onClose:u}))))))},lye=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,o=qG(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=l.useContext(Wt),s=i("drawer",t),[c,u,f]=GG(s),g=ce(s,`${s}-pure`,`${s}-${a}`,u,f,r);return c(l.createElement("div",{className:g,style:n},l.createElement(UG,Object.assign({prefixCls:s},o))))};dO._InternalPanelDoNotUseOrYouWillBeFired=lye;function i0(e){return["small","middle","large"].includes(e)}function tL(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const KG=ge.createContext({latestIndex:0}),cye=KG.Provider,uye=e=>{let{className:t,index:n,children:r,split:a,style:o}=e;const{latestIndex:i}=l.useContext(KG);return r==null?null:l.createElement(l.Fragment,null,l.createElement("div",{className:t,style:o},r),n{var n;const{getPrefixCls:r,direction:a,size:o,className:i,style:s,classNames:c,styles:u}=ia("space"),{size:f=o??"small",align:g,className:m,rootClassName:h,children:y,direction:x="horizontal",prefixCls:b,split:C,style:S,wrap:w=!1,classNames:I,styles:E}=e,_=dye(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[R,N]=Array.isArray(f)?f:[f,f],O=i0(N),$=i0(R),A=tL(N),B=tL(R),j=aa(y,{keepEmpty:!0}),F=g===void 0&&x==="horizontal"?"center":g,D=r("space",b),[k,M,L]=EU(D),H=ce(D,i,M,`${D}-${x}`,{[`${D}-rtl`]:a==="rtl",[`${D}-align-${F}`]:F,[`${D}-gap-row-${N}`]:O,[`${D}-gap-col-${R}`]:$},m,h,L),U=ce(`${D}-item`,(n=I==null?void 0:I.item)!==null&&n!==void 0?n:c.item);let z=0;const W=j.map((G,X)=>{var Z;G!=null&&(z=X);const J=(G==null?void 0:G.key)||`${U}-${X}`;return l.createElement(uye,{className:U,key:J,index:X,split:C,style:(Z=E==null?void 0:E.item)!==null&&Z!==void 0?Z:u.item},G)}),q=l.useMemo(()=>({latestIndex:z}),[z]);if(j.length===0)return null;const K={};return w&&(K.flexWrap="wrap"),!$&&B&&(K.columnGap=R),!O&&A&&(K.rowGap=N),k(l.createElement("div",Object.assign({ref:t,className:H,style:Object.assign(Object.assign(Object.assign({},K),s),S)},_),l.createElement(cye,{value:q},W)))}),Fa=fye;Fa.Compact=Die;var pye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPopupContainer:t,getPrefixCls:n,direction:r}=l.useContext(Wt),{prefixCls:a,type:o="default",danger:i,disabled:s,loading:c,onClick:u,htmlType:f,children:g,className:m,menu:h,arrow:y,autoFocus:x,overlay:b,trigger:C,align:S,open:w,onOpenChange:I,placement:E,getPopupContainer:_,href:R,icon:N=l.createElement(lN,null),title:O,buttonsRender:$=J=>J,mouseEnterDelay:A,mouseLeaveDelay:B,overlayClassName:j,overlayStyle:F,destroyPopupOnHide:D,dropdownRender:k}=e,M=pye(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),L=n("dropdown",a),H=`${L}-button`,U={menu:h,arrow:y,autoFocus:x,align:S,disabled:s,trigger:s?[]:C,onOpenChange:I,getPopupContainer:_||t,mouseEnterDelay:A,mouseLeaveDelay:B,overlayClassName:j,overlayStyle:F,destroyPopupOnHide:D,dropdownRender:k},{compactSize:z,compactItemClassnames:W}=Os(L,r),q=ce(H,W,m);"overlay"in e&&(U.overlay=b),"open"in e&&(U.open=w),"placement"in e?U.placement=E:U.placement=r==="rtl"?"bottomLeft":"bottomRight";const K=l.createElement(mt,{type:o,danger:i,disabled:s,loading:c,onClick:u,htmlType:f,href:R,title:O},g),G=l.createElement(mt,{type:o,danger:i,icon:N}),[X,Z]=$([K,G]);return l.createElement(Fa.Compact,Object.assign({className:q,size:z,block:!0},M),X,l.createElement(Pm,Object.assign({},U),Z))};YG.__ANT_BUTTON=!0;const Ay=Pm;Ay.Button=YG;const XG=["wrap","nowrap","wrap-reverse"],ZG=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],JG=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],gye=(e,t)=>{const n=t.wrap===!0?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&XG.includes(n)}},mye=(e,t)=>{const n={};return JG.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},hye=(e,t)=>{const n={};return ZG.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function vye(e,t){return ce(Object.assign(Object.assign(Object.assign({},gye(e,t)),mye(e,t)),hye(e,t)))}const bye=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",margin:0,padding:0,"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},yye=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},xye=e=>{const{componentCls:t}=e,n={};return XG.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},Sye=e=>{const{componentCls:t}=e,n={};return JG.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},Cye=e=>{const{componentCls:t}=e,n={};return ZG.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},wye=()=>({}),Eye=Nn("Flex",e=>{const{paddingXS:t,padding:n,paddingLG:r}=e,a=fn(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[bye(a),yye(a),xye(a),Sye(a),Cye(a)]},wye,{resetStyle:!1});var Iye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,rootClassName:r,className:a,style:o,flex:i,gap:s,children:c,vertical:u=!1,component:f="div"}=e,g=Iye(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:m,direction:h,getPrefixCls:y}=ge.useContext(Wt),x=y("flex",n),[b,C,S]=Eye(x),w=u??(m==null?void 0:m.vertical),I=ce(a,r,m==null?void 0:m.className,x,C,S,vye(x,e),{[`${x}-rtl`]:h==="rtl",[`${x}-gap-${s}`]:i0(s),[`${x}-vertical`]:w}),E=Object.assign(Object.assign({},m==null?void 0:m.style),o);return i&&(E.flex=i),s&&!i0(s)&&(E.gap=s),b(ge.createElement(f,Object.assign({ref:t,className:I,style:E},or(g,["justify","wrap","align"])),c))});var Tye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Rye=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Tye}))},Oye=l.forwardRef(Rye);function s0(e){const[t,n]=l.useState(e);return l.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const $ye=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut}, + opacity ${e.motionDurationFast} ${e.motionEaseInOut}, + transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},Nye=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${ae(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),nL=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},Aye=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},Dn(e)),Nye(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},nL(e,e.controlHeightSM)),"&-large":Object.assign({},nL(e,e.controlHeightLG))})}},kye=e=>{const{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:a,labelRequiredMarkColor:o,labelColor:i,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:f,itemMarginBottom:g}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{marginBottom:g,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden${a}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:i,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:f},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:L$,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},rL=(e,t)=>{const{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},Pye=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},Hi=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),QG=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:Hi(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Dye=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, + ${r}-col-24${n}-label, + ${r}-col-xl-24${n}-label`]:Hi(e)}},[`@media (max-width: ${ae(e.screenXSMax)})`]:[QG(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:Hi(e)}}}],[`@media (max-width: ${ae(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:Hi(e)}}},[`@media (max-width: ${ae(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:Hi(e)}}},[`@media (max-width: ${ae(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:Hi(e)}}}}},Mye=e=>{const{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, + ${n}-col-24${t}-label, + ${n}-col-xl-24${t}-label`]:Hi(e),[`@media (max-width: ${ae(e.screenXSMax)})`]:[QG(e),{[t]:{[`${n}-col-xs-24${t}-label`]:Hi(e)}}],[`@media (max-width: ${ae(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:Hi(e)}},[`@media (max-width: ${ae(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:Hi(e)}},[`@media (max-width: ${ae(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:Hi(e)}}}},Lye=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),eq=(e,t)=>fn(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),ON=Nn("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=eq(e,n);return[Aye(r),kye(r),$ye(r),rL(r,r.componentCls),rL(r,r.formItemCls),Pye(r),Dye(r),Mye(r),Cm(r),L$]},Lye,{order:-1e3}),aL=[];function Y1(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const tq=e=>{let{help:t,helpStatus:n,errors:r=aL,warnings:a=aL,className:o,fieldId:i,onVisibleChanged:s}=e;const{prefixCls:c}=l.useContext(U$),u=`${c}-item-explain`,f=Hr(c),[g,m,h]=ON(c,f),y=l.useMemo(()=>lf(c),[c]),x=s0(r),b=s0(a),C=l.useMemo(()=>t!=null?[Y1(t,"help",n)]:[].concat(Ze(x.map((I,E)=>Y1(I,"error","error",E))),Ze(b.map((I,E)=>Y1(I,"warning","warning",E)))),[t,n,x,b]),S=l.useMemo(()=>{const I={};return C.forEach(E=>{let{key:_}=E;I[_]=(I[_]||0)+1}),C.map((E,_)=>Object.assign(Object.assign({},E),{key:I[E.key]>1?`${E.key}-fallback-${_}`:E.key}))},[C]),w={};return i&&(w.id=`${i}_help`),g(l.createElement(Ia,{motionDeadline:y.motionDeadline,motionName:`${c}-show-help`,visible:!!S.length,onVisibleChanged:s},I=>{const{className:E,style:_}=I;return l.createElement("div",Object.assign({},w,{className:ce(u,E,h,f,o,m),style:_}),l.createElement(A$,Object.assign({keys:S},lf(c),{motionName:`${c}-show-help-item`,component:!1}),R=>{const{key:N,error:O,errorStatus:$,className:A,style:B}=R;return l.createElement("div",{key:N,className:ce(A,{[`${u}-${$}`]:$}),style:B},O)}))}))},jye=["parentNode"],Fye="form_item";function hg(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function nq(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:jye.includes(n)?`${Fye}_${n}`:n}function rq(e,t,n,r,a,o){let i=r;return o!==void 0?i=o:n.validating?i="validating":e.length?i="error":t.length?i="warning":(n.touched||a&&n.validated)&&(i="success"),i}var Bye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>o=>{const i=oL(a);o?n.current[i]=o:delete n.current[i]}},scrollToField:function(a){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:i}=o,s=Bye(o,["focus"]),c=iL(a,r);c&&(qoe(c,Object.assign({scrollMode:"if-needed",block:"nearest"},s)),i&&r.focusField(a))},focusField:a=>{var o,i;const s=r.getFieldInstance(a);typeof(s==null?void 0:s.focus)=="function"?s.focus():(i=(o=iL(a,r))===null||o===void 0?void 0:o.focus)===null||i===void 0||i.call(o)},getFieldInstance:a=>{const o=oL(a);return n.current[o]}}),[e,t]);return[r]}var zye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(za),{getPrefixCls:r,direction:a,requiredMark:o,colon:i,scrollToFirstError:s,className:c,style:u}=ia("form"),{prefixCls:f,className:g,rootClassName:m,size:h,disabled:y=n,form:x,colon:b,labelAlign:C,labelWrap:S,labelCol:w,wrapperCol:I,hideRequiredMark:E,layout:_="horizontal",scrollToFirstError:R,requiredMark:N,onFinishFailed:O,name:$,style:A,feedbackIcons:B,variant:j}=e,F=zye(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),D=da(h),k=l.useContext(F9),M=l.useMemo(()=>N!==void 0?N:E?!1:o!==void 0?o:!0,[E,N,o]),L=b??i,H=r("form",f),U=Hr(H),[z,W,q]=ON(H,U),K=ce(H,`${H}-${_}`,{[`${H}-hide-required-mark`]:M===!1,[`${H}-rtl`]:a==="rtl",[`${H}-${D}`]:D},q,U,W,c,g,m),[G]=aq(x),{__INTERNAL__:X}=G;X.name=$;const Z=l.useMemo(()=>({name:$,labelAlign:C,labelCol:w,labelWrap:S,wrapperCol:I,vertical:_==="vertical",colon:L,requiredMark:M,itemRef:X.itemRef,form:G,feedbackIcons:B}),[$,C,w,I,_,L,M,G,B]),J=l.useRef(null);l.useImperativeHandle(t,()=>{var ee;return Object.assign(Object.assign({},G),{nativeElement:(ee=J.current)===null||ee===void 0?void 0:ee.nativeElement})});const ne=(ee,te)=>{if(ee){let oe={block:"nearest"};typeof ee=="object"&&(oe=Object.assign(Object.assign({},oe),ee)),G.scrollToField(te,oe)}},Q=ee=>{if(O==null||O(ee),ee.errorFields.length){const te=ee.errorFields[0].name;if(R!==void 0){ne(R,te);return}s!==void 0&&ne(s,te)}};return z(l.createElement(YU.Provider,{value:j},l.createElement(R$,{disabled:y},l.createElement(fu.Provider,{value:D},l.createElement(KU,{validateMessages:k},l.createElement(nl.Provider,{value:Z},l.createElement(Af,Object.assign({id:$},F,{name:$,onFinishFailed:Q,form:G,ref:J,style:Object.assign(Object.assign({},u),A),className:K}))))))))},Uye=l.forwardRef(Hye);function Vye(e){if(typeof e=="function")return e;const t=aa(e);return t.length<=1?t[0]:t}const oq=()=>{const{status:e,errors:t=[],warnings:n=[]}=l.useContext(Ta);return{status:e,errors:t,warnings:n}};oq.Context=Ta;function Wye(e){const[t,n]=l.useState(e),r=l.useRef(null),a=l.useRef([]),o=l.useRef(!1);l.useEffect(()=>(o.current=!1,()=>{o.current=!0,mn.cancel(r.current),r.current=null}),[]);function i(s){o.current||(r.current===null&&(a.current=[],r.current=mn(()=>{r.current=null,n(c=>{let u=c;return a.current.forEach(f=>{u=f(u)}),u})})),a.current.push(s))}return[t,i]}function Gye(){const{itemRef:e}=l.useContext(nl),t=l.useRef({});function n(r,a){const o=a&&typeof a=="object"&&dc(a),i=r.join("_");return(t.current.name!==i||t.current.originRef!==o)&&(t.current.name=i,t.current.originRef=o,t.current.ref=Ua(e(r),o)),t.current.ref}return n}const qye=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},Kye=_u(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=eq(e,n);return[qye(r)]});var Yye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,status:n,labelCol:r,wrapperCol:a,children:o,errors:i,warnings:s,_internalItemRender:c,extra:u,help:f,fieldId:g,marginBottom:m,onErrorVisibleChanged:h,label:y}=e,x=`${t}-item`,b=l.useContext(nl),C=l.useMemo(()=>{let F=Object.assign({},a||b.wrapperCol||{});return y===null&&!r&&!a&&b.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(k=>{const M=k?[k]:[],L=bo(b.labelCol,M),H=typeof L=="object"?L:{},U=bo(F,M),z=typeof U=="object"?U:{};"span"in H&&!("offset"in z)&&H.span{const{labelCol:F,wrapperCol:D}=b;return Yye(b,["labelCol","wrapperCol"])},[b]),I=l.useRef(null),[E,_]=l.useState(0);Rn(()=>{u&&I.current?_(I.current.clientHeight):_(0)},[u]);const R=l.createElement("div",{className:`${x}-control-input`},l.createElement("div",{className:`${x}-control-input-content`},o)),N=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=m!==null||i.length||s.length?l.createElement(U$.Provider,{value:N},l.createElement(tq,{fieldId:g,errors:i,warnings:s,help:f,helpStatus:n,className:`${x}-explain-connected`,onVisibleChanged:h})):null,$={};g&&($.id=`${g}_extra`);const A=u?l.createElement("div",Object.assign({},$,{className:`${x}-extra`,ref:I}),u):null,B=O||A?l.createElement("div",{className:`${x}-additional`,style:m?{minHeight:m+E}:{}},O,A):null,j=c&&c.mark==="pro_table_render"&&c.render?c.render(e,{input:R,errorList:O,extra:A}):l.createElement(l.Fragment,null,R,B);return l.createElement(nl.Provider,{value:w},l.createElement(er,Object.assign({},C,{className:S}),j),l.createElement(Kye,{prefixCls:t}))};var Jye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Qye=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Jye}))},Bf=l.forwardRef(Qye),exe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,label:n,htmlFor:r,labelCol:a,labelAlign:o,colon:i,required:s,requiredMark:c,tooltip:u,vertical:f}=e;var g;const[m]=ni("Form"),{labelAlign:h,labelCol:y,labelWrap:x,colon:b}=l.useContext(nl);if(!n)return null;const C=a||y||{},S=o||h,w=`${t}-item-label`,I=ce(w,S==="left"&&`${w}-left`,C.className,{[`${w}-wrap`]:!!x});let E=n;const _=i===!0||b!==!1&&i!==!1;_&&!f&&typeof n=="string"&&n.trim()&&(E=n.replace(/[:|:]\s*$/,""));const N=txe(u);if(N){const{icon:F=l.createElement(Bf,null)}=N,D=exe(N,["icon"]),k=l.createElement(nn,Object.assign({},D),l.cloneElement(F,{className:`${t}-item-tooltip`,title:"",onClick:M=>{M.preventDefault()},tabIndex:null}));E=l.createElement(l.Fragment,null,E,k)}const O=c==="optional",$=typeof c=="function",A=c===!1;$?E=c(E,{required:!!s}):O&&!s&&(E=l.createElement(l.Fragment,null,E,l.createElement("span",{className:`${t}-item-optional`,title:""},(m==null?void 0:m.optional)||((g=Ss.Form)===null||g===void 0?void 0:g.optional))));let B;A?B="hidden":(O||$)&&(B="optional");const j=ce({[`${t}-item-required`]:s,[`${t}-item-required-mark-${B}`]:B,[`${t}-item-no-colon`]:!_});return l.createElement(er,Object.assign({},C,{className:I}),l.createElement("label",{htmlFor:r,className:j,title:typeof n=="string"?n:""},E))},rxe={success:Of,warning:bm,error:pc,validating:_i};function iq(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:o,prefixCls:i,meta:s,noStyle:c}=e;const u=`${i}-item`,{feedbackIcons:f}=l.useContext(nl),g=rq(n,r,s,null,!!a,o),{isFormItemInput:m,status:h,hasFeedback:y,feedbackIcon:x}=l.useContext(Ta),b=l.useMemo(()=>{var C;let S;if(a){const I=a!==!0&&a.icons||f,E=g&&((C=I==null?void 0:I({status:g,errors:n,warnings:r}))===null||C===void 0?void 0:C[g]),_=g&&rxe[g];S=E!==!1&&_?l.createElement("span",{className:ce(`${u}-feedback-icon`,`${u}-feedback-icon-${g}`)},E||l.createElement(_,null)):null}const w={status:g||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:S,isFormItemInput:!0};return c&&(w.status=(g??h)||"",w.isFormItemInput=m,w.hasFeedback=!!(a??y),w.feedbackIcon=a!==void 0?w.feedbackIcon:x),w},[g,a,c,m,h]);return l.createElement(Ta.Provider,{value:b},t)}var axe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(A&&R.current){const H=getComputedStyle(R.current);F(parseInt(H.marginBottom,10))}},[A,B]);const D=H=>{H||F(null)},M=function(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const U=H?N:u.errors,z=H?O:u.warnings;return rq(U,z,u,"",!!f,c)}(),L=ce(w,n,r,{[`${w}-with-help`]:$||N.length||O.length,[`${w}-has-feedback`]:M&&f,[`${w}-has-success`]:M==="success",[`${w}-has-warning`]:M==="warning",[`${w}-has-error`]:M==="error",[`${w}-is-validating`]:M==="validating",[`${w}-hidden`]:g,[`${w}-${C}`]:C});return l.createElement("div",{className:L,style:a,ref:R},l.createElement(Ma,Object.assign({className:`${w}-row`},or(S,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(nxe,Object.assign({htmlFor:h},e,{requiredMark:I,required:y??x,prefixCls:t,vertical:_})),l.createElement(Zye,Object.assign({},e,u,{errors:N,warnings:O,prefixCls:t,status:M,help:o,marginBottom:j,onErrorVisibleChanged:D}),l.createElement(qU.Provider,{value:b},l.createElement(iq,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:f,validateStatus:M},m)))),!!j&&l.createElement("div",{className:`${w}-margin-offset`,style:{marginBottom:-j}}))}const ixe="__SPLIT__";function sxe(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(a=>{const o=e[a],i=t[a];return o===i||typeof o=="function"||typeof i=="function"})}const lxe=l.memo(e=>{let{children:t}=e;return t},(e,t)=>sxe(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function sL(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function cxe(e){const{name:t,noStyle:n,className:r,dependencies:a,prefixCls:o,shouldUpdate:i,rules:s,children:c,required:u,label:f,messageVariables:g,trigger:m="onChange",validateTrigger:h,hidden:y,help:x,layout:b}=e,{getPrefixCls:C}=l.useContext(Wt),{name:S}=l.useContext(nl),w=Vye(c),I=typeof w=="function",E=l.useContext(qU),{validateTrigger:_}=l.useContext(gu),R=h!==void 0?h:_,N=t!=null,O=C("form",o),$=Hr(O),[A,B,j]=ON(O,$);fc();const F=l.useContext(Hg),D=l.useRef(null),[k,M]=Wye({}),[L,H]=pu(()=>sL()),U=Z=>{const J=F==null?void 0:F.getKey(Z.name);if(H(Z.destroy?sL():Z,!0),n&&x!==!1&&E){let ne=Z.name;if(Z.destroy)ne=D.current||ne;else if(J!==void 0){const[Q,ee]=J;ne=[Q].concat(Ze(ee)),D.current=ne}E(Z,ne)}},z=(Z,J)=>{M(ne=>{const Q=Object.assign({},ne),te=[].concat(Ze(Z.name.slice(0,-1)),Ze(J)).join(ixe);return Z.destroy?delete Q[te]:Q[te]=Z,Q})},[W,q]=l.useMemo(()=>{const Z=Ze(L.errors),J=Ze(L.warnings);return Object.values(k).forEach(ne=>{Z.push.apply(Z,Ze(ne.errors||[])),J.push.apply(J,Ze(ne.warnings||[]))}),[Z,J]},[k,L.errors,L.warnings]),K=Gye();function G(Z,J,ne){return n&&!y?l.createElement(iq,{prefixCls:O,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:W,warnings:q,noStyle:!0},Z):l.createElement(oxe,Object.assign({key:"row"},e,{className:ce(r,j,$,B),prefixCls:O,fieldId:J,isRequired:ne,errors:W,warnings:q,meta:L,onSubItemMetaChange:z,layout:b}),Z)}if(!N&&!I&&!a)return A(G(w));let X={};return typeof f=="string"?X.label=f:t&&(X.label=String(t)),g&&(X=Object.assign(Object.assign({},X),g)),A(l.createElement(z$,Object.assign({},e,{messageVariables:X,trigger:m,validateTrigger:R,onMetaChange:U}),(Z,J,ne)=>{const Q=hg(t).length&&J?J.name:[],ee=nq(Q,S),te=u!==void 0?u:!!(s!=null&&s.some(fe=>{if(fe&&typeof fe=="object"&&fe.required&&!fe.warningOnly)return!0;if(typeof fe=="function"){const ue=fe(ne);return(ue==null?void 0:ue.required)&&!(ue!=null&&ue.warningOnly)}return!1})),oe=Object.assign({},Z);let le=null;if(Array.isArray(w)&&N)le=w;else if(!(I&&(!(i||a)||N))){if(!(a&&!I&&!N))if(l.isValidElement(w)){const fe=Object.assign(Object.assign({},w.props),oe);if(fe.id||(fe.id=ee),x||W.length>0||q.length>0||e.extra){const pe=[];(x||W.length>0)&&pe.push(`${ee}_help`),e.extra&&pe.push(`${ee}_extra`),fe["aria-describedby"]=pe.join(" ")}W.length>0&&(fe["aria-invalid"]="true"),te&&(fe["aria-required"]="true"),Ki(w)&&(fe.ref=K(Q,w)),new Set([].concat(Ze(hg(m)),Ze(hg(R)))).forEach(pe=>{fe[pe]=function(){for(var ve,Ce,me,ie,he,Se=arguments.length,_e=new Array(Se),$e=0;$e{var{prefixCls:t,children:n}=e,r=uxe(e,["prefixCls","children"]);const{getPrefixCls:a}=l.useContext(Wt),o=a("form",t),i=l.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return l.createElement(UU,Object.assign({},r),(s,c,u)=>l.createElement(U$.Provider,{value:i},n(s.map(f=>Object.assign(Object.assign({},f),{fieldKey:f.key})),c,{errors:u.errors,warnings:u.warnings})))};function fxe(){const{form:e}=l.useContext(nl);return e}const wn=Uye;wn.Item=zm;wn.List=dxe;wn.ErrorList=tq;wn.useForm=aq;wn.useFormInstance=fxe;wn.useWatch=GU;wn.Provider=KU;wn.create=()=>{};var pxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},gxe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:pxe}))},nc=l.forwardRef(gxe);function sq(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function mxe(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function Vl(e,t,n,r){var a=$g.unstable_batchedUpdates?function(i){$g.unstable_batchedUpdates(n,i)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,a,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,a,r)}}}var Hm=l.createContext(null),hxe=function(t){var n=t.visible,r=t.maskTransitionName,a=t.getContainer,o=t.prefixCls,i=t.rootClassName,s=t.icons,c=t.countRender,u=t.showSwitch,f=t.showProgress,g=t.current,m=t.transform,h=t.count,y=t.scale,x=t.minScale,b=t.maxScale,C=t.closeIcon,S=t.onActive,w=t.onClose,I=t.onZoomIn,E=t.onZoomOut,_=t.onRotateRight,R=t.onRotateLeft,N=t.onFlipX,O=t.onFlipY,$=t.onReset,A=t.toolbarRender,B=t.zIndex,j=t.image,F=l.useContext(Hm),D=s.rotateLeft,k=s.rotateRight,M=s.zoomIn,L=s.zoomOut,H=s.close,U=s.left,z=s.right,W=s.flipX,q=s.flipY,K="".concat(o,"-operations-operation");l.useEffect(function(){var ue=function(pe){pe.keyCode===pt.ESC&&w()};return n&&window.addEventListener("keydown",ue),function(){window.removeEventListener("keydown",ue)}},[n]);var G=function(we,pe){we.preventDefault(),we.stopPropagation(),S(pe)},X=l.useCallback(function(ue){var we=ue.type,pe=ue.disabled,ve=ue.onClick,Ce=ue.icon;return l.createElement("div",{key:we,className:ce(K,"".concat(o,"-operations-operation-").concat(we),re({},"".concat(o,"-operations-operation-disabled"),!!pe)),onClick:ve},Ce)},[K,o]),Z=u?X({icon:U,onClick:function(we){return G(we,-1)},type:"prev",disabled:g===0}):void 0,J=u?X({icon:z,onClick:function(we){return G(we,1)},type:"next",disabled:g===h-1}):void 0,ne=X({icon:q,onClick:O,type:"flipY"}),Q=X({icon:W,onClick:N,type:"flipX"}),ee=X({icon:D,onClick:R,type:"rotateLeft"}),te=X({icon:k,onClick:_,type:"rotateRight"}),oe=X({icon:L,onClick:E,type:"zoomOut",disabled:y<=x}),le=X({icon:M,onClick:I,type:"zoomIn",disabled:y===b}),fe=l.createElement("div",{className:"".concat(o,"-operations")},ne,Q,ee,te,oe,le);return l.createElement(Ia,{visible:n,motionName:r},function(ue){var we=ue.className,pe=ue.style;return l.createElement(Im,{open:!0,getContainer:a??document.body},l.createElement("div",{className:ce("".concat(o,"-operations-wrapper"),we,i),style:se(se({},pe),{},{zIndex:B})},C===null?null:l.createElement("button",{className:"".concat(o,"-close"),onClick:w},C||H),u&&l.createElement(l.Fragment,null,l.createElement("div",{className:ce("".concat(o,"-switch-left"),re({},"".concat(o,"-switch-left-disabled"),g===0)),onClick:function(Ce){return G(Ce,-1)}},U),l.createElement("div",{className:ce("".concat(o,"-switch-right"),re({},"".concat(o,"-switch-right-disabled"),g===h-1)),onClick:function(Ce){return G(Ce,1)}},z)),l.createElement("div",{className:"".concat(o,"-footer")},f&&l.createElement("div",{className:"".concat(o,"-progress")},c?c(g+1,h):"".concat(g+1," / ").concat(h)),A?A(fe,se(se({icons:{prevIcon:Z,nextIcon:J,flipYIcon:ne,flipXIcon:Q,rotateLeftIcon:ee,rotateRightIcon:te,zoomOutIcon:oe,zoomInIcon:le},actions:{onActive:S,onFlipY:O,onFlipX:N,onRotateLeft:R,onRotateRight:_,onZoomOut:E,onZoomIn:I,onReset:$,onClose:w},transform:m},F?{current:g,total:h}:{}),{},{image:j})):fe)))})},_v={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function vxe(e,t,n,r){var a=l.useRef(null),o=l.useRef([]),i=l.useState(_v),s=ye(i,2),c=s[0],u=s[1],f=function(y){u(_v),Ei(_v,c)||r==null||r({transform:_v,action:y})},g=function(y,x){a.current===null&&(o.current=[],a.current=mn(function(){u(function(b){var C=b;return o.current.forEach(function(S){C=se(se({},C),S)}),a.current=null,r==null||r({transform:C,action:x}),C})})),o.current.push(se(se({},c),y))},m=function(y,x,b,C,S){var w=e.current,I=w.width,E=w.height,_=w.offsetWidth,R=w.offsetHeight,N=w.offsetLeft,O=w.offsetTop,$=y,A=c.scale*y;A>n?(A=n,$=n/c.scale):Ar){if(t>0)return re({},e,o);if(t<0&&ar)return re({},e,t<0?o:-o);return{}}function lq(e,t,n,r){var a=sq(),o=a.width,i=a.height,s=null;return e<=o&&t<=i?s={x:0,y:0}:(e>o||t>i)&&(s=se(se({},lL("x",n,e,o)),lL("y",r,t,i))),s}var Fd=1,bxe=1;function yxe(e,t,n,r,a,o,i){var s=a.rotate,c=a.scale,u=a.x,f=a.y,g=l.useState(!1),m=ye(g,2),h=m[0],y=m[1],x=l.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),b=function(E){!t||E.button!==0||(E.preventDefault(),E.stopPropagation(),x.current={diffX:E.pageX-u,diffY:E.pageY-f,transformX:u,transformY:f},y(!0))},C=function(E){n&&h&&o({x:E.pageX-x.current.diffX,y:E.pageY-x.current.diffY},"move")},S=function(){if(n&&h){y(!1);var E=x.current,_=E.transformX,R=E.transformY,N=u!==_&&f!==R;if(!N)return;var O=e.current.offsetWidth*c,$=e.current.offsetHeight*c,A=e.current.getBoundingClientRect(),B=A.left,j=A.top,F=s%180!==0,D=lq(F?$:O,F?O:$,B,j);D&&o(se({},D),"dragRebound")}},w=function(E){if(!(!n||E.deltaY==0)){var _=Math.abs(E.deltaY/100),R=Math.min(_,bxe),N=Fd+R*r;E.deltaY>0&&(N=Fd/N),i(N,"wheel",E.clientX,E.clientY)}};return l.useEffect(function(){var I,E,_,R;if(t){_=Vl(window,"mouseup",S,!1),R=Vl(window,"mousemove",C,!1);try{window.top!==window.self&&(I=Vl(window.top,"mouseup",S,!1),E=Vl(window.top,"mousemove",C,!1))}catch{}}return function(){var N,O,$,A;(N=_)===null||N===void 0||N.remove(),(O=R)===null||O===void 0||O.remove(),($=I)===null||$===void 0||$.remove(),(A=E)===null||A===void 0||A.remove()}},[n,h,u,f,s,t]),{isMoving:h,onMouseDown:b,onMouseMove:C,onMouseUp:S,onWheel:w}}function xxe(e){return new Promise(function(t){if(!e){t(!1);return}var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function cq(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,a=l.useState(n?"loading":"normal"),o=ye(a,2),i=o[0],s=o[1],c=l.useRef(!1),u=i==="error";l.useEffect(function(){var h=!0;return xxe(t).then(function(y){!y&&h&&s("error")}),function(){h=!1}},[t]),l.useEffect(function(){n&&!c.current?s("loading"):u&&s("normal")},[t]);var f=function(){s("normal")},g=function(y){c.current=!1,i==="loading"&&y!==null&&y!==void 0&&y.complete&&(y.naturalWidth||y.naturalHeight)&&(c.current=!0,f())},m=u&&r?{src:r}:{onLoad:f,src:t};return[g,m,i]}function l0(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function Sxe(e,t,n,r){var a=l0(e,n),o=l0(t,r);if(a===0&&o===0)return[e.x,e.y];var i=a/(a+o),s=e.x+i*(t.x-e.x),c=e.y+i*(t.y-e.y);return[s,c]}function Cxe(e,t,n,r,a,o,i){var s=a.rotate,c=a.scale,u=a.x,f=a.y,g=l.useState(!1),m=ye(g,2),h=m[0],y=m[1],x=l.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),b=function(E){x.current=se(se({},x.current),E)},C=function(E){if(t){E.stopPropagation(),y(!0);var _=E.touches,R=_===void 0?[]:_;R.length>1?b({point1:{x:R[0].clientX,y:R[0].clientY},point2:{x:R[1].clientX,y:R[1].clientY},eventType:"touchZoom"}):b({point1:{x:R[0].clientX-u,y:R[0].clientY-f},eventType:"move"})}},S=function(E){var _=E.touches,R=_===void 0?[]:_,N=x.current,O=N.point1,$=N.point2,A=N.eventType;if(R.length>1&&A==="touchZoom"){var B={x:R[0].clientX,y:R[0].clientY},j={x:R[1].clientX,y:R[1].clientY},F=Sxe(O,$,B,j),D=ye(F,2),k=D[0],M=D[1],L=l0(B,j)/l0(O,$);i(L,"touchZoom",k,M,!0),b({point1:B,point2:j,eventType:"touchZoom"})}else A==="move"&&(o({x:R[0].clientX-O.x,y:R[0].clientY-O.y},"move"),b({eventType:"move"}))},w=function(){if(n){if(h&&y(!1),b({eventType:"none"}),r>c)return o({x:0,y:0,scale:r},"touchZoom");var E=e.current.offsetWidth*c,_=e.current.offsetHeight*c,R=e.current.getBoundingClientRect(),N=R.left,O=R.top,$=s%180!==0,A=lq($?_:E,$?E:_,N,O);A&&o(se({},A),"dragRebound")}};return l.useEffect(function(){var I;return n&&t&&(I=Vl(window,"touchmove",function(E){return E.preventDefault()},{passive:!1})),function(){var E;(E=I)===null||E===void 0||E.remove()}},[n,t]),{isTouching:h,onTouchStart:C,onTouchMove:S,onTouchEnd:w}}var wxe=["fallback","src","imgRef"],Exe=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Ixe=function(t){var n=t.fallback,r=t.src,a=t.imgRef,o=Bt(t,wxe),i=cq({src:r,fallback:n}),s=ye(i,2),c=s[0],u=s[1];return ge.createElement("img",Ie({ref:function(g){a.current=g,c(g)}},o,u))},uq=function(t){var n=t.prefixCls,r=t.src,a=t.alt,o=t.imageInfo,i=t.fallback,s=t.movable,c=s===void 0?!0:s,u=t.onClose,f=t.visible,g=t.icons,m=g===void 0?{}:g,h=t.rootClassName,y=t.closeIcon,x=t.getContainer,b=t.current,C=b===void 0?0:b,S=t.count,w=S===void 0?1:S,I=t.countRender,E=t.scaleStep,_=E===void 0?.5:E,R=t.minScale,N=R===void 0?1:R,O=t.maxScale,$=O===void 0?50:O,A=t.transitionName,B=A===void 0?"zoom":A,j=t.maskTransitionName,F=j===void 0?"fade":j,D=t.imageRender,k=t.imgCommonProps,M=t.toolbarRender,L=t.onTransform,H=t.onChange,U=Bt(t,Exe),z=l.useRef(),W=l.useContext(Hm),q=W&&w>1,K=W&&w>=1,G=l.useState(!0),X=ye(G,2),Z=X[0],J=X[1],ne=vxe(z,N,$,L),Q=ne.transform,ee=ne.resetTransform,te=ne.updateTransform,oe=ne.dispatchZoomChange,le=yxe(z,c,f,_,Q,te,oe),fe=le.isMoving,ue=le.onMouseDown,we=le.onWheel,pe=Cxe(z,c,f,N,Q,te,oe),ve=pe.isTouching,Ce=pe.onTouchStart,me=pe.onTouchMove,ie=pe.onTouchEnd,he=Q.rotate,Se=Q.scale,_e=ce(re({},"".concat(n,"-moving"),fe));l.useEffect(function(){Z||J(!0)},[Z]);var $e=function(){ee("close")},ze=function(){oe(Fd+_,"zoomIn")},Fe=function(){oe(Fd/(Fd+_),"zoomOut")},je=function(){te({rotate:he+90},"rotateRight")},qe=function(){te({rotate:he-90},"rotateLeft")},Ue=function(){te({flipX:!Q.flipX},"flipX")},Ne=function(){te({flipY:!Q.flipY},"flipY")},Ye=function(){ee("reset")},Re=function(Qe){var ut=C+Qe;!Number.isInteger(ut)||ut<0||ut>w-1||(J(!1),ee(Qe<0?"prev":"next"),H==null||H(ut,C))},Ae=function(Qe){!f||!q||(Qe.keyCode===pt.LEFT?Re(-1):Qe.keyCode===pt.RIGHT&&Re(1))},Le=function(Qe){f&&(Se!==1?te({x:0,y:0,scale:1},"doubleClick"):oe(Fd+_,"doubleClick",Qe.clientX,Qe.clientY))};l.useEffect(function(){var Je=Vl(window,"keydown",Ae,!1);return function(){Je.remove()}},[f,q,C]);var Te=ge.createElement(Ixe,Ie({},k,{width:t.width,height:t.height,imgRef:z,className:"".concat(n,"-img"),alt:a,style:{transform:"translate3d(".concat(Q.x,"px, ").concat(Q.y,"px, 0) scale3d(").concat(Q.flipX?"-":"").concat(Se,", ").concat(Q.flipY?"-":"").concat(Se,", 1) rotate(").concat(he,"deg)"),transitionDuration:(!Z||ve)&&"0s"},fallback:i,src:r,onWheel:we,onMouseDown:ue,onDoubleClick:Le,onTouchStart:Ce,onTouchMove:me,onTouchEnd:ie,onTouchCancel:ie})),Ve=se({url:r,alt:a},o);return ge.createElement(ge.Fragment,null,ge.createElement(F$,Ie({transitionName:B,maskTransitionName:F,closable:!1,keyboard:!0,prefixCls:n,onClose:u,visible:f,classNames:{wrapper:_e},rootClassName:h,getContainer:x},U,{afterClose:$e}),ge.createElement("div",{className:"".concat(n,"-img-wrapper")},D?D(Te,se({transform:Q,image:Ve},W?{current:C}:{})):Te)),ge.createElement(hxe,{visible:f,transform:Q,maskTransitionName:F,closeIcon:y,getContainer:x,prefixCls:n,rootClassName:h,icons:m,countRender:I,showSwitch:q,showProgress:K,current:C,count:w,scale:Se,minScale:N,maxScale:$,toolbarRender:M,onActive:Re,onZoomIn:ze,onZoomOut:Fe,onRotateRight:je,onRotateLeft:qe,onFlipX:Ue,onFlipY:Ne,onClose:u,onReset:Ye,zIndex:U.zIndex!==void 0?U.zIndex+1:void 0,image:Ve}))},fO=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function _xe(e){var t=l.useState({}),n=ye(t,2),r=n[0],a=n[1],o=l.useCallback(function(s,c){return a(function(u){return se(se({},u),{},re({},s,c))}),function(){a(function(u){var f=se({},u);return delete f[s],f})}},[]),i=l.useMemo(function(){return e?e.map(function(s){if(typeof s=="string")return{data:{src:s}};var c={};return Object.keys(s).forEach(function(u){["src"].concat(Ze(fO)).includes(u)&&(c[u]=s[u])}),{data:c}}):Object.keys(r).reduce(function(s,c){var u=r[c],f=u.canPreview,g=u.data;return f&&s.push({data:g,id:c}),s},[])},[e,r]);return[i,o,!!e]}var Txe=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Rxe=["src"],Oxe=function(t){var n,r=t.previewPrefixCls,a=r===void 0?"rc-image-preview":r,o=t.children,i=t.icons,s=i===void 0?{}:i,c=t.items,u=t.preview,f=t.fallback,g=Pt(u)==="object"?u:{},m=g.visible,h=g.onVisibleChange,y=g.getContainer,x=g.current,b=g.movable,C=g.minScale,S=g.maxScale,w=g.countRender,I=g.closeIcon,E=g.onChange,_=g.onTransform,R=g.toolbarRender,N=g.imageRender,O=Bt(g,Txe),$=_xe(c),A=ye($,3),B=A[0],j=A[1],F=A[2],D=Vn(0,{value:x}),k=ye(D,2),M=k[0],L=k[1],H=l.useState(!1),U=ye(H,2),z=U[0],W=U[1],q=((n=B[M])===null||n===void 0?void 0:n.data)||{},K=q.src,G=Bt(q,Rxe),X=Vn(!!m,{value:m,onChange:function(ve,Ce){h==null||h(ve,Ce,M)}}),Z=ye(X,2),J=Z[0],ne=Z[1],Q=l.useState(null),ee=ye(Q,2),te=ee[0],oe=ee[1],le=l.useCallback(function(pe,ve,Ce,me){var ie=F?B.findIndex(function(he){return he.data.src===ve}):B.findIndex(function(he){return he.id===pe});L(ie<0?0:ie),ne(!0),oe({x:Ce,y:me}),W(!0)},[B,F]);l.useEffect(function(){J?z||L(0):W(!1)},[J]);var fe=function(ve,Ce){L(ve),E==null||E(ve,Ce)},ue=function(){ne(!1),oe(null)},we=l.useMemo(function(){return{register:j,onPreview:le}},[j,le]);return l.createElement(Hm.Provider,{value:we},o,l.createElement(uq,Ie({"aria-hidden":!J,movable:b,visible:J,prefixCls:a,closeIcon:I,onClose:ue,mousePosition:te,imgCommonProps:G,src:K,fallback:f,icons:s,minScale:C,maxScale:S,getContainer:y,current:M,count:B.length,countRender:w,onTransform:_,toolbarRender:R,imageRender:N,onChange:fe},O)))},cL=0;function $xe(e,t){var n=l.useState(function(){return cL+=1,String(cL)}),r=ye(n,1),a=r[0],o=l.useContext(Hm),i={data:t,canPreview:e};return l.useEffect(function(){if(o)return o.register(a,i)},[]),l.useEffect(function(){o&&o.register(a,i)},[e,t]),a}var Nxe=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Axe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],$N=function(t){var n=t.src,r=t.alt,a=t.onPreviewClose,o=t.prefixCls,i=o===void 0?"rc-image":o,s=t.previewPrefixCls,c=s===void 0?"".concat(i,"-preview"):s,u=t.placeholder,f=t.fallback,g=t.width,m=t.height,h=t.style,y=t.preview,x=y===void 0?!0:y,b=t.className,C=t.onClick,S=t.onError,w=t.wrapperClassName,I=t.wrapperStyle,E=t.rootClassName,_=Bt(t,Nxe),R=u&&u!==!0,N=Pt(x)==="object"?x:{},O=N.src,$=N.visible,A=$===void 0?void 0:$,B=N.onVisibleChange,j=B===void 0?a:B,F=N.getContainer,D=F===void 0?void 0:F,k=N.mask,M=N.maskClassName,L=N.movable,H=N.icons,U=N.scaleStep,z=N.minScale,W=N.maxScale,q=N.imageRender,K=N.toolbarRender,G=Bt(N,Axe),X=O??n,Z=Vn(!!A,{value:A,onChange:j}),J=ye(Z,2),ne=J[0],Q=J[1],ee=cq({src:n,isCustomPlaceholder:R,fallback:f}),te=ye(ee,3),oe=te[0],le=te[1],fe=te[2],ue=l.useState(null),we=ye(ue,2),pe=we[0],ve=we[1],Ce=l.useContext(Hm),me=!!x,ie=function(){Q(!1),ve(null)},he=ce(i,w,E,re({},"".concat(i,"-error"),fe==="error")),Se=l.useMemo(function(){var Fe={};return fO.forEach(function(je){t[je]!==void 0&&(Fe[je]=t[je])}),Fe},fO.map(function(Fe){return t[Fe]})),_e=l.useMemo(function(){return se(se({},Se),{},{src:X})},[X,Se]),$e=$xe(me,_e),ze=function(je){var qe=mxe(je.target),Ue=qe.left,Ne=qe.top;Ce?Ce.onPreview($e,X,Ue,Ne):(ve({x:Ue,y:Ne}),Q(!0)),C==null||C(je)};return l.createElement(l.Fragment,null,l.createElement("div",Ie({},_,{className:he,onClick:me?ze:C,style:se({width:g,height:m},I)}),l.createElement("img",Ie({},Se,{className:ce("".concat(i,"-img"),re({},"".concat(i,"-img-placeholder"),u===!0),b),style:se({height:m},h),ref:oe},le,{width:g,height:m,onError:S})),fe==="loading"&&l.createElement("div",{"aria-hidden":"true",className:"".concat(i,"-placeholder")},u),k&&me&&l.createElement("div",{className:ce("".concat(i,"-mask"),M),style:{display:(h==null?void 0:h.display)==="none"?"none":void 0}},k)),!Ce&&me&&l.createElement(uq,Ie({"aria-hidden":!ne,visible:ne,prefixCls:c,onClose:ie,mousePosition:pe,src:X,alt:r,imageInfo:{width:g,height:m},fallback:f,getContainer:D,icons:H,movable:L,scaleStep:U,minScale:z,maxScale:W,rootClassName:E,imageRender:q,imgCommonProps:Se,toolbarRender:K},G)))};$N.PreviewGroup=Oxe;var kxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Pxe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:kxe}))},Dxe=l.forwardRef(Pxe),Mxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Lxe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Mxe}))},jxe=l.forwardRef(Lxe),Fxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Bxe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Fxe}))},uL=l.forwardRef(Bxe),zxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Hxe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:zxe}))},Uxe=l.forwardRef(Hxe),Vxe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Wxe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Vxe}))},Gxe=l.forwardRef(Wxe);const pO=e=>({position:e||"absolute",inset:0}),qxe=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:o,colorTextLightSolid:i}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:i,background:new In("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:Object.assign(Object.assign({},Qo),{padding:`0 ${ae(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},Kxe=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:o,paddingLG:i,previewOperationColorDisabled:s,previewOperationHoverColor:c,motionDurationSlow:u,iconCls:f,colorTextLightSolid:g}=e,m=new In(n).setA(.1),h=m.clone().setA(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:o},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:g,backgroundColor:m.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:h.toRgbString()},[`& > ${f}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${ae(i)}`,backgroundColor:m.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${f}`]:{color:c},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${f}`]:{fontSize:e.previewOperationSize}}}}},Yxe=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:o,motionDurationSlow:i}=e,s=new In(t).setA(.1),c=s.clone().setA(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(o).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${i}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},Xxe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},pO()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},pO()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Kxe(e),Yxe(e)]}]},Zxe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},qxe(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},pO())}}},Jxe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Nf(e,"zoom"),"&":M$(e,!0)}},Qxe=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new In(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new In(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new In(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),dq=Nn("Image",e=>{const t=`${e.componentCls}-preview`,n=fn(e,{previewCls:t,modalMaskBg:new In("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Zxe(n),Xxe(n),tV(fn(n,{componentCls:t})),Jxe(n)]},Qxe);var eSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{previewPrefixCls:t,preview:n}=e,r=eSe(e,["previewPrefixCls","preview"]);const{getPrefixCls:a}=l.useContext(Wt),o=a("image",t),i=`${o}-preview`,s=a(),c=Hr(o),[u,f,g]=dq(o,c),[m]=es("ImagePreview",typeof n=="object"?n.zIndex:void 0),h=l.useMemo(()=>{var y;if(n===!1)return n;const x=typeof n=="object"?n:{},b=ce(f,g,c,(y=x.rootClassName)!==null&&y!==void 0?y:"");return Object.assign(Object.assign({},x),{transitionName:lo(s,"zoom",x.transitionName),maskTransitionName:lo(s,"fade",x.maskTransitionName),rootClassName:b,zIndex:m})},[n]);return u(l.createElement($N.PreviewGroup,Object.assign({preview:h,previewPrefixCls:i,icons:fq},r)))};var dL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,preview:n,className:r,rootClassName:a,style:o}=e,i=dL(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:s,getPopupContainer:c,className:u,style:f,preview:g}=ia("image"),[m]=ni("Image"),h=s("image",t),y=s(),x=Hr(h),[b,C,S]=dq(h,x),w=ce(a,C,S,x),I=ce(r,C,u),[E]=es("ImagePreview",typeof n=="object"?n.zIndex:void 0),_=l.useMemo(()=>{if(n===!1)return n;const N=typeof n=="object"?n:{},{getContainer:O,closeIcon:$,rootClassName:A}=N,B=dL(N,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:l.createElement("div",{className:`${h}-mask-info`},l.createElement(nc,null),m==null?void 0:m.preview),icons:fq},B),{rootClassName:ce(w,A),getContainer:O??c,transitionName:lo(y,"zoom",N.transitionName),maskTransitionName:lo(y,"fade",N.maskTransitionName),zIndex:E,closeIcon:$??(g==null?void 0:g.closeIcon)})},[n,m,g==null?void 0:g.closeIcon]),R=Object.assign(Object.assign({},f),o);return b(l.createElement($N,Object.assign({prefixCls:h,preview:_,rootClassName:w,className:I,style:R},i)))};Un.PreviewGroup=tSe;const nSe=e=>{const{getPrefixCls:t,direction:n}=l.useContext(Wt),{prefixCls:r,className:a}=e,o=t("input-group",r),i=t("input"),[s,c,u]=mG(i),f=ce(o,u,{[`${o}-lg`]:e.size==="large",[`${o}-sm`]:e.size==="small",[`${o}-compact`]:e.compact,[`${o}-rtl`]:n==="rtl"},c,a),g=l.useContext(Ta),m=l.useMemo(()=>Object.assign(Object.assign({},g),{isFormItemInput:!1}),[g]);return s(l.createElement("span",{className:f,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(Ta.Provider,{value:m},e.children)))},rSe=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},aSe=Nn(["Input","OTP"],e=>{const t=fn(e,Ou(e));return[rSe(t)]},$u);var oSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{value:n,onChange:r,onActiveChange:a,index:o,mask:i}=e,s=oSe(e,["value","onChange","onActiveChange","index","mask"]),c=n&&typeof i=="string"?i:n,u=y=>{r(o,y.target.value)},f=l.useRef(null);l.useImperativeHandle(t,()=>f.current);const g=()=>{mn(()=>{var y;const x=(y=f.current)===null||y===void 0?void 0:y.input;document.activeElement===x&&x&&x.select()})},m=y=>{const{key:x,ctrlKey:b,metaKey:C}=y;x==="ArrowLeft"?a(o-1):x==="ArrowRight"?a(o+1):x==="z"&&(b||C)&&y.preventDefault(),g()},h=y=>{y.key==="Backspace"&&!n&&a(o-1),g()};return l.createElement(Bm,Object.assign({type:i===!0?"password":"text"},s,{ref:f,value:c,onInput:u,onFocus:g,onKeyDown:m,onKeyUp:h,onMouseDown:g,onMouseUp:g}))});var sSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{index:t,prefixCls:n,separator:r}=e,a=typeof r=="function"?r(t):r;return a?l.createElement("span",{className:`${n}-separator`},a):null},cSe=l.forwardRef((e,t)=>{const{prefixCls:n,length:r=6,size:a,defaultValue:o,value:i,onChange:s,formatter:c,separator:u,variant:f,disabled:g,status:m,autoFocus:h,mask:y,type:x,onInput:b,inputMode:C}=e,S=sSe(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:w,direction:I}=l.useContext(Wt),E=w("otp",n),_=zr(S,{aria:!0,data:!0,attr:!0}),[R,N,O]=aSe(E),$=da(K=>a??K),A=l.useContext(Ta),B=mc(A.status,m),j=l.useMemo(()=>Object.assign(Object.assign({},A),{status:B,hasFeedback:!1,feedbackIcon:null}),[A,B]),F=l.useRef(null),D=l.useRef({});l.useImperativeHandle(t,()=>({focus:()=>{var K;(K=D.current[0])===null||K===void 0||K.focus()},blur:()=>{var K;for(let G=0;Gc?c(K):K,[M,L]=l.useState(()=>Tv(k(o||"")));l.useEffect(()=>{i!==void 0&&L(Tv(i))},[i]);const H=En(K=>{L(K),b&&b(K),s&&K.length===r&&K.every(G=>G)&&K.some((G,X)=>M[X]!==G)&&s(K.join(""))}),U=En((K,G)=>{let X=Ze(M);for(let J=0;J=0&&!X[J];J-=1)X.pop();const Z=k(X.map(J=>J||" ").join(""));return X=Tv(Z).map((J,ne)=>J===" "&&!X[ne]?X[ne]:J),X}),z=(K,G)=>{var X;const Z=U(K,G),J=Math.min(K+G.length,r-1);J!==K&&Z[K]!==void 0&&((X=D.current[J])===null||X===void 0||X.focus()),H(Z)},W=K=>{var G;(G=D.current[K])===null||G===void 0||G.focus()},q={variant:f,disabled:g,status:B,mask:y,type:x,inputMode:C};return R(l.createElement("div",Object.assign({},_,{ref:F,className:ce(E,{[`${E}-sm`]:$==="small",[`${E}-lg`]:$==="large",[`${E}-rtl`]:I==="rtl"},O,N)}),l.createElement(Ta.Provider,{value:j},Array.from({length:r}).map((K,G)=>{const X=`otp-${G}`,Z=M[G]||"";return l.createElement(l.Fragment,{key:X},l.createElement(iSe,Object.assign({ref:J=>{D.current[G]=J},index:G,size:$,htmlSize:1,className:`${E}-input`,onChange:z,value:Z,onActiveChange:W,autoFocus:G===0&&h},q)),Ge?l.createElement(nc,null):l.createElement(fSe,null),mSe={click:"onClick",hover:"onMouseOver"},hSe=l.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:o=gSe}=e,i=l.useContext(za),s=n??i,c=typeof a=="object"&&a.visible!==void 0,[u,f]=l.useState(()=>c?a.visible:!1),g=l.useRef(null);l.useEffect(()=>{c&&f(a.visible)},[c,a]);const m=PG(g),h=()=>{var $;if(s)return;u&&m();const A=!u;f(A),typeof a=="object"&&(($=a.onVisibleChange)===null||$===void 0||$.call(a,A))},y=$=>{const A=mSe[r]||"",B=o(u),j={[A]:h,className:`${$}-icon`,key:"passwordIcon",onMouseDown:F=>{F.preventDefault()},onMouseUp:F=>{F.preventDefault()}};return l.cloneElement(l.isValidElement(B)?B:l.createElement("span",null,B),j)},{className:x,prefixCls:b,inputPrefixCls:C,size:S}=e,w=pSe(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:I}=l.useContext(Wt),E=I("input",C),_=I("input-password",b),R=a&&y(_),N=ce(_,x,{[`${_}-${S}`]:!!S}),O=Object.assign(Object.assign({},or(w,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:N,prefixCls:E,suffix:R});return S&&(O.size=S),l.createElement(Bm,Object.assign({ref:Ua(t,g)},O))});var vSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,inputPrefixCls:r,className:a,size:o,suffix:i,enterButton:s=!1,addonAfter:c,loading:u,disabled:f,onSearch:g,onChange:m,onCompositionStart:h,onCompositionEnd:y}=e,x=vSe(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:b,direction:C}=l.useContext(Wt),S=l.useRef(!1),w=b("input-search",n),I=b("input",r),{compactSize:E}=Os(w,C),_=da(z=>{var W;return(W=o??E)!==null&&W!==void 0?W:z}),R=l.useRef(null),N=z=>{z!=null&&z.target&&z.type==="click"&&g&&g(z.target.value,z,{source:"clear"}),m==null||m(z)},O=z=>{var W;document.activeElement===((W=R.current)===null||W===void 0?void 0:W.input)&&z.preventDefault()},$=z=>{var W,q;g&&g((q=(W=R.current)===null||W===void 0?void 0:W.input)===null||q===void 0?void 0:q.value,z,{source:"input"})},A=z=>{S.current||u||$(z)},B=typeof s=="boolean"?l.createElement(Nm,null):null,j=`${w}-button`;let F;const D=s||{},k=D.type&&D.type.__ANT_BUTTON===!0;k||D.type==="button"?F=oa(D,Object.assign({onMouseDown:O,onClick:z=>{var W,q;(q=(W=D==null?void 0:D.props)===null||W===void 0?void 0:W.onClick)===null||q===void 0||q.call(W,z),$(z)},key:"enterButton"},k?{className:j,size:_}:{})):F=l.createElement(mt,{className:j,type:s?"primary":void 0,size:_,disabled:f,key:"enterButton",onMouseDown:O,onClick:$,loading:u,icon:B},s),c&&(F=[F,oa(c,{key:"addonAfter"})]);const M=ce(w,{[`${w}-rtl`]:C==="rtl",[`${w}-${_}`]:!!_,[`${w}-with-button`]:!!s},a),L=Object.assign(Object.assign({},x),{className:M,prefixCls:I,type:"search"}),H=z=>{S.current=!0,h==null||h(z)},U=z=>{S.current=!1,y==null||y(z)};return l.createElement(Bm,Object.assign({ref:Ua(R,t),onPressEnter:A},L,{size:_,onCompositionStart:H,onCompositionEnd:U,addonAfter:F,suffix:i,onChange:N,disabled:f}))});var ySe=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,xSe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],X1={},Uo;function SSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&X1[n])return X1[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=xSe.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:o,borderSize:i,boxSizing:a};return t&&n&&(X1[n]=c),c}function CSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Uo||(Uo=document.createElement("textarea"),Uo.setAttribute("tab-index","-1"),Uo.setAttribute("aria-hidden","true"),Uo.setAttribute("name","hiddenTextarea"),document.body.appendChild(Uo)),e.getAttribute("wrap")?Uo.setAttribute("wrap",e.getAttribute("wrap")):Uo.removeAttribute("wrap");var a=SSe(e,t),o=a.paddingSize,i=a.borderSize,s=a.boxSizing,c=a.sizingStyle;Uo.setAttribute("style","".concat(c,";").concat(ySe)),Uo.value=e.value||e.placeholder||"";var u=void 0,f=void 0,g,m=Uo.scrollHeight;if(s==="border-box"?m+=i:s==="content-box"&&(m-=o),n!==null||r!==null){Uo.value=" ";var h=Uo.scrollHeight-o;n!==null&&(u=h*n,s==="border-box"&&(u=u+o+i),m=Math.max(u,m)),r!==null&&(f=h*r,s==="border-box"&&(f=f+o+i),g=m>f?"":"hidden",m=Math.min(f,m))}var y={height:m,overflowY:g,resize:"none"};return u&&(y.minHeight=u),f&&(y.maxHeight=f),y}var wSe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Z1=0,J1=1,Q1=2,ESe=l.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,o=n.value,i=n.autoSize,s=n.onResize,c=n.className,u=n.style,f=n.disabled,g=n.onChange;n.onInternalAutoSize;var m=Bt(n,wSe),h=Vn(a,{value:o,postState:function(K){return K??""}}),y=ye(h,2),x=y[0],b=y[1],C=function(K){b(K.target.value),g==null||g(K)},S=l.useRef();l.useImperativeHandle(t,function(){return{textArea:S.current}});var w=l.useMemo(function(){return i&&Pt(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),I=ye(w,2),E=I[0],_=I[1],R=!!i,N=function(){try{if(document.activeElement===S.current){var K=S.current,G=K.selectionStart,X=K.selectionEnd,Z=K.scrollTop;S.current.setSelectionRange(G,X),S.current.scrollTop=Z}}catch{}},O=l.useState(Q1),$=ye(O,2),A=$[0],B=$[1],j=l.useState(),F=ye(j,2),D=F[0],k=F[1],M=function(){B(Z1)};Rn(function(){R&&M()},[o,E,_,R]),Rn(function(){if(A===Z1)B(J1);else if(A===J1){var q=CSe(S.current,!1,E,_);B(Q1),k(q)}else N()},[A]);var L=l.useRef(),H=function(){mn.cancel(L.current)},U=function(K){A===Q1&&(s==null||s(K),i&&(H(),L.current=mn(function(){M()})))};l.useEffect(function(){return H},[]);var z=R?D:null,W=se(se({},u),z);return(A===Z1||A===J1)&&(W.overflowY="hidden",W.overflowX="hidden"),l.createElement(Xa,{onResize:U,disabled:!(i||s)},l.createElement("textarea",Ie({},m,{ref:S,style:W,className:ce(r,c,re({},"".concat(r,"-disabled"),f)),disabled:f,value:x,onChange:C})))}),ISe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],_Se=ge.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,o=e.onFocus,i=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,f=e.onCompositionStart,g=e.onCompositionEnd,m=e.suffix,h=e.prefixCls,y=h===void 0?"rc-textarea":h,x=e.showCount,b=e.count,C=e.className,S=e.style,w=e.disabled,I=e.hidden,E=e.classNames,_=e.styles,R=e.onResize,N=e.onClear,O=e.onPressEnter,$=e.readOnly,A=e.autoSize,B=e.onKeyDown,j=Bt(e,ISe),F=Vn(r,{value:a,defaultValue:r}),D=ye(F,2),k=D[0],M=D[1],L=k==null?"":String(k),H=ge.useState(!1),U=ye(H,2),z=U[0],W=U[1],q=ge.useRef(!1),K=ge.useState(null),G=ye(K,2),X=G[0],Z=G[1],J=l.useRef(null),ne=l.useRef(null),Q=function(){var Re;return(Re=ne.current)===null||Re===void 0?void 0:Re.textArea},ee=function(){Q().focus()};l.useImperativeHandle(t,function(){var Ye;return{resizableTextArea:ne.current,focus:ee,blur:function(){Q().blur()},nativeElement:((Ye=J.current)===null||Ye===void 0?void 0:Ye.nativeElement)||Q()}}),l.useEffect(function(){W(function(Ye){return!w&&Ye})},[w]);var te=ge.useState(null),oe=ye(te,2),le=oe[0],fe=oe[1];ge.useEffect(function(){if(le){var Ye;(Ye=Q()).setSelectionRange.apply(Ye,Ze(le))}},[le]);var ue=$G(b,x),we=(n=ue.max)!==null&&n!==void 0?n:u,pe=Number(we)>0,ve=ue.strategy(L),Ce=!!we&&ve>we,me=function(Re,Ae){var Le=Ae;!q.current&&ue.exceedFormatter&&ue.max&&ue.strategy(Ae)>ue.max&&(Le=ue.exceedFormatter(Ae,{max:ue.max}),Ae!==Le&&fe([Q().selectionStart||0,Q().selectionEnd||0])),M(Le),o0(Re.currentTarget,Re,s,Le)},ie=function(Re){q.current=!0,f==null||f(Re)},he=function(Re){q.current=!1,me(Re,Re.currentTarget.value),g==null||g(Re)},Se=function(Re){me(Re,Re.target.value)},_e=function(Re){Re.key==="Enter"&&O&&O(Re),B==null||B(Re)},$e=function(Re){W(!0),o==null||o(Re)},ze=function(Re){W(!1),i==null||i(Re)},Fe=function(Re){M(""),ee(),o0(Q(),Re,s)},je=m,qe;ue.show&&(ue.showFormatter?qe=ue.showFormatter({value:L,count:ve,maxLength:we}):qe="".concat(ve).concat(pe?" / ".concat(we):""),je=ge.createElement(ge.Fragment,null,je,ge.createElement("span",{className:ce("".concat(y,"-data-count"),E==null?void 0:E.count),style:_==null?void 0:_.count},qe)));var Ue=function(Re){var Ae;R==null||R(Re),(Ae=Q())!==null&&Ae!==void 0&&Ae.style.height&&Z(!0)},Ne=!A&&!x&&!c;return ge.createElement(TN,{ref:J,value:L,allowClear:c,handleReset:Fe,suffix:je,prefixCls:y,classNames:se(se({},E),{},{affixWrapper:ce(E==null?void 0:E.affixWrapper,re(re({},"".concat(y,"-show-count"),x),"".concat(y,"-textarea-allow-clear"),c))}),disabled:w,focused:z,className:ce(C,Ce&&"".concat(y,"-out-of-range")),style:se(se({},S),X&&!Ne?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof qe=="string"?qe:void 0}},hidden:I,readOnly:$,onClear:N},ge.createElement(ESe,Ie({},j,{autoSize:A,maxLength:u,onKeyDown:_e,onChange:Se,onFocus:$e,onBlur:ze,onCompositionStart:ie,onCompositionEnd:he,className:ce(E==null?void 0:E.textarea),style:se(se({},_==null?void 0:_.textarea),{},{resize:S==null?void 0:S.resize}),disabled:w,prefixCls:y,onResize:Ue,ref:ne,readOnly:$})))});const TSe=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + &-allow-clear > ${t}, + &-affix-wrapper${r}-has-feedback ${t} + `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},RSe=Nn(["Input","TextArea"],e=>{const t=fn(e,Ou(e));return[TSe(t)]},$u,{resetFont:!1});var OSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a=!0,size:o,disabled:i,status:s,allowClear:c,classNames:u,rootClassName:f,className:g,style:m,styles:h,variant:y,showCount:x,onMouseDown:b,onResize:C}=e,S=OSe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:w,direction:I,allowClear:E,autoComplete:_,className:R,style:N,classNames:O,styles:$}=ia("textArea"),A=l.useContext(za),B=i??A,{status:j,hasFeedback:F,feedbackIcon:D}=l.useContext(Ta),k=mc(j,s),M=l.useRef(null);l.useImperativeHandle(t,()=>{var ue;return{resizableTextArea:(ue=M.current)===null||ue===void 0?void 0:ue.resizableTextArea,focus:we=>{var pe,ve;_N((ve=(pe=M.current)===null||pe===void 0?void 0:pe.resizableTextArea)===null||ve===void 0?void 0:ve.textArea,we)},blur:()=>{var we;return(we=M.current)===null||we===void 0?void 0:we.blur()}}});const L=w("input",r),H=Hr(L),[U,z,W]=gG(L,f),[q]=RSe(L,H),{compactSize:K,compactItemClassnames:G}=Os(L,I),X=da(ue=>{var we;return(we=o??K)!==null&&we!==void 0?we:ue}),[Z,J]=hc("textArea",y,a),ne=kG(c??E),[Q,ee]=l.useState(!1),[te,oe]=l.useState(!1),le=ue=>{ee(!0),b==null||b(ue);const we=()=>{ee(!1),document.removeEventListener("mouseup",we)};document.addEventListener("mouseup",we)},fe=ue=>{var we,pe;if(C==null||C(ue),Q&&typeof getComputedStyle=="function"){const ve=(pe=(we=M.current)===null||we===void 0?void 0:we.nativeElement)===null||pe===void 0?void 0:pe.querySelector("textarea");ve&&getComputedStyle(ve).resize==="both"&&oe(!0)}};return U(q(l.createElement(_Se,Object.assign({autoComplete:_},S,{style:Object.assign(Object.assign({},N),m),styles:Object.assign(Object.assign({},$),h),disabled:B,allowClear:ne,className:ce(W,H,g,f,G,R,te&&`${L}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),O),{textarea:ce({[`${L}-sm`]:X==="small",[`${L}-lg`]:X==="large"},z,u==null?void 0:u.textarea,O.textarea,Q&&`${L}-mouse-active`),variant:ce({[`${L}-${Z}`]:J},rl(L,k)),affixWrapper:ce(`${L}-textarea-affix-wrapper`,{[`${L}-affix-wrapper-rtl`]:I==="rtl",[`${L}-affix-wrapper-sm`]:X==="small",[`${L}-affix-wrapper-lg`]:X==="large",[`${L}-textarea-show-count`]:x||((n=e.count)===null||n===void 0?void 0:n.show)},z)}),prefixCls:L,suffix:F&&l.createElement("span",{className:`${L}-textarea-suffix`},D),showCount:x,ref:M,onResize:fe,onMouseDown:le}))))}),Sn=Bm;Sn.Group=nSe;Sn.Search=bSe;Sn.TextArea=pq;Sn.Password=hSe;Sn.OTP=cSe;function $Se(e,t,n){return typeof n=="boolean"?n:e.length?!0:aa(t).some(a=>a.type===sN)}var gq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((i,s)=>l.createElement(a,Object.assign({ref:s,suffixCls:t,tagName:n},i)))}const NN=l.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:o}=e,i=gq(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=l.useContext(Wt),c=s("layout",n),[u,f,g]=yW(c),m=r?`${c}-${r}`:c;return u(l.createElement(o,Object.assign({className:ce(n||m,a,f,g),ref:t},i)))}),NSe=l.forwardRef((e,t)=>{const{direction:n}=l.useContext(Wt),[r,a]=l.useState([]),{prefixCls:o,className:i,rootClassName:s,children:c,hasSider:u,tagName:f,style:g}=e,m=gq(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=or(m,["suffixCls"]),{getPrefixCls:y,className:x,style:b}=ia("layout"),C=y("layout",o),S=$Se(r,c,u),[w,I,E]=yW(C),_=ce(C,{[`${C}-has-sider`]:S,[`${C}-rtl`]:n==="rtl"},x,i,s,I,E),R=l.useMemo(()=>({siderHook:{addSider:N=>{a(O=>[].concat(Ze(O),[N]))},removeSider:N=>{a(O=>O.filter($=>$!==N))}}}),[]);return w(l.createElement(hW.Provider,{value:R},l.createElement(f,Object.assign({ref:t,className:_,style:Object.assign(Object.assign({},b),g)},h),c)))}),ASe=ky({tagName:"div",displayName:"Layout"})(NSe),mq=ky({suffixCls:"header",tagName:"header",displayName:"Header"})(NN),hq=ky({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(NN),kSe=ky({suffixCls:"content",tagName:"main",displayName:"Content"})(NN),al=ASe;al.Header=mq;al.Footer=hq;al.Content=kSe;al.Sider=sN;al._InternalSiderContext=Sy;const AN=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const a=n[r];a!==void 0&&(e[r]=a)})}return e};var PSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},DSe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:PSe}))},fL=l.forwardRef(DSe),MSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},LSe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:MSe}))},pL=l.forwardRef(LSe),jSe={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},FSe=[10,20,50,100],BSe=function(t){var n=t.pageSizeOptions,r=n===void 0?FSe:n,a=t.locale,o=t.changeSize,i=t.pageSize,s=t.goButton,c=t.quickGo,u=t.rootPrefixCls,f=t.disabled,g=t.buildOptionText,m=t.showSizeChanger,h=t.sizeChangerRender,y=ge.useState(""),x=ye(y,2),b=x[0],C=x[1],S=function(){return!b||Number.isNaN(b)?void 0:Number(b)},w=typeof g=="function"?g:function(B){return"".concat(B," ").concat(a.items_per_page)},I=function(j){C(j.target.value)},E=function(j){s||b===""||(C(""),!(j.relatedTarget&&(j.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||j.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(S())))},_=function(j){b!==""&&(j.keyCode===pt.ENTER||j.type==="click")&&(C(""),c==null||c(S()))},R=function(){return r.some(function(j){return j.toString()===i.toString()})?r:r.concat([i]).sort(function(j,F){var D=Number.isNaN(Number(j))?0:Number(j),k=Number.isNaN(Number(F))?0:Number(F);return D-k})},N="".concat(u,"-options");if(!m&&!c)return null;var O=null,$=null,A=null;return m&&h&&(O=h({disabled:f,size:i,onSizeChange:function(j){o==null||o(Number(j))},"aria-label":a.page_size,className:"".concat(N,"-size-changer"),options:R().map(function(B){return{label:w(B),value:B}})})),c&&(s&&(A=typeof s=="boolean"?ge.createElement("button",{type:"button",onClick:_,onKeyUp:_,disabled:f,className:"".concat(N,"-quick-jumper-button")},a.jump_to_confirm):ge.createElement("span",{onClick:_,onKeyUp:_},s)),$=ge.createElement("div",{className:"".concat(N,"-quick-jumper")},a.jump_to,ge.createElement("input",{disabled:f,type:"text",value:b,onChange:I,onKeyUp:_,onBlur:E,"aria-label":a.page}),a.page,A)),ge.createElement("li",{className:N},O,$)},Wp=function(t){var n=t.rootPrefixCls,r=t.page,a=t.active,o=t.className,i=t.showTitle,s=t.onClick,c=t.onKeyPress,u=t.itemRender,f="".concat(n,"-item"),g=ce(f,"".concat(f,"-").concat(r),re(re({},"".concat(f,"-active"),a),"".concat(f,"-disabled"),!r),o),m=function(){s(r)},h=function(b){c(b,s,r)},y=u(r,"page",ge.createElement("a",{rel:"nofollow"},r));return y?ge.createElement("li",{title:i?String(r):null,className:g,onClick:m,onKeyDown:h,tabIndex:0},y):null},zSe=function(t,n,r){return r};function gL(){}function mL(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Fc(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var HSe=function(t){var n=t.prefixCls,r=n===void 0?"rc-pagination":n,a=t.selectPrefixCls,o=a===void 0?"rc-select":a,i=t.className,s=t.current,c=t.defaultCurrent,u=c===void 0?1:c,f=t.total,g=f===void 0?0:f,m=t.pageSize,h=t.defaultPageSize,y=h===void 0?10:h,x=t.onChange,b=x===void 0?gL:x,C=t.hideOnSinglePage,S=t.align,w=t.showPrevNextJumpers,I=w===void 0?!0:w,E=t.showQuickJumper,_=t.showLessItems,R=t.showTitle,N=R===void 0?!0:R,O=t.onShowSizeChange,$=O===void 0?gL:O,A=t.locale,B=A===void 0?jSe:A,j=t.style,F=t.totalBoundaryShowSizeChanger,D=F===void 0?50:F,k=t.disabled,M=t.simple,L=t.showTotal,H=t.showSizeChanger,U=H===void 0?g>D:H,z=t.sizeChangerRender,W=t.pageSizeOptions,q=t.itemRender,K=q===void 0?zSe:q,G=t.jumpPrevIcon,X=t.jumpNextIcon,Z=t.prevIcon,J=t.nextIcon,ne=ge.useRef(null),Q=Vn(10,{value:m,defaultValue:y}),ee=ye(Q,2),te=ee[0],oe=ee[1],le=Vn(1,{value:s,defaultValue:u,postState:function(At){return Math.max(1,Math.min(At,Fc(void 0,te,g)))}}),fe=ye(le,2),ue=fe[0],we=fe[1],pe=ge.useState(ue),ve=ye(pe,2),Ce=ve[0],me=ve[1];l.useEffect(function(){me(ue)},[ue]);var ie=Math.max(1,ue-(_?3:5)),he=Math.min(Fc(void 0,te,g),ue+(_?3:5));function Se(Nt,At){var Xt=Nt||ge.createElement("button",{type:"button","aria-label":At,className:"".concat(r,"-item-link")});return typeof Nt=="function"&&(Xt=ge.createElement(Nt,se({},t))),Xt}function _e(Nt){var At=Nt.target.value,Xt=Fc(void 0,te,g),ln;return At===""?ln=At:Number.isNaN(Number(At))?ln=Ce:At>=Xt?ln=Xt:ln=Number(At),ln}function $e(Nt){return mL(Nt)&&Nt!==ue&&mL(g)&&g>0}var ze=g>te?E:!1;function Fe(Nt){(Nt.keyCode===pt.UP||Nt.keyCode===pt.DOWN)&&Nt.preventDefault()}function je(Nt){var At=_e(Nt);switch(At!==Ce&&me(At),Nt.keyCode){case pt.ENTER:Ne(At);break;case pt.UP:Ne(At-1);break;case pt.DOWN:Ne(At+1);break}}function qe(Nt){Ne(_e(Nt))}function Ue(Nt){var At=Fc(Nt,te,g),Xt=ue>At&&At!==0?At:ue;oe(Nt),me(Xt),$==null||$(ue,Nt),we(Xt),b==null||b(Xt,Nt)}function Ne(Nt){if($e(Nt)&&!k){var At=Fc(void 0,te,g),Xt=Nt;return Nt>At?Xt=At:Nt<1&&(Xt=1),Xt!==Ce&&me(Xt),we(Xt),b==null||b(Xt,te),Xt}return ue}var Ye=ue>1,Re=ue2?Xt-2:0),Mn=2;Mng?g:ue*te])),nt=null,ht=Fc(void 0,te,g);if(C&&g<=te)return null;var tt=[],ct={rootPrefixCls:r,onClick:Ne,onKeyPress:Je,showTitle:N,itemRender:K,page:-1},bt=ue-1>0?ue-1:0,St=ue+1=jt*2&&ue!==3&&(tt[0]=ge.cloneElement(tt[0],{className:ce("".concat(r,"-item-after-jump-prev"),tt[0].props.className)}),tt.unshift(Be)),ht-ue>=jt*2&&ue!==ht-2){var Ct=tt[tt.length-1];tt[tt.length-1]=ge.cloneElement(Ct,{className:ce("".concat(r,"-item-before-jump-next"),Ct.props.className)}),tt.push(nt)}qt!==1&&tt.unshift(ge.createElement(Wp,Ie({},ct,{key:1,page:1}))),Jt!==ht&&tt.push(ge.createElement(Wp,Ie({},ct,{key:ht,page:ht})))}var ot=Ee(bt);if(ot){var We=!Ye||!ht;ot=ge.createElement("li",{title:N?B.prev_page:null,onClick:Ae,tabIndex:We?null:0,onKeyDown:Qe,className:ce("".concat(r,"-prev"),re({},"".concat(r,"-disabled"),We)),"aria-disabled":We},ot)}var dt=ke(St);if(dt){var Ot,Zt;M?(Ot=!Re,Zt=Ye?0:null):(Ot=!Re||!ht,Zt=Ot?null:0),dt=ge.createElement("li",{title:N?B.next_page:null,onClick:Le,tabIndex:Zt,onKeyDown:ut,className:ce("".concat(r,"-next"),re({},"".concat(r,"-disabled"),Ot)),"aria-disabled":Ot},dt)}var yn=ce(r,i,re(re(re(re(re({},"".concat(r,"-start"),S==="start"),"".concat(r,"-center"),S==="center"),"".concat(r,"-end"),S==="end"),"".concat(r,"-simple"),M),"".concat(r,"-disabled"),k));return ge.createElement("ul",Ie({className:yn,style:j,ref:ne},Ke),Ge,ot,M?_t:tt,dt,ge.createElement(BSe,{locale:B,rootPrefixCls:r,disabled:k,selectPrefixCls:o,changeSize:Ue,pageSize:te,pageSizeOptions:W,quickGo:ze?Ne:null,goButton:Rt,showSizeChanger:U,sizeChangerRender:z}))};const USe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},VSe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:ae(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:ae(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:ae(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:ae(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:ae(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:ae(e.itemSizeSM),input:Object.assign(Object.assign({},SN(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},WSe=e=>{const{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:ae(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:ae(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${ae(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${ae(e.inputOutlineOffset)} 0 ${ae(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},GSe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:ae(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ae(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:ae(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},Lm(e)),mN(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},Ry(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},qSe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:ae(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${ae(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ae(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},KSe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:ae(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),qSe(e)),GSe(e)),WSe(e)),VSe(e)),USe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},YSe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Po(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Xi(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Xi(e))}}}},vq=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},$u(e)),bq=e=>fn(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},Ou(e)),XSe=Nn("Pagination",e=>{const t=bq(e);return[KSe(t),YSe(t)]},vq),ZSe=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},JSe=_u(["Pagination","bordered"],e=>{const t=bq(e);return[ZSe(t)]},vq);function hL(e){return l.useMemo(()=>typeof e=="boolean"?[e,{}]:e&&typeof e=="object"?[!0,e]:[void 0,void 0],[e])}var QSe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{align:t,prefixCls:n,selectPrefixCls:r,className:a,rootClassName:o,style:i,size:s,locale:c,responsive:u,showSizeChanger:f,selectComponentClass:g,pageSizeOptions:m}=e,h=QSe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:y}=Am(u),[,x]=ba(),{getPrefixCls:b,direction:C,showSizeChanger:S,className:w,style:I}=ia("pagination"),E=b("pagination",n),[_,R,N]=XSe(E),O=da(s),$=O==="small"||!!(y&&!O&&u),[A]=ni("Pagination",B9),B=Object.assign(Object.assign({},A),c),[j,F]=hL(f),[D,k]=hL(S),M=j??D,L=F??k,H=g||ra,U=l.useMemo(()=>m?m.map(X=>Number(X)):void 0,[m]),z=X=>{var Z;const{disabled:J,size:ne,onSizeChange:Q,"aria-label":ee,className:te,options:oe}=X,{className:le,onChange:fe}=L||{},ue=(Z=oe.find(we=>String(we.value)===String(ne)))===null||Z===void 0?void 0:Z.value;return l.createElement(H,Object.assign({disabled:J,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:we=>we.parentNode,"aria-label":ee,options:oe},L,{value:ue,onChange:(we,pe)=>{Q==null||Q(we),fe==null||fe(we,pe)},size:$?"small":"middle",className:ce(te,le)}))},W=l.useMemo(()=>{const X=l.createElement("span",{className:`${E}-item-ellipsis`},"•••"),Z=l.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},C==="rtl"?l.createElement(Do,null):l.createElement(Is,null)),J=l.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},C==="rtl"?l.createElement(Is,null):l.createElement(Do,null)),ne=l.createElement("a",{className:`${E}-item-link`},l.createElement("div",{className:`${E}-item-container`},C==="rtl"?l.createElement(pL,{className:`${E}-item-link-icon`}):l.createElement(fL,{className:`${E}-item-link-icon`}),X)),Q=l.createElement("a",{className:`${E}-item-link`},l.createElement("div",{className:`${E}-item-container`},C==="rtl"?l.createElement(fL,{className:`${E}-item-link-icon`}):l.createElement(pL,{className:`${E}-item-link-icon`}),X));return{prevIcon:Z,nextIcon:J,jumpPrevIcon:ne,jumpNextIcon:Q}},[C,E]),q=b("select",r),K=ce({[`${E}-${t}`]:!!t,[`${E}-mini`]:$,[`${E}-rtl`]:C==="rtl",[`${E}-bordered`]:x.wireframe},w,a,o,R,N),G=Object.assign(Object.assign({},I),i);return _(l.createElement(l.Fragment,null,x.wireframe&&l.createElement(JSe,{prefixCls:E}),l.createElement(HSe,Object.assign({},W,h,{style:G,prefixCls:E,selectPrefixCls:q,className:K,locale:B,pageSizeOptions:U,showSizeChanger:M,sizeChangerRender:z}))))},c0=100,yq=c0/5,xq=c0/2-yq/2,eC=xq*2*Math.PI,vL=50,bL=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return l.createElement("circle",{className:ce(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:xq,cx:vL,cy:vL,strokeWidth:yq,style:n})},e1e=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,o=`${a}-hidden`,[i,s]=l.useState(!1);Rn(()=>{t!==0&&s(!0)},[t!==0]);const c=Math.max(Math.min(t,100),0);if(!i)return null;const u={strokeDashoffset:`${eC/4}`,strokeDasharray:`${eC*c/100} ${eC*(100-c)/100}`};return l.createElement("span",{className:ce(a,`${r}-progress`,c<=0&&o)},l.createElement("svg",{viewBox:`0 0 ${c0} ${c0}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},l.createElement(bL,{dotClassName:r,hasCircleCls:!0}),l.createElement(bL,{dotClassName:r,style:u})))};function t1e(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,a=`${r}-holder`,o=`${a}-hidden`;return l.createElement(l.Fragment,null,l.createElement("span",{className:ce(a,n>0&&o)},l.createElement("span",{className:ce(r,`${t}-dot-spin`)},[1,2,3,4].map(i=>l.createElement("i",{className:`${t}-dot-item`,key:i})))),l.createElement(e1e,{prefixCls:t,percent:n}))}function n1e(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&l.isValidElement(n)?oa(n,{className:ce(n.props.className,a),percent:r}):l.createElement(t1e,{prefixCls:t,percent:r})}const r1e=new An("antSpinMove",{to:{opacity:1}}),a1e=new An("antRotate",{to:{transform:"rotate(405deg)"}}),o1e=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",inset:0},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:r1e,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:a1e,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},i1e=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},s1e=Nn("Spin",e=>{const t=fn(e,{spinDotDefault:e.colorTextDescription});return[o1e(t)]},i1e),l1e=200,yL=[[30,.05],[70,.03],[96,.01]];function c1e(e,t){const[n,r]=l.useState(0),a=l.useRef(null),o=t==="auto";return l.useEffect(()=>(o&&e&&(r(0),a.current=setInterval(()=>{r(i=>{const s=100-i;for(let c=0;c{clearInterval(a.current)}),[o,e]),o?n:t}var u1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,spinning:r=!0,delay:a=0,className:o,rootClassName:i,size:s="default",tip:c,wrapperClassName:u,style:f,children:g,fullscreen:m=!1,indicator:h,percent:y}=e,x=u1e(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:b,direction:C,className:S,style:w,indicator:I}=ia("spin"),E=b("spin",n),[_,R,N]=s1e(E),[O,$]=l.useState(()=>r&&!d1e(r,a)),A=c1e(O,y);l.useEffect(()=>{if(r){const L=cbe(a,()=>{$(!0)});return L(),()=>{var H;(H=L==null?void 0:L.cancel)===null||H===void 0||H.call(L)}}$(!1)},[a,r]);const B=l.useMemo(()=>typeof g<"u"&&!m,[g,m]),j=ce(E,S,{[`${E}-sm`]:s==="small",[`${E}-lg`]:s==="large",[`${E}-spinning`]:O,[`${E}-show-text`]:!!c,[`${E}-rtl`]:C==="rtl"},o,!m&&i,R,N),F=ce(`${E}-container`,{[`${E}-blur`]:O}),D=(t=h??I)!==null&&t!==void 0?t:Sq,k=Object.assign(Object.assign({},w),f),M=l.createElement("div",Object.assign({},x,{style:k,className:j,"aria-live":"polite","aria-busy":O}),l.createElement(n1e,{prefixCls:E,indicator:D,percent:A}),c&&(B||m)?l.createElement("div",{className:`${E}-text`},c):null);return _(B?l.createElement("div",Object.assign({},x,{className:ce(`${E}-nested-loading`,u,R,N)}),O&&l.createElement("div",{key:"loading"},M),l.createElement("div",{className:F,key:"container"},g)):m?l.createElement("div",{className:ce(`${E}-fullscreen`,{[`${E}-fullscreen-show`]:O},i,R,N)},M):M)};yc.setDefaultIndicator=e=>{Sq=e};const PN=ge.createContext({});PN.Consumer;var Cq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,avatar:r,title:a,description:o}=e,i=Cq(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=l.useContext(Wt),c=s("list",t),u=ce(`${c}-item-meta`,n),f=ge.createElement("div",{className:`${c}-item-meta-content`},a&&ge.createElement("h4",{className:`${c}-item-meta-title`},a),o&&ge.createElement("div",{className:`${c}-item-meta-description`},o));return ge.createElement("div",Object.assign({},i,{className:u}),r&&ge.createElement("div",{className:`${c}-item-meta-avatar`},r),(a||o)&&f)},p1e=ge.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:o,styles:i,className:s,classNames:c,colStyle:u}=e,f=Cq(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:g,itemLayout:m}=l.useContext(PN),{getPrefixCls:h,list:y}=l.useContext(Wt),x=R=>{var N,O;return ce((O=(N=y==null?void 0:y.item)===null||N===void 0?void 0:N.classNames)===null||O===void 0?void 0:O[R],c==null?void 0:c[R])},b=R=>{var N,O;return Object.assign(Object.assign({},(O=(N=y==null?void 0:y.item)===null||N===void 0?void 0:N.styles)===null||O===void 0?void 0:O[R]),i==null?void 0:i[R])},C=()=>{let R=!1;return l.Children.forEach(r,N=>{typeof N=="string"&&(R=!0)}),R&&l.Children.count(r)>1},S=()=>m==="vertical"?!!o:!C(),w=h("list",n),I=a&&a.length>0&&ge.createElement("ul",{className:ce(`${w}-item-action`,x("actions")),key:"actions",style:b("actions")},a.map((R,N)=>ge.createElement("li",{key:`${w}-item-action-${N}`},R,N!==a.length-1&&ge.createElement("em",{className:`${w}-item-action-split`})))),E=g?"div":"li",_=ge.createElement(E,Object.assign({},f,g?{}:{ref:t},{className:ce(`${w}-item`,{[`${w}-item-no-flex`]:!S()},s)}),m==="vertical"&&o?[ge.createElement("div",{className:`${w}-item-main`,key:"content"},r,I),ge.createElement("div",{className:ce(`${w}-item-extra`,x("extra")),key:"extra",style:b("extra")},o)]:[r,I,oa(o,{key:"extra"})]);return g?ge.createElement(er,{ref:t,flex:1,style:u},_):_}),DN=p1e;DN.Meta=f1e;const g1e=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:o,itemPaddingLG:i,marginLG:s,borderRadiusLG:c}=e;return{[t]:{border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${ae(a)} ${ae(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}}}},m1e=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:o,margin:i}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${ae(i)}`}}}}}},h1e=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:o,marginLG:i,padding:s,itemPadding:c,colorPrimary:u,itemPaddingSM:f,itemPaddingLG:g,paddingXS:m,margin:h,colorText:y,colorTextDescription:x,motionDurationSlow:b,lineWidth:C,headerBg:S,footerBg:w,emptyTextPadding:I,metaMarginBottom:E,avatarMarginRight:_,titleMarginBottom:R,descriptionFontSize:N}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:S},[`${t}-footer`]:{background:w},[`${t}-header, ${t}-footer`]:{paddingBlock:o},[`${t}-pagination`]:{marginBlockStart:i,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:y,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:_},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:y},[`${t}-item-meta-title`]:{margin:`0 0 ${ae(e.marginXXS)} 0`,color:y,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:y,transition:`all ${b}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:x,fontSize:N,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${ae(m)}`,color:x,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:C,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${ae(s)} 0`,color:x,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:I,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:i},[`${t}-item-meta`]:{marginBlockEnd:E,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:R,color:y,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${ae(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:g},[`${t}-sm ${t}-item`]:{padding:f},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},v1e=e=>({contentWidth:220,itemPadding:`${ae(e.paddingContentVertical)} 0`,itemPaddingSM:`${ae(e.paddingContentVerticalSM)} ${ae(e.paddingContentHorizontal)}`,itemPaddingLG:`${ae(e.paddingContentVerticalLG)} ${ae(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),b1e=Nn("List",e=>{const t=fn(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[h1e(t),g1e(t),m1e(t)]},v1e);var y1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a(he,Se)=>{var _e;N(he),$(Se),n&&((_e=n==null?void 0:n[ie])===null||_e===void 0||_e.call(n,he,Se))},L=M("onChange"),H=M("onShowSizeChange"),U=(ie,he)=>{if(!w)return null;let Se;return typeof S=="function"?Se=S(ie):S?Se=ie[S]:Se=ie.key,Se||(Se=`list-item-${he}`),l.createElement(l.Fragment,{key:Se},w(ie,he))},z=()=>!!(g||n||b),W=A("list",r),[q,K,G]=b1e(W);let X=C;typeof X=="boolean"&&(X={spinning:X});const Z=!!(X!=null&&X.spinning),J=da(y);let ne="";switch(J){case"large":ne="lg";break;case"small":ne="sm";break}const Q=ce(W,{[`${W}-vertical`]:f==="vertical",[`${W}-${ne}`]:ne,[`${W}-split`]:o,[`${W}-bordered`]:a,[`${W}-loading`]:Z,[`${W}-grid`]:!!m,[`${W}-something-after-last-item`]:z(),[`${W}-rtl`]:B==="rtl"},j,i,s,K,G),ee=AN(k,{total:h.length,current:R,pageSize:O},n||{}),te=Math.ceil(ee.total/ee.pageSize);ee.current>te&&(ee.current=te);const oe=n&&l.createElement("div",{className:ce(`${W}-pagination`)},l.createElement(kN,Object.assign({align:"end"},ee,{onChange:L,onShowSizeChange:H})));let le=Ze(h);n&&h.length>(ee.current-1)*ee.pageSize&&(le=Ze(h).splice((ee.current-1)*ee.pageSize,ee.pageSize));const fe=Object.keys(m||{}).some(ie=>["xs","sm","md","lg","xl","xxl"].includes(ie)),ue=Am(fe),we=l.useMemo(()=>{for(let ie=0;ie{if(!m)return;const ie=we&&m[we]?m[we]:m.column;if(ie)return{width:`${100/ie}%`,maxWidth:`${100/ie}%`}},[JSON.stringify(m),we]);let ve=Z&&l.createElement("div",{style:{minHeight:53}});if(le.length>0){const ie=le.map((he,Se)=>U(he,Se));ve=m?l.createElement(Ma,{gutter:m.gutter},l.Children.map(ie,he=>l.createElement("div",{key:he==null?void 0:he.key,style:pe},he))):l.createElement("ul",{className:`${W}-items`},ie)}else!u&&!Z&&(ve=l.createElement("div",{className:`${W}-empty-text`},(I==null?void 0:I.emptyText)||(D==null?void 0:D("List"))||l.createElement(gy,{componentName:"List"})));const Ce=ee.position||"bottom",me=l.useMemo(()=>({grid:m,itemLayout:f}),[JSON.stringify(m),f]);return q(l.createElement(PN.Provider,{value:me},l.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},F),c),className:Q},E),(Ce==="top"||Ce==="both")&&oe,x&&l.createElement("div",{className:`${W}-header`},x),l.createElement(yc,Object.assign({},X),ve,u),b&&l.createElement("div",{className:`${W}-footer`},b),g||(Ce==="bottom"||Ce==="both")&&oe)))}const S1e=l.forwardRef(x1e),Zn=S1e;Zn.Item=DN;const C1e=function(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&e==null?[]:Array.isArray(e)?e:[e]};var w1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:o,title:i,children:s,footer:c}=e,u=w1e(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=l.useContext(Wt),g=f(),m=t||f("modal"),h=Hr(g),[y,x,b]=aV(m,h),C=`${m}-confirm`;let S={};return o?S={closable:a??!1,title:"",footer:"",children:l.createElement(iV,Object.assign({},e,{prefixCls:m,confirmPrefixCls:C,rootPrefixCls:g,content:s}))}:S={closable:a??!0,title:i,footer:c!==null&&l.createElement(QU,Object.assign({},e)),children:s},y(l.createElement(jU,Object.assign({prefixCls:m,className:ce(x,`${m}-pure-panel`,o&&C,o&&`${C}-${o}`,n,b,h)},u,{closeIcon:JU(m,r),closable:a},S)))},I1e=SV(E1e);function wq(e){return Tm(uV(e))}const Jn=oV;Jn.useModal=gue;Jn.info=function(t){return Tm(dV(t))};Jn.success=function(t){return Tm(fV(t))};Jn.error=function(t){return Tm(pV(t))};Jn.warning=wq;Jn.warn=wq;Jn.confirm=function(t){return Tm(gV(t))};Jn.destroyAll=function(){for(;Kc.length;){const t=Kc.pop();t&&t()}};Jn.config=cue;Jn._InternalPanelDoNotUseOrYouWillBeFired=I1e;let zi=null,wb=e=>e(),u0=[],Wg={};function xL(){const{getContainer:e,rtl:t,maxCount:n,top:r,bottom:a,showProgress:o,pauseOnHover:i}=Wg,s=(e==null?void 0:e())||document.body;return{getContainer:()=>s,rtl:t,maxCount:n,top:r,bottom:a,showProgress:o,pauseOnHover:i}}const _1e=ge.forwardRef((e,t)=>{const{notificationConfig:n,sync:r}=e,{getPrefixCls:a}=l.useContext(Wt),o=Wg.prefixCls||a("notification"),i=l.useContext(Lue),[s,c]=xV(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),i.notification));return ge.useEffect(r,[]),ge.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(f=>{u[f]=function(){return r(),s[f].apply(s,arguments)}}),{instance:u,sync:r}}),c}),T1e=ge.forwardRef((e,t)=>{const[n,r]=ge.useState(xL),a=()=>{r(xL)};ge.useEffect(a,[]);const o=pU(),i=o.getRootPrefixCls(),s=o.getIconPrefixCls(),c=o.getTheme(),u=ge.createElement(_1e,{ref:t,sync:a,notificationConfig:n});return ge.createElement(Qi,{prefixCls:i,iconPrefixCls:s,theme:c},o.holderRender?o.holderRender(u):u)});function MN(){if(!zi){const e=document.createDocumentFragment(),t={fragment:e};zi=t,wb(()=>{P$()(ge.createElement(T1e,{ref:r=>{const{instance:a,sync:o}=r||{};Promise.resolve().then(()=>{!t.instance&&a&&(t.instance=a,t.sync=o,MN())})}}),e)});return}zi.instance&&(u0.forEach(e=>{switch(e.type){case"open":{wb(()=>{zi.instance.open(Object.assign(Object.assign({},Wg),e.config))});break}case"destroy":wb(()=>{zi==null||zi.instance.destroy(e.key)});break}}),u0=[])}function R1e(e){Wg=Object.assign(Object.assign({},Wg),e),wb(()=>{var t;(t=zi==null?void 0:zi.sync)===null||t===void 0||t.call(zi)})}function Eq(e){u0.push({type:"open",config:e}),MN()}const O1e=e=>{u0.push({type:"destroy",key:e}),MN()},$1e=["success","info","warning","error"],N1e={open:Eq,destroy:O1e,config:R1e,useNotification:Mue,_InternalPanelDoNotUseOrYouWillBeFired:_ue},Eb=N1e;$1e.forEach(e=>{Eb[e]=t=>Eq(Object.assign(Object.assign({},t),{type:e}))});var A1e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},k1e=function(){var t=l.useRef([]),n=l.useRef(null);return l.useEffect(function(){var r=Date.now(),a=!1;t.current.forEach(function(o){if(o){a=!0;var i=o.style;i.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(i.transitionDuration="0s, 0s")}}),a&&(n.current=Date.now())}),t.current},SL=0,P1e=Ba();function D1e(){var e;return P1e?(e=SL,SL+=1):e="TEST_OR_SSR",e}const M1e=function(e){var t=l.useState(),n=ye(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_progress_".concat(D1e()))},[]),e||r};var CL=function(t){var n=t.bg,r=t.children;return l.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function wL(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),a="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(a)})}var L1e=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,a=e.gradientId,o=e.radius,i=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,f=e.size,g=e.gapDegree,m=r&&Pt(r)==="object",h=m?"#FFF":void 0,y=f/2,x=l.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:y,cy:y,stroke:h,strokeLinecap:c,strokeWidth:u,opacity:s===0?0:1,style:i,ref:t});if(!m)return x;var b="".concat(a,"-conic"),C=g?"".concat(180+g/2,"deg"):"0deg",S=wL(r,(360-g)/360),w=wL(r,1),I="conic-gradient(from ".concat(C,", ").concat(S.join(", "),")"),E="linear-gradient(to ".concat(g?"bottom":"top",", ").concat(w.join(", "),")");return l.createElement(l.Fragment,null,l.createElement("mask",{id:b},x),l.createElement("foreignObject",{x:0,y:0,width:f,height:f,mask:"url(#".concat(b,")")},l.createElement(CL,{bg:E},l.createElement(CL,{bg:I}))))}),eg=100,tC=function(t,n,r,a,o,i,s,c,u,f){var g=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,m=r/100*360*((360-i)/360),h=i===0?0:{bottom:0,top:180,left:90,right:-90}[s],y=(100-a)/100*n;u==="round"&&a!==100&&(y+=f/2,y>=n&&(y=n-.01));var x=eg/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:y+g,transform:"rotate(".concat(o+m+h,"deg)"),transformOrigin:"".concat(x,"px ").concat(x,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},j1e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function EL(e){var t=e??[];return Array.isArray(t)?t:[t]}var F1e=function(t){var n=se(se({},A1e),t),r=n.id,a=n.prefixCls,o=n.steps,i=n.strokeWidth,s=n.trailWidth,c=n.gapDegree,u=c===void 0?0:c,f=n.gapPosition,g=n.trailColor,m=n.strokeLinecap,h=n.style,y=n.className,x=n.strokeColor,b=n.percent,C=Bt(n,j1e),S=eg/2,w=M1e(r),I="".concat(w,"-gradient"),E=S-i/2,_=Math.PI*2*E,R=u>0?90+u/2:-90,N=_*((360-u)/360),O=Pt(o)==="object"?o:{count:o,gap:2},$=O.count,A=O.gap,B=EL(b),j=EL(x),F=j.find(function(z){return z&&Pt(z)==="object"}),D=F&&Pt(F)==="object",k=D?"butt":m,M=tC(_,N,0,100,R,u,f,g,k,i),L=k1e(),H=function(){var W=0;return B.map(function(q,K){var G=j[K]||j[j.length-1],X=tC(_,N,W,q,R,u,f,G,k,i);return W+=q,l.createElement(L1e,{key:K,color:G,ptg:q,radius:E,prefixCls:a,gradientId:I,style:X,strokeLinecap:k,strokeWidth:i,gapDegree:u,ref:function(J){L[K]=J},size:eg})}).reverse()},U=function(){var W=Math.round($*(B[0]/100)),q=100/$,K=0;return new Array($).fill(null).map(function(G,X){var Z=X<=W-1?j[0]:g,J=Z&&Pt(Z)==="object"?"url(#".concat(I,")"):void 0,ne=tC(_,N,K,q,R,u,f,Z,"butt",i,A);return K+=(N-ne.strokeDashoffset+A)*100/N,l.createElement("circle",{key:X,className:"".concat(a,"-circle-path"),r:E,cx:S,cy:S,stroke:J,strokeWidth:i,opacity:1,style:ne,ref:function(ee){L[X]=ee}})})};return l.createElement("svg",Ie({className:ce("".concat(a,"-circle"),y),viewBox:"0 0 ".concat(eg," ").concat(eg),style:h,id:r,role:"presentation"},C),!$&&l.createElement("circle",{className:"".concat(a,"-circle-trail"),r:E,cx:S,cy:S,stroke:g,strokeLinecap:k,strokeWidth:s||i,style:M}),$?U():H())};function Yl(e){return!e||e<0?0:e>100?100:e}function d0(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const B1e=e=>{let{percent:t,success:n,successPercent:r}=e;const a=Yl(d0({success:n,successPercent:r}));return[a,Yl(Yl(t)-a)]},z1e=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||qd.green,n||null]},Py=(e,t,n)=>{var r,a,o,i;let s=-1,c=-1;if(t==="step"){const u=n.steps,f=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,c=f??8):typeof e=="number"?[s,c]=[e,e]:[s=14,c=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?c=u||(e==="small"?6:8):typeof e=="number"?[s,c]=[e,e]:[s=-1,c=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,c]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,c]=[e,e]:Array.isArray(e)&&(s=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,c=(i=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&i!==void 0?i:120));return[s,c]},H1e=3,U1e=e=>H1e/e*100,V1e=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:a,gapDegree:o,width:i=120,type:s,children:c,success:u,size:f=i,steps:g}=e,[m,h]=Py(f,"circle");let{strokeWidth:y}=e;y===void 0&&(y=Math.max(U1e(m),6));const x={width:m,height:h,fontSize:m*.15+6},b=l.useMemo(()=>{if(o||o===0)return o;if(s==="dashboard")return 75},[o,s]),C=B1e(e),S=a||s==="dashboard"&&"bottom"||void 0,w=Object.prototype.toString.call(e.strokeColor)==="[object Object]",I=z1e({success:u,strokeColor:e.strokeColor}),E=ce(`${t}-inner`,{[`${t}-circle-gradient`]:w}),_=l.createElement(F1e,{steps:g,percent:g?C[1]:C,strokeWidth:y,trailWidth:y,strokeColor:g?I[1]:I,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:b,gapPosition:S}),R=m<=20,N=l.createElement("div",{className:E,style:x},_,!R&&c);return R?l.createElement(nn,{title:c},N):N},f0="--progress-line-stroke-color",Iq="--progress-percent",IL=e=>{const t=e?"100%":"-100%";return new An(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},W1e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${f0})`]},height:"100%",width:`calc(1 / var(${Iq}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${ae(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:IL(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:IL(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},G1e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},q1e=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},K1e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},Y1e=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),X1e=Nn("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=fn(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[W1e(n),G1e(n),q1e(n),K1e(n)]},Y1e);var Z1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));Number.isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:a}=n;return`${a} ${r}%`}).join(", ")},Q1e=(e,t)=>{const{from:n=qd.blue,to:r=qd.blue,direction:a=t==="rtl"?"to left":"to right"}=e,o=Z1e(e,["from","to","direction"]);if(Object.keys(o).length!==0){const s=J1e(o),c=`linear-gradient(${a}, ${s})`;return{background:c,[f0]:c}}const i=`linear-gradient(${a}, ${n}, ${r})`;return{background:i,[f0]:i}},eCe=e=>{const{prefixCls:t,direction:n,percent:r,size:a,strokeWidth:o,strokeColor:i,strokeLinecap:s="round",children:c,trailColor:u=null,percentPosition:f,success:g}=e,{align:m,type:h}=f,y=i&&typeof i!="string"?Q1e(i,n):{[f0]:i,background:i},x=s==="square"||s==="butt"?0:void 0,b=a??[-1,o||(a==="small"?6:8)],[C,S]=Py(b,"line",{strokeWidth:o}),w={backgroundColor:u||void 0,borderRadius:x},I=Object.assign(Object.assign({width:`${Yl(r)}%`,height:S,borderRadius:x},y),{[Iq]:Yl(r)/100}),E=d0(e),_={width:`${Yl(E)}%`,height:S,borderRadius:x,backgroundColor:g==null?void 0:g.strokeColor},R={width:C<0?"100%":C},N=l.createElement("div",{className:`${t}-inner`,style:w},l.createElement("div",{className:ce(`${t}-bg`,`${t}-bg-${h}`),style:I},h==="inner"&&c),E!==void 0&&l.createElement("div",{className:`${t}-success-bg`,style:_})),O=h==="outer"&&m==="start",$=h==="outer"&&m==="end";return h==="outer"&&m==="center"?l.createElement("div",{className:`${t}-layout-bottom`},N,c):l.createElement("div",{className:`${t}-outer`,style:R},O&&c,N,$&&c)},tCe=e=>{const{size:t,steps:n,rounding:r=Math.round,percent:a=0,strokeWidth:o=8,strokeColor:i,trailColor:s=null,prefixCls:c,children:u}=e,f=r(n*(a/100)),m=t??[t==="small"?2:14,o],[h,y]=Py(m,"step",{steps:n,strokeWidth:o}),x=h/n,b=Array.from({length:n});for(let C=0;C{const{prefixCls:n,className:r,rootClassName:a,steps:o,strokeColor:i,percent:s=0,size:c="default",showInfo:u=!0,type:f="line",status:g,format:m,style:h,percentPosition:y={}}=e,x=nCe(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:b="end",type:C="outer"}=y,S=Array.isArray(i)?i[0]:i,w=typeof i=="string"||Array.isArray(i)?i:void 0,I=l.useMemo(()=>{if(S){const H=typeof S=="string"?S:Object.values(S)[0];return new In(H).isLight()}return!1},[i]),E=l.useMemo(()=>{var H,U;const z=d0(e);return parseInt(z!==void 0?(H=z??0)===null||H===void 0?void 0:H.toString():(U=s??0)===null||U===void 0?void 0:U.toString(),10)},[s,e.success,e.successPercent]),_=l.useMemo(()=>!rCe.includes(g)&&E>=100?"success":g||"normal",[g,E]),{getPrefixCls:R,direction:N,progress:O}=l.useContext(Wt),$=R("progress",n),[A,B,j]=X1e($),F=f==="line",D=F&&!o,k=l.useMemo(()=>{if(!u)return null;const H=d0(e);let U;const z=m||(q=>`${q}%`),W=F&&I&&C==="inner";return C==="inner"||m||_!=="exception"&&_!=="success"?U=z(Yl(s),Yl(H)):_==="exception"?U=F?l.createElement(pc,null):l.createElement(Ha,null):_==="success"&&(U=F?l.createElement(Of,null):l.createElement(Pf,null)),l.createElement("span",{className:ce(`${$}-text`,{[`${$}-text-bright`]:W,[`${$}-text-${b}`]:D,[`${$}-text-${C}`]:D}),title:typeof U=="string"?U:void 0},U)},[u,s,E,_,f,$,m]);let M;f==="line"?M=o?l.createElement(tCe,Object.assign({},e,{strokeColor:w,prefixCls:$,steps:typeof o=="object"?o.count:o}),k):l.createElement(eCe,Object.assign({},e,{strokeColor:S,prefixCls:$,direction:N,percentPosition:{align:b,type:C}}),k):(f==="circle"||f==="dashboard")&&(M=l.createElement(V1e,Object.assign({},e,{strokeColor:S,prefixCls:$,progressStatus:_}),k));const L=ce($,`${$}-status-${_}`,{[`${$}-${f==="dashboard"&&"circle"||f}`]:f!=="line",[`${$}-inline-circle`]:f==="circle"&&Py(c,"circle")[0]<=20,[`${$}-line`]:D,[`${$}-line-align-${b}`]:D,[`${$}-line-position-${C}`]:D,[`${$}-steps`]:o,[`${$}-show-info`]:u,[`${$}-${c}`]:typeof c=="string",[`${$}-rtl`]:N==="rtl"},O==null?void 0:O.className,r,a,B,j);return A(l.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},O==null?void 0:O.style),h),className:L,role:"progressbar","aria-valuenow":E,"aria-valuemin":0,"aria-valuemax":100},or(x,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),M))});function aCe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=B0(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return i=u.done,u},e:function(u){s=!0,o=u},f:function(){try{i||n.return==null||n.return()}finally{if(s)throw o}}}}var oCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]},name:"appstore-add",theme:"outlined"},iCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:oCe}))},sCe=l.forwardRef(iCe),lCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},cCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:lCe}))},uCe=l.forwardRef(cCe),dCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},fCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:dCe}))},pCe=l.forwardRef(fCe),gCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},mCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:gCe}))},_q=l.forwardRef(mCe),hCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},vCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:hCe}))},bCe=l.forwardRef(vCe),yCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},xCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:yCe}))},SCe=l.forwardRef(xCe),CCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},wCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:CCe}))},ECe=l.forwardRef(wCe),ICe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},_Ce=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:ICe}))},TCe=l.forwardRef(_Ce),RCe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},OCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:RCe}))},$Ce=l.forwardRef(OCe),NCe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},ACe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:NCe}))},kCe=l.forwardRef(ACe),PCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},DCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:PCe}))},gO=l.forwardRef(DCe),MCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"check-square",theme:"outlined"},LCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:MCe}))},mO=l.forwardRef(LCe),jCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},FCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:jCe}))},_L=l.forwardRef(FCe),BCe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},zCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:BCe}))},TL=l.forwardRef(zCe),HCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},UCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:HCe}))},Tq=l.forwardRef(UCe),VCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},WCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:VCe}))},Gg=l.forwardRef(WCe),GCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},qCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:GCe}))},KCe=l.forwardRef(qCe),YCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},XCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:YCe}))},My=l.forwardRef(XCe),ZCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}}]},name:"code-sandbox",theme:"outlined"},JCe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:ZCe}))},ff=l.forwardRef(JCe),QCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},ewe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:QCe}))},twe=l.forwardRef(ewe),nwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},rwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:nwe}))},awe=l.forwardRef(rwe),owe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},iwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:owe}))},Ly=l.forwardRef(iwe),swe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},lwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:swe}))},_s=l.forwardRef(lwe),cwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},uwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:cwe}))},tg=l.forwardRef(uwe),dwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},fwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:dwe}))},pwe=l.forwardRef(fwe),gwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"},mwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:gwe}))},hwe=l.forwardRef(mwe),vwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},bwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:vwe}))},bu=l.forwardRef(bwe),ywe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},xwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:ywe}))},ol=l.forwardRef(xwe),Swe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},Cwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Swe}))},wwe=l.forwardRef(Cwe),Ewe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},Iwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Ewe}))},_we=l.forwardRef(Iwe),Twe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Rwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Twe}))},Rq=l.forwardRef(Rwe),Owe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},$we=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Owe}))},Nwe=l.forwardRef($we),Awe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},kwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Awe}))},Pwe=l.forwardRef(kwe),Dwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Mwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Dwe}))},Lwe=l.forwardRef(Mwe),jwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},Fwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:jwe}))},Bwe=l.forwardRef(Fwe),zwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},Hwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:zwe}))},Ib=l.forwardRef(Hwe),Uwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Vwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Uwe}))},LN=l.forwardRef(Vwe),Wwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Gwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Wwe}))},au=l.forwardRef(Gwe),qwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},Kwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:qwe}))},Oq=l.forwardRef(Kwe),Ywe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 .6.1 1.3.2 1.9A83.99 83.99 0 00457 960c46.4 0 84-37.6 84-84 0-2.1-.1-4.1-.2-6.1.1-.6.2-1.2.2-1.9V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40zM720 352H208V160h512v192zM477 876c0 11-9 20-20 20s-20-9-20-20V696h40v180z"}}]},name:"format-painter",theme:"outlined"},Xwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Ywe}))},Zwe=l.forwardRef(Xwe),Jwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},Qwe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Jwe}))},$q=l.forwardRef(Qwe),eEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},tEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:eEe}))},nEe=l.forwardRef(tEe),rEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},aEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:rEe}))},oEe=l.forwardRef(aEe),iEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},sEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:iEe}))},lEe=l.forwardRef(sEe),cEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},uEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:cEe}))},dEe=l.forwardRef(uEe),fEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},pEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:fEe}))},Nq=l.forwardRef(pEe),gEe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},mEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:gEe}))},jN=l.forwardRef(mEe),hEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},vEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:hEe}))},Yo=l.forwardRef(vEe),bEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},yEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:bEe}))},xEe=l.forwardRef(yEe),SEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},CEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:SEe}))},wEe=l.forwardRef(CEe),EEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},IEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:EEe}))},Aq=l.forwardRef(IEe),_Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},TEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:_Ee}))},REe=l.forwardRef(TEe),OEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},$Ee=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:OEe}))},NEe=l.forwardRef($Ee),AEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},kEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:AEe}))},kq=l.forwardRef(kEe),PEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},DEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:PEe}))},MEe=l.forwardRef(DEe),LEe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},jEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:LEe}))},FEe=l.forwardRef(jEe),BEe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},zEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:BEe}))},HEe=l.forwardRef(zEe),UEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},VEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:UEe}))},p0=l.forwardRef(VEe),WEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},GEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:WEe}))},qEe=l.forwardRef(GEe),KEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},YEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:KEe}))},XEe=l.forwardRef(YEe),ZEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},JEe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:ZEe}))},RL=l.forwardRef(JEe),QEe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},e2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:QEe}))},t2e=l.forwardRef(e2e),n2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},r2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:n2e}))},$o=l.forwardRef(r2e),a2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},o2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:a2e}))},Pq=l.forwardRef(o2e),i2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},s2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:i2e}))},l2e=l.forwardRef(s2e),c2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z"}}]},name:"printer",theme:"outlined"},u2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:c2e}))},d2e=l.forwardRef(u2e),f2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},p2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:f2e}))},hO=l.forwardRef(p2e),g2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},m2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:g2e}))},g0=l.forwardRef(m2e),h2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},v2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:h2e}))},FN=l.forwardRef(v2e),b2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z"}}]},name:"save",theme:"filled"},y2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:b2e}))},Dq=l.forwardRef(y2e),x2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},S2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:x2e}))},C2e=l.forwardRef(S2e),w2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},E2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:w2e}))},BN=l.forwardRef(E2e),I2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},_2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:I2e}))},T2e=l.forwardRef(_2e),R2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},O2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:R2e}))},Mq=l.forwardRef(O2e),$2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},N2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:$2e}))},Lq=l.forwardRef(N2e),A2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},k2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:A2e}))},P2e=l.forwardRef(k2e),D2e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},M2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:D2e}))},L2e=l.forwardRef(M2e),j2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"},F2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:j2e}))},B2e=l.forwardRef(F2e),z2e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},H2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:z2e}))},U2e=l.forwardRef(H2e),V2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},W2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:V2e}))},jq=l.forwardRef(W2e),G2e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},q2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:G2e}))},Fq=l.forwardRef(q2e),K2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},Y2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:K2e}))},X2e=l.forwardRef(Y2e),Z2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},J2e=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Z2e}))},zN=l.forwardRef(J2e),Q2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},eIe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:Q2e}))},tIe=l.forwardRef(eIe),nIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},rIe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:nIe}))},aIe=l.forwardRef(rIe),oIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},iIe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:oIe}))},Bq=l.forwardRef(iIe),sIe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},lIe=function(t,n){return l.createElement(gt,Ie({},t,{ref:n,icon:sIe}))},ng=l.forwardRef(lIe),cIe=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function OL(e){return typeof e=="string"}function zq(e){var t,n=e.className,r=e.prefixCls,a=e.style,o=e.active,i=e.status,s=e.iconPrefix,c=e.icon;e.wrapperStyle;var u=e.stepNumber,f=e.disabled,g=e.description,m=e.title,h=e.subTitle,y=e.progressDot,x=e.stepIcon,b=e.tailContent,C=e.icons,S=e.stepIndex,w=e.onStepClick,I=e.onClick,E=e.render,_=Bt(e,cIe),R=!!w&&!f,N={};R&&(N.role="button",N.tabIndex=0,N.onClick=function(F){I==null||I(F),w(S)},N.onKeyDown=function(F){var D=F.which;(D===pt.ENTER||D===pt.SPACE)&&w(S)});var O=function(){var D,k,M=ce("".concat(r,"-icon"),"".concat(s,"icon"),(D={},re(D,"".concat(s,"icon-").concat(c),c&&OL(c)),re(D,"".concat(s,"icon-check"),!c&&i==="finish"&&(C&&!C.finish||!C)),re(D,"".concat(s,"icon-cross"),!c&&i==="error"&&(C&&!C.error||!C)),D)),L=l.createElement("span",{className:"".concat(r,"-icon-dot")});return y?typeof y=="function"?k=l.createElement("span",{className:"".concat(r,"-icon")},y(L,{index:u-1,status:i,title:m,description:g})):k=l.createElement("span",{className:"".concat(r,"-icon")},L):c&&!OL(c)?k=l.createElement("span",{className:"".concat(r,"-icon")},c):C&&C.finish&&i==="finish"?k=l.createElement("span",{className:"".concat(r,"-icon")},C.finish):C&&C.error&&i==="error"?k=l.createElement("span",{className:"".concat(r,"-icon")},C.error):c||i==="finish"||i==="error"?k=l.createElement("span",{className:M}):k=l.createElement("span",{className:"".concat(r,"-icon")},u),x&&(k=x({index:u-1,status:i,title:m,description:g,node:k})),k},$=i||"wait",A=ce("".concat(r,"-item"),"".concat(r,"-item-").concat($),n,(t={},re(t,"".concat(r,"-item-custom"),c),re(t,"".concat(r,"-item-active"),o),re(t,"".concat(r,"-item-disabled"),f===!0),t)),B=se({},a),j=l.createElement("div",Ie({},_,{className:A,style:B}),l.createElement("div",Ie({onClick:I},N,{className:"".concat(r,"-item-container")}),l.createElement("div",{className:"".concat(r,"-item-tail")},b),l.createElement("div",{className:"".concat(r,"-item-icon")},O()),l.createElement("div",{className:"".concat(r,"-item-content")},l.createElement("div",{className:"".concat(r,"-item-title")},m,h&&l.createElement("div",{title:typeof h=="string"?h:void 0,className:"".concat(r,"-item-subtitle")},h)),g&&l.createElement("div",{className:"".concat(r,"-item-description")},g))));return E&&(j=E(j)||null),j}var uIe=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function HN(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,a=e.style,o=a===void 0?{}:a,i=e.className;e.children;var s=e.direction,c=s===void 0?"horizontal":s,u=e.type,f=u===void 0?"default":u,g=e.labelPlacement,m=g===void 0?"horizontal":g,h=e.iconPrefix,y=h===void 0?"rc":h,x=e.status,b=x===void 0?"process":x,C=e.size,S=e.current,w=S===void 0?0:S,I=e.progressDot,E=I===void 0?!1:I,_=e.stepIcon,R=e.initial,N=R===void 0?0:R,O=e.icons,$=e.onChange,A=e.itemRender,B=e.items,j=B===void 0?[]:B,F=Bt(e,uIe),D=f==="navigation",k=f==="inline",M=k||E,L=k?"horizontal":c,H=k?void 0:C,U=M?"vertical":m,z=ce(r,"".concat(r,"-").concat(L),i,(t={},re(t,"".concat(r,"-").concat(H),H),re(t,"".concat(r,"-label-").concat(U),L==="horizontal"),re(t,"".concat(r,"-dot"),!!M),re(t,"".concat(r,"-navigation"),D),re(t,"".concat(r,"-inline"),k),t)),W=function(G){$&&w!==G&&$(G)},q=function(G,X){var Z=se({},G),J=N+X;return b==="error"&&X===w-1&&(Z.className="".concat(r,"-next-error")),Z.status||(J===w?Z.status=b:J{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:a}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:a,lineHeight:ae(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},fIe=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},pIe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,o=e.calc(e.paddingXS).add(e.lineWidth).equal(),i={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${ae(o)} ${ae(e.paddingXXS)} 0`,margin:`0 ${ae(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${ae(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(o).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${ae(e.lineWidth)} ${e.lineType} ${a}`}},i),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${ae(e.lineWidth)} ${e.lineType} ${a}`}},i),"&-error":i,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${ae(e.calc(n).div(2).equal())})`,top:0}},i),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},gIe=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:a}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${ae(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(a).div(2).add(e.controlHeightLG).equal()}}}}}},mIe=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:o}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${o}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},Qo),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${ae(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${ae(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${ae(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:a,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${ae(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},hIe=e=>{const{antCls:t,componentCls:n,iconSize:r,iconSizeSM:a,processIconColor:o,marginXXS:i,lineWidthBold:s,lineWidth:c,paddingXXS:u}=e,f=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),g=e.calc(a).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:u,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:o}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:u,[`> ${n}-item-container > ${n}-item-tail`]:{top:i,insetInlineStart:e.calc(r).div(2).sub(c).add(u).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(a).div(2).sub(c).add(u).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(r).div(2).add(u).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${ae(f)} !important`,height:`${ae(f)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(a).div(2).add(u).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${ae(g)} !important`,height:`${ae(g)} !important`}}}}},vIe=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:a,dotSize:o,motionDurationSlow:i}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${ae(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${ae(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:o,height:o,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal(),paddingInlineEnd:0,lineHeight:ae(o),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${i}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(o).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(o).sub(a).div(2).equal(),width:a,height:a,lineHeight:ae(a),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:e.calc(o).sub(a).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(o).div(2).equal(),insetInlineStart:0,margin:0,padding:`${ae(e.calc(o).add(e.paddingXS).equal())} 0 ${ae(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(o).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(a).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(o).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},bIe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},yIe=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:a,colorTextDescription:o}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${ae(e.marginXS)}`,fontSize:r,lineHeight:ae(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:ae(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:o,fontSize:a},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:ae(n),transform:"none"}}}}},xIe=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:ae(r)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${ae(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${ae(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${ae(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${ae(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:ae(n)}}}}},SIe="wait",CIe="process",wIe="finish",EIe="error",Rv=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,o=`${e}DescriptionColor`,i=`${e}TailColor`,s=`${e}IconBgColor`,c=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[s],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[a],"&::after":{backgroundColor:t[i]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[o]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[i]}}},IIe=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,a=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[a]:Object.assign({},Xi(e))}},[`${a}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[a]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:ae(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${ae(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:ae(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},Rv(SIe,e)),Rv(CIe,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),Rv(wIe,e)),Rv(EIe,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},_Ie=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},TIe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),IIe(e)),_Ie(e)),dIe(e)),yIe(e)),xIe(e)),fIe(e)),gIe(e)),vIe(e)),mIe(e)),bIe(e)),hIe(e)),pIe(e))}},RIe=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),OIe=Nn("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:a,colorPrimary:o,colorTextDescription:i,colorTextQuaternary:s,colorError:c,colorBorderSecondary:u,colorSplit:f}=e,g=fn(e,{processIconColor:r,processTitleColor:a,processDescriptionColor:a,processIconBgColor:o,processIconBorderColor:o,processDotColor:o,processTailColor:f,waitTitleColor:i,waitDescriptionColor:i,waitTailColor:f,waitDotColor:t,finishIconColor:o,finishTitleColor:a,finishDescriptionColor:i,finishTailColor:o,finishDotColor:o,errorIconColor:r,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:f,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:o,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[TIe(g)]},RIe);function $Ie(e){return e.filter(t=>t)}function NIe(e,t){if(e)return e;const n=aa(t).map(r=>{if(l.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return $Ie(n)}var AIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{percent:t,size:n,className:r,rootClassName:a,direction:o,items:i,responsive:s=!0,current:c=0,children:u,style:f}=e,g=AIe(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:m}=Am(s),{getPrefixCls:h,direction:y,className:x,style:b}=ia("steps"),C=l.useMemo(()=>s&&m?"vertical":o,[m,o]),S=da(n),w=h("steps",e.prefixCls),[I,E,_]=OIe(w),R=e.type==="inline",N=h("",e.iconPrefix),O=NIe(i,u),$=R?void 0:t,A=Object.assign(Object.assign({},b),f),B=ce(x,{[`${w}-rtl`]:y==="rtl",[`${w}-with-progress`]:$!==void 0},r,a,E,_),j={finish:l.createElement(Pf,{className:`${w}-finish-icon`}),error:l.createElement(Ha,{className:`${w}-error-icon`})},F=k=>{let{node:M,status:L}=k;if(L==="process"&&$!==void 0){const H=S==="small"?32:40;return l.createElement("div",{className:`${w}-progress-icon`},l.createElement(Dy,{type:"circle",percent:$,size:H,strokeWidth:4,format:()=>null}),M)}return M},D=(k,M)=>k.description?l.createElement(nn,{title:k.description},M):M;return I(l.createElement(HN,Object.assign({icons:j},g,{style:A,current:c,size:S,items:O,itemRender:R?D:void 0,stepIcon:F,direction:C,prefixCls:w,iconPrefix:N,className:B})))};ll.Step=HN.Step;var kIe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Hq=l.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,o=e.className,i=e.checked,s=e.defaultChecked,c=e.disabled,u=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,m=e.onClick,h=e.onChange,y=e.onKeyDown,x=Bt(e,kIe),b=Vn(!1,{value:i,defaultValue:s}),C=ye(b,2),S=C[0],w=C[1];function I(N,O){var $=S;return c||($=N,w($),h==null||h($,O)),$}function E(N){N.which===pt.LEFT?I(!1,N):N.which===pt.RIGHT&&I(!0,N),y==null||y(N)}function _(N){var O=I(!S,N);m==null||m(O,N)}var R=ce(a,o,(n={},re(n,"".concat(a,"-checked"),S),re(n,"".concat(a,"-disabled"),c),n));return l.createElement("button",Ie({},x,{type:"button",role:"switch","aria-checked":S,disabled:c,className:R,ref:t,onKeyDown:E,onClick:_}),u,l.createElement("span",{className:"".concat(a,"-inner")},l.createElement("span",{className:"".concat(a,"-inner-checked")},f),l.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});Hq.displayName="Switch";const PIe=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:o,innerMaxMarginSM:i,handleSizeSM:s,calc:c}=e,u=`${t}-inner`,f=ae(c(s).add(c(r).mul(2)).equal()),g=ae(c(i).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:ae(n),[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${u}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${ae(c(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},DIe=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},MIe=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:o,calc:i}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i(o).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${ae(i(o).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},LIe=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:o,handleSize:i,calc:s}=e,c=`${t}-inner`,u=ae(s(i).add(s(r).mul(2)).equal()),f=ae(s(o).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${f})`,marginInlineEnd:`calc(100% - ${u} + ${f})`},[`${c}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${f})`,marginInlineEnd:`calc(-100% + ${u} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},jIe=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Dn(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:ae(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Po(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},FIe=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,o=t*n,i=r/2,s=2,c=o-s*2,u=i-s*2;return{trackHeight:o,trackHeightSM:i,trackMinWidth:c*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:a,handleSize:c,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new In("#00230b").setA(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},BIe=Nn("Switch",e=>{const t=fn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[jIe(t),LIe(t),MIe(t),DIe(t),PIe(t)]},FIe);var zIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,size:r,disabled:a,loading:o,className:i,rootClassName:s,style:c,checked:u,value:f,defaultChecked:g,defaultValue:m,onChange:h}=e,y=zIe(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[x,b]=Vn(!1,{value:u??f,defaultValue:g??m}),{getPrefixCls:C,direction:S,switch:w}=l.useContext(Wt),I=l.useContext(za),E=(a??I)||o,_=C("switch",n),R=l.createElement("div",{className:`${_}-handle`},o&&l.createElement(_i,{className:`${_}-loading-icon`})),[N,O,$]=BIe(_),A=da(r),B=ce(w==null?void 0:w.className,{[`${_}-small`]:A==="small",[`${_}-loading`]:o,[`${_}-rtl`]:S==="rtl"},i,s,O,$),j=Object.assign(Object.assign({},w==null?void 0:w.style),c),F=function(){b(arguments.length<=0?void 0:arguments[0]),h==null||h.apply(void 0,arguments)};return N(l.createElement(Sm,{component:"Switch"},l.createElement(Hq,Object.assign({},y,{checked:x,onChange:F,prefixCls:_,className:B,style:j,disabled:E,ref:t,loadingIcon:R}))))}),To=HIe;To.__ANT_SWITCH=!0;var Gs={},Um="rc-table-internal-hook";function UN(e){var t=l.createContext(void 0),n=function(a){var o=a.value,i=a.children,s=l.useRef(o);s.current=o;var c=l.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=ye(c,1),f=u[0];return Rn(function(){Ka.unstable_batchedUpdates(function(){f.listeners.forEach(function(g){g(o)})})},[o]),l.createElement(t.Provider,{value:f},i)};return{Context:t,Provider:n,defaultValue:e}}function Ja(e,t){var n=En(typeof t=="function"?t:function(g){if(t===void 0)return g;if(!Array.isArray(t))return g[t];var m={};return t.forEach(function(h){m[h]=g[h]}),m}),r=l.useContext(e==null?void 0:e.Context),a=r||{},o=a.listeners,i=a.getValue,s=l.useRef();s.current=n(r?i():e==null?void 0:e.defaultValue);var c=l.useState({}),u=ye(c,2),f=u[1];return Rn(function(){if(!r)return;function g(m){var h=n(m);Ei(s.current,h,!0)||f({})}return o.add(g),function(){o.delete(g)}},[r]),s.current}function UIe(){var e=l.createContext(null);function t(){return l.useContext(e)}function n(a,o){var i=Ki(a),s=function(u,f){var g=i?{ref:f}:{},m=l.useRef(0),h=l.useRef(u),y=t();return y!==null?l.createElement(a,Ie({},u,g)):((!o||o(h.current,u))&&(m.current+=1),h.current=u,l.createElement(e.Provider,{value:m.current},l.createElement(a,Ie({},u,g))))};return i?l.forwardRef(s):s}function r(a,o){var i=Ki(a),s=function(u,f){var g=i?{ref:f}:{};return t(),l.createElement(a,Ie({},u,g))};return i?l.memo(l.forwardRef(s),o):l.memo(s,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var VN=UIe(),Uq=VN.makeImmutable,zf=VN.responseImmutable,VIe=VN.useImmutableMark,xo=UN(),Vq=l.createContext({renderWithProps:!1}),WIe="RC_TABLE_KEY";function GIe(e){return e==null?[]:Array.isArray(e)?e:[e]}function jy(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},o=a.key,i=a.dataIndex,s=o||GIe(i).join("-")||WIe;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function vO(e){return e!=null}function qIe(e){return typeof e=="number"&&!Number.isNaN(e)}function KIe(e){return e&&Pt(e)==="object"&&!Array.isArray(e)&&!l.isValidElement(e)}function YIe(e,t,n,r,a,o){var i=l.useContext(Vq),s=VIe(),c=tl(function(){if(vO(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],f=bo(e,u),g=f,m=void 0;if(a){var h=a(f,e,n);KIe(h)?(g=h.children,m=h.props,i.renderWithProps=!0):g=h}return[g,m]},[s,e,r,t,a,n],function(u,f){if(o){var g=ye(u,2),m=g[1],h=ye(f,2),y=h[1];return o(y,m)}return i.renderWithProps?!0:!Ei(u,f,!0)});return c}function XIe(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function ZIe(e,t){return Ja(xo,function(n){var r=XIe(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var JIe=function(t){var n=t.ellipsis,r=t.rowType,a=t.children,o,i=n===!0?{showTitle:!0}:n;return i&&(i.showTitle||r==="header")&&(typeof a=="string"||typeof a=="number"?o=a.toString():l.isValidElement(a)&&typeof a.props.children=="string"&&(o=a.props.children)),o};function QIe(e){var t,n,r,a,o,i,s,c,u=e.component,f=e.children,g=e.ellipsis,m=e.scope,h=e.prefixCls,y=e.className,x=e.align,b=e.record,C=e.render,S=e.dataIndex,w=e.renderIndex,I=e.shouldCellUpdate,E=e.index,_=e.rowType,R=e.colSpan,N=e.rowSpan,O=e.fixLeft,$=e.fixRight,A=e.firstFixLeft,B=e.lastFixLeft,j=e.firstFixRight,F=e.lastFixRight,D=e.appendNode,k=e.additionalProps,M=k===void 0?{}:k,L=e.isSticky,H="".concat(h,"-cell"),U=Ja(xo,["supportSticky","allColumnsFixedLeft","rowHoverable"]),z=U.supportSticky,W=U.allColumnsFixedLeft,q=U.rowHoverable,K=YIe(b,S,w,f,C,I),G=ye(K,2),X=G[0],Z=G[1],J={},ne=typeof O=="number"&&z,Q=typeof $=="number"&&z;ne&&(J.position="sticky",J.left=O),Q&&(J.position="sticky",J.right=$);var ee=(t=(n=(r=Z==null?void 0:Z.colSpan)!==null&&r!==void 0?r:M.colSpan)!==null&&n!==void 0?n:R)!==null&&t!==void 0?t:1,te=(a=(o=(i=Z==null?void 0:Z.rowSpan)!==null&&i!==void 0?i:M.rowSpan)!==null&&o!==void 0?o:N)!==null&&a!==void 0?a:1,oe=ZIe(E,te),le=ye(oe,2),fe=le[0],ue=le[1],we=En(function(Se){var _e;b&&ue(E,E+te-1),M==null||(_e=M.onMouseEnter)===null||_e===void 0||_e.call(M,Se)}),pe=En(function(Se){var _e;b&&ue(-1,-1),M==null||(_e=M.onMouseLeave)===null||_e===void 0||_e.call(M,Se)});if(ee===0||te===0)return null;var ve=(s=M.title)!==null&&s!==void 0?s:JIe({rowType:_,ellipsis:g,children:X}),Ce=ce(H,y,(c={},re(re(re(re(re(re(re(re(re(re(c,"".concat(H,"-fix-left"),ne&&z),"".concat(H,"-fix-left-first"),A&&z),"".concat(H,"-fix-left-last"),B&&z),"".concat(H,"-fix-left-all"),B&&W&&z),"".concat(H,"-fix-right"),Q&&z),"".concat(H,"-fix-right-first"),j&&z),"".concat(H,"-fix-right-last"),F&&z),"".concat(H,"-ellipsis"),g),"".concat(H,"-with-append"),D),"".concat(H,"-fix-sticky"),(ne||Q)&&L&&z),re(c,"".concat(H,"-row-hover"),!Z&&fe)),M.className,Z==null?void 0:Z.className),me={};x&&(me.textAlign=x);var ie=se(se(se(se({},Z==null?void 0:Z.style),J),me),M.style),he=X;return Pt(he)==="object"&&!Array.isArray(he)&&!l.isValidElement(he)&&(he=null),g&&(B||j)&&(he=l.createElement("span",{className:"".concat(H,"-content")},he)),l.createElement(u,Ie({},Z,M,{className:Ce,style:ie,title:ve,scope:m,onMouseEnter:q?we:void 0,onMouseLeave:q?pe:void 0,colSpan:ee!==1?ee:null,rowSpan:te!==1?te:null}),D,he)}const Hf=l.memo(QIe);function WN(e,t,n,r,a){var o=n[e]||{},i=n[t]||{},s,c;o.fixed==="left"?s=r.left[a==="rtl"?t:e]:i.fixed==="right"&&(c=r.right[a==="rtl"?e:t]);var u=!1,f=!1,g=!1,m=!1,h=n[t+1],y=n[e-1],x=h&&!h.fixed||y&&!y.fixed||n.every(function(I){return I.fixed==="left"});if(a==="rtl"){if(s!==void 0){var b=y&&y.fixed==="left";m=!b&&x}else if(c!==void 0){var C=h&&h.fixed==="right";g=!C&&x}}else if(s!==void 0){var S=h&&h.fixed==="left";u=!S&&x}else if(c!==void 0){var w=y&&y.fixed==="right";f=!w&&x}return{fixLeft:s,fixRight:c,lastFixLeft:u,firstFixRight:f,lastFixRight:g,firstFixLeft:m,isSticky:r.isSticky}}var Wq=l.createContext({});function e_e(e){var t=e.className,n=e.index,r=e.children,a=e.colSpan,o=a===void 0?1:a,i=e.rowSpan,s=e.align,c=Ja(xo,["prefixCls","direction"]),u=c.prefixCls,f=c.direction,g=l.useContext(Wq),m=g.scrollColumnIndex,h=g.stickyOffsets,y=g.flattenColumns,x=n+o-1,b=x+1===m?o+1:o,C=WN(n,n+b-1,y,h,f);return l.createElement(Hf,Ie({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:b,rowSpan:i,render:function(){return r}},C))}var t_e=["children"];function n_e(e){var t=e.children,n=Bt(e,t_e);return l.createElement("tr",n,t)}function Fy(e){var t=e.children;return t}Fy.Row=n_e;Fy.Cell=e_e;function r_e(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=Ja(xo,"prefixCls"),o=r.length-1,i=r[o],s=l.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:i!=null&&i.scrollbar?o:null}},[i,r,o,n]);return l.createElement(Wq.Provider,{value:s},l.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const Ov=zf(r_e);var Gq=Fy;function a_e(e){return null}function o_e(e){return null}function qq(e,t,n,r,a,o,i){e.push({record:t,indent:n,index:i});var s=o(t),c=a==null?void 0:a.has(s);if(t&&Array.isArray(t[r])&&c)for(var u=0;u1?A-1:0),j=1;j=1)),style:se(se({},n),C==null?void 0:C.style)}),y.map(function(O,$){var A=O.render,B=O.dataIndex,j=O.className,F=Jq(m,O,$,c,a),D=F.key,k=F.fixedInfo,M=F.appendCellNode,L=F.additionalCellProps;return l.createElement(Hf,Ie({className:j,ellipsis:O.ellipsis,align:O.align,scope:O.rowScope,component:O.rowScope?g:f,prefixCls:h,key:D,record:r,index:a,renderIndex:o,dataIndex:B,render:A,shouldCellUpdate:O.shouldCellUpdate},k,{appendNode:M,additionalProps:L}))})),R;if(w&&(I.current||S)){var N=b(r,a,c+1,S);R=l.createElement(Xq,{expanded:S,className:ce("".concat(h,"-expanded-row"),"".concat(h,"-expanded-row-level-").concat(c+1),E),prefixCls:h,component:u,cellComponent:f,colSpan:y.length,isEmpty:!1},N)}return l.createElement(l.Fragment,null,_,R)}const c_e=zf(l_e);function u_e(e){var t=e.columnKey,n=e.onColumnResize,r=l.useRef();return l.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),l.createElement(Xa,{data:t},l.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function d_e(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return l.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},l.createElement(Xa.Collection,{onBatchResize:function(o){o.forEach(function(i){var s=i.data,c=i.size;r(s,c.offsetWidth)})}},n.map(function(a){return l.createElement(u_e,{key:a,columnKey:a,onColumnResize:r})})))}function f_e(e){var t=e.data,n=e.measureColumnWidth,r=Ja(xo,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=r.prefixCls,o=r.getComponent,i=r.onColumnResize,s=r.flattenColumns,c=r.getRowKey,u=r.expandedKeys,f=r.childrenColumnName,g=r.emptyNode,m=Kq(t,f,u,c),h=l.useRef({renderWithProps:!1}),y=o(["body","wrapper"],"tbody"),x=o(["body","row"],"tr"),b=o(["body","cell"],"td"),C=o(["body","cell"],"th"),S;t.length?S=m.map(function(I,E){var _=I.record,R=I.indent,N=I.index,O=c(_,E);return l.createElement(c_e,{key:O,rowKey:O,record:_,index:E,renderIndex:N,rowComponent:x,cellComponent:b,scopeCellComponent:C,indent:R})}):S=l.createElement(Xq,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:x,cellComponent:b,colSpan:s.length,isEmpty:!0},g);var w=jy(s);return l.createElement(Vq.Provider,{value:h.current},l.createElement(y,{className:"".concat(a,"-tbody")},n&&l.createElement(d_e,{prefixCls:a,columnsKey:w,onColumnResize:i}),S))}const p_e=zf(f_e);var g_e=["expandable"],vg="RC_TABLE_INTERNAL_COL_DEFINE";function m_e(e){var t=e.expandable,n=Bt(e,g_e),r;return"expandable"in e?r=se(se({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var h_e=["columnType"];function Qq(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,a=Ja(xo,["tableLayout"]),o=a.tableLayout,i=[],s=r||n.length,c=!1,u=s-1;u>=0;u-=1){var f=t[u],g=n&&n[u],m=void 0,h=void 0;if(g&&(m=g[vg],o==="auto"&&(h=g.minWidth)),f||h||m||c){var y=m||{};y.columnType;var x=Bt(y,h_e);i.unshift(l.createElement("col",Ie({key:u,style:{width:f,minWidth:h}},x))),c=!0}}return l.createElement("colgroup",null,i)}var v_e=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function b_e(e,t){return l.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:b.ellipsis,align:b.align,component:i,prefixCls:f,key:h[x]},C,{additionalProps:S,rowType:"header"}))}))};function S_e(e){var t=[];function n(i,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[c]=t[c]||[];var u=s,f=i.filter(Boolean).map(function(g){var m={key:g.key,className:g.className||"",children:g.title,column:g,colStart:u},h=1,y=g.children;return y&&y.length>0&&(h=n(y,u,c+1).reduce(function(x,b){return x+b},0),m.hasSubColumns=!0),"colSpan"in g&&(h=g.colSpan),"rowSpan"in g&&(m.rowSpan=g.rowSpan),m.colSpan=h,m.colEnd=m.colStart+h-1,t[c].push(m),u+=h,h});return f}n(e,0);for(var r=t.length,a=function(s){t[s].forEach(function(c){!("rowSpan"in c)&&!c.hasSubColumns&&(c.rowSpan=r-s)})},o=0;o1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function w_e(e,t,n){return l.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(m){var h=AL(t,m.width);h?r+=h:a+=1});var o=Math.max(t,n),i=Math.max(o-r,a),s=a,c=i/a,u=0,f=e.map(function(m){var h=se({},m),y=AL(t,h.width);if(y)h.width=y;else{var x=Math.floor(c);h.width=s===1?i:x,i-=x,s-=1}return u+=h.width,h});if(u0?se(se({},t),{},{children:eK(n)}):t})}function bO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&Pt(n)==="object"}).reduce(function(n,r,a){var o=r.fixed,i=o===!0?"left":o,s="".concat(t,"-").concat(a),c=r.children;return c&&c.length>0?[].concat(Ze(n),Ze(bO(c,s).map(function(u){return se({fixed:i},u)}))):[].concat(Ze(n),[se(se({key:s},r),{},{fixed:i})])},[])}function __e(e){return e.map(function(t){var n=t.fixed,r=Bt(t,I_e),a=n;return n==="left"?a="right":n==="right"&&(a="left"),se({fixed:a},r)})}function T_e(e,t){var n=e.prefixCls,r=e.columns,a=e.children,o=e.expandable,i=e.expandedKeys,s=e.columnTitle,c=e.getRowKey,u=e.onTriggerExpand,f=e.expandIcon,g=e.rowExpandable,m=e.expandIconColumnIndex,h=e.direction,y=e.expandRowByClick,x=e.columnWidth,b=e.fixed,C=e.scrollWidth,S=e.clientWidth,w=l.useMemo(function(){var B=r||GN(a)||[];return eK(B.slice())},[r,a]),I=l.useMemo(function(){if(o){var B=w.slice();if(!B.includes(Gs)){var j=m||0;j>=0&&(j||b==="left"||!b)&&B.splice(j,0,Gs),b==="right"&&B.splice(w.length,0,Gs)}var F=B.indexOf(Gs);B=B.filter(function(L,H){return L!==Gs||H===F});var D=w[F],k;b?k=b:k=D?D.fixed:null;var M=re(re(re(re(re(re({},vg,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",s),"fixed",k),"className","".concat(n,"-row-expand-icon-cell")),"width",x),"render",function(H,U,z){var W=c(U,z),q=i.has(W),K=g?g(U):!0,G=f({prefixCls:n,expanded:q,expandable:K,record:U,onExpand:u});return y?l.createElement("span",{onClick:function(Z){return Z.stopPropagation()}},G):G});return B.map(function(L){return L===Gs?M:L})}return w.filter(function(L){return L!==Gs})},[o,w,c,i,f,h]),E=l.useMemo(function(){var B=I;return t&&(B=t(B)),B.length||(B=[{render:function(){return null}}]),B},[t,I,h]),_=l.useMemo(function(){return h==="rtl"?__e(bO(E)):bO(E)},[E,h,C]),R=l.useMemo(function(){for(var B=-1,j=_.length-1;j>=0;j-=1){var F=_[j].fixed;if(F==="left"||F===!0){B=j;break}}if(B>=0)for(var D=0;D<=B;D+=1){var k=_[D].fixed;if(k!=="left"&&k!==!0)return!0}var M=_.findIndex(function(U){var z=U.fixed;return z==="right"});if(M>=0)for(var L=M;L<_.length;L+=1){var H=_[L].fixed;if(H!=="right")return!0}return!1},[_]),N=w_e(_,C,S),O=ye(N,2),$=O[0],A=O[1];return[E,$,A,R]}function R_e(e,t,n){var r=m_e(e),a=r.expandIcon,o=r.expandedRowKeys,i=r.defaultExpandedRowKeys,s=r.defaultExpandAllRows,c=r.expandedRowRender,u=r.onExpand,f=r.onExpandedRowsChange,g=r.childrenColumnName,m=a||i_e,h=g||"children",y=l.useMemo(function(){return c?"row":e.expandable&&e.internalHooks===Um&&e.expandable.__PARENT_RENDER_ICON__||t.some(function(E){return E&&Pt(E)==="object"&&E[h]})?"nest":!1},[!!c,t]),x=l.useState(function(){return i||(s?s_e(t,n,h):[])}),b=ye(x,2),C=b[0],S=b[1],w=l.useMemo(function(){return new Set(o||C||[])},[o,C]),I=l.useCallback(function(E){var _=n(E,t.indexOf(E)),R,N=w.has(_);N?(w.delete(_),R=Ze(w)):R=[].concat(Ze(w),[_]),S(R),u&&u(!N,E),f&&f(R)},[n,w,t,u,f]);return[r,y,w,m,h,I]}function O_e(e,t,n){var r=e.map(function(a,o){return WN(o,o,e,t,n)});return tl(function(){return r},[r],function(a,o){return!Ei(a,o)})}function tK(e){var t=l.useRef(e),n=l.useState({}),r=ye(n,2),a=r[1],o=l.useRef(null),i=l.useRef([]);function s(c){i.current.push(c);var u=Promise.resolve();o.current=u,u.then(function(){if(o.current===u){var f=i.current,g=t.current;i.current=[],f.forEach(function(m){t.current=m(t.current)}),o.current=null,g!==t.current&&a({})}})}return l.useEffect(function(){return function(){o.current=null}},[]),[t.current,s]}function $_e(e){var t=l.useRef(null),n=l.useRef();function r(){window.clearTimeout(n.current)}function a(i){t.current=i,r(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)}function o(){return t.current}return l.useEffect(function(){return r},[]),[a,o]}function N_e(){var e=l.useState(-1),t=ye(e,2),n=t[0],r=t[1],a=l.useState(-1),o=ye(a,2),i=o[0],s=o[1],c=l.useCallback(function(u,f){r(u),s(f)},[]);return[n,i,c]}var kL=Ba()?window:null;function A_e(e,t){var n=Pt(e)==="object"?e:{},r=n.offsetHeader,a=r===void 0?0:r,o=n.offsetSummary,i=o===void 0?0:o,s=n.offsetScroll,c=s===void 0?0:s,u=n.getContainer,f=u===void 0?function(){return kL}:u,g=f()||kL,m=!!e;return l.useMemo(function(){return{isSticky:m,stickyClassName:m?"".concat(t,"-sticky-holder"):"",offsetHeader:a,offsetSummary:i,offsetScroll:c,container:g}},[m,c,a,i,t,g])}function k_e(e,t,n){var r=l.useMemo(function(){var a=t.length,o=function(u,f,g){for(var m=[],h=0,y=u;y!==f;y+=g)m.push(h),t[y].fixed&&(h+=e[y]||0);return m},i=o(0,a,1),s=o(a-1,-1,-1).reverse();return n==="rtl"?{left:s,right:i}:{left:i,right:s}},[e,t,n]);return r}function PL(e){var t=e.className,n=e.children;return l.createElement("div",{className:t},n)}function DL(e){var t=hm(e),n=t.getBoundingClientRect(),r=document.documentElement;return{left:n.left+(window.pageXOffset||r.scrollLeft)-(r.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||r.scrollTop)-(r.clientTop||document.body.clientTop||0)}}var P_e=function(t,n){var r,a,o=t.scrollBodyRef,i=t.onScroll,s=t.offsetScroll,c=t.container,u=t.direction,f=Ja(xo,"prefixCls"),g=((r=o.current)===null||r===void 0?void 0:r.scrollWidth)||0,m=((a=o.current)===null||a===void 0?void 0:a.clientWidth)||0,h=g&&m*(m/g),y=l.useRef(),x=tK({scrollLeft:0,isHiddenScrollBar:!0}),b=ye(x,2),C=b[0],S=b[1],w=l.useRef({delta:0,x:0}),I=l.useState(!1),E=ye(I,2),_=E[0],R=E[1],N=l.useRef(null);l.useEffect(function(){return function(){mn.cancel(N.current)}},[]);var O=function(){R(!1)},$=function(D){D.persist(),w.current.delta=D.pageX-C.scrollLeft,w.current.x=0,R(!0),D.preventDefault()},A=function(D){var k,M=D||((k=window)===null||k===void 0?void 0:k.event),L=M.buttons;if(!_||L===0){_&&R(!1);return}var H=w.current.x+D.pageX-w.current.x-w.current.delta,U=u==="rtl";H=Math.max(U?h-m:0,Math.min(U?0:m-h,H));var z=!U||Math.abs(H)+Math.abs(h)=M-s?S(function(L){return se(se({},L),{},{isHiddenScrollBar:!0})}):S(function(L){return se(se({},L),{},{isHiddenScrollBar:!1})})}})},j=function(D){S(function(k){return se(se({},k),{},{scrollLeft:D/g*m||0})})};return l.useImperativeHandle(n,function(){return{setScrollLeft:j,checkScrollBarVisible:B}}),l.useEffect(function(){var F=Vl(document.body,"mouseup",O,!1),D=Vl(document.body,"mousemove",A,!1);return B(),function(){F.remove(),D.remove()}},[h,_]),l.useEffect(function(){if(o.current){for(var F=[],D=hm(o.current);D;)F.push(D),D=D.parentElement;return F.forEach(function(k){return k.addEventListener("scroll",B,!1)}),window.addEventListener("resize",B,!1),window.addEventListener("scroll",B,!1),c.addEventListener("scroll",B,!1),function(){F.forEach(function(k){return k.removeEventListener("scroll",B)}),window.removeEventListener("resize",B),window.removeEventListener("scroll",B),c.removeEventListener("scroll",B)}}},[c]),l.useEffect(function(){C.isHiddenScrollBar||S(function(F){var D=o.current;return D?se(se({},F),{},{scrollLeft:D.scrollLeft/D.scrollWidth*D.clientWidth}):F})},[C.isHiddenScrollBar]),g<=m||!h||C.isHiddenScrollBar?null:l.createElement("div",{style:{height:aM(),width:m,bottom:s},className:"".concat(f,"-sticky-scroll")},l.createElement("div",{onMouseDown:$,ref:y,className:ce("".concat(f,"-sticky-scroll-bar"),re({},"".concat(f,"-sticky-scroll-bar-active"),_)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))};const D_e=l.forwardRef(P_e);var nK="rc-table",M_e=[],L_e={};function j_e(){return"No Data"}function F_e(e,t){var n=se({rowKey:"key",prefixCls:nK,emptyText:j_e},e),r=n.prefixCls,a=n.className,o=n.rowClassName,i=n.style,s=n.data,c=n.rowKey,u=n.scroll,f=n.tableLayout,g=n.direction,m=n.title,h=n.footer,y=n.summary,x=n.caption,b=n.id,C=n.showHeader,S=n.components,w=n.emptyText,I=n.onRow,E=n.onHeaderRow,_=n.onScroll,R=n.internalHooks,N=n.transformColumns,O=n.internalRefs,$=n.tailor,A=n.getContainerWidth,B=n.sticky,j=n.rowHoverable,F=j===void 0?!0:j,D=s||M_e,k=!!D.length,M=R===Um,L=l.useCallback(function(kt,wt){return bo(S,kt)||wt},[S]),H=l.useMemo(function(){return typeof c=="function"?c:function(kt){var wt=kt&&kt[c];return wt}},[c]),U=L(["body"]),z=N_e(),W=ye(z,3),q=W[0],K=W[1],G=W[2],X=R_e(n,D,H),Z=ye(X,6),J=Z[0],ne=Z[1],Q=Z[2],ee=Z[3],te=Z[4],oe=Z[5],le=u==null?void 0:u.x,fe=l.useState(0),ue=ye(fe,2),we=ue[0],pe=ue[1],ve=T_e(se(se(se({},n),J),{},{expandable:!!J.expandedRowRender,columnTitle:J.columnTitle,expandedKeys:Q,getRowKey:H,onTriggerExpand:oe,expandIcon:ee,expandIconColumnIndex:J.expandIconColumnIndex,direction:g,scrollWidth:M&&$&&typeof le=="number"?le:null,clientWidth:we}),M?N:null),Ce=ye(ve,4),me=Ce[0],ie=Ce[1],he=Ce[2],Se=Ce[3],_e=he??le,$e=l.useMemo(function(){return{columns:me,flattenColumns:ie}},[me,ie]),ze=l.useRef(),Fe=l.useRef(),je=l.useRef(),qe=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:ze.current,scrollTo:function(wt){var an;if(je.current instanceof HTMLElement){var Fn=wt.index,Bn=wt.top,br=wt.key;if(qIe(Bn)){var Vr;(Vr=je.current)===null||Vr===void 0||Vr.scrollTo({top:Bn})}else{var Lr,Wr=br??H(D[Fn]);(Lr=je.current.querySelector('[data-row-key="'.concat(Wr,'"]')))===null||Lr===void 0||Lr.scrollIntoView()}}else(an=je.current)!==null&&an!==void 0&&an.scrollTo&&je.current.scrollTo(wt)}}});var Ue=l.useRef(),Ne=l.useState(!1),Ye=ye(Ne,2),Re=Ye[0],Ae=Ye[1],Le=l.useState(!1),Te=ye(Le,2),Ve=Te[0],Je=Te[1],Qe=tK(new Map),ut=ye(Qe,2),xe=ut[0],be=ut[1],Ee=jy(ie),ke=Ee.map(function(kt){return xe.get(kt)}),et=l.useMemo(function(){return ke},[ke.join("_")]),Be=k_e(et,ie,g),Ke=u&&vO(u.y),Ge=u&&vO(_e)||!!J.fixed,nt=Ge&&ie.some(function(kt){var wt=kt.fixed;return wt}),ht=l.useRef(),tt=A_e(B,r),ct=tt.isSticky,bt=tt.offsetHeader,St=tt.offsetSummary,yt=tt.offsetScroll,Dt=tt.stickyClassName,Rt=tt.container,_t=l.useMemo(function(){return y==null?void 0:y(D)},[y,D]),jt=(Ke||ct)&&l.isValidElement(_t)&&_t.type===Fy&&_t.props.fixed,zt,en,gn;Ke&&(en={overflowY:k?"scroll":"auto",maxHeight:u.y}),Ge&&(zt={overflowX:"auto"},Ke||(en={overflowY:"hidden"}),gn={width:_e===!0?"auto":_e,minWidth:"100%"});var on=l.useCallback(function(kt,wt){$f(ze.current)&&be(function(an){if(an.get(kt)!==wt){var Fn=new Map(an);return Fn.set(kt,wt),Fn}return an})},[]),Ft=$_e(),qt=ye(Ft,2),Jt=qt[0],st=qt[1];function Ct(kt,wt){wt&&(typeof wt=="function"?wt(kt):wt.scrollLeft!==kt&&(wt.scrollLeft=kt,wt.scrollLeft!==kt&&setTimeout(function(){wt.scrollLeft=kt},0)))}var ot=En(function(kt){var wt=kt.currentTarget,an=kt.scrollLeft,Fn=g==="rtl",Bn=typeof an=="number"?an:wt.scrollLeft,br=wt||L_e;if(!st()||st()===br){var Vr;Jt(br),Ct(Bn,Fe.current),Ct(Bn,je.current),Ct(Bn,Ue.current),Ct(Bn,(Vr=ht.current)===null||Vr===void 0?void 0:Vr.setScrollLeft)}var Lr=wt||Fe.current;if(Lr){var Wr=M&&$&&typeof _e=="number"?_e:Lr.scrollWidth,Ra=Lr.clientWidth;if(Wr===Ra){Ae(!1),Je(!1);return}Fn?(Ae(-Bn0)):(Ae(Bn>0),Je(Bn1?b-F:0,k=se(se(se({},N),u),{},{flex:"0 0 ".concat(F,"px"),width:"".concat(F,"px"),marginRight:D,pointerEvents:"auto"}),M=l.useMemo(function(){return g?B<=1:$===0||B===0||B>1},[B,$,g]);M?k.visibility="hidden":g&&(k.height=m==null?void 0:m(B));var L=M?function(){return null}:h,H={};return(B===0||$===0)&&(H.rowSpan=1,H.colSpan=1),l.createElement(Hf,Ie({className:ce(x,f),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:i,prefixCls:t.prefixCls,key:I,record:c,index:o,renderIndex:s,dataIndex:y,render:L,shouldCellUpdate:n.shouldCellUpdate},E,{appendNode:_,additionalProps:se(se({},R),{},{style:k},H)}))}var U_e=["data","index","className","rowKey","style","extra","getHeight"],V_e=l.forwardRef(function(e,t){var n=e.data,r=e.index,a=e.className,o=e.rowKey,i=e.style,s=e.extra,c=e.getHeight,u=Bt(e,U_e),f=n.record,g=n.indent,m=n.index,h=Ja(xo,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),y=h.scrollX,x=h.flattenColumns,b=h.prefixCls,C=h.fixColumn,S=h.componentWidth,w=Ja(qN,["getComponent"]),I=w.getComponent,E=Yq(f,o,r,g),_=I(["body","row"],"div"),R=I(["body","cell"],"div"),N=E.rowSupportExpand,O=E.expanded,$=E.rowProps,A=E.expandedRowRender,B=E.expandedRowClassName,j;if(N&&O){var F=A(f,r,g+1,O),D=Zq(B,f,r,g),k={};C&&(k={style:re({},"--virtual-width","".concat(S,"px"))});var M="".concat(b,"-expanded-row-cell");j=l.createElement(_,{className:ce("".concat(b,"-expanded-row"),"".concat(b,"-expanded-row-level-").concat(g+1),D)},l.createElement(Hf,{component:R,prefixCls:b,className:ce(M,re({},"".concat(M,"-fixed"),C)),additionalProps:k},F))}var L=se(se({},i),{},{width:y});s&&(L.position="absolute",L.pointerEvents="none");var H=l.createElement(_,Ie({},$,u,{"data-row-key":o,ref:N?null:t,className:ce(a,"".concat(b,"-row"),$==null?void 0:$.className,re({},"".concat(b,"-row-extra"),s)),style:se(se({},L),$==null?void 0:$.style)}),x.map(function(U,z){return l.createElement(H_e,{key:z,component:R,rowInfo:E,column:U,colIndex:z,indent:g,index:r,renderIndex:m,record:f,inverse:s,getHeight:c})}));return N?l.createElement("div",{ref:t},H,j):H}),ML=zf(V_e),W_e=l.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=Ja(xo,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),o=a.flattenColumns,i=a.onColumnResize,s=a.getRowKey,c=a.expandedKeys,u=a.prefixCls,f=a.childrenColumnName,g=a.scrollX,m=a.direction,h=Ja(qN),y=h.sticky,x=h.scrollY,b=h.listItemHeight,C=h.getComponent,S=h.onScroll,w=l.useRef(),I=Kq(n,f,c,s),E=l.useMemo(function(){var j=0;return o.map(function(F){var D=F.width,k=F.key;return j+=D,[k,D,j]})},[o]),_=l.useMemo(function(){return E.map(function(j){return j[2]})},[E]);l.useEffect(function(){E.forEach(function(j){var F=ye(j,2),D=F[0],k=F[1];i(D,k)})},[E]),l.useImperativeHandle(t,function(){var j,F={scrollTo:function(k){var M;(M=w.current)===null||M===void 0||M.scrollTo(k)},nativeElement:(j=w.current)===null||j===void 0?void 0:j.nativeElement};return Object.defineProperty(F,"scrollLeft",{get:function(){var k;return((k=w.current)===null||k===void 0?void 0:k.getScrollInfo().x)||0},set:function(k){var M;(M=w.current)===null||M===void 0||M.scrollTo({left:k})}}),F});var R=function(F,D){var k,M=(k=I[D])===null||k===void 0?void 0:k.record,L=F.onCell;if(L){var H,U=L(M,D);return(H=U==null?void 0:U.rowSpan)!==null&&H!==void 0?H:1}return 1},N=function(F){var D=F.start,k=F.end,M=F.getSize,L=F.offsetY;if(k<0)return null;for(var H=o.filter(function(ee){return R(ee,D)===0}),U=D,z=function(te){if(H=H.filter(function(oe){return R(oe,te)===0}),!H.length)return U=te,1},W=D;W>=0&&!z(W);W-=1);for(var q=o.filter(function(ee){return R(ee,k)!==1}),K=k,G=function(te){if(q=q.filter(function(oe){return R(oe,te)!==1}),!q.length)return K=Math.max(te-1,k),1},X=k;X1})&&Z.push(te)},ne=U;ne<=K;ne+=1)J(ne);var Q=Z.map(function(ee){var te=I[ee],oe=s(te.record,ee),le=function(we){var pe=ee+we-1,ve=s(I[pe].record,pe),Ce=M(oe,ve);return Ce.bottom-Ce.top},fe=M(oe);return l.createElement(ML,{key:ee,data:te,rowKey:oe,index:ee,style:{top:-L+fe.top},extra:!0,getHeight:le})});return Q},O=l.useMemo(function(){return{columnsOffset:_}},[_]),$="".concat(u,"-tbody"),A=C(["body","wrapper"]),B={};return y&&(B.position="sticky",B.bottom=0,Pt(y)==="object"&&y.offsetScroll&&(B.bottom=y.offsetScroll)),l.createElement(aK.Provider,{value:O},l.createElement(py,{fullHeight:!1,ref:w,prefixCls:"".concat($,"-virtual"),styles:{horizontalScrollBar:B},className:$,height:x,itemHeight:b||24,data:I,itemKey:function(F){return s(F.record)},component:A,scrollWidth:g,direction:m,onVirtualScroll:function(F){var D,k=F.x;r({currentTarget:(D=w.current)===null||D===void 0?void 0:D.nativeElement,scrollLeft:k})},onScroll:S,extraRender:N},function(j,F,D){var k=s(j.record,F);return l.createElement(ML,{data:j,rowKey:k,index:F,style:D.style})}))}),G_e=zf(W_e),q_e=function(t,n){var r=n.ref,a=n.onScroll;return l.createElement(G_e,{ref:r,data:t,onScroll:a})};function K_e(e,t){var n=e.data,r=e.columns,a=e.scroll,o=e.sticky,i=e.prefixCls,s=i===void 0?nK:i,c=e.className,u=e.listItemHeight,f=e.components,g=e.onScroll,m=a||{},h=m.x,y=m.y;typeof h!="number"&&(h=1),typeof y!="number"&&(y=500);var x=En(function(S,w){return bo(f,S)||w}),b=En(g),C=l.useMemo(function(){return{sticky:o,scrollY:y,listItemHeight:u,getComponent:x,onScroll:b}},[o,y,u,x,b]);return l.createElement(qN.Provider,{value:C},l.createElement(Uf,Ie({},e,{className:ce(c,"".concat(s,"-virtual")),scroll:se(se({},a),{},{x:h}),components:se(se({},f),{},{body:n!=null&&n.length?q_e:void 0}),columns:r,internalHooks:Um,tailor:!0,ref:t})))}var Y_e=l.forwardRef(K_e);function oK(e){return Uq(Y_e,e)}oK();const X_e=e=>null,Z_e=e=>null;var KN=l.createContext(null),iK=l.createContext({}),J_e=function(t){for(var n=t.prefixCls,r=t.level,a=t.isStart,o=t.isEnd,i="".concat(n,"-indent-unit"),s=[],c=0;c=0&&n.splice(r,1),n}function Ws(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function YN(e){return e.split("-")}function nTe(e,t){var n=[],r=Oo(t,e);function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.forEach(function(i){var s=i.key,c=i.children;n.push(s),a(c)})}return a(r.children),n}function rTe(e){if(e.parent){var t=YN(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function aTe(e){var t=YN(e.pos);return Number(t[t.length-1])===0}function FL(e,t,n,r,a,o,i,s,c,u){var f,g=e.clientX,m=e.clientY,h=e.target.getBoundingClientRect(),y=h.top,x=h.height,b=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-g),C=(b-12)/r,S=c.filter(function(k){var M;return(M=s[k])===null||M===void 0||(M=M.children)===null||M===void 0?void 0:M.length}),w=Oo(s,n.eventKey);if(m-1.5?o({dragNode:j,dropNode:F,dropPosition:1})?$=1:D=!1:o({dragNode:j,dropNode:F,dropPosition:0})?$=0:o({dragNode:j,dropNode:F,dropPosition:1})?$=1:D=!1:o({dragNode:j,dropNode:F,dropPosition:1})?$=1:D=!1,{dropPosition:$,dropLevelOffset:A,dropTargetKey:w.key,dropTargetPos:w.pos,dragOverNodeKey:O,dropContainerKey:$===0?null:((f=w.parent)===null||f===void 0?void 0:f.key)||null,dropAllowed:D}}function BL(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function nC(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(Pt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return ar(!1,"`checkedKeys` is not an array or an object"),null;return t}function yO(e,t){var n=new Set;function r(a){if(!n.has(a)){var o=Oo(t,a);if(o){n.add(a);var i=o.parent,s=o.node;s.disabled||i&&r(i.key)}}}return(e||[]).forEach(function(a){r(a)}),Ze(n)}function oTe(e){const[t,n]=l.useState(null);return[l.useCallback((o,i,s)=>{const c=t??o,u=Math.min(c||0,o),f=Math.max(c||0,o),g=i.slice(u,f+1).map(y=>e(y)),m=g.some(y=>!s.has(y)),h=[];return g.forEach(y=>{m?(s.has(y)||h.push(y),s.add(y)):(s.delete(y),h.push(y))}),n(m?f:null),h},[t]),o=>{n(o)}]}const Ml={},xO="SELECT_ALL",SO="SELECT_INVERT",CO="SELECT_NONE",zL=[],sK=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat(Ze(n),Ze(sK(e,r[e]))))}),n},iTe=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:a,getCheckboxProps:o,onChange:i,onSelect:s,onSelectAll:c,onSelectInvert:u,onSelectNone:f,onSelectMultiple:g,columnWidth:m,type:h,selections:y,fixed:x,renderCell:b,hideSelectAll:C,checkStrictly:S=!0}=t||{},{prefixCls:w,data:I,pageData:E,getRecordByKey:_,getRowKey:R,expandType:N,childrenColumnName:O,locale:$,getPopupContainer:A}=e,B=fc(),[j,F]=oTe(ee=>ee),[D,k]=Vn(r||a||zL,{value:r}),M=l.useRef(new Map),L=l.useCallback(ee=>{if(n){const te=new Map;ee.forEach(oe=>{let le=_(oe);!le&&M.current.has(oe)&&(le=M.current.get(oe)),te.set(oe,le)}),M.current=te}},[_,n]);l.useEffect(()=>{L(D)},[D]);const H=l.useMemo(()=>sK(O,E),[O,E]),{keyEntities:U}=l.useMemo(()=>{if(S)return{keyEntities:null};let ee=I;if(n){const te=new Set(H.map((le,fe)=>R(le,fe))),oe=Array.from(M.current).reduce((le,fe)=>{let[ue,we]=fe;return te.has(ue)?le:le.concat(we)},[]);ee=[].concat(Ze(ee),Ze(oe))}return $y(ee,{externalGetKey:R,childrenPropName:O})},[I,R,S,O,n,H]),z=l.useMemo(()=>{const ee=new Map;return H.forEach((te,oe)=>{const le=R(te,oe),fe=(o?o(te):null)||{};ee.set(le,fe)}),ee},[H,R,o]),W=l.useCallback(ee=>{const te=R(ee);let oe;return z.has(te)?oe=z.get(R(ee)):oe=o?o(ee):void 0,!!(oe!=null&&oe.disabled)},[z,R]),[q,K]=l.useMemo(()=>{if(S)return[D||[],[]];const{checkedKeys:ee,halfCheckedKeys:te}=el(D,!0,U,W);return[ee||[],te]},[D,S,U,W]),G=l.useMemo(()=>{const ee=h==="radio"?q.slice(0,1):q;return new Set(ee)},[q,h]),X=l.useMemo(()=>h==="radio"?new Set:new Set(K),[K,h]);l.useEffect(()=>{t||k(zL)},[!!t]);const Z=l.useCallback((ee,te)=>{let oe,le;L(ee),n?(oe=ee,le=ee.map(fe=>M.current.get(fe))):(oe=[],le=[],ee.forEach(fe=>{const ue=_(fe);ue!==void 0&&(oe.push(fe),le.push(ue))})),k(oe),i==null||i(oe,le,{type:te})},[k,_,i,n]),J=l.useCallback((ee,te,oe,le)=>{if(s){const fe=oe.map(ue=>_(ue));s(_(ee),te,fe,le)}Z(oe,"single")},[s,_,Z]),ne=l.useMemo(()=>!y||C?null:(y===!0?[xO,SO,CO]:y).map(te=>te===xO?{key:"all",text:$.selectionAll,onSelect(){Z(I.map((oe,le)=>R(oe,le)).filter(oe=>{const le=z.get(oe);return!(le!=null&&le.disabled)||G.has(oe)}),"all")}}:te===SO?{key:"invert",text:$.selectInvert,onSelect(){const oe=new Set(G);E.forEach((fe,ue)=>{const we=R(fe,ue),pe=z.get(we);pe!=null&&pe.disabled||(oe.has(we)?oe.delete(we):oe.add(we))});const le=Array.from(oe);u&&(B.deprecated(!1,"onSelectInvert","onChange"),u(le)),Z(le,"invert")}}:te===CO?{key:"none",text:$.selectNone,onSelect(){f==null||f(),Z(Array.from(G).filter(oe=>{const le=z.get(oe);return le==null?void 0:le.disabled}),"none")}}:te).map(te=>Object.assign(Object.assign({},te),{onSelect:function(){for(var oe,le,fe=arguments.length,ue=new Array(fe),we=0;we{var te;if(!t)return ee.filter(qe=>qe!==Ml);let oe=Ze(ee);const le=new Set(G),fe=H.map(R).filter(qe=>!z.get(qe).disabled),ue=fe.every(qe=>le.has(qe)),we=fe.some(qe=>le.has(qe)),pe=()=>{const qe=[];ue?fe.forEach(Ne=>{le.delete(Ne),qe.push(Ne)}):fe.forEach(Ne=>{le.has(Ne)||(le.add(Ne),qe.push(Ne))});const Ue=Array.from(le);c==null||c(!ue,Ue.map(Ne=>_(Ne)),qe.map(Ne=>_(Ne))),Z(Ue,"all"),F(null)};let ve,Ce;if(h!=="radio"){let qe;if(ne){const Ae={getPopupContainer:A,items:ne.map((Le,Te)=>{const{key:Ve,text:Je,onSelect:Qe}=Le;return{key:Ve??Te,onClick:()=>{Qe==null||Qe(fe)},label:Je}})};qe=l.createElement("div",{className:`${w}-selection-extra`},l.createElement(Ay,{menu:Ae,getPopupContainer:A},l.createElement("span",null,l.createElement(my,null))))}const Ue=H.map((Ae,Le)=>{const Te=R(Ae,Le),Ve=z.get(Te)||{};return Object.assign({checked:le.has(Te)},Ve)}).filter(Ae=>{let{disabled:Le}=Ae;return Le}),Ne=!!Ue.length&&Ue.length===H.length,Ye=Ne&&Ue.every(Ae=>{let{checked:Le}=Ae;return Le}),Re=Ne&&Ue.some(Ae=>{let{checked:Le}=Ae;return Le});Ce=l.createElement(Ti,{checked:Ne?Ye:!!H.length&&ue,indeterminate:Ne?!Ye&&Re:!ue&&we,onChange:pe,disabled:H.length===0||Ne,"aria-label":qe?"Custom selection":"Select all",skipGroup:!0}),ve=!C&&l.createElement("div",{className:`${w}-selection`},Ce,qe)}let me;h==="radio"?me=(qe,Ue,Ne)=>{const Ye=R(Ue,Ne),Re=le.has(Ye),Ae=z.get(Ye);return{node:l.createElement(so,Object.assign({},Ae,{checked:Re,onClick:Le=>{var Te;Le.stopPropagation(),(Te=Ae==null?void 0:Ae.onClick)===null||Te===void 0||Te.call(Ae,Le)},onChange:Le=>{var Te;le.has(Ye)||J(Ye,!0,[Ye],Le.nativeEvent),(Te=Ae==null?void 0:Ae.onChange)===null||Te===void 0||Te.call(Ae,Le)}})),checked:Re}}:me=(qe,Ue,Ne)=>{var Ye;const Re=R(Ue,Ne),Ae=le.has(Re),Le=X.has(Re),Te=z.get(Re);let Ve;return N==="nest"?Ve=Le:Ve=(Ye=Te==null?void 0:Te.indeterminate)!==null&&Ye!==void 0?Ye:Le,{node:l.createElement(Ti,Object.assign({},Te,{indeterminate:Ve,checked:Ae,skipGroup:!0,onClick:Je=>{var Qe;Je.stopPropagation(),(Qe=Te==null?void 0:Te.onClick)===null||Qe===void 0||Qe.call(Te,Je)},onChange:Je=>{var Qe;const{nativeEvent:ut}=Je,{shiftKey:xe}=ut,be=fe.findIndex(ke=>ke===Re),Ee=q.some(ke=>fe.includes(ke));if(xe&&S&&Ee){const ke=j(be,fe,le),et=Array.from(le);g==null||g(!Ae,et.map(Be=>_(Be)),ke.map(Be=>_(Be))),Z(et,"multiple")}else{const ke=q;if(S){const et=Ae?ps(ke,Re):Ws(ke,Re);J(Re,!Ae,et,ut)}else{const et=el([].concat(Ze(ke),[Re]),!0,U,W),{checkedKeys:Be,halfCheckedKeys:Ke}=et;let Ge=Be;if(Ae){const nt=new Set(Be);nt.delete(Re),Ge=el(Array.from(nt),{halfCheckedKeys:Ke},U,W).checkedKeys}J(Re,!Ae,Ge,ut)}}F(Ae?null:be),(Qe=Te==null?void 0:Te.onChange)===null||Qe===void 0||Qe.call(Te,Je)}})),checked:Ae}};const ie=(qe,Ue,Ne)=>{const{node:Ye,checked:Re}=me(qe,Ue,Ne);return b?b(Re,Ue,Ne,Ye):Ye};if(!oe.includes(Ml))if(oe.findIndex(qe=>{var Ue;return((Ue=qe[vg])===null||Ue===void 0?void 0:Ue.columnType)==="EXPAND_COLUMN"})===0){const[qe,...Ue]=oe;oe=[qe,Ml].concat(Ze(Ue))}else oe=[Ml].concat(Ze(oe));const he=oe.indexOf(Ml);oe=oe.filter((qe,Ue)=>qe!==Ml||Ue===he);const Se=oe[he-1],_e=oe[he+1];let $e=x;$e===void 0&&((_e==null?void 0:_e.fixed)!==void 0?$e=_e.fixed:(Se==null?void 0:Se.fixed)!==void 0&&($e=Se.fixed)),$e&&Se&&((te=Se[vg])===null||te===void 0?void 0:te.columnType)==="EXPAND_COLUMN"&&Se.fixed===void 0&&(Se.fixed=$e);const ze=ce(`${w}-selection-col`,{[`${w}-selection-col-with-dropdown`]:y&&h==="checkbox"}),Fe=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(Ce):t.columnTitle:ve,je={fixed:$e,width:m,className:`${w}-selection-column`,title:Fe(),render:ie,onCell:t.onCell,[vg]:{className:ze}};return oe.map(qe=>qe===Ml?je:qe)},[R,H,t,q,G,X,m,ne,N,z,g,J,W]),G]};function sTe(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function lTe(e,t){return l.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(a,o){return n[o]?n[o]:Reflect.get(a,o)}}):sTe(r,n)})}function cTe(e){return t=>{const{prefixCls:n,onExpand:r,record:a,expanded:o,expandable:i}=t,s=`${n}-row-expand-icon`;return l.createElement("button",{type:"button",onClick:c=>{r(a,c),c.stopPropagation()},className:ce(s,{[`${s}-spaced`]:!i,[`${s}-expanded`]:i&&o,[`${s}-collapsed`]:i&&!o}),"aria-label":o?e.collapse:e.expand,"aria-expanded":o})}}function uTe(e){return(n,r)=>{const a=n.querySelector(`.${e}-container`);let o=r;if(a){const i=getComputedStyle(a),s=parseInt(i.borderLeftWidth,10),c=parseInt(i.borderRightWidth,10);o=r-s-c}return o}}const rc=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function Vf(e,t){return t?`${t}-${e}`:`${e}`}const By=(e,t)=>typeof e=="function"?e(t):e,dTe=(e,t)=>{const n=By(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function fTe(e){const t=l.useRef(e),n=Z$();return[()=>t.current,r=>{t.current=r,n()}]}var pTe=function(t){var n=t.dropPosition,r=t.dropLevelOffset,a=t.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case-1:o.top=0,o.left=-r*a;break;case 1:o.bottom=0,o.left=-r*a;break;case 0:o.bottom=0,o.left=a;break}return ge.createElement("div",{style:o})};function lK(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function gTe(e,t){var n=l.useState(!1),r=ye(n,2),a=r[0],o=r[1];Rn(function(){if(a)return e(),function(){t()}},[a]),Rn(function(){return o(!0),function(){o(!1)}},[])}var mTe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],hTe=l.forwardRef(function(e,t){var n=e.className,r=e.style,a=e.motion,o=e.motionNodes,i=e.motionType,s=e.onMotionStart,c=e.onMotionEnd,u=e.active,f=e.treeNodeRequiredProps,g=Bt(e,mTe),m=l.useState(!0),h=ye(m,2),y=h[0],x=h[1],b=l.useContext(KN),C=b.prefixCls,S=o&&i!=="hide";Rn(function(){o&&S!==y&&x(S)},[o]);var w=function(){o&&s()},I=l.useRef(!1),E=function(){o&&!I.current&&(I.current=!0,c())};gTe(w,E);var _=function(N){S===N&&E()};return o?l.createElement(Ia,Ie({ref:t,visible:y},a,{motionAppear:i==="show",onVisibleChanged:_}),function(R,N){var O=R.className,$=R.style;return l.createElement("div",{ref:N,className:ce("".concat(C,"-treenode-motion"),O),style:$},o.map(function(A){var B=Object.assign({},(lK(A.data),A.data)),j=A.title,F=A.key,D=A.isStart,k=A.isEnd;delete B.children;var M=mg(F,f);return l.createElement(qg,Ie({},B,M,{title:j,active:u,data:A.data,key:F,isStart:D,isEnd:k}))}))}):l.createElement(qg,Ie({domRef:t,className:n,style:r},g,{active:u}))});function vTe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function a(o,i){var s=new Map;o.forEach(function(u){s.set(u,!0)});var c=i.filter(function(u){return!s.has(u)});return c.length===1?c[0]:null}return n ").concat(t);return t}var STe=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var a=e.expandedKeys,o=e.selectedKeys,i=e.checkedKeys,s=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,f=e.keyEntities,g=e.disabled,m=e.dragging,h=e.dragOverNodeKey,y=e.dropPosition,x=e.motion,b=e.height,C=e.itemHeight,S=e.virtual,w=e.scrollWidth,I=e.focusable,E=e.activeItem,_=e.focused,R=e.tabIndex,N=e.onKeyDown,O=e.onFocus,$=e.onBlur,A=e.onActiveChange,B=e.onListChangeStart,j=e.onListChangeEnd,F=Bt(e,bTe),D=l.useRef(null),k=l.useRef(null);l.useImperativeHandle(t,function(){return{scrollTo:function(ie){D.current.scrollTo(ie)},getIndentWidth:function(){return k.current.offsetWidth}}});var M=l.useState(a),L=ye(M,2),H=L[0],U=L[1],z=l.useState(r),W=ye(z,2),q=W[0],K=W[1],G=l.useState(r),X=ye(G,2),Z=X[0],J=X[1],ne=l.useState([]),Q=ye(ne,2),ee=Q[0],te=Q[1],oe=l.useState(null),le=ye(oe,2),fe=le[0],ue=le[1],we=l.useRef(r);we.current=r;function pe(){var me=we.current;K(me),J(me),te([]),ue(null),j()}Rn(function(){U(a);var me=vTe(H,a);if(me.key!==null)if(me.add){var ie=q.findIndex(function(Fe){var je=Fe.key;return je===me.key}),he=WL(HL(q,r,me.key),S,b,C),Se=q.slice();Se.splice(ie+1,0,VL),J(Se),te(he),ue("show")}else{var _e=r.findIndex(function(Fe){var je=Fe.key;return je===me.key}),$e=WL(HL(r,q,me.key),S,b,C),ze=r.slice();ze.splice(_e+1,0,VL),J(ze),te($e),ue("hide")}else q!==r&&(K(r),J(r))},[a,r]),l.useEffect(function(){m||pe()},[m]);var ve=x?Z:r,Ce={expandedKeys:a,selectedKeys:o,loadedKeys:s,loadingKeys:c,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:h,dropPosition:y,keyEntities:f};return l.createElement(l.Fragment,null,_&&E&&l.createElement("span",{style:UL,"aria-live":"assertive"},xTe(E)),l.createElement("div",null,l.createElement("input",{style:UL,disabled:I===!1||g,tabIndex:I!==!1?R:null,onKeyDown:N,onFocus:O,onBlur:$,value:"",onChange:yTe,"aria-label":"for screen reader"})),l.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},l.createElement("div",{className:"".concat(n,"-indent")},l.createElement("div",{ref:k,className:"".concat(n,"-indent-unit")}))),l.createElement(py,Ie({},F,{data:ve,itemKey:GL,height:b,fullHeight:!1,virtual:S,itemHeight:C,scrollWidth:w,prefixCls:"".concat(n,"-list"),ref:D,role:"tree",onVisibleChange:function(ie){ie.every(function(he){return GL(he)!==yu})&&pe()}}),function(me){var ie=me.pos,he=Object.assign({},(lK(me.data),me.data)),Se=me.title,_e=me.key,$e=me.isStart,ze=me.isEnd,Fe=Fm(_e,ie);delete he.key,delete he.children;var je=mg(Fe,Ce);return l.createElement(hTe,Ie({},he,je,{title:Se,active:!!E&&_e===E.key,pos:ie,data:me.data,isStart:$e,isEnd:ze,motion:x,motionNodes:_e===yu?ee:null,motionType:fe,onMotionStart:B,onMotionEnd:pe,treeNodeRequiredProps:Ce,onMouseMove:function(){A(null)}}))}))}),CTe=10,zy=function(e){ti(n,e);var t=$i(n);function n(){var r;Pr(this,n);for(var a=arguments.length,o=new Array(a),i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,g=r.state,m=g.dragChildrenKeys,h=g.dropPosition,y=g.dropTargetKey,x=g.dropTargetPos,b=g.dropAllowed;if(b){var C=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),y!==null){var S=se(se({},mg(y,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===y,data:Oo(r.state.keyEntities,y).node}),w=m.includes(y);ar(!w,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var I=YN(x),E={event:s,node:pa(S),dragNode:r.dragNodeProps?pa(r.dragNodeProps):null,dragNodesKeys:[r.dragNodeProps.eventKey].concat(m),dropToGap:h!==0,dropPosition:h+Number(I[I.length-1])};f||C==null||C(E),r.dragNodeProps=null}}}),re(Mt(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),re(Mt(r),"triggerExpandActionExpand",function(s,c){var u=r.state,f=u.expandedKeys,g=u.flattenNodes,m=c.expanded,h=c.key,y=c.isLeaf;if(!(y||s.shiftKey||s.metaKey||s.ctrlKey)){var x=g.filter(function(C){return C.key===h})[0],b=pa(se(se({},mg(h,r.getTreeNodeRequiredProps())),{},{data:x.data}));r.setExpandedKeys(m?ps(f,h):Ws(f,h)),r.onNodeExpand(s,b)}}),re(Mt(r),"onNodeClick",function(s,c){var u=r.props,f=u.onClick,g=u.expandAction;g==="click"&&r.triggerExpandActionExpand(s,c),f==null||f(s,c)}),re(Mt(r),"onNodeDoubleClick",function(s,c){var u=r.props,f=u.onDoubleClick,g=u.expandAction;g==="doubleClick"&&r.triggerExpandActionExpand(s,c),f==null||f(s,c)}),re(Mt(r),"onNodeSelect",function(s,c){var u=r.state.selectedKeys,f=r.state,g=f.keyEntities,m=f.fieldNames,h=r.props,y=h.onSelect,x=h.multiple,b=c.selected,C=c[m.key],S=!b;S?x?u=Ws(u,C):u=[C]:u=ps(u,C);var w=u.map(function(I){var E=Oo(g,I);return E?E.node:null}).filter(Boolean);r.setUncontrolledState({selectedKeys:u}),y==null||y(u,{event:"select",selected:S,node:c,selectedNodes:w,nativeEvent:s.nativeEvent})}),re(Mt(r),"onNodeCheck",function(s,c,u){var f=r.state,g=f.keyEntities,m=f.checkedKeys,h=f.halfCheckedKeys,y=r.props,x=y.checkStrictly,b=y.onCheck,C=c.key,S,w={event:"check",node:c,checked:u,nativeEvent:s.nativeEvent};if(x){var I=u?Ws(m,C):ps(m,C),E=ps(h,C);S={checked:I,halfChecked:E},w.checkedNodes=I.map(function(A){return Oo(g,A)}).filter(Boolean).map(function(A){return A.node}),r.setUncontrolledState({checkedKeys:I})}else{var _=el([].concat(Ze(m),[C]),!0,g),R=_.checkedKeys,N=_.halfCheckedKeys;if(!u){var O=new Set(R);O.delete(C);var $=el(Array.from(O),{halfCheckedKeys:N},g);R=$.checkedKeys,N=$.halfCheckedKeys}S=R,w.checkedNodes=[],w.checkedNodesPositions=[],w.halfCheckedKeys=N,R.forEach(function(A){var B=Oo(g,A);if(B){var j=B.node,F=B.pos;w.checkedNodes.push(j),w.checkedNodesPositions.push({node:j,pos:F})}}),r.setUncontrolledState({checkedKeys:R},!1,{halfCheckedKeys:N})}b==null||b(S,w)}),re(Mt(r),"onNodeLoad",function(s){var c,u=s.key,f=r.state.keyEntities,g=Oo(f,u);if(!(g!=null&&(c=g.children)!==null&&c!==void 0&&c.length)){var m=new Promise(function(h,y){r.setState(function(x){var b=x.loadedKeys,C=b===void 0?[]:b,S=x.loadingKeys,w=S===void 0?[]:S,I=r.props,E=I.loadData,_=I.onLoad;if(!E||C.includes(u)||w.includes(u))return null;var R=E(s);return R.then(function(){var N=r.state.loadedKeys,O=Ws(N,u);_==null||_(O,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:O}),r.setState(function($){return{loadingKeys:ps($.loadingKeys,u)}}),h()}).catch(function(N){if(r.setState(function($){return{loadingKeys:ps($.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=CTe){var O=r.state.loadedKeys;ar(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:Ws(O,u)}),h()}y(N)}),{loadingKeys:Ws(w,u)}})});return m.catch(function(){}),m}}),re(Mt(r),"onNodeMouseEnter",function(s,c){var u=r.props.onMouseEnter;u==null||u({event:s,node:c})}),re(Mt(r),"onNodeMouseLeave",function(s,c){var u=r.props.onMouseLeave;u==null||u({event:s,node:c})}),re(Mt(r),"onNodeContextMenu",function(s,c){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:c}))}),re(Mt(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var c=arguments.length,u=new Array(c),f=0;f1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var f=!1,g=!0,m={};Object.keys(s).forEach(function(h){if(r.props.hasOwnProperty(h)){g=!1;return}f=!0,m[h]=s[h]}),f&&(!c||g)&&r.setState(se(se({},m),u))}}),re(Mt(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return Dr(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var a=this.props,o=a.activeKey,i=a.itemScrollOffset,s=i===void 0?0:i;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var a=this.state,o=a.focused,i=a.flattenNodes,s=a.keyEntities,c=a.draggingNodeKey,u=a.activeKey,f=a.dropLevelOffset,g=a.dropContainerKey,m=a.dropTargetKey,h=a.dropPosition,y=a.dragOverNodeKey,x=a.indent,b=this.props,C=b.prefixCls,S=b.className,w=b.style,I=b.showLine,E=b.focusable,_=b.tabIndex,R=_===void 0?0:_,N=b.selectable,O=b.showIcon,$=b.icon,A=b.switcherIcon,B=b.draggable,j=b.checkable,F=b.checkStrictly,D=b.disabled,k=b.motion,M=b.loadData,L=b.filterTreeNode,H=b.height,U=b.itemHeight,z=b.scrollWidth,W=b.virtual,q=b.titleRender,K=b.dropIndicatorRender,G=b.onContextMenu,X=b.onScroll,Z=b.direction,J=b.rootClassName,ne=b.rootStyle,Q=zr(this.props,{aria:!0,data:!0}),ee;B&&(Pt(B)==="object"?ee=B:typeof B=="function"?ee={nodeDraggable:B}:ee={});var te={prefixCls:C,selectable:N,showIcon:O,icon:$,switcherIcon:A,draggable:ee,draggingNodeKey:c,checkable:j,checkStrictly:F,disabled:D,keyEntities:s,dropLevelOffset:f,dropContainerKey:g,dropTargetKey:m,dropPosition:h,dragOverNodeKey:y,indent:x,direction:Z,dropIndicatorRender:K,loadData:M,filterTreeNode:L,titleRender:q,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return l.createElement(KN.Provider,{value:te},l.createElement("div",{className:ce(C,S,J,re(re(re({},"".concat(C,"-show-line"),I),"".concat(C,"-focused"),o),"".concat(C,"-active-focused"),u!==null)),style:ne},l.createElement(STe,Ie({ref:this.listRef,prefixCls:C,style:w,data:i,disabled:D,selectable:N,checkable:!!j,motion:k,dragging:c!==null,height:H,itemHeight:U,virtual:W,focusable:E,focused:o,tabIndex:R,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:G,onScroll:X,scrollWidth:z},this.getTreeNodeRequiredProps(),Q))))}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,s={prevProps:a};function c(R){return!i&&a.hasOwnProperty(R)||i&&i[R]!==a[R]}var u,f=o.fieldNames;if(c("fieldNames")&&(f=df(a.fieldNames),s.fieldNames=f),c("treeData")?u=a.treeData:c("children")&&(ar(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=wG(a.children)),u){s.treeData=u;var g=$y(u,{fieldNames:f});s.keyEntities=se(re({},yu,cK),g.keyEntities)}var m=s.keyEntities||o.keyEntities;if(c("expandedKeys")||i&&c("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!i&&a.defaultExpandParent?yO(a.expandedKeys,m):a.expandedKeys;else if(!i&&a.defaultExpandAll){var h=se({},m);delete h[yu];var y=[];Object.keys(h).forEach(function(R){var N=h[R];N.children&&N.children.length&&y.push(N.key)}),s.expandedKeys=y}else!i&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?yO(a.defaultExpandedKeys,m):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var x=q1(u||o.treeData,s.expandedKeys||o.expandedKeys,f);s.flattenNodes=x}if(a.selectable&&(c("selectedKeys")?s.selectedKeys=BL(a.selectedKeys,a):!i&&a.defaultSelectedKeys&&(s.selectedKeys=BL(a.defaultSelectedKeys,a))),a.checkable){var b;if(c("checkedKeys")?b=nC(a.checkedKeys)||{}:!i&&a.defaultCheckedKeys?b=nC(a.defaultCheckedKeys)||{}:u&&(b=nC(a.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),b){var C=b,S=C.checkedKeys,w=S===void 0?[]:S,I=C.halfCheckedKeys,E=I===void 0?[]:I;if(!a.checkStrictly){var _=el(w,!0,m);w=_.checkedKeys,E=_.halfCheckedKeys}s.checkedKeys=w,s.halfCheckedKeys=E}}return c("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(l.Component);re(zy,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:pTe,allowDrop:function(){return!0},expandAction:!1});re(zy,"TreeNode",qg);const wTe=e=>{let{treeCls:t,treeNodeCls:n,directoryNodeSelectedBg:r,directoryNodeSelectedColor:a,motionDurationMid:o,borderRadius:i,controlItemBgHover:s}=e;return{[`${t}${t}-directory ${n}`]:{[`${t}-node-content-wrapper`]:{position:"static",[`> *:not(${t}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${o}`,content:'""',borderRadius:i},"&:hover:before":{background:s}},[`${t}-switcher, ${t}-checkbox, ${t}-draggable-icon`]:{zIndex:1},"&-selected":{[`${t}-switcher, ${t}-draggable-icon`]:{color:a},[`${t}-node-content-wrapper`]:{color:a,background:"transparent","&:before, &:hover:before":{background:r}}}}}},ETe=new An("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ITe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),_Te=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${ae(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),TTe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,titleHeight:o,indentSize:i,nodeSelectedBg:s,nodeHoverBg:c,colorTextQuaternary:u,controlItemBgActiveDisabled:f}=t;return{[n]:Object.assign(Object.assign({},Dn(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Xi(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:ETe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[r]:{display:"flex",alignItems:"flex-start",marginBottom:a,lineHeight:ae(o),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:a},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:f},[`${n}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:o,textAlign:"center",visibility:"visible",color:u},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:"hidden"}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(o).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:Object.assign(Object.assign({},ITe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:o,height:o,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(o).div(2).equal()).mul(.8).equal(),height:t.calc(o).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:o,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},_Te(e,t)),{"&:hover":{backgroundColor:c},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:s},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${ae(t.calc(o).div(2).equal())} !important`}})}},uK=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=`.${e}`,a=`${r}-treenode`,o=t.calc(t.paddingXS).div(2).equal(),i=fn(t,{treeCls:r,treeNodeCls:a,treeNodePadding:o});return[TTe(e,i),n&&wTe(i)].filter(Boolean)},dK=e=>{const{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,a=t;return{titleHeight:a,indentSize:a,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},RTe=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},dK(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},OTe=Nn("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:wN(`${n}-checkbox`,e)},uK(n,e),Cm(e)]},RTe),qL=4;function $Te(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:a,direction:o="ltr"}=e,i=o==="ltr"?"left":"right",s=o==="ltr"?"right":"left",c={[i]:-n*a+qL,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=a+qL;break}return ge.createElement("div",{style:c,className:`${r}-drop-indicator`})}const fK=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:a,switcherLoadingIcon:o}=e,{isLeaf:i,expanded:s,loading:c}=r;if(c)return l.isValidElement(o)?o:l.createElement(_i,{className:`${t}-switcher-loading-icon`});let u;if(a&&typeof a=="object"&&(u=a.showLeafIcon),i){if(!a)return null;if(typeof u!="boolean"&&u){const m=typeof u=="function"?u(r):u,h=`${t}-switcher-line-custom-icon`;return l.isValidElement(m)?oa(m,{className:ce(m.props.className||"",h)}):m}return u?l.createElement(Rq,{className:`${t}-switcher-line-icon`}):l.createElement("span",{className:`${t}-switcher-leaf-line`})}const f=`${t}-switcher-icon`,g=typeof n=="function"?n(r):n;return l.isValidElement(g)?oa(g,{className:ce(g.props.className||"",f)}):g!==void 0?g:a?s?l.createElement(MEe,{className:`${t}-switcher-line-icon`}):l.createElement(Pq,{className:`${t}-switcher-line-icon`}):l.createElement(TCe,{className:f})},pK=ge.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:o,tree:i}=ge.useContext(Wt),{prefixCls:s,className:c,showIcon:u=!1,showLine:f,switcherIcon:g,switcherLoadingIcon:m,blockNode:h=!1,children:y,checkable:x=!1,selectable:b=!0,draggable:C,motion:S,style:w}=e,I=r("tree",s),E=r(),_=S??Object.assign(Object.assign({},lf(E)),{motionAppear:!1}),R=Object.assign(Object.assign({},e),{checkable:x,selectable:b,showIcon:u,motion:_,blockNode:h,showLine:!!f,dropIndicatorRender:$Te}),[N,O,$]=OTe(I),[,A]=ba(),B=A.paddingXS/2+(((n=A.Tree)===null||n===void 0?void 0:n.titleHeight)||A.controlHeightSM),j=ge.useMemo(()=>{if(!C)return!1;let D={};switch(typeof C){case"function":D.nodeDraggable=C;break;case"object":D=Object.assign({},C);break}return D.icon!==!1&&(D.icon=D.icon||ge.createElement(dEe,null)),D},[C]),F=D=>ge.createElement(fK,{prefixCls:I,switcherIcon:g,switcherLoadingIcon:m,treeNodeProps:D,showLine:f});return N(ge.createElement(zy,Object.assign({itemHeight:B,ref:t,virtual:o},R,{style:Object.assign(Object.assign({},i==null?void 0:i.style),w),prefixCls:I,className:ce({[`${I}-icon-hide`]:!u,[`${I}-block-node`]:h,[`${I}-unselectable`]:!b,[`${I}-rtl`]:a==="rtl"},i==null?void 0:i.className,c,O,$),direction:a,checkable:x&&ge.createElement("span",{className:`${I}-checkbox-inner`}),selectable:b,switcherIcon:F,draggable:j}),y))}),KL=0,rC=1,YL=2;function XN(e,t,n){const{key:r,children:a}=n;function o(i){const s=i[r],c=i[a];t(s,i)!==!1&&XN(c||[],t,n)}e.forEach(o)}function NTe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:o}=e;const i=[];let s=KL;if(r&&r===a)return[r];if(!r||!a)return[];function c(u){return u===r||u===a}return XN(t,u=>{if(s===YL)return!1;if(c(u)){if(i.push(u),s===KL)s=rC;else if(s===rC)return s=YL,!1}else s===rC&&i.push(u);return n.includes(u)},df(o)),i}function aC(e,t,n){const r=Ze(t),a=[];return XN(e,(o,i)=>{const s=r.indexOf(o);return s!==-1&&(a.push(i),r.splice(s,1)),!!r.length},df(n)),a}var XL=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,o=XL(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const i=l.useRef(null),s=l.useRef(null),c=()=>{const{keyEntities:N}=$y(ZL(o));let O;return n?O=Object.keys(N):r?O=yO(o.expandedKeys||a||[],N):O=o.expandedKeys||a||[],O},[u,f]=l.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[g,m]=l.useState(()=>c());l.useEffect(()=>{"selectedKeys"in o&&f(o.selectedKeys)},[o.selectedKeys]),l.useEffect(()=>{"expandedKeys"in o&&m(o.expandedKeys)},[o.expandedKeys]);const h=(N,O)=>{var $;return"expandedKeys"in o||m(N),($=o.onExpand)===null||$===void 0?void 0:$.call(o,N,O)},y=(N,O)=>{var $;const{multiple:A,fieldNames:B}=o,{node:j,nativeEvent:F}=O,{key:D=""}=j,k=ZL(o),M=Object.assign(Object.assign({},O),{selected:!0}),L=(F==null?void 0:F.ctrlKey)||(F==null?void 0:F.metaKey),H=F==null?void 0:F.shiftKey;let U;A&&L?(U=N,i.current=D,s.current=U,M.selectedNodes=aC(k,U,B)):A&&H?(U=Array.from(new Set([].concat(Ze(s.current||[]),Ze(NTe({treeData:k,expandedKeys:g,startKey:D,endKey:i.current,fieldNames:B}))))),M.selectedNodes=aC(k,U,B)):(U=[D],i.current=D,s.current=U,M.selectedNodes=aC(k,U,B)),($=o.onSelect)===null||$===void 0||$.call(o,U,M),"selectedKeys"in o||f(U)},{getPrefixCls:x,direction:b}=l.useContext(Wt),{prefixCls:C,className:S,showIcon:w=!0,expandAction:I="click"}=o,E=XL(o,["prefixCls","className","showIcon","expandAction"]),_=x("tree",C),R=ce(`${_}-directory`,{[`${_}-directory-rtl`]:b==="rtl"},S);return l.createElement(pK,Object.assign({icon:ATe,ref:t,blockNode:!0},E,{showIcon:w,expandAction:I,prefixCls:_,className:R,expandedKeys:g,selectedKeys:u,onSelect:y,onExpand:h}))},PTe=l.forwardRef(kTe),ZN=pK;ZN.DirectoryTree=PTe;ZN.TreeNode=qg;const JL=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:a,onChange:o}=e;return n?l.createElement("div",{className:`${r}-filter-dropdown-search`},l.createElement(Bm,{prefix:l.createElement(Nm,null),placeholder:a.filterSearchPlaceholder,onChange:o,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},DTe=e=>{const{keyCode:t}=e;t===pt.ENTER&&e.stopPropagation()},MTe=l.forwardRef((e,t)=>l.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:DTe,ref:t},e.children));function Xd(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat(Ze(t),Ze(Xd(a))))}),t}function LTe(e){return e.some(t=>{let{children:n}=t;return n})}function gK(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function mK(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:o,filterSearch:i}=e;return t.map((s,c)=>{const u=String(s.value);if(s.children)return{key:u||c,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:mK({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:o,filterSearch:i})};const f=a?Ti:so,g={key:s.value!==void 0?u:c,label:l.createElement(l.Fragment,null,l.createElement(f,{checked:r.includes(u)}),l.createElement("span",null,s.text))};return o.trim()?typeof i=="function"?i(o,s)?g:null:gK(o,s.text)?g:null:g})}function oC(e){return e||[]}const jTe=e=>{var t,n,r,a;const{tablePrefixCls:o,prefixCls:i,column:s,dropdownPrefixCls:c,columnKey:u,filterOnClose:f,filterMultiple:g,filterMode:m="menu",filterSearch:h=!1,filterState:y,triggerFilter:x,locale:b,children:C,getPopupContainer:S,rootClassName:w}=e,{filterResetToDefaultFilteredValue:I,defaultFilteredValue:E,filterDropdownProps:_={},filterDropdownOpen:R,filterDropdownVisible:N,onFilterDropdownVisibleChange:O,onFilterDropdownOpenChange:$}=s,[A,B]=l.useState(!1),j=!!(y&&(!((t=y.filteredKeys)===null||t===void 0)&&t.length||y.forceFiltered)),F=me=>{var ie;B(me),(ie=_.onOpenChange)===null||ie===void 0||ie.call(_,me),$==null||$(me),O==null||O(me)},D=(a=(r=(n=_.open)!==null&&n!==void 0?n:R)!==null&&r!==void 0?r:N)!==null&&a!==void 0?a:A,k=y==null?void 0:y.filteredKeys,[M,L]=fTe(oC(k)),H=me=>{let{selectedKeys:ie}=me;L(ie)},U=(me,ie)=>{let{node:he,checked:Se}=ie;H(g?{selectedKeys:me}:{selectedKeys:Se&&he.key?[he.key]:[]})};l.useEffect(()=>{A&&H({selectedKeys:oC(k)})},[k]);const[z,W]=l.useState([]),q=me=>{W(me)},[K,G]=l.useState(""),X=me=>{const{value:ie}=me.target;G(ie)};l.useEffect(()=>{A||G("")},[A]);const Z=me=>{const ie=me!=null&&me.length?me:null;if(ie===null&&(!y||!y.filteredKeys)||Ei(ie,y==null?void 0:y.filteredKeys,!0))return null;x({column:s,key:u,filteredKeys:ie})},J=()=>{F(!1),Z(M())},ne=function(){let{confirm:me,closeDropdown:ie}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};me&&Z([]),ie&&F(!1),G(""),L(I?(E||[]).map(he=>String(he)):[])},Q=function(){let{closeDropdown:me}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};me&&F(!1),Z(M())},ee=(me,ie)=>{ie.source==="trigger"&&(me&&k!==void 0&&L(oC(k)),F(me),!me&&!s.filterDropdown&&f&&J())},te=ce({[`${c}-menu-without-submenu`]:!LTe(s.filters||[])}),oe=me=>{if(me.target.checked){const ie=Xd(s==null?void 0:s.filters).map(he=>String(he));L(ie)}else L([])},le=me=>{let{filters:ie}=me;return(ie||[]).map((he,Se)=>{const _e=String(he.value),$e={title:he.text,key:he.value!==void 0?_e:String(Se)};return he.children&&($e.children=le({filters:he.children})),$e})},fe=me=>{var ie;return Object.assign(Object.assign({},me),{text:me.title,value:me.key,children:((ie=me.children)===null||ie===void 0?void 0:ie.map(he=>fe(he)))||[]})};let ue;const{direction:we,renderEmpty:pe}=l.useContext(Wt);if(typeof s.filterDropdown=="function")ue=s.filterDropdown({prefixCls:`${c}-custom`,setSelectedKeys:me=>H({selectedKeys:me}),selectedKeys:M(),confirm:Q,clearFilters:ne,filters:s.filters,visible:D,close:()=>{F(!1)}});else if(s.filterDropdown)ue=s.filterDropdown;else{const me=M()||[],ie=()=>{var Se,_e;const $e=(Se=pe==null?void 0:pe("Table.filter"))!==null&&Se!==void 0?Se:l.createElement(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE,description:b.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((s.filters||[]).length===0)return $e;if(m==="tree")return l.createElement(l.Fragment,null,l.createElement(JL,{filterSearch:h,value:K,onChange:X,tablePrefixCls:o,locale:b}),l.createElement("div",{className:`${o}-filter-dropdown-tree`},g?l.createElement(Ti,{checked:me.length===Xd(s.filters).length,indeterminate:me.length>0&&me.lengthtypeof h=="function"?h(K,fe(je)):gK(K,je.title):void 0})));const ze=mK({filters:s.filters||[],filterSearch:h,prefixCls:i,filteredKeys:M(),filterMultiple:g,searchValue:K}),Fe=ze.every(je=>je===null);return l.createElement(l.Fragment,null,l.createElement(JL,{filterSearch:h,value:K,onChange:X,tablePrefixCls:o,locale:b}),Fe?$e:l.createElement(sl,{selectable:!0,multiple:g,prefixCls:`${c}-menu`,className:te,onSelect:H,onDeselect:H,selectedKeys:me,getPopupContainer:S,openKeys:z,onOpenChange:q,items:ze}))},he=()=>I?Ei((E||[]).map(Se=>String(Se)),me,!0):me.length===0;ue=l.createElement(l.Fragment,null,ie(),l.createElement("div",{className:`${i}-dropdown-btns`},l.createElement(mt,{type:"link",size:"small",disabled:he(),onClick:()=>ne()},b.filterReset),l.createElement(mt,{type:"primary",size:"small",onClick:J},b.filterConfirm)))}s.filterDropdown&&(ue=l.createElement(CW,{selectable:void 0},ue)),ue=l.createElement(MTe,{className:`${i}-dropdown`},ue);const Ce=AN({trigger:["click"],placement:we==="rtl"?"bottomLeft":"bottomRight",children:(()=>{let me;return typeof s.filterIcon=="function"?me=s.filterIcon(j):s.filterIcon?me=s.filterIcon:me=l.createElement(Lwe,null),l.createElement("span",{role:"button",tabIndex:-1,className:ce(`${i}-trigger`,{active:j}),onClick:ie=>{ie.stopPropagation()}},me)})(),getPopupContainer:S},Object.assign(Object.assign({},_),{rootClassName:ce(w,_.rootClassName),open:D,onOpenChange:ee,dropdownRender:()=>typeof(_==null?void 0:_.dropdownRender)=="function"?_.dropdownRender(ue):ue}));return l.createElement("div",{className:`${i}-column`},l.createElement("span",{className:`${o}-column-title`},C),l.createElement(Ay,Object.assign({},Ce)))},EO=(e,t,n)=>{let r=[];return(e||[]).forEach((a,o)=>{var i;const s=Vf(o,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let c=a.filteredValue;"filterDropdown"in a||(c=(i=c==null?void 0:c.map(String))!==null&&i!==void 0?i:c),r.push({column:a,key:rc(a,s),filteredKeys:c,forceFiltered:a.filtered})}else r.push({column:a,key:rc(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat(Ze(r),Ze(EO(a.children,t,s))))}),r};function hK(e,t,n,r,a,o,i,s,c){return n.map((u,f)=>{const g=Vf(f,s),{filterOnClose:m=!0,filterMultiple:h=!0,filterMode:y,filterSearch:x}=u;let b=u;if(b.filters||b.filterDropdown){const C=rc(b,g),S=r.find(w=>{let{key:I}=w;return C===I});b=Object.assign(Object.assign({},b),{title:w=>l.createElement(jTe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:b,columnKey:C,filterState:S,filterOnClose:m,filterMultiple:h,filterMode:y,filterSearch:x,triggerFilter:o,locale:a,getPopupContainer:i,rootClassName:c},By(u.title,w))})}return"children"in b&&(b=Object.assign(Object.assign({},b),{children:hK(e,t,b.children,r,a,o,i,g,c)})),b})}const QL=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:o}=n;const i=r,{filters:s,filterDropdown:c}=o;if(c)t[i]=a||null;else if(Array.isArray(a)){const u=Xd(s);t[i]=u.filter(f=>a.includes(String(f)))}else t[i]=null}),t},IO=(e,t,n)=>t.reduce((a,o)=>{const{column:{onFilter:i,filters:s},filteredKeys:c}=o;return i&&c&&c.length?a.map(u=>Object.assign({},u)).filter(u=>c.some(f=>{const g=Xd(s),m=g.findIndex(y=>String(y)===String(f)),h=m!==-1?g[m]:f;return u[n]&&(u[n]=IO(u[n],t,n)),i(h,u)})):a},e),vK=e=>e.flatMap(t=>"children"in t?[t].concat(Ze(vK(t.children||[]))):[t]),FTe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:o,locale:i,rootClassName:s}=e;fc();const c=l.useMemo(()=>vK(r||[]),[r]),[u,f]=l.useState(()=>EO(c,!0)),g=l.useMemo(()=>{const x=EO(c,!1);if(x.length===0)return x;let b=!0;if(x.forEach(C=>{let{filteredKeys:S}=C;S!==void 0&&(b=!1)}),b){const C=(c||[]).map((S,w)=>rc(S,Vf(w)));return u.filter(S=>{let{key:w}=S;return C.includes(w)}).map(S=>{const w=c[C.findIndex(I=>I===S.key)];return Object.assign(Object.assign({},S),{column:Object.assign(Object.assign({},S.column),w),forceFiltered:w.filtered})})}return x},[c,u]),m=l.useMemo(()=>QL(g),[g]),h=x=>{const b=g.filter(C=>{let{key:S}=C;return S!==x.key});b.push(x),f(b),a(QL(b),b)};return[x=>hK(t,n,x,g,i,h,o,void 0,s),g,m]},BTe=(e,t,n)=>{const r=l.useRef({});function a(o){var i;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let u=function(f){f.forEach((g,m)=>{const h=n(g,m);c.set(h,g),g&&typeof g=="object"&&t in g&&u(g[t]||[])})};var s=u;const c=new Map;u(e),r.current={data:e,childrenColumnName:t,kvMap:c,getRowKey:n}}return(i=r.current.kvMap)===null||i===void 0?void 0:i.get(o)}return[a]};var zTe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const o=e[a];typeof o!="function"&&(n[a]=o)}),n}function UTe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,o=zTe(r,["total"]),[i,s]=l.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:bK})),c=AN(i,o,{total:a>0?a:e}),u=Math.ceil((a||e)/c.pageSize);c.current>u&&(c.current=u||1);const f=(m,h)=>{s({current:m??1,pageSize:h||c.pageSize})},g=(m,h)=>{var y;n&&((y=n.onChange)===null||y===void 0||y.call(n,m,h)),f(m,h),t(m,h||(c==null?void 0:c.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:g}),f]}const _b="ascend",iC="descend",m0=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,ej=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,VTe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],_O=(e,t,n)=>{let r=[];const a=(o,i)=>{r.push({column:o,key:rc(o,i),multiplePriority:m0(o),sortOrder:o.sortOrder})};return(e||[]).forEach((o,i)=>{const s=Vf(i,n);o.children?("sortOrder"in o&&a(o,s),r=[].concat(Ze(r),Ze(_O(o.children,t,s)))):o.sorter&&("sortOrder"in o?a(o,s):t&&o.defaultSortOrder&&r.push({column:o,key:rc(o,s),multiplePriority:m0(o),sortOrder:o.defaultSortOrder}))}),r},yK=(e,t,n,r,a,o,i,s)=>(t||[]).map((u,f)=>{const g=Vf(f,s);let m=u;if(m.sorter){const h=m.sortDirections||a,y=m.showSorterTooltip===void 0?i:m.showSorterTooltip,x=rc(m,g),b=n.find(O=>{let{key:$}=O;return $===x}),C=b?b.sortOrder:null,S=VTe(h,C);let w;if(u.sortIcon)w=u.sortIcon({sortOrder:C});else{const O=h.includes(_b)&&l.createElement(kCe,{className:ce(`${e}-column-sorter-up`,{active:C===_b})}),$=h.includes(iC)&&l.createElement($Ce,{className:ce(`${e}-column-sorter-down`,{active:C===iC})});w=l.createElement("span",{className:ce(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(O&&$)})},l.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},O,$))}const{cancelSort:I,triggerAsc:E,triggerDesc:_}=o||{};let R=I;S===iC?R=_:S===_b&&(R=E);const N=typeof y=="object"?Object.assign({title:R},y):{title:R};m=Object.assign(Object.assign({},m),{className:ce(m.className,{[`${e}-column-sort`]:C}),title:O=>{const $=`${e}-column-sorters`,A=l.createElement("span",{className:`${e}-column-title`},By(u.title,O)),B=l.createElement("div",{className:$},A,w);return y?typeof y!="boolean"&&(y==null?void 0:y.target)==="sorter-icon"?l.createElement("div",{className:`${$} ${e}-column-sorters-tooltip-target-sorter`},A,l.createElement(nn,Object.assign({},N),w)):l.createElement(nn,Object.assign({},N),B):B},onHeaderCell:O=>{var $;const A=(($=u.onHeaderCell)===null||$===void 0?void 0:$.call(u,O))||{},B=A.onClick,j=A.onKeyDown;A.onClick=k=>{r({column:u,key:x,sortOrder:S,multiplePriority:m0(u)}),B==null||B(k)},A.onKeyDown=k=>{k.keyCode===pt.ENTER&&(r({column:u,key:x,sortOrder:S,multiplePriority:m0(u)}),j==null||j(k))};const F=dTe(u.title,{}),D=F==null?void 0:F.toString();return C&&(A["aria-sort"]=C==="ascend"?"ascending":"descending"),A["aria-label"]=D||"",A.className=ce(A.className,`${e}-column-has-sorters`),A.tabIndex=0,u.ellipsis&&(A.title=(F??"").toString()),A}})}return"children"in m&&(m=Object.assign(Object.assign({},m),{children:yK(e,m.children,n,r,a,o,i,g)})),m}),tj=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},nj=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(tj);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},tj(e[n])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},TO=(e,t,n)=>{const r=t.slice().sort((i,s)=>s.multiplePriority-i.multiplePriority),a=e.slice(),o=r.filter(i=>{let{column:{sorter:s},sortOrder:c}=i;return ej(s)&&c});return o.length?a.sort((i,s)=>{for(let c=0;c{const s=i[n];return s?Object.assign(Object.assign({},i),{[n]:TO(s,t,n)}):i}):a},WTe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:o,onSorterChange:i}=e,[s,c]=l.useState(_O(n,!0)),u=(x,b)=>{const C=[];return x.forEach((S,w)=>{const I=Vf(w,b);if(C.push(rc(S,I)),Array.isArray(S.children)){const E=u(S.children,I);C.push.apply(C,Ze(E))}}),C},f=l.useMemo(()=>{let x=!0;const b=_O(n,!1);if(!b.length){const I=u(n);return s.filter(E=>{let{key:_}=E;return I.includes(_)})}const C=[];function S(I){x?C.push(I):C.push(Object.assign(Object.assign({},I),{sortOrder:null}))}let w=null;return b.forEach(I=>{w===null?(S(I),I.sortOrder&&(I.multiplePriority===!1?x=!1:w=!0)):(w&&I.multiplePriority!==!1||(x=!1),S(I))}),C},[n,s]),g=l.useMemo(()=>{var x,b;const C=f.map(S=>{let{column:w,sortOrder:I}=S;return{column:w,order:I}});return{sortColumns:C,sortColumn:(x=C[0])===null||x===void 0?void 0:x.column,sortOrder:(b=C[0])===null||b===void 0?void 0:b.order}},[f]),m=x=>{let b;x.multiplePriority===!1||!f.length||f[0].multiplePriority===!1?b=[x]:b=[].concat(Ze(f.filter(C=>{let{key:S}=C;return S!==x.key})),[x]),c(b),i(nj(b),b)};return[x=>yK(t,x,f,m,r,a,o),f,g,()=>nj(f)]},xK=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=By(r.title,t),"children"in a&&(a.children=xK(a.children,t)),a}),GTe=e=>[l.useCallback(n=>xK(n,e),[e])],qTe=rK((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),KTe=oK((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),YTe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:o,tablePaddingVertical:i,tablePaddingHorizontal:s,calc:c}=e,u=`${ae(n)} ${r} ${a}`,f=(g,m,h)=>({[`&${t}-${g}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${ae(c(m).mul(-1).equal())} + ${ae(c(c(h).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${ae(c(i).mul(-1).equal())} ${ae(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},f("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),f("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ae(n)} 0 ${ae(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},XTe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},Qo),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ZTe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},JTe=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:a,paddingXS:o,lineType:i,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:u,borderRadius:f,tablePaddingVertical:g,tablePaddingHorizontal:m,tableExpandedRowBg:h,paddingXXS:y,expandIconMarginTop:x,expandIconSize:b,expandIconHalfInner:C,expandIconScale:S,calc:w}=e,I=`${ae(a)} ${i} ${s}`,E=w(y).sub(a).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},$$(e)),{position:"relative",float:"left",width:b,height:b,color:"inherit",lineHeight:ae(b),background:c,border:I,borderRadius:f,transform:`scale(${S})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:C,insetInlineEnd:E,insetInlineStart:E,height:a},"&::after":{top:E,bottom:E,insetInlineStart:C,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:x,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:h}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${ae(w(g).mul(-1).equal())} ${ae(w(m).mul(-1).equal())}`,padding:`${ae(g)} ${ae(m)}`}}}},QTe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:o,paddingXXS:i,paddingXS:s,colorText:c,lineWidth:u,lineType:f,tableBorderColor:g,headerIconColor:m,fontSizeSM:h,tablePaddingHorizontal:y,borderRadius:x,motionDurationSlow:b,colorTextDescription:C,colorPrimary:S,tableHeaderFilterActiveBg:w,colorTextDisabled:I,tableFilterDropdownBg:E,tableFilterDropdownHeight:_,controlItemBgHover:R,controlItemBgActive:N,boxShadowSecondary:O,filterDropdownMenuBg:$,calc:A}=e,B=`${n}-dropdown`,j=`${t}-filter-dropdown`,F=`${n}-tree`,D=`${ae(u)} ${f} ${g}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:A(i).mul(-1).equal(),marginInline:`${ae(i)} ${ae(A(y).div(2).mul(-1).equal())}`,padding:`0 ${ae(i)}`,color:m,fontSize:h,borderRadius:x,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:C,background:w},"&.active":{color:S}}}},{[`${n}-dropdown`]:{[j]:Object.assign(Object.assign({},Dn(e)),{minWidth:a,backgroundColor:E,borderRadius:x,boxShadow:O,overflow:"hidden",[`${B}-menu`]:{maxHeight:_,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:$,"&:empty::after":{display:"block",padding:`${ae(s)} 0`,color:I,fontSize:h,textAlign:"center",content:'"Not Found"'}},[`${j}-tree`]:{paddingBlock:`${ae(s)} 0`,paddingInline:s,[F]:{padding:0},[`${F}-treenode ${F}-node-content-wrapper:hover`]:{backgroundColor:R},[`${F}-treenode-checkbox-checked ${F}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:N}}},[`${j}-search`]:{padding:s,borderBottom:D,"&-input":{input:{minWidth:o},[r]:{color:I}}},[`${j}-checkall`]:{width:"100%",marginBottom:i,marginInlineStart:i},[`${j}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${ae(A(s).sub(u).equal())} ${ae(s)}`,overflow:"hidden",borderTop:D}})}},{[`${n}-dropdown ${j}, ${j}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},eRe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:o,tableBg:i,zIndexTableSticky:s,calc:c}=e,u=r;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:o,background:i},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(s).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${u}`},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${u}`}},[`${t}-fixed-column-gapped`]:{[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after, + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:"none"}}}}},tRe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${ae(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},nRe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${ae(n)} ${ae(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${ae(n)} ${ae(n)}`}}}}},rRe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},aRe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,padding:o,paddingXS:i,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:u,tableSelectedRowBg:f,tableSelectedRowHoverBg:g,tableRowHoverBg:m,tablePaddingHorizontal:h,calc:y}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:y(u).add(a).add(y(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:y(u).add(y(i).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:y(u).add(a).add(y(o).div(4)).add(y(i).mul(2)).equal()}},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column, + ${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:y(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:ae(y(h).div(4).equal()),[r]:{color:s,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:f,"&-row-hover":{background:g}}},[`> ${t}-cell-row-hover`]:{background:m}}}}}},oRe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,a=(o,i,s,c)=>({[`${t}${t}-${o}`]:{fontSize:c,[` + ${t}-title, + ${t}-footer, + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${ae(i)} ${ae(s)}`},[`${t}-filter-trigger`]:{marginInlineEnd:ae(r(s).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${ae(r(i).mul(-1).equal())} ${ae(r(s).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:ae(r(i).mul(-1).equal()),marginInline:`${ae(r(n).sub(s).equal())} ${ae(r(s).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:ae(r(s).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},a("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),a("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},iRe=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:a,headerIconHoverColor:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},sRe=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:o,tableScrollBg:i,zIndexTableSticky:s,stickyScrollBarBorderRadius:c,lineWidth:u,lineType:f,tableBorderColor:g}=e,m=`${ae(u)} ${f} ${g}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ae(o)} !important`,zIndex:s,display:"flex",alignItems:"center",background:i,borderTop:m,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},rj=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,o=`${ae(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${ae(a(n).mul(-1).equal())} 0 ${r}`}}}},lRe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:o,calc:i}=e,s=`${ae(r)} ${a} ${o}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` + & > ${t}-row, + & > div:not(${t}-row) > ${t}-row + `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ae(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:i(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},cRe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,tableExpandColumnWidth:o,lineWidth:i,lineType:s,tableBorderColor:c,tableFontSize:u,tableBg:f,tableRadius:g,tableHeaderTextColor:m,motionDurationMid:h,tableHeaderBg:y,tableHeaderCellSplitColor:x,tableFooterTextColor:b,tableFooterBg:C,calc:S}=e,w=`${ae(i)} ${s} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},Yi()),{[t]:Object.assign(Object.assign({},Dn(e)),{fontSize:u,background:f,borderRadius:`${ae(g)} ${ae(g)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${ae(g)} ${ae(g)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${ae(r)} ${ae(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${ae(r)} ${ae(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:m,fontWeight:n,textAlign:"start",background:y,borderBottom:w,transition:`background ${h} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:x,transform:"translateY(-50%)",transition:`background-color ${h}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${h}, border-color ${h}`,borderBottom:w,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:ae(S(r).mul(-1).equal()),marginInline:`${ae(S(o).sub(a).equal())} + ${ae(S(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:m,fontWeight:n,textAlign:"start",background:y,borderBottom:w,transition:`background ${h} ease`}}},[`${t}-footer`]:{padding:`${ae(r)} ${ae(a)}`,color:b,background:C}})}},uRe=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:a,colorFillContent:o,controlItemBgActive:i,controlItemBgActiveHover:s,padding:c,paddingSM:u,paddingXS:f,colorBorderSecondary:g,borderRadiusLG:m,controlHeight:h,colorTextPlaceholder:y,fontSize:x,fontSizeSM:b,lineHeight:C,lineWidth:S,colorIcon:w,colorIconHover:I,opacityLoading:E,controlInteractiveSize:_}=e,R=new In(a).onBackground(n).toHexString(),N=new In(o).onBackground(n).toHexString(),O=new In(t).onBackground(n).toHexString(),$=new In(w),A=new In(I),B=_/2-S,j=B*2+S*3;return{headerBg:O,headerColor:r,headerSortActiveBg:R,headerSortHoverBg:N,bodySortBg:O,rowHoverBg:O,rowSelectedBg:i,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:u,cellPaddingInlineMD:f,cellPaddingBlockSM:f,cellPaddingInlineSM:f,borderColor:g,headerBorderRadius:m,footerBg:O,footerColor:r,cellFontSize:x,cellFontSizeMD:x,cellFontSizeSM:x,headerSplitColor:g,fixedHeaderSortActiveBg:R,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:h,stickyScrollBarBg:y,stickyScrollBarBorderRadius:100,expandIconMarginTop:(x*C-S*3)/2-Math.ceil((b*1.4-S*3)/2),headerIconColor:$.clone().setA($.a*E).toRgbString(),headerIconHoverColor:A.clone().setA(A.a*E).toRgbString(),expandIconHalfInner:B,expandIconSize:j,expandIconScale:_/j}},aj=2,dRe=Nn("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:a,headerBg:o,headerColor:i,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:u,rowHoverBg:f,rowSelectedBg:g,rowSelectedHoverBg:m,rowExpandedBg:h,cellPaddingBlock:y,cellPaddingInline:x,cellPaddingBlockMD:b,cellPaddingInlineMD:C,cellPaddingBlockSM:S,cellPaddingInlineSM:w,borderColor:I,footerBg:E,footerColor:_,headerBorderRadius:R,cellFontSize:N,cellFontSizeMD:O,cellFontSizeSM:$,headerSplitColor:A,fixedHeaderSortActiveBg:B,headerFilterHoverBg:j,filterDropdownBg:F,expandIconBg:D,selectionColumnWidth:k,stickyScrollBarBg:M,calc:L}=e,H=fn(e,{tableFontSize:N,tableBg:r,tableRadius:R,tablePaddingVertical:y,tablePaddingHorizontal:x,tablePaddingVerticalMiddle:b,tablePaddingHorizontalMiddle:C,tablePaddingVerticalSmall:S,tablePaddingHorizontalSmall:w,tableBorderColor:I,tableHeaderTextColor:i,tableHeaderBg:o,tableFooterTextColor:_,tableFooterBg:E,tableHeaderCellSplitColor:A,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:u,tableFixedHeaderSortActiveBg:B,tableHeaderFilterActiveBg:j,tableFilterDropdownBg:F,tableRowHoverBg:f,tableSelectedRowBg:g,tableSelectedRowHoverBg:m,zIndexTableFixed:aj,zIndexTableSticky:L(aj).add(1).equal({unit:!1}),tableFontSizeMiddle:O,tableFontSizeSmall:$,tableSelectionColumnWidth:k,tableExpandIconBg:D,tableExpandColumnWidth:L(a).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:h,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:M,tableScrollThumbBgHover:t,tableScrollBg:n});return[cRe(H),tRe(H),rj(H),iRe(H),QTe(H),YTe(H),nRe(H),JTe(H),rj(H),ZTe(H),aRe(H),eRe(H),sRe(H),XTe(H),oRe(H),rRe(H),lRe(H)]},uRe,{unitless:{expandIconScale:!0}}),fRe=[],pRe=(e,t)=>{var n,r;const{prefixCls:a,className:o,rootClassName:i,style:s,size:c,bordered:u,dropdownPrefixCls:f,dataSource:g,pagination:m,rowSelection:h,rowKey:y="key",rowClassName:x,columns:b,children:C,childrenColumnName:S,onChange:w,getPopupContainer:I,loading:E,expandIcon:_,expandable:R,expandedRowRender:N,expandIconColumnIndex:O,indentSize:$,scroll:A,sortDirections:B,locale:j,showSorterTooltip:F={target:"full-header"},virtual:D}=e;fc();const k=l.useMemo(()=>b||GN(C),[b,C]),M=l.useMemo(()=>k.some(Rt=>Rt.responsive),[k]),L=Am(M),H=l.useMemo(()=>{const Rt=new Set(Object.keys(L).filter(_t=>L[_t]));return k.filter(_t=>!_t.responsive||_t.responsive.some(jt=>Rt.has(jt)))},[k,L]),U=or(e,["className","style","columns"]),{locale:z=Ss,direction:W,table:q,renderEmpty:K,getPrefixCls:G,getPopupContainer:X}=l.useContext(Wt),Z=da(c),J=Object.assign(Object.assign({},z.Table),j),ne=g||fRe,Q=G("table",a),ee=G("dropdown",f),[,te]=ba(),oe=Hr(Q),[le,fe,ue]=dRe(Q,oe),we=Object.assign(Object.assign({childrenColumnName:S,expandIconColumnIndex:O},R),{expandIcon:(n=R==null?void 0:R.expandIcon)!==null&&n!==void 0?n:(r=q==null?void 0:q.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:pe="children"}=we,ve=l.useMemo(()=>ne.some(Rt=>Rt==null?void 0:Rt[pe])?"nest":N||R!=null&&R.expandedRowRender?"row":null,[ne]),Ce={body:l.useRef(null)},me=uTe(Q),ie=l.useRef(null),he=l.useRef(null);lTe(t,()=>Object.assign(Object.assign({},he.current),{nativeElement:ie.current}));const Se=l.useMemo(()=>typeof y=="function"?y:Rt=>Rt==null?void 0:Rt[y],[y]),[_e]=BTe(ne,pe,Se),$e={},ze=function(Rt,_t){let jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var zt,en,gn,on;const Ft=Object.assign(Object.assign({},$e),Rt);jt&&((zt=$e.resetPagination)===null||zt===void 0||zt.call($e),!((en=Ft.pagination)===null||en===void 0)&&en.current&&(Ft.pagination.current=1),m&&((gn=m.onChange)===null||gn===void 0||gn.call(m,1,(on=Ft.pagination)===null||on===void 0?void 0:on.pageSize))),A&&A.scrollToFirstRowOnChange!==!1&&Ce.body.current&&Xoe(0,{getContainer:()=>Ce.body.current}),w==null||w(Ft.pagination,Ft.filters,Ft.sorter,{currentDataSource:IO(TO(ne,Ft.sorterStates,pe),Ft.filterStates,pe),action:_t})},Fe=(Rt,_t)=>{ze({sorter:Rt,sorterStates:_t},"sort",!1)},[je,qe,Ue,Ne]=WTe({prefixCls:Q,mergedColumns:H,onSorterChange:Fe,sortDirections:B||["ascend","descend"],tableLocale:J,showSorterTooltip:F}),Ye=l.useMemo(()=>TO(ne,qe,pe),[ne,qe]);$e.sorter=Ne(),$e.sorterStates=qe;const Re=(Rt,_t)=>{ze({filters:Rt,filterStates:_t},"filter",!0)},[Ae,Le,Te]=FTe({prefixCls:Q,locale:J,dropdownPrefixCls:ee,mergedColumns:H,onFilterChange:Re,getPopupContainer:I||X,rootClassName:ce(i,oe)}),Ve=IO(Ye,Le,pe);$e.filters=Te,$e.filterStates=Le;const Je=l.useMemo(()=>{const Rt={};return Object.keys(Te).forEach(_t=>{Te[_t]!==null&&(Rt[_t]=Te[_t])}),Object.assign(Object.assign({},Ue),{filters:Rt})},[Ue,Te]),[Qe]=GTe(Je),ut=(Rt,_t)=>{ze({pagination:Object.assign(Object.assign({},$e.pagination),{current:Rt,pageSize:_t})},"paginate")},[xe,be]=UTe(Ve.length,ut,m);$e.pagination=m===!1?{}:HTe(xe,m),$e.resetPagination=be;const Ee=l.useMemo(()=>{if(m===!1||!xe.pageSize)return Ve;const{current:Rt=1,total:_t,pageSize:jt=bK}=xe;return Ve.length<_t?Ve.length>jt?Ve.slice((Rt-1)*jt,Rt*jt):Ve:Ve.slice((Rt-1)*jt,Rt*jt)},[!!m,Ve,xe==null?void 0:xe.current,xe==null?void 0:xe.pageSize,xe==null?void 0:xe.total]),[ke,et]=iTe({prefixCls:Q,data:Ve,pageData:Ee,getRowKey:Se,getRecordByKey:_e,expandType:ve,childrenColumnName:pe,locale:J,getPopupContainer:I||X},h),Be=(Rt,_t,jt)=>{let zt;return typeof x=="function"?zt=ce(x(Rt,_t,jt)):zt=ce(x),ce({[`${Q}-row-selected`]:et.has(Se(Rt,_t))},zt)};we.__PARENT_RENDER_ICON__=we.expandIcon,we.expandIcon=we.expandIcon||_||cTe(J),ve==="nest"&&we.expandIconColumnIndex===void 0?we.expandIconColumnIndex=h?1:0:we.expandIconColumnIndex>0&&h&&(we.expandIconColumnIndex-=1),typeof we.indentSize!="number"&&(we.indentSize=typeof $=="number"?$:15);const Ke=l.useCallback(Rt=>Qe(ke(Ae(je(Rt)))),[je,Ae,ke]);let Ge,nt;if(m!==!1&&(xe!=null&&xe.total)){let Rt;xe.size?Rt=xe.size:Rt=Z==="small"||Z==="middle"?"small":void 0;const _t=en=>l.createElement(kN,Object.assign({},xe,{className:ce(`${Q}-pagination ${Q}-pagination-${en}`,xe.className),size:Rt})),jt=W==="rtl"?"left":"right",{position:zt}=xe;if(zt!==null&&Array.isArray(zt)){const en=zt.find(Ft=>Ft.includes("top")),gn=zt.find(Ft=>Ft.includes("bottom")),on=zt.every(Ft=>`${Ft}`=="none");!en&&!gn&&!on&&(nt=_t(jt)),en&&(Ge=_t(en.toLowerCase().replace("top",""))),gn&&(nt=_t(gn.toLowerCase().replace("bottom","")))}else nt=_t(jt)}let ht;typeof E=="boolean"?ht={spinning:E}:typeof E=="object"&&(ht=Object.assign({spinning:!0},E));const tt=ce(ue,oe,`${Q}-wrapper`,q==null?void 0:q.className,{[`${Q}-wrapper-rtl`]:W==="rtl"},o,i,fe),ct=Object.assign(Object.assign({},q==null?void 0:q.style),s),bt=typeof(j==null?void 0:j.emptyText)<"u"?j.emptyText:(K==null?void 0:K("Table"))||l.createElement(gy,{componentName:"Table"}),St=D?KTe:qTe,yt={},Dt=l.useMemo(()=>{const{fontSize:Rt,lineHeight:_t,lineWidth:jt,padding:zt,paddingXS:en,paddingSM:gn}=te,on=Math.floor(Rt*_t);switch(Z){case"middle":return gn*2+on+jt;case"small":return en*2+on+jt;default:return zt*2+on+jt}},[te,Z]);return D&&(yt.listItemHeight=Dt),le(l.createElement("div",{ref:ie,className:tt,style:ct},l.createElement(yc,Object.assign({spinning:!1},ht),Ge,l.createElement(St,Object.assign({},yt,U,{ref:he,columns:H,direction:W,expandable:we,prefixCls:Q,className:ce({[`${Q}-middle`]:Z==="middle",[`${Q}-small`]:Z==="small",[`${Q}-bordered`]:u,[`${Q}-empty`]:ne.length===0},ue,oe,fe),data:Ee,rowKey:Se,rowClassName:Be,emptyText:bt,internalHooks:Um,internalRefs:Ce,transformColumns:Ke,getContainerWidth:me})),nt)))},gRe=l.forwardRef(pRe),mRe=(e,t)=>{const n=l.useRef(0);return n.current+=1,l.createElement(gRe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Ya=l.forwardRef(mRe);Ya.SELECTION_COLUMN=Ml;Ya.EXPAND_COLUMN=Gs;Ya.SELECTION_ALL=xO;Ya.SELECTION_INVERT=SO;Ya.SELECTION_NONE=CO;Ya.Column=X_e;Ya.ColumnGroup=Z_e;Ya.Summary=Gq;const hRe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:o}=e,i=o(r).sub(n).equal(),s=o(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},Dn(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},JN=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return fn(e,{tagFontSize:a,tagLineHeight:ae(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},QN=e=>({defaultBg:new In(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),SK=Nn("Tag",e=>{const t=JN(e);return hRe(t)},QN);var vRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,style:r,className:a,checked:o,onChange:i,onClick:s}=e,c=vRe(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:f}=l.useContext(Wt),g=C=>{i==null||i(!o),s==null||s(C)},m=u("tag",n),[h,y,x]=SK(m),b=ce(m,`${m}-checkable`,{[`${m}-checkable-checked`]:o},f==null?void 0:f.className,a,y,x);return h(l.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},r),f==null?void 0:f.style),className:b,onClick:g})))}),yRe=e=>G0(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:o,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),xRe=_u(["Tag","preset"],e=>{const t=JN(e);return yRe(t)},QN);function SRe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const $v=(e,t,n)=>{const r=SRe(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},CRe=_u(["Tag","status"],e=>{const t=JN(e);return[$v(t,"success","Success"),$v(t,"processing","Info"),$v(t,"error","Error"),$v(t,"warning","Warning")]},QN);var wRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,className:r,rootClassName:a,style:o,children:i,icon:s,color:c,onClose:u,bordered:f=!0,visible:g}=e,m=wRe(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:h,direction:y,tag:x}=l.useContext(Wt),[b,C]=l.useState(!0),S=or(m,["closeIcon","closable"]);l.useEffect(()=>{g!==void 0&&C(g)},[g]);const w=by(c),I=tpe(c),E=w||I,_=Object.assign(Object.assign({backgroundColor:c&&!E?c:void 0},x==null?void 0:x.style),o),R=h("tag",n),[N,O,$]=SK(R),A=ce(R,x==null?void 0:x.className,{[`${R}-${c}`]:E,[`${R}-has-color`]:c&&!E,[`${R}-hidden`]:!b,[`${R}-rtl`]:y==="rtl",[`${R}-borderless`]:!f},r,a,O,$),B=L=>{L.stopPropagation(),u==null||u(L),!L.defaultPrevented&&C(!1)},[,j]=V$(uf(e),uf(x),{closable:!1,closeIconRender:L=>{const H=l.createElement("span",{className:`${R}-close-icon`,onClick:B},L);return k$(L,H,U=>({onClick:z=>{var W;(W=U==null?void 0:U.onClick)===null||W===void 0||W.call(U,z),B(z)},className:ce(U==null?void 0:U.className,`${R}-close-icon`)}))}}),F=typeof m.onClick=="function"||i&&i.type==="a",D=s||null,k=D?l.createElement(l.Fragment,null,D,i&&l.createElement("span",null,i)):i,M=l.createElement("span",Object.assign({},S,{ref:t,className:A,style:_}),k,j,w&&l.createElement(xRe,{key:"preset",prefixCls:R}),I&&l.createElement(CRe,{key:"status",prefixCls:R}));return N(F?l.createElement(Sm,{component:"Tag"},M):M)}),pf=ERe;pf.CheckableTag=bRe;const IRe=e=>{const t=e!=null&&e.algorithm?Vb(e.algorithm):_$,n=Object.assign(Object.assign({},of),e==null?void 0:e.token);return w9(n,{override:e==null?void 0:e.token},t,O$)};function _Re(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const TRe=(e,t)=>{const n=t??V0(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),_Re(t??e)),q9(r)),{controlHeight:a}),G9(Object.assign(Object.assign({},n),{controlHeight:a})))},gi=(e,t)=>new In(e).setA(t).toRgbString(),wd=(e,t)=>new In(e).lighten(t).toHexString(),RRe=e=>{const t=du(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},ORe=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:gi(r,.85),colorTextSecondary:gi(r,.65),colorTextTertiary:gi(r,.45),colorTextQuaternary:gi(r,.25),colorFill:gi(r,.18),colorFillSecondary:gi(r,.12),colorFillTertiary:gi(r,.08),colorFillQuaternary:gi(r,.04),colorBgSolid:gi(r,.95),colorBgSolidHover:gi(r,1),colorBgSolidActive:gi(r,.9),colorBgElevated:wd(n,12),colorBgContainer:wd(n,8),colorBgLayout:wd(n,0),colorBgSpotlight:wd(n,26),colorBgBlur:gi(r,.04),colorBorder:wd(n,26),colorBorderSecondary:wd(n,19)}},$Re=(e,t)=>{const n=Object.keys(I$).map(a=>{const o=du(e[a],{theme:"dark"});return Array.from({length:10},()=>1).reduce((i,s,c)=>(i[`${a}-${c+1}`]=o[c],i[`${a}${c+1}`]=o[c],i),{})}).reduce((a,o)=>(a=Object.assign(Object.assign({},a),o),a),{}),r=t??V0(e);return Object.assign(Object.assign(Object.assign({},r),n),W9(e,{generateColorPalettes:RRe,generateNeutralColorPalettes:ORe}))};function NRe(){const[e,t,n]=ba();return{theme:e,token:t,hashId:n}}const Tr={defaultSeed:Fg.token,useToken:NRe,defaultAlgorithm:V0,darkAlgorithm:$Re,compactAlgorithm:TRe,getDesignToken:IRe,defaultConfig:Fg,_internalContext:T$},ARe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},Dn(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:`calc(100% - ${ae(e.itemHeadSize)})`,borderInlineStart:`${ae(e.tailWidth)} ${e.lineType} ${e.tailColor}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${ae(e.dotBorderWidth)} ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},[`&${t}-alternate, + &${t}-right, + &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${ae(e.marginXXS)})`,width:`calc(50% - ${ae(e.marginSM)})`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${ae(e.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail, + ${t}-item-head, + ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${ae(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal())})`},[`${t}-item-content`]:{width:`calc(100% - ${ae(n(e.itemHeadSize).add(e.marginXS).equal())})`}}},[`&${t}-pending + ${t}-item-last + ${t}-item-tail`]:{display:"block",height:`calc(100% - ${ae(e.margin)})`,borderInlineStart:`${ae(e.tailWidth)} dotted ${e.tailColor}`},[`&${t}-reverse + ${t}-item-last + ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${ae(e.margin)})`,borderInlineStart:`${ae(e.tailWidth)} dotted ${e.tailColor}`},[`${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:`calc(50% - ${ae(e.marginSM)})`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${ae(e.marginSM)})`,width:`calc(50% - ${ae(e.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},kRe=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3,dotBg:e.colorBgContainer,itemPaddingBottom:e.padding*1.25}),PRe=Nn("Timeline",e=>{const t=fn(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[ARe(t)]},kRe);var DRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,color:r="blue",dot:a,pending:o=!1,position:i,label:s,children:c}=e,u=DRe(e,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:f}=l.useContext(Wt),g=f("timeline",t),m=ce(`${g}-item`,{[`${g}-item-pending`]:o},n),h=/blue|red|green|gray/.test(r||"")?void 0:r,y=ce(`${g}-item-head`,{[`${g}-item-head-custom`]:!!a,[`${g}-item-head-${r}`]:!h});return l.createElement("li",Object.assign({},u,{className:m}),s&&l.createElement("div",{className:`${g}-item-label`},s),l.createElement("div",{className:`${g}-item-tail`}),l.createElement("div",{className:y,style:{borderColor:h,color:h}},a),l.createElement("div",{className:`${g}-item-content`},c))};var oj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,pending:r=!1,children:a,items:o,rootClassName:i,reverse:s=!1,direction:c,hashId:u,pendingDot:f,mode:g=""}=e,m=oj(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const h=(E,_)=>g==="alternate"?E==="right"?`${t}-item-right`:E==="left"?`${t}-item-left`:_%2===0?`${t}-item-left`:`${t}-item-right`:g==="left"?`${t}-item-left`:g==="right"?`${t}-item-right`:E==="right"?`${t}-item-right`:"",y=Ze(o||[]),x=typeof r=="boolean"?null:r;r&&y.push({pending:!!r,dot:f||l.createElement(_i,null),children:x}),s&&y.reverse();const b=y.length,C=`${t}-item-last`,S=y.filter(E=>!!E).map((E,_)=>{var R;const N=_===b-2?C:"",O=_===b-1?C:"",{className:$}=E,A=oj(E,["className"]);return l.createElement(CK,Object.assign({},A,{className:ce([$,!s&&r?N:O,h((R=E==null?void 0:E.position)!==null&&R!==void 0?R:"",_)]),key:(E==null?void 0:E.key)||_}))}),w=y.some(E=>!!(E!=null&&E.label)),I=ce(t,{[`${t}-pending`]:!!r,[`${t}-reverse`]:!!s,[`${t}-${g}`]:!!g&&!w,[`${t}-label`]:w,[`${t}-rtl`]:c==="rtl"},n,i,u);return l.createElement("ul",Object.assign({},m,{className:I}),S)};function LRe(e,t){return e&&Array.isArray(e)?e:aa(t).map(n=>{var r,a;return Object.assign({children:(a=(r=n==null?void 0:n.props)===null||r===void 0?void 0:r.children)!==null&&a!==void 0?a:""},n.props)})}var jRe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,timeline:r}=l.useContext(Wt),{prefixCls:a,children:o,items:i,className:s,style:c}=e,u=jRe(e,["prefixCls","children","items","className","style"]),f=t("timeline",a),g=Hr(f),[m,h,y]=PRe(f,g),x=LRe(i,o);return m(l.createElement(MRe,Object.assign({},u,{className:ce(r==null?void 0:r.className,s,y,g),style:Object.assign(Object.assign({},r==null?void 0:r.style),c),prefixCls:f,direction:n,items:x,hashId:h})))};eA.Item=CK;const FRe=function(e){var t=l.useRef({valueLabels:new Map});return l.useMemo(function(){var n=t.current.valueLabels,r=new Map,a=e.map(function(o){var i=o.value,s=o.label,c=s??n.get(i);return r.set(i,c),se(se({},o),{},{label:c})});return t.current.valueLabels=r,[a]},[e])};var BRe=function(t,n,r,a){return l.useMemo(function(){var o=function(h){return h.map(function(y){var x=y.value;return x})},i=o(t),s=o(n),c=i.filter(function(m){return!a[m]}),u=i,f=s;if(r){var g=el(i,!0,a);u=g.checkedKeys,f=g.halfCheckedKeys}return[Array.from(new Set([].concat(Ze(c),Ze(u)))),f]},[t,n,r,a])},zRe=function(t){return Array.isArray(t)?t:t!==void 0?[t]:[]},HRe=function(t){var n=t||{},r=n.label,a=n.value,o=n.children;return{_title:r?[r]:["title","label"],value:a||"value",key:a||"value",children:o||"children"}},RO=function(t){return!t||t.disabled||t.disableCheckbox||t.checkable===!1},URe=function(t,n){var r=[],a=function o(i){i.forEach(function(s){var c=s[n.children];c&&(r.push(s[n.value]),o(c))})};return a(t),r},ij=function(t){return t==null};const VRe=function(e,t){return l.useMemo(function(){var n=$y(e,{fieldNames:t,initWrapper:function(a){return se(se({},a),{},{valueEntities:new Map})},processEntity:function(a,o){var i=a.node[t.value];o.valueEntities.set(i,a)}});return n},[e,t])};var tA=function(){return null},WRe=["children","value"];function wK(e){return aa(e).map(function(t){if(!l.isValidElement(t)||!t.type)return null;var n=t,r=n.key,a=n.props,o=a.children,i=a.value,s=Bt(a,WRe),c=se({key:r,value:i},s),u=wK(o);return u.length&&(c.children=u),c}).filter(function(t){return t})}function OO(e){if(!e)return e;var t=se({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return ar(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function GRe(e,t,n,r,a,o){var i=null,s=null;function c(){function u(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return f.map(function(h,y){var x="".concat(g,"-").concat(y),b=h[o.value],C=n.includes(b),S=u(h[o.children]||[],x,C),w=l.createElement(tA,h,S.map(function(E){return E.node}));if(t===b&&(i=w),C){var I={pos:x,node:w,children:S};return m||s.push(I),I}return null}).filter(function(h){return h})}s||(s=[],u(r),s.sort(function(f,g){var m=f.node.props.value,h=g.node.props.value,y=n.indexOf(m),x=n.indexOf(h);return y-x}))}Object.defineProperty(e,"triggerNode",{get:function(){return ar(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),i}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return ar(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),a?s:s.map(function(f){var g=f.node;return g})}})}var qRe=function(t,n,r){var a=r.fieldNames,o=r.treeNodeFilterProp,i=r.filterTreeNode,s=a.children;return l.useMemo(function(){if(!n||i===!1)return t;var c=typeof i=="function"?i:function(f,g){return String(g[o]).toUpperCase().includes(n.toUpperCase())},u=function f(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return g.reduce(function(h,y){var x=y[s],b=m||c(n,OO(y)),C=f(x||[],b);return(b||C.length)&&h.push(se(se({},y),{},re({isLeaf:void 0},s,C))),h},[])};return u(t)},[t,n,s,o,i])};function sj(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function KRe(e,t){var n=t.id,r=t.pId,a=t.rootPId,o=new Map,i=[];return e.forEach(function(s){var c=s[n],u=se(se({},s),{},{key:s.key||c});o.set(c,u)}),o.forEach(function(s){var c=s[r],u=o.get(c);u?(u.children=u.children||[],u.children.push(s)):(c===a||a===null)&&i.push(s)}),i}function YRe(e,t,n){return l.useMemo(function(){if(e){if(n){var r=se({id:"id",pId:"pId",rootPId:null},Pt(n)==="object"?n:{});return KRe(e,r)}return e}return wK(t)},[t,n,e])}var EK=l.createContext(null),IK=l.createContext(null),XRe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ZRe=function(t,n){var r=wV(),a=r.prefixCls,o=r.multiple,i=r.searchValue,s=r.toggleOpen,c=r.open,u=r.notFoundContent,f=l.useContext(IK),g=f.virtual,m=f.listHeight,h=f.listItemHeight,y=f.listItemScrollOffset,x=f.treeData,b=f.fieldNames,C=f.onSelect,S=f.dropdownMatchSelectWidth,w=f.treeExpandAction,I=f.treeTitleRender,E=f.onPopupScroll,_=f.leftMaxCount,R=f.leafCountOnly,N=f.valueEntities,O=l.useContext(EK),$=O.checkable,A=O.checkedKeys,B=O.halfCheckedKeys,j=O.treeExpandedKeys,F=O.treeDefaultExpandAll,D=O.treeDefaultExpandedKeys,k=O.onTreeExpand,M=O.treeIcon,L=O.showTreeIcon,H=O.switcherIcon,U=O.treeLine,z=O.treeNodeFilterProp,W=O.loadData,q=O.treeLoadedKeys,K=O.treeMotion,G=O.onTreeLoad,X=O.keyEntities,Z=l.useRef(),J=tl(function(){return x},[c,x],function(Je,Qe){return Qe[0]&&Je[1]!==Qe[1]}),ne=l.useMemo(function(){return $?{checked:A,halfChecked:B}:null},[$,A,B]);l.useEffect(function(){if(c&&!o&&A.length){var Je;(Je=Z.current)===null||Je===void 0||Je.scrollTo({key:A[0]})}},[c]);var Q=function(Qe){Qe.preventDefault()},ee=function(Qe,ut){var xe=ut.node;$&&RO(xe)||(C(xe.key,{selected:!A.includes(xe.key)}),o||s(!1))},te=l.useState(D),oe=ye(te,2),le=oe[0],fe=oe[1],ue=l.useState(null),we=ye(ue,2),pe=we[0],ve=we[1],Ce=l.useMemo(function(){return j?Ze(j):i?pe:le},[le,pe,j,i]),me=function(Qe){fe(Qe),ve(Qe),k&&k(Qe)},ie=String(i).toLowerCase(),he=function(Qe){return ie?String(Qe[z]).toLowerCase().includes(ie):!1};l.useEffect(function(){i&&ve(URe(x,b))},[i]);var Se=l.useState(function(){return new Map}),_e=ye(Se,2),$e=_e[0],ze=_e[1];l.useEffect(function(){_&&ze(new Map)},[_]);function Fe(Je){var Qe=Je[b.value];if(!$e.has(Qe)){var ut=N.get(Qe),xe=(ut.children||[]).length===0;if(xe)$e.set(Qe,!1);else{var be=ut.children.filter(function(ke){return!ke.node.disabled&&!ke.node.disableCheckbox&&!A.includes(ke.node[b.value])}),Ee=be.length;$e.set(Qe,Ee>_)}}return $e.get(Qe)}var je=En(function(Je){var Qe=Je[b.value];return A.includes(Qe)||_===null?!1:_<=0?!0:R&&_?Fe(Je):!1}),qe=function Je(Qe){var ut=aCe(Qe),xe;try{for(ut.s();!(xe=ut.n()).done;){var be=xe.value;if(!(be.disabled||be.selectable===!1)){if(i){if(he(be))return be}else return be;if(be[b.children]){var Ee=Je(be[b.children]);if(Ee)return Ee}}}}catch(ke){ut.e(ke)}finally{ut.f()}return null},Ue=l.useState(null),Ne=ye(Ue,2),Ye=Ne[0],Re=Ne[1],Ae=X[Ye];l.useEffect(function(){if(c){var Je=null,Qe=function(){var xe=qe(J);return xe?xe[b.value]:null};!o&&A.length&&!i?Je=A[0]:Je=Qe(),Re(Je)}},[c,i]),l.useImperativeHandle(n,function(){var Je;return{scrollTo:(Je=Z.current)===null||Je===void 0?void 0:Je.scrollTo,onKeyDown:function(ut){var xe,be=ut.which;switch(be){case pt.UP:case pt.DOWN:case pt.LEFT:case pt.RIGHT:(xe=Z.current)===null||xe===void 0||xe.onKeyDown(ut);break;case pt.ENTER:{if(Ae){var Ee=je(Ae.node),ke=(Ae==null?void 0:Ae.node)||{},et=ke.selectable,Be=ke.value,Ke=ke.disabled;et!==!1&&!Ke&&!Ee&&ee(null,{node:{key:Ye},selected:!A.includes(Be)})}break}case pt.ESC:s(!1)}},onKeyUp:function(){}}});var Le=tl(function(){return!i},[i,j||le],function(Je,Qe){var ut=ye(Je,1),xe=ut[0],be=ye(Qe,2),Ee=be[0],ke=be[1];return xe!==Ee&&!!(Ee||ke)}),Te=Le?W:null;if(J.length===0)return l.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:Q},u);var Ve={fieldNames:b};return q&&(Ve.loadedKeys=q),Ce&&(Ve.expandedKeys=Ce),l.createElement("div",{onMouseDown:Q},Ae&&c&&l.createElement("span",{style:XRe,"aria-live":"assertive"},Ae.node.value),l.createElement(iK.Provider,{value:{nodeDisabled:je}},l.createElement(zy,Ie({ref:Z,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:J,height:m,itemHeight:h,itemScrollOffset:y,virtual:g!==!1&&S!==!1,multiple:o,icon:M,showIcon:L,switcherIcon:H,showLine:U,loadData:Te,motion:K,activeKey:Ye,checkable:$,checkStrictly:!0,checkedKeys:ne,selectedKeys:$?[]:A,defaultExpandAll:F,titleRender:I},Ve,{onActiveChange:Re,onSelect:ee,onCheck:ee,onExpand:me,onLoad:G,filterTreeNode:he,expandAction:w,onScroll:E}))))},JRe=l.forwardRef(ZRe),nA="SHOW_ALL",rA="SHOW_PARENT",Hy="SHOW_CHILD";function lj(e,t,n,r){var a=new Set(e);return t===Hy?e.filter(function(o){var i=n[o];return!i||!i.children||!i.children.some(function(s){var c=s.node;return a.has(c[r.value])})||!i.children.every(function(s){var c=s.node;return RO(c)||a.has(c[r.value])})}):t===rA?e.filter(function(o){var i=n[o],s=i?i.parent:null;return!s||RO(s.node)||!a.has(s.key)}):e}var QRe=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function eOe(e){return!e||Pt(e)!=="object"}var tOe=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tree-select":r,o=e.value,i=e.defaultValue,s=e.onChange,c=e.onSelect,u=e.onDeselect,f=e.searchValue,g=e.inputValue,m=e.onSearch,h=e.autoClearSearchValue,y=h===void 0?!0:h,x=e.filterTreeNode,b=e.treeNodeFilterProp,C=b===void 0?"value":b,S=e.showCheckedStrategy,w=e.treeNodeLabelProp,I=e.multiple,E=e.treeCheckable,_=e.treeCheckStrictly,R=e.labelInValue,N=e.maxCount,O=e.fieldNames,$=e.treeDataSimpleMode,A=e.treeData,B=e.children,j=e.loadData,F=e.treeLoadedKeys,D=e.onTreeLoad,k=e.treeDefaultExpandAll,M=e.treeExpandedKeys,L=e.treeDefaultExpandedKeys,H=e.onTreeExpand,U=e.treeExpandAction,z=e.virtual,W=e.listHeight,q=W===void 0?200:W,K=e.listItemHeight,G=K===void 0?20:K,X=e.listItemScrollOffset,Z=X===void 0?0:X,J=e.onDropdownVisibleChange,ne=e.dropdownMatchSelectWidth,Q=ne===void 0?!0:ne,ee=e.treeLine,te=e.treeIcon,oe=e.showTreeIcon,le=e.switcherIcon,fe=e.treeMotion,ue=e.treeTitleRender,we=e.onPopupScroll,pe=Bt(e,QRe),ve=DV(n),Ce=E&&!_,me=E||_,ie=_||R,he=me||I,Se=Vn(i,{value:o}),_e=ye(Se,2),$e=_e[0],ze=_e[1],Fe=l.useMemo(function(){return E?S||Hy:nA},[S,E]),je=l.useMemo(function(){return HRe(O)},[JSON.stringify(O)]),qe=Vn("",{value:f!==void 0?f:g,postState:function(qt){return qt||""}}),Ue=ye(qe,2),Ne=Ue[0],Ye=Ue[1],Re=function(qt){Ye(qt),m==null||m(qt)},Ae=YRe(A,B,$),Le=VRe(Ae,je),Te=Le.keyEntities,Ve=Le.valueEntities,Je=l.useCallback(function(Ft){var qt=[],Jt=[];return Ft.forEach(function(st){Ve.has(st)?Jt.push(st):qt.push(st)}),{missingRawValues:qt,existRawValues:Jt}},[Ve]),Qe=qRe(Ae,Ne,{fieldNames:je,treeNodeFilterProp:C,filterTreeNode:x}),ut=l.useCallback(function(Ft){if(Ft){if(w)return Ft[w];for(var qt=je._title,Jt=0;JtRt)){var Ct=be(Ft);if(ze(Ct),y&&Ye(""),s){var ot=Ft;Ce&&(ot=st.map(function(Mn){var $n=Ve.get(Mn);return $n?$n.node[je.value]:Mn}));var We=qt||{triggerValue:void 0,selected:void 0},dt=We.triggerValue,Ot=We.selected,Zt=ot;if(_){var yn=Ke.filter(function(Mn){return!ot.includes(Mn.value)});Zt=[].concat(Ze(Zt),Ze(yn))}var Nt=be(Zt),At={preValue:Be,triggerValue:dt},Xt=!0;(_||Jt==="selection"&&!Ot)&&(Xt=!1),GRe(At,dt,Ft,Ae,Xt,je),me?At.checked=Ot:At.selected=Ot;var ln=ie?Nt:Nt.map(function(Mn){return Mn.value});s(he?ln:ln[0],ie?null:Nt.map(function(Mn){return Mn.label}),At)}}}),jt=l.useCallback(function(Ft,qt){var Jt,st=qt.selected,Ct=qt.source,ot=Te[Ft],We=ot==null?void 0:ot.node,dt=(Jt=We==null?void 0:We[je.value])!==null&&Jt!==void 0?Jt:Ft;if(!he)_t([dt],{selected:!0,triggerValue:dt},"option");else{var Ot=st?[].concat(Ze(Ge),[dt]):tt.filter(function($n){return $n!==dt});if(Ce){var Zt=Je(Ot),yn=Zt.missingRawValues,Nt=Zt.existRawValues,At=Nt.map(function($n){return Ve.get($n).key}),Xt;if(st){var ln=el(At,!0,Te);Xt=ln.checkedKeys}else{var Mn=el(At,{halfCheckedKeys:ct},Te);Xt=Mn.checkedKeys}Ot=[].concat(Ze(yn),Ze(Xt.map(function($n){return Te[$n].node[je.value]})))}_t(Ot,{selected:st,triggerValue:dt},Ct||"option")}st||!he?c==null||c(dt,OO(We)):u==null||u(dt,OO(We))},[Je,Ve,Te,je,he,Ge,_t,Ce,c,u,tt,ct,N]),zt=l.useCallback(function(Ft){if(J){var qt={};Object.defineProperty(qt,"documentClickClose",{get:function(){return ar(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),J(Ft,qt)}},[J]),en=sj(function(Ft,qt){var Jt=Ft.map(function(st){return st.value});if(qt.type==="clear"){_t(Jt,{},"selection");return}qt.values.length&&jt(qt.values[0].value,{selected:!1,source:"selection"})}),gn=l.useMemo(function(){return{virtual:z,dropdownMatchSelectWidth:Q,listHeight:q,listItemHeight:G,listItemScrollOffset:Z,treeData:Qe,fieldNames:je,onSelect:jt,treeExpandAction:U,treeTitleRender:ue,onPopupScroll:we,leftMaxCount:N===void 0?null:N-Dt.length,leafCountOnly:Fe==="SHOW_CHILD"&&!_&&!!E,valueEntities:Ve}},[z,Q,q,G,Z,Qe,je,jt,U,ue,we,N,Dt.length,Fe,_,E,Ve]),on=l.useMemo(function(){return{checkable:me,loadData:j,treeLoadedKeys:F,onTreeLoad:D,checkedKeys:tt,halfCheckedKeys:ct,treeDefaultExpandAll:k,treeExpandedKeys:M,treeDefaultExpandedKeys:L,onTreeExpand:H,treeIcon:te,treeMotion:fe,showTreeIcon:oe,switcherIcon:le,treeLine:ee,treeNodeFilterProp:C,keyEntities:Te}},[me,j,F,D,tt,ct,k,M,L,H,te,fe,oe,le,ee,C,Te]);return l.createElement(IK.Provider,{value:gn},l.createElement(EK.Provider,{value:on},l.createElement(AV,Ie({ref:t},pe,{id:ve,prefixCls:a,mode:he?"multiple":void 0,displayValues:Dt,onDisplayValuesChange:en,searchValue:Ne,onSearch:Re,OptionList:JRe,emptyOptions:!Ae.length,onDropdownVisibleChange:zt,dropdownMatchSelectWidth:Q}))))}),Vm=tOe;Vm.TreeNode=tA;Vm.SHOW_ALL=nA;Vm.SHOW_PARENT=rA;Vm.SHOW_CHILD=Hy;const nOe=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${ae(e.paddingXS)} ${ae(e.calc(e.paddingXS).div(2).equal())}`},uK(n,fn(e,{colorBgContainer:r}),!1),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},wN(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function rOe(e,t,n){return Nn("TreeSelect",r=>{const a=fn(r,{treePrefixCls:t});return[nOe(a)]},dK)(e,n)}var aOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,size:a,disabled:o,bordered:i=!0,className:s,rootClassName:c,treeCheckable:u,multiple:f,listHeight:g=256,listItemHeight:m,placement:h,notFoundContent:y,switcherIcon:x,treeLine:b,getPopupContainer:C,popupClassName:S,dropdownClassName:w,treeIcon:I=!1,transitionName:E,choiceTransitionName:_="",status:R,treeExpandAction:N,builtinPlacements:O,dropdownMatchSelectWidth:$,popupMatchSelectWidth:A,allowClear:B,variant:j,dropdownStyle:F,tagRender:D,maxCount:k,showCheckedStrategy:M,treeCheckStrictly:L}=e,H=aOe(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:U,getPrefixCls:z,renderEmpty:W,direction:q,virtual:K,popupMatchSelectWidth:G,popupOverflow:X}=l.useContext(Wt),[,Z]=ba(),J=m??(Z==null?void 0:Z.controlHeightSM)+(Z==null?void 0:Z.paddingXXS),ne=z(),Q=z("select",r),ee=z("select-tree",r),te=z("tree-select",r),{compactSize:oe,compactItemClassnames:le}=Os(Q,q),fe=Hr(Q),ue=Hr(te),[we,pe,ve]=WV(Q,fe),[Ce]=rOe(te,ee,ue),[me,ie]=hc("treeSelect",j,i),he=ce(S||w,`${te}-dropdown`,{[`${te}-dropdown-rtl`]:q==="rtl"},c,ve,fe,ue,pe),Se=!!(u||f),_e=l.useMemo(()=>{if(!(k&&(M==="SHOW_ALL"&&!L||M==="SHOW_PARENT")))return k},[k,M,L]),$e=GV(e.suffixIcon,e.showArrow),ze=(n=A??$)!==null&&n!==void 0?n:G,{status:Fe,hasFeedback:je,isFormItemInput:qe,feedbackIcon:Ue}=l.useContext(Ta),Ne=mc(Fe,R),{suffixIcon:Ye,removeIcon:Re,clearIcon:Ae}=X$(Object.assign(Object.assign({},H),{multiple:Se,showSuffixIcon:$e,hasFeedback:je,feedbackIcon:Ue,prefixCls:Q,componentName:"TreeSelect"})),Le=B===!0?{clearIcon:Ae}:B;let Te;y!==void 0?Te=y:Te=(W==null?void 0:W("Select"))||l.createElement(gy,{componentName:"Select"});const Ve=or(H,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Je=l.useMemo(()=>h!==void 0?h:q==="rtl"?"bottomRight":"bottomLeft",[h,q]),Qe=da(Be=>{var Ke;return(Ke=a??oe)!==null&&Ke!==void 0?Ke:Be}),ut=l.useContext(za),xe=o??ut,be=ce(!r&&te,{[`${Q}-lg`]:Qe==="large",[`${Q}-sm`]:Qe==="small",[`${Q}-rtl`]:q==="rtl",[`${Q}-${me}`]:ie,[`${Q}-in-form-item`]:qe},rl(Q,Ne,je),le,s,c,ve,fe,ue,pe),Ee=Be=>l.createElement(fK,{prefixCls:ee,switcherIcon:x,treeNodeProps:Be,showLine:b}),[ke]=es("SelectLike",F==null?void 0:F.zIndex),et=l.createElement(Vm,Object.assign({virtual:K,disabled:xe},Ve,{dropdownMatchSelectWidth:ze,builtinPlacements:FV(O,X),ref:t,prefixCls:Q,className:be,listHeight:g,listItemHeight:J,treeCheckable:u&&l.createElement("span",{className:`${Q}-tree-checkbox-inner`}),treeLine:!!b,suffixIcon:Ye,multiple:Se,placement:Je,removeIcon:Re,allowClear:Le,switcherIcon:Ee,showTreeIcon:I,notFoundContent:Te,getPopupContainer:C||U,treeMotion:null,dropdownClassName:he,dropdownStyle:Object.assign(Object.assign({},F),{zIndex:ke}),choiceTransitionName:lo(ne,"",_),transitionName:lo(ne,"slide-up",E),treeExpandAction:N,tagRender:Se?D:void 0,maxCount:_e,showCheckedStrategy:M,treeCheckStrictly:L}));return we(Ce(et))},iOe=l.forwardRef(oOe),xc=iOe,sOe=Rm(xc,"dropdownAlign",e=>or(e,["visible"]));xc.TreeNode=tA;xc.SHOW_ALL=nA;xc.SHOW_PARENT=rA;xc.SHOW_CHILD=Hy;xc._InternalPanelDoNotUseOrYouWillBeFired=sOe;const lOe=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:o}=r;return{marginBottom:a,color:n,fontWeight:o,fontSize:e,lineHeight:t}},cOe=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + h${r}&, + div&-h${r}, + div&-h${r} > textarea, + h${r} + `]=lOe(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},uOe=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},$$(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},dOe=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:qb[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),fOe=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${ae(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},pOe=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),gOe=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),mOe=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger`]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},cOe(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),dOe(e)),uOe(e)),{[` + ${t}-expand, + ${t}-collapse, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},$$(e)),{marginInlineStart:e.marginXXS})}),fOe(e)),pOe(e)),gOe()),{"&-rtl":{direction:"rtl"}})}},hOe=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),_K=Nn("Typography",e=>[mOe(e)],hOe),vOe=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:o,maxLength:i,autoSize:s=!0,value:c,onSave:u,onCancel:f,onEnd:g,component:m,enterIcon:h=l.createElement(wwe,null)}=e,y=l.useRef(null),x=l.useRef(!1),b=l.useRef(null),[C,S]=l.useState(c);l.useEffect(()=>{S(c)},[c]),l.useEffect(()=>{var F;if(!((F=y.current)===null||F===void 0)&&F.resizableTextArea){const{textArea:D}=y.current.resizableTextArea;D.focus();const{length:k}=D.value;D.setSelectionRange(k,k)}},[]);const w=F=>{let{target:D}=F;S(D.value.replace(/[\n\r]/g,""))},I=()=>{x.current=!0},E=()=>{x.current=!1},_=F=>{let{keyCode:D}=F;x.current||(b.current=D)},R=()=>{u(C.trim())},N=F=>{let{keyCode:D,ctrlKey:k,altKey:M,metaKey:L,shiftKey:H}=F;b.current!==D||x.current||k||M||L||H||(D===pt.ENTER?(R(),g==null||g()):D===pt.ESC&&f())},O=()=>{R()},[$,A,B]=_K(t),j=ce(t,`${t}-edit-content`,{[`${t}-rtl`]:o==="rtl",[`${t}-${m}`]:!!m},r,A,B);return $(l.createElement("div",{className:j,style:a},l.createElement(pq,{ref:y,maxLength:i,value:C,onChange:w,onKeyDown:_,onKeyUp:N,onCompositionStart:I,onCompositionEnd:E,onBlur:O,"aria-label":n,rows:1,autoSize:s}),h!==null?oa(h,{className:`${t}-edit-content-confirm`}):null))};var sC,cj;function bOe(){return cj||(cj=1,sC=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var b=t[i.format]||t.default;window.clipboardData.setData(b,o)}else x.clipboardData.clearData(),x.clipboardData.setData(i.format,o);i.onCopy&&(x.preventDefault(),i.onCopy(x.clipboardData))}),document.body.appendChild(m),f.selectNodeContents(m),g.addRange(f);var y=document.execCommand("copy");if(!y)throw new Error("copy command was unsuccessful");h=!0}catch(x){s&&console.error("unable to copy using execCommand: ",x),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(i.format||"text",o),i.onCopy&&i.onCopy(window.clipboardData),h=!0}catch(b){s&&console.error("unable to copy using clipboardData: ",b),s&&console.error("falling back to prompt"),c=r("message"in i?i.message:n),window.prompt(c,o)}}finally{g&&(typeof g.removeRange=="function"?g.removeRange(f):g.removeAllRanges()),m&&document.body.removeChild(m),u()}return h}return lC=a,lC}var xOe=yOe();const SOe=co(xOe);var COe=function(e,t,n,r){function a(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function s(f){try{u(r.next(f))}catch(g){i(g)}}function c(f){try{u(r.throw(f))}catch(g){i(g)}}function u(f){f.done?o(f.value):a(f.value).then(s,c)}u((r=r.apply(e,t||[])).next())})};const wOe=e=>{let{copyConfig:t,children:n}=e;const[r,a]=l.useState(!1),[o,i]=l.useState(!1),s=l.useRef(null),c=()=>{s.current&&clearTimeout(s.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>c,[]);const f=En(g=>COe(void 0,void 0,void 0,function*(){var m;g==null||g.preventDefault(),g==null||g.stopPropagation(),i(!0);try{const h=typeof t.text=="function"?yield t.text():t.text;SOe(h||C1e(n,!0).join("")||"",u),i(!1),a(!0),c(),s.current=setTimeout(()=>{a(!1)},3e3),(m=t.onCopy)===null||m===void 0||m.call(t,g)}catch(h){throw i(!1),h}}));return{copied:r,copyLoading:o,onClick:f}};function cC(e,t){return l.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const EOe=e=>{const t=l.useRef(void 0);return l.useEffect(()=>{t.current=e}),t.current},IOe=(e,t,n)=>l.useMemo(()=>e===!0?{title:t??n}:l.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??n},e):{title:e},[e,t,n]);var _Oe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,component:r="article",className:a,rootClassName:o,setContentRef:i,children:s,direction:c,style:u}=e,f=_Oe(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:g,direction:m,className:h,style:y}=ia("typography"),x=c??m,b=i?Ua(t,i):t,C=g("typography",n),[S,w,I]=_K(C),E=ce(C,h,{[`${C}-rtl`]:x==="rtl"},a,o,w,I),_=Object.assign(Object.assign({},y),u);return S(l.createElement(r,Object.assign({className:E,style:_,ref:b},f),s))});function dj(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function uC(e,t,n){return e===!0||e===void 0?t:e||n&&t}function TOe(e){const t=document.createElement("em");e.appendChild(t);const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}const aA=e=>["string","number"].includes(typeof e),ROe=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:o,icon:i,tabIndex:s,onCopy:c,loading:u}=e;const f=dj(o),g=dj(i),{copied:m,copy:h}=r??{},y=n?m:h,x=uC(f[n?1:0],y),b=typeof x=="string"?x:y;return l.createElement(nn,{title:x},l.createElement("button",{type:"button",className:ce(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:c,"aria-label":b,tabIndex:s},n?uC(g[1],l.createElement(Pf,null),!0):uC(g[0],u?l.createElement(_i,null):l.createElement(Ly,null),!0)))},Nv=l.forwardRef((e,t)=>{let{style:n,children:r}=e;const a=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{const o=a.current;return o.scrollHeight>o.clientHeight},getHeight:()=>a.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)}),OOe=e=>e.reduce((t,n)=>t+(aA(n)?String(n).length:1),0);function fj(e,t){let n=0;const r=[];for(let a=0;at){const u=t-n;return r.push(String(o).slice(0,u)),r}r.push(o),n=c}return e}const dC=0,fC=1,pC=2,gC=3,pj=4,Av={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function $Oe(e){const{enableMeasure:t,width:n,text:r,children:a,rows:o,expanded:i,miscDeps:s,onEllipsis:c}=e,u=l.useMemo(()=>aa(r),[r]),f=l.useMemo(()=>OOe(u),[r]),g=l.useMemo(()=>a(u,!1),[r]),[m,h]=l.useState(null),y=l.useRef(null),x=l.useRef(null),b=l.useRef(null),C=l.useRef(null),S=l.useRef(null),[w,I]=l.useState(!1),[E,_]=l.useState(dC),[R,N]=l.useState(0),[O,$]=l.useState(null);Rn(()=>{_(t&&n&&f?fC:dC)},[n,r,o,t,u]),Rn(()=>{var F,D,k,M;if(E===fC){_(pC);const L=x.current&&getComputedStyle(x.current).whiteSpace;$(L)}else if(E===pC){const L=!!(!((F=b.current)===null||F===void 0)&&F.isExceed());_(L?gC:pj),h(L?[0,f]:null),I(L);const H=((D=b.current)===null||D===void 0?void 0:D.getHeight())||0,U=o===1?0:((k=C.current)===null||k===void 0?void 0:k.getHeight())||0,z=((M=S.current)===null||M===void 0?void 0:M.getHeight())||0,W=Math.max(H,U+z);N(W+1),c(L)}},[E]);const A=m?Math.ceil((m[0]+m[1])/2):0;Rn(()=>{var F;const[D,k]=m||[0,0];if(D!==k){const L=(((F=y.current)===null||F===void 0?void 0:F.getHeight())||0)>R;let H=A;k-D===1&&(H=L?D:k),h(L?[D,H]:[H,k])}},[m,A]);const B=l.useMemo(()=>{if(!t)return a(u,!1);if(E!==gC||!m||m[0]!==m[1]){const F=a(u,!1);return[pj,dC].includes(E)?F:l.createElement("span",{style:Object.assign(Object.assign({},Av),{WebkitLineClamp:o})},F)}return a(i?u:fj(u,m[0]),w)},[i,E,m,u].concat(Ze(s))),j={width:n,margin:0,padding:0,whiteSpace:O==="nowrap"?"normal":"inherit"};return l.createElement(l.Fragment,null,B,E===pC&&l.createElement(l.Fragment,null,l.createElement(Nv,{style:Object.assign(Object.assign(Object.assign({},j),Av),{WebkitLineClamp:o}),ref:b},g),l.createElement(Nv,{style:Object.assign(Object.assign(Object.assign({},j),Av),{WebkitLineClamp:o-1}),ref:C},g),l.createElement(Nv,{style:Object.assign(Object.assign(Object.assign({},j),Av),{WebkitLineClamp:1}),ref:S},a([],!0))),E===gC&&m&&m[0]!==m[1]&&l.createElement(Nv,{style:Object.assign(Object.assign({},j),{top:400}),ref:y},a(fj(u,A),!0)),E===fC&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:x}))}const NOe=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:l.createElement(nn,Object.assign({open:n?void 0:!1},a),r)};var AOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,style:o,type:i,disabled:s,children:c,ellipsis:u,editable:f,copyable:g,component:m,title:h}=e,y=AOe(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:x,direction:b}=l.useContext(Wt),[C]=ni("Text"),S=l.useRef(null),w=l.useRef(null),I=x("typography",r),E=or(y,["mark","code","delete","underline","strong","keyboard","italic"]),[_,R]=cC(f),[N,O]=Vn(!1,{value:R.editing}),{triggerType:$=["icon"]}=R,A=Le=>{var Te;Le&&((Te=R.onStart)===null||Te===void 0||Te.call(R)),O(Le)},B=EOe(N);Rn(()=>{var Le;!N&&B&&((Le=w.current)===null||Le===void 0||Le.focus())},[N]);const j=Le=>{Le==null||Le.preventDefault(),A(!0)},F=Le=>{var Te;(Te=R.onChange)===null||Te===void 0||Te.call(R,Le),A(!1)},D=()=>{var Le;(Le=R.onCancel)===null||Le===void 0||Le.call(R),A(!1)},[k,M]=cC(g),{copied:L,copyLoading:H,onClick:U}=wOe({copyConfig:M,children:c}),[z,W]=l.useState(!1),[q,K]=l.useState(!1),[G,X]=l.useState(!1),[Z,J]=l.useState(!1),[ne,Q]=l.useState(!0),[ee,te]=cC(u,{expandable:!1,symbol:Le=>Le?C==null?void 0:C.collapse:C==null?void 0:C.expand}),[oe,le]=Vn(te.defaultExpanded||!1,{value:te.expanded}),fe=ee&&(!oe||te.expandable==="collapsible"),{rows:ue=1}=te,we=l.useMemo(()=>fe&&(te.suffix!==void 0||te.onEllipsis||te.expandable||_||k),[fe,te,_,k]);Rn(()=>{ee&&!we&&(W(WR("webkitLineClamp")),K(WR("textOverflow")))},[we,ee]);const[pe,ve]=l.useState(fe),Ce=l.useMemo(()=>we?!1:ue===1?q:z,[we,q,z]);Rn(()=>{ve(Ce&&fe)},[Ce,fe]);const me=fe&&(pe?Z:G),ie=fe&&ue===1&&pe,he=fe&&ue>1&&pe,Se=(Le,Te)=>{var Ve;le(Te.expanded),(Ve=te.onExpand)===null||Ve===void 0||Ve.call(te,Le,Te)},[_e,$e]=l.useState(0),ze=Le=>{let{offsetWidth:Te}=Le;$e(Te)},Fe=Le=>{var Te;X(Le),G!==Le&&((Te=te.onEllipsis)===null||Te===void 0||Te.call(te,Le))};l.useEffect(()=>{const Le=S.current;if(ee&&pe&&Le){const Te=TOe(Le);Z!==Te&&J(Te)}},[ee,pe,c,he,ne,_e]),l.useEffect(()=>{const Le=S.current;if(typeof IntersectionObserver>"u"||!Le||!pe||!fe)return;const Te=new IntersectionObserver(()=>{Q(!!Le.offsetParent)});return Te.observe(Le),()=>{Te.disconnect()}},[pe,fe]);const je=IOe(te.tooltip,R.text,c),qe=l.useMemo(()=>{if(!(!ee||pe))return[R.text,c,h,je.title].find(aA)},[ee,pe,h,je.title,me]);if(N)return l.createElement(vOe,{value:(n=R.text)!==null&&n!==void 0?n:typeof c=="string"?c:"",onSave:F,onCancel:D,onEnd:R.onEnd,prefixCls:I,className:a,style:o,direction:b,component:m,maxLength:R.maxLength,autoSize:R.autoSize,enterIcon:R.enterIcon});const Ue=()=>{const{expandable:Le,symbol:Te}=te;return Le?l.createElement("button",{type:"button",key:"expand",className:`${I}-${oe?"collapse":"expand"}`,onClick:Ve=>Se(Ve,{expanded:!oe}),"aria-label":oe?C.collapse:C==null?void 0:C.expand},typeof Te=="function"?Te(oe):Te):null},Ne=()=>{if(!_)return;const{icon:Le,tooltip:Te,tabIndex:Ve}=R,Je=aa(Te)[0]||(C==null?void 0:C.edit),Qe=typeof Je=="string"?Je:"";return $.includes("icon")?l.createElement(nn,{key:"edit",title:Te===!1?"":Je},l.createElement("button",{type:"button",ref:w,className:`${I}-edit`,onClick:j,"aria-label":Qe,tabIndex:Ve},Le||l.createElement(ol,{role:"button"}))):null},Ye=()=>k?l.createElement(ROe,Object.assign({key:"copy"},M,{prefixCls:I,copied:L,locale:C,onCopy:U,loading:H,iconOnly:c==null})):null,Re=Le=>[Le&&Ue(),Ne(),Ye()],Ae=Le=>[Le&&!oe&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},POe),te.suffix,Re(Le)];return l.createElement(Xa,{onResize:ze,disabled:!fe},Le=>l.createElement(NOe,{tooltipProps:je,enableEllipsis:fe,isEllipsis:me},l.createElement(TK,Object.assign({className:ce({[`${I}-${i}`]:i,[`${I}-disabled`]:s,[`${I}-ellipsis`]:ee,[`${I}-ellipsis-single-line`]:ie,[`${I}-ellipsis-multiple-line`]:he},a),prefixCls:r,style:Object.assign(Object.assign({},o),{WebkitLineClamp:he?ue:void 0}),component:m,ref:Ua(Le,S,t),direction:b,onClick:$.includes("text")?j:void 0,"aria-label":qe==null?void 0:qe.toString(),title:h},E),l.createElement($Oe,{enableMeasure:fe&&!pe,text:c,rows:ue,width:_e,onEllipsis:Fe,expanded:oe,miscDeps:[L,oe,H,_,k,C]},(Te,Ve)=>kOe(e,l.createElement(l.Fragment,null,Te.length>0&&Ve&&!oe&&qe?l.createElement("span",{key:"show-content","aria-hidden":!0},Te):Te,Ae(Ve)))))))});var DOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n,rel:r}=e,a=DOe(e,["ellipsis","rel"]);const o=Object.assign(Object.assign({},a),{rel:r===void 0&&a.target==="_blank"?"noopener noreferrer":r});return delete o.navigate,l.createElement(Uy,Object.assign({},o,{ref:t,ellipsis:!!n,component:"a"}))}),LOe=l.forwardRef((e,t)=>l.createElement(Uy,Object.assign({ref:t},e,{component:"div"})));var jOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n}=e,r=jOe(e,["ellipsis"]);const a=l.useMemo(()=>n&&typeof n=="object"?or(n,["expandable","rows"]):n,[n]);return l.createElement(Uy,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},BOe=l.forwardRef(FOe);var zOe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{level:n=1}=e,r=zOe(e,["level"]),a=HOe.includes(n)?`h${n}`:"h1";return l.createElement(Uy,Object.assign({ref:t},r,{component:a}))}),zn=TK;zn.Text=BOe;zn.Link=MOe;zn.Title=UOe;zn.Paragraph=LOe;const mC=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some(function(i){var s=i.trim();if(/^\*(\/\*)?$/.test(i))return!0;if(s.charAt(0)==="."){var c=r.toLowerCase(),u=s.toLowerCase(),f=[u];return(u===".jpg"||u===".jpeg")&&(f=[".jpg",".jpeg"]),f.some(function(g){return c.endsWith(g)})}return/\/\*$/.test(s)?o===s.replace(/\/.*$/,""):a===s?!0:/^\w+$/.test(s)?(ar(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function VOe(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function gj(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function WOe(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(a){var o=e.data[a];if(Array.isArray(o)){o.forEach(function(i){n.append("".concat(a,"[]"),i)});return}n.append(a,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError(VOe(e,t),gj(t)):e.onSuccess(gj(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(a){r[a]!==null&&t.setRequestHeader(a,r[a])}),t.send(n),{abort:function(){t.abort()}}}var GOe=function(){var e=qo(kr().mark(function t(n,r){var a,o,i,s,c,u,f,g;return kr().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:u=function(){return u=qo(kr().mark(function x(b){return kr().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.abrupt("return",new Promise(function(w){b.file(function(I){r(I)?(b.fullPath&&!I.webkitRelativePath&&(Object.defineProperties(I,{webkitRelativePath:{writable:!0}}),I.webkitRelativePath=b.fullPath.replace(/^\//,""),Object.defineProperties(I,{webkitRelativePath:{writable:!1}})),w(I)):w(null)})}));case 1:case"end":return S.stop()}},x)})),u.apply(this,arguments)},c=function(x){return u.apply(this,arguments)},s=function(){return s=qo(kr().mark(function x(b){var C,S,w,I,E;return kr().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:C=b.createReader(),S=[];case 2:return R.next=5,new Promise(function(N){C.readEntries(N,function(){return N([])})});case 5:if(w=R.sent,I=w.length,I){R.next=9;break}return R.abrupt("break",12);case 9:for(E=0;E{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${ae(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${ae(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + &:not(${t}-disabled):hover, + &-hover:not(${t}-disabled) + `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${ae(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},JOe=e=>{const{componentCls:t,iconCls:n,fontSize:r,lineHeight:a,calc:o}=e,i=`${t}-list-item`,s=`${i}-actions`,c=`${i}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},Yi()),{lineHeight:e.lineHeight,[i]:{position:"relative",height:o(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${i}-name`]:Object.assign(Object.assign({},Qo),{padding:`0 ${ae(e.paddingXS)}`,lineHeight:a,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{whiteSpace:"nowrap",[c]:{opacity:0},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` + ${c}:focus-visible, + &.picture ${c} + `]:{opacity:1}},[`${t}-icon ${n}`]:{color:e.colorTextDescription,fontSize:r},[`${i}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:o(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${i}:hover ${c}`]:{opacity:1},[`${i}-error`]:{color:e.colorError,[`${i}-name, ${t}-icon ${n}`]:{color:e.colorError},[s]:{[`${n}, ${n}:hover`]:{color:e.colorError},[c]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},QOe=e=>{const{componentCls:t}=e,n=new An("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new An("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),a=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${a}-appear, ${a}-enter, ${a}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${a}-appear, ${a}-enter`]:{animationName:n},[`${a}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:M$(e)},n,r]},e$e=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:a,calc:o}=e,i=`${t}-list`,s=`${i}-item`;return{[`${t}-wrapper`]:{[` + ${i}${i}-picture, + ${i}${i}-picture-card, + ${i}${i}-picture-circle + `]:{[s]:{position:"relative",height:o(r).add(o(e.lineWidth).mul(2)).add(o(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${s}-thumbnail`]:Object.assign(Object.assign({},Qo),{width:r,height:r,lineHeight:ae(o(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${s}-progress`]:{bottom:a,width:`calc(100% - ${ae(o(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:o(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${sf[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${sf.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:"dashed",[`${s}-name`]:{marginBottom:a}}},[`${i}${i}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:"50%"}}}}},t$e=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:a,calc:o}=e,i=`${t}-list`,s=`${i}-item`,c=e.uploadPicCardSize;return{[` + ${t}-wrapper${t}-picture-card-wrapper, + ${t}-wrapper${t}-picture-circle-wrapper + `]:Object.assign(Object.assign({},Yi()),{display:"block",[`${t}${t}-select`]:{width:c,height:c,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${ae(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card, ${i}${i}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${i}-item-container`]:{display:"inline-block",width:c,height:c,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ae(o(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${ae(o(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` + ${n}-eye, + ${n}-download, + ${n}-delete + `]:{zIndex:10,width:r,margin:`0 ${ae(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:a,"&:hover":{color:a},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${ae(o(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${ae(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},n$e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},r$e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},Dn(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-hidden`]:{display:"none"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},a$e=e=>({actionsColor:e.colorTextDescription}),o$e=Nn("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:o}=e,i=fn(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(a).mul(2.55).equal()});return[r$e(i),ZOe(i),e$e(i),t$e(i),JOe(i),QOe(i),n$e(i),Cm(i)]},a$e);function kv(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Pv(e,t){const n=Ze(t),r=n.findIndex(a=>{let{uid:o}=a;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function bC(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function i$e(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(a=>a[n]!==e[n]);return r.length===t.length?null:r}const s$e=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},RK=e=>e.indexOf("image/")===0,l$e=e=>{if(e.type&&!e.thumbUrl)return RK(e.type);const t=e.thumbUrl||e.url||"",n=s$e(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},$l=200;function c$e(e){return new Promise(t=>{if(!e.type||!RK(e.type)){t("");return}const n=document.createElement("canvas");n.width=$l,n.height=$l,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${$l}px; height: ${$l}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:o,height:i}=a;let s=$l,c=$l,u=0,f=0;o>i?(c=i*($l/o),f=-(c-s)/2):(s=o*($l/i),u=-(s-c)/2),r.drawImage(a,u,f,s,c);const g=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(a.src),t(g)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.onload=()=>{o.result&&typeof o.result=="string"&&(a.src=o.result)},o.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const o=new FileReader;o.onload=()=>{o.result&&t(o.result)},o.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}const u$e=l.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:a,locale:o,listType:i,file:s,items:c,progress:u,iconRender:f,actionIconRender:g,itemRender:m,isImgUrl:h,showPreviewIcon:y,showRemoveIcon:x,showDownloadIcon:b,previewIcon:C,removeIcon:S,downloadIcon:w,extra:I,onPreview:E,onDownload:_,onClose:R}=e;var N,O;const{status:$}=s,[A,B]=l.useState($);l.useEffect(()=>{$!=="removed"&&B($)},[$]);const[j,F]=l.useState(!1);l.useEffect(()=>{const oe=setTimeout(()=>{F(!0)},300);return()=>{clearTimeout(oe)}},[]);const D=f(s);let k=l.createElement("div",{className:`${n}-icon`},D);if(i==="picture"||i==="picture-card"||i==="picture-circle")if(A==="uploading"||!s.thumbUrl&&!s.url){const oe=ce(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:A!=="uploading"});k=l.createElement("div",{className:oe},D)}else{const oe=h!=null&&h(s)?l.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):D,le=ce(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:h&&!h(s)});k=l.createElement("a",{className:le,onClick:fe=>E(s,fe),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},oe)}const M=ce(`${n}-list-item`,`${n}-list-item-${A}`),L=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,H=(typeof x=="function"?x(s):x)?g((typeof S=="function"?S(s):S)||l.createElement(_s,null),()=>R(s),n,o.removeFile,!0):null,U=(typeof b=="function"?b(s):b)&&A==="done"?g((typeof w=="function"?w(s):w)||l.createElement(bu,null),()=>_(s),n,o.downloadFile):null,z=i!=="picture-card"&&i!=="picture-circle"&&l.createElement("span",{key:"download-delete",className:ce(`${n}-list-item-actions`,{picture:i==="picture"})},U,H),W=typeof I=="function"?I(s):I,q=W&&l.createElement("span",{className:`${n}-list-item-extra`},W),K=ce(`${n}-list-item-name`),G=s.url?l.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:K,title:s.name},L,{href:s.url,onClick:oe=>E(s,oe)}),s.name,q):l.createElement("span",{key:"view",className:K,onClick:oe=>E(s,oe),title:s.name},s.name,q),X=(typeof y=="function"?y(s):y)&&(s.url||s.thumbUrl)?l.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:oe=>E(s,oe),title:o.previewFile},typeof C=="function"?C(s):C||l.createElement(nc,null)):null,Z=(i==="picture-card"||i==="picture-circle")&&A!=="uploading"&&l.createElement("span",{className:`${n}-list-item-actions`},X,A==="done"&&U,H),{getPrefixCls:J}=l.useContext(Wt),ne=J(),Q=l.createElement("div",{className:M},k,G,z,Z,j&&l.createElement(Ia,{motionName:`${ne}-fade`,visible:A==="uploading",motionDeadline:2e3},oe=>{let{className:le}=oe;const fe="percent"in s?l.createElement(Dy,Object.assign({},u,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return l.createElement("div",{className:ce(`${n}-list-item-progress`,le)},fe)})),ee=s.response&&typeof s.response=="string"?s.response:((N=s.error)===null||N===void 0?void 0:N.statusText)||((O=s.error)===null||O===void 0?void 0:O.message)||o.uploadError,te=A==="error"?l.createElement(nn,{title:ee,getPopupContainer:oe=>oe.parentNode},Q):Q;return l.createElement("div",{className:ce(`${n}-list-item-container`,r),style:a,ref:t},m?m(te,s,c,{download:_.bind(null,s),preview:E.bind(null,s),remove:R.bind(null,s)}):te)}),d$e=(e,t)=>{const{listType:n="text",previewFile:r=c$e,onPreview:a,onDownload:o,onRemove:i,locale:s,iconRender:c,isImageUrl:u=l$e,prefixCls:f,items:g=[],showPreviewIcon:m=!0,showRemoveIcon:h=!0,showDownloadIcon:y=!1,removeIcon:x,previewIcon:b,downloadIcon:C,extra:S,progress:w={size:[-1,2],showInfo:!1},appendAction:I,appendActionVisible:E=!0,itemRender:_,disabled:R}=e,N=Z$(),[O,$]=l.useState(!1),A=["picture-card","picture-circle"].includes(n);l.useEffect(()=>{n.startsWith("picture")&&(g||[]).forEach(q=>{!(q.originFileObj instanceof File||q.originFileObj instanceof Blob)||q.thumbUrl!==void 0||(q.thumbUrl="",r==null||r(q.originFileObj).then(K=>{q.thumbUrl=K||"",N()}))})},[n,g,r]),l.useEffect(()=>{$(!0)},[]);const B=(q,K)=>{if(a)return K==null||K.preventDefault(),a(q)},j=q=>{typeof o=="function"?o(q):q.url&&window.open(q.url)},F=q=>{i==null||i(q)},D=q=>{if(c)return c(q,n);const K=q.status==="uploading";if(n.startsWith("picture")){const G=n==="picture"?l.createElement(_i,null):s.uploading,X=u!=null&&u(q)?l.createElement(t2e,null):l.createElement(Pwe,null);return K?G:X}return K?l.createElement(_i,null):l.createElement(XEe,null)},k=(q,K,G,X,Z)=>{const J={type:"text",size:"small",title:X,onClick:ne=>{var Q,ee;K(),l.isValidElement(q)&&((ee=(Q=q.props).onClick)===null||ee===void 0||ee.call(Q,ne))},className:`${G}-list-item-action`};return Z&&(J.disabled=R),l.isValidElement(q)?l.createElement(mt,Object.assign({},J,{icon:oa(q,Object.assign(Object.assign({},q.props),{onClick:()=>{}}))})):l.createElement(mt,Object.assign({},J),l.createElement("span",null,q))};l.useImperativeHandle(t,()=>({handlePreview:B,handleDownload:j}));const{getPrefixCls:M}=l.useContext(Wt),L=M("upload",f),H=M(),U=ce(`${L}-list`,`${L}-list-${n}`),z=l.useMemo(()=>or(lf(H),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[H]),W=Object.assign(Object.assign({},A?{}:z),{motionDeadline:2e3,motionName:`${L}-${A?"animate-inline":"animate"}`,keys:Ze(g.map(q=>({key:q.uid,file:q}))),motionAppear:O});return l.createElement("div",{className:U},l.createElement(A$,Object.assign({},W,{component:!1}),q=>{let{key:K,file:G,className:X,style:Z}=q;return l.createElement(u$e,{key:K,locale:s,prefixCls:L,className:X,style:Z,file:G,items:g,progress:w,listType:n,isImgUrl:u,showPreviewIcon:m,showRemoveIcon:h,showDownloadIcon:y,removeIcon:x,previewIcon:b,downloadIcon:C,extra:S,iconRender:D,actionIconRender:k,itemRender:_,onPreview:B,onDownload:j,onClose:F})}),I&&l.createElement(Ia,Object.assign({},W,{visible:E,forceRender:!0}),q=>{let{className:K,style:G}=q;return oa(I,X=>({className:ce(X.className,K),style:Object.assign(Object.assign(Object.assign({},G),{pointerEvents:K?"none":void 0}),X.style)}))}))},f$e=l.forwardRef(d$e);var p$e=function(e,t,n,r){function a(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function s(f){try{u(r.next(f))}catch(g){i(g)}}function c(f){try{u(r.throw(f))}catch(g){i(g)}}function u(f){f.done?o(f.value):a(f.value).then(s,c)}u((r=r.apply(e,[])).next())})};const rg=`__LIST_IGNORE_${Date.now()}__`,g$e=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:a,showUploadList:o=!0,listType:i="text",onPreview:s,onDownload:c,onChange:u,onDrop:f,previewFile:g,disabled:m,locale:h,iconRender:y,isImageUrl:x,progress:b,prefixCls:C,className:S,type:w="select",children:I,style:E,itemRender:_,maxCount:R,data:N={},multiple:O=!1,hasControlInside:$=!0,action:A="",accept:B="",supportServerRender:j=!0,rootClassName:F}=e,D=l.useContext(za),k=m??D,[M,L]=Vn(r||[],{value:n,postState:Re=>Re??[]}),[H,U]=l.useState("drop"),z=l.useRef(null),W=l.useRef(null);l.useMemo(()=>{const Re=Date.now();(n||[]).forEach((Ae,Le)=>{!Ae.uid&&!Object.isFrozen(Ae)&&(Ae.uid=`__AUTO__${Re}_${Le}__`)})},[n]);const q=(Re,Ae,Le)=>{let Te=Ze(Ae),Ve=!1;R===1?Te=Te.slice(-1):R&&(Ve=Te.length>R,Te=Te.slice(0,R)),Ka.flushSync(()=>{L(Te)});const Je={file:Re,fileList:Te};Le&&(Je.event=Le),(!Ve||Re.status==="removed"||Te.some(Qe=>Qe.uid===Re.uid))&&Ka.flushSync(()=>{u==null||u(Je)})},K=(Re,Ae)=>p$e(void 0,void 0,void 0,function*(){const{beforeUpload:Le,transformFile:Te}=e;let Ve=Re;if(Le){const Je=yield Le(Re,Ae);if(Je===!1)return!1;if(delete Re[rg],Je===rg)return Object.defineProperty(Re,rg,{value:!0,configurable:!0}),!1;typeof Je=="object"&&Je&&(Ve=Je)}return Te&&(Ve=yield Te(Ve)),Ve}),G=Re=>{const Ae=Re.filter(Ve=>!Ve.file[rg]);if(!Ae.length)return;const Le=Ae.map(Ve=>kv(Ve.file));let Te=Ze(M);Le.forEach(Ve=>{Te=Pv(Ve,Te)}),Le.forEach((Ve,Je)=>{let Qe=Ve;if(Ae[Je].parsedFile)Ve.status="uploading";else{const{originFileObj:ut}=Ve;let xe;try{xe=new File([ut],ut.name,{type:ut.type})}catch{xe=new Blob([ut],{type:ut.type}),xe.name=ut.name,xe.lastModifiedDate=new Date,xe.lastModified=new Date().getTime()}xe.uid=Ve.uid,Qe=xe}q(Qe,Te)})},X=(Re,Ae,Le)=>{try{typeof Re=="string"&&(Re=JSON.parse(Re))}catch{}if(!bC(Ae,M))return;const Te=kv(Ae);Te.status="done",Te.percent=100,Te.response=Re,Te.xhr=Le;const Ve=Pv(Te,M);q(Te,Ve)},Z=(Re,Ae)=>{if(!bC(Ae,M))return;const Le=kv(Ae);Le.status="uploading",Le.percent=Re.percent;const Te=Pv(Le,M);q(Le,Te,Re)},J=(Re,Ae,Le)=>{if(!bC(Le,M))return;const Te=kv(Le);Te.error=Re,Te.response=Ae,Te.status="error";const Ve=Pv(Te,M);q(Te,Ve)},ne=Re=>{let Ae;Promise.resolve(typeof a=="function"?a(Re):a).then(Le=>{var Te;if(Le===!1)return;const Ve=i$e(Re,M);Ve&&(Ae=Object.assign(Object.assign({},Re),{status:"removed"}),M==null||M.forEach(Je=>{const Qe=Ae.uid!==void 0?"uid":"name";Je[Qe]===Ae[Qe]&&!Object.isFrozen(Je)&&(Je.status="removed")}),(Te=z.current)===null||Te===void 0||Te.abort(Ae),q(Ae,Ve))})},Q=Re=>{U(Re.type),Re.type==="drop"&&(f==null||f(Re))};l.useImperativeHandle(t,()=>({onBatchStart:G,onSuccess:X,onProgress:Z,onError:J,fileList:M,upload:z.current,nativeElement:W.current}));const{getPrefixCls:ee,direction:te,upload:oe}=l.useContext(Wt),le=ee("upload",C),fe=Object.assign(Object.assign({onBatchStart:G,onError:J,onProgress:Z,onSuccess:X},e),{data:N,multiple:O,action:A,accept:B,supportServerRender:j,prefixCls:le,disabled:k,beforeUpload:K,onChange:void 0,hasControlInside:$});delete fe.className,delete fe.style,(!I||k)&&delete fe.id;const ue=`${le}-wrapper`,[we,pe,ve]=o$e(le,ue),[Ce]=ni("Upload",Ss.Upload),{showRemoveIcon:me,showPreviewIcon:ie,showDownloadIcon:he,removeIcon:Se,previewIcon:_e,downloadIcon:$e,extra:ze}=typeof o=="boolean"?{}:o,Fe=typeof me>"u"?!k:me,je=(Re,Ae)=>o?l.createElement(f$e,{prefixCls:le,listType:i,items:M,previewFile:g,onPreview:s,onDownload:c,onRemove:ne,showRemoveIcon:Fe,showPreviewIcon:ie,showDownloadIcon:he,removeIcon:Se,previewIcon:_e,downloadIcon:$e,iconRender:y,extra:ze,locale:Object.assign(Object.assign({},Ce),h),isImageUrl:x,progress:b,appendAction:Re,appendActionVisible:Ae,itemRender:_,disabled:k}):Re,qe=ce(ue,S,F,pe,ve,oe==null?void 0:oe.className,{[`${le}-rtl`]:te==="rtl",[`${le}-picture-card-wrapper`]:i==="picture-card",[`${le}-picture-circle-wrapper`]:i==="picture-circle"}),Ue=Object.assign(Object.assign({},oe==null?void 0:oe.style),E);if(w==="drag"){const Re=ce(pe,le,`${le}-drag`,{[`${le}-drag-uploading`]:M.some(Ae=>Ae.status==="uploading"),[`${le}-drag-hover`]:H==="dragover",[`${le}-disabled`]:k,[`${le}-rtl`]:te==="rtl"});return we(l.createElement("span",{className:qe,ref:W},l.createElement("div",{className:Re,style:Ue,onDrop:Q,onDragOver:Q,onDragLeave:Q},l.createElement($O,Object.assign({},fe,{ref:z,className:`${le}-btn`}),l.createElement("div",{className:`${le}-drag-container`},I))),je()))}const Ne=ce(le,`${le}-select`,{[`${le}-disabled`]:k,[`${le}-hidden`]:!I}),Ye=l.createElement("div",{className:Ne},l.createElement($O,Object.assign({},fe,{ref:z})));return we(i==="picture-card"||i==="picture-circle"?l.createElement("span",{className:qe,ref:W},je(Ye,!!I)):l.createElement("span",{className:qe,ref:W},Ye,je()))},OK=l.forwardRef(g$e);var m$e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{style:n,height:r,hasControlInside:a=!1}=e,o=m$e(e,["style","height","hasControlInside"]);return l.createElement(OK,Object.assign({ref:t,hasControlInside:a},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),ac=OK;ac.Dragger=h$e;ac.LIST_IGNORE=rg;var xt=(e=>(e.Success="success",e.Info="info",e.Warning="warning",e.Error="error",e))(xt||{}),Ci=(e=>(e.Tonies="tonies",e.Home="home",e.Tonieboxes="tonieboxes",e.Settings="settings",e.Community="community",e))(Ci||{});function v$e(e,t="14px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"){let n="",r=0;const o=document.createElement("canvas").getContext("2d");return o&&(o.font=t,e.forEach(i=>{const s=o.measureText(i).width;s>r&&(r=s,n=i)})),{longestString:n,pixelWidth:r}}function NO(){return"10000000-1e3-4e3-8e3-1e11".replace(/[018]/g,e=>(parseInt(e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(e)/4).toString(16))}const AO=e=>{const t=`/api/getFile/${e?"c2":"ca"}.der`;window.location.href=t},b$e="http://localhost".replace(/\/+$/,"");class $K{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:b$e}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||AK}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const y$e=new $K,D0=class D0{constructor(t=y$e){mo(this,"middleware");mo(this,"fetchApi",async(t,n)=>{let r={url:t,init:n};for(const o of this.middleware)o.pre&&(r=await o.pre({fetch:this.fetchApi,...r})||r);let a;try{a=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(o){for(const i of this.middleware)i.onError&&(a=await i.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:o,response:a?a.clone():void 0})||a);if(a===void 0)throw o instanceof Error?new w$e(o,"The request failed and the interceptors did not return an alternative response"):o}for(const o of this.middleware)o.post&&(a=await o.post({fetch:this.fetchApi,url:r.url,init:r.init,response:a.clone()})||a);return a});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?D0.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:a}=await this.createFetchParams(t,n),o=await this.fetchApi(r,a);if(o&&o.status>=200&&o.status<300)return o;throw new C$e(o,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const a=Object.assign({},this.configuration.headers,t.headers);Object.keys(a).forEach(u=>a[u]===void 0?delete a[u]:{});const o=typeof n=="function"?n:async()=>n,i={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},s={...i,...await o({init:i,context:t})},c={...s,body:S$e(s.body)||s.body instanceof URLSearchParams||x$e(s.body)?s.body:JSON.stringify(s.body)};return{url:r,init:c}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};mo(D0,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let Kg=D0;function x$e(e){return typeof Blob<"u"&&e instanceof Blob}function S$e(e){return typeof FormData<"u"&&e instanceof FormData}class C$e extends Error{constructor(n,r){super(r);mo(this,"name","ResponseError");this.response=n}}class w$e extends Error{constructor(n,r){super(r);mo(this,"name","FetchError");this.cause=n}}class E$e extends Error{constructor(n,r){super(r);mo(this,"name","RequiredError");this.field=n}}function NK(e,t){const n=e[t];return n!=null}function AK(e,t=""){return Object.keys(e).map(n=>kK(n,e[n],t)).filter(n=>n.length>0).join("&")}function kK(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(o=>encodeURIComponent(String(o))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${a}`}if(t instanceof Set){const a=Array.from(t);return kK(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?AK(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function I$e(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class qs{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class _$e{constructor(t){this.raw=t}async value(){}}class h0{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class PK extends Kg{async v1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new qs(a):new h0(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class T$e extends Kg{async reverseV1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/reverse/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new qs(a):new h0(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function R$e(e){return O$e(e)}function O$e(e,t){return e==null?e:{iD:e.ID,shortname:e.shortname,description:e.description,label:e.label,type:e.type,value:e.value,overlayed:e.overlayed}}function $$e(e){return N$e(e)}function N$e(e,t){return e==null?e:{options:NK(e,"options")?e.options.map(R$e):void 0}}function A$e(e){return k$e(e)}function k$e(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function P$e(e){return D$e(e)}function D$e(e,t){return e==null?e:{stats:NK(e,"stats")?e.stats.map(A$e):void 0}}class nr extends Kg{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new qs(n)}async apiGetTonieboxesIndex(t){return(await(await this.apiGetTonieboxesIndexRaw(t)).value()).boxes}async apiGetTagIndexRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/getTagIndex",t,n);return new qs(r)}async apiGetTagIndex(t,n,r){return(await(await this.apiGetTagIndexRaw(t,r)).value()).tags}async apiGetTagInfoRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/getTagInfo?ruid=${t}`,n,r);return new qs(a)}async apiGetTagInfo(t,n,r){return(await(await this.apiGetTagInfoRaw(t,n,r)).value()).tagInfo}async apiGetTagIndexMergedAllOverlays(t,n){const r=await this.apiGetTonieboxesIndex();return(await Promise.all([...r.map(async s=>await this.apiGetTagIndex(s.ID,t,n)),this.apiGetTagIndex("",t,n)])).flat().filter((s,c,u)=>c===u.findIndex(f=>f.ruid===s.ruid&&f.source===s.source))}async apiGetIndexGetRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/settings/getIndex",t,n);return new qs(r,a=>$$e(a))}async apiGetIndexGet(t,n){return await(await this.apiGetIndexGetRaw(t,n)).value()}async apiSetCloudCacheContentPostRaw(t,n){if(t.body===null||t.body===void 0)throw new E$e("body","Required parameter requestParameters.body was null or undefined when calling apiSetCloudCacheContentPost.");const r=await this.apiPostTeddyCloudSetting("cloud.cacheContent",t.body,void 0,void 0,n);return new _$e(r)}async apiSetCloudCacheContentPost(t,n){await this.apiSetCloudCacheContentPostRaw(t,n)}async apiStatsGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/stats",void 0,t);return new qs(n,r=>P$e(r))}async apiStatsGet(t){return await(await this.apiStatsGetRaw(t)).value()}async apiTriggerWriteConfigGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/triggerWriteConfig",void 0,t);return this.isJsonMime(n.headers.get("content-type"))?new qs(n):new h0(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},o={},s=I$e([{contentType:"multipart/form-data"}]);let c,u=!1,f="/api/uploadCert";n!==""&&n!==void 0&&(f=f+"?overlay="+n),u=s,u?c=new FormData:c=new URLSearchParams,t.filename&&t.filename.forEach(m=>{c.append("filename",m)});const g=await this.request({path:f,method:"POST",headers:o,query:a,body:c},r);return this.isJsonMime(g.headers.get("content-type"))?new qs(g):new h0(g)}async apiUploadCertPost(t={},n,r){return await(await this.apiUploadCertPostRaw(t,n,r)).value()}async apiGetLastOnline(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_connection",t,n)).text();return(a&&a!=="0"?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxStatus(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.online",t,n)).text()==="true"}async apiGetTonieboxVersion(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.toniebox_firmware.boxIC",t,n)).text()}async apiGetTonieboxLastRUID(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid",t,n)).text()}async apiGetTonieboxLastRUIDTime(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid_time",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxLastIp(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.ip",t,n)).text()}async apiGetTonieboxContentDir(t,n){return await(await this.apiGetTeddyCloudSettingRaw("core.contentdir",t,n)).text()}async apiGetTonieboxApiAccess(t,n){return await(await this.apiGetTeddyCloudSettingRaw("toniebox.api_access",t,n)).text()==="true"}async apiGetNewBoxesAllowed(t){return await(await this.apiGetTeddyCloudSettingRaw("core.allowNewBox",void 0,t)).text()==="true"}async apiGetSecurityMITAlert(t){return await(await this.apiGetTeddyCloudSettingRaw("internal.security_mit.incident",void 0,t)).text()==="true"}async apiGetTeddyCloudSettingRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/settings/get/${t}`,n,r);if(!a.ok)throw new Error(`Error: ${a.status} ${a.statusText}`);return a}async apiPostTeddyCloudSetting(t,n,r,a,o,i={}){i["Content-Type"]||(i["Content-Type"]="text/plain");const s=await this.apiPostTeddyCloudRaw(`/api/settings/${a&&a===!0?"reset":"set"}/${t}`,(n==null?void 0:n.toString())||"",r,o,i);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiGetTeddyCloudApiRaw(t,n,r){const a={},o={},i=await this.request({path:`${t}${n?"?overlay="+n:""}`,method:"GET",headers:o,query:a},r);if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}async apiPostTeddyCloudContentJson(t,n,r,a,o={}){const i=await this.apiPostTeddyCloudRaw(`/content/json/set/${t}`,n,r,a,o);if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}async apiPostTeddyCloudRaw(t,n,r,a,o={}){o["Content-Type"]||(o["Content-Type"]="text/plain");const i=s=>new Blob([s],{type:"text/plain"});try{const s=await this.request({path:`${t}${r?"?overlay="+r:""}`,method:"POST",headers:o,body:i((n==null?void 0:n.toString())||"")},a);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}catch(s){return s.response}}async apiPostTeddyCloudFormDataRaw(t,n,r,a,o={}){try{const i=await fetch(""+t,{method:"POST",body:n});if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}catch(i){return i.response?i.response:i instanceof TypeError?new Response(JSON.stringify({error:"Network error, please try again later.",message:i.message}),{status:500,statusText:"Network Error",headers:{"Content-Type":"application/json"}}):new Response(JSON.stringify({error:"An unexpected error occurred.",message:i}),{status:500,statusText:"Unexpected Error",headers:{"Content-Type":"application/json"}})}}}const Yn=()=>new $K({basePath:""}),mj=new nr(Yn());function M$e(){const[e,t]=l.useState([]),[n,r]=l.useState(!0);return l.useEffect(()=>{async function a(){var o=[];r(!0);try{const c=await(await mj.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json();o=[...o,...c]}catch(s){console.error("Error fetching and transforming toniebox data:",s)}try{const c=await(await mj.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json();o=[...o,...c]}catch(s){console.error("Error fetching and transforming custom toniebox data:",s)}const i=o.map(s=>({id:s.id,name:s.name,img_src:s.img_src,crop:s.crop||null}));t(i),r(!1)}a()},[]),{boxModelImages:e,loading:n}}const yC=new nr(Yn()),DK=l.createContext({fetchCloudStatus:!1,setFetchCloudStatus:()=>{},toniesCloudAvailable:!1,setToniesCloudAvailable:()=>{},notifications:[],addNotification:()=>{},addLoadingNotification:()=>{},closeLoadingNotification:()=>{},confirmNotification:()=>{},unconfirmedCount:0,clearAllNotifications:()=>{},removeNotifications:()=>{},navOpen:!1,setNavOpen:()=>{},subNavOpen:!1,setSubNavOpen:()=>{},currentTCSection:"",setCurrentTCSection:()=>{},plugins:[],getPluginMeta:()=>{},fetchPlugins:()=>{},boxModelImages:{boxModelImages:[],loading:!1}});function L$e({children:e,linkOverlay:t}){const[n,r]=l.useState(!1),[a,o]=l.useState(!1),[i,s]=l.useState([]),c=A=>new Promise(B=>setTimeout(B,A)),[u,f]=l.useState(!1),[g,m]=l.useState(!1),[h,y]=l.useState("");l.useEffect(()=>{const A=localStorage.getItem("notifications");if(A){const B=JSON.parse(A);s(B.map(j=>({...j,date:new Date(j.date)})))}},[]);const x=(A,B,j,F,D)=>{const k={uuid:NO(),date:new Date,type:A,title:B,description:j,context:F||"",flagConfirmed:D!==void 0?D:A==="success"||A==="info"};Eb.open({type:A,message:B,description:j,showProgress:!0,pauseOnHover:!0,placement:"topRight"}),s(M=>{const L=[k,...M];return localStorage.setItem("notifications",JSON.stringify(L)),L})},b=(A,B,j)=>{Eb.open({key:A,message:B,description:j,icon:d.jsx(_i,{}),duration:0,placement:"topRight"})},C=async A=>{setTimeout(()=>{Eb.destroy(A)},300),await c(500)},S=A=>{s(B=>{const j=B.map(F=>F.uuid===A?{...F,flagConfirmed:!0}:F);return localStorage.setItem("notifications",JSON.stringify(j)),j})},w=A=>{s(B=>{const j=B.filter(F=>!A.includes(F.uuid));return localStorage.setItem("notifications",JSON.stringify(j)),j})},I=()=>{s([]),localStorage.removeItem("notifications")},E=i.filter(A=>!A.flagConfirmed).length,[_,R]=l.useState([]),N=async()=>{try{let A=[];try{const j=await yC.apiGetTeddyCloudApiRaw("/api/plugins/getPlugins");if(!j.ok)throw new Error(j.statusText);A=await j.json()}catch{console.warn("Using fallback plugin list from plugins/plugins.json due to an error (API most probably not available yet).");try{const F=await yC.apiGetTeddyCloudApiRaw("/plugins/plugins.json");if(!F.ok)throw new Error("Fallback plugins.json fetch failed");A=await F.json()}catch{return}}const B=[];for(const j of A.sort((F,D)=>F.localeCompare(D,void 0,{numeric:!0})))try{const F=await yC.apiGetTeddyCloudApiRaw(`/plugins/${j}/plugin.json`);if(!F.ok)throw new Error(`Failed to fetch plugin: ${j}`);const D=await F.json();if(!D.pluginName){console.warn(`Skipping "${j}" — missing pluginName.`),x(xt.Warning,`Fetching entry pluginName in plugin.json for "${j}" failed`,`Fetching entry pluginName in plugin.json for "${j}" failed, so we skip that plugin`,"TeddyCloudContext",!0);continue}B.push({pluginId:j,pluginName:D.pluginName,author:D.author||"",version:D.version||"",description:D.description||"",pluginHomepage:D.pluginHomepage,teddyCloudSection:Object.values(Ci).includes(D.teddyCloudSection)?D.teddyCloudSection:null})}catch{x(xt.Error,`Fetching plugin.json for "${j}" failed`,`Fetching plugin.json for "${j}" failed, so we skip that plugin`,"TeddyCloudContext",!1)}R(B)}catch(A){x(xt.Error,"Loading plugins failed","Loading plugins failed: "+A,"TeddyCloudContext",!1),console.error("Error loading plugins:",A)}};l.useEffect(()=>{N()},[]);const O=A=>_.find(B=>B.pluginId===A),$=M$e();return d.jsx(DK.Provider,{value:{fetchCloudStatus:n,setFetchCloudStatus:r,toniesCloudAvailable:a,setToniesCloudAvailable:o,notifications:i,addNotification:x,addLoadingNotification:b,closeLoadingNotification:C,confirmNotification:S,unconfirmedCount:E,clearAllNotifications:I,removeNotifications:w,navOpen:u,setNavOpen:f,subNavOpen:g,setSubNavOpen:m,currentTCSection:h,setCurrentTCSection:y,plugins:_,getPluginMeta:O,fetchPlugins:N,boxModelImages:$},children:e})}function Cr(){return l.useContext(DK)}const MK="/web/assets/logo-aw46LCqE.png",j$e=()=>{const t=document.createElement("audio").canPlayType("audio/ogg; codecs=opus");return console.log("Supports OGG/Opus:",t),t==="probably"||t==="maybe"},F$e=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.maxTouchPoints>1&&/Mac/.test(navigator.userAgent);function oc(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}const LK=ge.createContext(void 0),Wm=()=>{const e=l.useContext(LK);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},hj=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},B$e=({children:e})=>{const{t}=Yt(),[n,r]=l.useState(""),[a,o]=l.useState(""),[i,s]=l.useState(""),[c,u]=l.useState([]),[f,g]=l.useState(),m=(h,y,x,b)=>{var w;console.log("Play audio: "+h);const S=/\/....04E0\?|(\?ogg)/.test(h);if(S&&!j$e())Jn.error({title:t("audio.errorNoOggOpusSupport"),content:t("audio.errorNoOggOpusSupportByApple"),okText:t("audio.errorConfirm")});else{const I=document.getElementById("globalAudioPlayer");let E=I.querySelector("source");if(E||(E=document.createElement("source"),S&&(E.type="audio/ogg"),I.appendChild(E)),E.src!=h&&(E.src=h,I.load()),y?(r(y.picture),o(y.series||y.episode?y.series:hj(decodeURI(h).replace("500304E0",t("audio.unknownSource")))),s(y.episode)):(r(decodeURI(h).includes(".taf?")?"/img_unknown.png":MK),o(""),s(hj(decodeURI(h)))),x){g(x);const _="trackSeconds"in x?x.trackSeconds||[0]:"tafHeader"in x&&((w=x.tafHeader)!=null&&w.trackSeconds)?x.tafHeader.trackSeconds:[0];u(_)}else u([]),g(void 0);b&&(I.currentTime=b),I.play()}};return d.jsx(LK.Provider,{value:{playAudio:m,songImage:n,songArtist:a,songTitle:i,songTracks:c,tonieCardOrTAFRecord:f},children:e})};var No=function(){return No=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?La(Wf,--Ri):0,mf--,ma===10&&(mf=1,Wy--),ma}function qi(){return ma=Ri2||PO(ma)>3?"":" "}function X$e(e,t){for(;--t&&qi()&&!(ma<48||ma>102||ma>57&&ma<65||ma>70&&ma<97););return qy(e,Rb()+(t<6&&ou()==32&&qi()==32))}function DO(e){for(;qi();)switch(ma){case e:return Ri;case 34:case 39:e!==34&&e!==39&&DO(ma);break;case 40:e===41&&DO(e);break;case 92:qi();break}return Ri}function Z$e(e,t){for(;qi()&&e+ma!==57;)if(e+ma===84&&ou()===47)break;return"/*"+qy(t,Ri-1)+"*"+iA(e===47?e:qi())}function J$e(e){for(;!PO(ou());)qi();return qy(e,Ri)}function Q$e(e){return K$e(Ob("",null,null,null,[""],e=q$e(e),0,[0],e))}function Ob(e,t,n,r,a,o,i,s,c){for(var u=0,f=0,g=i,m=0,h=0,y=0,x=1,b=1,C=1,S=0,w="",I=a,E=o,_=r,R=w;b;)switch(y=S,S=qi()){case 40:if(y!=108&&La(R,g-1)==58){Tb(R+=Gn(xC(S),"&","&\f"),"&\f",BK(u?s[u-1]:0))!=-1&&(C=-1);break}case 34:case 39:case 91:R+=xC(S);break;case 9:case 10:case 13:case 32:R+=Y$e(y);break;case 92:R+=X$e(Rb()-1,7);continue;case 47:switch(ou()){case 42:case 47:ag(eNe(Z$e(qi(),Rb()),t,n,c),c);break;default:R+="/"}break;case 123*x:s[u++]=ms(R)*C;case 125*x:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+f:C==-1&&(R=Gn(R,/\f/g,"")),h>0&&ms(R)-g&&ag(h>32?yj(R+";",r,n,g-1,c):yj(Gn(R," ","")+";",r,n,g-2,c),c);break;case 59:R+=";";default:if(ag(_=bj(R,t,n,u,f,a,s,w,I=[],E=[],g,o),o),S===123)if(f===0)Ob(R,t,_,_,I,o,g,s,E);else switch(m===99&&La(R,3)===110?100:m){case 100:case 108:case 109:case 115:Ob(e,_,_,r&&ag(bj(e,_,_,0,0,a,s,w,a,I=[],g,E),E),a,E,g,s,r?I:E);break;default:Ob(R,_,_,_,[""],E,0,s,E)}}u=f=h=0,x=C=1,w=R="",g=i;break;case 58:g=1+ms(R),h=y;default:if(x<1){if(S==123)--x;else if(S==125&&x++==0&&G$e()==125)continue}switch(R+=iA(S),S*x){case 38:C=f>0?1:(R+="\f",-1);break;case 44:s[u++]=(ms(R)-1)*C,C=1;break;case 64:ou()===45&&(R+=xC(qi())),m=ou(),f=g=ms(w=R+=J$e(Rb())),S++;break;case 45:y===45&&ms(R)==2&&(x=0)}}return o}function bj(e,t,n,r,a,o,i,s,c,u,f,g){for(var m=a-1,h=a===0?o:[""],y=HK(h),x=0,b=0,C=0;x0?h[S]+" "+w:Gn(w,/&\f/g,h[S])))&&(c[C++]=I);return Gy(e,t,n,a===0?Vy:s,c,u,f,g)}function eNe(e,t,n,r){return Gy(e,t,n,jK,iA(W$e()),gf(e,2,-2),0,r)}function yj(e,t,n,r,a){return Gy(e,t,n,oA,gf(e,0,r),gf(e,r+1,-1),r,a)}function VK(e,t,n){switch(U$e(e,t)){case 5103:return _r+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _r+e+e;case 4789:return bg+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _r+e+bg+e+Kr+e+e;case 5936:switch(La(e,t+11)){case 114:return _r+e+Kr+Gn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _r+e+Kr+Gn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _r+e+Kr+Gn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return _r+e+Kr+e+e;case 6165:return _r+e+Kr+"flex-"+e+e;case 5187:return _r+e+Gn(e,/(\w+).+(:[^]+)/,_r+"box-$1$2"+Kr+"flex-$1$2")+e;case 5443:return _r+e+Kr+"flex-item-"+Gn(e,/flex-|-self/g,"")+(Ks(e,/flex-|baseline/)?"":Kr+"grid-row-"+Gn(e,/flex-|-self/g,""))+e;case 4675:return _r+e+Kr+"flex-line-pack"+Gn(e,/align-content|flex-|-self/g,"")+e;case 5548:return _r+e+Kr+Gn(e,"shrink","negative")+e;case 5292:return _r+e+Kr+Gn(e,"basis","preferred-size")+e;case 6060:return _r+"box-"+Gn(e,"-grow","")+_r+e+Kr+Gn(e,"grow","positive")+e;case 4554:return _r+Gn(e,/([^-])(transform)/g,"$1"+_r+"$2")+e;case 6187:return Gn(Gn(Gn(e,/(zoom-|grab)/,_r+"$1"),/(image-set)/,_r+"$1"),e,"")+e;case 5495:case 3959:return Gn(e,/(image-set\([^]*)/,_r+"$1$`$1");case 4968:return Gn(Gn(e,/(.+:)(flex-)?(.*)/,_r+"box-pack:$3"+Kr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_r+e+e;case 4200:if(!Ks(e,/flex-|baseline/))return Kr+"grid-column-align"+gf(e,t)+e;break;case 2592:case 3360:return Kr+Gn(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,Ks(r.props,/grid-\w+-end/)})?~Tb(e+(n=n[t].value),"span",0)?e:Kr+Gn(e,"-start","")+e+Kr+"grid-row-span:"+(~Tb(n,"span",0)?Ks(n,/\d+/):+Ks(n,/\d+/)-+Ks(e,/\d+/))+";":Kr+Gn(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Ks(r.props,/grid-\w+-start/)})?e:Kr+Gn(Gn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Gn(e,/(.+)-inline(.+)/,_r+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ms(e)-1-t>6)switch(La(e,t+1)){case 109:if(La(e,t+4)!==45)break;case 102:return Gn(e,/(.+:)(.+)-([^]+)/,"$1"+_r+"$2-$3$1"+bg+(La(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Tb(e,"stretch",0)?VK(Gn(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Gn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,o,i,s,c,u){return Kr+a+":"+o+u+(i?Kr+a+"-span:"+(s?c:+c-+o)+u:"")+e});case 4949:if(La(e,t+6)===121)return Gn(e,":",":"+_r)+e;break;case 6444:switch(La(e,La(e,14)===45?18:11)){case 120:return Gn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+_r+(La(e,14)===45?"inline-":"")+"box$3$1"+_r+"$2$3$1"+Kr+"$2box$3")+e;case 100:return Gn(e,":",":"+Kr)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Gn(e,"scroll-","scroll-snap-")+e}return e}function b0(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case oA:e.return=VK(e.value,e.length,n);return;case FK:return b0([Ll(e,{value:Gn(e.value,"@","@"+_r)})],r);case Vy:if(e.length)return V$e(n=e.props,function(a){switch(Ks(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ed(Ll(e,{props:[Gn(a,/:(read-\w+)/,":"+bg+"$1")]})),Ed(Ll(e,{props:[a]})),kO(e,{props:vj(n,r)});break;case"::placeholder":Ed(Ll(e,{props:[Gn(a,/:(plac\w+)/,":"+_r+"input-$1")]})),Ed(Ll(e,{props:[Gn(a,/:(plac\w+)/,":"+bg+"$1")]})),Ed(Ll(e,{props:[Gn(a,/:(plac\w+)/,Kr+"input-$1")]})),Ed(Ll(e,{props:[a]})),kO(e,{props:vj(n,r)});break}return""})}}var oNe={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},Wo={},hf=typeof process<"u"&&Wo!==void 0&&(Wo.REACT_APP_SC_ATTR||Wo.SC_ATTR)||"data-styled",WK="active",GK="data-styled-version",Ky="6.1.17",sA=`/*!sc*/ +`,y0=typeof window<"u"&&"HTMLElement"in window,iNe=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Wo!==void 0&&Wo.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Wo.REACT_APP_SC_DISABLE_SPEEDY!==""?Wo.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Wo.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Wo!==void 0&&Wo.SC_DISABLE_SPEEDY!==void 0&&Wo.SC_DISABLE_SPEEDY!==""&&Wo.SC_DISABLE_SPEEDY!=="false"&&Wo.SC_DISABLE_SPEEDY),Yy=Object.freeze([]),vf=Object.freeze({});function sNe(e,t,n){return n===void 0&&(n=vf),e.theme!==n.theme&&e.theme||t||n.theme}var qK=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),lNe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,cNe=/(^-|-$)/g;function xj(e){return e.replace(lNe,"-").replace(cNe,"")}var uNe=/(a)(d)/gi,Dv=52,Sj=function(e){return String.fromCharCode(e+(e>25?39:97))};function MO(e){var t,n="";for(t=Math.abs(e);t>Dv;t=t/Dv|0)n=Sj(t%Dv)+n;return(Sj(t%Dv)+n).replace(uNe,"$1-$2")}var SC,KK=5381,Bd=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},YK=function(e){return Bd(KK,e)};function dNe(e){return MO(YK(e)>>>0)}function fNe(e){return e.displayName||e.name||"Component"}function CC(e){return typeof e=="string"&&!0}var XK=typeof Symbol=="function"&&Symbol.for,ZK=XK?Symbol.for("react.memo"):60115,pNe=XK?Symbol.for("react.forward_ref"):60112,gNe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},mNe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},JK={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hNe=((SC={})[pNe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},SC[ZK]=JK,SC);function Cj(e){return("type"in(t=e)&&t.type.$$typeof)===ZK?JK:"$$typeof"in e?hNe[e.$$typeof]:gNe;var t}var vNe=Object.defineProperty,bNe=Object.getOwnPropertyNames,wj=Object.getOwnPropertySymbols,yNe=Object.getOwnPropertyDescriptor,xNe=Object.getPrototypeOf,Ej=Object.prototype;function QK(e,t,n){if(typeof t!="string"){if(Ej){var r=xNe(t);r&&r!==Ej&&QK(e,r,n)}var a=bNe(t);wj&&(a=a.concat(wj(t)));for(var o=Cj(e),i=Cj(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var SNe=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,o=a;t>=o;)if((o<<=1)<0)throw Gm(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=a;i=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),o=a+r,i=a;i=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(b+="".concat(C,","))}),c+="".concat(y).concat(x,'{content:"').concat(b,'"}').concat(sA)},f=0;f0?".".concat(t):m},f=c.slice();f.push(function(m){m.type===Vy&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(ANe,n).replace(r,u))}),i.prefix&&f.push(aNe),f.push(tNe);var g=function(m,h,y,x){h===void 0&&(h=""),y===void 0&&(y=""),x===void 0&&(x="&"),t=x,n=h,r=new RegExp("\\".concat(n,"\\b"),"g");var b=m.replace(kNe,""),C=Q$e(y||h?"".concat(y," ").concat(h," { ").concat(b," }"):b);i.namespace&&(C=nY(C,i.namespace));var S=[];return b0(C,nNe(f.concat(rNe(function(w){return S.push(w)})))),S};return g.hash=c.length?c.reduce(function(m,h){return h.name||Gm(15),Bd(m,h.name)},KK).toString():"",g}var DNe=new tY,jO=PNe(),rY=ge.createContext({shouldForwardProp:void 0,styleSheet:DNe,stylis:jO});rY.Consumer;ge.createContext(void 0);function Rj(){return l.useContext(rY)}var MNe=function(){function e(t,n){var r=this;this.inject=function(a,o){o===void 0&&(o=jO);var i=r.name+o.hash;a.hasNameForId(r.id,i)||a.insertRules(r.id,i,o(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,cA(this,function(){throw Gm(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=jO),this.name+t.hash},e}(),LNe=function(e){return e>="A"&&e<="Z"};function Oj(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,i)){var s=r(o,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,s)}a=Xc(a,i),this.staticRulesId=i}else{for(var c=Bd(this.baseHash,r.hash),u="",f=0;f>>0);n.hasNameForId(this.componentId,h)||n.insertRules(this.componentId,h,r(u,".".concat(h),void 0,this.componentId)),a=Xc(a,h)}}return a},e}(),iY=ge.createContext(void 0);iY.Consumer;var wC={};function zNe(e,t,n){var r=lA(e),a=e,o=!CC(e),i=t.attrs,s=i===void 0?Yy:i,c=t.componentId,u=c===void 0?function(I,E){var _=typeof I!="string"?"sc":xj(I);wC[_]=(wC[_]||0)+1;var R="".concat(_,"-").concat(dNe(Ky+_+wC[_]));return E?"".concat(E,"-").concat(R):R}(t.displayName,t.parentComponentId):c,f=t.displayName,g=f===void 0?function(I){return CC(I)?"styled.".concat(I):"Styled(".concat(fNe(I),")")}(e):f,m=t.displayName&&t.componentId?"".concat(xj(t.displayName),"-").concat(t.componentId):t.componentId||u,h=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,y=t.shouldForwardProp;if(r&&a.shouldForwardProp){var x=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(I,E){return x(I,E)&&b(I,E)}}else y=x}var C=new BNe(n,m,r?a.componentStyle:void 0);function S(I,E){return function(_,R,N){var O=_.attrs,$=_.componentStyle,A=_.defaultProps,B=_.foldedComponentIds,j=_.styledComponentId,F=_.target,D=ge.useContext(iY),k=Rj(),M=_.shouldForwardProp||k.shouldForwardProp,L=sNe(R,D,A)||vf,H=function(G,X,Z){for(var J,ne=No(No({},X),{className:void 0,theme:Z}),Q=0;Qe}; + } + } +`,xu=({title:e,okText:t,cancelText:n,content:r,contentHint:a="",contentHintTitle:o="",contentDetails:i="",open:s,handleOk:c,handleCancel:u})=>{const{t:f}=Yt(),{token:g}=WNe();return d.jsxs(GNe,{warningColor:g.colorWarning,className:"warning",title:d.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[d.jsx(Bq,{style:{fontSize:36,color:g.colorWarning,margin:16}}),d.jsx("div",{style:{marginBottom:16},children:e})]}),open:s,onOk:c,onCancel:u,okText:t,cancelText:n,children:[d.jsx("div",{style:{marginBottom:24},children:r}),a&&d.jsx("div",{children:d.jsx(qn,{type:"warning",showIcon:!0,message:o||f("confirmDialog.contentHintTitle"),description:a})}),i&&d.jsx("div",{style:{marginBottom:24,padding:8,background:g.colorBgContainerDisabled},children:i})]})},qNe=new nr(Yn()),{Text:KNe}=zn,{useToken:YNe}=Tr,Xy=({open:e,onClose:t,tonieCardOrTAFRecord:n,showSourceInfo:r=!1,readOnly:a,lastRUIDs:o,overlay:i,onHide:s})=>{var q,K,G,X,Z,J,ne,Q,ee,te,oe,le,fe,ue,we,pe;const{t:c}=Yt(),{token:u}=YNe(),{playAudio:f}=Wm(),{addNotification:g}=Cr(),[m,h]=l.useState(!1),[y,x]=l.useState(!1),[b,C]=l.useState(""),[S,w]=l.useState([]),[I,E]=l.useState(!1);l.useEffect(()=>{r&&"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&$!==A||n.sourceInfo.picture===n.tonieInfo.picture&&$!==A||n.sourceInfo.series!==n.tonieInfo.series||n.sourceInfo.episode!==n.tonieInfo.episode||n.sourceInfo.tracks.join(".")!==n.tonieInfo.tracks.join("."))&&(x(!0),C(n.sourceInfo.picture),w(n.sourceInfo.tracks))},[n,e]);const _=async(ve,Ce)=>{f(ve,r&&"sourceInfo"in n?n.sourceInfo:n.tonieInfo,n,Ce)},R=async(ve,Ce)=>{E(!0);const ie=await(await fetch(ve)).blob(),he=window.URL.createObjectURL(ie),Se=document.createElement("a");Se.href=he,Se.download=Ce,document.body.appendChild(Se),Se.click(),document.body.removeChild(Se),window.URL.revokeObjectURL(he),E(!1)},N=o&&"ruid"in n?o.filter(([ve])=>ve===n.ruid).map(([,ve,Ce])=>({ruidTime:ve,boxName:Ce})):null,O=((q=n.tonieInfo)==null?void 0:q.series)+((K=n==null?void 0:n.tonieInfo)!=null&&K.episode?" - "+((G=n.tonieInfo)==null?void 0:G.episode):"")+((X=n.tonieInfo)!=null&&X.model?" ("+((Z=n.tonieInfo)==null?void 0:Z.model)+")":""),$=`${(J=n.tonieInfo)==null?void 0:J.series}`+((ne=n.tonieInfo)!=null&&ne.episode?` - ${(Q=n.tonieInfo)==null?void 0:Q.episode}`:""),A="sourceInfo"in n?`${(ee=n.sourceInfo)==null?void 0:ee.series}`+((te=n.sourceInfo)!=null&&te.episode?` - ${(oe=n.sourceInfo)==null?void 0:oe.episode}`:""):"",B=y?A:$,j=(ve,Ce)=>{var ie;const me="trackSeconds"in ve?ve.trackSeconds:(ie=ve.tafHeader)==null?void 0:ie.trackSeconds;return(me==null?void 0:me.length)===Ce},F=(ve,Ce)=>{var ie;const me="trackSeconds"in ve?ve.trackSeconds:(ie=ve.tafHeader)==null?void 0:ie.trackSeconds;return me&&me[Ce]||0},D=()=>{h(!0)},k=()=>{L(),h(!1)},M=()=>{h(!1)},L=async()=>{if(s&&"ruid"in n&&n.ruid)try{await qNe.apiPostTeddyCloudContentJson(n.ruid,"hide=true",i),g(xt.Success,c("tonies.messages.hideTonieSuccessful"),c("tonies.messages.hideTonieSuccessfulDetails",{ruid:n.ruid}),c("tonies.navigationTitle")),s(n.ruid)}catch(ve){g(xt.Error,c("tonies.messages.hideTonieFailed"),c("tonies.messages.hideTonieFailedDetails",{ruid:n.ruid})+ve,c("tonies.navigationTitle"))}},H=d.jsx(xu,{title:c("tonies.confirmHideModal.title"),open:m,okText:c("tonies.confirmHideModal.hide"),cancelText:c("tonies.confirmHideModal.cancel"),content:c("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:O||("uid"in n?n.uid:"")}),handleOk:k,handleCancel:M}),U=d.jsx(d.Fragment,{children:d.jsxs("h3",{children:[B||c("tonies.informationModal.unknownModel"),d.jsx("br",{}),"uid"in n&&n.uid?d.jsx(KNe,{type:"secondary",children:n.uid}):""]})}),z=d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[d.jsx("div",{children:"ruid"in n&&n.ruid?a?"":d.jsx(mt,{onClick:D,children:c("tonies.informationModal.hideTag")}):""}),d.jsx(mt,{type:"primary",onClick:t,children:c("tonies.informationModal.ok")})]});return d.jsxs(d.Fragment,{children:[d.jsxs(Jn,{title:U,footer:z,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[d.jsxs("div",{style:{position:"relative"},children:[d.jsx("img",{src:(le=n.tonieInfo)!=null&&le.picture?(fe=n.tonieInfo)==null?void 0:fe.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),y?d.jsx(nn,{title:`${A}`?c("tonies.alternativeSource",{originalTonie:'"'+$+'"',assignedContent:'"'+A+'"'}).replace(' "" '," "):c("tonies.alternativeSourceUnknown",{originalTonie:'"'+$+'"'}).replace(' "" '," "),placement:"bottom",children:d.jsx("img",{src:b,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),N&&N.length>0?d.jsxs(d.Fragment,{children:[d.jsxs("strong",{children:[c("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),d.jsx("ul",{children:N.map(({ruidTime:ve,boxName:Ce},me)=>d.jsxs("li",{children:[Ce,ve?" ("+ve+")":""]},me))})]}):d.jsx(d.Fragment,{}),d.jsxs("div",{children:["valid"in n?d.jsxs("p",{children:[d.jsx("strong",{children:c("tonies.infoModal.valid")})," ",n.valid?c("tonies.infoModal.yes"):c("tonies.infoModal.no")]}):"","exists"in n?d.jsxs("p",{children:[d.jsx("strong",{children:c("tonies.infoModal.exists")})," ",n.exists?c("tonies.infoModal.yes"):c("tonies.infoModal.no")]}):"",y?S&&S.length>0?d.jsxs(d.Fragment,{children:[d.jsx("strong",{children:c("tonies.infoModal.tracklist")}),d.jsx("ol",{children:S.map((ve,Ce)=>{var me;return d.jsxs("li",{children:["audioUrl"in n&&j(n,(me=n.sourceInfo.tracks)==null?void 0:me.length)?d.jsxs(d.Fragment,{children:[d.jsx($o,{onClick:()=>_(""+n.audioUrl,F(n,Ce))},"playpause")," "]}):""," ",ve]},Ce)})})]}):d.jsx(d.Fragment,{}):(ue=n.tonieInfo)!=null&&ue.tracks&&((we=n.tonieInfo)==null?void 0:we.tracks.length)>0?d.jsxs(d.Fragment,{children:[d.jsx("strong",{children:c("tonies.infoModal.tracklist")}),d.jsx("ol",{children:(pe=n.tonieInfo)==null?void 0:pe.tracks.map((ve,Ce)=>{var me;return d.jsxs("li",{children:["audioUrl"in n&&j(n,(me=n.tonieInfo.tracks)==null?void 0:me.length)?d.jsxs(d.Fragment,{children:[d.jsx($o,{onClick:()=>_(""+n.audioUrl,F(n,Ce))},"playpause")," "]}):""," ",ve]},Ce)})})]}):d.jsx(d.Fragment,{}),"exists"in n&&n.exists&&"audioUrl"in n?d.jsxs("p",{style:{display:"flex",alignItems:"center",gap:"5px",cursor:I?"default":"pointer"},onClick:I?void 0:()=>R(""+n.audioUrl,A||$+".ogg"),children:[I?d.jsx(yc,{size:"small",indicator:d.jsx(_i,{style:{fontSize:14,color:u.colorText},spin:!0})}):d.jsx(bu,{},"download"),c("tonies.infoModal.download")]}):""]})]}),H]})},{useToken:XNe}=Tr,ZNe=()=>XNe().token,JNe=({onVisibilityChange:e})=>{var et;const{t}=Yt(),{songImage:n,songArtist:r,songTitle:a,songTracks:o,tonieCardOrTAFRecord:i}=Wm(),s=document.getElementById("globalAudioPlayer"),c=new nr(Yn()),[u,f]=l.useState("none"),[g,m]=l.useState(!1),[h,y]=l.useState(!1),[x,b]=l.useState(0),[C,S]=l.useState("0:00"),[w,I]=l.useState("0:00"),[E,_]=l.useState(0),[R,N]=l.useState({left:0,top:0,visible:!1}),[O,$]=l.useState(!1),[A,B]=l.useState(100),[j,F]=l.useState(100),[D,k]=l.useState(!1),[M,L]=l.useState(!0),[H,U]=l.useState(!1),[z,W]=l.useState(!1),[q,K]=l.useState(0),[G,X]=l.useState(""),[Z,J]=l.useState(),[ne,Q]=l.useState(300),[ee,te]=l.useState(""),[oe,le]=l.useState("");l.useEffect(()=>{s&&(A===null?s.volume=0:s.volume=A/100)},[A,s]),l.useEffect(()=>{(async()=>{const Ge=await(await c.apiGetTeddyCloudSettingRaw("frontend.confirm_audioplayer_close")).text()==="true";L(Ge)})()},[u]),l.useEffect(()=>{fe(),te(a),le(r),X("")},[o,a,r]),l.useEffect(()=>{s!=null&&s.querySelector("source")&&(J(0),X(""))},[s==null?void 0:s.querySelector("source")]),l.useEffect(()=>{e(),s!=null&&s.querySelector("source")&&u==="none"&&f("flex")},[u,s==null?void 0:s.querySelector("source"),e]),l.useEffect(()=>{const Be=document.getElementById("globalAudioPlayer");Be.addEventListener("loadedmetadata",()=>{const Ke=Math.floor(Be.duration/60),Ge=Math.floor(Be.duration%60);I(`${Ke}:${Ge<10?"0":""}${Ge}`)}),Be.addEventListener("progress",()=>{if(Be.buffered.length>0){const Ke=Be.buffered.end(Be.buffered.length-1),Ge=Be.duration;Ge>0&&_(Ke/Ge*100)}})},[]);const fe=()=>{var Be,Ke;if(i){const Ge=document.querySelector(".songContainer")||document.body,nt=v$e([...("sourceInfo"in i&&i.sourceInfo?(Be=i==null?void 0:i.sourceInfo)==null?void 0:Be.tracks:(Ke=i==null?void 0:i.tonieInfo)==null?void 0:Ke.tracks)??[],r,a],getComputedStyle(Ge).fontSize+" "+getComputedStyle(Ge).fontFamily).pixelWidth;Q(nt)}else Q(300)},ue=Be=>{Array.isArray(Be)||B(Be)},we=()=>{F(A),B(0)},pe=()=>{B(j)},ve=()=>{y(!0)},Ce=()=>{y(!1)},me=()=>{y(!1)},ie=()=>{s.play()},he=()=>{s.pause()},Se=()=>{for(Ne();s.firstChild;)s.removeChild(s.firstChild);s.load(),f("none"),e()},_e=Be=>{var ct;const Ke=Be.target,Ge=Math.floor(Ke.currentTime/60),nt=Math.floor(Ke.currentTime%60);b(Ke.currentTime/s.duration*100),S(`${Ge}:${nt<10?"0":""}${nt}`);const ht=i&&("trackSeconds"in i?i.trackSeconds:"tafHeader"in i?i.tafHeader.trackSeconds:[])||[],tt=i&&((ct="sourceInfo"in i&&i.sourceInfo?i.sourceInfo:i.tonieInfo)==null?void 0:ct.tracks);if(tt&&ht&&tt.length===ht.length){const bt=ht.findIndex((St,yt)=>{const Dt=ht[yt+1];return Ke.currentTime>=St&&(!Dt||Ke.currentTime{if("touches"in Be){const Ke=Be.touches[0],Ge=Be.currentTarget.getBoundingClientRect(),nt=Ke.clientX-Ge.left,ht=Ge.height/2;N({left:nt,top:ht,visible:!0}),s.currentTime=nt/Ge.width*s.duration,U(!0)}else{const Ke=Be.currentTarget.getBoundingClientRect(),Ge=Be.clientX-Ke.left,nt=Ke.height/2;N({left:Ge,top:nt,visible:!0}),O&&Fe(Be)}},ze=()=>{N({left:0,top:0,visible:!1})},Fe=Be=>{if(H)U(!1),ze();else{const Ke=Be.currentTarget.getBoundingClientRect();s.currentTime=R.left/Ke.width*s.duration}},je=Be=>{$(!0)},qe=Be=>{$(!1)},Ue=()=>{m(!g),e()},Ne=()=>{k(!1)},Ye=()=>{M?k(!0):Se()},Re=()=>{let Be=0;for(;s.currentTime>o[Be]&&(Be++,!(Be>o.length)););Be>1&&Be<=o.length?s.currentTime=o[Be-2]:Be<=1&&(s.currentTime=0)},Ae=()=>{let Be=0;for(;s.currentTime>o[Be]&&(Be++,!(Be>o.length)););Be{const Be=Ke=>{Ke?(s==null||s.play(),y(!0)):(s==null||s.pause(),y(!1))};navigator.mediaSession&&(navigator.mediaSession.metadata=new MediaMetadata({title:G||a||"",album:a||"",artist:r||"",artwork:[{src:n||"",sizes:"96x96,128x128,192x192,256x256,384x384,512x512"}]}),navigator.mediaSession.setActionHandler("play",()=>{Be(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{Be(!1)}),navigator.mediaSession.setActionHandler("previoustrack",Re),o.length>0&&navigator.mediaSession.setActionHandler("nexttrack",Ae))},[G,a,r,n,o,s]),l.useEffect(()=>{const Be=()=>{if(navigator.mediaSession&&s&&!isNaN(s.duration)&&s.duration>=s.currentTime)try{navigator.mediaSession.setPositionState({duration:s.duration,position:s.currentTime,playbackRate:s.playbackRate})}catch(Ke){console.error("Failed to update position state",Ke)}};return s&&(s.ontimeupdate=Be),()=>{s&&(s.ontimeupdate=null)}},[s]);const Le=window.innerWidth<=768,Te=window.innerWidth<=1024,Ve=Le?{...Ar.innerContainer,flexDirection:"column",alignItems:"center",width:"100%",gap:8}:Ar.innerContainer,Je=Le?{...Ar.controls2,width:"100%"}:Ar.controls2,Qe=Le?{...Ar.progressBar,width:200,marginRight:0}:Ar.progressBar,ut=Te?Ar.songContainer:{...Ar.songContainer,minWidth:ne,maxWidth:ne};l.useEffect(()=>{e()},[e,Le]);const xe=d.jsxs(d.Fragment,{children:[g?d.jsx(pCe,{onClick:Ue}):d.jsx(T2e,{onClick:Ue}),d.jsx(tW,{title:d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[d.jsxs("div",{children:[d.jsx(Bq,{})," ",t("tonies.closeAudioPlayerPopover")]}),d.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[d.jsx(mt,{onClick:Ne,children:t("tonies.cancel")}),d.jsx(mt,{onClick:Se,children:t("tonies.closeAudioPlayer")})]})]}),open:D,trigger:"click",onOpenChange:Ne,className:"closePlayerPopover",placement:"top",style:{right:8},children:d.jsx(Ha,{style:{margin:"0 0 0 10px"},onClick:Ye})})]}),be=d.jsxs(d.Fragment,{children:[d.jsx(Dy,{type:"line",success:{percent:x,strokeColor:"#1677ff"},percent:E,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),R.visible&&d.jsx("svg",{style:{position:"absolute",left:R.left,top:R.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:d.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),Ee=g?d.jsx(d.Fragment,{children:d.jsx("span",{className:"audioplayer-inner",id:"minimalAudioPlayer",style:{...Ve,display:g?"flex":"none",padding:0},children:d.jsxs("div",{style:Ar.trackInfo,children:[h?d.jsx(RL,{style:{fontSize:24,marginRight:8},onClick:he}):d.jsx($o,{style:{fontSize:24,marginRight:8},onClick:ie}),n&&d.jsx("img",{src:n,alt:"Song",style:{...Ar.songImage,cursor:i?"help":"unset"},onClick:()=>{i!==void 0&&(K(q+1),W(!0))}}),w.startsWith("Infinity")?d.jsx("div",{style:{...Ar.playPositionContainer,marginRight:0},children:d.jsxs("div",{style:{display:"flex"},children:[d.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),d.jsx("span",{children:xe})]})}):d.jsxs("div",{style:{...Ar.playPositionContainer,marginRight:0},children:[d.jsxs("div",{style:{display:"flex"},children:[d.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[C," / ",w]}),d.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:xe})]}),d.jsx("div",{style:{...Qe,width:100},onMouseDown:je,onMouseMove:$e,onMouseUp:qe,onMouseLeave:ze,onTouchStart:$e,onTouchMove:$e,onClick:Fe,children:be})]})]})})}):"",ke=g?"":d.jsxs(d.Fragment,{children:[d.jsx("span",{className:"audioplayer-inner",id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:g?"none":"flex",position:"absolute"},children:xe}),d.jsxs("span",{className:"audioplayer-inner",style:{...Ve,display:g?"none":"flex"},children:[d.jsxs("div",{id:"audioPlayer",style:{...Ar.controls,flexDirection:"column",gap:8},children:[G?d.jsxs("div",{style:{fontSize:"x-small",marginTop:G?-20:0},children:[Z,i&&((et="sourceInfo"in i&&i.sourceInfo?i.sourceInfo:i.tonieInfo)==null?void 0:et.tracks.length)&&d.jsxs(d.Fragment,{children:[" ","/"," ",("sourceInfo"in i&&i.sourceInfo?i.sourceInfo:i.tonieInfo).tracks.length]})]}):"",d.jsxs("div",{style:{display:"flex",gap:8},children:[d.jsx(P2e,{style:Ar.controlButton,onClick:Re}),h?d.jsx(RL,{style:Ar.controlButton,onClick:he}):d.jsx($o,{style:Ar.controlButton,onClick:ie}),d.jsx(L2e,{style:{...Ar.controlButton,cursor:o.length===0?"default":"pointer",opacity:o.length===0?.25:1},disabled:o.length===0,onClick:Ae})]})]}),d.jsxs("div",{style:{...Ar.trackInfo,cursor:i?"help":"unset"},onClick:()=>{i!==void 0&&(K(q+1),W(!0))},children:[n&&d.jsx("img",{src:n,alt:"Song",style:Ar.songImage}),d.jsxs("div",{className:"songContainer",style:ut,children:[G?d.jsx("div",{children:G}):"",d.jsx("div",{children:oe}),d.jsx("div",{children:ee})]})]}),w.startsWith("Infinity")?"":d.jsxs("div",{style:Ar.playPositionContainer,children:[d.jsx("div",{children:d.jsxs("div",{style:{textAlign:"center"},children:[C," / ",w]})}),d.jsx("div",{style:Qe,onMouseDown:je,onMouseMove:$e,onMouseUp:qe,onMouseLeave:ze,onTouchStart:$e,onTouchMove:$e,onClick:Fe,children:be})]}),F$e()?"":d.jsx("div",{style:Je,children:d.jsxs("div",{style:{...Ar.controls,position:"relative"},children:[d.jsx(HEe,{style:{...Ar.controlButton,...Ar.volumeIcon,display:(A||0)===0?"block":"none"},onClick:pe}),d.jsx(Lq,{style:{...Ar.controlButton,...Ar.volumeIcon,display:(A||0)>0?"block":"none"},onClick:we}),d.jsx("div",{style:Ar.volumeSlider,children:d.jsx(_0e,{min:0,max:100,value:A||0,onChange:ue})})]})})]})]});return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"audioplayer-container",style:{...Ar.container,display:u,visibility:s!=null&&s.querySelector("source")?"visible":"hidden",height:s!=null&&s.querySelector("source")?"auto":"0",margin:s!=null&&s.querySelector("source")?"0":"-24px",marginBottom:s!=null&&s.querySelector("source")?"8px":"0",overflow:"hidden"},children:[Ee,ke,i?d.jsx(Xy,{open:z,onClose:()=>W(!1),tonieCardOrTAFRecord:{...i,tonieInfo:"sourceInfo"in i&&i.sourceInfo?i.sourceInfo:i.tonieInfo},readOnly:!0},q):""]}),d.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:ve,onPause:Ce,onEnded:me,onTimeUpdate:_e,style:{display:"none"},children:"Your browser does not support the audio element."})]})},Ar={container:{flexDirection:"column",alignItems:"flex-end",objectPosition:"top",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},innerContainer:{justifyContent:"space-between",alignItems:"center",padding:10,backgroundColor:"#333",borderRadius:8,gap:16},controls:{display:"flex",alignItems:"center"},controlButton:{fontSize:24,cursor:"pointer"},trackInfo:{display:"flex",alignItems:"center",justifyContent:"center"},songImage:{width:"auto",height:40,borderRadius:"50%",marginRight:10},songContainer:{minWidth:200,maxWidth:200},progressBar:{display:"block",position:"relative",width:150,marginRight:10},playPositionContainer:{marginLeft:10,marginRight:10},controls2:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24},volumeSlider:{width:100,position:"releative",marginRight:16,top:"calc(100% + 10px)",zIndex:1e3,backgroundColor:`${()=>ZNe().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},{useToken:QNe}=Tr,eAe=()=>QNe().token,qm=Va(sl)` + height: 100%; + border-right: 0; +`,ur=Va(sN)` + min-width: 230px !important; + @media (max-width: 767px) { + display: none; + } +`,dr=Va(al)` + padding: 0 24px 24px; +`,tAe=Va(Dm)` + margin: 16px 0; +`,ir=Va(al.Content)` + padding: 24px; + margin: 0; + min-height: 280px; + background: ${()=>eAe().colorBgContainer}; +`,S0=Va.span` + @media (min-width: 767px) { + display: none; + } +`,yf=Va.span` + @media (max-width: 767px) { + display: none; + } +`;Va(DN)` + padding: 10px; +`;const fr=({items:e})=>{const{t}=Yt();return l.useEffect(()=>{if(e.length===1)document.title="TeddyCloud";else{const n=e.slice(1).map(r=>t(r.title)).join(" - ");document.title="TeddyCloud - "+n}},[e,t]),d.jsx(tAe,{items:e})},{useToken:nAe}=Tr,rAe=Va(hq)` + position: fixed; + bottom: 0; + z-index: 10; + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + padding: 16px 24px; + color: white; +`,Dj=Va.div` + margin: auto; + display: flex; + align-items: center; +`,EC=new nr(Yn()),aAe=()=>{const{t:e}=Yt(),{token:t}=nAe(),[n,r]=l.useState(0),[a,o]=l.useState(""),[i,s]=l.useState(""),[c,u]=l.useState(""),f=()=>{const g=document.querySelector("footer");g&&r(g.offsetHeight)};return l.useEffect(()=>{EC.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(g=>g.text()).then(g=>o(g)).catch(g=>console.error("Error fetching data:",g)),EC.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(g=>g.text()).then(g=>s(g)).catch(g=>console.error("Error fetching data:",g)),EC.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(g=>g.text()).then(g=>u(g)).catch(g=>console.error("Error fetching data:",g))},[]),d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"additional-footer-padding",style:{paddingBottom:n}}),d.jsxs(rAe,{id:"teddycloud-footer",children:[d.jsx(Dj,{children:d.jsx(JNe,{onVisibilityChange:f})}),d.jsx(Dj,{children:d.jsx("div",{children:d.jsxs("small",{style:{display:"flex",color:t.colorText},children:[d.jsxs(vt,{to:UNe,target:"_blank",children:[d.jsxs(S0,{children:[i," (",c,")"]}),d.jsx(yf,{children:a})]}),d.jsx("div",{style:{paddingLeft:8},children:"-"}),d.jsx(nEe,{style:{color:"#eb2f96",paddingLeft:8}}),d.jsxs(yf,{style:{paddingLeft:8},children:[e("footer.sponsorText")," "]}),d.jsx("b",{children:d.jsx(vt,{to:dA,target:"_blank",style:{paddingLeft:8},children:e("footer.sponsor")})})]})})})]})]})},oAe=new PK(Yn()),iAe=new T$e(Yn()),sAe=new nr(Yn()),lAe=()=>{const{t:e}=Yt(),{fetchCloudStatus:t,setToniesCloudAvailable:n}=Cr(),[r,a]=l.useState(!1),[o,i]=l.useState(!0),[s,c]=l.useState(!1),u=async()=>{try{const m=await(await sAe.apiGetTeddyCloudSettingRaw("cloud.enabled")).text()==="true";return i(m),m||a(!1),m}catch{return console.log("Something went wrong getting cloud.enabled."),i(!1),!1}},f=async()=>{const g=await u();try{(await oAe.v1TimeGet()).length===10&&c(!0)}catch{c(!1)}if(g){async function m(){let y=0,x=!1;for(;y<10&&!x;)try{(await iAe.reverseV1TimeGet()).length===10&&(a(!0),x=!0)}catch{y++,a(!1),await new Promise(C=>setTimeout(C,500))}}m()}};return l.useEffect(()=>{f()},[]),l.useEffect(()=>{f()},[t]),l.useEffect(()=>{n(r)},[r]),d.jsxs(Fa,{children:[d.jsx(nn,{title:e(o?r?"server.boxineStatusOnline":"server.boxineStatusOffline":"server.boxineDisabled"),children:d.jsxs(pf,{icon:o?r?d.jsx(gO,{}):d.jsx(TL,{}):d.jsx(Aq,{}),color:o?r?"#87d068":"#f50":"#faad14",bordered:!1,style:{cursor:"help",color:"#001529"},children:[d.jsx(S0,{children:"B"}),d.jsx(yf,{children:"Boxine"})]})}),d.jsx(nn,{title:e(s?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:d.jsxs(pf,{icon:s?d.jsx(gO,{}):d.jsx(TL,{}),color:s?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[d.jsx(S0,{children:"TC"}),d.jsx(yf,{children:"TeddyCloud"})]})})]})},cAe=()=>{var o;const{t:e,i18n:t}=Yt(),n=i=>{t.changeLanguage(i)},r=[{key:"1",label:e("language.english"),onClick:()=>n("en")},{key:"2",label:e("language.german"),onClick:()=>n("de")},{key:"3",label:e("language.french"),onClick:()=>n("fr")},{key:"4",label:e("language.spanish"),onClick:()=>n("es")}],a=t.language;return d.jsx(Fa,{style:{marginRight:-8},children:d.jsx(Ay,{menu:{items:r},trigger:["click"],children:d.jsx(vt,{to:"/",onClick:i=>i.preventDefault(),title:e("language.change"),children:d.jsxs(pf,{color:"transparent",style:{fontSize:"unset"},children:[d.jsx($q,{})," ",(o=r.find(i=>i.onClick&&i.onClick.toString().includes(a)))==null?void 0:o.label]})})})})},uAe=({notificationCount:e})=>{const t=uc();return d.jsx(Qb,{dot:e>0,offset:[-2,2],children:d.jsx(mt,{shape:"circle",icon:d.jsx(_q,{}),size:"small",onClick:()=>t("/settings/notifications")})})},Gf=()=>{const{t:e}=Yt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r,plugins:a}=Cr(),o=Ur.language;l.useEffect(()=>{r(e("home.navigationTitle"))},[o]);const i=a.filter(c=>c.teddyCloudSection===Ci.Home).map(c=>({key:`plugin-${c.pluginId}`,label:d.jsx(vt,{to:`/home/plugin/${c.pluginId}`,onClick:()=>{t(!1),n(!1)},children:c.pluginName}),icon:ge.createElement(ff),title:c.pluginName})),s=[{key:"home",label:d.jsx(vt,{to:"/",onClick:()=>{t(!1),n(!1)},children:e("home.navigationTitle")}),icon:ge.createElement(Nq),title:e("home.navigationTitle")},{key:"features",label:d.jsx(vt,{to:"/home/features",onClick:()=>{t(!1),n(!1)},children:e("home.features.navigationTitle")}),icon:ge.createElement(awe),title:e("home.features.navigationTitle")},{key:"statistics",label:d.jsx(vt,{to:"/home/stats",onClick:()=>{t(!1),n(!1)},children:e("home.stats.navigationTitle")}),icon:ge.createElement(ng),title:e("home.stats.navigationTitle")},{key:"sponsor",label:d.jsx(vt,{to:dA,target:"_blank",onClick:()=>{t(!1),n(!1)},children:e("home.sponsor.navigationTitle")}),icon:ge.createElement(oEe),title:e("home.sponsor.navigationTitle")},...i,{key:"hiddenMeeting",label:d.jsx(vt,{to:"/home/tonieMeeting",onClick:()=>{t(!1),n(!1)}})}];return d.jsx(qm,{mode:"inline",selectedKeys:[],defaultOpenKeys:["sub"],items:s})},ns=()=>{const{t:e}=Yt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r}=Cr(),a=Ur.language,[o,i]=l.useState([]);l.useEffect(()=>{r(e("community.navigationTitle"))},[a]);const s=y=>{const x=[];y.includes("/contribution")&&x.push("contribution"),y.includes("/tcplugins")&&x.push("tcplugins"),i(b=>Array.from(new Set([...b,...x])))},{plugins:c}=Cr(),u=c.map(y=>({key:`tcplugins-${y.pluginId}`,label:d.jsx(vt,{to:`/community/tcplugins/${y.pluginId}`,onClick:()=>{t(!1),n(!1)},children:y.pluginName}),icon:ge.createElement(ff),title:y.pluginName})),f=c.filter(y=>y.teddyCloudSection===Ci.Community).map(y=>({key:`plugin-${y.pluginId}`,label:d.jsx(vt,{to:`/community/plugin/${y.pluginId}`,onClick:()=>{t(!1),n(!1)},children:y.pluginName}),icon:ge.createElement(ff),title:y.pluginName}));l.useEffect(()=>{s(location.pathname)},[location.pathname]);const g=y=>{const x=y.find(C=>!o.includes(C)),b=o.find(C=>!y.includes(C));x?i(C=>[...C,x]):b&&i(C=>C.filter(S=>S!==b))},m=({isOpen:y})=>y??!1?d.jsx(kq,{style:{margin:"16px 0 16px 16px"}}):d.jsx(jm,{style:{margin:"16px 0 16px 16px"}}),h=[{key:"community",label:d.jsx(vt,{to:"/community",onClick:()=>{t(!1),n(!1)},children:e("community.navigationTitle")}),icon:ge.createElement(xEe),title:e("community.navigationTitle")},{key:"tcplugins",label:d.jsx(vt,{to:"/community/tcplugins",style:{color:"currentColor",display:"flex",alignItems:"center",padding:"0 50px 0 0"},onClick:()=>{t(!1),n(!1)},children:e("community.plugins.navigationTitle")}),icon:ge.createElement(uCe),title:e("community.plugins.navigationTitle"),children:u},{key:"request",label:d.jsx(vt,{to:"/community/supportrequestguide",onClick:()=>{t(!1),n(!1)},children:e("community.supportRequestGuide.navigationTitle")}),icon:ge.createElement(Bf),title:e("community.supportRequestGuide.navigationTitle")},{key:"contribution",label:d.jsx(vt,{to:"/community/contribution",style:{color:"currentColor",display:"flex",alignItems:"center",padding:"0 50px 0 0"},onClick:()=>{t(!1),n(!1)},children:e("community.contribution.navigationTitle")}),icon:ge.createElement(pwe),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:d.jsx(vt,{to:"/community/contribution/tonies-json",onClick:()=>{t(!1),n(!1)},children:e("community.contribution.toniesJson.navigationTitle")}),icon:ge.createElement(Oye),title:e("community.contribution.toniesJson.navigationTitle")},{key:"translation",label:d.jsx(vt,{to:"/community/contribution/translations",onClick:()=>{t(!1),n(!1)},children:e("community.translations.navigationTitle")}),icon:ge.createElement($q),title:e("community.translations.navigationTitle")}]},{key:"contributors",label:d.jsx(vt,{to:"/community/contributors",onClick:()=>{t(!1),n(!1)},children:e("community.contributors.navigationTitle")}),icon:ge.createElement(Bwe),title:e("community.contributors.navigationTitle")},{key:"changelog",label:d.jsx(vt,{to:"/community/changelog",onClick:()=>{t(!1),n(!1)},children:e("community.changelog.navigationTitle")}),icon:ge.createElement(SCe),title:e("community.changelog.navigationTitle")},{key:"Forum",label:d.jsx(vt,{to:Zd,target:"_blank",onClick:()=>{t(!1),n(!1)},children:e("community.forum.navigationTitle")}),icon:ge.createElement(twe),title:e("community.forum.navigationTitle")},...f];return d.jsx(qm,{mode:"inline",defaultOpenKeys:["sub"],openKeys:o,selectedKeys:[],onOpenChange:g,items:h,expandIcon:({isOpen:y})=>m({isOpen:y})})},dAe=new nr(Yn()),fAe=new PK(Yn()),pAe=async(e=!0,t,n,r)=>{const a="restart-tc";n(a,ft("settings.restartTC"),ft("settings.tryToRestartTC"));try{const s=await(await dAe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text();if(s.toString()!=="OK"){r(a),t(xt.Error,ft("settings.restartFailed"),ft("settings.restartFailed")+": "+s.toString(),ft("settings.navigationTitle"));return}}catch(i){r(a),t(xt.Error,ft("settings.restartFailed"),ft("settings.restartFailed")+": "+i,ft("settings.navigationTitle"));return}n(a,ft("settings.restartTC"),ft("settings.restartInProgress")),await new Promise(i=>setTimeout(i,3e3));let o=0;for(;o<10;)try{if((await fAe.v1TimeGet()).length===10){r(a),t(xt.Success,ft("settings.restartComplete"),ft("settings.restartComplete"),ft("settings.navigationTitle")),e&&(window.location.href="/web");return}}catch{o++,await new Promise(s=>setTimeout(s,3e3))}r(a),t(xt.Error,ft("settings.restartFailed"),ft("settings.restartFailed"),ft("settings.navigationTitle"))},gAe=new nr(Yn()),qf=()=>{const{t:e}=Yt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r,plugins:a}=Cr(),{addNotification:o,addLoadingNotification:i,closeLoadingNotification:s}=Cr(),c=Ur.language,[u,f]=l.useState("");l.useEffect(()=>{r(e("settings.navigationTitle"))},[c]);const g=a.filter(b=>b.teddyCloudSection===Ci.Settings).map(b=>({key:`plugin-${b.pluginId}`,label:d.jsx(vt,{to:`/settings/plugin/${b.pluginId}`,onClick:()=>{t(!1),n(!1)},children:b.pluginName}),icon:ge.createElement(ff),title:b.pluginName})),m=b=>{const C=new URL(b),S=C.port?`:${C.port}`:"";return`${C.protocol}//${C.hostname}${S}`},h=async()=>{await pAe(!0,o,i,s),f("")},y=async()=>{const b="reloadToniesJson";i(b,e("settings.toniesJsonUpdate"),e("settings.toniesJsonUpdateInProgress"));try{const S=await(await gAe.apiGetTeddyCloudApiRaw("/api/toniesJsonUpdate")).text();f(""),s(b),S.toString()!=="Triggered tonies.json update"?o(xt.Error,e("settings.toniesJsonUpdateFailed"),e("settings.toniesJsonUpdateFailed")+": "+S.toString(),e("settings.navigationTitle")):o(xt.Success,e("settings.toniesJsonUpdateSuccessful"),e("settings.toniesJsonUpdateSuccessful"),e("settings.navigationTitle"))}catch(C){o(xt.Error,e("settings.toniesJsonUpdateFailed"),e("settings.toniesJsonUpdateFailed")+": "+C,e("settings.navigationTitle"))}},x=[{key:"general",label:d.jsx(vt,{to:"/settings",onClick:()=>{t(!1),n(!1)},children:e("settings.general.navigationTitle")}),icon:ge.createElement(BN),title:e("settings.general.navigationTitle")},{key:"certificates",label:d.jsx(vt,{to:"/settings/certificates",onClick:()=>{t(!1),n(!1)},children:e("settings.certificates.navigationTitle")}),icon:ge.createElement(FN),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:d.jsx(vt,{to:"/settings/rtnl",onClick:()=>{t(!1),n(!1)},children:e("settings.rtnl.navigationTitle")}),icon:ge.createElement(Nwe),title:e("settings.rtnl.navigationTitle")},{key:"notifications",label:d.jsx(vt,{to:"/settings/notifications",onClick:()=>{t(!1),n(!1)},children:e("settings.notifications.navigationTitle")}),icon:ge.createElement(_q),title:e("settings.notifications.navigationTitle")},{key:"reload_toniesJson",label:d.jsx("label",{style:{cursor:"pointer"},children:e("settings.toniesJsonUpdate")}),onClick:()=>{y(),t(!1),n(!1)},icon:ge.createElement(jq),title:e("settings.toniesJsonUpdate")},{key:"restart_server",label:d.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:()=>{h(),t(!1),n(!1)},icon:ge.createElement(l2e),title:e("settings.restartServer")},{key:"legacy",label:d.jsx(vt,{to:`${m(new URL(window.location.href))}/legacy.html`,target:"_blank",onClick:()=>{t(!1),n(!1)},children:e("settings.legacyGui")}),icon:ge.createElement(lEe),title:e("settings.legacyGui")},...g];return d.jsx(qm,{mode:"inline",selectedKeys:[u],defaultOpenKeys:["sub"],items:x})};function Mj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function zd(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var IC={};function hAe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return IC[t]||(IC[t]=mAe(e)),IC[t]}function vAe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(o){return o!=="token"}),a=hAe(r);return a.reduce(function(o,i){return zd(zd({},o),n[i])},t)}function Lj(e){return e.join(" ")}function bAe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,o){return uY({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})})}}function uY(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,u=t.tagName,f=t.value;if(c==="text")return f;if(u){var g=bAe(n,o),m;if(!o)m=zd(zd({},s),{},{className:Lj(s.className)});else{var h=Object.keys(n).reduce(function(C,S){return S.split(".").forEach(function(w){C.includes(w)||C.push(w)}),C},[]),y=s.className&&s.className.includes("token")?["token"]:[],x=s.className&&y.concat(s.className.filter(function(C){return!h.includes(C)}));m=zd(zd({},s),{},{className:Lj(x)||void 0,style:vAe(s.className,Object.assign({},s.style,a),n)})}var b=g(t.children);return ge.createElement(u,Ie({key:i},m),b)}}const yAe=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var xAe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function jj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Wl(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return Ab({children:E,lineNumber:_,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:R,showLineNumbers:r,wrapLongLines:c,wrapLines:t})}function x(E,_){if(r&&_&&a){var R=fY(s,_,i);E.unshift(dY(_,R))}return E}function b(E,_){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||R.length>0?y(E,_,R):x(E,_)}for(var C=function(){var _=f[h],R=_.children[0].value,N=CAe(R);if(N){var O=R.split(` +`);O.forEach(function($,A){var B=r&&g.length+o,j={type:"text",value:"".concat($,` +`)};if(A===0){var F=f.slice(m+1,h).concat(Ab({children:[j],className:_.properties.className})),D=b(F,B);g.push(D)}else if(A===O.length-1){var k=f[h+1]&&f[h+1].children&&f[h+1].children[0],M={type:"text",value:"".concat($)};if(k){var L=Ab({children:[M],className:_.properties.className});f.splice(h+1,0,L)}else{var H=[M],U=b(H,B,_.properties.className);g.push(U)}}else{var z=[j],W=b(z,B,_.properties.className);g.push(W)}}),m=h}h++};h0){let i=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),c=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=i(n.map(u=>{if(u=NAe(u),u in Fj)return;Fj[u]=!0;const f=u.endsWith(".css"),g=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${g}`))return;const m=document.createElement("link");if(m.rel=f?"stylesheet":$Ae,f||(m.as="script"),m.crossOrigin="",m.href=u,c&&m.setAttribute("nonce",c),document.head.appendChild(m),f)return new Promise((h,y)=>{m.addEventListener("load",h),m.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return a.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},AAe=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var _C,Bj;function kAe(){if(Bj)return _C;Bj=1,_C=t;var e=Object.prototype.hasOwnProperty;function t(){for(var n={},r=0;r4&&y.slice(0,4)===r&&a.test(h)&&(h.charAt(4)==="-"?x=c(h):h=u(h),b=t),new b(x,h))}function c(m){var h=m.slice(5).replace(o,g);return r+h.charAt(0).toUpperCase()+h.slice(1)}function u(m){var h=m.slice(4);return o.test(h)?m:(h=h.replace(i,f),h.charAt(0)!=="-"&&(h="-"+h),r+h)}function f(m){return"-"+m.toLowerCase()}function g(m){return m.charAt(1).toUpperCase()}return zC}var HC,rF;function UAe(){if(rF)return HC;rF=1,HC=t;var e=/[#.]/g;function t(n,r){for(var a=n||"",o=r||"div",i={},s=0,c,u,f;s=48&&n<=57}return GC}var qC,uF;function Y3e(){if(uF)return qC;uF=1,qC=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}return qC}var KC,dF;function X3e(){if(dF)return KC;dF=1,KC=e;function e(t){var n=typeof t=="string"?t.charCodeAt(0):t;return n>=97&&n<=122||n>=65&&n<=90}return KC}var YC,fF;function Z3e(){if(fF)return YC;fF=1;var e=X3e(),t=yY();YC=n;function n(r){return e(r)||t(r)}return YC}var XC,pF;function J3e(){if(pF)return XC;pF=1;var e,t=59;XC=n;function n(r){var a="&"+r+";",o;return e=e||document.createElement("i"),e.innerHTML=a,o=e.textContent,o.charCodeAt(o.length-1)===t&&r!=="semi"||o===a?!1:o}return XC}var ZC,gF;function Q3e(){if(gF)return ZC;gF=1;var e=q3e,t=K3e,n=yY(),r=Y3e(),a=Z3e(),o=J3e();ZC=H;var i={}.hasOwnProperty,s=String.fromCharCode,c=Function.prototype,u={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f=9,g=10,m=12,h=32,y=38,x=59,b=60,C=61,S=35,w=88,I=120,E=65533,_="named",R="hexadecimal",N="decimal",O={};O[R]=16,O[N]=10;var $={};$[_]=a,$[N]=n,$[R]=r;var A=1,B=2,j=3,F=4,D=5,k=6,M=7,L={};L[A]="Named character references must be terminated by a semicolon",L[B]="Numeric character references must be terminated by a semicolon",L[j]="Named character references cannot be empty",L[F]="Numeric character references cannot be empty",L[D]="Named character references must be known",L[k]="Numeric character references cannot be disallowed",L[M]="Numeric character references cannot be outside the permissible Unicode range";function H(q,K){var G={},X,Z;K||(K={});for(Z in u)X=K[Z],G[Z]=X??u[Z];return(G.position.indent||G.position.start)&&(G.indent=G.position.indent||[],G.position=G.position.start),U(q,G)}function U(q,K){var G=K.additional,X=K.nonTerminated,Z=K.text,J=K.reference,ne=K.warning,Q=K.textContext,ee=K.referenceContext,te=K.warningContext,oe=K.position,le=K.indent||[],fe=q.length,ue=0,we=-1,pe=oe.column||1,ve=oe.line||1,Ce="",me=[],ie,he,Se,_e,$e,ze,Fe,je,qe,Ue,Ne,Ye,Re,Ae,Le,Te,Ve,Je,Qe;for(typeof G=="string"&&(G=G.charCodeAt(0)),Te=ut(),je=ne?xe:c,ue--,fe++;++ue65535&&(ze-=65536,Ue+=s(ze>>>10|55296),ze=56320|ze&1023),ze=Ue+s(ze))):Ae!==_&&je(F,Je)),ze?(be(),Te=ut(),ue=Qe-1,pe+=Qe-Re+1,me.push(ze),Ve=ut(),Ve.offset++,J&&J.call(ee,ze,{start:Te,end:Ve},q.slice(Re-1,Qe)),Te=Ve):(_e=q.slice(Re-1,Qe),Ce+=_e,pe+=_e.length,ue=Qe-1)}else $e===10&&(ve++,we++,pe=0),$e===$e?(Ce+=s($e),pe++):be();return me.join("");function ut(){return{line:ve,column:pe,offset:ue+(oe.offset||0)}}function xe(Ee,ke){var et=ut();et.column+=ke,et.offset+=ke,ne.call(te,L[Ee],et,Ee)}function be(){Ce&&(me.push(Ce),Z&&Z.call(Q,Ce,{start:Te,end:ut()}),Ce="")}}function z(q){return q>=55296&&q<=57343||q>1114111}function W(q){return q>=1&&q<=8||q===11||q>=13&&q<=31||q>=127&&q<=159||q>=64976&&q<=65007||(q&65535)===65535||(q&65535)===65534}return ZC}var JC={exports:{}},mF;function ePe(){return mF||(mF=1,function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,i={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function S(w){return w instanceof c?new c(w.type,S(w.content),w.alias):Array.isArray(w)?w.map(S):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(E){var S=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(S){var w=document.getElementsByTagName("script");for(var I in w)if(w[I].src==S)return w[I]}return null}},isActive:function(S,w,I){for(var E="no-"+w;S;){var _=S.classList;if(_.contains(w))return!0;if(_.contains(E))return!1;S=S.parentElement}return!!I}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(S,w){var I=s.util.clone(s.languages[S]);for(var E in w)I[E]=w[E];return I},insertBefore:function(S,w,I,E){E=E||s.languages;var _=E[S],R={};for(var N in _)if(_.hasOwnProperty(N)){if(N==w)for(var O in I)I.hasOwnProperty(O)&&(R[O]=I[O]);I.hasOwnProperty(N)||(R[N]=_[N])}var $=E[S];return E[S]=R,s.languages.DFS(s.languages,function(A,B){B===$&&A!=S&&(this[A]=R)}),R},DFS:function S(w,I,E,_){_=_||{};var R=s.util.objId;for(var N in w)if(w.hasOwnProperty(N)){I.call(w,N,w[N],E||N);var O=w[N],$=s.util.type(O);$==="Object"&&!_[R(O)]?(_[R(O)]=!0,S(O,I,null,_)):$==="Array"&&!_[R(O)]&&(_[R(O)]=!0,S(O,I,N,_))}}},plugins:{},highlightAll:function(S,w){s.highlightAllUnder(document,S,w)},highlightAllUnder:function(S,w,I){var E={callback:I,container:S,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),s.hooks.run("before-all-elements-highlight",E);for(var _=0,R;R=E.elements[_++];)s.highlightElement(R,w===!0,E.callback)},highlightElement:function(S,w,I){var E=s.util.getLanguage(S),_=s.languages[E];s.util.setLanguage(S,E);var R=S.parentElement;R&&R.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(R,E);var N=S.textContent,O={element:S,language:E,grammar:_,code:N};function $(B){O.highlightedCode=B,s.hooks.run("before-insert",O),O.element.innerHTML=O.highlightedCode,s.hooks.run("after-highlight",O),s.hooks.run("complete",O),I&&I.call(O.element)}if(s.hooks.run("before-sanity-check",O),R=O.element.parentElement,R&&R.nodeName.toLowerCase()==="pre"&&!R.hasAttribute("tabindex")&&R.setAttribute("tabindex","0"),!O.code){s.hooks.run("complete",O),I&&I.call(O.element);return}if(s.hooks.run("before-highlight",O),!O.grammar){$(s.util.encode(O.code));return}if(w&&r.Worker){var A=new Worker(s.filename);A.onmessage=function(B){$(B.data)},A.postMessage(JSON.stringify({language:O.language,code:O.code,immediateClose:!0}))}else $(s.highlight(O.code,O.grammar,O.language))},highlight:function(S,w,I){var E={code:S,grammar:w,language:I};if(s.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=s.tokenize(E.code,E.grammar),s.hooks.run("after-tokenize",E),c.stringify(s.util.encode(E.tokens),E.language)},tokenize:function(S,w){var I=w.rest;if(I){for(var E in I)w[E]=I[E];delete w.rest}var _=new g;return m(_,_.head,S),f(S,_,w,_.head,0),y(_)},hooks:{all:{},add:function(S,w){var I=s.hooks.all;I[S]=I[S]||[],I[S].push(w)},run:function(S,w){var I=s.hooks.all[S];if(!(!I||!I.length))for(var E=0,_;_=I[E++];)_(w)}},Token:c};r.Prism=s;function c(S,w,I,E){this.type=S,this.content=w,this.alias=I,this.length=(E||"").length|0}c.stringify=function S(w,I){if(typeof w=="string")return w;if(Array.isArray(w)){var E="";return w.forEach(function($){E+=S($,I)}),E}var _={type:w.type,content:S(w.content,I),tag:"span",classes:["token",w.type],attributes:{},language:I},R=w.alias;R&&(Array.isArray(R)?Array.prototype.push.apply(_.classes,R):_.classes.push(R)),s.hooks.run("wrap",_);var N="";for(var O in _.attributes)N+=" "+O+'="'+(_.attributes[O]||"").replace(/"/g,""")+'"';return"<"+_.tag+' class="'+_.classes.join(" ")+'"'+N+">"+_.content+""};function u(S,w,I,E){S.lastIndex=w;var _=S.exec(I);if(_&&E&&_[1]){var R=_[1].length;_.index+=R,_[0]=_[0].slice(R)}return _}function f(S,w,I,E,_,R){for(var N in I)if(!(!I.hasOwnProperty(N)||!I[N])){var O=I[N];O=Array.isArray(O)?O:[O];for(var $=0;$=R.reach);H+=L.value.length,L=L.next){var U=L.value;if(w.length>S.length)return;if(!(U instanceof c)){var z=1,W;if(F){if(W=u(M,H,S,j),!W||W.index>=S.length)break;var X=W.index,q=W.index+W[0].length,K=H;for(K+=L.value.length;X>=K;)L=L.next,K+=L.value.length;if(K-=L.value.length,H=K,L.value instanceof c)continue;for(var G=L;G!==w.tail&&(KR.reach&&(R.reach=Q);var ee=L.prev;J&&(ee=m(w,ee,J),H+=J.length),h(w,ee,z);var te=new c(N,B?s.tokenize(Z,B):Z,D,Z);if(L=m(w,ee,te),ne&&m(w,L,ne),z>1){var oe={cause:N+","+$,reach:Q};f(S,w,I,L.prev,H,oe),R&&oe.reach>R.reach&&(R.reach=oe.reach)}}}}}}function g(){var S={value:null,prev:null,next:null},w={value:null,prev:S,next:null};S.next=w,this.head=S,this.tail=w,this.length=0}function m(S,w,I){var E=w.next,_={value:I,prev:w,next:E};return w.next=_,E.prev=_,S.length++,_}function h(S,w,I){for(var E=w.next,_=0;_/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(r,a){var o={};o["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:t.languages[a]},o.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:o}};i["language-"+a]={pattern:/[\s\S]+/,inside:t.languages[a]};var s={};s[r]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}return QC}var ew,vF;function nPe(){if(vF)return ew;vF=1,ew=e,e.displayName="css",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var a=n.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(t)}return ew}var tw,bF;function rPe(){if(bF)return tw;bF=1,tw=e,e.displayName="clike",e.aliases=[];function e(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}return tw}var nw,yF;function aPe(){if(yF)return nw;yF=1,nw=e,e.displayName="javascript",e.aliases=["js"];function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}return nw}var rw,xF;function oPe(){if(xF)return rw;xF=1;var e=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Js=="object"?Js:{},t=E();e.Prism={manual:!0,disableWorkerMessageHandler:!0};var n=KAe(),r=Q3e(),a=ePe(),o=tPe(),i=nPe(),s=rPe(),c=aPe();t();var u={}.hasOwnProperty;function f(){}f.prototype=a;var g=new f;rw=g,g.highlight=y,g.register=m,g.alias=h,g.registered=x,g.listLanguages=b,m(o),m(i),m(s),m(c),g.util.encode=w,g.Token.stringify=C;function m(_){if(typeof _!="function"||!_.displayName)throw new Error("Expected `function` for `grammar`, got `"+_+"`");g.languages[_.displayName]===void 0&&_(g)}function h(_,R){var N=g.languages,O=_,$,A,B,j;R&&(O={},O[_]=R);for($ in O)for(A=O[$],A=typeof A=="string"?[A]:A,B=A.length,j=-1;++j code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var aw,SF;function sPe(){if(SF)return aw;SF=1,aw=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return aw}var ow,CF;function lPe(){if(CF)return ow;CF=1,ow=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return ow}var iw,wF;function cPe(){if(wF)return iw;wF=1,iw=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return iw}var sw,EF;function uPe(){if(EF)return sw;EF=1,sw=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return sw}var lw,IF;function dPe(){if(IF)return lw;IF=1,lw=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return lw}var cw,_F;function fPe(){if(_F)return cw;_F=1,cw=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return cw}var uw,TF;function pPe(){if(TF)return uw;TF=1,uw=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return uw}var dw,RF;function gPe(){if(RF)return dw;RF=1,dw=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return dw}var fw,OF;function gA(){if(OF)return fw;OF=1,fw=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return fw}var pw,$F;function mPe(){if($F)return pw;$F=1;var e=gA();pw=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,o=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function i(c){return RegExp(c.replace(//g,function(){return o}),"i")}var s={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return pw}var gw,NF;function hPe(){if(NF)return gw;NF=1,gw=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return gw}var mw,AF;function vPe(){if(AF)return mw;AF=1,mw=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return mw}var hw,kF;function bPe(){if(kF)return hw;kF=1,hw=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return hw}var vw,PF;function Au(){if(PF)return vw;PF=1,vw=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return vw}var bw,DF;function mA(){if(DF)return bw;DF=1;var e=Au();bw=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,o=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return o})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return bw}var yw,MF;function yPe(){if(MF)return yw;MF=1;var e=mA();yw=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return yw}var xw,LF;function xPe(){if(LF)return xw;LF=1,xw=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return xw}var Sw,jF;function SPe(){if(jF)return Sw;jF=1,Sw=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function o(i){i=i.split(" ");for(var s={},c=0,u=i.length;c>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return ww}var Ew,zF;function Zy(){if(zF)return Ew;zF=1,Ew=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(z,W){return z.replace(/<<(\d+)>>/g,function(q,K){return"(?:"+W[+K]+")"})}function a(z,W,q){return RegExp(r(z,W),"")}function o(z,W){for(var q=0;q>/g,function(){return"(?:"+z+")"});return z.replace(/<>/g,"[^\\s\\S]")}var i={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(z){return"\\b(?:"+z.trim().replace(/ /g,"|")+")\\b"}var c=s(i.typeDeclaration),u=RegExp(s(i.type+" "+i.typeDeclaration+" "+i.contextual+" "+i.other)),f=s(i.typeDeclaration+" "+i.contextual+" "+i.other),g=s(i.type+" "+i.typeDeclaration+" "+i.other),m=o(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=o(/\((?:[^()]|<>)*\)/.source,2),y=/@?\b[A-Za-z_]\w*\b/.source,x=r(/<<0>>(?:\s*<<1>>)?/.source,[y,m]),b=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,x]),C=/\[\s*(?:,\s*)*\]/.source,S=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,C]),w=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[m,h,C]),I=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),E=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[I,b,C]),_={keyword:u,punctuation:/[<>()?,.:[\]]/},R=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,N=/"(?:\\.|[^\\"\r\n])*"/.source,O=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[N]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:_},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[y,E]),lookbehind:!0,inside:_},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[y]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[c,x]),lookbehind:!0,inside:_},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:_},{pattern:a(/(\bwhere\s+)<<0>>/.source,[y]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[S]),lookbehind:!0,inside:_},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,g,y]),inside:_}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[y]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[y]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:_},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,b]),inside:_,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:_,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[y,m]),inside:{function:a(/^<<0>>/.source,[y]),generic:{pattern:RegExp(m),alias:"class-name",inside:_}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,x,y,E,u.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[x,h]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(E),greedy:!0,inside:_},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var $=N+"|"+R,A=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$]),B=o(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[A]),2),j=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,F=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,B]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[j,F]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[j]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[B]),inside:n.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var D=/:[^}\r\n]+/.source,k=o(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[A]),2),M=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[k,D]),L=o(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[$]),2),H=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,D]);function U(z,W){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[z]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[W,D]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:U(M,k)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[H]),lookbehind:!0,greedy:!0,inside:U(H,L)}],char:{pattern:RegExp(R),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return Ew}var Iw,HF;function EPe(){if(HF)return Iw;HF=1;var e=Zy();Iw=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return Iw}var _w,UF;function IPe(){if(UF)return _w;UF=1,_w=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return _w}var Tw,VF;function _Pe(){if(VF)return Tw;VF=1,Tw=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return Tw}var Rw,WF;function TPe(){if(WF)return Rw;WF=1,Rw=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(f,g){return f.replace(/<<(\d+)>>/g,function(m,h){return g[+h]})}function a(f,g,m){return RegExp(r(f,g),m)}var o=/bool|clip|float|int|string|val/.source,i=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),c=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[i,s,c].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[o],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[o],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return Rw}var Ow,GF;function RPe(){if(GF)return Ow;GF=1,Ow=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return Ow}var $w,qF;function xY(){if(qF)return $w;qF=1,$w=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=o.variable[1].inside,c=0;c?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return Nw}var Aw,YF;function OPe(){if(YF)return Aw;YF=1,Aw=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},o=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:o,parameter:a,variable:r,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:o,parameter:a,variable:r,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:o,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:o,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return Aw}var kw,XF;function $Pe(){if(XF)return kw;XF=1,kw=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return kw}var Pw,ZF;function NPe(){if(ZF)return Pw;ZF=1,Pw=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return Pw}var Dw,JF;function APe(){if(JF)return Dw;JF=1,Dw=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return Dw}var Mw,QF;function kPe(){if(QF)return Mw;QF=1;var e=Au();Mw=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return Mw}var Lw,e6;function PPe(){if(e6)return Lw;e6=1,Lw=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return Lw}var jw,t6;function DPe(){if(t6)return jw;t6=1,jw=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return jw}var Fw,n6;function MPe(){if(n6)return Fw;n6=1,Fw=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return Fw}var Bw,r6;function LPe(){if(r6)return Bw;r6=1,Bw=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return Bw}var zw,a6;function jPe(){if(a6)return zw;a6=1,zw=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return zw}var Hw,o6;function FPe(){if(o6)return Hw;o6=1,Hw=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return Hw}var Uw,i6;function BPe(){if(i6)return Uw;i6=1;var e=mA();Uw=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return Uw}var Vw,s6;function zPe(){if(s6)return Vw;s6=1,Vw=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return Vw}var Ww,l6;function HPe(){if(l6)return Ww;l6=1,Ww=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return Ww}var Gw,c6;function UPe(){if(c6)return Gw;c6=1,Gw=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return Gw}var qw,u6;function VPe(){if(u6)return qw;u6=1,qw=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return qw}var Kw,d6;function WPe(){if(d6)return Kw;d6=1,Kw=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return Kw}var Yw,f6;function GPe(){if(f6)return Yw;f6=1,Yw=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return Yw}var Xw,p6;function qPe(){if(p6)return Xw;p6=1,Xw=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return Xw}var Zw,g6;function Jy(){if(g6)return Zw;g6=1,Zw=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",o=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+o),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+o+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return Zw}var Jw,m6;function KPe(){if(m6)return Jw;m6=1;var e=Jy();Jw=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}return Jw}var Qw,h6;function YPe(){if(h6)return Qw;h6=1;var e=Zy();Qw=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,o=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function i(b,C){for(var S=0;S/g,function(){return"(?:"+b+")"});return b.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+o+")").replace(//g,"(?:"+a+")")}var s=i(/\((?:[^()'"@/]|||)*\)/.source,2),c=i(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=i(/\{(?:[^{}'"@/]|||)*\}/.source,2),f=i(/<(?:[^<>'"@/]|||)*>/.source,2),g=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,m=/(?!\d)[^\s>\/=$<%]+/.source+g+/\s*\/?>/.source,h=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+m+"|"+i(/<\1/.source+g+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+m+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var o={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:o,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,number:i})})(t)}return tE}var nE,y6;function JPe(){if(y6)return nE;y6=1,nE=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return nE}var rE,x6;function QPe(){if(x6)return rE;x6=1,rE=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return rE}var aE,S6;function eDe(){if(S6)return aE;S6=1,aE=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return aE}var oE,C6;function tDe(){if(C6)return oE;C6=1,oE=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[o,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":o,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return oE}var iE,w6;function nDe(){if(w6)return iE;w6=1,iE=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return iE}var sE,E6;function rDe(){if(E6)return sE;E6=1,sE=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return sE}var lE,I6;function aDe(){if(I6)return lE;I6=1,lE=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return lE}var cE,_6;function oDe(){if(_6)return cE;_6=1,cE=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var o=r[a],i=[];/^\w+$/.test(a)||i.push(/\w+/.exec(a)[0]),a==="diff"&&i.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+o+`].*(?:\r +?| +|(?![\\s\\S])))+`,"m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return cE}var uE,T6;function Mo(){if(T6)return uE;T6=1,uE=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,o){return"___"+a.toUpperCase()+o+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,o,i,s){if(a.language===o){var c=a.tokenStack=[];a.code=a.code.replace(i,function(u){if(typeof s=="function"&&!s(u))return u;for(var f=c.length,g;a.code.indexOf(g=r(o,f))!==-1;)++f;return c[f]=u,g}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,o){if(a.language!==o||!a.tokenStack)return;a.grammar=n.languages[o];var i=0,s=Object.keys(a.tokenStack);function c(u){for(var f=0;f=s.length);f++){var g=u[f];if(typeof g=="string"||g.content&&typeof g.content=="string"){var m=s[i],h=a.tokenStack[m],y=typeof g=="string"?g:g.content,x=r(o,m),b=y.indexOf(x);if(b>-1){++i;var C=y.substring(0,b),S=new n.Token(o,n.tokenize(h,a.grammar),"language-"+o,h),w=y.substring(b+x.length),I=[];C&&I.push.apply(I,c([C])),I.push(S),w&&I.push.apply(I,c([w])),typeof g=="string"?u.splice.apply(u,[f,1].concat(I)):g.content=I}}else g.content&&c(g.content)}return u}c(a.tokens)}}})})(t)}return uE}var dE,R6;function iDe(){if(R6)return dE;R6=1;var e=Mo();dE=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,o=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(i){o.buildPlaceholders(i,"django",a)}),r.hooks.add("after-tokenize",function(i){o.tokenizePlaceholders(i,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(i){o.buildPlaceholders(i,"jinja2",a)}),r.hooks.add("after-tokenize",function(i){o.tokenizePlaceholders(i,"jinja2")})}(n)}return dE}var fE,O6;function sDe(){if(O6)return fE;O6=1,fE=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return fE}var pE,$6;function lDe(){if($6)return pE;$6=1,pE=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),o=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return o}),s={pattern:RegExp(o),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(f,g){return f=f.replace(//g,function(){return i}).replace(//g,function(){return a}),RegExp(f,g)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},n.languages.dockerfile=n.languages.docker})(t)}return pE}var gE,N6;function cDe(){if(N6)return gE;N6=1,gE=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function o(i,s){return RegExp(i.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:o(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:o(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:o(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:o(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return gE}var mE,A6;function uDe(){if(A6)return mE;A6=1,mE=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return mE}var hE,k6;function dDe(){if(k6)return hE;k6=1,hE=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return hE}var vE,P6;function fDe(){if(P6)return vE;P6=1,vE=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return vE}var bE,D6;function pDe(){if(D6)return bE;D6=1;var e=Mo();bE=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var o=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return bE}var yE,M6;function gDe(){if(M6)return yE;M6=1,yE=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return yE}var xE,L6;function mDe(){if(L6)return xE;L6=1,xE=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return xE}var SE,j6;function hDe(){if(j6)return SE;j6=1;var e=Jy(),t=Mo();SE=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(o){var i=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(o,"erb",i)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"erb")})}(r)}return SE}var CE,F6;function vDe(){if(F6)return CE;F6=1,CE=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return CE}var wE,B6;function CY(){if(B6)return wE;B6=1,wE=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return wE}var EE,z6;function bDe(){if(z6)return EE;z6=1;var e=CY(),t=Mo();EE=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(o){var i=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(o,"etlua",i)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"etlua")})}(r)}return EE}var IE,H6;function yDe(){if(H6)return IE;H6=1,IE=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return IE}var _E,U6;function xDe(){if(U6)return _E;U6=1,_E=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},o={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},i=function(f){return(f+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(f){return new RegExp("(^|\\s)(?:"+f.map(i).join("|")+")(?=\\s|$)")},c={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(c).forEach(function(f){o[f].pattern=s(c[f])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];o.combinators.pattern=s(u),n.languages.factor=o})(t)}return _E}var TE,V6;function SDe(){if(V6)return TE;V6=1,TE=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return RE}var OE,G6;function wDe(){if(G6)return OE;G6=1,OE=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return OE}var $E,q6;function EDe(){if(q6)return $E;q6=1,$E=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return $E}var NE,K6;function IDe(){if(K6)return NE;K6=1,NE=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return NE}var AE,Y6;function _De(){if(Y6)return AE;Y6=1;var e=Mo();AE=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,o=0;o<2;o++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var i={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};i.string[1].inside.interpolation.inside.rest=i,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}}},r.hooks.add("before-tokenize",function(s){var c=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",c)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return AE}var kE,X6;function TDe(){if(X6)return kE;X6=1,kE=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return kE}var PE,Z6;function RDe(){if(Z6)return PE;Z6=1,PE=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return PE}var DE,J6;function ODe(){if(J6)return DE;J6=1,DE=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return DE}var ME,Q6;function $De(){if(Q6)return ME;Q6=1,ME=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return ME}var LE,e8;function NDe(){if(e8)return LE;e8=1,LE=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return LE}var jE,t8;function ADe(){if(t8)return jE;t8=1,jE=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return jE}var FE,n8;function kDe(){if(n8)return FE;n8=1;var e=Au();FE=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return FE}var BE,r8;function PDe(){if(r8)return BE;r8=1,BE=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return BE}var zE,a8;function DDe(){if(a8)return zE;a8=1,zE=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return zE}var HE,o8;function MDe(){if(o8)return HE;o8=1,HE=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return HE}var UE,i8;function LDe(){if(i8)return UE;i8=1,UE=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return UE}var VE,s8;function jDe(){if(s8)return VE;s8=1,VE=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(C){return typeof C!="string"&&C.type!=="comment"&&C.type!=="scalar"}),o=0;function i(C){return a[o+C]}function s(C,S){S=S||0;for(var w=0;w0)){var y=c(/^\{$/,/^\}$/);if(y===-1)continue;for(var x=o;x=0&&u(b,"variable-input")}}}}})}return VE}var WE,l8;function FDe(){if(l8)return WE;l8=1,WE=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return WE}var GE,c8;function BDe(){if(c8)return GE;c8=1;var e=Jy();GE=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",o=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},s=0,c=o.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var o=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return qE}var KE,d8;function hA(){if(d8)return KE;d8=1,KE=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return KE}var YE,f8;function HDe(){if(f8)return YE;f8=1,YE=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return YE}var XE,p8;function UDe(){if(p8)return XE;p8=1,XE=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return XE}var ZE,g8;function VDe(){if(g8)return ZE;g8=1;var e=Au();ZE=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return ZE}var JE,m8;function WDe(){if(m8)return JE;m8=1,JE=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return JE}var QE,h8;function GDe(){if(h8)return QE;h8=1,QE=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return QE}var e2,v8;function qDe(){if(v8)return e2;v8=1,e2=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return e2}var t2,b8;function KDe(){if(b8)return t2;b8=1,t2=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(g){return RegExp("(^(?:"+g+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,o={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},i={"application/json":!0,"application/xml":!0};function s(g){var m=g.replace(/^[a-z]+\//,""),h="\\w+/(?:[\\w.-]+\\+)+"+m+"(?![+\\w.-])";return"(?:"+g+"|"+h+")"}var c;for(var u in o)if(o[u]){c=c||{};var f=i[u]?s(u):u;c[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+f+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:o[u]}}c&&n.languages.insertBefore("http","header",c)})(t)}return t2}var n2,y8;function YDe(){if(y8)return n2;y8=1,n2=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return n2}var r2,x8;function XDe(){if(x8)return r2;x8=1,r2=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return r2}var a2,S8;function ZDe(){if(S8)return a2;S8=1,a2=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,f){return f<=0?/[]/.source:u.replace(//g,function(){return r(u,f-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,o={pattern:/''/,greedy:!0,alias:"operator"},i={pattern:a,greedy:!0,inside:{escape:o}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),c={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":c,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":c,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:o,string:i},c.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return a2}var o2,C8;function JDe(){if(C8)return o2;C8=1;var e=hA();o2=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return o2}var i2,w8;function QDe(){if(w8)return i2;w8=1,i2=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return i2}var s2,E8;function eMe(){if(E8)return s2;E8=1,s2=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return s2}var l2,I8;function tMe(){if(I8)return l2;I8=1,l2=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return l2}var c2,_8;function nMe(){if(_8)return c2;_8=1,c2=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return c2}var u2,T8;function rMe(){if(T8)return u2;T8=1,u2=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return d2}var f2,O8;function vA(){if(O8)return f2;O8=1,f2=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[o,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":o,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return f2}var p2,$8;function Qy(){if($8)return p2;$8=1,p2=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(i,s){var c="doc-comment",u=n.languages[i];if(u){var f=u[c];if(!f){var g={};g[c]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(i,"comment",g),f=u[c]}if(f instanceof RegExp&&(f=u[c]={pattern:f}),Array.isArray(f))for(var m=0,h=f.length;m)?|/.source.replace(//g,function(){return i});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:o,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:o,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)}(r)}return g2}var m2,A8;function iMe(){if(A8)return m2;A8=1,m2=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return m2}var h2,k8;function sMe(){if(k8)return h2;k8=1,h2=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return h2}var v2,P8;function lMe(){if(P8)return v2;P8=1,v2=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return v2}var b2,D8;function cMe(){if(D8)return b2;D8=1,b2=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),o={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:o},string:{pattern:a,lookbehind:!0,greedy:!0,inside:o},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};o.interpolation.inside.content.inside=i})(t)}return b2}var y2,M8;function uMe(){if(M8)return y2;M8=1,y2=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(u,f){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),f)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var a=["function","function-variable","method","method-variable","property-access"],o=0;o=R.length)return;var A=O[$];if(typeof A=="string"||typeof A.content=="string"){var B=R[w],j=typeof A=="string"?A:A.content,F=j.indexOf(B);if(F!==-1){++w;var D=j.substring(0,F),k=g(I[B]),M=j.substring(F+B.length),L=[];if(D&&L.push(D),L.push(k),M){var H=[M];N(H),L.push.apply(L,H)}typeof A=="string"?(O.splice.apply(O,[$,1].concat(L)),$+=L.length-1):A.content=L}}else{var U=A.content;Array.isArray(U)?N(U):N([U])}}}return N(_),new n.Token(C,_,"language-"+C,x)}var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(x){if(!(x.language in h))return;function b(C){for(var S=0,w=C.length;S]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return S2}var C2,F8;function fMe(){if(F8)return C2;F8=1;var e=Qy(),t=bA();C2=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=a.languages.javascript,i=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+i+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:o,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return i})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+i),lookbehind:!0,inside:{string:o.string,number:o.number,boolean:o.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:o,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(r)}return C2}var w2,B8;function yA(){if(B8)return w2;B8=1,w2=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return w2}var E2,z8;function pMe(){if(z8)return E2;z8=1;var e=yA();E2=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return E2}var I2,H8;function gMe(){if(H8)return I2;H8=1;var e=yA();I2=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return I2}var _2,U8;function mMe(){if(U8)return _2;U8=1,_2=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return _2}var T2,V8;function wY(){if(V8)return T2;V8=1,T2=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(f,g){return f=f.replace(//g,function(){return a}).replace(//g,function(){return o}).replace(//g,function(){return i}),RegExp(f,g)}i=s(i).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var c=function(f){return f?typeof f=="string"?f:typeof f.content=="string"?f.content:f.content.map(c).join(""):""},u=function(f){for(var g=[],m=0;m0&&g[g.length-1].tagName===c(h.content[0].content[1])&&g.pop():h.content[h.content.length-1].content==="/>"||g.push({tagName:c(h.content[0].content[1]),openedBraces:0}):g.length>0&&h.type==="punctuation"&&h.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&h.type==="punctuation"&&h.content==="}"?g[g.length-1].openedBraces--:y=!0),(y||typeof h=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var x=c(h);m0&&(typeof f[m-1]=="string"||f[m-1].type==="plain-text")&&(x=c(f[m-1])+x,f.splice(m-1,1),m--),f[m]=new n.Token("plain-text",x,null,x)}h.content&&typeof h.content!="string"&&u(h.content)}};n.hooks.add("after-tokenize",function(f){f.language!=="jsx"&&f.language!=="tsx"||u(f.tokens)})})(t)}return T2}var R2,W8;function hMe(){if(W8)return R2;W8=1,R2=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return R2}var O2,G8;function vMe(){if(G8)return O2;G8=1,O2=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return O2}var $2,q8;function bMe(){if(q8)return $2;q8=1,$2=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return $2}var N2,K8;function yMe(){if(K8)return N2;K8=1,N2=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return N2}var A2,Y8;function xMe(){if(Y8)return A2;Y8=1,A2=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(o,i){return RegExp(o.replace(//g,r),i)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return A2}var k2,X8;function SMe(){if(X8)return k2;X8=1,k2=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return k2}var P2,Z8;function CMe(){if(Z8)return P2;Z8=1,P2=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return P2}var D2,J8;function ex(){if(J8)return D2;J8=1;var e=Mo();D2=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,o=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:o,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:s,punctuation:c};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},f=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:f,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:f,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:o,number:i,operator:s,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(g){if(/<\?/.test(g.code)){var m=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(g,"php",m)}}),r.hooks.add("after-tokenize",function(g){r.languages["markup-templating"].tokenizePlaceholders(g,"php")})}(n)}return D2}var M2,Q8;function wMe(){if(Q8)return M2;Q8=1;var e=Mo(),t=ex();M2=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var o=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},o.tag),a.hooks.add("before-tokenize",function(i){if(i.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(i,"latte",s),i.grammar=o}}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"latte")})}(r)}return M2}var L2,eB;function EMe(){if(eB)return L2;eB=1,L2=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return L2}var j2,tB;function xA(){if(tB)return j2;tB=1,j2=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var o in a)a[o]=a[o].replace(/<[\w\s]+>/g,function(i){return"(?:"+a[i].trim()+")"});return a[o]}})(t)}return j2}var F2,nB;function IMe(){if(nB)return F2;nB=1;var e=xA();F2=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,o=5,i=0;i/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return F2}var B2,rB;function _Me(){if(rB)return B2;rB=1;var e=Mo();B2=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,o=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(i){var s=/^\{%-?\s*(\w+)/.exec(i);if(s){var c=s[1];if(c==="raw"&&!o)return o=!0,!0;if(c==="endraw")return o=!1,!0}return!o})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return B2}var z2,aB;function TMe(){if(aB)return z2;aB=1,z2=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(x){return RegExp(/(\()/.source+"(?:"+x+")"+/(?=[\s\)])/.source)}function a(x){return RegExp(/([\s([])/.source+"(?:"+x+")"+/(?=[\s)])/.source)}var o=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+o,s="(\\()",c="(?=\\))",u="(?=\\s)",f=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,g={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+o+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+o),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+o),alias:"property"},splice:{pattern:RegExp(",@?"+o),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+o),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(o)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+o+/\s+\(/.source+f+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+o),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+o+"(?:\\s+&?"+o+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+o),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},m={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+o+/\s+(?=\S)/.source+f+/\)/.source),inside:g},argument:{pattern:RegExp(/(^|[\s(])/.source+o),lookbehind:!0,alias:"variable"},rest:g},h="\\S+(?:\\s+\\S+)*",y={pattern:RegExp(s+f+c),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+h),inside:m},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+h),inside:m},keys:{pattern:RegExp("&key\\s+"+h+"(?:\\s+&allow-other-keys)?"),inside:m},argument:{pattern:RegExp(o),alias:"variable"},punctuation:/[()]/}};g.lambda.inside.arguments=y,g.defun.inside.arguments=n.util.clone(y),g.defun.inside.arguments.inside.sublist=y,n.languages.lisp=g,n.languages.elisp=g,n.languages.emacs=g,n.languages["emacs-lisp"]=g})(t)}return z2}var H2,oB;function RMe(){if(oB)return H2;oB=1,H2=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return H2}var U2,iB;function OMe(){if(iB)return U2;iB=1,U2=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return U2}var V2,sB;function $Me(){if(sB)return V2;sB=1,V2=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return V2}var W2,lB;function NMe(){if(lB)return W2;lB=1,W2=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return W2}var G2,cB;function AMe(){if(cB)return G2;cB=1,G2=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return G2}var q2,uB;function kMe(){if(uB)return q2;uB=1,q2=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return q2}var K2,dB;function PMe(){if(dB)return K2;dB=1,K2=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(m){return m=m.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+m+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+s+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+s+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(m){["url","bold","italic","strike","code-snippet"].forEach(function(h){m!==h&&(n.languages.markdown[m].inside.content.inside[h]=n.languages.markdown[h])})}),n.hooks.add("after-tokenize",function(m){if(m.language!=="markdown"&&m.language!=="md")return;function h(y){if(!(!y||typeof y=="string"))for(var x=0,b=y.length;x",quot:'"'},f=String.fromCodePoint||String.fromCharCode;function g(m){var h=m.replace(c,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(y,x){if(x=x.toLowerCase(),x[0]==="#"){var b;return x[1]==="x"?b=parseInt(x.slice(2),16):b=Number(x.slice(1)),f(b)}else{var C=u[x];return C||y}}),h}n.languages.md=n.languages.markdown})(t)}return K2}var Y2,fB;function DMe(){if(fB)return Y2;fB=1,Y2=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return Y2}var X2,pB;function MMe(){if(pB)return X2;pB=1,X2=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return X2}var Z2,gB;function LMe(){if(gB)return Z2;gB=1,Z2=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return Z2}var J2,mB;function jMe(){if(mB)return J2;mB=1,J2=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return J2}var Q2,hB;function FMe(){if(hB)return Q2;hB=1,Q2=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return Q2}var eI,vB;function BMe(){if(vB)return eI;vB=1,eI=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(i){return i.replace("$","\\$")});var o="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+o+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return eI}var tI,bB;function zMe(){if(bB)return tI;bB=1,tI=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return tI}var nI,yB;function HMe(){if(yB)return nI;yB=1,nI=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return nI}var rI,xB;function UMe(){if(xB)return rI;xB=1,rI=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return rI}var aI,SB;function VMe(){if(SB)return aI;SB=1,aI=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return aI}var oI,CB;function WMe(){if(CB)return oI;CB=1,oI=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return oI}var iI,wB;function GMe(){if(wB)return iI;wB=1,iI=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var c=s.tokens;c.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var f=i(u);o(f)||(u.type="bad-line",u.content=f)}})});function o(s){for(var c="[]{}",u=[],f=0;f=&|$!]/}}return sI}var lI,IB;function KMe(){if(IB)return lI;IB=1,lI=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return lI}var cI,_B;function YMe(){if(_B)return cI;_B=1,cI=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return cI}var uI,TB;function XMe(){if(TB)return uI;TB=1,uI=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return uI}var dI,RB;function ZMe(){if(RB)return dI;RB=1,dI=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return dI}var fI,OB;function JMe(){if(OB)return fI;OB=1,fI=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return fI}var pI,$B;function QMe(){if($B)return pI;$B=1,pI=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return pI}var gI,NB;function e4e(){if(NB)return gI;NB=1;var e=Au();gI=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return gI}var mI,AB;function t4e(){if(AB)return mI;AB=1,mI=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return mI}var hI,kB;function n4e(){if(kB)return hI;kB=1;var e=Au();hI=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))}(n)}return hI}var vI,PB;function r4e(){if(PB)return vI;PB=1,vI=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return vI}var bI,DB;function a4e(){if(DB)return bI;DB=1,bI=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return bI}var yI,MB;function o4e(){if(MB)return yI;MB=1,yI=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return yI}var xI,LB;function i4e(){if(LB)return xI;LB=1,xI=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return xI}var SI,jB;function s4e(){if(jB)return SI;jB=1,SI=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return SI}var CI,FB;function l4e(){if(FB)return CI;FB=1,CI=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),o=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},i=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,c){return s[c]=o[c],s},{});o["class-name"].forEach(function(s){s.inside=i})})(t)}return CI}var wI,BB;function c4e(){if(BB)return wI;BB=1,wI=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return wI}var EI,zB;function u4e(){if(zB)return EI;zB=1,EI=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return EI}var II,HB;function d4e(){if(HB)return II;HB=1,II=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return II}var _I,UB;function f4e(){if(UB)return _I;UB=1;var e=ex();_I=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return _I}var TI,VB;function p4e(){if(VB)return TI;VB=1;var e=ex(),t=Qy();TI=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+o+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+o),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)}(r)}return TI}var RI,WB;function g4e(){if(WB)return RI;WB=1;var e=gA();RI=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return RI}var OI,GB;function m4e(){if(GB)return OI;GB=1,OI=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return OI}var $I,qB;function h4e(){if(qB)return $I;qB=1,$I=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return $I}var NI,KB;function v4e(){if(KB)return NI;KB=1,NI=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return NI}var AI,YB;function b4e(){if(YB)return AI;YB=1,AI=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return AI}var kI,XB;function y4e(){if(XB)return kI;XB=1,kI=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],o=["offset"],i=r.concat(a,o);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+i.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return kI}var PI,ZB;function x4e(){if(ZB)return PI;ZB=1,PI=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return PI}var DI,JB;function S4e(){if(JB)return DI;JB=1,DI=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return DI}var MI,QB;function C4e(){if(QB)return MI;QB=1,MI=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return MI}var LI,e5;function w4e(){if(e5)return LI;e5=1,LI=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],o={},i=0,s=a.length;i",function(){return c.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[c.language,"language-"+c.language],inside:n.languages[c.language]}}})}n.languages.insertBefore("pug","filter",o)})(t)}return LI}var jI,t5;function E4e(){if(t5)return jI;t5=1,jI=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return jI}var FI,n5;function I4e(){if(n5)return FI;n5=1,FI=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(o){var i=o;if(typeof o!="string"&&(i=o.alias,o=o.lang),n.languages[i]){var s={};s["inline-lang-"+i]={pattern:RegExp(a.replace("",o.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+i].inside.rest=n.util.clone(n.languages[i]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return FI}var BI,r5;function _4e(){if(r5)return BI;r5=1,BI=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return BI}var zI,a5;function T4e(){if(a5)return zI;a5=1;var e=hA();zI=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return zI}var HI,o5;function R4e(){if(o5)return HI;o5=1,HI=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return HI}var UI,i5;function O4e(){if(i5)return UI;i5=1,UI=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return UI}var VI,s5;function $4e(){if(s5)return VI;s5=1,VI=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,o=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),i=0;i<2;i++)o=o.replace(//g,function(){return o});o=o.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return o}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return o}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return VI}var WI,l5;function N4e(){if(l5)return WI;l5=1,WI=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return WI}var GI,c5;function A4e(){if(c5)return GI;c5=1,GI=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(y,x){return y.replace(/<<(\d+)>>/g,function(b,C){return"(?:"+x[+C]+")"})}function a(y,x,b){return RegExp(r(y,x),"")}function o(y,x){for(var b=0;b>/g,function(){return"(?:"+y+")"});return y.replace(/<>/g,"[^\\s\\S]")}var i={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(y){return"\\b(?:"+y.trim().replace(/ /g,"|")+")\\b"}var c=RegExp(s(i.type+" "+i.other)),u=/\b[A-Za-z_]\w*\b/.source,f=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),g={keyword:c,punctuation:/[<>()?,.:[\]]/},m=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[m]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[f]),lookbehind:!0,inside:g},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[f]),lookbehind:!0,inside:g}],keyword:c,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var h=o(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[m]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[h]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[h]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return GI}var qI,u5;function k4e(){if(u5)return qI;u5=1,qI=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return qI}var KI,d5;function P4e(){if(d5)return KI;d5=1;var e=xA();KI=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return KI}var YI,f5;function D4e(){if(f5)return YI;f5=1,YI=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return YI}var XI,p5;function M4e(){if(p5)return XI;p5=1,XI=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,o={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},i={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",c=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":i,escape:a}},"special-escape":r,"char-set":o,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return ZI}var JI,m5;function j4e(){if(m5)return JI;m5=1,JI=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return JI}var QI,h5;function F4e(){if(h5)return QI;h5=1,QI=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return QI}var e_,v5;function B4e(){if(v5)return e_;v5=1,e_=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return e_}var t_,b5;function z4e(){if(b5)return t_;b5=1,t_=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return t_}var n_,y5;function H4e(){if(y5)return n_;y5=1,n_=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function o(u,f){var g={};g["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var m in f)g[m]=f[m];return g.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},g.variable=a,g.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:g}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},c={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:o("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:o("Variables"),"test-cases":o("Test Cases",{"test-name":s,documentation:i,property:c}),keywords:o("Keywords",{"keyword-name":s,documentation:i,property:c}),tasks:o("Tasks",{"task-name":s,documentation:i,property:c}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return n_}var r_,x5;function U4e(){if(x5)return r_;x5=1,r_=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return r_}var a_,S5;function V4e(){if(S5)return a_;S5=1,a_=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,o={pattern:RegExp(r+"[bx]"),alias:"number"},i={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},c={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],f={pattern:RegExp(r),greedy:!0},g=/[$%@.(){}\[\];,\\]/,m={pattern:/%?\b\w+(?=\()/,alias:"keyword"},h={function:m,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":i,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":o,punctuation:g,string:f},y={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},x={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},b={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},C={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},S=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,w={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return S}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return S}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:m,"arg-value":h["arg-value"],operator:h.operator,argument:h.arg,number:a,"numeric-constant":o,punctuation:g,string:f}},I={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":b,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":o,punctuation:g,string:f}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:I,"submit-statement":C,"global-statements":b,number:a,"numeric-constant":o,punctuation:g,string:f}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:I,"submit-statement":C,"global-statements":b,number:a,"numeric-constant":o,punctuation:g,string:f}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:h}},"cas-actions":w,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:h},step:c,keyword:I,function:m,format:y,altformat:x,"global-statements":b,number:a,"numeric-constant":o,punctuation:g,string:f}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:h},"macro-keyword":s,"macro-variable":i,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":i,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:g}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:a,"numeric-constant":o}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:h},"cas-actions":w,comment:u,function:m,format:y,altformat:x,"numeric-constant":o,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:f,step:c,keyword:I,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:g}})(t)}return a_}var o_,C5;function W4e(){if(C5)return o_;C5=1,o_=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return o_}var i_,w5;function G4e(){if(w5)return i_;w5=1;var e=vA();i_=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return i_}var s_,E5;function q4e(){if(E5)return s_;E5=1,s_=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return s_}var l_,I5;function K4e(){if(I5)return l_;I5=1;var e=xY();l_=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return l_}var c_,_5;function Y4e(){if(_5)return c_;_5=1,c_=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return c_}var u_,T5;function X4e(){if(T5)return u_;T5=1,u_=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return u_}var d_,R5;function Z4e(){if(R5)return d_;R5=1;var e=Mo();d_=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,o=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(i){var s="{literal}",c="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(i,"smarty",o,function(f){return f===c&&(u=!1),u?!1:(f===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"smarty")})}(n)}return d_}var f_,O5;function J4e(){if(O5)return f_;O5=1,f_=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return f_}var p_,$5;function Q4e(){if($5)return p_;$5=1,p_=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return p_}var g_,N5;function eLe(){if(N5)return g_;N5=1,g_=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return g_}var m_,A5;function tLe(){if(A5)return m_;A5=1;var e=Mo();m_=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,o=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:o,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:o,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(i){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,c="{literal}",u="{/literal}",f=!1;r.languages["markup-templating"].buildPlaceholders(i,"soy",s,function(g){return g===u&&(f=!1),f?!1:(g===c&&(f=!0),!0)})}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"soy")})}(n)}return m_}var h_,k5;function EY(){if(k5)return h_;k5=1,h_=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return h_}var v_,P5;function nLe(){if(P5)return v_;P5=1;var e=EY();v_=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return v_}var b_,D5;function rLe(){if(D5)return b_;D5=1,b_=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return b_}var y_,M5;function aLe(){if(M5)return y_;M5=1,y_=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return y_}var x_,L5;function oLe(){if(L5)return x_;L5=1,x_=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return x_}var S_,j5;function iLe(){if(j5)return S_;j5=1,S_=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return S_}var C_,F5;function sLe(){if(F5)return C_;F5=1,C_=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},o={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};o.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:o}},o.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:o}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:o}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:o}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:o}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:o.interpolation}},rest:o}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:o.interpolation,comment:o.comment,punctuation:/[{},]/}},func:o.func,string:o.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:o.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return C_}var w_,B5;function lLe(){if(B5)return w_;B5=1,w_=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return w_}var E_,z5;function cLe(){if(z5)return E_;z5=1,E_=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return E_}var I_,H5;function SA(){if(H5)return I_;H5=1,I_=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(o,i,s){return{pattern:RegExp("<#"+o+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+o+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:i,alias:s}}}}function a(o){var i=n.languages[o],s="language-"+o;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",i,s),"class-feature":r("\\+",i,s),standard:r("",i,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return I_}var __,U5;function uLe(){if(U5)return __;U5=1;var e=SA(),t=Zy();__=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return __}var T_,V5;function IY(){if(V5)return T_;V5=1;var e=SY();T_=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return T_}var R_,W5;function dLe(){if(W5)return R_;W5=1;var e=SA(),t=IY();R_=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return R_}var O_,G5;function _Y(){if(G5)return O_;G5=1,O_=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(u,f){f=(f||"").replace(/m/g,"")+"m";var g=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return u});return RegExp(g,f)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return"(?:"+i+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(s),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return O_}var $_,q5;function fLe(){if(q5)return $_;q5=1;var e=_Y();$_=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return $_}var N_,K5;function pLe(){if(K5)return N_;K5=1,N_=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return N_}var A_,Y5;function gLe(){if(Y5)return A_;Y5=1,A_=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function o(m,h){return RegExp(m.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),h||"")}var i={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:o(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:o(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:o(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:o(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:o(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:o(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:o(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:o(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:o(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:o(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:o(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:o(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:o(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:o(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:o(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:o(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:o(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:o(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:o(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:o(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:o(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),c=s.phrase.inside,u={inline:c.inline,link:c.link,image:c.image,footnote:c.footnote,acronym:c.acronym,mark:c.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var f=c.inline.inside;f.bold.inside=u,f.italic.inside=u,f.inserted.inside=u,f.deleted.inside=u,f.span.inside=u;var g=c.table.inside;g.inline=u.inline,g.link=u.link,g.image=u.image,g.footnote=u.footnote,g.acronym=u.acronym,g.mark=u.mark})(t)}return A_}var k_,X5;function mLe(){if(X5)return k_;X5=1,k_=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(o){return o.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return k_}var P_,Z5;function hLe(){if(Z5)return P_;Z5=1,P_=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return P_}var D_,J5;function vLe(){if(J5)return D_;J5=1;var e=wY(),t=bA();D_=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",o),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var i=a.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0}(r)}return D_}var M_,Q5;function bLe(){if(Q5)return M_;Q5=1;var e=Mo();M_=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var o=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}return M_}var L_,ez;function yLe(){if(ez)return L_;ez=1;var e=Mo();L_=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return L_}var j_,tz;function xLe(){if(tz)return j_;tz=1,j_=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return j_}var F_,nz;function SLe(){if(nz)return F_;nz=1,F_=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return F_}var B_,rz;function CLe(){if(rz)return B_;rz=1,B_=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return B_}var z_,az;function wLe(){if(az)return z_;az=1,z_=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return z_}var H_,oz;function ELe(){if(oz)return H_;oz=1,H_=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return H_}var U_,iz;function ILe(){if(iz)return U_;iz=1,U_=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return U_}var V_,sz;function _Le(){if(sz)return V_;sz=1,V_=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return V_}var W_,lz;function TLe(){if(lz)return W_;lz=1,W_=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return W_}var G_,cz;function RLe(){if(cz)return G_;cz=1,G_=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return G_}var q_,uz;function OLe(){if(uz)return q_;uz=1,q_=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return q_}var K_,dz;function $Le(){if(dz)return K_;dz=1,K_=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return K_}var Y_,fz;function NLe(){if(fz)return Y_;fz=1,Y_=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return Y_}var X_,pz;function ALe(){if(pz)return X_;pz=1,X_=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return X_}var Z_,gz;function kLe(){if(gz)return Z_;gz=1,Z_=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,o={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:o},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:o},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:o}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var i in n.languages["web-idl"])i!=="class-name"&&(o[i]=n.languages["web-idl"][i]);n.languages.webidl=n.languages["web-idl"]})(t)}return Z_}var J_,mz;function PLe(){if(mz)return J_;mz=1,J_=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return J_}var Q_,hz;function DLe(){if(hz)return Q_;hz=1,Q_=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return Q_}var eT,vz;function MLe(){if(vz)return eT;vz=1,eT=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return eT}var tT,bz;function LLe(){if(bz)return tT;bz=1,tT=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return tT}var nT,yz;function jLe(){if(yz)return nT;yz=1,nT=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,c){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":c})}var a=n.languages.markup.tag,o={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},i={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",o),r("fsharp",o),r("vbnet",i)})(t)}return nT}var rT,xz;function FLe(){if(xz)return rT;xz=1,rT=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return rT}var aT,Sz;function BLe(){if(Sz)return aT;Sz=1,aT=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(o){return typeof o=="string"?o:typeof o.content=="string"?o.content:o.content.map(r).join("")},a=function(o){for(var i=[],s=0;s0&&i[i.length-1].tagName===r(c.content[0].content[1])&&i.pop():c.content[c.content.length-1].content==="/>"||i.push({tagName:r(c.content[0].content[1]),openedBraces:0}):i.length>0&&c.type==="punctuation"&&c.content==="{"&&(!o[s+1]||o[s+1].type!=="punctuation"||o[s+1].content!=="{")&&(!o[s-1]||o[s-1].type!=="plain-text"||o[s-1].content!=="{")?i[i.length-1].openedBraces++:i.length>0&&i[i.length-1].openedBraces>0&&c.type==="punctuation"&&c.content==="}"?i[i.length-1].openedBraces--:c.type!=="comment"&&(u=!0)),(u||typeof c=="string")&&i.length>0&&i[i.length-1].openedBraces===0){var f=r(c);s0&&(typeof o[s-1]=="string"||o[s-1].type==="plain-text")&&(f=r(o[s-1])+f,o.splice(s-1,1),s--),/^\s+$/.test(f)?o[s]=f:o[s]=new n.Token("plain-text",f,null,f)}c.content&&typeof c.content!="string"&&a(c.content)}};n.hooks.add("after-tokenize",function(o){o.language==="xquery"&&a(o.tokens)})})(t)}return aT}var oT,Cz;function zLe(){if(Cz)return oT;Cz=1,oT=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return oT}var iT,wz;function HLe(){if(wz)return iT;wz=1,iT=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(f){return function(){return f}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,o="\\b(?!"+a.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(i)),c=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(o)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+c+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(u)).replace(//g,r(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(f){f.inside===null&&(f.inside=n.languages.zig)})})(t)}return iT}var sT,Ez;function ULe(){if(Ez)return sT;Ez=1;var e=oPe();return sT=e,e.register(sPe()),e.register(lPe()),e.register(cPe()),e.register(uPe()),e.register(dPe()),e.register(fPe()),e.register(pPe()),e.register(gPe()),e.register(mPe()),e.register(hPe()),e.register(vPe()),e.register(bPe()),e.register(yPe()),e.register(xPe()),e.register(SPe()),e.register(CPe()),e.register(wPe()),e.register(EPe()),e.register(IPe()),e.register(_Pe()),e.register(TPe()),e.register(RPe()),e.register(xY()),e.register(SY()),e.register(OPe()),e.register($Pe()),e.register(NPe()),e.register(APe()),e.register(kPe()),e.register(PPe()),e.register(DPe()),e.register(MPe()),e.register(LPe()),e.register(jPe()),e.register(Au()),e.register(FPe()),e.register(BPe()),e.register(zPe()),e.register(HPe()),e.register(UPe()),e.register(VPe()),e.register(WPe()),e.register(GPe()),e.register(qPe()),e.register(mA()),e.register(KPe()),e.register(Zy()),e.register(YPe()),e.register(XPe()),e.register(ZPe()),e.register(JPe()),e.register(QPe()),e.register(eDe()),e.register(tDe()),e.register(nDe()),e.register(rDe()),e.register(aDe()),e.register(oDe()),e.register(iDe()),e.register(sDe()),e.register(lDe()),e.register(cDe()),e.register(uDe()),e.register(dDe()),e.register(fDe()),e.register(pDe()),e.register(gDe()),e.register(mDe()),e.register(hDe()),e.register(vDe()),e.register(bDe()),e.register(yDe()),e.register(xDe()),e.register(SDe()),e.register(CDe()),e.register(wDe()),e.register(EDe()),e.register(IDe()),e.register(_De()),e.register(TDe()),e.register(RDe()),e.register(ODe()),e.register($De()),e.register(NDe()),e.register(ADe()),e.register(kDe()),e.register(PDe()),e.register(DDe()),e.register(MDe()),e.register(LDe()),e.register(jDe()),e.register(FDe()),e.register(BDe()),e.register(zDe()),e.register(hA()),e.register(HDe()),e.register(UDe()),e.register(VDe()),e.register(WDe()),e.register(GDe()),e.register(qDe()),e.register(KDe()),e.register(YDe()),e.register(XDe()),e.register(ZDe()),e.register(JDe()),e.register(QDe()),e.register(eMe()),e.register(tMe()),e.register(nMe()),e.register(rMe()),e.register(aMe()),e.register(vA()),e.register(oMe()),e.register(Qy()),e.register(iMe()),e.register(sMe()),e.register(lMe()),e.register(cMe()),e.register(uMe()),e.register(dMe()),e.register(fMe()),e.register(yA()),e.register(pMe()),e.register(gMe()),e.register(mMe()),e.register(wY()),e.register(hMe()),e.register(vMe()),e.register(bMe()),e.register(yMe()),e.register(xMe()),e.register(SMe()),e.register(CMe()),e.register(wMe()),e.register(EMe()),e.register(IMe()),e.register(_Me()),e.register(TMe()),e.register(RMe()),e.register(OMe()),e.register($Me()),e.register(NMe()),e.register(CY()),e.register(AMe()),e.register(kMe()),e.register(PMe()),e.register(Mo()),e.register(DMe()),e.register(MMe()),e.register(LMe()),e.register(jMe()),e.register(FMe()),e.register(BMe()),e.register(zMe()),e.register(HMe()),e.register(UMe()),e.register(VMe()),e.register(WMe()),e.register(GMe()),e.register(qMe()),e.register(KMe()),e.register(YMe()),e.register(XMe()),e.register(ZMe()),e.register(JMe()),e.register(QMe()),e.register(e4e()),e.register(t4e()),e.register(n4e()),e.register(r4e()),e.register(a4e()),e.register(o4e()),e.register(i4e()),e.register(s4e()),e.register(l4e()),e.register(c4e()),e.register(u4e()),e.register(d4e()),e.register(f4e()),e.register(ex()),e.register(p4e()),e.register(g4e()),e.register(m4e()),e.register(h4e()),e.register(v4e()),e.register(b4e()),e.register(y4e()),e.register(x4e()),e.register(S4e()),e.register(C4e()),e.register(w4e()),e.register(E4e()),e.register(I4e()),e.register(_4e()),e.register(T4e()),e.register(R4e()),e.register(O4e()),e.register($4e()),e.register(N4e()),e.register(A4e()),e.register(k4e()),e.register(P4e()),e.register(D4e()),e.register(M4e()),e.register(L4e()),e.register(j4e()),e.register(F4e()),e.register(B4e()),e.register(z4e()),e.register(H4e()),e.register(Jy()),e.register(U4e()),e.register(V4e()),e.register(W4e()),e.register(G4e()),e.register(xA()),e.register(q4e()),e.register(K4e()),e.register(Y4e()),e.register(X4e()),e.register(Z4e()),e.register(J4e()),e.register(Q4e()),e.register(eLe()),e.register(tLe()),e.register(nLe()),e.register(rLe()),e.register(aLe()),e.register(gA()),e.register(oLe()),e.register(iLe()),e.register(sLe()),e.register(lLe()),e.register(cLe()),e.register(uLe()),e.register(SA()),e.register(dLe()),e.register(fLe()),e.register(pLe()),e.register(gLe()),e.register(mLe()),e.register(hLe()),e.register(vLe()),e.register(bLe()),e.register(EY()),e.register(yLe()),e.register(bA()),e.register(xLe()),e.register(SLe()),e.register(CLe()),e.register(wLe()),e.register(ELe()),e.register(ILe()),e.register(IY()),e.register(_Le()),e.register(TLe()),e.register(RLe()),e.register(OLe()),e.register($Le()),e.register(NLe()),e.register(ALe()),e.register(kLe()),e.register(PLe()),e.register(DLe()),e.register(MLe()),e.register(LLe()),e.register(jLe()),e.register(FLe()),e.register(BLe()),e.register(_Y()),e.register(zLe()),e.register(HLe()),sT}var VLe=ULe();const WLe=co(VLe);var CA=OAe(WLe,iPe);CA.supportedLanguages=AAe;const TY={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},RY={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},{useToken:GLe}=Tr,Hn=({language:e,code:t,showLineNumbers:n=!0})=>{const{t:r}=Yt(),{token:a}=GLe(),[o,i]=l.useState(""),[s,c]=l.useState(!1),u=l.useRef(null);l.useEffect(()=>{c(window.isSecureContext)},[]);const f=()=>{navigator.clipboard.writeText(t).then(()=>{i(r("utils.copied")),setTimeout(()=>i(""),2e3)})},g=()=>{if(u.current){u.current.select();try{document.execCommand("copy"),i(r("utils.copied")),setTimeout(()=>i(""),2e3)}catch{i(r("utils.failedToCopied"))}}};return d.jsxs("div",{style:{position:"relative"},children:[d.jsx(CA,{language:e,style:oc()==="dark"?TY:RY,customStyle:{padding:"0.5rem",borderRadius:"8px",margin:"0.5rem 0",border:"1px solid",borderColor:a.colorBorderSecondary},showLineNumbers:n,lineNumberStyle:{minWidth:"2rem",textAlign:"right",paddingRight:"1rem"},wrapLines:!0,lineProps:{style:{whiteSpace:"pre-wrap"}},children:t}),!s&&d.jsx("textarea",{ref:u,value:t,readOnly:!0,style:{position:"absolute",left:"-9999px",opacity:0}}),o?null:d.jsx(nn,{title:r("utils.copyToClipboard"),children:d.jsx("button",{onClick:s?f:g,style:{position:"absolute",top:"10px",right:"10px",border:"none",background:"transparent",cursor:"pointer"},children:d.jsx(Ly,{style:{color:a.colorText}})})}),o&&d.jsxs("span",{style:{position:"absolute",top:"10px",right:"10px",border:"none",background:"transparent",color:a.colorSuccess,fontSize:"small"},children:[d.jsx(Pf,{})," ",o]})]})};new nr(Yn());const OY=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:o,hash:i})=>{const{t:s}=Yt(),{addNotification:c}=Cr(),[u]=wn.useForm();l.useEffect(()=>{e&&h(),e&&a&&u.setFieldsValue({series:a.tonieInfo.series,episodes:a.tonieInfo.episode,model:a.tonieInfo.model,language:a.tonieInfo.language,pic:a.tonieInfo.picture,tracks:a.tonieInfo.tracks})},[e,a,u]);const f=async E=>{if(E.tracks&&(E.tracks=E.tracks.filter(_=>_.track&&_.track.trim()).map(_=>_.track)),E.audio_id){E.audio_id=E.audio_id.filter(N=>N.audio_id&&N.audio_id.trim()&&N.hash&&N.hash.trim());const _=E.audio_id.map(N=>N.audio_id),R=E.audio_id.map(N=>N.hash);E={no:E.no,model:E.model,audio_id:_,hash:R,title:E.title,series:E.series,episodes:E.episodes,tracks:E.tracks,release:E.release,language:E.language,category:E.category,pic:E.pic}}x(E),C(!0)},g=()=>{u.submit()},m=()=>{h(),t()},h=()=>{u.resetFields(),u.setFieldsValue({audio_id:[{audio_id:o||"",hash:i||""}],tracks:[{track:""}]})},[y,x]=l.useState(""),[b,C]=l.useState(!1),S=d.jsx(mt,{type:"primary",onClick:()=>w(),children:s("tonies.informationModal.ok")}),w=()=>{C(!1),m()},I=d.jsx(Jn,{footer:S,width:1e3,title:"File (you can copy the content to the tonies.custom.json)",open:b,onCancel:w,children:y?d.jsxs(d.Fragment,{children:[d.jsx(Hn,{language:"json",code:JSON.stringify(y,null,2)},"json-readable"),d.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),d.jsx(Hn,{language:"json",showLineNumbers:!1,code:JSON.stringify(y,null,0)},"json-minimized")]}):"Loading..."});return d.jsxs(d.Fragment,{children:[d.jsxs(Jn,{title:s("tonies.addNewCustomTonieModal.title"),open:e,onCancel:m,onOk:g,okText:s("tonies.addNewCustomTonieModal.save"),width:Math.max(Math.min(window.innerWidth*.75,800),500),children:[d.jsx(qn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json fragment is displayed when saving the new model. This is not automatically inserted into the tonies.custom.json. You have to copy this into the file yourself.",style:{marginBottom:8}}),d.jsx(wn,{form:u,layout:"vertical",onFinish:f,children:d.jsxs(Ma,{gutter:[16,0],children:[d.jsx(er,{span:24,children:d.jsxs(Ma,{gutter:[16,0],children:[d.jsx(er,{span:8,children:d.jsx(wn.Item,{label:[s("tonies.addNewCustomTonieModal.series"),d.jsx(nn,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:d.jsx(Yo,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:d.jsx(Sn,{style:{width:"100%"}})},"series")}),d.jsx(er,{span:10,children:d.jsx(wn.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),d.jsx(nn,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:d.jsx(Yo,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:d.jsx(Sn,{style:{width:"100%"}})},"episodes")}),d.jsx(er,{span:6,children:d.jsx(wn.Item,{label:[s("tonies.addNewCustomTonieModal.language"),d.jsx(nn,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:d.jsx(Yo,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:d.jsx(Sn,{style:{width:"100%"}})},"language")})]})}),d.jsx(er,{span:24,children:d.jsxs(Ma,{gutter:[16,0],children:[d.jsx(er,{span:8,children:d.jsx(wn.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:d.jsx(Sn,{style:{width:"100%"}})},"model")}),d.jsx(er,{span:16,children:d.jsx(wn.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:d.jsx(Sn,{style:{width:"100%"}})},"pic")})]})}),d.jsx(er,{span:24,children:d.jsxs(Ma,{gutter:[16,0],children:[d.jsx(er,{span:8,children:d.jsx(wn.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:d.jsx(Sn,{style:{width:"100%"}})},"no")}),d.jsx(er,{span:16,children:d.jsx(wn.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),d.jsx(nn,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:d.jsx(Yo,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:d.jsx(Sn,{style:{width:"100%"}})},"title")})]})}),d.jsx(er,{span:24,children:d.jsxs(Ma,{gutter:[16,0],children:[d.jsx(er,{span:8,children:d.jsx(wn.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:d.jsx(Sn,{style:{width:"100%"}})},"release")}),d.jsx(er,{span:16,children:d.jsx(wn.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:d.jsx(Sn,{style:{width:"100%"}})},"category")})]})}),d.jsx(er,{span:24,children:d.jsx(Ma,{gutter:[16,0],children:d.jsx(er,{span:24,children:d.jsx(wn.List,{name:"audio_id",children:(E,{add:_,remove:R})=>d.jsxs(d.Fragment,{children:[E.map(({key:N,name:O,...$},A)=>d.jsxs(Ma,{gutter:[16,0],children:[d.jsx(er,{span:8,children:l.createElement(wn.Item,{...$,key:`audio-id-${N}`,name:[O,"audio_id"],label:d.jsx("div",{children:A===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${N}`)},d.jsx(Sn,{style:{width:"100%"}}))}),d.jsx(er,{span:16,children:l.createElement(wn.Item,{...$,key:`hash-${N}`,name:[O,"hash"],label:d.jsx("div",{children:A===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${N}`)},d.jsx(Sn,{style:{width:"100%"},addonAfter:d.jsx(mt,{type:"link",onClick:()=>R(O),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${N}`)}))})]},`audio-id-hash-row-${N}`)),d.jsx(wn.Item,{children:d.jsx(mt,{type:"dashed",onClick:()=>_(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),d.jsx(er,{span:24,children:d.jsx(wn.List,{name:"tracks",children:(E,{add:_,remove:R})=>d.jsxs(d.Fragment,{children:[E.map(({key:N,name:O,...$},A)=>d.jsx(Ma,{gutter:[16,0],children:d.jsx(er,{span:24,children:l.createElement(wn.Item,{...$,key:`track-${N}`,name:[O,"track"],label:d.jsx("div",{children:A===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${N}`)},d.jsx(Sn,{style:{width:"100%"},addonAfter:d.jsx(mt,{type:"link",onClick:()=>R(O),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${N}`)},"input-track-"+N))})},`track-row-${N}`)),d.jsx(wn.Item,{children:d.jsx(mt,{type:"dashed",onClick:()=>_(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),I]})},cl=()=>{const{t:e}=Yt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r,plugins:a}=Cr(),[o,i]=l.useState(!1),[s,c]=l.useState(""),u=Ur.language;l.useEffect(()=>{r(e("tonies.tonies.navigationTitle"))},[u]);const f=()=>{i(!0),c("")},g=a.filter(h=>h.teddyCloudSection===Ci.Tonies).map(h=>({key:`plugin-${h.pluginId}`,label:d.jsx(vt,{to:`/tonies/plugin/${h.pluginId}`,onClick:()=>{t(!1),n(!1)},children:h.pluginName}),icon:ge.createElement(ff),title:h.pluginName})),m=[{key:"tonies",label:d.jsx(vt,{to:"/tonies",onClick:()=>{t(!1),n(!1)},children:e("tonies.tonies.navigationTitle")}),icon:ge.createElement(aIe),title:e("tonies.tonies.navigationTitle")},{key:"encoder",label:d.jsx(vt,{to:"/tonies/encoder",onClick:()=>{t(!1),n(!1)},children:e("tonies.encoder.navigationTitle")}),icon:ge.createElement(KCe),title:e("tonies.encoder.navigationTitle")},{key:"teddystudio",label:d.jsx(vt,{to:"/tonies/teddystudio",onClick:()=>{t(!1),n(!1)},children:e("tonies.teddystudio.navigationTitle")}),icon:ge.createElement(Zwe),title:e("tonies.teddystudio.navigationTitle")},{key:"custom-json",label:d.jsx("label",{style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor",cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:()=>{f(),t(!1),n(!1)},icon:ge.createElement(tIe),title:e("tonies.addToniesCustomJsonEntry")},{key:"tap",label:d.jsx(vt,{to:"/tonies/tap",style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor"},onClick:()=>{t(!1),n(!1)},children:e("tonies.tap.navigationTitle")}),icon:ge.createElement(X2e),title:e("tonies.tap.navigationTitle")},{key:"library",label:d.jsx(vt,{to:"/tonies/library",onClick:()=>{t(!1),n(!1)},children:e("tonies.library.navigationTitle")}),icon:ge.createElement(bCe),title:e("tonies.library.navigationTitle")},{key:"content",label:d.jsx(vt,{to:"/tonies/content",onClick:()=>{t(!1),n(!1)},children:e("tonies.content.navigationTitle")}),icon:ge.createElement(Lq),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:d.jsx(vt,{to:"/tonies/system-sounds",onClick:()=>{t(!1),n(!1)},children:e("tonies.system-sounds.navigationTitle")}),icon:ge.createElement(BN),title:e("tonies.system-sounds.navigationTitle")},...g];return d.jsxs(d.Fragment,{children:[d.jsx(qm,{mode:"inline",selectedKeys:[s],defaultOpenKeys:["sub"],items:m}),o&&d.jsx(OY,{open:o,onClose:()=>i(!1)})]})},qLe=()=>d.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"12pt",height:"12pt",viewBox:"0 0 400 400",children:d.jsxs("g",{fill:"currentColor",children:[d.jsx("path",{d:"M235 18.7c-1.9.9-7.6 5.8-12.6 10.9-13.8 14-14.5 14.4-27.3 14.4-12.7-.1-15.4-.9-25.9-8.4-16.4-11.5-23.2-11.4-37.6.8-7.5 6.4-10.7 8-25.6 12.5-27.1 8.4-42.5 14-55.1 20.2-15.7 7.8-23.3 14-27.4 22.3-3.3 6.8-6.1 20.2-7.5 36.9-1.7 19-.8 133.5 1.3 171.2 2.3 40.9 3.8 49.9 9.4 58.3 7.6 11.1 16.2 13.4 68.3 17.7 36 3 42.7 3.5 59.5 4.5 9.4.6 23.4 1.5 31.2 2 7.8.6 34.9 1 60.1 1 52.1 0 53.2-.1 65-8 7.2-4.8 20.8-16.6 30.4-26.4 21.9-22.2 24.6-30.2 26.8-80.7.6-13.4 1.5-30.7 2.1-38.4 1.3-17.2.6-110.3-.9-126-2.1-20.9-4.9-29.7-11.8-37.3-11.8-13.2-24.8-17-64.6-19.2-11.2-.6-18.5-1.4-19.8-2.2-1.1-.7-3.2-3.8-4.6-6.8-8.7-19.2-10.6-21-22.3-21-4.9 0-8.8.6-11.1 1.7M246.6 54c7.7 14.7 13.4 16.6 56.5 18.9 18 .9 21.6 1.9 30.5 8.3 7.5 5.4 9.5 9.9 10.5 23.6 3.1 43.9 3.1 61.1-.1 154.7-1.2 34.1-2.2 42.9-5.4 50-6.2 13.6-36 42.2-51.6 49.4-4.6 2.1-7.3 2.6-17.2 2.9-12.3.5-41.4-.8-73.3-3.3-10.4-.8-26.9-1.9-36.5-2.5-33.8-2.1-94.5-7.5-102-9.1-6.5-1.4-11.3-5.6-12.9-11.4-2.6-9.3-5.1-76.7-5.1-134.5 0-50.5 1.3-81.9 3.5-89.4 2-6.9 6.4-11.9 16-18.1C67.7 88.2 82.7 82.7 124 70c7.4-2.3 16.8-6 20.9-8.1l7.4-4 9.1 3.9c13.2 5.8 18.1 6.7 34.6 6.7 12.4 0 15.6-.3 21.9-2.3 6.6-2.1 8.1-3.1 16-10.7 4.7-4.7 8.7-8.5 8.8-8.5s1.8 3.2 3.9 7"}),d.jsx("path",{d:"M98.5 91.8c-8.5 4-16.5 16.1-19.9 30.3-2.4 9.7-1.9 14.4 1.8 18.1 1.3 1.4 1.2 1.7-.9 2.8-4.1 2.2-5.5 6.7-5.5 18.2 0 16.7 2.6 33.6 7.7 50.6 2.6 8.3 2.7 9.7 2.8 34.2.1 23.3.3 26.2 2.4 33.5 7.8 27.6 26 49.4 48.2 57.9 4.1 1.6 9.9 3.9 12.9 5.1 12.8 5.4 16.8 6 43.5 6 27 0 31.2-.6 46.7-6.1 17.6-6.4 23.4-10 34.7-21.3 16.6-16.6 23.3-31 18.7-39.9-1.4-2.7-1.4-3.2-.2-3.2.8 0 2.8-1.6 4.4-3.4 4-4.6 4.6-10 3.9-33.6-.5-17.8-.4-18.8 1.9-25.8 10.4-31 11-76.1 1.4-101.5-3.7-9.8-9.7-17.7-15.9-20.9-14.2-7.4-29.7-.3-47.5 21.6l-6.9 8.5-3.6-1.5c-11.6-4.9-34.5-7.4-50.6-5.6-5 .6-13.2 2.4-18.2 4l-9.2 3-5.7-7.4c-7.1-9.4-17.7-19.2-24-22.4-6.6-3.3-17.2-3.9-22.9-1.2m19.1 31.4c3.8 4 8 8.5 9.3 9.9l2.2 2.7-5.1 4.8c-7.1 6.6-14.4 16-19.6 25.1-2.5 4.4-4.5 7-4.8 6.2s-.6-6.1-.9-11.9c-.2-7.3-.9-11.5-2.1-13.8-1.7-3.3-1.7-3.3.8-5.3 1.6-1.3 3.3-4.4 4.5-8.4 2.9-9.3 6.2-16.5 7.5-16.5.6 0 4.3 3.3 8.2 7.2m160.1-3c5 10.4 7.6 25.8 7.1 42.8l-.3 11.5-4.3-7.9c-4.8-8.8-11.5-17.6-19.1-25.1-2.8-2.7-5.1-5.5-5.1-6.2 0-1.5 17.1-19.3 18.6-19.3.5 0 1.9 1.9 3.1 4.2M204.3 141c35.3 5.1 60.7 35.7 68.8 82.8 1.4 8.4 1.9 16.1 1.9 29.4 0 10.4.4 18.7 1 19.9.9 1.6.5 2.4-2.2 4.8-1.9 1.6-5.2 6.2-7.3 10.3-2.5 4.5-6.7 10-11.1 14.5-5.9 5.9-9 8-17.5 12.1-12.3 5.9-19.6 7.9-34.4 9.3-31.1 2.9-58.2-4.9-74.9-21.7-7.4-7.3-11.8-14.6-16-26.1-3.1-8.7-3.1-9-3.1-27.8.1-20.2 1-27.3 6.1-44.3 13.5-45 47.3-69.2 88.7-63.2"}),d.jsx("path",{d:"M145.1 197.6c-3.7 2.6-5.1 7.4-5.1 17.4 0 11.4 1.5 15.5 6.6 17.6 5 2.1 11.4 1.1 14.5-2.2 2.2-2.4 2.4-3.5 2.7-15l.4-12.4-3.5-3.5c-3-3-4.1-3.5-8.4-3.5-2.9 0-5.8.7-7.2 1.6m80.3-.5c-4.3 2.1-5.4 5.9-5.4 18.4 0 11.5 0 11.7 2.9 14.6 2.6 2.5 3.7 2.9 8.6 2.9 3.1 0 6.5-.5 7.7-1.1 3.3-1.8 4.8-7.1 4.8-16.9 0-10.6-1.5-15.2-5.9-17.4-3.4-1.8-9.5-2-12.7-.5M178 232.9c-15 3.3-22.1 15.6-17.8 30.5 1.4 4.7 11.5 15.4 16.6 17.5l3.2 1.3v8.4c0 13.5 2.7 17.4 11.9 17.4 5.9-.1 7.6-.9 10.4-5 1.3-1.8 1.7-4.6 1.7-11.2v-8.7l5.3-3.4c6.6-4.3 11.2-8.9 13.7-13.8 2.4-4.6 2.7-15.3.6-20.3-1.9-4.5-7.2-9.3-12.6-11.2-5-1.8-27.1-2.8-33-1.5m17 24.1c1.2.8 1.2 1-.3 1.6-2.2.8-7-.4-6.2-1.6.8-1.3 4.5-1.3 6.5 0"})]})}),rs=()=>{const{t:e}=Yt(),{setNavOpen:t,setSubNavOpen:n,setCurrentTCSection:r,plugins:a}=Cr(),o=ei(),[i,s]=l.useState([]),c=Ur.language;l.useEffect(()=>{r(e("tonieboxes.navigationTitle"))},[i,c]);const u=a.filter(y=>y.teddyCloudSection===Ci.Tonieboxes).map(y=>({key:`plugin-${y.pluginId}`,label:d.jsx(vt,{to:`/tonieboxes/plugin/${y.pluginId}`,onClick:()=>{t(!1),n(!1)},children:y.pluginName}),icon:ge.createElement(ff),title:y.pluginName})),f=y=>{const x=[];y.includes("/tonieboxes/boxsetup")&&(x.push("boxsetup"),y.includes("/tonieboxes/boxsetup/esp32")?x.push("esp32"):y.includes("/tonieboxes/boxsetup/cc3200")?x.push("cc3200"):y.includes("/tonieboxes/boxsetup/cc3235")&&x.push("cc3235")),s(b=>Array.from(new Set([...b,...x])))};l.useEffect(()=>{f(o.pathname)},[o.pathname]);const g=y=>{const x=y.find(C=>!i.includes(C)),b=i.find(C=>!y.includes(C));x?s(C=>[...C,x]):b&&s(C=>C.filter(S=>S!==b))},m=({isOpen:y})=>y??!1?d.jsx(kq,{style:{margin:"16px 0 16px 16px"}}):d.jsx(jm,{style:{margin:"16px 0 16px 16px"}}),h=[{key:"tonieboxes",label:d.jsx(vt,{to:"/tonieboxes",style:{marginLeft:8},onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.navigationTitle")}),icon:ge.createElement(qLe),title:e("tonieboxes.navigationTitle")},{key:"boxsetup",label:d.jsx(vt,{to:"/tonieboxes/boxsetup",style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor"},onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.navigationTitle")}),icon:ge.createElement(Pq),title:e("tonieboxes.boxSetup.navigationTitle"),children:[{key:"boxversioninfo",label:d.jsx(vt,{to:"/tonieboxes/boxsetup/boxversioninfo",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.boxVersion.navigationTitle")}),icon:ge.createElement(Yo),title:e("tonieboxes.boxSetup.boxVersion.navigationTitle")},{key:"identifyboxversion",label:d.jsx(vt,{to:"/tonieboxes/boxsetup/identifyboxversion",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}),icon:ge.createElement(Nm),title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")},{key:"openbox",label:d.jsx(vt,{to:"/tonieboxes/boxsetup/openboxguide",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}),icon:ge.createElement(qEe),title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")},{key:"esp32",label:d.jsx(vt,{to:"/tonieboxes/boxsetup/esp32/flashing",style:{color:"currentColor",display:"flex",alignItems:"center",padding:"0 50px 0 0"},onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:ge.createElement(tg),title:e("tonieboxes.esp32BoxFlashing.navigationTitle"),children:[{key:"esp32legacy",label:d.jsx(vt,{to:"/tonieboxes/boxsetup/esp32/legacy",onClick:()=>{t(!1),n(!1)},style:{overflow:"hidden",textOverflow:"ellipsis",color:"currentColor"},children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}),icon:ge.createElement(tg),title:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}]},{key:"cc3200",label:d.jsx(vt,{to:"/tonieboxes/boxsetup/cc3200/flashing",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:ge.createElement(tg),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235",label:d.jsx(vt,{to:"/tonieboxes/boxsetup/cc3235/flashing",onClick:()=>{t(!1),n(!1)},children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:ge.createElement(tg),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]},...u];return d.jsx(qm,{mode:"inline",defaultOpenKeys:["sub"],openKeys:i,selectedKeys:[],onOpenChange:g,items:h,expandIcon:({isOpen:y})=>m({isOpen:y})})},{useToken:KLe}=Tr,YLe=Va.img` + height: 32px; +`,XLe=Va(mq)` + color: white; + display: flex; + align-items: center; + padding-left: 16px; + padding-right: 16px; + background: #141414; +`,ZLe=Va.div` + margin-left: auto; + display: flex; + align-items: center; +`,JLe=Va.div` + margin-right: 12px; + display: flex; + align-items: center; +`,QLe=Va(sl)` + .ant-menu-title-content { + width: 100%; + } +`,eje=Va(mt)` + &:hover { + background: transparent !important; + } +`,tje=({themeSwitch:e})=>{const{t}=Yt(),{token:n}=KLe(),{unconfirmedCount:r,navOpen:a,setNavOpen:o,subNavOpen:i,setSubNavOpen:s,currentTCSection:c,setCurrentTCSection:u}=Cr(),f=ei(),[g,m]=l.useState(window.innerWidth<=768);l.useEffect(()=>{const C=()=>m(window.innerWidth<=768);return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[]),l.useEffect(()=>{g||(s(!1),o(!1))},[g]),l.useEffect(()=>{const C=document.querySelector('meta[name="theme-color"]');if(C)C.setAttribute("content",n.colorBgBase);else{const S=document.createElement("meta");S.name="theme-color",S.content=n.colorBgBase,document.head.appendChild(S)}},[n.colorBgBase]);const h=({title:C,to:S,isMobile:w=!1})=>{const I=()=>{o(!1)},E=()=>{u(C),w&&s(!0)};return w?d.jsxs("div",{style:{display:"flex",gap:16,width:"100%",justifyContent:"space-between",alignItems:"center"},children:[d.jsx(vt,{to:S,onClick:I,children:C}),d.jsx(eje,{type:"text",style:{width:"100%",justifyContent:"end"},icon:d.jsx(jm,{style:{margin:16}}),onClick:E})]}):d.jsx(vt,{to:S,onClick:I,children:C})},y=[{key:"/",label:d.jsx(h,{title:t("home.navigationTitle"),to:"/",isMobile:g})},{key:"tonies",label:d.jsx(h,{title:t("tonies.navigationTitle"),to:"/tonies",isMobile:g})},{key:"tonieboxes",label:d.jsx(h,{title:t("tonieboxes.navigationTitle"),to:"/tonieboxes",isMobile:g})},{key:"settings",label:d.jsx(h,{title:t("settings.navigationTitle"),to:"/settings",isMobile:g})},{key:"community",label:d.jsx(h,{title:t("community.navigationTitle"),to:"/community",isMobile:g})}];let x=f.pathname.split("/")[1];x||(x="/"),x==="home"&&(x="/");const b=()=>c===t("community.navigationTitle")?d.jsx(ns,{}):c===t("settings.navigationTitle")?d.jsx(qf,{}):c===t("tonies.navigationTitle")?d.jsx(cl,{}):c===t("tonieboxes.navigationTitle")?d.jsx(rs,{}):d.jsx(Gf,{});return d.jsxs(XLe,{id:"teddycloud-header",children:[d.jsx(vt,{to:"/",style:{color:"white"},children:d.jsxs(JLe,{children:[d.jsx(YLe,{className:"teddycloud-logo",src:MK}),d.jsx(yf,{style:{textWrap:"nowrap"},children:" TeddyCloud"})]})}),d.jsx(yf,{children:d.jsx(sl,{theme:"dark",mode:"horizontal",items:y,selectedKeys:[x],style:{width:"calc(100vw - 510px)"}})}),d.jsxs(ZLe,{children:[d.jsx(lAe,{}),e,d.jsx(cAe,{}),d.jsx(uAe,{notificationCount:r}),d.jsxs(S0,{style:{marginLeft:8},children:[d.jsx(mt,{className:"barsMenu",type:"primary",onClick:()=>o(!0),icon:d.jsx(REe,{})}),d.jsxs(dO,{placement:"right",open:a,onClose:()=>o(!1),title:"TeddyCloud",children:[d.jsx(QLe,{mode:"vertical",items:y,selectedKeys:[x],style:{background:"transparent",borderRight:"none"}}),d.jsx(dO,{placement:"right",open:i,onClose:()=>s(!1),title:c,children:b()})]})]})]})]})},{useToken:nje}=Tr,rje=()=>{const{token:e}=nje();return d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[d.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M285.000000,95.000000 C285.726776,91.291718 284.143219,89.788498 280.551392,88.369873 C247.948990,75.493263 212.672882,91.508270 199.495224,122.998001 C196.613541,129.884201 195.385559,137.055237 195.485504,144.500198 C195.559326,149.999207 195.570007,155.501114 195.483032,160.999725 C195.362961,168.591705 191.442429,172.487579 184.000000,172.494614 C166.333344,172.511307 148.666656,172.510849 131.000000,172.494736 C123.739044,172.488113 119.744461,168.704391 119.512695,161.499588 C118.937752,143.626343 119.484947,125.767700 124.620247,108.535835 C129.305405,92.814384 136.600082,78.329407 146.361160,64.899094 C160.063324,46.046219 177.407562,31.600046 198.103745,21.717247 C219.862259,11.327159 243.132431,6.942070 267.508698,8.891317 C284.115204,10.219257 299.968292,14.037633 314.973419,21.056805 C338.704193,32.157684 357.928345,48.584900 372.550323,70.466385 C383.991730,87.588272 391.730164,106.267952 394.317322,126.523338 C399.345093,165.887207 389.786652,201.671356 364.978485,232.982956 C350.265991,251.552322 331.599060,265.211121 309.924530,274.320435 C296.501526,279.961792 282.229004,283.352203 267.499878,283.997559 C263.333923,284.180115 259.162445,284.263275 255.000793,284.513092 C242.331039,285.273529 234.536453,294.940430 234.510101,310.000031 C234.471024,332.333282 234.502640,354.666656 234.498566,377.000000 C234.497147,384.740631 230.771179,388.486389 223.000000,388.494385 C205.666687,388.512268 188.326492,388.221069 171.003571,388.645569 C164.614304,388.802094 159.267792,383.378479 159.354935,376.998016 C159.705429,351.336151 159.031464,325.655487 159.642624,300.003387 C160.167542,277.971313 168.603424,258.489746 183.103546,242.091568 C198.977600,224.139587 218.895264,213.013474 242.995743,209.966385 C250.478912,209.020279 258.084564,209.344330 265.476685,208.330063 C284.746246,205.686066 300.188782,196.120834 310.413757,179.447113 C323.347626,158.355911 322.759064,136.763321 311.652649,114.922371 C309.739319,111.159721 306.957031,112.566917 304.500000,111.750000"}),d.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M197.500000,506.500000 C203.208725,504.136566 209.499985,503.955261 215.081406,500.636932 C226.722000,493.716095 233.515152,484.355804 234.104324,470.504425 C234.416428,463.166840 234.755539,456.042480 232.056686,448.978333 C227.973969,438.291962 214.538635,425.846741 198.510223,425.232910 C181.959915,424.599152 164.725250,435.753998 160.707718,453.048248 C155.331696,476.190460 163.819122,500.451569 192.494766,505.032776 C194.035324,505.278900 195.500000,506.000000 197.000000,506.500000"})]})},aje=new nr(Yn()),{useToken:oje}=Tr,wA=({maxNoOfGuests:e,toniesSize:t,showQuestionMark:n,title:r,description:a,height:o=(s=>(s=document.getElementById("collage-container"))==null?void 0:s.clientHeight)()||0,width:i=(c=>(c=document.getElementById("collage-container"))==null?void 0:c.clientWidth)()||0})=>{var S,w;const{token:u}=oje(),[f,g]=l.useState([]),m=i,h=o,y=50,x=50,b=(((S=document.getElementById("central-text"))==null?void 0:S.clientWidth)||0)/(m<450?3:2),C=(((w=document.getElementById("central-text"))==null?void 0:w.clientHeight)||0)/(h<500?3:2);return l.useEffect(()=>{(async()=>{const R=(await aje.apiGetTagIndexMergedAllOverlays(!1)).sort((N,O)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())).filter(N=>!N.tonieInfo.picture.endsWith("/img_unknown.png")&&N.tonieInfo.picture!==null&&N.tonieInfo.picture!==void 0&&N.tonieInfo.picture!==""&&!N.nocloud).slice(0,e).flatMap(N=>N.tonieInfo.picture).map((N,O)=>{if(r&&a){let $,A;do $=Math.random()*(100-t/h*100),A=Math.random()*(100-t/m*100);while(0y-C/h*100-t/h*100&&$x-b/m*100-t/m*100&&Ad.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:I.top,left:I.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[d.jsx("img",{src:I.src,alt:`Random ${I.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&d.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx(rje,{})})]},I.id))]})},{Paragraph:ije}=zn,sje=()=>{const{t:e}=Yt();return d.jsx("div",{id:"error-404",children:d.jsx(ir,{children:d.jsx(ije,{children:d.jsx(wA,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},{Paragraph:Iz,Text:lT}=zn,lje=()=>{const{t:e}=Yt(),t=[{version:"0.6.5",changes:["Stabilization backend","Fixed error activating RTNL when using TeddyCloud behind a reverse proxy https://github.com/toniebox-reverse-engineering/teddycloud/issues/291","Fixed error failed to read incomplete http response header https://github.com/toniebox-reverse-engineering/teddycloud/issues/326","Added TeddyCloud plugin APIs and new volume plugins fur custom Teddycloud plugins https://github.com/toniebox-reverse-engineering/teddycloud/issues/342","Added Setting frontend.check_cc3200_cfw https://github.com/toniebox-reverse-engineering/teddycloud/issues/358","Fixed possible TeddyCloud CA Certificate bug https://github.com/toniebox-reverse-engineering/teddycloud/issues/230","gui: Changed Radio Browser API Url, try to get a working url from all servers list","gui: Added tonieboxes tab to homepage, user can now choose if he want to see his tonies or tonieboxes. Setting is stored locally.","gui: Added more country flags and languages to tonies list (filter + flags on Toniecard) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/217","gui: Added tooltip to disabled play-icon on toniecard with hint what to do https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/216","gui: Improved hint when starting Flashing guides regards latest firmware and factory reset of patched Toniebox https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/208","gui: Improved UART hint in Flash guides, check for installed driver","gui: Added altUrl-Patches in CC3200 Flash guide https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/215","gui: Added TeddyStudio for creating Traveltonie coin printsheet, based on https://github.com/Raspfarbend/teddystudio by Raspfarbend https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/210","gui: Added AudioPlayer support for iOS >= 18.4! Apple finally added ogg/opus support! But: No Volume support in AudioPlayer possible and still not working in non-local context in library (tonie overview works fine) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/144","gui: WIP Added support of new TeddyCloud Plugin feature (Backend implementation missing) https://github.com/toniebox-reverse-engineering/teddycloud/issues/342","gui: Fixed bug in media playback position on lock screen https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/166","gui: Fixed bug in browser and directory tree select with & in path https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/225","gui: Fixed bug with download icon and disabled Boxine/Toniecloud https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/223","gui: Set allowed files filter in audio encoder drop down https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/222","gui: Do not check for CC3200 CFW if setting is not enabled https://github.com/toniebox-reverse-engineering/teddycloud/issues/358","gui: Added backup hint in esp32 flashing process","gui: Some help modal to tonies overview with explanation of all action items","gui: Reduced number of API calls","gui: Overworked ux of the move, rename and delete modals","gui: Added Matrix style","gui: Tonies overview: search keyword is now also used to filter tonies by source","gui: Some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.4...tc_v0.6.5","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.4...tcw_v0.6.5"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-5/1561",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.5"},{version:"0.6.4",changes:["Stabilization backend","Seperate postData parser and increase size","Added settings for tap / track_pos hash checking","Extended esp32 flash api, added hostname_old https://github.com/toniebox-reverse-engineering/teddycloud/issues/270","Add field2/field6 of the toniebox settings with unknown functionality","Always set Toniebox settings, if cloud not enabled or had error","Save used domains sent via rtnl","Implemented tbs_tag_removed for CC3200 + ESP32 (new mqtt event, more details: https://github.com/toniebox-reverse-engineering/teddycloud/pull/309)","Disable keep-alive for boxine upstream https://github.com/toniebox-reverse-engineering/teddycloud/issues/310","Added hide flag to dirs https://github.com/toniebox-reverse-engineering/teddycloud/issues/234","gui: added track count to taf header viewer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/203","gui: changed taf header viewer to show information using yaml, not json https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/204","gui: fixed typos and missing explanation in CC3200 flash guide https://github.com/toniebox-reverse-engineering/teddycloud/issues/285 & https://github.com/toniebox-reverse-engineering/teddycloud/issues/286","gui: show number of selected entries / total files in library/content view https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/199","gui: hide baudrate selection if not necessary https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/195","gui: added support previous set hostname in esp32 flash process https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/189","gui: added download possibility to taf files as *.ogg file within Tonie/tag Information modal and filebrowser https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/207","gui: Some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.3...tc_v0.6.4","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.3...tcw_v0.6.4"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-4/1422",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.4"},{version:"0.6.3",changes:["Stabilization backend","Fixed some memory leaks","Added Hide Information in filesV2 Api https://github.com/toniebox-reverse-engineering/teddycloud/issues/234","Added retain option last will in MQTT https://github.com/toniebox-reverse-engineering/teddycloud/issues/251","Support image caching for tonieboxes images (using setting tonie_json.cache_images) https://github.com/toniebox-reverse-engineering/teddycloud/issues/220","Provide c2.der symlink","Added custom_img volume for storing custom images - adapt your docker-compose.yaml according https://github.com/toniebox-reverse-engineering/teddycloud/blob/master/docker/docker-compose.yaml","Don't disable MQTT on an error https://github.com/toniebox-reverse-engineering/teddycloud/issues/263","Added some more debug information on readTrackPosition","Added TAF checks (new setting core.full_taf_validation)",'Added experimental new ESP32 flasher "revvox_flasher", currently unused',"Extended fileIndexV2 Api with taf valid flag","Added contrib/verify-tc-certificates.sh for certificate verification","gui: Added version overview page","gui: Added spinning wheel to lists, should also fix https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/129","gui: Extended cc3235 guide based on https://github.com/toniebox-reverse-engineering/teddycloud/issues/232, https://github.com/toniebox-reverse-engineering/teddycloud/issues/230 and https://github.com/toniebox-reverse-engineering/teddycloud/issues/229","gui: Extended audioplayer, fixed bugs, show info of currently played content (in case of taf), added play icon to each track in tonieinfomodal (only if tracks and trackseconds have the same number of elements), on click plays the chapter directly","gui: Edit Tonie/Tag: Overworked rollback and empty field functionality https://github.com/toniebox-reverse-engineering/teddycloud/issues/235","gui: Edit Tonie/Tag: Fixed some bugs","gui: Set Cursor to Default on Filebrowser directory row","gui: Show disabled Cloud in Boxine status badge https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/164","gui: Recheck cloud status on certain changes (cloud.enabled, uploaded certs, autoextracted certs in esp32 flashing process) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/167","gui: Added notification system, own page. Migrated messages to notification (except settingspages) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/165","gui: Fixed bug deleting Toniebox https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/174","gui: Mark hidden Tonies/Tags in content view","gui: Only allow *.der files to be uploaded on certificate upload","gui: Added Download buttons/link to download TeddyCloud CA Certificate https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/177","gui: Overworked filebrowsers directory visualization and multi select action buttons https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/162","gui: Overworked settings forms: Instead of autosaving and manual save of strings, there is a new save button to store the changed settings https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/23","gui: Box flashing section: Added links to the great newbie guides in the forum thanks to marco79cgn, chuckf and Wurst420!","gui: Added Certificate upload to box flashing","gui: Completed CC3200 Flashing guide https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/130","gui: Added selection of baudrate in ESP32 flash process https://github.com/toniebox-reverse-engineering/teddycloud/issues/101, https://github.com/toniebox-reverse-engineering/teddycloud/issues/258","gui: Overworked mobile menu layout: section menus now part of the drawer and not shown always on each page, use + icon in mobile to expand menu","gui: Added How to Create a Good Support Request page","gui: Added reset shortcut in esp32 flashing process https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/190","gui: Prepared esp32 flashing with previously set TeddyCloud hostname instead of original one https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/189","gui: Some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.2...tc_v0.6.3","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.2...tcw_v0.6.3"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-3/812",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.3"},{version:"0.6.2",changes:["Stabilization backend","Provide TrackSeconds for Frontend https://github.com/toniebox-reverse-engineering/teddycloud/issues/187","Fixed bug no update of model in content.json if empty https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Added web_version.json for consistency checks, including new setting frontend.ignore_web_version_mismatch","Added frontend setting frontend.confirm_audioplayer_close","Fixed some bugs","gui: Next button in audio player now jumps according tracks of taf","gui: Show error if something went wrong while encoding new taf (Audio Encoder)","gui: Added translation overview page in community contribution section","gui: Improved Audio Encoder, leave selected target folder till reload of page, if only one file is added, take filename as preset for taf filename https://github.com/toniebox-reverse-engineering/teddycloud/issues/223","gui: Fixed filterbug in FileBrowser Component (List + Select) https://github.com/toniebox-reverse-engineering/teddycloud/issues/224","gui: Show warning if web_version of gui does not match expected web_version from backend","gui: Show warning if ogg/opus (taf) is not supported by browser","gui: Integrated frontend.confirm_audioplayer_close","gui: Improved Code Snippet Element, show line numbers and added copy functionality","gui: Added Box setup overview page","gui: Added Box version identification page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/145","gui: Added Open Toniebox guide page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/146","gui: Extended CC3200 Firmware flash section, added custom alt Url Patch generation. https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/126","gui: Extended CC3200 Firmware flash section, extended Applying Patches step","gui: Extended CC3235 Firmware flash section, same version as wiki, but additional images flash chip","gui: Added ESP32 Firmware flash legacy section, same version as wiki","gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.1...tc_v0.6.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.1...tcw_v0.6.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-2/773",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.2"},{version:"0.6.1",changes:["Stabilization backend","Changed default for setting cloud.prioCustomContent to false","Disabled prioCustomContent if lower audio id is allowed","Added reload tonies(.custom).json api https://github.com/toniebox-reverse-engineering/teddycloud/issues/177","Added moveFile api https://github.com/toniebox-reverse-engineering/teddycloud/issues/198","Added server side taf file encoding","Support TAF files in taps and server side taf file encoding","Added API to extract certificates https://github.com/toniebox-reverse-engineering/teddycloud/issues/103","Initial cert generation generates now a 4096bit long cert https://github.com/toniebox-reverse-engineering/teddycloud/issues/138","Extended settings api","Fixed bug updating empty model information if entry was added in tonies.json https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Fixed some bugs","gui: Fixed bug storing source with html special chars","gui: Fixed bug saving model and source of a tonie/tag at once","gui: Fixed display bug sourceInfo with unknown content","gui: Integrated new reload tonies.json api","gui: Added Moving and renaming of files in library and content","gui: Fixing security weaknesses","gui: Added file upload to library",`gui: If setting "Category frontend: Split content / model" is disabled, don't show the source info in Tonies list and details modal`,"gui: Added encoding functionality in library","gui: Allow playing all encodable files in teddyCloud","gui: ESP32 flash process - integrated remaining manual steps. Certificate extraction is now also automated","gui: Fixed bug tonieboxes if tonieboxes.custom.json was empty or not available https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/133","gui: Added Spanish language - feel free to improve translations as current translation is completely done by ChatGPT."],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.0...tc_v0.6.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.0...tcw_v0.6.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-1/701",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.1"},{version:"0.6.0",changes:["Stabilization backend","store last played time of last played tag","extend getTagIndex API, provide language in tonieInfos","PoC Toniebox api access (explicitly allow access to teddy cloud api on tonebox level)","Added enable/disable new Tonieboxes: prohibit registration of new tonieboxes if not enabled","Added removal of overlays (= removal of Tonieboxes from TeddyCloud)","add hide tonie/tag functionality (hide using new /web gui, present to box to unhide)","fixed locking bug, reworked locking.","fixed bug not storing cloud auth in some circumstances","fixed bug not storing source in json file: https://github.com/toniebox-reverse-engineering/teddycloud/issues/165","added limit to tempfile creation for radiostreams, default: 240mb (~6h) (configurable if expert mode is activated) https://github.com/toniebox-reverse-engineering/teddycloud/issues/180","added possibility to set WiFi Credentials on ESP32 Firmware patching","introduced second HTTPS port for WebFrontend only, which allows using https for webfrontend (Default: 8443)","tonie images from boxine can now be cached locally (PoC)","new /web gui is now default web gui: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/47","new /web gui: enhanced Toniecard, added search for Radiostream in Edit Modal","new /web gui: Tonies - Content section - added Migrate Content to Lib button on TAF files","new /web gui: added RTNL Log Page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/48","new /web gui: added show Json File when double click on json file (File browser view)","new /web gui: added show TAP File when double click on tap file (File browser view)","new /web gui: added show TAF Header (including AudioID + Hash) when double click on a taf file (File browser view)","new /web gui: show date time of last played tag (toniecard + toniboxcard)","new /web gui: added Tonie Audio Playlist page (WIP - Implementation not yet finished), rearranged menu entries tonies section: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/52","new /web gui: added delete feature in content, library and audio playlist page","new /web gui: improved changelog page, parse links and open links in new tab; completed contributors page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/27","new /web gui: added language flag to tonies card if it's not the same as the most owned language ones, added language filter","new /web gui: deletion of tonieboxes","new /web gui: info if add new boxes is enabled on homepage and tonieboxes page","new /web gui: enable/disable API access for toniebox added on tonieboxes page","new /web gui: add hide tonie/tag in tonies list (in info modal)","new /web gui: PoC Tonies Custom Json Editor (WiP, not working, but you get the json part to copy into the tonies.custom.json)","new /web gui: PoC Tonie Audio Playlist Editor (WiP, not working, but you get the json to copy and save as a TAP file) ","new /web gui: allow TAP files to be selected on Edit Tag Modal","new /web gui: new 404 page","new /web gui: hidden feature Tonie meeting. Search for it!","new /web gui: added link to Toniebox if the box is version cc3200, an ip is available and cfw is installed: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/28","new /web gui: hide audioplayer if no source is set, when clicking on play icon of a tonie/taf/... the player is shown: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: added minimize/maximize audioplayer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: show Tonie on tonie article search","new /web gui: improved audioplayer, added volume control to custom one, hide doubled audioplayer","new /web gui: added French translation. Feel free to check if chatGPT is a good translator. If something is wrong, give us a shout at telegram!","new /weg gui: overworked filebrowser to be responsive","new /web gui: overworked tonie information modal, now also available in file browser (library + content)","new /web gui: added Create Directory functionality in file browser","new /web gui: added better breadcrumb to filebrowser (clickable for easy directory switching) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/78","new /web gui: set nocloud to true if source of a tag is changed https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/77","new /web gui: show image and information from set source if different from model https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/80","new /web gui: tonie overview: filter now also considers information from set source","new /web gui: fixed bugs after updating tonies in tonies overview","new /web gui: added FAQ page in community section","new /web gui: support web streams in audioplayer","new /web gui: improved filebrowser, added filter field and made buttons sticky","new /web gui: integrated ESP32 Firmware Flashing https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/46","new /web gui: integrated setting of WiFi credentials in ESP32 Firmware Flashing","new /web gui: show hint on ESP32 Firmware Flashing page if browser does not support WebSerial","new /web gui: allow multiselection in file browser for file deletion","new /web gui: limit audio encoder to 99 files (as Toniebox only supports 99 chapters)","new /web gui: fixed image fetch loop when playing a tonie","new /web gui: fixed poor audio quality in some case when using audio encoder","new /web gui: migrated gui from create-react-app to vite","new /web gui: fixed some bugs and minor refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.2...tc_v0.6.0","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.2...tcw_v0.6.0"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-0/468",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.0"},{version:"0.5.2",changes:["Stabilization backend","Several fixes and changes regards backend crashes and emptied config files when changing any tonie setting","Fix for random directories in library (and everywhere)","Fixed bug storing last played tonie per box","Fixed bug clearing text settings (like paths or flex tonie)","API for searching models is now case insensitive","Save IP of Toniebox as prepartion for linking CFW Tonieboxes","Introduced Settings level - 1: Basic, 2: Detail, 3: Expert (1 Default - if you are missing settings, increase level!)","new /web gui: enhanced Tonies Card, added editable content source","new /web gui: enhanced Toniebox Card, improved UX","new /web gui: Dark theme (Last used Theme stored in localStorage in Browser)","new /web gui: Show All (Hide Pagination on Tonies List, stored in localStorage in Browser)","new /web gui: Support of overlayed content folder. More details can be found here: https://forum.revvox.de/t/teddycloud-supporting-multiple-tonieboxes/451/1","new /web gui: Text inputs in Settings must be saved explicitly. (only Textinputs, other types are still autosaved.) Expect changes in future releases.","new /web gui: fixed various state bugs","new /web gui: show last online date of offline tonieboxes","new /web gui: Messages on successful setting updates","new /web gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.1...tc_v0.5.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.1...tcw_v0.5.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-2/450",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.2"},{version:"0.5.1",changes:["Stabilization Backend (added locks to prevent crashes, removed memory leaks)","Creating dirs when uploading certificates to a not yet existing path","Moving Tafs from Content to Library on click (not yet available in (new?) frontend)","new /web gui: Pagination + Filtering on Tonies List ( Paging Tonies · Issue #24 · toniebox-reverse-engineering/teddycloud_web · GitHub 2 )","new /web gui: Extend Box Management: Certificate upload now box specific possible, overworked certificate upload ( Certificate upload box related · Issue #26 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: Show last played Tonie on Box Management, link to prefiltered Tonieslist, added marking of the Last played Tonies on each box in Tonieslist ( Make use of internal.last_ruid · Issue #30 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: adapted cursor on cards to default as cards not really clickable ( TonieCard Cursor · Issue #25 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: fixed navigation item marking","new /web gui: updated box models, added pseudomodels of the official tonies covers (sleepy bear, sheep and rabbit). They are now placed in a json in the config folder. Custom tonieboxes are now also possible. Add your customised one in tonieboxes.custom.json and choose it in the box mgmt.","new /web gui: added community section (WIP) ( Add Changelog and contribution page · Issue #27 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: fixed warnings"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.0...tc_v0.5.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.0...tcw_v0.5.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-1/447",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.1"},{version:"0.5.0",changes:["security mitigations on public instances as it‘s definitely not recommended to host teddycloud in public accessible for all","prepared authentication for frontend (backend adaptions)","linked new /web gui on teddycloud administration gui","overworked header, reordered menu items, new icons, better readable status in new /web gui","fixed modals (still some display problems on small devices like mobiles exists)","added audio encoder to new /web gui, you are now able to select files and encode them to a taf","This lets you bring your own content easily on an existing tonie.","added toniebox management to new /web gui, improved backend functions for that","only at least once connected boxes are listed, model must be set manually","enriched homepage in new /web gui with 5 randomly selected tonies of yours","adapt tonie card list to different cover image sizes in new /web gui (all cards within one row have now the same height)","added no cloud and live icon (Toggle to enable/disable) on tonie card in new /web gui","fixed several bugs"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/pull/154","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/8","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/9","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/19","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/21","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/22"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-0/444",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.0"},{version:"0.4.5 and older",changes:["A lot more. See Github for details!"],commits:[]}],n=r=>{const a=/(https?:\/\/[^\s]+)/g;return r.split(a).map((i,s)=>a.test(i)?d.jsx(vt,{to:i,target:"_blank",rel:"noopener noreferrer",children:i},s):i)};return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.changelog.title")}),d.jsx(Iz,{children:d.jsx(Zn,{dataSource:t,renderItem:r=>d.jsxs(d.Fragment,{children:[d.jsxs("h2",{children:[e("community.changelog.version")," ",r.version]}),d.jsxs(Iz,{children:[d.jsx("h3",{children:e("community.changelog.changes")}),d.jsx("ul",{children:r.changes.map((a,o)=>d.jsx("li",{children:n(a)},o))})]}),r.commits&&r.commits.length>0&&d.jsxs(d.Fragment,{children:[d.jsxs(lT,{strong:!0,children:[e("community.changelog.allCommits"),":"]}),d.jsx("ul",{children:r.commits.map((a,o)=>d.jsx("li",{children:d.jsx(vt,{to:a,target:"_blank",children:a})},o))})]}),r.discussionLink&&d.jsxs(d.Fragment,{children:[d.jsxs(lT,{strong:!0,children:[e("community.changelog.discussion"),":"]}),d.jsx("ul",{children:d.jsx("li",{children:d.jsx(vt,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&d.jsxs(d.Fragment,{children:[d.jsxs(lT,{strong:!0,children:[e("community.changelog.githubRelease"),":"]}),d.jsx("ul",{children:d.jsx("li",{children:d.jsx(vt,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})},{Paragraph:cT}=zn,cje=()=>{const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.title")}),d.jsxs(cT,{children:[d.jsx("h2",{children:e("community.community.getInvolved")}),e("community.community.getInvolvedText1")]}),d.jsxs(cT,{children:[d.jsx(cT,{children:e("community.community.getInvolvedText2")}),d.jsxs("ul",{children:[d.jsxs("li",{children:[d.jsx(vt,{to:lY,target:"_blank",children:"GitHub"}),d.jsx("ul",{children:d.jsx("li",{children:e("community.community.github")})})]}),d.jsxs("li",{children:[d.jsx(vt,{to:uA,target:"_blank",children:"Telegram Chat"}),d.jsx("ul",{children:d.jsx("li",{children:e("community.community.telegram")})})]}),d.jsxs("li",{children:[d.jsx(vt,{to:Zd,target:"_blank",children:"Discourse Forum"}),d.jsx("ul",{children:d.jsx("li",{children:e("community.community.discourse")})})]}),d.jsxs("li",{children:[d.jsx(vt,{to:cY,target:"_blank",children:"TeddyCloud Wiki"}),d.jsx("ul",{children:d.jsx("li",{children:e("community.community.teddyCloudWiki")})})]})]})]})]})]})]})},{Paragraph:Bc}=zn,uje=()=>{const{t:e}=Yt(),t=[e("community.contribution.communityValues1"),e("community.contribution.communityValues2"),e("community.contribution.communityValues3"),e("community.contribution.communityValues4"),e("community.contribution.communityValues5"),e("community.contribution.communityValues6")],n=[e("community.contribution.makeFirstContribution1"),e("community.contribution.makeFirstContribution2"),e("community.contribution.makeFirstContribution3"),e("community.contribution.makeFirstContribution4"),e("community.contribution.makeFirstContribution5"),e("community.contribution.makeFirstContribution6"),e("community.contribution.makeFirstContribution7")];return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.contribution.title")}),d.jsxs(Bc,{children:[d.jsx(Bc,{children:e("community.contribution.contributionIntro")}),d.jsxs(Bc,{children:[d.jsx("h2",{children:e("community.contribution.communityValues")}),d.jsx(Bc,{children:e("community.contribution.communityValuesIntro")}),d.jsx(Bc,{children:e("community.contribution.communityValuesExamples")}),d.jsx("ul",{children:t.map((r,a)=>d.jsx("li",{children:r},a))})]}),d.jsxs(Bc,{children:[d.jsx("h2",{children:e("community.contribution.makeFirstContribution")}),d.jsx(Bc,{children:e("community.contribution.makeFirstContributionIntro")}),d.jsx("ul",{children:n.map((r,a)=>d.jsx("li",{children:r},a))})]})]})]})]})]})},dje=new nr(Yn()),{Paragraph:_z}=zn,{Panel:fje}=Ui,pje=()=>{const{t:e}=Yt(),[t,n]=l.useState({});return l.useEffect(()=>{async function r(){try{const s=(await(await dje.apiGetTeddyCloudApiRaw("/api/toniesJson")).json()).filter(u=>u.audio_id&&u.audio_id.length===0&&!["creative-tonie","system"].includes(u.category)&&!u.model.includes("20000")).map(u=>({model:u.model,series:u.series,episodes:u.episodes,pic:u.pic,audio_id:u.audio_id||[],category:u.category,language:u.language})),c={};s.forEach(u=>{c[u.language]||(c[u.language]=[]),c[u.language].push(u)}),n(c)}catch(a){console.error("Error fetching and transforming data:",a)}}r()},[]),d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.contribution.toniesJson.title")}),d.jsx(_z,{children:e("community.contribution.toniesJson.text")}),d.jsx(_z,{children:d.jsx(Ui,{accordion:!0,children:Object.keys(t).map((r,a)=>d.jsx(fje,{header:r,children:d.jsx(Zn,{children:Array.isArray(t[r])&&t[r].map((o,i)=>d.jsx(Zn.Item,{id:o.model,children:d.jsxs("div",{children:[d.jsx("img",{src:o.pic,alt:"",style:{width:"100px",height:"auto"}}),o.model," - ",o.series," -"," ",o.episodes]})},i))})},a))})})]})]})]})},{Paragraph:zc}=zn,gje=()=>{const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.contributors.title")}),d.jsxs(zc,{children:[e("community.contributors.contributorsIntro"),d.jsxs(zc,{children:[d.jsx("h3",{children:"teddycloud"}),d.jsx("div",{children:e("community.contributors.teddyCloud")}),d.jsx(vt,{to:kj,target:"_blank",children:kj})]}),d.jsxs(zc,{children:[d.jsx("h3",{children:"teddycloud_web"}),d.jsx("div",{children:e("community.contributors.teddyCloudWeb")}),d.jsx(vt,{to:Pj,target:"_blank",children:Pj})]}),d.jsxs(zc,{children:[e("community.contributors.others")," ",d.jsx(vt,{to:Aj,target:"_blank",children:Aj})]})]}),d.jsxs(zc,{children:[d.jsx("div",{style:{marginBottom:24},children:e("community.contributors.bigRoundOfApplause")}),d.jsx(wA,{maxNoOfGuests:50,toniesSize:150,showQuestionMark:!1,height:150})]}),d.jsx(Fa,{}),d.jsxs(zc,{children:[d.jsx("h3",{children:e("community.contributors.supportTeam")}),d.jsx(zc,{children:e("community.contributors.supportTeamText")}),d.jsx(vt,{to:dA,target:"_blank",children:e("community.contributors.supportTeamLink")})]})]})]})]})},{Paragraph:Tz}=zn,mje=()=>{const{t:e}=Yt(),t=e("faq",{returnObjects:!0});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.faq.title")}),d.jsx(Tz,{children:e("community.faq.intro")}),d.jsx(Tz,{children:t.map((n,r)=>d.jsxs("div",{style:{marginBottom:"20px"},children:[d.jsx("h3",{children:n.question}),d.jsx("p",{children:n.answer})]},r))})]})]})]})},{Paragraph:Nl}=zn,{useToken:hje}=Tr,vje=()=>{const{t:e}=Yt(),{token:t}=hje();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.supportRequestGuide.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.supportRequestGuide.title")}),d.jsx(Nl,{children:e("community.supportRequestGuide.intro")}),d.jsx(hr,{}),d.jsx("h2",{children:e("community.supportRequestGuide.step1.title")}),d.jsx(Nl,{children:e("community.supportRequestGuide.step1.content")}),d.jsx(hr,{}),d.jsx("h2",{children:e("community.supportRequestGuide.step2.title")}),d.jsx(Nl,{children:e("community.supportRequestGuide.step2.intro")}),d.jsx("ul",{children:e("community.supportRequestGuide.step2.list",{returnObjects:!0}).map((n,r)=>d.jsx("li",{children:n},r))}),d.jsx(hr,{}),d.jsx("h2",{children:e("community.supportRequestGuide.step3.title")}),d.jsx("ul",{children:e("community.supportRequestGuide.step3.list",{returnObjects:!0}).map((n,r)=>d.jsx("li",{children:n},r))}),d.jsx(hr,{}),d.jsx("h2",{children:e("community.supportRequestGuide.step4.title")}),d.jsx(Nl,{children:e("community.supportRequestGuide.step4.intro")}),d.jsxs("ul",{children:[d.jsxs("li",{children:[e("community.supportRequestGuide.step4.listFirstEntry"),d.jsx(Hn,{language:"shell",code:"docker logs -f teddycloud > teddycloud_logs.txt"})]}),e("community.supportRequestGuide.step4.list",{returnObjects:!0}).map((n,r)=>d.jsx("li",{children:n},r))]}),d.jsx(hr,{}),d.jsx("h2",{children:e("community.supportRequestGuide.step5.title")}),d.jsx(Nl,{children:e("community.supportRequestGuide.step5.content")}),d.jsx(hr,{}),d.jsx("h2",{children:e("community.supportRequestGuide.step6.title")}),d.jsx(Nl,{children:e("community.supportRequestGuide.step6.content")}),d.jsx(hr,{}),d.jsx("h3",{children:e("community.supportRequestGuide.example.title")}),d.jsx(Nl,{children:e("community.supportRequestGuide.example.description")}),d.jsx("blockquote",{style:{borderLeft:"2px solid",borderLeftColor:t.colorBorder,paddingLeft:16,color:t.colorTextSecondary},children:d.jsx("span",{dangerouslySetInnerHTML:{__html:e("community.supportRequestGuide.example.details")}})}),d.jsx(hr,{}),d.jsx(Nl,{children:e("community.supportRequestGuide.closing")})]})]})]})},$Y=(e,t,n="")=>{const r=[];return Object.keys(e).forEach(a=>{const o=n?`${n}.${a}`:a;Array.isArray(e[a])?Array.isArray(t[a])?e[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;t[a][s]||r.push(c,u)}):e[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;r.push(c,u)}):typeof e[a]=="object"&&e[a]!==null?!(a in t)||typeof t[a]!="object"?r.push(...NY(e[a],o)):r.push(...$Y(e[a],t[a],o)):a in t||r.push(o)}),r},NY=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((o,i)=>{n.push(`${a}[${i}].question`,`${a}[${i}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...NY(e[r],a)):n.push(a)}),n},AY=(e,t,n="")=>{const r=[];return Object.keys(t).forEach(a=>{const o=n?`${n}.${a}`:a;Array.isArray(t[a])?Array.isArray(e[a])?t[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;e[a][s]||r.push(c,u)}):t[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;r.push(c,u)}):typeof t[a]=="object"&&t[a]!==null?!e[a]||typeof e[a]!="object"?r.push(o):r.push(...AY(e[a],t[a],o)):a in e||r.push(o)}),r},bje=()=>{const{t:e}=Yt(),[t,n]=l.useState({}),[r,a]=l.useState({}),[o,i]=l.useState({}),[s,c]=l.useState(!0),u=["en","fr","de","es"],f="en";return l.useEffect(()=>{(async()=>{const m={};for(let h of u){const x=await(await fetch(`/web/translations/${h}.json`)).json();m[h]=x}n(m),c(!1)})()},[]),l.useEffect(()=>{if(!s&&t[f]){const g=t[f],m={},h={};u.forEach(y=>{if(y!==f){const x=t[y];m[y]=$Y(g,x),h[y]=AY(g,x)}}),a(m),i(h)}},[s,t]),s?d.jsx("p",{children:"Loading translations..."}):d.jsxs(d.Fragment,{children:[d.jsx("h2",{children:e("community.translations.missingExtraKeysHeadline")}),u.every(g=>{var m,h;return g===f||((m=r[g])==null?void 0:m.length)===0&&((h=o[g])==null?void 0:h.length)===0})?d.jsx("p",{children:e("community.translations.noDiscrepancies")}):d.jsx("div",{children:u.map(g=>{var m,h;return g!==f&&d.jsxs("div",{children:[d.jsxs("h2",{children:[e("community.translations.language"),": ",g.toUpperCase()]}),d.jsx("h3",{children:e("community.translations.missingKeys")}),((m=r[g])==null?void 0:m.length)>0?d.jsx("ul",{children:r[g].map((y,x)=>d.jsx("li",{children:y},x))}):d.jsx("p",{children:e("community.translations.noMissingKeys")}),d.jsxs("h3",{children:[e("community.translations.extraKeys"),":"]}),((h=o[g])==null?void 0:h.length)>0?d.jsx("ul",{children:o[g].map((y,x)=>d.jsx("li",{children:y},x))}):d.jsx("p",{children:e("community.translations.noExtraKeys")})]},g)})})]})},kY=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((o,i)=>{n.push(`${a}[${i}].question`,`${a}[${i}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...kY(e[r],a)):n.push(a)}),n},yje=(e,t)=>{const n=t.split(".");let r=e;for(let a of n){if(a.includes("[")){const[o,i]=a.split("["),s=parseInt(i.replace("]",""),10);if(r=r[o],Array.isArray(r))r=r[s];else return}else r=r?r[a]:void 0;if(r===void 0)return}return typeof r=="string"?r:void 0},xje=()=>{const{t:e}=Yt(),[t,n]=l.useState({}),[r,a]=l.useState(!0),o=["en","fr","de","es"],i="en";if(l.useEffect(()=>{(async()=>{const g={};for(let m of o){const y=await(await fetch(`/web/translations/${m}.json`)).json();g[m]=y}n(g),a(!1)})()},[]),r)return d.jsx("p",{children:"Loading translations..."});const s=kY(t[i]),c=[{title:e("community.translations.key"),dataIndex:"key",key:"key",width:"30%",fixed:"left",render:f=>d.jsx("div",{style:{wordWrap:"break-word",wordBreak:"break-all"},children:f})},...o.map(f=>({title:f.toUpperCase(),dataIndex:f,key:f}))],u=s.map(f=>{const g={key:f};return o.forEach(m=>{const h=yje(t[m],f);g[m]=h||"<"+e("community.translations.missing")+">"}),g});return d.jsxs(d.Fragment,{children:[d.jsx("h2",{children:e("community.translations.allTranslationStrings")}),d.jsx(Ya,{size:"small",columns:c,scroll:{x:"100%"},dataSource:u,rowKey:"key",pagination:!1})]})},{Paragraph:Sje}=zn,Cje=()=>{const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.translations.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.translations.title")}),d.jsx(Sje,{children:e("community.translations.hint")}),d.jsx(bje,{}),d.jsx(xje,{})]})]})]})},uT=new nr(Yn()),wje=()=>{const{t:e}=Yt(),[t,n]=l.useState(""),[r,a]=l.useState(""),[o,i]=l.useState("");l.useEffect(()=>{uT.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(f=>f.text()).then(f=>n(f)).catch(f=>console.error("Error fetching data:",f)),uT.apiGetTeddyCloudSettingRaw("internal.version.id").then(f=>f.text()).then(f=>a(f)).catch(f=>console.error("Error fetching data:",f)),uT.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(f=>f.text()).then(f=>i(f)).catch(f=>console.error("Error fetching data:",f))},[]);const s=(f,g)=>d.jsx("ul",{children:Object.keys(f).map(m=>{const h=f[m],y=`${g}.${m}`;return typeof h=="object"&&h.items?d.jsxs("li",{children:[e(`${y}.title`),s(h.items,y+".items")]},m):d.jsx("li",{children:e(y)},m)})}),c=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(Gf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("home.features.title")+" "+r}),d.jsx("p",{children:e("home.features.description")}),d.jsxs("p",{children:["Build:"," ",d.jsx(vt,{to:VNe+o,target:"_blank",children:t.replace(r,"")})]}),d.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(c,"home.features.features"),d.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},Eje=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:o}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(kN,{current:e,total:n,pageSize:r,onChange:t,showSizeChanger:!0,pageSizeOptions:["24","48","96","192"],locale:{items_per_page:o("tonies.tonies.pageSelector")},style:{marginBottom:8}}),d.jsx(mt,{onClick:a,style:{marginLeft:16},children:o("tonies.tonies.showAll")})]})},Ije=new nr(Yn()),_je=e=>{const{t}=Yt(),{addNotification:n}=Cr(),[r,a]=l.useState([]),[o,i]=l.useState(),[s,c]=l.useState(!1),u=async m=>{const h=encodeURIComponent(m),y="/api/toniesJsonSearch?searchModel="+h+"&searchSeries="+h+"&searchEpisode="+h;try{const C=(await(await Ije.apiGetTeddyCloudApiRaw(y)).json()).map(S=>({value:S.model,text:"["+S.model+"] "+S.series+" - "+S.episode,picture:S.picture}));a(C)}catch(x){n(xt.Error,t("tonieArticleSearch.failedToFetchSearchResults"),t("tonieArticleSearch.failedToFetchSearchResultsDetails")+x,t("tonies.navigationTitle"));return}},f=m=>{i(m),e.onChange(m)},g=()=>{c(!0)};return d.jsxs(d.Fragment,{children:[d.jsx(ra,{showSearch:!0,value:o,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:u,onChange:f,notFoundContent:null,options:(r||[]).map(m=>({value:m.value,label:d.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[d.jsx("img",{src:m.picture,alt:m.text,style:{display:"none"}}),m.text]})})),style:{marginTop:"8px"}}),d.jsx(OY,{open:s,props:e,setValue:i,onClose:()=>c(!1)}),d.jsx(nn,{title:t("tonies.addNewCustomTonieHint"),children:d.jsx(mt,{onClick:g,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},{useToken:Tje}=Tr,PY=({parentRef:e})=>{const{token:t}=Tje(),n={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:t.colorBgContainer,opacity:.6,display:"flex",justifyContent:"center",alignItems:"center",zIndex:2e3};return d.jsx("div",{style:n,children:d.jsx(yc,{style:{position:"absolute",top:250},size:"default"})})},ic=()=>d.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"20px",minHeight:"100px"},children:d.jsx(yc,{size:"default"})});function Hd(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&o{const{t:c}=Yt(),{playAudio:u}=Wm(),{token:f}=Oje(),{addNotification:g,addLoadingNotification:m,closeLoadingNotification:h}=Cr(),y=ei(),x=uc(),b=l.useRef(null),C=l.useRef(null),[S,w]=l.useState([]),[I,E]=l.useState(""),[_,R]=l.useState(!1),[N,O]=l.useState([]),[$,A]=l.useState(!1),[B,j]=l.useState(),[F,D]=l.useState(""),[k,M]=l.useState(""),[L,H]=l.useState(!1),[U,z]=l.useState(!0),W=l.useRef(null);l.useEffect(()=>{O([])},[]),l.useEffect(()=>{if(n){const pe=new URLSearchParams(y.search);pe.set("path",""),E("");const ve=`${window.location.pathname}?${pe.toString()}`;window.history.replaceState(null,"",ve),R(Ce=>!Ce)}},[n]),l.useEffect(()=>{z(!0),Rje.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${encodeURIComponent(I)}&special=${e}`+(n?`&overlay=${n}`:"")).then(pe=>pe.json()).then(pe=>{var ve=pe.files;o&&(ve=ve.filter(Ce=>Ce.isDir)),t.length>0&&(ve=ve.filter(Ce=>Ce.isDir||t.some(me=>Ce.name.endsWith(me)))),w(ve)}).catch(pe=>g(xt.Error,c("fileBrowser.messages.errorFetchingDirContent"),c("fileBrowser.messages.errorFetchingDirContentDetails",{path:I||"/"})+pe,c("fileBrowser.title"))).finally(()=>{z(!1)})},[I,e,o,_]),l.useEffect(()=>{C.current!==null&&b.current&&b.current.setSelectionRange(C.current,C.current)},[k]);const q=pe=>{var ve;!pe.isDir&&((ve=pe.tonieInfo)!=null&&ve.tracks)&&(j(pe),D(encodeURI("/content"+decodeURI(I)+"/"+pe.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:"")),A(!0))},K=pe=>{a&&x(`?path=${pe}`),I===pe&&R(ve=>!ve),H(!1),E(pe)},G=(pe,ve)=>{const Ce=pe.split("/").filter(ie=>ie),me=[{title:d.jsx("span",{style:{cursor:"pointer"},onClick:()=>ve(""),children:c("fileBrowser.root")}),key:"/"}];return Ce.forEach((ie,he)=>{const Se=`/${Ce.slice(0,he+1).join("/")}`;me.push({title:d.jsx("span",{style:{cursor:"pointer"},onClick:()=>ve(Se),children:ie}),key:Se})}),d.jsx(Dm,{items:me})},X=pe=>{M(pe.target.value),C.current=pe.target.selectionStart,H(!0)},Z=()=>{M(""),C.current=0},J=()=>{H(!0)},ne=()=>{H(!1)},Q=pe=>N.includes(pe.key)?"highlight-row":"",ee=pe=>{if(r>0){if(t){const Ce=pe.length;pe=pe.filter(me=>{const ie=S.find(he=>he.name===me);return ie&&ie.tafHeader!==void 0||ie&&t.some(he=>ie.name.toLowerCase().endsWith(he))}),Ce!==pe.length&&g(xt.Warning,c("fileBrowser.fileTypesWarning"),c("fileBrowser.selectAllowedFileTypesOnly",{fileTypes:t.join(", ")}),c("fileBrowser.title"))}pe.length>r?g(xt.Warning,c("fileBrowser.maxSelectedRowsWarning"),c("fileBrowser.maxSelectedRows",{maxSelectedRows:r}),c("fileBrowser.title")):O(pe)}else O(pe);const ve=(S==null?void 0:S.filter(Ce=>pe.includes(Ce.name)))||[];s!==void 0&&s(ve,I,e)},te=pe=>{z(!0);const ve=pe===".."?I.split("/").slice(0,-1).join("/"):`${I}/${pe}`;a&&x(`?path=${ve}`),H(!1),O([]),E(ve)},oe=(pe,ve)=>ve.reduce((Ce,me)=>{if(Ce&&Ce[me]!==void 0)return Ce[me]},pe),le=(pe,ve,Ce)=>{const me=Array.isArray(Ce)?oe(pe,Ce):pe[Ce],ie=Array.isArray(Ce)?oe(ve,Ce):ve[Ce];return me===void 0&&ie===void 0?0:me===void 0?1:ie===void 0?-1:typeof me=="string"&&typeof ie=="string"?me.localeCompare(ie):typeof me=="number"&&typeof ie=="number"?me-ie:(console.log("Unsupported types for sorting:",pe,ve),console.log("Unsupported types for sorting field:",Ce,me,ie),0)},fe=(pe,ve)=>pe.isDir===ve.isDir?le(pe,ve,"name"):pe.isDir?-1:1;var ue=[{title:"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(pe,ve)=>{var Ce,me;return ve&&((Ce=ve.tonieInfo)!=null&&Ce.picture)?d.jsx("img",{src:ve.tonieInfo.picture,alt:c("tonies.content.toniePicture"),onClick:()=>q(ve),style:{width:100,cursor:!ve.isDir&&((me=ve==null?void 0:ve.tonieInfo)!=null&&me.tracks)?"help":"default"}},`picture-${ve.name}`):d.jsx(d.Fragment,{})},showOnDirOnly:!1},{title:c("fileBrowser.name"),dataIndex:"name",key:"name",sorter:fe,defaultSortOrder:"ascend",render:(pe,ve)=>{var Ce,me,ie,he,Se;return ve&&d.jsxs("div",{children:[d.jsx("div",{className:"showSmallDevicesOnly",children:d.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[d.jsxs("div",{style:{display:"flex"},children:[ve.isDir?d.jsx(au,{style:{marginRight:8}}):"",d.jsx("div",{style:{wordBreak:ve.isDir?"normal":"break-word"},children:ve.isDir?d.jsx(d.Fragment,{children:ve.name}):ve.name})]}),d.jsx("div",{children:(Ce=ve.tonieInfo)==null?void 0:Ce.model}),d.jsx("div",{style:{wordBreak:ve.isDir?"normal":"break-word"},children:((me=ve.tonieInfo)!=null&&me.series?(ie=ve.tonieInfo)==null?void 0:ie.series:"")+((he=ve.tonieInfo)!=null&&he.episode?" - "+((Se=ve.tonieInfo)==null?void 0:Se.episode):"")})]})}),d.jsx("div",{className:"showMediumDevicesOnly",children:d.jsxs("div",{style:{display:"flex"},children:[ve.isDir?d.jsx(au,{style:{marginRight:8}}):"",d.jsx("div",{style:{wordBreak:ve.isDir?"normal":"break-word"},children:ve.isDir?d.jsx(d.Fragment,{children:ve.name}):ve.name})]})}),d.jsx("div",{className:"showBigDevicesOnly",children:d.jsxs("div",{style:{display:"flex"},children:[ve.isDir?d.jsx(au,{style:{marginRight:8}}):"",d.jsx("div",{style:{wordBreak:ve.isDir?"normal":"break-word"},children:ve.isDir?d.jsx(d.Fragment,{children:ve.name}):ve.name})]})})]},`name-${ve.name}`)},filteredValue:[k],onFilter:(pe,ve)=>{var me,ie,he,Se;const Ce=pe.toLowerCase();return ve.name===".."||ve.name.toLowerCase().includes(Ce)||!ve.isDir&&"tafHeader"in ve&&ve.tafHeader.size&&Hd(ve.tafHeader.size).toString().includes(Ce)||"tafHeader"in ve&&((me=ve.tafHeader.audioId)==null?void 0:me.toString().includes(Ce))||"tonieInfo"in ve&&((ie=ve.tonieInfo)==null?void 0:ie.model.toLowerCase().includes(Ce))||"tonieInfo"in ve&&((he=ve.tonieInfo)==null?void 0:he.series.toLowerCase().includes(Ce))||"tonieInfo"in ve&&((Se=ve.tonieInfo)==null?void 0:Se.episode.toLowerCase().includes(Ce))},showOnDirOnly:!0},{title:c("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(pe,ve)=>{var Ce;return d.jsx("div",{children:(Ce=ve.tonieInfo)==null?void 0:Ce.model},`model-${ve.name}`)}},{title:d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"showMediumDevicesOnly",children:[c("fileBrowser.model"),"/",c("fileBrowser.series"),"/",c("fileBrowser.episode")]}),d.jsx("div",{className:"showBigDevicesOnly",children:c("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(pe,ve)=>{var Ce,me,ie,he,Se,_e,$e;return d.jsxs("div",{children:[d.jsxs("div",{className:"showMediumDevicesOnly",children:[d.jsx("div",{children:(Ce=ve.tonieInfo)==null?void 0:Ce.model}),d.jsx("div",{style:{wordBreak:"break-word"},children:((me=ve.tonieInfo)!=null&&me.series?(ie=ve.tonieInfo)==null?void 0:ie.series:"")+((he=ve.tonieInfo)!=null&&he.episode?" - "+((Se=ve.tonieInfo)==null?void 0:Se.episode):"")})]}),d.jsx("div",{className:"showBigDevicesOnly",children:(_e=ve.tonieInfo)!=null&&_e.series?($e=ve.tonieInfo)==null?void 0:$e.series:""})]},`series-${ve.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:c("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(pe,ve)=>{var Ce;return d.jsx("div",{children:(Ce=ve.tonieInfo)==null?void 0:Ce.episode},`episode-${ve.name}`)}},{title:d.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:c("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(pe,ve)=>{let Ce=[];return ve.tafHeader?Ce.push(d.jsx(nn,{title:c("fileBrowser.playFile"),children:d.jsx($o,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+I+"/"+ve.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:""),ve.tonieInfo,{...ve,audioUrl:encodeURI("/content"+I+"/"+ve.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:"")})})},`action-play-${ve.name}`)):$je.some(me=>ve.name.endsWith(me))&&Ce.push(d.jsx(nn,{title:c("fileBrowser.playFile"),children:d.jsx($o,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+I+"/"+ve.name)+"?special="+e+(n?`&overlay=${n}`:""),ve.tonieInfo)})},`action-play-${ve.name}`)),Ce},showOnDirOnly:!1}];ue.forEach(pe=>{pe.hasOwnProperty("sorter")||(pe.sorter=(ve,Ce)=>le(ve,Ce,pe.dataIndex))}),o&&(ue=ue.filter(pe=>pe.showOnDirOnly)),i&&(ue=ue.filter(pe=>typeof pe.key=="string"?i.includes(pe.key):!1));const we=U?"":d.jsx(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE});return d.jsxs(d.Fragment,{children:[B?d.jsx(Xy,{open:$,tonieCardOrTAFRecord:{...B,audioUrl:F},onClose:()=>A(!1),overlay:n}):"",d.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:d.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[d.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:c("tonies.currentPath")}),G(I,K)]})}),d.jsxs("div",{className:"test",style:{position:"relative"},ref:W,children:[U?d.jsx(PY,{parentRef:W}):"",d.jsx(Ya,{dataSource:S,columns:ue,rowKey:pe=>pe.name,pagination:!1,onRow:pe=>({onDoubleClick:()=>{if(pe.isDir)te(pe.name);else{const ve=N.includes(pe.name)?N.filter(Ce=>Ce!==pe.name):[...N,pe.name];ee(ve)}},style:{cursor:pe.isDir?"context-menu":"unset"}}),rowClassName:Q,rowSelection:r>0?{selectedRowKeys:N,onChange:ee}:{selectedRowKeys:N,onChange:ee,getCheckboxProps:pe=>({disabled:pe.name===".."}),onSelectAll:(pe,ve)=>{const Ce=pe?ve.filter(me=>me.name!=="..").map(me=>me.name):[];O(Ce)}},components:{header:{wrapper:pe=>d.jsx("thead",{...pe}),row:pe=>d.jsxs(d.Fragment,{children:[d.jsx("tr",{...pe}),d.jsx("tr",{children:d.jsx("th",{style:{padding:"10px 8px"},colSpan:ue.length+1,children:d.jsx(Sn,{placeholder:c("fileBrowser.filter"),value:k,onChange:X,onFocus:J,onBlur:ne,ref:b,style:{width:"100%"},autoFocus:L,addonAfter:d.jsx(Ha,{onClick:Z,disabled:k.length===0,style:{color:k.length===0?f.colorTextDisabled:f.colorText,cursor:k.length===0?"default":"pointer"}})})})})]}),cell:pe=>d.jsx("th",{...pe,style:{position:"sticky",top:0,zIndex:8}})}},locale:{emptyText:we}})]})]})},Nje=e=>{const{t}=Yt(),{addNotification:n}=Cr(),[r,a]=l.useState([]),[o,i]=l.useState(),[s,c]=l.useState(null),[u,f]=l.useState(!1),g=async()=>{try{const S=await fetch("http://all.api.radio-browser.info/json/servers");if(!S.ok)throw new Error("Failed to fetch server list");return(await S.json()).map(I=>`https://${I.name}`)}catch{return console.error("Error fetching server list:"),[]}},m=async()=>{const S=await g();return S.length===0?null:S[Math.floor(Math.random()*S.length)]};l.useEffect(()=>{(async()=>{const w=await m();w?(console.log("Using random Radio Browser API URL:",w),c(w+"/json")):(console.log("Fetching random radio browser URL failed, using hardcoded fallback."),c("https://de2.api.radio-browser.info/json"))})()},[]),l.useEffect(()=>{if(!s)return;(async()=>{try{console.log("Checking API availability at:",s),(await fetch(s+"/stats")).ok?(console.log("API is available:",s),f(!0)):(console.warn("API not available:",s),f(!1))}catch(w){console.error("Error checking API availability:",w),f(!1)}})()},[s]);const h=(S,w)=>{const I=ge.useRef(null);return(...E)=>{I.current&&clearTimeout(I.current),I.current=setTimeout(()=>S(...E),w)}},y=async S=>{if(!s){console.warn("Skipping search: API URL is null");return}if(a([]),S==="")return;const w=encodeURIComponent(S),I=s+"/stations/search?name="+w+"&is_https=true&hidebroken=true";try{const E=await fetch(I,{});if(!E.ok)throw new Error(E.status+" "+E.statusText);const _=await E.json(),R=Array.from(new Set(_.map(N=>N.url))).map(N=>{const O=_.find($=>$.url===N);return{value:O.url,text:(O.country?"["+O.country+"] ":"")+O.name+(O.language?" ("+O.language+")":"")}});a(R)}catch(E){n(xt.Error,t("radioStreamSearch.failedToFetchSearchResults"),t("radioStreamSearch.failedToFetchSearchResultsDetails")+E,t("tonies.title"));return}},x=l.useCallback(h(y,300),[s]),b=S=>{i(S),e.onChange(S)};return u&&s?d.jsxs(d.Fragment,{children:[d.jsx(zn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),d.jsx(ra,{showSearch:!0,style:{margin:"8px 0"},value:o,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:x,onChange:b,notFoundContent:null,options:(r||[]).map(S=>({value:S.value,label:S.text}))})]}):d.jsx(d.Fragment,{})},Aje=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((a,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},Rz=async e=>{try{return(await Aje(Object.assign({"../assets/country-flags-3x2/AC.svg":()=>Oe(()=>import("./AC-DvzLgDzl.js"),[]),"../assets/country-flags-3x2/AD.svg":()=>Oe(()=>import("./AD-0YtvGfyJ.js"),[]),"../assets/country-flags-3x2/AE.svg":()=>Oe(()=>import("./AE-ChB4l_EO.js"),[]),"../assets/country-flags-3x2/AF.svg":()=>Oe(()=>import("./AF-BnD1yvCV.js"),[]),"../assets/country-flags-3x2/AG.svg":()=>Oe(()=>import("./AG-BN5I_8HM.js"),[]),"../assets/country-flags-3x2/AI.svg":()=>Oe(()=>import("./AI-DyA8M_FU.js"),[]),"../assets/country-flags-3x2/AL.svg":()=>Oe(()=>import("./AL-BXVQWRZ5.js"),[]),"../assets/country-flags-3x2/AM.svg":()=>Oe(()=>import("./AM-NLP3P44N.js"),[]),"../assets/country-flags-3x2/AO.svg":()=>Oe(()=>import("./AO-DkPrV7zY.js"),[]),"../assets/country-flags-3x2/AQ.svg":()=>Oe(()=>import("./AQ-D3w7peYS.js"),[]),"../assets/country-flags-3x2/AR.svg":()=>Oe(()=>import("./AR-CrCDb1gb.js"),[]),"../assets/country-flags-3x2/AS.svg":()=>Oe(()=>import("./AS-BS3RTvVP.js"),[]),"../assets/country-flags-3x2/AT.svg":()=>Oe(()=>import("./AT-1HWBUNPr.js"),[]),"../assets/country-flags-3x2/AU.svg":()=>Oe(()=>import("./AU-DAwXtpdW.js"),[]),"../assets/country-flags-3x2/AW.svg":()=>Oe(()=>import("./AW-CXzIUnmX.js"),[]),"../assets/country-flags-3x2/AX.svg":()=>Oe(()=>import("./AX-rE6718Yf.js"),[]),"../assets/country-flags-3x2/AZ.svg":()=>Oe(()=>import("./AZ-Bznf-Mlc.js"),[]),"../assets/country-flags-3x2/BA.svg":()=>Oe(()=>import("./BA-D2NrufK3.js"),[]),"../assets/country-flags-3x2/BB.svg":()=>Oe(()=>import("./BB-DFQPCNz6.js"),[]),"../assets/country-flags-3x2/BD.svg":()=>Oe(()=>import("./BD-B-QQw3jj.js"),[]),"../assets/country-flags-3x2/BE.svg":()=>Oe(()=>import("./BE-DkBmiD2O.js"),[]),"../assets/country-flags-3x2/BF.svg":()=>Oe(()=>import("./BF-MtzYbWUR.js"),[]),"../assets/country-flags-3x2/BG.svg":()=>Oe(()=>import("./BG-Buxx41RI.js"),[]),"../assets/country-flags-3x2/BH.svg":()=>Oe(()=>import("./BH-BKAvWpJ-.js"),[]),"../assets/country-flags-3x2/BI.svg":()=>Oe(()=>import("./BI-DRM3gEDF.js"),[]),"../assets/country-flags-3x2/BJ.svg":()=>Oe(()=>import("./BJ-DQaHbLmo.js"),[]),"../assets/country-flags-3x2/BL.svg":()=>Oe(()=>import("./BL-bG469lsP.js"),[]),"../assets/country-flags-3x2/BM.svg":()=>Oe(()=>import("./BM-BLcb1PfF.js"),[]),"../assets/country-flags-3x2/BN.svg":()=>Oe(()=>import("./BN-8lYlT0x_.js"),[]),"../assets/country-flags-3x2/BO.svg":()=>Oe(()=>import("./BO-BU5jLhT5.js"),[]),"../assets/country-flags-3x2/BQ.svg":()=>Oe(()=>import("./BQ-D6AcQS69.js"),[]),"../assets/country-flags-3x2/BR.svg":()=>Oe(()=>import("./BR-C6APLMWa.js"),[]),"../assets/country-flags-3x2/BS.svg":()=>Oe(()=>import("./BS-D0c45f7-.js"),[]),"../assets/country-flags-3x2/BT.svg":()=>Oe(()=>import("./BT-DtFaEhK8.js"),[]),"../assets/country-flags-3x2/BV.svg":()=>Oe(()=>import("./BV-Bse7Z5R3.js"),[]),"../assets/country-flags-3x2/BW.svg":()=>Oe(()=>import("./BW-Bx2saQws.js"),[]),"../assets/country-flags-3x2/BY.svg":()=>Oe(()=>import("./BY-CA5NyMFR.js"),[]),"../assets/country-flags-3x2/BZ.svg":()=>Oe(()=>import("./BZ-CYhxcbH0.js"),[]),"../assets/country-flags-3x2/CA.svg":()=>Oe(()=>import("./CA-CWAdRSSD.js"),[]),"../assets/country-flags-3x2/CC.svg":()=>Oe(()=>import("./CC-1Vu5MNVk.js"),[]),"../assets/country-flags-3x2/CD.svg":()=>Oe(()=>import("./CD-CMPwi19S.js"),[]),"../assets/country-flags-3x2/CF.svg":()=>Oe(()=>import("./CF-D9_q27iA.js"),[]),"../assets/country-flags-3x2/CG.svg":()=>Oe(()=>import("./CG-DTOQvq8q.js"),[]),"../assets/country-flags-3x2/CH.svg":()=>Oe(()=>import("./CH-C_aVYgel.js"),[]),"../assets/country-flags-3x2/CI.svg":()=>Oe(()=>import("./CI-mTXBVsLR.js"),[]),"../assets/country-flags-3x2/CK.svg":()=>Oe(()=>import("./CK-H328ZC8P.js"),[]),"../assets/country-flags-3x2/CL.svg":()=>Oe(()=>import("./CL-B5mM_kkr.js"),[]),"../assets/country-flags-3x2/CM.svg":()=>Oe(()=>import("./CM-CvApswQi.js"),[]),"../assets/country-flags-3x2/CN.svg":()=>Oe(()=>import("./CN-BKvdkL53.js"),[]),"../assets/country-flags-3x2/CO.svg":()=>Oe(()=>import("./CO-ByrhQGvM.js"),[]),"../assets/country-flags-3x2/CR.svg":()=>Oe(()=>import("./CR-BI09HFuL.js"),[]),"../assets/country-flags-3x2/CU.svg":()=>Oe(()=>import("./CU-C4C68jfb.js"),[]),"../assets/country-flags-3x2/CV.svg":()=>Oe(()=>import("./CV-DyZ6Ezk0.js"),[]),"../assets/country-flags-3x2/CW.svg":()=>Oe(()=>import("./CW-D7IcpiXF.js"),[]),"../assets/country-flags-3x2/CX.svg":()=>Oe(()=>import("./CX-DHs8nS10.js"),[]),"../assets/country-flags-3x2/CY.svg":()=>Oe(()=>import("./CY-BTPkyMMF.js"),[]),"../assets/country-flags-3x2/CZ.svg":()=>Oe(()=>import("./CZ-UAdIkg68.js"),[]),"../assets/country-flags-3x2/DE.svg":()=>Oe(()=>import("./DE-BwSz4lTD.js"),[]),"../assets/country-flags-3x2/DJ.svg":()=>Oe(()=>import("./DJ-BobvE7TL.js"),[]),"../assets/country-flags-3x2/DK.svg":()=>Oe(()=>import("./DK-COwVG_7G.js"),[]),"../assets/country-flags-3x2/DM.svg":()=>Oe(()=>import("./DM-DOv9-8d0.js"),[]),"../assets/country-flags-3x2/DO.svg":()=>Oe(()=>import("./DO-CXxjIPve.js"),[]),"../assets/country-flags-3x2/DZ.svg":()=>Oe(()=>import("./DZ-D731vN-p.js"),[]),"../assets/country-flags-3x2/EC.svg":()=>Oe(()=>import("./EC-CLkxbsC9.js"),[]),"../assets/country-flags-3x2/EE.svg":()=>Oe(()=>import("./EE-Dg3eKw7r.js"),[]),"../assets/country-flags-3x2/EG.svg":()=>Oe(()=>import("./EG-CS47I1Hw.js"),[]),"../assets/country-flags-3x2/EH.svg":()=>Oe(()=>import("./EH-D0ou060S.js"),[]),"../assets/country-flags-3x2/ER.svg":()=>Oe(()=>import("./ER-BGi3XKA_.js"),[]),"../assets/country-flags-3x2/ES.svg":()=>Oe(()=>import("./ES-NqXMpDNV.js"),[]),"../assets/country-flags-3x2/ET.svg":()=>Oe(()=>import("./ET-PTudKHL-.js"),[]),"../assets/country-flags-3x2/EU.svg":()=>Oe(()=>import("./EU-FjcjwKp1.js"),[]),"../assets/country-flags-3x2/FI.svg":()=>Oe(()=>import("./FI-CG4d9Fw7.js"),[]),"../assets/country-flags-3x2/FJ.svg":()=>Oe(()=>import("./FJ-C139PzvB.js"),[]),"../assets/country-flags-3x2/FK.svg":()=>Oe(()=>import("./FK-XPS_Mxep.js"),[]),"../assets/country-flags-3x2/FM.svg":()=>Oe(()=>import("./FM-CNgebryG.js"),[]),"../assets/country-flags-3x2/FO.svg":()=>Oe(()=>import("./FO-CRzpKO1m.js"),[]),"../assets/country-flags-3x2/FR.svg":()=>Oe(()=>import("./FR-B8vDbpLB.js"),[]),"../assets/country-flags-3x2/GA.svg":()=>Oe(()=>import("./GA-BuCnHBt1.js"),[]),"../assets/country-flags-3x2/GB.svg":()=>Oe(()=>import("./GB-0aslyXWB.js"),[]),"../assets/country-flags-3x2/GD.svg":()=>Oe(()=>import("./GD-CNPbqtuI.js"),[]),"../assets/country-flags-3x2/GE-AB.svg":()=>Oe(()=>import("./GE-AB-B-TJLLyi.js"),[]),"../assets/country-flags-3x2/GE-OS.svg":()=>Oe(()=>import("./GE-OS-MSYyBHb5.js"),[]),"../assets/country-flags-3x2/GE.svg":()=>Oe(()=>import("./GE-DjP-hqxH.js"),[]),"../assets/country-flags-3x2/GF.svg":()=>Oe(()=>import("./GF-BcpM6KXB.js"),[]),"../assets/country-flags-3x2/GG.svg":()=>Oe(()=>import("./GG-CO0w39Uo.js"),[]),"../assets/country-flags-3x2/GH.svg":()=>Oe(()=>import("./GH-BlaRl2y7.js"),[]),"../assets/country-flags-3x2/GI.svg":()=>Oe(()=>import("./GI-LhWzDkoL.js"),[]),"../assets/country-flags-3x2/GL.svg":()=>Oe(()=>import("./GL-TZYWPNiS.js"),[]),"../assets/country-flags-3x2/GM.svg":()=>Oe(()=>import("./GM-BbEKdS0A.js"),[]),"../assets/country-flags-3x2/GN.svg":()=>Oe(()=>import("./GN-mVJu0smG.js"),[]),"../assets/country-flags-3x2/GP.svg":()=>Oe(()=>import("./GP-B8vDbpLB.js"),[]),"../assets/country-flags-3x2/GQ.svg":()=>Oe(()=>import("./GQ-CC129jXh.js"),[]),"../assets/country-flags-3x2/GR.svg":()=>Oe(()=>import("./GR-CFpIyJBR.js"),[]),"../assets/country-flags-3x2/GS.svg":()=>Oe(()=>import("./GS-IFDbLNwE.js"),[]),"../assets/country-flags-3x2/GT.svg":()=>Oe(()=>import("./GT-Dw6YDROG.js"),[]),"../assets/country-flags-3x2/GU.svg":()=>Oe(()=>import("./GU-DzR4EhPy.js"),[]),"../assets/country-flags-3x2/GW.svg":()=>Oe(()=>import("./GW-DULDgb9f.js"),[]),"../assets/country-flags-3x2/GY.svg":()=>Oe(()=>import("./GY-DFiRqyUV.js"),[]),"../assets/country-flags-3x2/HK.svg":()=>Oe(()=>import("./HK-CjKIxoZ0.js"),[]),"../assets/country-flags-3x2/HM.svg":()=>Oe(()=>import("./HM-iT-MxlIG.js"),[]),"../assets/country-flags-3x2/HN.svg":()=>Oe(()=>import("./HN-DHepbgm0.js"),[]),"../assets/country-flags-3x2/HR.svg":()=>Oe(()=>import("./HR-DSd-JLbR.js"),[]),"../assets/country-flags-3x2/HT.svg":()=>Oe(()=>import("./HT-CqkxwVFz.js"),[]),"../assets/country-flags-3x2/HU.svg":()=>Oe(()=>import("./HU-Cy7u9-qp.js"),[]),"../assets/country-flags-3x2/IC.svg":()=>Oe(()=>import("./IC-CJJhkl-n.js"),[]),"../assets/country-flags-3x2/ID.svg":()=>Oe(()=>import("./ID-Cc4MKPAt.js"),[]),"../assets/country-flags-3x2/IE.svg":()=>Oe(()=>import("./IE-Bs5eJbrt.js"),[]),"../assets/country-flags-3x2/IL.svg":()=>Oe(()=>import("./IL-x3uCxx9g.js"),[]),"../assets/country-flags-3x2/IM.svg":()=>Oe(()=>import("./IM-Ck6NBcbK.js"),[]),"../assets/country-flags-3x2/IN.svg":()=>Oe(()=>import("./IN-BWYcDrrm.js"),[]),"../assets/country-flags-3x2/IO.svg":()=>Oe(()=>import("./IO-Dez4wQyI.js"),[]),"../assets/country-flags-3x2/IQ.svg":()=>Oe(()=>import("./IQ-BVBBmvCn.js"),[]),"../assets/country-flags-3x2/IR.svg":()=>Oe(()=>import("./IR-nDyIXGna.js"),[]),"../assets/country-flags-3x2/IS.svg":()=>Oe(()=>import("./IS-DQY00ZsH.js"),[]),"../assets/country-flags-3x2/IT.svg":()=>Oe(()=>import("./IT-BUw142lt.js"),[]),"../assets/country-flags-3x2/JE.svg":()=>Oe(()=>import("./JE-fiJ0wm8X.js"),[]),"../assets/country-flags-3x2/JM.svg":()=>Oe(()=>import("./JM-BJbXA2bB.js"),[]),"../assets/country-flags-3x2/JO.svg":()=>Oe(()=>import("./JO-B77LxlWU.js"),[]),"../assets/country-flags-3x2/JP.svg":()=>Oe(()=>import("./JP-CK8eanJQ.js"),[]),"../assets/country-flags-3x2/KE.svg":()=>Oe(()=>import("./KE-BlFf5Qxr.js"),[]),"../assets/country-flags-3x2/KG.svg":()=>Oe(()=>import("./KG-JN6XM7Fd.js"),[]),"../assets/country-flags-3x2/KH.svg":()=>Oe(()=>import("./KH-X6EC4OiB.js"),[]),"../assets/country-flags-3x2/KI.svg":()=>Oe(()=>import("./KI-CaTWAqLF.js"),[]),"../assets/country-flags-3x2/KM.svg":()=>Oe(()=>import("./KM-mjEvtiuf.js"),[]),"../assets/country-flags-3x2/KN.svg":()=>Oe(()=>import("./KN-HuXJxu2q.js"),[]),"../assets/country-flags-3x2/KP.svg":()=>Oe(()=>import("./KP-BItPmeJA.js"),[]),"../assets/country-flags-3x2/KR.svg":()=>Oe(()=>import("./KR-UUuMeJgj.js"),[]),"../assets/country-flags-3x2/KW.svg":()=>Oe(()=>import("./KW-B-eZYjjt.js"),[]),"../assets/country-flags-3x2/KY.svg":()=>Oe(()=>import("./KY-DjI8pk7A.js"),[]),"../assets/country-flags-3x2/KZ.svg":()=>Oe(()=>import("./KZ-BnuTjtd_.js"),[]),"../assets/country-flags-3x2/LA.svg":()=>Oe(()=>import("./LA-CmcseVwR.js"),[]),"../assets/country-flags-3x2/LB.svg":()=>Oe(()=>import("./LB-BpyBkLFs.js"),[]),"../assets/country-flags-3x2/LC.svg":()=>Oe(()=>import("./LC-CPVriPlN.js"),[]),"../assets/country-flags-3x2/LI.svg":()=>Oe(()=>import("./LI-BVF18f1m.js"),[]),"../assets/country-flags-3x2/LK.svg":()=>Oe(()=>import("./LK-BKGOo40_.js"),[]),"../assets/country-flags-3x2/LR.svg":()=>Oe(()=>import("./LR-VHPWKhMT.js"),[]),"../assets/country-flags-3x2/LS.svg":()=>Oe(()=>import("./LS-DX59LbSJ.js"),[]),"../assets/country-flags-3x2/LT.svg":()=>Oe(()=>import("./LT-DcerJVZ9.js"),[]),"../assets/country-flags-3x2/LU.svg":()=>Oe(()=>import("./LU-BIADZ7Kd.js"),[]),"../assets/country-flags-3x2/LV.svg":()=>Oe(()=>import("./LV-juKXMjFv.js"),[]),"../assets/country-flags-3x2/LY.svg":()=>Oe(()=>import("./LY-TIoWIPnH.js"),[]),"../assets/country-flags-3x2/MA.svg":()=>Oe(()=>import("./MA-CZmTf-jk.js"),[]),"../assets/country-flags-3x2/MC.svg":()=>Oe(()=>import("./MC-Bso14psQ.js"),[]),"../assets/country-flags-3x2/MD.svg":()=>Oe(()=>import("./MD-D2eZyWDH.js"),[]),"../assets/country-flags-3x2/ME.svg":()=>Oe(()=>import("./ME-wp0w9F0r.js"),[]),"../assets/country-flags-3x2/MF.svg":()=>Oe(()=>import("./MF-PWAfddVX.js"),[]),"../assets/country-flags-3x2/MG.svg":()=>Oe(()=>import("./MG-BsrX5eXa.js"),[]),"../assets/country-flags-3x2/MH.svg":()=>Oe(()=>import("./MH-PVMgcMHB.js"),[]),"../assets/country-flags-3x2/MK.svg":()=>Oe(()=>import("./MK-D7lVQ6Xv.js"),[]),"../assets/country-flags-3x2/ML.svg":()=>Oe(()=>import("./ML-BRfUtvar.js"),[]),"../assets/country-flags-3x2/MM.svg":()=>Oe(()=>import("./MM-CpVOGWRF.js"),[]),"../assets/country-flags-3x2/MN.svg":()=>Oe(()=>import("./MN-CQwi_XVk.js"),[]),"../assets/country-flags-3x2/MO.svg":()=>Oe(()=>import("./MO-DHDZ3oiK.js"),[]),"../assets/country-flags-3x2/MP.svg":()=>Oe(()=>import("./MP-CU5duFcA.js"),[]),"../assets/country-flags-3x2/MQ.svg":()=>Oe(()=>import("./MQ-CpyZfYzn.js"),[]),"../assets/country-flags-3x2/MR.svg":()=>Oe(()=>import("./MR-NNsjUd7R.js"),[]),"../assets/country-flags-3x2/MS.svg":()=>Oe(()=>import("./MS-n7Kko3dd.js"),[]),"../assets/country-flags-3x2/MT.svg":()=>Oe(()=>import("./MT-CiOjyn-B.js"),[]),"../assets/country-flags-3x2/MU.svg":()=>Oe(()=>import("./MU-D6rXnPWB.js"),[]),"../assets/country-flags-3x2/MV.svg":()=>Oe(()=>import("./MV-B6jQ1h-J.js"),[]),"../assets/country-flags-3x2/MW.svg":()=>Oe(()=>import("./MW-Bkt-ik9T.js"),[]),"../assets/country-flags-3x2/MX.svg":()=>Oe(()=>import("./MX-Bkiy8r7B.js"),[]),"../assets/country-flags-3x2/MY.svg":()=>Oe(()=>import("./MY-BFzIdmmk.js"),[]),"../assets/country-flags-3x2/MZ.svg":()=>Oe(()=>import("./MZ-BAvMPWrT.js"),[]),"../assets/country-flags-3x2/NA.svg":()=>Oe(()=>import("./NA-BkrHacIf.js"),[]),"../assets/country-flags-3x2/NC.svg":()=>Oe(()=>import("./NC-r8ApqwCV.js"),[]),"../assets/country-flags-3x2/NE.svg":()=>Oe(()=>import("./NE-AJ9IgbM3.js"),[]),"../assets/country-flags-3x2/NF.svg":()=>Oe(()=>import("./NF-B0iiiYkw.js"),[]),"../assets/country-flags-3x2/NG.svg":()=>Oe(()=>import("./NG-BhTYQwGB.js"),[]),"../assets/country-flags-3x2/NI.svg":()=>Oe(()=>import("./NI-A6xbs1JT.js"),[]),"../assets/country-flags-3x2/NL.svg":()=>Oe(()=>import("./NL-DjFJb2xH.js"),[]),"../assets/country-flags-3x2/NO.svg":()=>Oe(()=>import("./NO-86L4EYt1.js"),[]),"../assets/country-flags-3x2/NP.svg":()=>Oe(()=>import("./NP-CxKDc5-T.js"),[]),"../assets/country-flags-3x2/NR.svg":()=>Oe(()=>import("./NR-B8su_64b.js"),[]),"../assets/country-flags-3x2/NU.svg":()=>Oe(()=>import("./NU-DSI7JMI9.js"),[]),"../assets/country-flags-3x2/NZ.svg":()=>Oe(()=>import("./NZ-C41L_I5d.js"),[]),"../assets/country-flags-3x2/OM.svg":()=>Oe(()=>import("./OM-RQlFI4YB.js"),[]),"../assets/country-flags-3x2/PA.svg":()=>Oe(()=>import("./PA-DMeK60Qa.js"),[]),"../assets/country-flags-3x2/PE.svg":()=>Oe(()=>import("./PE-Ca2Jsjoe.js"),[]),"../assets/country-flags-3x2/PF.svg":()=>Oe(()=>import("./PF-D1Ug4IAP.js"),[]),"../assets/country-flags-3x2/PG.svg":()=>Oe(()=>import("./PG-8qXqEB3s.js"),[]),"../assets/country-flags-3x2/PH.svg":()=>Oe(()=>import("./PH-BqKXRPqE.js"),[]),"../assets/country-flags-3x2/PK.svg":()=>Oe(()=>import("./PK-D6ZT-Hcu.js"),[]),"../assets/country-flags-3x2/PL.svg":()=>Oe(()=>import("./PL-DFBDuqRs.js"),[]),"../assets/country-flags-3x2/PM.svg":()=>Oe(()=>import("./PM-B8vDbpLB.js"),[]),"../assets/country-flags-3x2/PN.svg":()=>Oe(()=>import("./PN-W09zPp77.js"),[]),"../assets/country-flags-3x2/PR.svg":()=>Oe(()=>import("./PR-DNh0l7ve.js"),[]),"../assets/country-flags-3x2/PS.svg":()=>Oe(()=>import("./PS-BxHJsNeL.js"),[]),"../assets/country-flags-3x2/PT.svg":()=>Oe(()=>import("./PT-CoJFuCLx.js"),[]),"../assets/country-flags-3x2/PW.svg":()=>Oe(()=>import("./PW-BI3CWBTN.js"),[]),"../assets/country-flags-3x2/PY.svg":()=>Oe(()=>import("./PY-CNXBcYnq.js"),[]),"../assets/country-flags-3x2/QA.svg":()=>Oe(()=>import("./QA-DmWWreP8.js"),[]),"../assets/country-flags-3x2/RE.svg":()=>Oe(()=>import("./RE-B8vDbpLB.js"),[]),"../assets/country-flags-3x2/RO.svg":()=>Oe(()=>import("./RO-DWS7w99F.js"),[]),"../assets/country-flags-3x2/RS.svg":()=>Oe(()=>import("./RS-Bh3OKS_i.js"),[]),"../assets/country-flags-3x2/RU.svg":()=>Oe(()=>import("./RU-DuF-s0U5.js"),[]),"../assets/country-flags-3x2/RW.svg":()=>Oe(()=>import("./RW-jsvhnRfd.js"),[]),"../assets/country-flags-3x2/SA.svg":()=>Oe(()=>import("./SA-DSeUIsx_.js"),[]),"../assets/country-flags-3x2/SB.svg":()=>Oe(()=>import("./SB-BtQG2ulB.js"),[]),"../assets/country-flags-3x2/SC.svg":()=>Oe(()=>import("./SC-MyYKZ2WK.js"),[]),"../assets/country-flags-3x2/SD.svg":()=>Oe(()=>import("./SD-cXXsGHLB.js"),[]),"../assets/country-flags-3x2/SE.svg":()=>Oe(()=>import("./SE-CtVAMbcV.js"),[]),"../assets/country-flags-3x2/SG.svg":()=>Oe(()=>import("./SG-CE2UisIC.js"),[]),"../assets/country-flags-3x2/SH.svg":()=>Oe(()=>import("./SH-B5zpDzMq.js"),[]),"../assets/country-flags-3x2/SI.svg":()=>Oe(()=>import("./SI-9a5HBiTQ.js"),[]),"../assets/country-flags-3x2/SJ.svg":()=>Oe(()=>import("./SJ-86L4EYt1.js"),[]),"../assets/country-flags-3x2/SK.svg":()=>Oe(()=>import("./SK-BwOc2pOo.js"),[]),"../assets/country-flags-3x2/SL.svg":()=>Oe(()=>import("./SL-Bxnx4vlW.js"),[]),"../assets/country-flags-3x2/SM.svg":()=>Oe(()=>import("./SM-BJATjMbx.js"),[]),"../assets/country-flags-3x2/SN.svg":()=>Oe(()=>import("./SN-B8j9XDTv.js"),[]),"../assets/country-flags-3x2/SO.svg":()=>Oe(()=>import("./SO-8TW9h6yL.js"),[]),"../assets/country-flags-3x2/SR.svg":()=>Oe(()=>import("./SR-BdANUAN1.js"),[]),"../assets/country-flags-3x2/SS.svg":()=>Oe(()=>import("./SS-BqQGR0F0.js"),[]),"../assets/country-flags-3x2/ST.svg":()=>Oe(()=>import("./ST-BQVf8PHB.js"),[]),"../assets/country-flags-3x2/SV.svg":()=>Oe(()=>import("./SV-CxOhSw-7.js"),[]),"../assets/country-flags-3x2/SX.svg":()=>Oe(()=>import("./SX-7FIfwi5n.js"),[]),"../assets/country-flags-3x2/SY.svg":()=>Oe(()=>import("./SY-BkbbbGV4.js"),[]),"../assets/country-flags-3x2/SZ.svg":()=>Oe(()=>import("./SZ-Nsmpk1ta.js"),[]),"../assets/country-flags-3x2/TA.svg":()=>Oe(()=>import("./TA-DF1AlPKL.js"),[]),"../assets/country-flags-3x2/TC.svg":()=>Oe(()=>import("./TC-BTPPVZng.js"),[]),"../assets/country-flags-3x2/TD.svg":()=>Oe(()=>import("./TD-CSh8i59s.js"),[]),"../assets/country-flags-3x2/TF.svg":()=>Oe(()=>import("./TF-BPFEFMdK.js"),[]),"../assets/country-flags-3x2/TG.svg":()=>Oe(()=>import("./TG-Oa56GPmf.js"),[]),"../assets/country-flags-3x2/TH.svg":()=>Oe(()=>import("./TH-BJX0syoz.js"),[]),"../assets/country-flags-3x2/TJ.svg":()=>Oe(()=>import("./TJ-DtjFN_iR.js"),[]),"../assets/country-flags-3x2/TK.svg":()=>Oe(()=>import("./TK-CaxH436f.js"),[]),"../assets/country-flags-3x2/TL.svg":()=>Oe(()=>import("./TL-BPeBNRvt.js"),[]),"../assets/country-flags-3x2/TM.svg":()=>Oe(()=>import("./TM-DT_5zC_0.js"),[]),"../assets/country-flags-3x2/TN.svg":()=>Oe(()=>import("./TN-Cl0B51zJ.js"),[]),"../assets/country-flags-3x2/TO.svg":()=>Oe(()=>import("./TO-BVPa4Mpa.js"),[]),"../assets/country-flags-3x2/TR.svg":()=>Oe(()=>import("./TR-Bi14AjTg.js"),[]),"../assets/country-flags-3x2/TT.svg":()=>Oe(()=>import("./TT-fwwKejP_.js"),[]),"../assets/country-flags-3x2/TV.svg":()=>Oe(()=>import("./TV-_2T_W9_n.js"),[]),"../assets/country-flags-3x2/TW.svg":()=>Oe(()=>import("./TW-DyIUquWk.js"),[]),"../assets/country-flags-3x2/TZ.svg":()=>Oe(()=>import("./TZ-_Cd0rEzL.js"),[]),"../assets/country-flags-3x2/UA.svg":()=>Oe(()=>import("./UA-DewlWFPj.js"),[]),"../assets/country-flags-3x2/UG.svg":()=>Oe(()=>import("./UG-1AXaIxpM.js"),[]),"../assets/country-flags-3x2/UM.svg":()=>Oe(()=>import("./UM-hrHxDpNe.js"),[]),"../assets/country-flags-3x2/UNKNOWN.svg":()=>Oe(()=>import("./UNKNOWN-DIN2B7u2.js"),[]),"../assets/country-flags-3x2/US.svg":()=>Oe(()=>import("./US-hrHxDpNe.js"),[]),"../assets/country-flags-3x2/UY.svg":()=>Oe(()=>import("./UY-D3PEaFKJ.js"),[]),"../assets/country-flags-3x2/UZ.svg":()=>Oe(()=>import("./UZ-DbF9PNiH.js"),[]),"../assets/country-flags-3x2/VA.svg":()=>Oe(()=>import("./VA-XPVDV5gM.js"),[]),"../assets/country-flags-3x2/VC.svg":()=>Oe(()=>import("./VC-BDghloKL.js"),[]),"../assets/country-flags-3x2/VE.svg":()=>Oe(()=>import("./VE-BD6sp8D2.js"),[]),"../assets/country-flags-3x2/VG.svg":()=>Oe(()=>import("./VG-JWeMT2dO.js"),[]),"../assets/country-flags-3x2/VI.svg":()=>Oe(()=>import("./VI-BLcpEKX1.js"),[]),"../assets/country-flags-3x2/VN.svg":()=>Oe(()=>import("./VN-88OylpOb.js"),[]),"../assets/country-flags-3x2/VU.svg":()=>Oe(()=>import("./VU-B3o2l031.js"),[]),"../assets/country-flags-3x2/WF.svg":()=>Oe(()=>import("./WF-Bv7MkmLx.js"),[]),"../assets/country-flags-3x2/WS.svg":()=>Oe(()=>import("./WS-Cxo8EBUY.js"),[]),"../assets/country-flags-3x2/XK.svg":()=>Oe(()=>import("./XK-DHuA0EV5.js"),[]),"../assets/country-flags-3x2/YE.svg":()=>Oe(()=>import("./YE-By8P38Ye.js"),[]),"../assets/country-flags-3x2/YT.svg":()=>Oe(()=>import("./YT-DbhRoF51.js"),[]),"../assets/country-flags-3x2/ZA.svg":()=>Oe(()=>import("./ZA-DsWnrAmj.js"),[]),"../assets/country-flags-3x2/ZM.svg":()=>Oe(()=>import("./ZM-CdkX6WZ3.js"),[]),"../assets/country-flags-3x2/ZW.svg":()=>Oe(()=>import("./ZW-B1PpRcC0.js"),[])}),`../assets/country-flags-3x2/${e}.svg`,4)).default}catch{return console.error(`Flag for country code "${e}" not found.`),null}},DY=({name:e,height:t=24,...n})=>{const[r,a]=l.useState(null);return l.useEffect(()=>{(async()=>{const i=e?await Rz(e):null;a(i||await Rz("UNKNOWN"))})()},[e]),r?d.jsx("img",{src:r,height:t,...n,alt:`Flag for ${e}`}):null},dT=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","ca-ad","ar-ae","af-af","en-ag","en-ai","sq-al","hy-am","pt-ao","xx-aq","es-ar","en-as","de-at","en-au","nl-aw","sv-ax","az-az","bs-ba","en-bb","bn-bd","fr-bf","bg-bg","ar-bh","en-bi","fr-bj","fr-bl","en-bm","ms-bn","es-bo","nl-bq","pt-br","en-bs","dz-bt","no-bv","en-bw","be-by","en-bz","en-ca","en-cc","fr-cd","fr-cf","fr-cg","de-ch","fr-ci","en-ck","es-cl","fr-cm","zh-cn","es-co","es-cr","es-cu","pt-cv","nl-cw","en-cx","el-cy","cs-cz","fr-dj","da-dk","en-dm","es-do","ar-dz","es-ec","et-ee","ar-eg","ar-eh","ti-er","am-et","xx-eu","fi-fi","en-fj","en-fk","en-fm","fo-fo","fr-ga","en-gd","ka-ge","fr-gf","en-gg","en-gh","en-gi","kl-gl","en-gm","fr-gn","fr-gp","es-gq","el-gr","en-gs","es-gt","en-gu","pt-gw","en-gy","zh-hk","en-hm","es-hn","hr-hr","fr-ht","hu-hu","es-ic","id-id","en-ie","he-il","en-im","hi-in","en-io","ar-iq","fa-ir","is-is","en-je","en-jm","ar-jo","ja-jp","sw-ke","ky-kg","km-kh","en-ki","ar-km","en-kn","ko-kp","ko-kr","ar-kw","en-ky","kk-kz","lo-la","ar-lb","en-lc","de-li","si-lk","en-lr","en-ls","lt-lt","fr-lu","lv-lv","ar-ly","ar-ma","fr-mc","ro-md","sr-me","fr-mf","mg-mg","en-mh","mk-mk","bm-ml","my-mm","mn-mn","zh-mo","en-mp","fr-mq","ar-mr","en-ms","mt-mt","en-mu","dv-mv","en-mw","es-mx","ms-my","pt-mz","en-na","fr-nc","fr-ne","en-nf","en-ng","es-ni","no-no","ne-np","en-nr","en-nu","en-nz","ar-om","es-pa","es-pe","fr-pf","en-pg","tl-ph","ur-pk","fr-pm","en-pn","es-pr","ar-ps","en-pw","es-py","ar-qa","fr-re","ro-ro","sr-rs","ru-ru","rw-kg","ar-sa","en-sb","en-sc","ar-sd","sv-se","en-sg","en-sh","sl-si","no-sj","sk-sk","en-sl","it-sm","fr-sn","so-so","nl-sr","en-ss","pt-st","es-sv","nl-sx","ar-sy","en-sz","en-ta","en-tc","fr-td","fr-tf","fr-tg","th-th","tg-tj","en-tk","tet-tl","tk-tm","ar-tn","en-to","en-tt","en-tv","zh-tw","sw-tz","uk-ua","en-ug","en-um","es-uy","uz-uz","it-va","en-vc","es-ve","en-vg","en-vi","vi-vn","en-vu","fr-wf","en-ws","sq-xk","ar-ye","fr-yt","en-za","en-zm","en-zw","undefined"],Id=new nr(Yn()),{Meta:kje}=bc,{Text:Oz}=zn,{useToken:Pje}=Tr,Dje=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",showSourceInfo:o=!0,onHide:i,onUpdate:s})=>{const{t:c}=Yt(),{token:u}=Pje(),{addNotification:f,addLoadingNotification:g,closeLoadingNotification:m,toniesCloudAvailable:h}=Cr(),[y,x]=l.useState(0),[b,C]=l.useState(0),[S,w]=l.useState(0),[I,E]=l.useState(0),[_,R]=l.useState(e),[N,O]=l.useState(_.nocloud),[$,A]=l.useState(_.live),[B,j]=l.useState(_.downloadTriggerUrl),{playAudio:F}=Wm(),[D,k]=l.useState(!1),[M,L]=l.useState(!1),[H,U]=l.useState(!1),[z,W]=l.useState(_.tonieInfo.model),[q,K]=l.useState(""),[G,X]=l.useState({validateStatus:"",help:""}),[Z,J]=l.useState(_.source),[ne,Q]=l.useState(_.source),[ee,te]=l.useState(Z),[oe,le]=l.useState(ee),[fe,ue]=l.useState({validateStatus:"",help:""}),we=async()=>{try{const be=await Id.apiGetTagInfo(_.ruid,n);R(be),s(be)}catch(be){f(xt.Error,c("tonies.messages.errorFetchingUpdatedCard"),c("tonies.messages.errorFetchingUpdatedCardDetails",{model:pe,ruid:_.ruid}).replace(' "" ',"")+be,c("tonies.title"))}},pe=`${_.tonieInfo.series}`+(_.tonieInfo.episode?` - ${_.tonieInfo.episode}`:""),ve="sourceInfo"in _?`${_.sourceInfo.series}`+(_.sourceInfo.episode?` - ${_.sourceInfo.episode}`:""):"",Ce=o&&"sourceInfo"in _&&(_.sourceInfo.picture!==_.tonieInfo.picture&&pe!==ve||_.sourceInfo.picture===_.tonieInfo.picture&&pe!==ve),me=(be,Ee,ke)=>{if(be&&be.length===1){const Be=(ke==="library"?"lib:/":"content:/")+Ee+"/"+be[0].name;le(Be)}else le(Z)},ie=()=>{E(I+1),U(!0)},he=()=>{te(ne||Z),U(!1)},Se=()=>{K(z),te(Z),C(b+1),w(S+1),L(!0)},_e=async()=>{try{Z!==ee&&await Ue(),z!==q&&await qe()}catch{we();return}L(!1),we()},$e=async()=>{try{await Id.apiPostTeddyCloudContentJson(_.ruid,"live="+!$,n),A(!$),$?f(xt.Success,c("tonies.messages.liveDisabled"),c("tonies.messages.liveDisabledDetails",{model:pe,ruid:_.ruid}).replace(' "" '," "),c("tonies.title")):f(xt.Success,c("tonies.messages.liveEnabled"),c("tonies.messages.liveEnabledDetails",{model:pe,ruid:_.ruid}).replace(' "" '," "),c("tonies.title")),we()}catch(be){f(xt.Error,c("tonies.messages.couldNotChangeLiveFlag"),c("tonies.messages.couldNotChangeLiveFlagDetails",{model:pe,ruid:_.ruid}).replace(' "" ',"")+be,c("tonies.title"))}},ze=async()=>{try{await Id.apiPostTeddyCloudContentJson(_.ruid,"nocloud="+!N,n),R({..._,nocloud:!N}),O(!N),N?f(xt.Success,c("tonies.messages.cloudAccessEnabled"),c("tonies.messages.cloudAccessEnabledDetails",{model:pe,ruid:_.ruid}).replace(' "" '," "),c("tonies.title")):f(xt.Success,c("tonies.messages.cloudAccessBlocked"),c("tonies.messages.cloudAccessBlockedDetails",{model:pe,ruid:_.ruid}).replace(' "" '," "),c("tonies.title")),we()}catch(be){f(xt.Error,c("tonies.messages.couldNotChangeCloudFlag"),c("tonies.messages.couldNotChangeCloudFlagDetails",{model:pe,ruid:_.ruid}).replace(' "" ',"")+be,c("tonies.title"))}},Fe=async be=>{F(be,Ce?_.sourceInfo:_.tonieInfo,_)},je=async()=>{const be=_.downloadTriggerUrl;j("");const Ee="loading"+_.ruid;try{g(Ee,c("tonies.messages.downloading"),c("tonies.messages.downloadingDetails",{model:pe,ruid:_.ruid}).replace(' "" '," "));const et=await(await Id.apiGetTeddyCloudApiRaw(be)).blob();m(Ee),f(xt.Success,c("tonies.messages.downloadedFile"),c("tonies.messages.downloadedFileDetails",{model:pe,ruid:_.ruid}).replace(' "" '," "),c("tonies.title")),we()}catch(ke){m(Ee),f(xt.Error,c("tonies.messages.errorDuringDownload"),c("tonies.messages.errorDuringDownloadDetails",{model:pe,ruid:_.ruid}).replace(' "" ',"")+ke,c("tonies.title")),j(""+be)}},qe=async()=>{try{await Id.apiPostTeddyCloudContentJson(_.ruid,"tonie_model="+encodeURIComponent(q),n),W(q),f(xt.Success,c("tonies.messages.setTonieToModelSuccessful",{selectedModel:q||c("tonies.messages.setToEmptyValue")}),c("tonies.messages.setTonieToModelSuccessfulDetails",{ruid:_.ruid,selectedModel:q||c("tonies.messages.setToEmptyValue")}),c("tonies.title")),X({validateStatus:"",help:""})}catch(be){throw f(xt.Error,c("tonies.messages.setTonieToModelFailed"),c("tonies.messages.setTonieToModelFailedDetails",{ruid:_.ruid})+be,c("tonies.title")),X({validateStatus:"error",help:c("tonies.messages.setTonieToModelFailed")+be}),be}},Ue=async()=>{try{await Id.apiPostTeddyCloudContentJson(_.ruid,"source="+encodeURIComponent(ee),n),J(ee),f(xt.Success,c("tonies.messages.setTonieToSourceSuccessful"),c("tonies.messages.setTonieToSourceSuccessfulDetails",{ruid:_.ruid,selectedSource:ee||c("tonies.messages.setToEmptyValue")}),c("tonies.title")),ue({validateStatus:"",help:""})}catch(be){throw f(xt.Error,c("tonies.messages.setTonieToSourceFailed"),c("tonies.messages.setTonieToSourceFailedDetails",{ruid:_.ruid})+be,c("tonies.title")),ue({validateStatus:"error",help:c("tonies.messages.setTonieToSourceFailed")+be}),be}N||ze(),(ee.startsWith("http")&&!$||!ee.startsWith("http")&&$)&&$e()},Ne=be=>{K(be.target.value)},Ye=be=>{te(be.target.value),le(be.target.value)},Re=t.filter(([be])=>be===_.ruid).map(([,be,Ee])=>({ruidTime:be,boxName:Ee})),Ae=be=>{K(be)},Le=be=>{te(be),Q(be)},Te=d.jsxs(d.Fragment,{children:[d.jsxs("h3",{style:{lineHeight:0},children:[c("tonies.editModal.title"),_.tonieInfo.model?" ("+_.tonieInfo.model+")":""]}),_.tonieInfo.series?d.jsx(Oz,{type:"secondary",children:pe}):" "]}),Ve=d.jsx(d.Fragment,{children:d.jsxs(mt,{type:"primary",onClick:_e,disabled:Z===ee&&z===q,children:[d.jsx(Dq,{},"saveClick")," ",c("tonies.editModal.save")]})}),Je=d.jsxs(Jn,{open:M,onCancel:()=>{L(!1),le("")},title:Te,footer:Ve,width:700,children:[d.jsx(hr,{orientation:"left",orientationMargin:"0",children:c("tonies.editModal.source")}),d.jsx("div",{children:d.jsxs(wn.Item,{validateStatus:fe.validateStatus,help:fe.help,children:[d.jsx(Sn,{value:ee,width:"auto",onChange:Ye,addonBefore:[d.jsx(Ha,{onClick:()=>{te(""),ue({validateStatus:"",help:""})}},"close-source"),d.jsx(hr,{type:"vertical",style:{height:16}},"divider-source"),d.jsx(g0,{onClick:()=>{te(Z),le(Z),ue({validateStatus:"",help:""})},style:{color:Z===ee?u.colorTextDisabled:u.colorText,cursor:Z===ee?"default":"pointer"},className:Z===ee?"disabled":"enabled"},"rollback-source")],addonAfter:d.jsx(LN,{onClick:()=>ie()})},"source"),d.jsx(Nje,{placeholder:c("tonies.editModal.placeholderSearchForARadioStream"),onChange:Le},b)]})}),d.jsx(hr,{orientation:"left",orientationMargin:"0",children:c("tonies.editModal.model")}),d.jsx("div",{children:d.jsxs(wn.Item,{validateStatus:G.validateStatus,help:G.help,children:[d.jsx(Sn,{value:q,width:"auto",onChange:Ne,addonBefore:[d.jsx(Ha,{onClick:()=>{K(""),X({validateStatus:"",help:""})}},"close-model"),d.jsx(hr,{type:"vertical",style:{height:16}},"divider-model"),d.jsx(g0,{onClick:()=>{K(z),X({validateStatus:"",help:""})},style:{color:z===q?u.colorTextDisabled:u.colorText,cursor:z===q?"default":"pointer"},className:z===q?"disabled":"enabled"},"rollback-model")]},"model"),d.jsx(_je,{placeholder:c("tonies.editModal.placeholderSearchForAModel"),onChange:Ae},S)]})})]}),Qe=d.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[d.jsx(mt,{onClick:he,children:c("tonies.selectFileModal.cancel")}),d.jsx(mt,{type:"primary",onClick:()=>{te(oe),Q(oe),U(!1)},children:c("tonies.selectFileModal.ok")})]}),ut=d.jsx(Jn,{className:"sticky-footer",title:c("tonies.selectFileModal.selectFile"),open:H,onCancel:he,width:"auto",footer:Qe,children:d.jsx(EA,{special:"library",maxSelectedRows:1,trackUrl:!1,filetypeFilter:[".taf",".tap"],onFileSelectChange:me},I)}),xe=r?[d.jsx(Yo,{onClick:()=>{x(y+1),k(!0)}},"info"),_.valid||Z.startsWith("http")?d.jsx($o,{onClick:()=>Fe(_.valid?""+_.audioUrl:Z)},"playpause"):d.jsx(nn,{placement:"top",title:c("tonies.noPlayableContentHint"),children:d.jsx($o,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause")}),d.jsx(Gg,{className:N?"no-cloud":"cloud",style:{cursor:"default",color:N?u.colorError:u.colorTextDisabled}},"nocloud"),d.jsx(hO,{className:$?"live":"not-live",style:{cursor:"default",color:$?u.colorError:u.colorTextDisabled}},"live")]:[d.jsx(Yo,{onClick:()=>{x(y+1),k(!0)}},"info"),d.jsx(ol,{onClick:Se},"edit"),_.valid||Z.startsWith("http")?d.jsx($o,{onClick:()=>Fe(_.valid?""+_.audioUrl:Z)},"playpause"):B&&B.length>0?h?d.jsx(bu,{onClick:je}):d.jsx(nn,{title:c("tonies.connectionToBoxineNotAvailable"),children:d.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[d.jsx(B2e,{style:{position:"absolute",top:4,left:0,color:u.colorError}}),d.jsx(bu,{})]})}):d.jsx(nn,{placement:"top",title:c("tonies.noPlayableContentHint"),children:d.jsx($o,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause")}),d.jsx(Gg,{className:N?"no-cloud":"cloud",style:{color:N?u.colorError:u.colorTextDescription},onClick:ze},"nocloud"),d.jsx(hO,{className:$?"live":"not-live",style:{color:$?u.colorError:u.colorTextDescription},onClick:$e},"live")];return d.jsxs(d.Fragment,{children:[d.jsx(bc,{hoverable:!1,size:"small",style:Re&&Re.length>0?{background:u.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:u.colorBgContainerDisabled,paddingTop:"2px"},title:d.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[d.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:_.tonieInfo.series?_.tonieInfo.series:c("tonies.unsetTonie")}),_.tonieInfo.language&&a!==_.tonieInfo.language?d.jsx(nn,{placement:"top",zIndex:2,title:c("languageUtil."+_.tonieInfo.language,{defaultValue:c("languageUtil.unknownLanguageCode")+_.tonieInfo.language}),children:d.jsx(Oz,{style:{height:20,width:"auto"},children:d.jsx(DY,{name:_.tonieInfo.language.toUpperCase().split("-")[1],height:20})})}):""]}),cover:d.jsxs("div",{style:{position:"relative"},children:[d.jsx("img",{alt:`${_.tonieInfo.series} - ${_.tonieInfo.episode}`,src:_.tonieInfo.picture?_.tonieInfo.picture:"/img_unknown.png",style:_.tonieInfo.picture.endsWith("img_unknown.png")?{padding:8,paddingTop:10,width:"100%"}:{padding:8,width:"100%"}}),Ce?d.jsx(nn,{title:`${ve}`?c("tonies.alternativeSource",{originalTonie:'"'+pe+'"',assignedContent:'"'+ve+'"'}).replace(' "" '," "):c("tonies.alternativeSourceUnknown",{originalTonie:'"'+pe+'"'}).replace(' "" '," "),placement:"bottom",children:d.jsx("img",{src:_.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:xe,children:d.jsx(kje,{title:`${_.tonieInfo.episode}`,description:_.uid})},_.ruid),d.jsx(Xy,{open:D,onClose:()=>k(!1),tonieCardOrTAFRecord:_,showSourceInfo:o,readOnly:r,lastRUIDs:t,onHide:i,overlay:n},y),ut,Je]})},Bv=new nr(Yn()),fT="toniesListState",{Option:Mje}=ra,IA=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:o="",noLastRuid:i=!1,onToniesCardUpdate:s})=>{const{t:c}=Yt(),u=ei(),[f,g]=l.useState(e),[m,h]=l.useState(""),[y,x]=l.useState(""),[b,C]=l.useState(""),[S,w]=l.useState([]),[I,E]=l.useState(!1),[_,R]=l.useState(!1),[N,O]=l.useState(!1),[$,A]=l.useState(!1),[B,j]=l.useState(!1),[F,D]=l.useState(!1),[k,M]=l.useState(!1),[L,H]=l.useState(!1),[U,z]=l.useState(!1),[W,q]=l.useState(!1),[K,G]=l.useState(!1),[X,Z]=l.useState(!0),[J,ne]=l.useState(!0),[Q,ee]=l.useState([]),[te,oe]=l.useState(()=>{const xe=localStorage.getItem(fT);if(xe){const{pageSize:be}=JSON.parse(xe);return be}return 24}),[le,fe]=l.useState(1),[ue,we]=l.useState(!0),[pe,ve]=l.useState(!1),[Ce,me]=l.useState(!0),[ie,he]=l.useState([]),[Se,_e]=l.useState(0),[$e,ze]=l.useState(!1);l.useEffect(()=>{const xe=localStorage.getItem(fT);if(xe)try{const{pageSize:be,showAll:Ee}=JSON.parse(xe);Ee?Re():(oe(be),Le(1,be))}catch(be){console.error("Error parsing stored state:",be)}else console.log("No stored state found.")},[]),l.useEffect(()=>{i||(async()=>{const Ee=async Ke=>await Bv.apiGetTonieboxLastRUID(Ke),ke=async Ke=>await Bv.apiGetTonieboxLastRUIDTime(Ke),et=await Bv.apiGetTonieboxesIndex(),Be=await Promise.all(et.map(async Ke=>{const Ge=await Ee(Ke.ID),nt=await ke(Ke.ID);return[Ge,nt,Ke.boxName]}));ee(Be)})(),(async()=>{const Ee=await Bv.apiGetTeddyCloudSettingRaw("frontend.split_model_content");ze(await Ee.text()==="true")})()},[]);const Fe=l.useMemo(()=>e.map(xe=>xe.ruid).join(","),[e]);l.useEffect(()=>{const be=new URLSearchParams(u.search).get("tonieRUID");if(be){h(be),Z(!1);const Ee=e.filter(ke=>ke.ruid.toLowerCase()===be);g(Ee)}else g(e);_e(Ee=>Ee+1),ne(!1)},[u.search,Fe]),l.useEffect(()=>{fe(1),_e(xe=>xe+1)},[Fe]),l.useEffect(()=>{const xe=JSON.stringify({pageSize:te,paginationEnabled:ue,showAll:pe});localStorage.setItem(fT,xe)},[Ce,te,ue,pe]);const je=()=>{me(!Ce)},qe=xe=>{s&&s(xe),g(be=>be.map(Ee=>Ee.ruid===xe.ruid?xe:Ee))},Ue=()=>{let xe=e.filter(be=>{var Ee,ke;return(((Ee=be.sourceInfo)==null?void 0:Ee.series)&&be.sourceInfo.series.toLowerCase().includes(y.toLowerCase())||be.tonieInfo.series.toLowerCase().includes(y.toLowerCase()))&&(((ke=be.sourceInfo)==null?void 0:ke.episode)&&be.sourceInfo.episode.toLowerCase().includes(b.toLowerCase())||be.tonieInfo.episode.toLowerCase().includes(b.toLowerCase()))&&(S.length===0||S.includes(be.tonieInfo.language!==void 0&&dT.includes(be.tonieInfo.language)?be.tonieInfo.language:"undefined")||S.includes(be.sourceInfo&&be.sourceInfo.language!==void 0&&dT.includes(be.sourceInfo.language)?be.sourceInfo.language:"undefined"))&&(!_||be.valid)&&(!N||!be.valid)&&(!$||be.exists)&&(!B||!be.exists)&&(!F||be.live)&&(!k||!be.live)&&(!L||be.nocloud)&&(!U||!be.nocloud)&&(!W||be.hasCloudAuth)&&(!K||!be.hasCloudAuth)});m&&(xe=xe.filter(be=>{var Ee,ke,et;return be.tonieInfo.series.toLowerCase().includes(m.toLowerCase())||((Ee=be.sourceInfo)==null?void 0:Ee.series)&&be.sourceInfo.series.toLowerCase().includes(m.toLowerCase())||be.tonieInfo.episode.toLowerCase().includes(m.toLowerCase())||((ke=be.sourceInfo)==null?void 0:ke.episode)&&be.sourceInfo.episode.toLowerCase().includes(m.toLowerCase())||be.tonieInfo.model.toLowerCase().includes(m.toLowerCase())||((et=be.sourceInfo)==null?void 0:et.model)&&be.sourceInfo.model.toLowerCase().includes(m.toLowerCase())||be.ruid.toLowerCase().includes(m.toLowerCase())||be.uid.toLowerCase().includes(m.toLowerCase())||be.source.toLowerCase().includes(m.toLowerCase())})),I&&(xe=xe.filter(be=>Q.some(([Ee])=>Ee===be.ruid))),ie&&(xe=xe.filter(be=>!ie.includes(be.ruid))),fe(1),g(xe),_e(be=>be+1)},Ne=xe=>{g(f.filter(be=>be.ruid!==xe)),he(be=>[...be,xe]),_e(be=>be+1)},Ye=()=>{h(""),x(""),C(""),R(!1),O(!1),A(!1),j(!1),D(!1),M(!1),H(!1),z(!1),q(!1),G(!1),E(!1),w([]);const xe=window.location.pathname;window.history.pushState({},"",xe),u.search="",ie&&(e=e.filter(be=>!ie.includes(be.ruid))),g(e),_e(be=>be+1)},Re=()=>{_e(xe=>xe+1),ve(!0),we(!1),je()},Ae=()=>{we(!0),ve(!1),Le(1,te)},Le=(xe,be)=>{oe(be),_e(Ee=>Ee+1),fe(xe),je(),window.scrollTo({top:0,behavior:"smooth"})},Te=()=>{if(pe)return f!==null?f:e;{const xe=(le-1)*te,be=xe+te;return f!==null?f.slice(xe,be):e.slice(xe,be)}},Ve=d.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:ue?d.jsx(Eje,{currentPage:le,onChange:Le,total:f!==null?f.length:e.length,pageSize:te,additionalButtonOnClick:Re}):d.jsx(mt,{onClick:Ae,children:c("tonies.tonies.showPagination")})}),Je=d.jsxs(d.Fragment,{children:[d.jsx("label",{htmlFor:"search-field",className:"filter-label",children:c("tonies.tonies.filterBar.searchLabel")}),d.jsx(Sn.Search,{id:"search-field",placeholder:c("tonies.tonies.filterBar.searchPlaceholder"),value:m,onChange:xe=>h(xe.target.value),onSearch:Ue,enterButton:!0,style:{margin:"8px 0 8px 0"}}),d.jsxs("div",{className:"filter-container",children:[d.jsx("label",{className:"filter-label",children:c("tonies.tonies.filterBar.filterLabel")}),d.jsx(Sn,{style:{margin:"8px 0 8px 0"},placeholder:c("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:y,onChange:xe=>x(xe.target.value)}),d.jsx(Sn,{style:{margin:"8px 0 8px 0"},placeholder:c("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:b,onChange:xe=>C(xe.target.value)}),d.jsx(ra,{mode:"multiple",placeholder:c("tonies.tonies.filterBar.languagePlaceholder"),value:S,onChange:xe=>w(xe),style:{width:"100%",margin:"8px 0"},children:dT.map(xe=>d.jsx(Mje,{value:xe,children:c(xe?"languageUtil."+xe:"languageUtil.other")},xe))}),d.jsxs("div",{children:[d.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:_,onChange:xe=>R(xe)}),c("tonies.tonies.filterBar.valid")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:N,onChange:xe=>O(xe)}),c("tonies.tonies.filterBar.invalid")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:$,onChange:xe=>A(xe)})," ",c("tonies.tonies.filterBar.exists")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:B,onChange:xe=>j(xe)}),c("tonies.tonies.filterBar.notExists")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:F,onChange:xe=>D(xe)})," ",c("tonies.tonies.filterBar.live")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:k,onChange:xe=>M(xe)})," ",c("tonies.tonies.filterBar.unsetLive")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:U,onChange:xe=>z(xe)}),c("tonies.tonies.filterBar.unsetNoCloud")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:L,onChange:xe=>H(xe)}),c("tonies.tonies.filterBar.noCloud")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:W,onChange:xe=>q(xe)}),c("tonies.tonies.filterBar.hasCloudAuth")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:K,onChange:xe=>G(xe)}),c("tonies.tonies.filterBar.unsetHasCloudAuth")]}),d.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[d.jsx(To,{checked:I,onChange:xe=>E(xe)}),c("tonies.tonies.filterBar.lastPlayed")]})]}),d.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[d.jsx(mt,{onClick:Ye,style:{marginLeft:16},children:c("tonies.tonies.filterBar.resetFilters")}),d.jsx(mt,{onClick:Ue,style:{marginLeft:16},children:c("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),Qe=[{key:"search-filter",label:c(X?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:Je}],ut=d.jsx(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE,description:d.jsxs("div",{children:[d.jsx("p",{children:c("tonies.noData")}),d.jsx("p",{children:c("tonies.noDataText")})]})});return J?d.jsx(ic,{}):d.jsxs("div",{className:"tonies-list-container",children:[t?d.jsx(Ui,{items:Qe,defaultActiveKey:X?[]:["search-filter"],onChange:()=>Z(!X),bordered:!1}):"",d.jsx(Zn,{header:n?Ve:"",footer:n?Ve:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:Te(),renderItem:xe=>d.jsx(Zn.Item,{id:xe.ruid,children:d.jsx(Dje,{tonieCard:xe,lastRUIDs:Q,overlay:r,readOnly:a,defaultLanguage:o,showSourceInfo:$e,onHide:Ne,onUpdate:qe})}),locale:{emptyText:ut}},Se)]})};var Si=(e=>(e.unknown="UNKNOWN",e.cc3200="CC3200",e.cc3235="CC3235",e.esp32="ESP32",e))(Si||{}),Lje=function(t){return jje(t)&&!Fje(t)};function jje(e){return!!e&&typeof e=="object"}function Fje(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Hje(e)}var Bje=typeof Symbol=="function"&&Symbol.for,zje=Bje?Symbol.for("react.element"):60103;function Hje(e){return e.$$typeof===zje}function Uje(e){return Array.isArray(e)?[]:{}}function C0(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Zg(Uje(e),e,t):e}function Vje(e,t,n){return e.concat(t).map(function(r){return C0(r,n)})}function Wje(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=C0(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=C0(t[a],n):r[a]=Zg(e[a],t[a],n)}),r}function Zg(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Vje,n.isMergeableObject=n.isMergeableObject||Lje;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):Wje(e,t,n):C0(t,n)}Zg.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Zg(r,a,n)},{})};var BO=Zg,MY=typeof global=="object"&&global&&global.Object===Object&&global,Gje=typeof self=="object"&&self&&self.Object===Object&&self,$s=MY||Gje||Function("return this")(),sc=$s.Symbol,LY=Object.prototype,qje=LY.hasOwnProperty,Kje=LY.toString,Gp=sc?sc.toStringTag:void 0;function Yje(e){var t=qje.call(e,Gp),n=e[Gp];try{e[Gp]=void 0;var r=!0}catch{}var a=Kje.call(e);return r&&(t?e[Gp]=n:delete e[Gp]),a}var Xje=Object.prototype,Zje=Xje.toString;function Jje(e){return Zje.call(e)}var Qje="[object Null]",eFe="[object Undefined]",$z=sc?sc.toStringTag:void 0;function ku(e){return e==null?e===void 0?eFe:Qje:$z&&$z in Object(e)?Yje(e):Jje(e)}function jY(e,t){return function(n){return e(t(n))}}var _A=jY(Object.getPrototypeOf,Object);function Pu(e){return e!=null&&typeof e=="object"}var tFe="[object Object]",nFe=Function.prototype,rFe=Object.prototype,FY=nFe.toString,aFe=rFe.hasOwnProperty,oFe=FY.call(Object);function Nz(e){if(!Pu(e)||ku(e)!=tFe)return!1;var t=_A(e);if(t===null)return!0;var n=aFe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&FY.call(n)==oFe}function iFe(){this.__data__=[],this.size=0}function BY(e,t){return e===t||e!==e&&t!==t}function tx(e,t){for(var n=e.length;n--;)if(BY(e[n][0],t))return n;return-1}var sFe=Array.prototype,lFe=sFe.splice;function cFe(e){var t=this.__data__,n=tx(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():lFe.call(t,n,1),--this.size,!0}function uFe(e){var t=this.__data__,n=tx(t,e);return n<0?void 0:t[n][1]}function dFe(e){return tx(this.__data__,e)>-1}function fFe(e,t){var n=this.__data__,r=tx(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ul(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=f6e}var p6e="[object Arguments]",g6e="[object Array]",m6e="[object Boolean]",h6e="[object Date]",v6e="[object Error]",b6e="[object Function]",y6e="[object Map]",x6e="[object Number]",S6e="[object Object]",C6e="[object RegExp]",w6e="[object Set]",E6e="[object String]",I6e="[object WeakMap]",_6e="[object ArrayBuffer]",T6e="[object DataView]",R6e="[object Float32Array]",O6e="[object Float64Array]",$6e="[object Int8Array]",N6e="[object Int16Array]",A6e="[object Int32Array]",k6e="[object Uint8Array]",P6e="[object Uint8ClampedArray]",D6e="[object Uint16Array]",M6e="[object Uint32Array]",Yr={};Yr[R6e]=Yr[O6e]=Yr[$6e]=Yr[N6e]=Yr[A6e]=Yr[k6e]=Yr[P6e]=Yr[D6e]=Yr[M6e]=!0;Yr[p6e]=Yr[g6e]=Yr[_6e]=Yr[m6e]=Yr[T6e]=Yr[h6e]=Yr[v6e]=Yr[b6e]=Yr[y6e]=Yr[x6e]=Yr[S6e]=Yr[C6e]=Yr[w6e]=Yr[E6e]=Yr[I6e]=!1;function L6e(e){return Pu(e)&&qY(e.length)&&!!Yr[ku(e)]}function TA(e){return function(t){return e(t)}}var KY=typeof Zo=="object"&&Zo&&!Zo.nodeType&&Zo,yg=KY&&typeof Jo=="object"&&Jo&&!Jo.nodeType&&Jo,j6e=yg&&yg.exports===KY,gT=j6e&&MY.process,xf=function(){try{var e=yg&&yg.require&&yg.require("util").types;return e||gT&&gT.binding&&gT.binding("util")}catch{}}(),Lz=xf&&xf.isTypedArray,F6e=Lz?TA(Lz):L6e,B6e=Object.prototype,z6e=B6e.hasOwnProperty;function YY(e,t){var n=Xm(e),r=!n&&o6e(e),a=!n&&!r&&GY(e),o=!n&&!r&&!a&&F6e(e),i=n||r||a||o,s=i?t6e(e.length,String):[],c=s.length;for(var u in e)(t||z6e.call(e,u))&&!(i&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||d6e(u,c)))&&s.push(u);return s}var H6e=Object.prototype;function RA(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||H6e;return e===n}var U6e=jY(Object.keys,Object),V6e=Object.prototype,W6e=V6e.hasOwnProperty;function G6e(e){if(!RA(e))return U6e(e);var t=[];for(var n in Object(e))W6e.call(e,n)&&n!="constructor"&&t.push(n);return t}function XY(e){return e!=null&&qY(e.length)&&!zY(e)}function OA(e){return XY(e)?YY(e):G6e(e)}function q6e(e,t){return e&&rx(t,OA(t),e)}function K6e(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Y6e=Object.prototype,X6e=Y6e.hasOwnProperty;function Z6e(e){if(!Ym(e))return K6e(e);var t=RA(e),n=[];for(var r in e)r=="constructor"&&(t||!X6e.call(e,r))||n.push(r);return n}function $A(e){return XY(e)?YY(e,!0):Z6e(e)}function J6e(e,t){return e&&rx(t,$A(t),e)}var ZY=typeof Zo=="object"&&Zo&&!Zo.nodeType&&Zo,jz=ZY&&typeof Jo=="object"&&Jo&&!Jo.nodeType&&Jo,Q6e=jz&&jz.exports===ZY,Fz=Q6e?$s.Buffer:void 0,Bz=Fz?Fz.allocUnsafe:void 0;function e8e(e,t){if(t)return e.slice();var n=e.length,r=Bz?Bz(n):new e.constructor(n);return e.copy(r),r}function JY(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[a]=e[a]);return n}var ax=l.createContext(void 0);ax.displayName="FormikContext";var BBe=ax.Provider;ax.Consumer;function uX(){var e=l.useContext(ax);return e}var vi=function(t){return typeof t=="function"},Zm=function(t){return t!==null&&typeof t=="object"},zBe=function(t){return String(Math.floor(Number(t)))===t},bT=function(t){return Object.prototype.toString.call(t)==="[object String]"},HBe=function(t){return l.Children.count(t)===0},yT=function(t){return Zm(t)&&vi(t.then)};function Vo(e,t,n,r){r===void 0&&(r=0);for(var a=lX(t);e&&r=0?[]:{}}}return(o===0?e:a)[i[o]]===n?e:(n===void 0?delete a[i[o]]:a[i[o]]=n,o===0&&n===void 0&&delete r[i[o]],r)}function dX(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,o=Object.keys(e);a0?he.map(function(_e){return $(_e,Vo(ie,_e))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Se).then(function(_e){return _e.reduce(function($e,ze,Fe){return ze==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||ze&&($e=su($e,he[Fe],ze)),$e},{})})},[$]),B=l.useCallback(function(ie){return Promise.all([A(ie),m.validationSchema?O(ie):{},m.validate?N(ie):{}]).then(function(he){var Se=he[0],_e=he[1],$e=he[2],ze=BO.all([Se,_e,$e],{arrayMerge:qBe});return ze})},[m.validate,m.validationSchema,A,N,O]),j=mi(function(ie){return ie===void 0&&(ie=_.values),R({type:"SET_ISVALIDATING",payload:!0}),B(ie).then(function(he){return C.current&&(R({type:"SET_ISVALIDATING",payload:!1}),R({type:"SET_ERRORS",payload:he})),he})});l.useEffect(function(){i&&C.current===!0&&Vc(h.current,m.initialValues)&&j(h.current)},[i,j]);var F=l.useCallback(function(ie){var he=ie&&ie.values?ie.values:h.current,Se=ie&&ie.errors?ie.errors:y.current?y.current:m.initialErrors||{},_e=ie&&ie.touched?ie.touched:x.current?x.current:m.initialTouched||{},$e=ie&&ie.status?ie.status:b.current?b.current:m.initialStatus;h.current=he,y.current=Se,x.current=_e,b.current=$e;var ze=function(){R({type:"RESET_FORM",payload:{isSubmitting:!!ie&&!!ie.isSubmitting,errors:Se,touched:_e,status:$e,values:he,isValidating:!!ie&&!!ie.isValidating,submitCount:ie&&ie.submitCount&&typeof ie.submitCount=="number"?ie.submitCount:0}})};if(m.onReset){var Fe=m.onReset(_.values,oe);yT(Fe)?Fe.then(ze):ze()}else ze()},[m.initialErrors,m.initialStatus,m.initialTouched,m.onReset]);l.useEffect(function(){C.current===!0&&!Vc(h.current,m.initialValues)&&u&&(h.current=m.initialValues,F(),i&&j(h.current))},[u,m.initialValues,F,i,j]),l.useEffect(function(){u&&C.current===!0&&!Vc(y.current,m.initialErrors)&&(y.current=m.initialErrors||Hc,R({type:"SET_ERRORS",payload:m.initialErrors||Hc}))},[u,m.initialErrors]),l.useEffect(function(){u&&C.current===!0&&!Vc(x.current,m.initialTouched)&&(x.current=m.initialTouched||Hv,R({type:"SET_TOUCHED",payload:m.initialTouched||Hv}))},[u,m.initialTouched]),l.useEffect(function(){u&&C.current===!0&&!Vc(b.current,m.initialStatus)&&(b.current=m.initialStatus,R({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]);var D=mi(function(ie){if(S.current[ie]&&vi(S.current[ie].validate)){var he=Vo(_.values,ie),Se=S.current[ie].validate(he);return yT(Se)?(R({type:"SET_ISVALIDATING",payload:!0}),Se.then(function(_e){return _e}).then(function(_e){R({type:"SET_FIELD_ERROR",payload:{field:ie,value:_e}}),R({type:"SET_ISVALIDATING",payload:!1})})):(R({type:"SET_FIELD_ERROR",payload:{field:ie,value:Se}}),Promise.resolve(Se))}else if(m.validationSchema)return R({type:"SET_ISVALIDATING",payload:!0}),O(_.values,ie).then(function(_e){return _e}).then(function(_e){R({type:"SET_FIELD_ERROR",payload:{field:ie,value:Vo(_e,ie)}}),R({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),k=l.useCallback(function(ie,he){var Se=he.validate;S.current[ie]={validate:Se}},[]),M=l.useCallback(function(ie){delete S.current[ie]},[]),L=mi(function(ie,he){R({type:"SET_TOUCHED",payload:ie});var Se=he===void 0?a:he;return Se?j(_.values):Promise.resolve()}),H=l.useCallback(function(ie){R({type:"SET_ERRORS",payload:ie})},[]),U=mi(function(ie,he){var Se=vi(ie)?ie(_.values):ie;R({type:"SET_VALUES",payload:Se});var _e=he===void 0?n:he;return _e?j(Se):Promise.resolve()}),z=l.useCallback(function(ie,he){R({type:"SET_FIELD_ERROR",payload:{field:ie,value:he}})},[]),W=mi(function(ie,he,Se){R({type:"SET_FIELD_VALUE",payload:{field:ie,value:he}});var _e=Se===void 0?n:Se;return _e?j(su(_.values,ie,he)):Promise.resolve()}),q=l.useCallback(function(ie,he){var Se=he,_e=ie,$e;if(!bT(ie)){ie.persist&&ie.persist();var ze=ie.target?ie.target:ie.currentTarget,Fe=ze.type,je=ze.name,qe=ze.id,Ue=ze.value,Ne=ze.checked;ze.outerHTML;var Ye=ze.options,Re=ze.multiple;Se=he||je||qe,_e=/number|range/.test(Fe)?($e=parseFloat(Ue),isNaN($e)?"":$e):/checkbox/.test(Fe)?YBe(Vo(_.values,Se),Ne,Ue):Ye&&Re?KBe(Ye):Ue}Se&&W(Se,_e)},[W,_.values]),K=mi(function(ie){if(bT(ie))return function(he){return q(he,ie)};q(ie)}),G=mi(function(ie,he,Se){he===void 0&&(he=!0),R({type:"SET_FIELD_TOUCHED",payload:{field:ie,value:he}});var _e=Se===void 0?a:Se;return _e?j(_.values):Promise.resolve()}),X=l.useCallback(function(ie,he){ie.persist&&ie.persist();var Se=ie.target,_e=Se.name,$e=Se.id;Se.outerHTML;var ze=he||_e||$e;G(ze,!0)},[G]),Z=mi(function(ie){if(bT(ie))return function(he){return X(he,ie)};X(ie)}),J=l.useCallback(function(ie){vi(ie)?R({type:"SET_FORMIK_STATE",payload:ie}):R({type:"SET_FORMIK_STATE",payload:function(){return ie}})},[]),ne=l.useCallback(function(ie){R({type:"SET_STATUS",payload:ie})},[]),Q=l.useCallback(function(ie){R({type:"SET_ISSUBMITTING",payload:ie})},[]),ee=mi(function(){return R({type:"SUBMIT_ATTEMPT"}),j().then(function(ie){var he=ie instanceof Error,Se=!he&&Object.keys(ie).length===0;if(Se){var _e;try{if(_e=le(),_e===void 0)return}catch($e){throw $e}return Promise.resolve(_e).then(function($e){return C.current&&R({type:"SUBMIT_SUCCESS"}),$e}).catch(function($e){if(C.current)throw R({type:"SUBMIT_FAILURE"}),$e})}else if(C.current&&(R({type:"SUBMIT_FAILURE"}),he))throw ie})}),te=mi(function(ie){ie&&ie.preventDefault&&vi(ie.preventDefault)&&ie.preventDefault(),ie&&ie.stopPropagation&&vi(ie.stopPropagation)&&ie.stopPropagation(),ee().catch(function(he){console.warn("Warning: An unhandled error was caught from submitForm()",he)})}),oe={resetForm:F,validateForm:j,validateField:D,setErrors:H,setFieldError:z,setFieldTouched:G,setFieldValue:W,setStatus:ne,setSubmitting:Q,setTouched:L,setValues:U,setFormikState:J,submitForm:ee},le=mi(function(){return f(_.values,oe)}),fe=mi(function(ie){ie&&ie.preventDefault&&vi(ie.preventDefault)&&ie.preventDefault(),ie&&ie.stopPropagation&&vi(ie.stopPropagation)&&ie.stopPropagation(),F()}),ue=l.useCallback(function(ie){return{value:Vo(_.values,ie),error:Vo(_.errors,ie),touched:!!Vo(_.touched,ie),initialValue:Vo(h.current,ie),initialTouched:!!Vo(x.current,ie),initialError:Vo(y.current,ie)}},[_.errors,_.touched,_.values]),we=l.useCallback(function(ie){return{setValue:function(Se,_e){return W(ie,Se,_e)},setTouched:function(Se,_e){return G(ie,Se,_e)},setError:function(Se){return z(ie,Se)}}},[W,G,z]),pe=l.useCallback(function(ie){var he=Zm(ie),Se=he?ie.name:ie,_e=Vo(_.values,Se),$e={name:Se,value:_e,onChange:K,onBlur:Z};if(he){var ze=ie.type,Fe=ie.value,je=ie.as,qe=ie.multiple;ze==="checkbox"?Fe===void 0?$e.checked=!!_e:($e.checked=!!(Array.isArray(_e)&&~_e.indexOf(Fe)),$e.value=Fe):ze==="radio"?($e.checked=_e===Fe,$e.value=Fe):je==="select"&&qe&&($e.value=$e.value||[],$e.multiple=!0)}return $e},[Z,K,_.values]),ve=l.useMemo(function(){return!Vc(h.current,_.values)},[h.current,_.values]),Ce=l.useMemo(function(){return typeof s<"u"?ve?_.errors&&Object.keys(_.errors).length===0:s!==!1&&vi(s)?s(m):s:_.errors&&Object.keys(_.errors).length===0},[s,ve,_.errors,m]),me=Pa({},_,{initialValues:h.current,initialErrors:y.current,initialTouched:x.current,initialStatus:b.current,handleBlur:Z,handleChange:K,handleReset:fe,handleSubmit:te,resetForm:F,setErrors:H,setFormikState:J,setFieldTouched:G,setFieldValue:W,setFieldError:z,setStatus:ne,setSubmitting:Q,setTouched:L,setValues:U,submitForm:ee,validateForm:j,validateField:D,isValid:Ce,dirty:ve,unregisterField:M,registerField:k,getFieldProps:pe,getFieldMeta:ue,getFieldHelpers:we,validateOnBlur:a,validateOnChange:n,validateOnMount:i});return me}function fX(e){var t=VBe(e),n=e.component,r=e.children,a=e.render,o=e.innerRef;return l.useImperativeHandle(o,function(){return t}),l.createElement(BBe,{value:t},n?l.createElement(n,t):a?a(t):r?vi(r)?r(t):HBe(r)?null:l.Children.only(r):null)}function WBe(e){var t={};if(e.inner){if(e.inner.length===0)return su(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var o;if(n){if(r>=a.length)break;o=a[r++]}else{if(r=a.next(),r.done)break;o=r.value}var i=o;Vo(t,i.path)||(t=su(t,i.path,i.message))}}return t}function GBe(e,t,n,r){n===void 0&&(n=!1);var a=WO(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function WO(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||Nz(a)?WO(a):a!==""?a:void 0}):Nz(e[r])?t[r]=WO(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function qBe(e,t,n){var r=e.slice();return t.forEach(function(o,i){if(typeof r[i]>"u"){var s=n.clone!==!1,c=s&&n.isMergeableObject(o);r[i]=c?BO(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[i]=BO(e[i],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function KBe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function YBe(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),a=o>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,o).concat(r.slice(o+1)):r}var XBe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?l.useLayoutEffect:l.useEffect;function mi(e){var t=l.useRef(e);return XBe(function(){t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{r.initialValue=r.value,r.initialOverlayed=r.overlayed!==void 0?r.overlayed:void 0,r.overlayId=n}),this.settings=t}addListener(t){this.listeners.find(n=>n===t)||this.listeners.push(t)}removeListener(t){this.listeners.filter(n=>n!==t)}addIdListener(t,n){this.idListeners.find(r=>r.listener===t)||this.listeners.push(t)}removeIdListener(t){this.idListeners.filter(n=>n.listener!==t)}callAllListeners(){this.listeners.forEach(t=>t())}async saveAll(){const t=async()=>{await xT.apiTriggerWriteConfigGet()},n=this.settings.map(async r=>{if(r.initialValue!==r.value||r.initialOverlayed!==r.overlayed)return this.saveSingleSetting(r)});try{await Promise.all(n),await t(),this.settings.forEach(r=>{r.initialValue=r.value,r.initialOverlayed=r.overlayed!==void 0?r.overlayed:void 0}),this.unsavedChanges=!1,this.callAllListeners()}catch(r){this.addNotification(xt.Error,ft("settings.errorWhileSavingConfig"),ft("settings.errorWhileSavingConfigDetails")+r,ft("settings.navigationTitle"))}}saveSingleSetting(t){try{const n=t.overlayId!==void 0&&t.overlayed===!1;return xT.apiPostTeddyCloudSetting(t.iD,t.value,t.overlayId,n).then(()=>{this.addNotification(xt.Success,ft("settings.saved"),n?ft("settings.resetToTCDetails",{setting:t.label,overlay:t.overlayId!==void 0?` [${t.overlayId}]`:""}):ft("settings.saveDetails",{setting:t.label,overlay:t.overlayId!==void 0?` [${t.overlayId}]`:""}),t.overlayId===void 0?ft("settings.navigationTitle"):ft("tonieboxes.navigationTitle"))}).then(()=>{t.iD==="cloud.enabled"&&this.setFetchCloudStatus&&this.setFetchCloudStatus(r=>!r)}).catch(r=>{this.addNotification(xt.Error,ft("settings.errorWhileSavingConfig")+t.label,ft("settings.errorWhileSavingConfigDetails")+r,t.overlayId===void 0?ft("settings.navigationTitle"):ft("tonieboxes.navigationTitle"))})}catch(n){return this.addNotification(xt.Error,ft("settings.errorWhileSavingConfig")+t.label,ft("settings.errorWhileSavingConfigDetails")+n,t.overlayId===void 0?ft("settings.navigationTitle"):ft("tonieboxes.navigationTitle")),Promise}}resetAll(){this.settings.forEach(t=>{t.value=t.initialValue??"",t.overlayed=t.initialOverlayed!==void 0?t.initialOverlayed:void 0}),this.unsavedChanges=!1,this.callAllListeners(),this.idListeners.forEach(t=>t.listener())}getSetting(t){return this.settings.find(n=>n.iD===t)}changeSetting(t,n,r){const a=this.settings.find(o=>o.iD===t);a?typeof a.initialValue==typeof n?(a.value=n,a.initialValue===a.value?(this.unsavedChanges=!1,this.settings.forEach(o=>{o.initialValue!==o.value&&(this.unsavedChanges=!0),o.initialOverlayed!==o.overlayed&&(this.unsavedChanges=!0)})):this.unsavedChanges=!0,this.idListeners.filter(o=>o.iD===t).forEach(o=>{o.listener()}),this.callAllListeners()):console.warn("The type of newValue and initialValue for '"+t+"' do not match! Omitting."):console.warn("Unknown setting '"+t+"' to be changed. Omitting.")}changeSettingOverlayed(t,n){const r=this.settings.find(a=>a.iD===t);r?(r.overlayed=n,n===!1&&(()=>{try{xT.apiGetTeddyCloudSettingRaw(t).then(o=>o.text()).then(o=>{let i;r.type==="bool"?i=o==="true":r.type==="uint"?(i=parseInt(o,10),isNaN(i)&&(console.warn(`Expected a number for setting type "uint", but got "${o}". Defaulting to 0.`),i=0)):i=o,this.changeSetting(t,i,n)}).catch(o=>{this.addNotification(xt.Error,ft("settings.errorFetchingFieldValue"),ft("settings.errorFetchingFieldValueDetails",{setting:r.label,overlay:r.overlayId!==void 0?` [${r.overlayId}]`:""})+o,r.overlayId===void 0?ft("settings.navigationTitle"):ft("tonieboxes.navigationTitle"))})}catch(o){this.addNotification(xt.Error,ft("settings.errorFetchingFieldValue"),ft("setting.errorFetchingFieldValueDetails",{setting:r.label,overlay:r.overlayId!==void 0?` [${r.overlayId}]`:""})+o,r.overlayId===void 0?ft("settings.navigationTitle"):ft("tonieboxes.navigationTitle"))}})(),r.initialOverlayed===r.overlayed?(this.unsavedChanges=!1,this.settings.forEach(a=>{a.initialValue!==a.value&&(this.unsavedChanges=!0),a.initialOverlayed!==a.overlayed&&(this.unsavedChanges=!0)})):this.unsavedChanges=!0,this.idListeners.filter(a=>a.iD===t).forEach(a=>{a.listener()}),this.callAllListeners()):console.warn("Unknown setting '"+t+"' to be changed. Omitting.")}};mo(bi,"instance");let Kn=bi;const JBe=e=>{var S;const{t}=Yt(),{name:n,label:r,description:a,overlayed:o}=e,[i,s]=DA(n),[c,u]=l.useState(o),[f,g]=l.useState((S=Kn.getInstance().getSetting(n))==null?void 0:S.value),m=()=>{var w,I;g((w=Kn.getInstance().getSetting(n))==null?void 0:w.value),u(c!==void 0?(I=Kn.getInstance().getSetting(n))==null?void 0:I.overlayed:void 0)};Kn.getInstance().addIdListener(m,n);const h=!!(s.touched&&s.error),y=s.touched&&s.error&&t(s.error),x=s.touched&&s.error?"error":void 0;let b=f==null?void 0:f.toString();const C=[c===void 0?null:d.jsx(Ti,{checked:c,onChange:w=>{var I;Kn.getInstance().changeSettingOverlayed(n,w.target.checked),u((I=Kn.getInstance().getSetting(n))==null?void 0:I.overlayed)},children:t("settings.overlayed")},"overlayCheckBox")];return d.jsx(zm,{help:h?y:void 0,validateStatus:x,label:r,tooltip:a,children:d.jsx(Sn,{...i,value:b,onChange:w=>{var I;Kn.getInstance().changeSetting(n,w.target.value,c),g((I=Kn.getInstance().getSetting(n))==null?void 0:I.value)},...c!==void 0?{addonAfter:C}:null,disabled:!c&&c!==void 0})})},i7=e=>{var S;const{t}=Yt(),{name:n,label:r,description:a,overlayed:o}=e,[i,s]=DA(n),[c,u]=l.useState(o),[f,g]=l.useState((S=Kn.getInstance().getSetting(n))==null?void 0:S.value),m=()=>{var w,I;g((w=Kn.getInstance().getSetting(n))==null?void 0:w.value),u(c!==void 0?(I=Kn.getInstance().getSetting(n))==null?void 0:I.overlayed:void 0)};Kn.getInstance().addIdListener(m,n);const h=!!(s.touched&&s.error),y=s.touched&&s.error&&t(s.error),x=s.touched&&s.error?"error":void 0;let b=f;const C=[c===void 0?null:d.jsx(Ti,{checked:c,onChange:w=>{var I;Kn.getInstance().changeSettingOverlayed(n,w.target.checked),u((I=Kn.getInstance().getSetting(n))==null?void 0:I.overlayed)},children:t("settings.overlayed")},"overlayCheckBox")];return d.jsx(zm,{help:h?y:void 0,validateStatus:x,label:r,tooltip:a,children:d.jsx(AG,{...i,value:b,onChange:w=>{var I;Kn.getInstance().changeSetting(n,w??0,c),g((I=Kn.getInstance().getSetting(n))==null?void 0:I.value)},...c!==void 0?{addonAfter:C}:null,disabled:!c&&c!==void 0})})},QBe=e=>{var C;const{t}=Yt(),{name:n,label:r,description:a,overlayed:o}=e,[i,s]=DA(n),[c,u]=l.useState(o),[f,g]=l.useState((C=Kn.getInstance().getSetting(n))==null?void 0:C.value),m=!!(s.touched&&s.error),h=s.touched&&s.error&&t(s.error),y=s.touched&&s.error?"error":void 0,x=()=>{var S,w;g((S=Kn.getInstance().getSetting(n))==null?void 0:S.value),u(c!==void 0?(w=Kn.getInstance().getSetting(n))==null?void 0:w.overlayed:void 0)};Kn.getInstance().addIdListener(x,n);let b=f;return d.jsxs(zm,{help:m?h:void 0,validateStatus:y,label:r,tooltip:a,children:[d.jsx(To,{...i,checked:b,onChange:S=>{var w;Kn.getInstance().changeSetting(n,S,c),g((w=Kn.getInstance().getSetting(n))==null?void 0:w.value)},disabled:!c&&c!==void 0}),c===void 0?"":d.jsx(Ti,{checked:c,style:{marginLeft:"16px"},onChange:S=>{var w;Kn.getInstance().changeSettingOverlayed(n,S.target.checked),u((w=Kn.getInstance().getSetting(n))==null?void 0:w.overlayed)},children:t("settings.overlayed")},"overlayCheckBox")]})},pX=e=>{const{iD:t}=e,n=Kn.getInstance().getSetting(e.iD),r=e.noOverlay||n==null?void 0:n.overlayed;if(n!==void 0){const{type:a,label:o,description:i}=n;return d.jsxs("div",{children:[a==="bool"&&d.jsx(QBe,{name:t,label:o,description:i,overlayed:r,overlayId:e.overlayId}),a==="int"&&d.jsx(i7,{name:t,label:o,description:i,overlayed:r,overlayId:e.overlayId}),a==="uint"&&d.jsx(i7,{name:t,label:o,description:i,overlayed:r,overlayId:e.overlayId}),a==="string"&&d.jsx(JBe,{name:t,label:o,description:i,overlayed:e.noOverlay||n==null?void 0:n.overlayed,overlayId:e.overlayId})]},t)}else return console.warn("No option found for iD ",t),d.jsx(d.Fragment,{})},gX=({onClose:e})=>{const[t,n]=l.useState(0);l.useEffect(()=>{const a=()=>{n(i=>i+1)},o=Kn.getInstance();return o.addListener(a),()=>{o.resetAll(),o.removeListener(a)}},[]);const r=!Kn.getInstance().hasUnchangedChanges();return d.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end"},children:[d.jsx(mt,{disabled:r,onClick:()=>Kn.getInstance().resetAll(),children:ft("settings.discard")}),d.jsx(mt,{disabled:r,type:"primary",onClick:()=>Kn.getInstance().saveAll(),children:ft("settings.save")}),e?d.jsx(mt,{onClick:()=>{Kn.getInstance().resetAll(),e()},children:ft("settings.close")}):""]})},Uv=new nr(Yn()),{useToken:e5e}=Tr,t5e=({overlay:e,onClose:t})=>{var S;const{t:n}=Yt(),{token:r}=e5e(),{addNotification:a}=Cr(),[o,i]=l.useState(),[s,c]=l.useState(""),[u,f]=l.useState(!0),[g,m]=l.useState(!0),[h,y]=l.useState(0);Kn.initialize(a,n),l.useEffect(()=>{const w=()=>y(E=>E+1),I=Kn.getInstance();return I.addListener(w),()=>{I.removeListener(w)}},[]),l.useEffect(()=>{(async()=>{try{const I=await Uv.apiGetTeddyCloudSettingRaw("core.settings_level");if(!I.ok)throw new Error(`HTTP error! status: ${I.status}`);const E=await I.json();c(E.toString())}catch(I){console.error("Error fetching settings level: ",I)}})()},[]),l.useEffect(()=>{if(!s)return;s&&(async()=>{var E,_;f(!0);const I=await Uv.apiGetIndexGet(e);(E=I==null?void 0:I.options)!=null&&E.length&&((_=I==null?void 0:I.options)==null?void 0:_.length)>0&&(i(I),Kn.getInstance().initializeSettings(I.options,e)),f(!1)})()},[s]),l.useEffect(()=>{if(u)return;const w=document.querySelector(".ant-modal-wrap.overlay-"+e.toUpperCase());if(w){const I=()=>{m(w.scrollTop+w.clientHeight{w.removeEventListener("scroll",I),window.removeEventListener("resize",I)}}},[u]);const x=async()=>{try{await Uv.apiTriggerWriteConfigGet()}catch(w){a(xt.Error,n("settings.errorWhileSavingConfig"),n("settings.errorWhileSavingConfigDetails")+w,n("tonieboxes.navigationTitle"))}},b=async w=>{try{await Uv.apiPostTeddyCloudSetting("core.settings_level",w),x(),c(w)}catch(I){a(xt.Error,n("settings.errorSettingSettingsLevel"),n("settings.errorSettingSettingsLevelDetails")+I,n("tonieboxes.navigationTitle"))}},C=d.jsx("div",{style:{position:"sticky",bottom:0,padding:"16px 0",marginBottom:8,backgroundColor:r.colorBgElevated,zIndex:501},id:"save-panel",className:"sticky-save-panel",children:d.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:[d.jsx("div",{style:{padding:8,fontSize:"smaller",color:r.colorTextDescription},children:g&&n("settings.keepScrolling")}),d.jsx(gX,{onClose:t})]})});return d.jsxs(d.Fragment,{children:[d.jsx(qn,{message:n("settings.warning"),description:d.jsx("div",{children:n("settings.warningHint")}),type:"info",showIcon:!0,style:{margin:"8px"}}),d.jsx(hr,{children:n("settings.title")}),u?d.jsx(ic,{}):d.jsxs(d.Fragment,{children:[d.jsx(fX,{initialValues:{test:"test"},onSubmit:w=>{},children:d.jsx(wn,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(S=o==null?void 0:o.options)==null?void 0:S.map((w,I,E)=>{if(w.iD.includes("core.settings_level")||!w.iD.includes("core.certdir")&&!w.iD.includes("core.client_cert.")&&!w.iD.includes("core.flex_")&&!w.iD.includes("core.contentdir")&&!w.iD.includes("toniebox.")&&!w.iD.includes("cloud.enabled")&&!w.iD.includes("cloud.enableV1Claim")&&!w.iD.includes("cloud.enableV1CloudReset")&&!w.iD.includes("cloud.enableV1FreshnessCheck")&&!w.iD.includes("cloud.enableV1Log")&&!w.iD.includes("cloud.enableV1Time")&&!w.iD.includes("cloud.enableV1Ota")&&!w.iD.includes("cloud.enableV2Content")&&!w.iD.includes("cloud.cacheOta")&&!w.iD.includes("cloud.localOta")&&!w.iD.includes("cloud.cacheContent")&&!w.iD.includes("cloud.cacheToLibrary")&&!w.iD.includes("cloud.markCustomTagByPass")&&!w.iD.includes("cloud.prioCustomContent")&&!w.iD.includes("cloud.updateOnLowerAudioId")&&!w.iD.includes("cloud.dumpRuidAuthContentJson"))return null;const _=w.iD.split("."),R=E[I-1]?E[I-1].iD.split("."):[];return d.jsxs(ge.Fragment,{children:[_.slice(0,-1).map((N,O)=>R[O]!==N?O===0?d.jsxs("h3",{style:{marginLeft:`${O*20}px`,marginBottom:"10px"},children:["Category ",N]},`category-${N}`):d.jsxs("h4",{style:{marginLeft:`${O*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",N]},`category-${N}`):null),d.jsx(pX,{iD:w.iD,overlayId:e})]},I)})})}),d.jsx(hr,{children:n("settings.levelLabel")}),d.jsxs(so.Group,{value:s,onChange:w=>b(w.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:u||Kn.getInstance().hasUnchangedChanges(),children:[d.jsx(so.Button,{value:"1",children:"Basic"}),d.jsx(so.Button,{value:"2",children:"Detail"}),d.jsx(so.Button,{value:"3",children:"Expert"})]}),C]})]})},s7=new nr(Yn()),MA=({overlay:e})=>{const{t}=Yt(),{addNotification:n,setFetchCloudStatus:r}=Cr(),a=async i=>{const s=new FormData;s.append("file",i);const c={filename:[s.get("file")]},u=async()=>{await s7.apiTriggerWriteConfigGet()};(async g=>{try{await s7.apiUploadCertPost(g,e);try{u()}catch(m){n(xt.Error,t("settings.errorWhileSavingConfig"),t("settings.errorWhileSavingConfigDetails")+m,t(e?"tonieboxes.navigationTitle":"settings.navigationTitle"))}n(xt.Success,t("settings.certificates.uploadSuccessful"),t("settings.certificates.uploadSuccessfulDetails",{filename:i.name}),t(e?"tonieboxes.navigationTitle":"settings.navigationTitle")),r(m=>!m)}catch(m){n(xt.Error,t("settings.certificates.uploadFailed"),t("settings.certificates.uploadFailedDetails",{filename:i.name})+": "+m,t(e?"tonieboxes.navigationTitle":"settings.navigationTitle"))}})(c)},o={name:"file",multiple:!0,beforeUpload:i=>i.type!=="application/x-x509-ca-cert"&&!i.name.endsWith(".der")?(n(xt.Error,t("settings.certificates.uploadFailed"),t("settings.certificates.uploadFailedDetails",{filename:i.name})+": "+t("settings.certificates.invalidFileType"),t(e?"tonieboxes.navigationTitle":"settings.navigationTitle")),ac.LIST_IGNORE):!0,customRequest:async i=>{const{onSuccess:s,onError:c,file:u}=i;try{await a(u),s("Ok")}catch(f){c(f)}},onChange(i){const{status:s}=i.file;s!=="uploading"&&console.log(i.file,i.fileList)},onDrop(i){console.log("Dropped files",i.dataTransfer.files)}};return d.jsxs(ac.Dragger,{...o,children:[d.jsx("p",{className:"ant-upload-drag-icon",children:d.jsx(jN,{})}),d.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),d.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},l7="/web/assets/unknown_box-xU178mnG.png",ao=new nr(Yn()),{Paragraph:ST,Text:n5e}=zn,{Meta:r5e}=bc,{useToken:a5e}=Tr,o5e=({tonieboxCard:e,tonieboxImages:t,readOnly:n=!1,checkCC3200CFW:r=!1})=>{var Qe,ut,xe,be;const{t:a}=Yt(),{token:o}=a5e(),{addNotification:i,addLoadingNotification:s,closeLoadingNotification:c,boxModelImages:u}=Cr(),f=Ur.language,[g,m]=l.useState(!1),[h,y]=l.useState(""),[x,b]=l.useState(""),[C,S]=l.useState(""),[w,I]=l.useState(!1),[E,_]=l.useState(null),[R,N]=l.useState(),[O,$]=l.useState(!1),[A,B]=l.useState(!1),[j,F]=l.useState(!1),[D,k]=l.useState(e.boxModel),[M,L]=l.useState(e.boxModel),[H,U]=l.useState(e.boxName),[z,W]=l.useState(e.boxName),[q,K]=l.useState(null),[G,X]=l.useState(!1),[Z,J]=l.useState(!0),[ne,Q]=l.useState(0);l.useEffect(()=>{(async()=>{const ke=await ao.apiGetTonieboxApiAccess(e.ID);J(ke)})()},[e.ID,O]),l.useEffect(()=>{(async()=>{const Ke=await ao.apiGetTonieboxStatus(e.ID);m(Ke)})(),(async()=>{const Ke=await ao.apiGetTonieboxVersion(e.ID),Ge={0:Si.unknown,1:Si.cc3200,2:Si.cc3235,3:Si.esp32};if(Ke in Ge){const nt=Ge[Ke];y(nt)}else y(Si.unknown)})(),(async()=>{const Ke=await ao.apiGetTonieboxLastRUID(e.ID);if(Ke!=="ffffffffffffffff"&&Ke!==""){const Ge=await ao.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const ht=await ao.apiGetTagIndex(e.ID);oe(ht.filter(tt=>tt.ruid===Ke),Ge)})()}})(),g||(async()=>{const Ge=await ao.apiGetLastOnline(e.ID);b(Ge)})(),r&&(async()=>{const Ge=await(await ao.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();S(Ge)})(),te(e.boxModel),L(e.boxModel)},[e.ID,e.boxModel,f]),l.useEffect(()=>{if(r&&C&&h===Si.cc3200)try{fetch(`http://${C}/api/ajax?cmd=box-battery&sub=stats`).then(Ee=>Ee.text()).then(Ee=>{console.log("Battery Stats fetched --> assume CFW active"),I(!0)}).catch(Ee=>{console.log("No Battery Stats fetched --> assume CFW not active"),I(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),I(!1)}},[C,h,r]);const ee=[{label:a("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(u.boxModelImages.map(Ee=>({label:Ee.name,value:Ee.id}))),te=Ee=>{const ke=t.find(et=>et.id===Ee);K(ke?d.jsx("img",{src:ke.img_src,alt:"",style:{...$e(Ee),position:"absolute",top:"0",left:"0"}}):d.jsx(nn,{title:d.jsxs(d.Fragment,{children:[a("tonieboxes.modelHint.text")," ",d.jsx(ol,{onClick:()=>ie()},"edit")," ",a("tonieboxes.modelHint.action"),"!"]}),placement:"bottom",children:d.jsx("img",{src:l7,alt:"",style:{width:"100%",height:"auto",position:"absolute",top:"0",left:"0"}})}))},oe=(Ee,ke)=>{_(d.jsx(d.Fragment,{children:d.jsx(vt,{to:"/tonies?tonieRUID="+Ee[0].ruid+"&overlay="+e.ID,children:d.jsx(nn,{placement:"top",zIndex:2,title:a("tonieboxes.lastPlayedTonie")+Ee[0].tonieInfo.series+(Ee[0].tonieInfo.episode?" - "+Ee[0].tonieInfo.episode:"")+(ke?" ("+ke+")":""),children:d.jsx("img",{src:Ee[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},le=()=>{(async()=>{var et,Be;const ke=await ao.apiGetIndexGet(e.ID);(et=ke==null?void 0:ke.options)!=null&&et.length&&((Be=ke==null?void 0:ke.options)==null?void 0:Be.length)>0&&N(ke)})(),fe()},fe=()=>{B(!0)},ue=async()=>{B(!1)},we=()=>{B(!1)},pe=()=>{$(!0)},ve=async()=>{$(!1)},Ce=()=>{$(!1)},me=()=>{Q(Ee=>Ee+1),pe()},ie=()=>{L(M===void 0?D:M),F(!0)},he=()=>{L(D),W(z),U(z),F(!1)},Se=async()=>{te(M),k(M);const Ee=async()=>{await ao.apiTriggerWriteConfigGet()};try{ao.apiPostTeddyCloudSetting("boxModel",M,e.ID).then(()=>{Ee()}).then(()=>{i(xt.Success,a("tonieboxes.editModelModal.successOnModelChange"),a("tonieboxes.editModelModal.successOnModelChangeDetails",{model:M,mac:e.ID}),a("tonieboxes.navigationTitle"))}).catch(ke=>{i(xt.Error,a("settings.errorWhileSavingConfig"),a("settings.errorWhileSavingConfigDetails")+ke,a("tonieboxes.navigationTitle"))})}catch(ke){i(xt.Error,a("tonieboxes.editModelModal.errorOnModelChange"),a("tonieboxes.editModelModal.errorOnModelChangeDetails",{mac:e.ID,error:ke}),a("tonieboxes.navigationTitle"))}},_e=async()=>{W(H);const Ee=async()=>{await ao.apiTriggerWriteConfigGet()};try{ao.apiPostTeddyCloudSetting("boxName",H.toString(),e.ID).then(()=>{Ee()}).then(()=>{i(xt.Success,a("tonieboxes.editModelModal.successOnNameChange"),a("tonieboxes.editModelModal.successOnNameChangeDetails",{name:H,mac:e.ID}),a("tonieboxes.navigationTitle"))}).catch(ke=>{i(xt.Error,a("settings.errorWhileSavingConfig"),a("settings.errorWhileSavingConfigDetails")+ke,a("tonieboxes.navigationTitle"))})}catch(ke){i(xt.Error,a("tonieboxes.editModelModal.errorOnNameChange"),a("tonieboxes.editModelModal.errorOnNameChangeDetails",{mac:e.ID,error:ke}),a("tonieboxes.navigationTitle"))}},$e=Ee=>{const ke=t.find(et=>et.id===Ee);if(ke&&ke.crop){const[et,Be,Ke]=ke.crop;return{width:"100%",height:"auto",transform:`scale(${Ke}) translateX(${et}px) translateY(${Be}px)`}}else return{width:"100%",height:"auto"}},ze=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),Fe=async()=>{F(!1),H!==z&&await _e(),D!==M&&await Se()},je=d.jsx(d.Fragment,{children:d.jsxs(mt,{type:"primary",onClick:Fe,disabled:H===z&&D===M,children:[d.jsx(Dq,{},"saveClick")," ",a("tonies.editModal.save")]})}),qe=d.jsxs(Jn,{title:d.jsx(d.Fragment,{children:d.jsxs("h3",{children:[a("tonieboxes.editModelModal.editModel",{name:e.boxName}),d.jsx("br",{}),d.jsx(n5e,{type:"secondary",children:(h!=="UNKNOWN"?h:"MAC")+": "+ze()})]})}),open:j,footer:je,onCancel:he,children:[d.jsx(hr,{orientation:"left",orientationMargin:"0",children:a("tonieboxes.editModelModal.name")}),d.jsx(ST,{children:d.jsx(Sn,{name:"boxName",value:H,onChange:Ee=>U(Ee.target.value),addonBefore:d.jsx(g0,{className:H===z?"disabled":"enabled",onClick:()=>U(z),style:{color:H===z?o.colorTextDisabled:o.colorText,cursor:H===z?"default":"pointer"}})})}),d.jsx(hr,{orientation:"left",orientationMargin:"0",children:a("tonieboxes.editModelModal.model")}),d.jsx(ST,{children:d.jsx(ra,{options:ee,value:M,onChange:Ee=>L(Ee)})})]}),Ue=d.jsxs(Jn,{title:a("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:A,onOk:ue,onCancel:we,children:[d.jsxs(ST,{children:[a("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," ",d.jsx("i",{children:(ut=(Qe=R==null?void 0:R.options)==null?void 0:Qe.find(Ee=>Ee.iD==="core.certdir"))==null?void 0:ut.value})," ",d.jsx("small",{children:(be=(xe=R==null?void 0:R.options)==null?void 0:xe.find(Ee=>Ee.iD==="core.certdir"))!=null&&be.overlayed?a("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):a("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),d.jsx(MA,{overlay:e.ID})]}),Ne=d.jsx(Jn,{title:a("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:O,onOk:ve,onCancel:Ce,footer:null,wrapClassName:"overlay-"+e.ID,children:d.jsx(t5e,{onClose:Ce,overlay:e.ID},ne)}),Ye=()=>{const Ee="loading"+e.ID;try{s(Ee,a("tonieboxes.messages.deleting"),a("tonieboxes.messages.deletingDetails",{mac:e.ID})),ao.apiPostTeddyCloudRaw("/api/settings/removeOverlay?overlay="+e.ID).then(ke=>ke.text()).then(ke=>{c(Ee),ke==="OK"?(i(xt.Success,a("tonieboxes.messages.deleteSuccessful"),a("tonieboxes.messages.deleteSuccessfulDetails",{mac:e.ID}),a("tonieboxes.navigationTitle")),window.location.reload()):i(xt.Error,a("tonieboxes.messages.deleteFailed"),a("tonieboxes.messages.deleteFailedDetails",{mac:e.ID}),a("tonieboxes.navigationTitle"))}).catch(ke=>{c(Ee),i(xt.Error,a("tonieboxes.messages.deleteFailed"),a("tonieboxes.messages.deleteFailedDetails",{mac:e.ID})+": "+ke,a("tonieboxes.navigationTitle"))})}catch(ke){c(Ee),i(xt.Error,a("tonieboxes.messages.deleteFailed"),a("tonieboxes.messages.deleteFailedDetails",{mac:e.ID})+": "+ke,a("tonieboxes.navigationTitle"))}},Re=()=>{X(!0)},Ae=()=>{Ye(),X(!1)},Le=()=>{X(!1)},Te=d.jsx(xu,{title:a("tonieboxes.confirmDeleteModal"),open:G,okText:a("tonieboxes.delete"),cancelText:a("tonieboxes.cancel"),content:a("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:z}),handleOk:Ae,handleCancel:Le}),Ve=async()=>{try{await ao.apiTriggerWriteConfigGet()}catch(Ee){i(xt.Error,a("settings.errorWhileSavingConfig"),a("settings.errorWhileSavingConfigDetails")+Ee,a("tonieboxes.navigationTitle"))}},Je=async()=>{try{ao.apiPostTeddyCloudSetting("toniebox.api_access",!Z,e.ID).then(()=>{Ve(),J(!Z),Z?i(xt.Success,a("tonieboxes.messages.apiAccessDisabled"),a("tonieboxes.messages.apiAccessDisabledDetails",{mac:e.ID}),a("tonieboxes.navigationTitle")):i(xt.Success,a("tonieboxes.messages.apiAccessEnabled"),a("tonieboxes.messages.apiAccessEnabledDetails",{mac:e.ID}),a("tonieboxes.navigationTitle"))}).catch(Ee=>{throw new Error(Ee.status+" "+Ee.statusText)})}catch(Ee){i(xt.Error,a("tonieboxes.messages.apiAccessNotChangedError"),a("tonieboxes.messages.apiAccessNotChangedErrorDetails",{mac:e.ID})+Ee,a("tonieboxes.navigationTitle"))}};return d.jsxs(d.Fragment,{children:[d.jsx(bc,{hoverable:!1,size:"default",style:{background:o.colorBgContainerDisabled,cursor:"default"},title:d.jsx("span",{children:z}),cover:d.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[E,d.jsx("img",{src:l7,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),q]}),actions:n?[]:[d.jsx(d.Fragment,{children:Z?g?d.jsx(nn,{title:a("tonieboxes.online"),children:d.jsx(ng,{className:"online",style:{color:o.colorSuccess,cursor:"default"}})}):d.jsx(nn,{title:a("tonieboxes.offline")+(x?" - "+a("tonieboxes.lastOnline")+": "+x:""),children:d.jsx(ng,{className:"offline",style:{color:o.colorTextDescription,cursor:"default"}})}):d.jsx(nn,{title:a("tonieboxes.accessApiDisabled"),children:d.jsx(Aq,{className:"access-disabled",style:{color:o.colorError,cursor:"pointer"},onClick:Je})})}),d.jsx(ol,{onClick:()=>ie()},"edit"),d.jsx(FN,{style:{marginRight:8},onClick:le},"certificate"),d.jsx(BN,{style:{marginRight:8},onClick:me},"edit"),d.jsx(_s,{style:{marginRight:8},onClick:Re},"delete")],children:d.jsx(r5e,{description:[n?g?d.jsxs(nn,{title:a("tonieboxes.online"),children:[d.jsx(ng,{className:"online",style:{color:o.colorSuccess,cursor:"default"}})," "]},"box-status-online"):d.jsxs(nn,{title:a("tonieboxes.offline")+(x?" - "+a("tonieboxes.lastOnline")+": "+x:""),children:[d.jsx(ng,{className:"offline",style:{color:o.colorTextDescription,cursor:"default"}})," "]},"box-status-offline"):null,d.jsxs("span",{children:[" ",(h!=="UNKNOWN"&&h!==void 0&&h!==null?h:"MAC")+" "]},"box-version"),w?d.jsx(nn,{title:a("tonieboxes.linkToBoxCFW"),children:d.jsxs(vt,{to:"http://"+C,target:"_blank",children:[ze()," ",d.jsx(wEe,{})]})},"box-mac-cfw-link"):d.jsx("span",{children:ze()},"box-mac")]})},e.ID),Ne,Ue,qe,Te]})},i5e=new nr(Yn()),mX=({tonieboxCards:e,readOnly:t=!1})=>{const{t:n}=Yt(),{addNotification:r,boxModelImages:a}=Cr(),[o,i]=l.useState(!1);if(l.useEffect(()=>{!a.loading&&a.boxModelImages.length===0&&r(xt.Error,n("settings.notifications.error"),n("tonieboxes.errorFetchingModels"),n("tonieboxes.navigationTitle"))},[a.loading,a.boxModelImages.length]),l.useEffect(()=>{(async()=>{const f=await(await i5e.apiGetTeddyCloudSettingRaw("frontend.check_cc3200_cfw")).text()==="true";i(f)})()},[]),a.loading)return d.jsx(ic,{});const s=()=>d.jsx(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE,description:d.jsxs("div",{children:[d.jsx("p",{children:n("tonieboxes.noData")}),d.jsx("p",{children:n("tonieboxes.noDataText")})]})});return d.jsx(Zn,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:c=>d.jsx(Zn.Item,{id:c.ID,children:d.jsx(o5e,{tonieboxCard:c,tonieboxImages:a.boxModelImages,readOnly:t,checkCC3200CFW:o})}),locale:{emptyText:s()}})},_d=new nr(Yn()),{Paragraph:Td}=zn,s5e=()=>{const{t:e}=Yt(),t=uc(),{addNotification:n}=Cr(),[r,a]=l.useState([]),[o,i]=l.useState([]),[s,c]=l.useState(!1),[u,f]=l.useState(!1),[g,m]=l.useState(""),[h,y]=l.useState([]),[x,b]=l.useState(!0),[C,S]=l.useState(localStorage.getItem("homeActiveTab")??"tonies");l.useEffect(()=>{localStorage.setItem("homeActiveTab",C)},[C]),l.useEffect(()=>{(async()=>{const B=await _d.apiGetSecurityMITAlert();c(B)})(),(async()=>{try{const B=await _d.apiGetTonieboxesIndex();i(B)}catch(B){n(xt.Error,e("tonieboxes.errorFetchingTonieboxes"),e("tonieboxes.errorFetchingTonieboxes")+": "+B,e("tonieboxes.navigationTitle"))}})(),(async()=>{try{const B=await _d.apiGetNewBoxesAllowed();f(B),B&&(async()=>{const F=await _d.apiGetTonieboxesIndex(),D=await Promise.all(F.map(async k=>{const M=await _d.apiGetTonieboxApiAccess(k.ID);return[k.boxName,M]}));y(D)})()}catch(B){n(xt.Error,e("settings.errorFetchingSetting"),e("settings.errorFetchingSettingDetails",{setting:"toniebox.api_access"})+B,e("home.navigationTitle"))}})(),(async()=>{b(!0);const B=(await _d.apiGetTagIndexMergedAllOverlays(!0)).filter(j=>!j.hide);a(B.sort((j,F)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random()))),b(!1)})()},[]),l.useEffect(()=>{const N={};r.forEach(A=>{const B=A.tonieInfo.language;N[B]?N[B]++:N[B]=1});let O=0,$="";for(const A in N)N.hasOwnProperty(A)&&N[A]>O&&(O=N[A],$=A);m($)},[r]);const w=h.filter(N=>!N[1]),I=u?d.jsxs(d.Fragment,{children:[d.jsx(qn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),w.length>0&&d.jsx(qn,{message:e("tonieboxes.boxWithoutAPIAccess"),description:d.jsxs(d.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),d.jsx("ul",{children:w.map(N=>d.jsx("li",{children:N[0]},N[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),d.jsx(vt,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null,E=d.jsxs(d.Fragment,{children:[x?d.jsx(ic,{}):d.jsx(IA,{tonieCards:r.filter(N=>N.type==="tag"&&N.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:g}),d.jsx(Td,{children:d.jsxs(mt,{onClick:()=>t("/tonies"),children:[e("home.toAllYourTonies")," (",r.filter(N=>N.type==="tag").length,")"]})})]}),_=d.jsxs(d.Fragment,{children:[x?d.jsx(ic,{}):d.jsx(mX,{tonieboxCards:o.slice(0,4),readOnly:!0}),d.jsx(Td,{children:d.jsxs(mt,{onClick:()=>t("/tonieboxes"),children:[e("home.toAllYourTonieboxes")," (",o.length,")"]})})]}),R=[{key:"tonies",label:d.jsx("h2",{style:{marginBottom:0},children:e("home.yourTonies")}),children:E},{key:"tonieboxes",label:d.jsx("h2",{style:{marginBottom:0},children:e("home.yourTonieboxes")}),children:_}];return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(Gf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsxs(Td,{children:[d.jsx("h1",{children:e("home.title")}),s?d.jsx(qn,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),I]}),d.jsxs(Td,{children:[e("home.forumIntroPart1"),d.jsx(vt,{to:Zd,target:"_blank",children:Zd}),e("home.forumIntroPart2")]}),d.jsx(Td,{children:d.jsx(vu,{onChange:N=>S(N),activeKey:C,items:R,indicator:{size:N=>N-20,align:"center"}})}),d.jsxs(Td,{children:[d.jsx("h2",{children:e("home.helpfulLinks")}),d.jsxs("ul",{children:[d.jsx("li",{children:d.jsx(vt,{to:"/community/faq",children:"FAQ"})}),d.jsx("li",{children:d.jsx(vt,{to:lY,target:"_blank",children:"GitHub"})}),d.jsx("li",{children:d.jsx(vt,{to:uA,target:"_blank",children:"Telegram Chat"})}),d.jsx("li",{children:d.jsx(vt,{to:Zd,target:"_blank",children:"Discourse Forum"})}),d.jsx("li",{children:d.jsx(vt,{to:cY,target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},l5e=new nr(Yn()),c5e=()=>{var a;const{t:e}=Yt(),[t,n]=l.useState(),r=async()=>{var i,s;const o=await l5e.apiStatsGet();(i=o==null?void 0:o.stats)!=null&&i.length&&((s=o==null?void 0:o.stats)==null?void 0:s.length)>0&&n(o)};return l.useEffect(()=>{r()},[]),l.useEffect(()=>{const o=setInterval(()=>{r()},1e4);return()=>clearInterval(o)},[]),d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(Gf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(o=>d.jsxs("div",{children:[d.jsx("h2",{children:e("home.stats."+o.iD)}),d.jsx("p",{children:o.value})]},o.iD))]})]})]})},{Paragraph:u5e}=zn,d5e=()=>{const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(Gf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),d.jsx(ir,{children:d.jsx(u5e,{children:d.jsx(wA,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Option:Uc}=ra,{Paragraph:qp}=zn,{useToken:f5e}=Tr,p5e=()=>{const{t:e}=Yt(),{token:t}=f5e(),{notifications:n,confirmNotification:r,clearAllNotifications:a,removeNotifications:o}=Cr(),[i,s]=l.useState(n),[c,u]=l.useState(!1),[f,g]=l.useState(!1),[m,h]=l.useState([]),[y,x]=l.useState(20),[b,C]=l.useState(1),[S,w]=l.useState(!0),[I,E]=l.useState([null,null]),[_,R]=l.useState(""),[N,O]=l.useState(""),[$,A]=l.useState([]),[B,j]=l.useState([]),[F,D]=l.useState([]);l.useEffect(()=>{const G=n.filter(X=>{var oe,le;const Z=(!I[0]||X.date>=I[0])&&(!I[1]||X.date<=I[1]),J=(oe=X.title)==null?void 0:oe.toLowerCase().includes(_.toLowerCase()),ne=(le=X.description)==null?void 0:le.toLowerCase().includes(N.toLowerCase()),Q=$.length===0||$.includes(X.type),ee=B.length===0||B.includes(X.context),te=F.length===0||F.includes(X.flagConfirmed?"Confirmed":"Unconfirmed");return Z&&J&&ne&&Q&&ee&&te});s(G)},[n,I,_,N,$,B,F]),l.useEffect(()=>{const G=()=>{g(window.innerWidth<1024),u(window.innerWidth<768)};return G(),window.addEventListener("resize",G),()=>{window.removeEventListener("resize",G)}},[]);const k={success:d.jsx(Of,{style:{color:t.colorSuccess}}),error:d.jsx(pc,{style:{color:t.colorError}}),info:d.jsx(q0,{style:{color:t.colorInfo}}),warning:d.jsx(bm,{style:{color:t.colorWarning}})},M=Array.from(new Set(n.map(G=>G.context))).filter(Boolean),L=[{title:e("settings.notifications.colType"),dataIndex:"type",key:"type",render:G=>{var X;return d.jsxs("div",{style:{display:"flex",gap:8},children:[c?"":k[G],((X=G.charAt(0))==null?void 0:X.toUpperCase())+G.slice(1)]})},sorter:(G,X)=>G.type.localeCompare(X.type),ellipsis:!0},{title:e("settings.notifications.colTitle"),dataIndex:"title",key:"title",sorter:(G,X)=>{const Z=G.title||"",J=X.title||"";return Z.localeCompare(J)}},{title:e("settings.notifications.colDetails"),dataIndex:"description",key:"description",sorter:(G,X)=>{const Z=G.description||"",J=X.description||"";return Z.localeCompare(J)},responsive:["lg"]},{title:e("settings.notifications.colContext"),dataIndex:"context",key:"context",sorter:(G,X)=>{const Z=G.context||"",J=X.context||"";return Z.localeCompare(J)},width:90,onCell:()=>({style:{maxWidth:90}}),ellipsis:!0,responsive:["lg"]},{title:e("settings.notifications.colDate"),dataIndex:"date",key:"date",render:G=>G instanceof Date?c?G.toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}).replace(",",""):G.toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(",",""):"",sorter:(G,X)=>{const Z=new Date(G.date),J=new Date(X.date);return Z.getTime()-J.getTime()},ellipsis:!0},{title:e("settings.notifications.colStatus"),dataIndex:"flagConfirmed",key:"flagConfirmed",render:(G,X)=>d.jsx("div",{style:{cursor:"pointer"},onClick:Z=>{Z.stopPropagation(),X.flagConfirmed||r(X.uuid)},children:X.flagConfirmed?e("settings.notifications.confirmed"):d.jsx(nn,{title:e("settings.notifications.clickToConfirm"),children:e("settings.notifications.unconfirmed")})}),sorter:(G,X)=>Number(G.flagConfirmed)-Number(X.flagConfirmed),responsive:["sm"]}],U={selectedRowKeys:m,onChange:G=>{console.log("selectedRowKeys changed: ",G),h(G)}},z=d.jsxs("div",{style:{marginBottom:16,display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(250px, 1fr))",gap:16,alignItems:"start"},children:[d.jsxs(ra,{mode:"multiple",placeholder:e("settings.notifications.filterBy")+" "+e("settings.notifications.colType"),onChange:A,children:[d.jsx(Uc,{value:"success",children:e("settings.notifications.success")}),d.jsx(Uc,{value:"info",children:e("settings.notifications.info")}),d.jsx(Uc,{value:"warning",children:e("settings.notifications.warning")}),d.jsx(Uc,{value:"error",children:e("settings.notifications.error")})]}),d.jsx(ra,{mode:"multiple",placeholder:e("settings.notifications.filterBy")+" "+e("settings.notifications.colContext"),onChange:j,children:M.map(G=>d.jsx(Uc,{value:G,children:G},G))}),d.jsxs(ra,{mode:"multiple",placeholder:e("settings.notifications.filterBy")+" "+e("settings.notifications.colStatus"),onChange:D,children:[d.jsx(Uc,{value:"Confirmed",children:e("settings.notifications.confirmed")}),d.jsx(Uc,{value:"Unconfirmed",children:e("settings.notifications.unconfirmed")})]}),d.jsx(Ff.RangePicker,{onChange:G=>{E(G&&G[0]&&G[1]?[G[0].toDate(),G[1].toDate()]:[null,null])},placeholder:[e("settings.notifications.startDate"),e("settings.notifications.endDate")]}),d.jsx(Sn,{placeholder:e("settings.notifications.searchIn")+" "+e("settings.notifications.colTitle"),onChange:G=>R(G.target.value)}),d.jsx(Sn,{placeholder:e("settings.notifications.searchIn")+" "+e("settings.notifications.colDetails"),onChange:G=>O(G.target.value)})]}),W=[{key:"search-filter",label:e(S?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:z}],q=()=>{m.forEach(G=>{const X=String(G);r(X),h([])})},K=()=>{const G=m.map(X=>String(X));o(G)};return d.jsxs(d.Fragment,{children:[d.jsx("h1",{children:e("settings.notifications.title")}),d.jsx(qp,{style:{width:"100%",marginBottom:16},children:d.jsx(Ui,{items:W,defaultActiveKey:S?[]:["search-filter"],onChange:()=>w(!S),bordered:!1,style:{width:"100%"}})}),d.jsxs(qp,{style:{display:"flex",gap:8,justifyContent:"space-between"},children:[m.length>0?d.jsxs(qp,{style:{display:"flex",gap:8},children:[d.jsx(mt,{onClick:K,children:e("settings.notifications.removeSelectedNotifications")}),d.jsx(mt,{onClick:q,children:e("settings.notifications.confirmSelectedNotifications")})," "]}):d.jsx(qp,{}),d.jsx(qp,{children:d.jsx(mt,{onClick:a,children:e("settings.notifications.removeAll")})})]}),d.jsx(Ya,{tableLayout:"auto",size:"small",rowSelection:U,dataSource:i.map(G=>({uuid:G.uuid,type:G.type,title:G.title,description:G.description,context:G.context,date:G.date,flagConfirmed:G.flagConfirmed})),columns:L,pagination:{current:b,pageSize:y,showSizeChanger:!0,pageSizeOptions:[10,20,30,50],onChange:(G,X)=>{C(G),x(X)},locale:{items_per_page:e("settings.notifications.pageSelector")}},sticky:{offsetHeader:0},rowKey:"uuid",expandable:f?{expandedRowRender:G=>d.jsxs("div",{children:[d.jsxs("strong",{children:[e("settings.notifications.colDetails"),":"]})," ",G.description,G.context?d.jsxs("div",{children:[d.jsx("br",{}),d.jsxs("strong",{children:[e("settings.notifications.colContext"),":"]})," ",G.context," "]}):null,d.jsx("br",{}),c?d.jsxs("div",{children:[d.jsxs("strong",{children:[e("settings.notifications.colStatus"),":"]})," ",G.flagConfirmed?e("settings.notifications.confirmed"):d.jsx(nn,{title:e("settings.notifications.clickToConfirm"),children:e("settings.notifications.unconfirmed")})]}):null]}),rowExpandable:G=>G.description!==void 0}:void 0})]})},g5e=()=>{const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(qf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.notifications.navigationTitle")}]}),d.jsx(ir,{children:d.jsx(p5e,{})})]})]})},{Paragraph:c7,Text:m5e}=zn,h5e=()=>{const{t:e}=Yt(),[t,n]=l.useState([]),r=l.useRef(null),[a,o]=l.useState(!1),i=g=>{let m="";for(let h=0;h=32&&x<=126?m+=String.fromCharCode(x):m+="."}return m},s=g=>{let m="";for(let x=0;x=y&&(h=h-2*y),h},c={"15-15452":g=>{if(g.length===16){const m=g.slice(8)+g.slice(0,8);n(h=>[...h,`UnknownTag | ${m}`])}else console.log(`Incorrect payload length for '${g}'. Unable to rearrange.`)},"15-16065":g=>{if(g.length===16){const m=g.slice(8)+g.slice(0,8);n(h=>[...h,`KnownTag | ${m}`])}else console.log(`Incorrect payload length for '${g}'. Unable to rearrange.`)},"12-15427":g=>{if(g.length===8){const m=s(g);n(h=>[...h,`UpsideState | ${m}`])}else console.log(`Incorrect payload length for '${g}'. Unable to rearrange.`)},"12-15426":g=>{if(g.length===8){const m=s(g);n(h=>[...h,`UprightState | ${m}`])}else console.log(`Incorrect payload length for '${g}'. Unable to rearrange.`)}};l.useEffect(()=>{if(a){const g=new EventSource("/api/sse");return g.onopen=()=>{console.log("Connection established.")},g.addEventListener("keep-alive",m=>{console.log("keep-alive event received:",m)}),g.addEventListener("pressed",m=>{const h=JSON.parse(m.data);n(y=>[...y,"Pressed: "+h.data])}),g.addEventListener("rtnl-raw-log2",m=>{const h=JSON.parse(m.data),y=`${"Raw2 | #"+h.data.sequence+" Uptime: "+h.data.uptime+" Func: "+h.data.function_group.toString().padStart(2," ")+"-"+h.data.function+" Payload: '"+h.data.field6+"' ASCII: '"+i(h.data.field6)+"'"}`;n(b=>[...b,y]);const x=`${h.data.function_group.toString().padStart(2," ")}-${h.data.function}`;c[x]&&c[x](h.data.field6)}),g.addEventListener("rtnl-raw-log3",m=>{const h=JSON.parse(m.data);n(y=>[...y,"Raw3 | Datetime: "+h.data.datetime+" Unknown: "+h.data.field2])}),g.onerror=m=>{console.error("EventSource failed:",m)},()=>{console.log("Connection closed."),g.close()}}else return},[a]),l.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=g=>{o(g)},f=()=>{n([])};return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(qf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("settings.rtnl.title")}),d.jsxs(c7,{style:{margin:"8px 0"},children:[d.jsxs(c7,{children:[d.jsx(To,{checked:a,onChange:u,style:{marginRight:8}}),d.jsx(m5e,{children:e("settings.rtnl.enableRtnl")})]}),d.jsx(hr,{children:e("settings.rtnl.title")}),d.jsx("div",{className:"rtnl-log-container",ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:oc()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:d.jsx(CA,{language:"log",style:oc()==="dark"?TY:RY,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` +`)})}),d.jsx(mt,{onClick:f,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})},Vv=new nr(Yn()),{useToken:v5e}=Tr,b5e=()=>{var C;const{t:e}=Yt(),{token:t}=v5e(),{addNotification:n,setFetchCloudStatus:r}=Cr(),[a,o]=l.useState(),[i,s]=l.useState(51),[c,u]=l.useState(!0),[f,g]=l.useState(""),[m,h]=l.useState(!0);Kn.initialize(n,e,r),l.useEffect(()=>{(async()=>{try{const w=await Vv.apiGetTeddyCloudSettingRaw("core.settings_level");if(!w.ok)throw new Error(`HTTP error! status: ${w.status}`);const I=await w.json();g(I.toString())}catch(w){console.error("Error fetching settings level: ",w)}})()},[]),l.useEffect(()=>{if(!f)return;f&&(async()=>{var I,E;h(!0);const w=await Vv.apiGetIndexGet("");(I=w==null?void 0:w.options)!=null&&I.length&&((E=w==null?void 0:w.options)==null?void 0:E.length)>0&&(o(w),Kn.getInstance().initializeSettings(w.options,void 0)),h(!1)})()},[f]);const y=async()=>{try{await Vv.apiTriggerWriteConfigGet()}catch(S){n(xt.Error,e("settings.errorWhileSavingConfig"),e("settings.errorWhileSavingConfigDetails")+S,e("tonieboxes.navigationTitle"))}},x=async S=>{try{await Vv.apiPostTeddyCloudSetting("core.settings_level",S),y(),g(S)}catch(w){n(xt.Error,e("settings.errorWhileSavingConfig"),e("settings.errorWhileSavingConfigDetails")+w,e("tonieboxes.navigationTitle"))}};l.useEffect(()=>{const S=document.querySelector("footer"),w=()=>{S&&s(S.offsetHeight||0);const E=window.scrollY,_=window.innerHeight,R=document.documentElement.scrollHeight;E+_>=R-20?u(!1):u(!0)};let I=null;return S&&(s(S.offsetHeight||0),I=new ResizeObserver(E=>{for(let _ of E){const R=_.target;R===S&&s(R.offsetHeight)}w()}),I.observe(S)),window.addEventListener("scroll",w),window.addEventListener("resize",w),w(),()=>{window.removeEventListener("scroll",w),window.removeEventListener("resize",w),I&&I.disconnect()}},[]);const b=d.jsx("div",{style:{position:"sticky",bottom:i-1,padding:"16px 0",marginBottom:-24,backgroundColor:t.colorBgContainer,zIndex:501},id:"save-panel",className:"sticky-save-panel",children:d.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:[d.jsx("div",{style:{padding:8,fontSize:"smaller",color:t.colorTextDescription},children:c&&e("settings.keepScrolling")}),d.jsx(gX,{})]})});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(qf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("settings.title")}),d.jsx(qn,{message:e("settings.information"),description:d.jsxs("div",{children:[e("settings.hint")," ",d.jsx(vt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),d.jsx(qn,{message:e("settings.warning"),description:d.jsx("div",{children:e("settings.warningHint")}),type:"info",showIcon:!0,style:{margin:"8px 0"}}),d.jsx(hr,{children:e("settings.title")}),m?d.jsx(ic,{}):d.jsx(fX,{initialValues:{test:"test"},onSubmit:S=>{},children:d.jsx(wn,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(C=a==null?void 0:a.options)==null?void 0:C.map((S,w,I)=>{if(S.iD.includes("core.settings_level"))return null;const E=S.iD.split("."),_=I[w-1]?I[w-1].iD.split("."):[];return d.jsxs(ge.Fragment,{children:[E.slice(0,-1).map((R,N)=>_[N]!==R?N===0?d.jsxs("h3",{style:{marginLeft:`${N*20}px`,marginBottom:"10px"},children:["Category ",R]},`category-${R}`):d.jsxs("h4",{style:{marginLeft:`${N*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",R]},`category-${R}`):null),d.jsx(pX,{noOverlay:!0,iD:S.iD})]},w)})})}),d.jsx(hr,{children:e("settings.levelLabel")}),d.jsxs(so.Group,{value:f,onChange:S=>x(S.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:m||Kn.getInstance().hasUnchangedChanges(),children:[d.jsx(so.Button,{value:"1",children:"Basic"},"1"),d.jsx(so.Button,{value:"2",children:"Detail"},"2"),d.jsx(so.Button,{value:"3",children:"Expert"},"3")]}),b]})]})]})},y5e=()=>{const{t:e}=Yt(),{Paragraph:t}=zn;return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(qf,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("settings.certificates.title")}),d.jsx(t,{children:d.jsx(qn,{message:e("settings.certificates.information"),description:d.jsxs("div",{children:[e("settings.certificates.hint")," ",d.jsx(vt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),d.jsx(t,{children:d.jsx(MA,{})})]})]})]})},u7=new nr(Yn()),x5e=()=>{const{t:e}=Yt(),{addNotification:t}=Cr(),[n,r]=l.useState([]),[a,o]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const u=await u7.apiGetTonieboxesIndex();r(u)}catch(u){t(xt.Error,e("tonieboxes.errorFetchingTonieboxes"),e("tonieboxes.errorFetchingTonieboxes")+": "+u,e("tonieboxes.navigationTitle"))}})(),(async()=>{try{const u=await u7.apiGetNewBoxesAllowed();o(u)}catch(u){t(xt.Error,e("settings.errorFetchingSetting"),e("settings.errorFetchingSettingDetails",{setting:"core.allowNewBox"})+u,e("tonieboxes.navigationTitle"))}})()},[]);const i=a?d.jsx(qn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonieboxes.title")}),i,d.jsx(mX,{tonieboxCards:n})]})]})]})},S5e=new nr(Yn()),{Paragraph:Al}=zn,{useToken:C5e}=Tr,w5e=()=>{const{t:e}=Yt(),{token:t}=C5e(),{addNotification:n}=Cr(),[r,a]=l.useState(!0),[o,i]=l.useState([]),s=[{id:"cc3200",url:"https://forum.revvox.de/t/teddycloud-cc3200-newbie-guide/925/1",title:"TeddyCloud CC3200 Newbie HowTo"},{id:"cc3235",url:"https://forum.revvox.de/t/teddycloud-cc3235-newbie-howto/899/1",title:"TeddyCloud CC3235 Newbie HowTo"},{id:"esp32",url:"https://forum.revvox.de/t/teddycloud-esp32-newbie-documentation-deprecated/112/1",title:"TeddyCloud ESP32 Newbie HowTo"}],c=async()=>{const f=await Promise.all(s.map(async({id:g,url:m,title:h})=>{try{if((await fetch(m,{method:"HEAD",mode:"no-cors"})).status===0)return{id:g,url:m,title:h}}catch{}return null}));i(f.filter(g=>g!==null))};l.useEffect(()=>{c()},[]),l.useEffect(()=>{(async()=>{try{const g=await S5e.apiGetNewBoxesAllowed();a(g)}catch(g){n(xt.Error,e("settings.errorFetchingSetting"),e("settings.errorFetchingSettingDetails",{setting:"core.allowNewBox"})+g,e("tonieboxes.navigationTitle"))}})()},[]);const u=[{children:d.jsxs(d.Fragment,{children:[d.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.setupTeddyCloud")}),d.jsx(Al,{children:e("tonieboxes.boxSetup.setupTeddyCloudText")}),d.jsx("ul",{children:d.jsxs("li",{children:[d.jsxs(vt,{to:"#",onClick:()=>AO(!0),children:[e("tonieboxes.downloadC2DerFile")," (CC3200)"]})," ","|"," ",d.jsxs(vt,{to:"#",onClick:()=>AO(!1),children:[e("tonieboxes.downloadCADerFile")," (CC3235, ESP32)"]})]})})]}),dot:d.jsx(gO,{}),color:t.colorSuccess,style:{paddingBottom:8}},{children:d.jsxs(d.Fragment,{children:[d.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.identifyTonieboxVersion")}),d.jsx(Al,{children:e("tonieboxes.boxSetup.identifyTonieboxVersionText")}),d.jsxs("ul",{children:[d.jsx("li",{children:d.jsx(vt,{to:"/tonieboxes/boxsetup/boxversioninfo",children:e("tonieboxes.boxSetup.boxVersion.title")})}),d.jsx("li",{children:d.jsx(vt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.openBoxGuide.title")})}),d.jsx("li",{children:d.jsx(vt,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyTonieboxVersion")})})]})]}),dot:d.jsx(Nm,{}),style:{paddingBottom:8}},{children:d.jsxs(d.Fragment,{children:[d.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.flashBox")}),d.jsx(Al,{children:e("tonieboxes.boxSetup.flashBoxText")}),d.jsxs("ul",{children:[d.jsxs("li",{children:[d.jsx(vt,{to:"/tonieboxes/boxsetup/esp32/flashing",children:"ESP32"}),d.jsx("ul",{style:{marginBottom:0},children:d.jsx("li",{children:d.jsx(vt,{to:"/tonieboxes/boxsetup/esp32/legacy",children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})})]}),d.jsx("li",{children:d.jsx(vt,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:"CC3200"})}),d.jsx("li",{children:d.jsx(vt,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:"CC3235"})})]}),o.length>0&&d.jsxs(Al,{children:[d.jsx(Al,{children:e("tonieboxes.boxSetup.newbieGuides")}),d.jsx("ul",{children:o.map(({id:f,url:g,title:m})=>d.jsx("li",{children:d.jsx("a",{href:g,target:"_blank",children:m})},f))})]})]}),dot:d.jsx(tg,{}),style:{paddingBottom:8}},{children:d.jsxs(d.Fragment,{children:[d.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.useIt")}),d.jsx(Al,{children:e("tonieboxes.boxSetup.useItText")})]}),dot:d.jsx(Mq,{}),style:{paddingBottom:8}}];return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonieboxes.boxSetup.title")}),!r&&d.jsx(qn,{type:"warning",showIcon:!0,message:e("tonieboxes.noNewBoxesAllowed"),description:e("tonieboxes.noNewBoxesAllowedText"),style:{marginBottom:16}}),d.jsx(qn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),d.jsxs(Al,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.boxSetupIntro1")," ",d.jsx(vt,{to:Zd,target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroForum")})," ",e("tonieboxes.boxSetup.boxSetupIntro2")," ",d.jsx(vt,{to:uA,target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroTelegram")})," ",e("tonieboxes.boxSetup.boxSetupIntro3")]}),d.jsx(Al,{style:{marginTop:16},children:d.jsx(eA,{items:u})})," "]})]})]})},{Paragraph:kl,Title:d7}=zn,{useToken:E5e}=Tr,I5e=()=>{const{t:e}=Yt(),{token:t}=E5e(),n=[{name:"V1/V2 CC3200",pros:[e("tonieboxes.boxSetup.boxVersion.cc3200pro1"),e("tonieboxes.boxSetup.boxVersion.cc3200pro2"),e("tonieboxes.boxSetup.boxVersion.cc3200pro3"),e("tonieboxes.boxSetup.boxVersion.cc3200pro4"),e("tonieboxes.boxSetup.boxVersion.cc3200pro5")],cons:[e("tonieboxes.boxSetup.boxVersion.cc3200con1")]},{name:"V3 CC3235",pros:[],cons:[e("tonieboxes.boxSetup.boxVersion.cc3235con1"),e("tonieboxes.boxSetup.boxVersion.cc3235con2"),e("tonieboxes.boxSetup.boxVersion.cc3235con3")]},{name:"V4 ESP32",pros:[e("tonieboxes.boxSetup.boxVersion.esp32pro1"),e("tonieboxes.boxSetup.boxVersion.esp32pro2"),e("tonieboxes.boxSetup.boxVersion.esp32pro3")],cons:[e("tonieboxes.boxSetup.boxVersion.esp32con1"),e("tonieboxes.boxSetup.boxVersion.esp32con2")]}],r=({versions:a})=>d.jsx(Ma,{gutter:16,justify:"start",children:a.map((o,i)=>d.jsx(er,{xs:24,md:12,xl:8,children:d.jsxs(bc,{title:o.name,size:"small",bordered:!0,style:{marginBottom:8},children:[d.jsx(d7,{level:5,style:{marginTop:0},children:e("tonieboxes.boxSetup.boxVersion.pros")}),o.pros.length>0?d.jsx(Zn,{dataSource:o.pros,renderItem:s=>d.jsxs(Zn.Item,{style:{flexWrap:"nowrap",alignItems:"flex-start"},children:[d.jsx(Pf,{style:{color:"green",marginRight:8,marginTop:4}}),d.jsx(kl,{style:{marginBottom:0,textAlign:"right"},children:s})]})}):d.jsx(Zn.Item,{children:d.jsx(kl,{style:{marginBottom:0,textAlign:"center"},children:e("tonieboxes.boxSetup.boxVersion.emptyPros")})}),d.jsx(d7,{level:5,style:{marginTop:0},children:e("tonieboxes.boxSetup.boxVersion.cons")}),o.cons.length>0?d.jsx(Zn,{dataSource:o.cons,renderItem:s=>d.jsxs(Zn.Item,{style:{flexWrap:"nowrap",alignItems:"flex-start"},children:[d.jsx(Ha,{style:{color:t.colorError,marginRight:8,marginTop:4}}),d.jsx(kl,{style:{marginBottom:0,textAlign:"right"},children:s})]})}):d.jsx(Zn.Item,{children:d.jsx(kl,{style:{marginBottom:0,textAlign:"center"},children:e("tonieboxes.boxSetup.boxVersion.emptyCons")})})]})},i))});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")},{title:e("tonieboxes.boxSetup.boxVersion.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonieboxes.boxSetup.boxVersion.title")}),d.jsxs(kl,{children:[e("tonieboxes.boxSetup.boxVersion.intro"),d.jsxs("ul",{children:[d.jsxs("li",{children:[d.jsx("b",{children:"V1/V2"}),": ",e("tonieboxes.boxSetup.boxVersion.uses")," TI CC3200"]}),d.jsxs("li",{children:[d.jsx("b",{children:"V3"}),": ",e("tonieboxes.boxSetup.boxVersion.uses")," TI CC3235"]}),d.jsxs("li",{children:[d.jsx("b",{children:"V4"}),": ",e("tonieboxes.boxSetup.boxVersion.uses")," ESP32"]})]})]}),d.jsx("h3",{children:e("tonieboxes.boxSetup.boxVersion.whatVersion")}),d.jsx(kl,{children:e("tonieboxes.boxSetup.boxVersion.whatVersionIntro")}),d.jsx(r,{versions:n}),d.jsx("h4",{children:e("tonieboxes.boxSetup.boxVersion.whatVersionConclusionHeader")}),d.jsx(kl,{children:e("tonieboxes.boxSetup.boxVersion.whatVersionConclusion")}),d.jsx("h3",{children:e("tonieboxes.boxSetup.boxVersion.howToIdentify")}),d.jsxs(kl,{children:[e("tonieboxes.boxSetup.boxVersion.howToIdentifyIntro"),d.jsxs("ul",{children:[d.jsxs("li",{children:[d.jsx("b",{children:e("tonieboxes.boxSetup.boxVersion.countryOfManufacture")})," ",e("tonieboxes.boxSetup.boxVersion.countryOfManufactureText")]}),d.jsxs("li",{children:[d.jsx("b",{children:e("tonieboxes.boxSetup.boxVersion.macAddressCheck")})," ",e("tonieboxes.boxSetup.boxVersion.macAddressCheckText")]})]}),e("tonieboxes.boxSetup.boxVersion.howToIdentifyOutro")," ",d.jsx(vt,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyTonieboxVersion")})]})]})]})]})},_5e="/web/assets/3235_pcb-BE0vs2bl.png",T5e="/web/assets/3235_pcb_preview-DkVKgZS0.png",R5e="/web/assets/3200_pcb-Dxz0Vi-z.png",O5e="/web/assets/3200_pcb_preview-BvQM-e4R.png",$5e="/web/assets/cc3200-B-jSkbsy.jpg",N5e="/web/assets/cc3235-Cr21bWbC.jpg",A5e="/web/assets/esp32_pcb-CWEYHEzm.png",k5e="/web/assets/esp32_pcb_preview-Bh1UGQPK.png",P5e="/web/assets/esp32-B_b6hCjy.jpg",{Paragraph:ka}=zn,{useToken:D5e}=Tr,M5e=()=>{const{t:e}=Yt(),{token:t}=D5e(),n=uc(),[r,a]=l.useState(""),[o,i]=l.useState(""),[s,c]=l.useState(null),[u,f]=l.useState(null),g=E=>E.replace(/[^a-zA-Z0-9-:]/g,"").trim(),m=async()=>{c(null),f(null);try{const E=await fetch(`https://api.macvendors.com/${encodeURIComponent(r)}`);if(!E.ok)throw new Error("MAC address not found or invalid");const _=await E.text();c(_)}catch(E){f(E.message)}},[h,y]=l.useState(s!=null&&s.toLowerCase().includes("espressif")?"esp32":"cc3200");l.useEffect(()=>{s!=null&&s.toLowerCase().includes("espressif")?y("esp32"):y("cc3200")},[s]);const x=d.jsxs(d.Fragment,{children:[d.jsx(ka,{children:e("tonieboxes.boxSetup.identifyVersion.cc3200text")}),d.jsx(ka,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",gap:16},children:d.jsxs(Un.PreviewGroup,{children:[d.jsx(ka,{style:{maxWidth:400},children:d.jsx(Un,{src:R5e,alt:"PCB CC3200",placeholder:d.jsx(Un,{preview:!1,src:O5e})})}),d.jsx(ka,{style:{maxWidth:"100%"},children:d.jsx(Un,{src:$5e,style:{height:300,width:"auto"},alt:"Chip CC3200"})})]})})]}),b=d.jsxs(d.Fragment,{children:[d.jsx(ka,{children:e("tonieboxes.boxSetup.identifyVersion.cc3235text")}),d.jsx(ka,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",gap:16},children:d.jsxs(Un.PreviewGroup,{children:[d.jsx(ka,{style:{maxWidth:400},children:d.jsx(Un,{src:_5e,alt:"PCB CC3235",placeholder:d.jsx(Un,{preview:!1,src:T5e})})}),d.jsx(ka,{style:{maxWidth:"100%"},children:d.jsx(Un,{src:N5e,style:{height:300,width:"auto"},alt:"Chip CC3235"})})]})})]}),C=d.jsxs(d.Fragment,{children:[d.jsx(ka,{children:e("tonieboxes.boxSetup.identifyVersion.esp32text")}),d.jsx(ka,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",gap:16},children:d.jsxs(Un.PreviewGroup,{children:[d.jsx(ka,{style:{maxWidth:400},children:d.jsx(Un,{src:A5e,alt:"PCB ESP32",placeholder:d.jsx(Un,{preview:!1,src:k5e})})}),d.jsx(ka,{style:{maxWidth:"100%"},children:d.jsx(Un,{src:P5e,style:{height:300,width:"auto"},alt:"Chip ESP32"})})]})})]}),S=[{key:"cc3200",label:"CC3200",children:x},{key:"cc3235",label:"CC3235",children:b},{key:"esp32",label:"ESP32",children:C}],w=d.jsxs(d.Fragment,{children:[d.jsx(vu,{activeKey:h,onChange:E=>y(E),defaultActiveKey:s!=null&&s.toLowerCase().includes("espressif")?"esp32":"cc3200",items:S.filter(E=>((s==null?void 0:s.toLowerCase().includes("texas"))||!s)&&E.key==="cc3200"||((s==null?void 0:s.toLowerCase().includes("texas"))||!s)&&E.key==="cc3235"||((s==null?void 0:s.toLowerCase().includes("espressif"))||!s)&&E.key==="esp32"),indicator:{size:E=>E-20,align:"center"}}),d.jsxs(ka,{children:[e("tonieboxes.boxSetup.identifyVersion.proceedToFlash1")," "]}),d.jsx(ka,{style:{marginTop:16},children:d.jsx(mt,{type:"primary",onClick:()=>n(`../tonieboxes/boxsetup/${h}/flashing`),children:`${h.toUpperCase()} ${e("tonieboxes.boxSetup.identifyVersion.proceedToFlashLinkText")}`})})]}),I=()=>{a(""),c(null),i(""),f(null)};return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")},{title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonieboxes.boxSetup.identifyVersion.title")}),d.jsxs(wn,{children:[d.jsxs(ka,{children:[e("tonieboxes.boxSetup.identifyVersion.identifyUsingMac")," "]}),d.jsxs(wn.Item,{children:[d.jsxs(Ma,{align:"middle",style:{display:"flex",alignItems:"center"},children:[d.jsx(er,{style:{flex:"0 0 250px",color:o?"#CC3010":"unset"},children:d.jsx("label",{children:e("tonieboxes.boxSetup.identifyVersion.mac")})}),d.jsx(er,{style:{flex:"1 1 auto"},children:d.jsx(Sn,{type:"text",value:r,onChange:E=>{let _=g(E.target.value),R="";_.length>17?R=e("tonieboxes.boxSetup.identifyVersion.boxMacTooLong"):R="",a(_),i(R)},addonBefore:d.jsx(Ha,{onClick:I,style:{color:r?t.colorText:t.colorTextDisabled,cursor:r?"pointer":"default"}})})})]}),o&&d.jsx("p",{style:{color:"#CC3010"},children:o})]}),d.jsx(mt,{icon:d.jsx(My,{}),disabled:r.length>17||r.length===0,type:"primary",onClick:m,children:e("tonieboxes.boxSetup.identifyVersion.identify")}),d.jsxs(ka,{style:{fontSize:"small",marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.macvendors")," ",d.jsx(vt,{to:"https://macvendors.com/",target:"_blank",children:e("tonieboxes.boxSetup.identifyVersion.macvendorsLink")})]})]}),s?d.jsxs(d.Fragment,{children:[d.jsx(qn,{style:{marginTop:16},type:"success",description:d.jsxs(d.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.vendor"),": ",d.jsx("b",{children:s})," ",e("tonieboxes.boxSetup.identifyVersion.boxVersion"),s.includes("Espressif")?d.jsx("b",{children:" ESP32"}):d.jsxs(d.Fragment,{children:[d.jsx("b",{children:" CC3200"})," ",e("tonieboxes.boxSetup.identifyVersion.or"),d.jsx("b",{children:" CC3235"})]})," ",e("tonieboxes.boxSetup.identifyVersion.version"),"."]})}),s.toLowerCase().includes("texas")?d.jsx(ka,{style:{marginTop:16},children:e("tonieboxes.boxSetup.identifyVersion.tiInstruction")}):""]}):u?d.jsx(qn,{style:{marginTop:16},type:"error",description:d.jsx(d.Fragment,{children:e("tonieboxes.boxSetup.identifyVersion.errorMac")})}):"",d.jsxs(ka,{style:{marginTop:16},children:[s?"":d.jsxs(d.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.generalInstruction1")," ",d.jsx(nn,{title:e("tonieboxes.boxSetup.openBoxGuide.linkTooltip"),children:d.jsx(vt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.identifyVersion.generalInstructionLinkText")})})," ",e("tonieboxes.boxSetup.identifyVersion.generalInstruction2")]}),w]})]})]})]})},L5e="/web/assets/openTB_step1_1-4vwQGflo.png",j5e="/web/assets/openTB_step1_2-DIZc5DI4.png",F5e="/web/assets/openTB_step2-DhjDRq3m.png",B5e="/web/assets/openTB_step3-Dn6Mo3hQ.png",z5e="/web/assets/openTB_step4-Bj5i-Kw_.png",H5e="/web/assets/openTB_step5-DTGOEBgD.png",{Paragraph:Hs}=zn;function U5e(){const{t:e}=Yt(),[t,n]=l.useState(!0),[r,a]=l.useState(500);l.useEffect(()=>{let i;return i=window.setInterval(()=>{n(s=>!s),a(s=>s===500?2e3:500)},r),()=>clearInterval(i)},[r]);const o=[{children:d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step1")}),t?d.jsx(Un,{src:L5e,style:{maxWidth:350},alt:""}):d.jsx(Un,{src:j5e,style:{maxWidth:350},alt:""}),d.jsxs(Hs,{style:{marginTop:16},children:[d.jsxs("ul",{children:[d.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step1Text1")}),d.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step1Text2")})]}),d.jsxs(Hs,{children:[d.jsx(Yo,{})," ",e("tonieboxes.boxSetup.openBoxGuide.step1Text3")]})]})]}),style:{paddingBottom:8}},{children:d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step2")}),d.jsx(Un,{style:{maxWidth:350},src:F5e,alt:""}),d.jsx(Hs,{style:{marginTop:16},children:d.jsx("ul",{children:d.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step2Text")})})})]}),style:{paddingBottom:8}},{children:d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step3")}),d.jsx(Un,{style:{maxWidth:350},src:B5e,alt:""}),d.jsx(Hs,{style:{marginTop:16},children:d.jsx("ul",{children:d.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step3Text")})})})]}),style:{paddingBottom:8}},{children:d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step4")}),d.jsx(Un,{style:{maxWidth:350},src:z5e,alt:""}),d.jsx(Hs,{style:{marginTop:16},children:d.jsx("ul",{children:d.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step4Text")})})})]}),style:{paddingBottom:8}},{children:d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxSetup.openBoxGuide.step5")}),d.jsx(Un,{style:{maxWidth:350},src:H5e,alt:""}),d.jsx(Hs,{style:{marginTop:16},children:d.jsxs("ul",{children:[d.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step5Text1")}),d.jsx("li",{children:e("tonieboxes.boxSetup.openBoxGuide.step5Text2")})]})})]}),style:{paddingBottom:8}},{children:d.jsx(d.Fragment,{children:d.jsx(Hs,{children:e("tonieboxes.boxSetup.openBoxGuide.finally")})}),dot:d.jsx(Mq,{}),style:{paddingBottom:8}}];return d.jsxs(d.Fragment,{children:[d.jsx("h1",{children:e("tonieboxes.boxSetup.openBoxGuide.title")}),d.jsxs(Hs,{style:{fontSize:"small"},children:[e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart1")," ",d.jsx(vt,{to:e("tonieboxes.boxSetup.openBoxGuide.link1"),target:"_blank",children:"iFixit[1]"})," ",e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart2")," ",d.jsx(vt,{to:e("tonieboxes.boxSetup.openBoxGuide.link2"),target:"_blank",children:"iFixit[2]"}),". ",e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart3")," ",d.jsx(vt,{to:"https://www.ifixit.com/User/828031/Tobias+Isakeit",children:"Tobias Isakeit"})," ",e("tonieboxes.boxSetup.openBoxGuide.guideSourcePart4")," ",d.jsxs(vt,{to:"https://creativecommons.org/licenses/by-nc-sa/3.0/",target:"_blank",children:[e("tonieboxes.boxSetup.openBoxGuide.guideSourceLicense"),"."]})]}),d.jsx(Un.PreviewGroup,{children:d.jsx(eA,{mode:"left",items:o})}),d.jsxs(Hs,{children:[e("tonieboxes.boxSetup.openBoxGuide.alternativeGuidelineVideo")," ",d.jsx(vt,{to:"https://www.youtube.com/watch?v=Cv9ID4-P6_A",target:"_blank",children:"https://www.youtube.com/watch?v=Cv9ID4-P6_A"})]})]})}const V5e=()=>{const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")},{title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}]}),d.jsx(ir,{children:U5e()})]})]})},W5e="/web/assets/tb-esp32-uart-clamp-D_86EMpu.png",G5e="/web/assets/esp32_pcb_clamp-Cw2o3uco.png",q5e="/web/assets/tb-esp32-uart-BDPWj6EB.png",K5e="/web/assets/uart_3v3-5V_jumper_black-BW2kS97B.jpg",Y5e="/web/assets/uart_3v3-5V_jumper_switch-Cl7yHFlu.jpg",X5e="/web/assets/uart_3v3-5V_jumper_yellow-d4JFD7jo.jpg",CT=new nr(Yn());function hX(){const{t:e}=Yt(),{Paragraph:t,Text:n}=zn;return d.jsx(qn,{type:"warning",showIcon:!0,message:e("tonieboxes.boxSetup.UARTHint.title"),description:d.jsxs(d.Fragment,{children:[d.jsx(t,{children:e("tonieboxes.boxSetup.UARTHint.noUSBCVersion")}),d.jsx(t,{children:e("tonieboxes.boxSetup.UARTHint.description")}),d.jsxs("ol",{style:{paddingLeft:20},children:[d.jsx("li",{children:d.jsxs(Fa,{direction:"vertical",size:"small",style:{display:"flex",marginTop:8},children:[d.jsx(n,{strong:!0,children:e("tonieboxes.boxSetup.UARTHint.voltageCompatibility")}),d.jsxs(t,{children:[d.jsx(t,{children:e("tonieboxes.boxSetup.UARTHint.voltageCompatibilityText1")}),d.jsx(t,{children:e("tonieboxes.boxSetup.UARTHint.voltageCompatibilityText2")})]}),d.jsxs(Fa,{size:"small",children:[d.jsx(Un,{src:K5e,preview:!1,alt:e("tonieboxes.boxSetup.UARTHint.imageAlt1"),style:{maxHeight:75}}),d.jsx(Un,{src:Y5e,preview:!1,alt:e("tonieboxes.boxSetup.UARTHint.imageAlt2"),style:{maxHeight:75}}),d.jsx(Un,{src:X5e,preview:!1,alt:e("tonieboxes.boxSetup.UARTHint.imageAlt3"),style:{maxHeight:75}})]}),d.jsx(t,{children:d.jsx(n,{strong:!0,type:"danger",children:e("tonieboxes.boxSetup.UARTHint.warning")})})]})}),d.jsx("li",{children:d.jsxs(Fa,{direction:"vertical",size:"small",style:{display:"flex",marginTop:8},children:[d.jsx(n,{strong:!0,children:e("tonieboxes.boxSetup.UARTHint.uartDriver")}),d.jsx(t,{children:e("tonieboxes.boxSetup.UARTHint.updateDriver")})]})})]})]})})}const{Paragraph:Pn}=zn;function vX(){const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(Pn,{children:hX()}),d.jsx(Pn,{children:e("tonieboxes.connectESP32Modal.connectESP32Text1")}),d.jsx(Pn,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center"},children:d.jsx(Un,{src:q5e,style:{height:200,width:"auto"},preview:!1,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103")})}),d.jsx("h5",{children:e("tonieboxes.connectESP32Modal.esp32UartJ103ClampTitle")}),d.jsx(Pn,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexWrap:"wrap",gap:16},children:d.jsxs(Un.PreviewGroup,{children:[d.jsxs("div",{style:{maxWidth:200},children:[d.jsx(Un,{style:{height:200,width:"auto"},src:W5e,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp")}),d.jsx(Pn,{style:{marginTop:8},children:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp")})]}),d.jsxs("div",{style:{maxWidth:200},children:[d.jsx(Un,{style:{height:200,width:"auto"},src:G5e,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103AnalogClamp")}),d.jsx(Pn,{style:{marginTop:8},children:e("tonieboxes.connectESP32Modal.esp32UartJ103AnalogClamp")})]})]})}),d.jsx(Pn,{children:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp4PinHint")}),d.jsx(Pn,{children:e("tonieboxes.connectESP32Modal.connectESP32Text2")}),d.jsx(qn,{type:"warning",message:e("tonieboxes.connectESP32Modal.beware"),description:e("tonieboxes.connectESP32Modal.warningText")}),d.jsx("h5",{children:e("tonieboxes.connectESP32Modal.normalMode")}),d.jsx(Pn,{children:e("tonieboxes.connectESP32Modal.normalModeText")}),d.jsx(Hn,{language:"shell",code:`ESP-ROM:esp32s3-20210327 +Build:Mar 27 2021 +rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) +SPIWP:0xee +mode:DIO, clock div:1 +load:0x3fcd0108,len:0x118 +load:0x403b6000,len:0xb90 +load:0x403ba000,len:0x27f4 +entry 0x403b61c4 ++ gibberish`}),d.jsx("h5",{children:e("tonieboxes.connectESP32Modal.downloadMode")}),d.jsx(Pn,{children:e("tonieboxes.connectESP32Modal.downloadModeText")}),d.jsx(Hn,{language:"shell",code:`ESP-ROM:esp32s3-20210327 +Build:Mar 27 2021 +rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0)) +waiting for download +J103 Pinout`})]})}function LA(e){const{t}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(Pn,{children:t("tonieboxes.boxFlashingCommon.certificatesIntro")}),d.jsx(Pn,{children:d.jsx(mt,{onClick:()=>AO(e),children:t(e?"tonieboxes.downloadC2DerFile":"tonieboxes.downloadCADerFile")})}),d.jsx("h4",{children:t("tonieboxes.boxFlashingCommon.dumpCertificates")}),d.jsx(Pn,{children:t("tonieboxes.boxFlashingCommon.dumpCertificatesIntro1")}),d.jsx(Pn,{children:t("tonieboxes.boxFlashingCommon.dumpCertificatesIntro2")})]})}function bX(){const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.title")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.intro")}),d.jsxs("ul",{children:[d.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.installCC3200Tool.pythonText1"),d.jsx(vt,{to:"https://www.python.org/downloads/",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.pythonTextLink")}),e("tonieboxes.boxFlashingCommon.installCC3200Tool.pythonText2")]}),d.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.installCC3200Tool.gitText1"),d.jsx(vt,{to:"https://git-scm.com/book/en/v2/Getting-Started-Installing-Git",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.gitTextLink")}),e("tonieboxes.boxFlashingCommon.installCC3200Tool.gitText2")]}),d.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.installCC3200Tool.pipText1"),d.jsx(vt,{to:"https://pip.pypa.io/en/stable/installation/",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.pipTextLink")}),e("tonieboxes.boxFlashingCommon.installCC3200Tool.pipText2")]})]}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.text")}),d.jsx(Pn,{children:d.jsx(Hn,{language:"shell",code:"pip install git+git://github.com/toniebox-reverse-engineering/cc3200tool.git"})}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.textAlternatively")}),d.jsx(Pn,{children:d.jsx(Hn,{language:"shell",code:"pip install git+https://github.com/toniebox-reverse-engineering/cc3200tool.git"})}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.moreInformation")}),d.jsx(vt,{to:"https://github.com/toniebox-reverse-engineering/cc3200tool",target:"_blank",children:e("tonieboxes.boxFlashingCommon.installCC3200Tool.link")})]})}function yX(){const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.dnsHint")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.dnsText1")}),d.jsx(qn,{type:"warning",showIcon:!0,message:e("tonieboxes.boxFlashingCommon.dnsBeware"),description:e("tonieboxes.boxFlashingCommon.dnsBewareText"),style:{marginBottom:16}}),d.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.alternativeDNSSolutions")}),d.jsx("h5",{children:e("tonieboxes.boxFlashingCommon.openWrt.usingOpenWrt")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.openWrt.dnsText2")}),d.jsx(Pn,{children:d.jsx(Hn,{language:"shell",code:`uci set dhcp.teddycloud="tag" +uci set dhcp.teddycloud.dhcp_option="3,1.2.3.4" # 1.2.3.4=teddycloud ip + +uci add dhcp host +uci set dhcp.@host[-1].name="toniebox_1" +uci set dhcp.@host[-1].mac="00:11:22:33:44:55" # toniebox mac +uci set dhcp.@host[-1].ip="1.2.3.101" # toniebox_1 ip +uci set dhcp.@host[-1].tag="teddycloud" +uci commit dhcp +/etc/init.d/dnsmasq restart`})}),d.jsx("h5",{children:e("tonieboxes.boxFlashingCommon.adguard.usingAdGuard")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.setupInstructionsTitle")}),d.jsx("strong",{children:e("tonieboxes.boxFlashingCommon.adguard.prerequisitesTitle")}),d.jsxs("ul",{children:[d.jsxs("li",{children:[e("tonieboxes.boxFlashingCommon.adguard.adGuardRequirement"),d.jsx("ul",{style:{marginBottom:0},children:d.jsxs("li",{children:[" ",e("tonieboxes.boxFlashingCommon.adguard.moreInformation")," ",d.jsx(vt,{to:"https://adguard.com/",target:"_blank",children:"https://adguard.com/"})]})})]}),d.jsx("li",{children:e("tonieboxes.boxFlashingCommon.adguard.teddyCloudIp")}),d.jsx("li",{children:e("tonieboxes.boxFlashingCommon.adguard.tonieboxIp")})]}),d.jsx(Pn,{children:d.jsx("strong",{children:e("tonieboxes.boxFlashingCommon.adguard.stepsTitle")})}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.step1Title")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.step1Instructions")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.step2Title")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.step2Instructions")}),d.jsx(Hn,{language:"shell",code:`||prod.de.tbs.toys^$dnsrewrite=NOERROR;A;XXX.XXX.XXX.XXX,client=YYY.YYY.YYY.YYY +||rtnl.bxcl.de^$dnsrewrite=NOERROR;A;XXX.XXX.XXX.XXX,client=YYY.YYY.YYY.YYY`}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.explanationTitle")}),d.jsxs(Pn,{children:[d.jsx("strong",{children:"||prod.de.tbs.toys^"}),": ",e("tonieboxes.boxFlashingCommon.adguard.prodDomainExplanation")]}),d.jsxs(Pn,{children:[d.jsx("strong",{children:"$dnsrewrite=NOERROR;A;XXX.XXX.XXX.XXX"}),":"," ",e("tonieboxes.boxFlashingCommon.adguard.dnsRewriteExplanation")]}),d.jsxs(Pn,{children:[d.jsx("strong",{children:"client=YYY.YYY.YYY.YYY"}),": ",e("tonieboxes.boxFlashingCommon.adguard.clientExplanation")]}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.step3Title")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.step3Instructions")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.step4Title")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.ipReservationInstructions")}),d.jsx(Pn,{children:e("tonieboxes.boxFlashingCommon.adguard.loggingMonitoringInstructions")})]})}const ox=({boxVersion:e,isOpen:t,onClose:n})=>{const{t:r}=Yt(),[a,o]=l.useState([]),[i,s]=l.useState(!1),[c,u]=l.useState(!1);l.useEffect(()=>{t&&f()},[t,i]);const f=async()=>{u(!0);try{const y=await CT.apiGetTonieboxesIndex(),x=await Promise.all(y.map(async b=>{const S=await CT.apiGetTonieboxStatus(b.ID)?"Online":"Offline",w=await CT.apiGetTonieboxVersion(b.ID);let E={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"}[w]||"UNKNOWN";return{...b,status:S,version:E}}));o(x)}catch(y){console.error("Error fetching tonieboxes:",y)}finally{u(!1)}},g=[{title:r("tonieboxes.availableBoxModal.commonName"),dataIndex:"commonName",key:"commonName"},{title:r("tonieboxes.availableBoxModal.boxVersion"),dataIndex:"version",key:"version"},{title:r("tonieboxes.availableBoxModal.status"),dataIndex:"status",key:"status"}],m=d.jsxs(Pn,{style:{display:"flex",gap:8,justifyContent:"flex-end",flexWrap:"wrap"},children:[d.jsx(mt,{onClick:async()=>{u(!0),s(y=>!y),await f()},children:r("tonieboxes.availableBoxModal.recheck")}),d.jsx(mt,{type:"primary",onClick:n,children:r("tonieboxes.availableBoxModal.ok")})]}),h=()=>d.jsx(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE,description:d.jsxs("div",{children:[d.jsx(Pn,{children:r("tonieboxes.noData")}),d.jsx(Pn,{children:r("tonieboxes.noDataText")})]})});return d.jsxs(Jn,{title:r("tonieboxes.availableBoxModal.availableBoxes",{boxVersion:e}),open:t,onOk:n,onCancel:n,footer:m,children:[d.jsxs(Pn,{children:[d.jsx(Pn,{children:r("tonieboxes.availableBoxModal.newBoxAvailable",{cc3200Hint:e===Si.cc3200?r("tonieboxes.availableBoxModal.cc3200Hint"):""})}),d.jsx(vt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/test-troubleshooting/",target:"_blank",children:r("tonieboxes.availableBoxModal.troubleShooting")})]}),d.jsx("h4",{children:r("tonieboxes.availableBoxModal.availableBoxes",{boxVersion:e})}),c?d.jsx("div",{style:{display:"flex",justifyContent:"center",padding:"20px"},children:d.jsx(yc,{size:"default"})}):d.jsx(Ya,{dataSource:a.filter(y=>y.version===e),columns:g,rowKey:"ID",pagination:!1,locale:{emptyText:h()}}),a.filter(y=>y.version===e).length>0?d.jsxs(Pn,{style:{marginTop:16},children:[r("tonieboxes.boxSetup.uploadCertificatesToBox"),d.jsx(vt,{to:"/tonieboxes",children:r("tonieboxes.navigationTitle")})]}):""]})},GO=({})=>{const{t:e}=Yt(),[t,n]=l.useState(!1),r=()=>{n(!0)},a=()=>{n(!1)},o=d.jsx(Jn,{title:e("tonieboxes.boxSetup.uploadCertificates"),open:t,onCancel:a,footer:d.jsx(mt,{type:"primary",onClick:a,children:e("settings.close")}),cancelText:"Close",children:d.jsx(MA,{})});return d.jsxs(d.Fragment,{children:[d.jsx(Pn,{children:e("tonieboxes.boxSetup.uploadCertificateIntro")}),d.jsxs(Pn,{children:[d.jsx(mt,{onClick:r,children:e("tonieboxes.boxSetup.uploadCertificateButton")}),o]})]})},Z5e="/web/assets/cc3200_debugPort-CUfuhKbo.jpg",J5e="/web/assets/cc3200_tagConnector-C5CJTEin.png",Q5e="/web/assets/cc3200_wiresAsTagConnector-BuyL-dME.png",eze="/web/assets/cc3200_installCfwFlashUpload-D3jB7q0q.png",{Paragraph:pn}=zn,{Step:tze}=ll,nze=()=>{const{t:e}=Yt(),t=Ur.language,[n,r]=l.useState(0),[a,o]=l.useState(""),[i,s]=l.useState(""),[c,u]=l.useState(!1),f=Q=>Q.replace(/[^a-zA-Z0-9-.]/g,"").trim(),g=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.cc3200BoxFlashing.bootloader")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.cc3200BoxFlashing.patches")},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}],m=[{key:"1",toniebox1:"GND",toniebox2:"",uart:"GND"},{key:"2",toniebox1:"TX",toniebox2:"",uart:"RX"},{key:"3",toniebox1:"RX",toniebox2:"",uart:"TX"},{key:"4",toniebox1:"RST",toniebox2:"",uart:"DTR"},{key:"5",toniebox1:"VCC",toniebox2:"SOP2*",uart:""},{key:"6",toniebox1:"SOP2",toniebox2:"VCC*",uart:""}],h=[{title:"Toniebox",dataIndex:"toniebox1",key:"toniebox1"},{title:"Toniebox",dataIndex:"toniebox2",key:"toniebox2"},{title:"UART",dataIndex:"uart",key:"uart"}],y=()=>d.jsx(Ya,{dataSource:m,columns:h,pagination:!1,bordered:!0,size:"small",style:{width:300}}),x=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),d.jsx(qn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:d.jsxs(d.Fragment,{children:[d.jsx(pn,{children:e("tonieboxes.hintLatestFirmware")}),d.jsx(pn,{children:e("tonieboxes.hintLatestFirmwareFactoryResetCC3200")})]}),style:{marginBottom:16}}),d.jsxs(pn,{children:[e("tonieboxes.cc3235BoxFlashing.preparationText")," ",d.jsx(vt,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.preparationTextLink")})]}),bX(),d.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.connectToToniebox")}),d.jsx(pn,{}),d.jsxs(pn,{children:[e("tonieboxes.cc3200BoxFlashing.connectToTonieboxIntro"),d.jsx(pn,{children:d.jsx(Un,{src:Z5e,style:{maxHeight:200,width:"auto",marginTop:8},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")})}),d.jsx(pn,{children:hX()}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectTableIntro")}),y(),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectTableExplanation")})]}),d.jsxs(pn,{children:[e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectDebugPortText1"),d.jsx(vt,{to:"https://www.tag-connect.com/product/tc2050-idc-nl-10-pin-no-legs-cable-with-ribbon-connector",target:"_blank",children:"TC2050-IDC-NL TagConnector"}),e("tonieboxes.cc3200BoxFlashing.connectToTonieboxConnectDebugPortText2")]}),d.jsx(pn,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexWrap:"wrap",gap:16},children:d.jsxs(Un.PreviewGroup,{children:[d.jsxs("div",{style:{maxHeight:200,justifyItems:"center"},children:[d.jsx(Un,{src:J5e,style:{maxWidth:200,height:"auto"},alt:e("tonieboxes.cc3200BoxFlashing.tagConnector")}),d.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3200BoxFlashing.tagConnector")})]}),d.jsxs("div",{style:{maxHeight:200,justifyItems:"center"},children:[d.jsx(Un,{src:Q5e,style:{maxWidth:200,height:"auto"},alt:e("tonieboxes.cc3200BoxFlashing.usingThinWiresAsTagConnector")}),d.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3200BoxFlashing.usingThinWiresAsTagConnector")})]})]})}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxText")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxProceed")})]}),b=[{key:"/cert/ca.der",file:"/cert/ca.der",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.caDer")},{key:"/cert/private.der",file:"/cert/private.der",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.privateDer")},{key:"/cert/client.der",file:"/cert/client.der",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.clientDer")},{key:"/sys/mcuimg.bin",file:"/sys/mcuimg.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.originalBootloader")},{key:"/sys/mcuimg1.bin",file:"/sys/mcuimg1.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.firstSlot")},{key:"/sys/mcuimg2.bin",file:"/sys/mcuimg2.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.secondSlot")},{key:"/sys/mcuimg3.bin",file:"/sys/mcuimg3.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.thirdSlot")},{key:"/sys/mcubootinfo.bin",file:"/sys/mcubootinfo.bin",description:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.mcuBootInfo")}],C=[{title:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.file"),dataIndex:"file",key:"file"},{title:e("tonieboxes.cc3200BoxFlashing.installingBootloader.importantTBFiles.description"),dataIndex:"description",key:"description"}],S=()=>d.jsx(Ya,{dataSource:b,columns:C,pagination:!1}),w=d.jsxs(d.Fragment,{children:[d.jsx("b",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.moveOriginal")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.moveOriginalText1")}),d.jsxs(pn,{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.moveOriginalText2"),d.jsx(Hn,{language:"shell",code:"cc3200tool -p COM3 write_file ExtractedFromBox/sys/mcuimg.bin /sys/pre-img.bin"})]}),d.jsxs("b",{children:[" ",e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.installPreloader")]}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.installPreloaderText1")}),d.jsx(Hn,{language:"shell",code:"cc3200tool -p COM3 write_file flash/sys/mcuimg.bin /sys/mcuimg.bin"}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.installPreloaderText2")})]}),I=d.jsxs(d.Fragment,{children:[d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.intro")}),d.jsx("b",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.backup")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.backupText")}),d.jsx(Hn,{language:"url",code:"http://*.*.*.*/api/ajax?cmd=get-flash-file&filepath=/sys/pre-img.bin"}),d.jsx("b",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloader")}),d.jsx(pn,{children:d.jsx("div",{style:{maxHeight:400,justifyItems:"center"},children:d.jsx(Un,{src:eze,style:{maxHeight:400,width:"auto",maxWidth:"100%"},alt:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.updatingCFWUsingOldCFWWebGui")})})}),d.jsx(pn,{children:d.jsxs("ul",{children:[d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep1")}),d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep2")}),d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep3")}),d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep4")}),d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.copyOverPreloaderStep5")})]})}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.outro")}),d.jsx(Hn,{language:"url",code:"http://*.*.*.*/api/ajax?cmd=get-flash-file&filepath=/sys/mcuimg.bin"})]}),E=[{key:"firstTime",label:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.title"),children:w},{key:"updateExisting",label:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.title"),children:I}],_=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.bootloader")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.intro")}),d.jsx(pn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -p COM3 read_all_files ExtractedFromBox/ read_flash backup.bin"})}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.resetCommand")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.inCaseText")}),d.jsx(pn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -p COM3 read_all_files ExtractedFromBox/ "})}),d.jsx(pn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -p COM3 read_flash backup.bin"})}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.verifyBackup")}),d.jsx(pn,{children:S()}),d.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installBootloader")}),d.jsxs(pn,{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.downloadText1"),d.jsx(vt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/releases",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.downloadLink")}),e("tonieboxes.cc3200BoxFlashing.installingBootloader.downloadText2")]}),d.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.preface.title")}),d.jsxs(pn,{children:[d.jsxs(pn,{children:[" ",e("tonieboxes.cc3200BoxFlashing.installingBootloader.preface.intro")]}),d.jsx(pn,{children:d.jsxs("ul",{children:[d.jsxs("li",{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage1"),d.jsxs("ul",{children:[d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.firstInstallation.title")}),d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.existingInstallation.title")})]})]}),d.jsx("li",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage2")})]})})]}),d.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage1")}),d.jsx(vu,{items:E,indicator:{size:Q=>Q-20,align:"center"}}),d.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.stage2")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.intro")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.text1")}),d.jsxs(pn,{children:[e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.text2"),d.jsx(vt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/bootloader/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installingBootloader.installingBootloaderStage2.here")}),"."]})]}),R=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),d.jsx(pn,{children:LA(!0)}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.certificates.alreadyAvailable")}),d.jsx(pn,{children:d.jsx(Hn,{language:"shell",code:"/currentDir/ExtractedFromBox/cert/."})}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.certificates.extractAgain")}),d.jsx(pn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -p COM3 read_file /cert/ca.der ExtractedFromBox/cert/ca.der read_file /cert/private.der ExtractedFromBox/cert/private.der read_file /cert/client.der ExtractedFromBox/cert/client.der"})}),d.jsx(pn,{children:d.jsx(GO,{})}),d.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacement")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementIntro")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementText")}),d.jsx(Hn,{language:"shell",code:"cc3200tool -p COM3 write_file c2.der /cert/c2.der"}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementOutro")})]}),N=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.patches")}),d.jsx(vt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.patchesMoreInformationLink")}),d.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.predefinedUrlPatches")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.predefinedUrlPatchesIntro")}),d.jsx(Ui,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.altUrlFritzBoxPatch.CollapseTitle"),children:d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.altUrlFritzBoxPatch.text")})}],style:{marginBottom:16,marginTop:16}}),d.jsx(Ui,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.altUrlPatch.CollapseTitle"),children:d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.altUrlPatch.text")})}],style:{marginBottom:16}}),d.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.customUrlPatch")}),d.jsx(qn,{description:e("tonieboxes.cc3200BoxFlashing.customUrlPatchHint"),type:"warning",style:{marginBottom:8}}),d.jsxs(wn,{children:[d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.hintPatchHost")}),d.jsxs(wn.Item,{children:[d.jsxs(Ma,{align:"middle",style:{display:"flex",alignItems:"center"},children:[d.jsx(er,{style:{flex:"0 0 200px",color:i?"#CC3010":"unset"},children:d.jsx("label",{children:e("tonieboxes.cc3200BoxFlashing.hostname")})}),d.jsx(er,{style:{flex:"1 1 auto"},children:d.jsx(Sn,{type:"text",value:a,onChange:Q=>{let ee=f(Q.target.value),te="";ee.length>12?te=e("tonieboxes.cc3200BoxFlashing.hostnameTooLong"):te="",o(ee),s(te)}})})]}),i&&d.jsx("p",{style:{color:"#CC3010"},children:i})]})]})]}),O=[{key:"1",keyName:"activeImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.activeImgDesc"),values:"ofw1, ofw2, ofw3, cfw1, cfw2, cfw3, add1, add2, add3",defaultValue:"ofw1"},{key:"2",keyName:"waitForPress",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForPressDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"waitForBoot",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForBootDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"waitTimeoutInS",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitTimeoutInSDesc"),values:"1-255",defaultValue:"60"},{key:"5",keyName:"minBatteryLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.minBatteryLevelDesc"),values:"",defaultValue:"8869"},{key:"6",keyName:"ofwFixValue",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixValueDesc"),values:"hex array with 4 bytes",defaultValue:'["4C", "01", "10", "00"]'},{key:"7",keyName:"ofwFixFlash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixFlashDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"serialLog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.serialLogDesc"),values:"true, false",defaultValue:"true"},{key:"9",keyName:"logLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logLevelDesc"),values:"0-5",defaultValue:"DEBUG_LOG_LEVEL"},{key:"10",keyName:"logColor",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logColorDesc"),values:"true, false",defaultValue:"false"}],$=[{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.key"),dataIndex:"keyName",key:"keyName",width:120},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.description"),dataIndex:"description",key:"description"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.values"),dataIndex:"values",key:"values"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.default"),dataIndex:"defaultValue",key:"defaultValue"}],A=[{key:"1",keyName:"checkHash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.checkHashDesc"),values:"true, false",defaultValue:"true"},{key:"2",keyName:"hashFile",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.hashFileDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"watchdog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.watchdogDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"ofwFix",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixDesc"),values:"true, false",defaultValue:"false"},{key:"5",keyName:"ofwSimBL",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwSimBLDesc"),values:"true, false",defaultValue:"false"},{key:"6",keyName:"bootFlashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.bootFlashImgDesc"),values:"true, false",defaultValue:"false"},{key:"7",keyName:"flashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.flashImgDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"patches",description:d.jsxs(d.Fragment,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchesDesc")," ",d.jsx(vt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/tree/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchDirectory")}),", ",d.jsx(vt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchWiki")})]}),values:'["noCerts.305", "noPass3.305"]',defaultValue:"[]"}],B={general:{activeImg:"ofw2",_descWaitForPress:"Waits for an earpress on startup",waitForPress:!1,_descWaitForBoot:"Waits for an earpress before firmware boot",waitForBoot:!1,waitTimeoutInS:60,_descMinBatteryLevel:"Divide through 2785 to get voltage",minBatteryLevel:8869,ofwFixFlash:"/sys/pre-img.bin",_descSerialLog:"Logging only works with the debug build!",serialLog:!1,_descLogLevel:"0:Trace - 5:Fatal",logLevel:0,_descLogColor:"Use colors in log output",logColor:!1},ofw1:{checkHash:!1,hashFile:!1,watchdog:!0,bootFlashImg:!0,flashImg:"/sys/pre-img.bin"},ofw2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!0,patches:["altCa.305","altUrl.custom.305"]},ofw3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,patches:["altCa.305","altUrl.tc.fritz.box"]},cfw1:{checkHash:!1,hashFile:!1,watchdog:!0},cfw2:{checkHash:!1,hashFile:!1,watchdog:!0},cfw3:{checkHash:!1,hashFile:!1,watchdog:!0},add1:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["blockCheck.310","noCerts.305","noPass3.310","noPrivacy.305","uidCheck.307"]},add2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]},add3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]}},j=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}),d.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesWithNgCfgJson")}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.introduction")}),d.jsx(Ui,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.collapseTitle"),children:d.jsxs(pn,{children:[d.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.title")}),d.jsxs(pn,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part1")," ",d.jsx(vt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/ngCfg.json",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_link")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part2")]}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part3")}),d.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.generalSection")}),d.jsx(Ya,{dataSource:O,columns:$,pagination:!1,size:"small"}),d.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSection")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSectionIntro"),d.jsx(Ya,{dataSource:A,columns:$,pagination:!1,size:"small"})]})}],style:{marginBottom:16}}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part1")}),d.jsx(Hn,{language:"json",code:`{ + "general": { + "activeImg": "ofw2", + ...`}),d.jsx(pn,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part2")}),d.jsx(Hn,{language:"json",code:`... + "ofw2": { + "checkHash": true, + "hashFile": false, + "watchdog": true, + "ofwFix": true, + "ofwSimBL": true, + "patches": ["altCa.305", "altUrl.custom.305"] + }, +...`}),d.jsx(Ui,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.examplengCFGJsonCollapse.collapseTitle"),children:d.jsx(pn,{children:d.jsx(Hn,{language:"shell",code:JSON.stringify(B,null,2)})})}],style:{marginBottom:16}}),d.jsx(pn,{style:{marginTop:16},children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.finish")})]}),[F,D]=l.useState([x,_,R,N,j]),k=(Q,ee)=>{D(te=>{const oe=[...te];return oe[Q]=ee,oe}),window.scrollTo({top:0,behavior:"smooth"})};l.useEffect(()=>{k(n,(()=>{switch(n){case 0:return x;case 1:return _;case 2:return R;case 3:return N;case 4:return j;default:return d.jsx("div",{})}})())},[n,a,t,oc()]);const M=()=>{r(n-1)},L=()=>{r(n+1)},H=d.jsx(mt,{icon:d.jsx(Is,{}),onClick:()=>M(),children:e("tonieboxes.cc3200BoxFlashing.previous")}),U=Q=>{r(Q)},z=()=>{W()},W=()=>{u(!0)},q=()=>{u(!1)},K=d.jsx(ox,{boxVersion:Si.cc3200,isOpen:c,onClose:q}),G={general:{_desc:"Changes Boxine URLs to custom ones.",_memPos:"",_fwVer:"3.0.5+"},searchAndReplace:[{_desc:"prod.de.tbs.toys to ",search:["70","72","6f","64","2e","64","65","2e","74","62","73","2e","74","6f","79","73","00"],replace:["70","72","6f","64","2e","72","65","76","76","6f","78","00","??","??","??","??","??"]},{_desc:"rtnl.bxcl.de to ",search:["72","74","6e","6c","2e","62","78","63","6c","2e","64","65","00"],replace:["72","74","6e","6c","2e","72","65","76","76","6f","78","00","??"]}]},X=(Q,ee)=>{const te=Q.split("").map(we=>we.charCodeAt(0).toString(16).padStart(2,"0"));te.push("00");const oe=te.length,fe=ee-oe;return fe>0?te.concat(Array.from({length:fe},()=>"??")):te},Z=Q=>({...G,searchAndReplace:(te=>te.map(oe=>{const le=X(Q,oe.replace.length);return{...oe,_desc:`${oe._desc}${Q}`,replace:le}}))(G.searchAndReplace)}),J=Q=>`{ + "general": { + "_desc": "${Q.general._desc}", + "_memPos": "${Q.general._memPos}", + "_fwVer": "${Q.general._fwVer}" + }, + "searchAndReplace": [${Q.searchAndReplace.map(ee=>`{ + "_desc": "${ee._desc}", + "search": ["${ee.search.join('", "')}"], + "replace": ["${ee.replace.join('", "')}"] + }`).join(", ")}] +}`,ne=()=>{(ee=>{const te=Z(ee),oe=J(te),le=new Blob([oe],{type:"application/json"}),fe=URL.createObjectURL(le),ue=document.createElement("a");ue.href=fe,ue.download="altUrl.custom.305.json",document.body.appendChild(ue),ue.click(),document.body.removeChild(ue)})(a)};return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),d.jsx(hr,{children:e("tonieboxes.cc3200BoxFlashing.title")}),d.jsxs(pn,{children:[d.jsx(ll,{current:n,onChange:U,children:g.map((Q,ee)=>d.jsx(tze,{title:Q.title,status:ee===n&&ee===g.length?"finish":ee===n?"process":ee12||a.length===0,type:"primary",onClick:ne,children:e("tonieboxes.cc3200BoxFlashing.createPatch")})}),d.jsx("div",{children:d.jsx(mt,{icon:d.jsx(Do,{}),iconPosition:"end",onClick:()=>L(),children:e("tonieboxes.cc3200BoxFlashing.next")})})]}),n===4&&d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[H,d.jsx("div",{children:d.jsx(mt,{icon:d.jsx(nc,{}),type:"primary",onClick:z,children:e("tonieboxes.cc3200BoxFlashing.checkBoxes")})}),d.jsx("div",{})]})]})]}),K]})]})]})},rze="/web/assets/cc3235_flash-D2YMWv70.jpg",aze="/web/assets/cc3235_smd_grippers-MdbEjaZo.jpg",oze="/web/assets/01_CH341A_programmer_1-BWh6CFRm.png",ize="/web/assets/01_CH341A_programmer_2-DLQkFrYM.png",sze="/web/assets/02_CH341A_sop8_1-B7nvMxlQ.jpg",lze="/web/assets/02_CH341A_sop8_2-CW3KfcCM.jpg",cze="/web/assets/02_CH341A_sop8_3-B20tcrp3.jpg",uze="/web/assets/02_CH341A_sop8_remove-D-uCy9Q0.jpg",{Paragraph:Qn}=zn,{Step:dze}=ll,fze=()=>{const{t:e}=Yt(),t=Ur.language,[n,r]=l.useState(0),[a,o]=l.useState(!1),[i,s]=l.useState("picoHW"),[c,u]=l.useState("pico");l.useEffect(()=>{u(i.slice(0,-2))},[i]);const f=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.boxFlashingCommon.dns")}],g=d.jsxs(d.Fragment,{children:[d.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.installSerprogFirmware")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.pico.preparation")}),d.jsx(Qn,{children:d.jsx(vt,{to:"https://github.com/stacksmashing/pico-serprog",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.serprogFirmwareLink")})})]}),m=d.jsxs(d.Fragment,{children:[d.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341AProgrammer")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.preparation")}),d.jsxs("ul",{children:[d.jsxs("li",{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep1"),d.jsx("div",{style:{display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:16,margin:8},children:d.jsx(Un,{src:oze,style:{maxHeight:200,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341AProgrammer")})})]}),d.jsxs("li",{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep2"),d.jsx("div",{style:{display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:16,margin:8},children:d.jsx(Un,{src:uze,style:{maxHeight:100,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341Sop8remove")})})]}),d.jsx("li",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep3")}),d.jsxs("li",{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prep4"),d.jsx(Hn,{language:"shell",code:`lsusb + +~$ lsusb +Bus 004 Device 012: ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C mode, EPP/I2C adapter +Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub +Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub +Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub +Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub`})]})]}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prepConclusions1")}),d.jsxs(Qn,{children:[e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prepConclusions2")," ",d.jsx("div",{style:{display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:16,margin:8},children:d.jsx(Un,{src:ize,style:{maxHeight:100,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.CH341AProgrammerClampConnection")})})]}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.prepConclusions3")})]}),h=[{key:"picoHW",label:"Raspberry Pi Pico",children:g},{key:"ch341aHW",label:"CH341A Programmer",children:m}],y=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),d.jsx(qn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:d.jsxs(d.Fragment,{children:[d.jsx(Qn,{children:e("tonieboxes.hintLatestFirmware")}),d.jsx(Qn,{children:e("tonieboxes.hintLatestFirmwareFactoryResetESP32CC3235")})]}),style:{marginBottom:16}}),d.jsxs(Qn,{children:[e("tonieboxes.cc3235BoxFlashing.preparationText")," ",d.jsx(vt,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.preparationTextLink")})]}),d.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.locateFlashMemory")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.locateFlashMemoryText")}),d.jsx(Ui,{size:"small",style:{marginBottom:16},items:[{key:"1",label:e("tonieboxes.cc3235BoxFlashing.flashCollapse.collapseTitle"),children:d.jsx(d.Fragment,{children:d.jsx(Qn,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexWrap:"wrap",gap:16},children:d.jsxs(Un.PreviewGroup,{children:[d.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[d.jsx(Un,{src:rze,style:{maxHeight:200,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")}),d.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")})]}),d.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[d.jsx(Un,{src:aze,style:{maxHeight:200,width:"auto"},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flashWithSMDGrippers")}),d.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flashWithSMDGrippers")})]}),d.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[d.jsx(Un,{src:sze,style:{maxHeight:200,width:"auto",maxWidth:200},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")}),d.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")})]}),d.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[d.jsx(Un,{src:cze,style:{maxHeight:200,width:"auto",maxWidth:200},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")}),d.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")})]}),d.jsxs("div",{style:{maxWidth:200,justifyItems:"center"},children:[d.jsx(Un,{src:lze,style:{maxHeight:200,width:"auto",maxWidth:200},alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")}),d.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.sop8Clamp")})]})]})})})}]}),d.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.installflashromtool")}),e("tonieboxes.cc3235BoxFlashing.installflashromtoolText"),d.jsx(Hn,{language:"shell",code:"sudo apt-get install flashrom"}),d.jsx(vt,{to:"https://www.flashrom.org/",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.installflashromtoolLink")}),bX(),d.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.hwToolSpecific")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.hwToolSpecificText")}),d.jsx(vu,{onChange:M=>s(M),activeKey:c+"HW",items:h,indicator:{size:M=>M-20,align:"center"}})]}),x=d.jsxs(d.Fragment,{children:[d.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacement")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText1")}),d.jsx(qn,{type:"warning",showIcon:!0,message:e("tonieboxes.cc3235BoxFlashing.flashCAReplacementTitle"),description:d.jsxs(d.Fragment,{children:[e("tonieboxes.cc3235BoxFlashing.flashCAReplacementDescription1")," ",d.jsxs(vt,{to:"https://raw.githubusercontent.com/toniebox-reverse-engineering/teddycloud/master/contrib/gencerts.sh",target:"_blank",children:[e("tonieboxes.cc3235BoxFlashing.gencertLinkText")," "]})," ",e("tonieboxes.cc3235BoxFlashing.flashCAReplacementDescription2")," ",e("tonieboxes.cc3235BoxFlashing.flashCAReplacementDescription3")]}),style:{marginBottom:16}}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText3")})]}),b=d.jsxs(d.Fragment,{children:[d.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.pico.readingFlash")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.pico.readingFlashText1")}),d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:"flashrom -p serprog:dev=/dev/ttyACM0:921600 -r cc32xx-flash.bin --progress"})}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.pico.readingFlashText2")}),d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:`flashrom -p serprog:dev=/dev/ttyACM0:921600 -r cc32xx-flash.2.bin --progress +diff cc32xx-flash.bin cc32xx-flash.2.bin #no output = equal`})}),d.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.extractCertificates")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.useCC3200ToolToExtract")}),d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -if cc32xx-flash.bin -d cc32xx read_all_files extract/"})}),d.jsx(GO,{}),x,d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -if cc32xx-flash.bin -of cc32xx-flash.customca.bin -d cc32xx write_file ca.der /cert/ca.der"})}),d.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.pico.writingFlash")}),d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:"flashrom -p serprog:dev=/dev/ttyACM0:921600 -w cc32xx-flash.customca.bin --progress"})})]}),C=d.jsxs(d.Fragment,{children:[d.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.readingFlash")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText1")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText2")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText3")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText4")}),d.jsx(Hn,{language:"shell",code:"flashrom -p ch341a_spi -r backupCC3235-1.bin"}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText5")}),d.jsx(Hn,{language:"shell",code:"flashrom -p ch341a_spi -r backupCC3235-2.bin"}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText6")}),d.jsx(Hn,{language:"shell",code:"diff backupCC3235-1.bin backupCC3235-2.bin #no output = equal"}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText7")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.flashMemoryDumpText8")}),d.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.extractCertificates")}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.useCC3200ToolToExtract")}),d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -if backupCC3235-1.bin -d cc32xx read_all_files extract/"})}),d.jsx(GO,{}),x,d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:"cc3200tool -if backupCC3235-1.bin -of cc32xx-flash.customca.bin -d cc32xx write_file ca.der /cert/ca.der"})}),d.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.CH341AProgrammer.writingFlash")}),d.jsx(Qn,{children:d.jsx(Hn,{language:"shell",code:"flashrom -p ch341a_spi -w cc32xx-flash.customca.bin --progress"})})]}),S=[{key:"picoCE",label:"Raspberry Pi Pico",children:b},{key:"ch341aCE",label:"CH341A Programmer",children:C}],w=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),LA(!1),d.jsx("h4",{children:"CC3235"}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.dumpCertificatesCC3235")}),d.jsx(vu,{onChange:M=>s(M),activeKey:c+"CE",items:S,indicator:{size:M=>M-20,align:"center"}}),d.jsx(Qn,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText2")})]}),I=yX(),E=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.dns")}),I]}),[_,R]=l.useState([y,w,E]),N=(M,L)=>{R(H=>{const U=[...H];return U[M]=L,U})};l.useEffect(()=>{N(n,(()=>{switch(n){case 0:return y;case 1:return w;case 2:return E;default:return d.jsx("div",{})}})())},[n,t,oc(),c]),l.useEffect(()=>{window.scrollTo({top:0,behavior:"smooth"})},[n]);const O=()=>{r(n-1)},$=()=>{r(n+1)},A=d.jsx(mt,{icon:d.jsx(Is,{}),onClick:()=>O(),children:e("tonieboxes.cc3235BoxFlashing.previous")}),B=M=>{r(M)},j=()=>{F()},F=()=>{o(!0)},D=()=>{o(!1)},k=d.jsx(ox,{boxVersion:Si.cc3235,isOpen:a,onClose:D});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),d.jsx(hr,{children:e("tonieboxes.cc3235BoxFlashing.title")}),d.jsxs(Qn,{style:{marginTop:16},children:[d.jsx(ll,{current:n,onChange:B,children:f.map((M,L)=>d.jsx(dze,{title:M.title,status:L===n&&L===f.length?"finish":L===n?"process":L=0;)e[t]=0}const mze=0,xX=1,hze=2,vze=3,bze=258,jA=29,Jm=256,em=Jm+1+jA,Jd=30,FA=19,SX=2*em+1,Zc=15,wT=16,yze=7,BA=256,CX=16,wX=17,EX=18,qO=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),kb=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),xze=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),IX=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Sze=512,Xs=new Array((em+2)*2);Yf(Xs);const Sg=new Array(Jd*2);Yf(Sg);const tm=new Array(Sze);Yf(tm);const nm=new Array(bze-vze+1);Yf(nm);const zA=new Array(jA);Yf(zA);const w0=new Array(Jd);Yf(w0);function ET(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}let _X,TX,RX;function IT(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const OX=e=>e<256?tm[e]:tm[256+(e>>>7)],rm=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},Ao=(e,t,n)=>{e.bi_valid>wT-n?(e.bi_buf|=t<>wT-e.bi_valid,e.bi_valid+=n-wT):(e.bi_buf|=t<{Ao(e,n[t*2],n[t*2+1])},$X=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},Cze=e=>{e.bi_valid===16?(rm(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},wze=(e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,o=t.stat_desc.has_stree,i=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length;let u,f,g,m,h,y,x=0;for(m=0;m<=Zc;m++)e.bl_count[m]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;uc&&(m=c,x++),n[f*2+1]=m,!(f>r)&&(e.bl_count[m]++,h=0,f>=s&&(h=i[f-s]),y=n[f*2],e.opt_len+=y*(m+h),o&&(e.static_len+=y*(a[f*2+1]+h)));if(x!==0){do{for(m=c-1;e.bl_count[m]===0;)m--;e.bl_count[m]--,e.bl_count[m+1]+=2,e.bl_count[c]--,x-=2}while(x>0);for(m=c;m!==0;m--)for(f=e.bl_count[m];f!==0;)g=e.heap[--u],!(g>r)&&(n[g*2+1]!==m&&(e.opt_len+=(m-n[g*2+1])*n[g*2],n[g*2+1]=m),f--)}},NX=(e,t,n)=>{const r=new Array(Zc+1);let a=0,o,i;for(o=1;o<=Zc;o++)a=a+n[o-1]<<1,r[o]=a;for(i=0;i<=t;i++){let s=e[i*2+1];s!==0&&(e[i*2]=$X(r[s]++,s))}},Eze=()=>{let e,t,n,r,a;const o=new Array(Zc+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t{e.bi_valid>8?rm(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},g7=(e,t,n,r)=>{const a=t*2,o=n*2;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let r,a,o=0,i,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+o++]&255,r+=(e.pending_buf[e.sym_buf+o++]&255)<<8,a=e.pending_buf[e.sym_buf+o++],r===0?hs(e,a,t):(i=nm[a],hs(e,i+Jm+1,t),s=qO[i],s!==0&&(a-=zA[i],Ao(e,a,s)),r--,i=OX(r),hs(e,i,n),s=kb[i],s!==0&&(r-=w0[i],Ao(e,r,s)));while(o{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.elems;let i,s,c=-1,u;for(e.heap_len=0,e.heap_max=SX,i=0;i>1;i>=1;i--)_T(e,n,i);u=o;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],_T(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=s,n[u*2]=n[i*2]+n[s*2],e.depth[u]=(e.depth[i]>=e.depth[s]?e.depth[i]:e.depth[s])+1,n[i*2+1]=n[s*2+1]=u,e.heap[1]=u++,_T(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],wze(e,t),NX(n,c,e.bl_count)},h7=(e,t,n)=>{let r,a=-1,o,i=t[0*2+1],s=0,c=7,u=4;for(i===0&&(c=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)o=i,i=t[(r+1)*2+1],!(++s{let r,a=-1,o,i=t[0*2+1],s=0,c=7,u=4;for(i===0&&(c=138,u=3),r=0;r<=n;r++)if(o=i,i=t[(r+1)*2+1],!(++s{let t;for(h7(e,e.dyn_ltree,e.l_desc.max_code),h7(e,e.dyn_dtree,e.d_desc.max_code),KO(e,e.bl_desc),t=FA-1;t>=3&&e.bl_tree[IX[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},_ze=(e,t,n,r)=>{let a;for(Ao(e,t-257,5),Ao(e,n-1,5),Ao(e,r-4,4),a=0;a{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return f7;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return p7;for(n=32;n{b7||(Eze(),b7=!0),e.l_desc=new IT(e.dyn_ltree,_X),e.d_desc=new IT(e.dyn_dtree,TX),e.bl_desc=new IT(e.bl_tree,RX),e.bi_buf=0,e.bi_valid=0,AX(e)},PX=(e,t,n,r)=>{Ao(e,(mze<<1)+(r?1:0),3),kX(e),rm(e,n),rm(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},Oze=e=>{Ao(e,xX<<1,3),hs(e,BA,Xs),Cze(e)},$ze=(e,t,n,r)=>{let a,o,i=0;e.level>0?(e.strm.data_type===gze&&(e.strm.data_type=Tze(e)),KO(e,e.l_desc),KO(e,e.d_desc),i=Ize(e),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=n+5,n+4<=a&&t!==-1?PX(e,t,n,r):e.strategy===pze||o===a?(Ao(e,(xX<<1)+(r?1:0),3),m7(e,Xs,Sg)):(Ao(e,(hze<<1)+(r?1:0),3),_ze(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),m7(e,e.dyn_ltree,e.dyn_dtree)),AX(e),r&&kX(e)},Nze=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(nm[n]+Jm+1)*2]++,e.dyn_dtree[OX(t)*2]++),e.sym_next===e.sym_end);var Aze=Rze,kze=PX,Pze=$ze,Dze=Nze,Mze=Oze,Lze={_tr_init:Aze,_tr_stored_block:kze,_tr_flush_block:Pze,_tr_tally:Dze,_tr_align:Mze};const jze=(e,t,n,r)=>{let a=e&65535|0,o=e>>>16&65535|0,i=0;for(;n!==0;){i=n>2e3?2e3:n,n-=i;do a=a+t[r++]|0,o=o+a|0;while(--i);a%=65521,o%=65521}return a|o<<16|0};var am=jze;const Fze=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},Bze=new Uint32Array(Fze()),zze=(e,t,n,r)=>{const a=Bze,o=r+n;e^=-1;for(let i=r;i>>8^a[(e^t[i])&255];return e^-1};var Da=zze,Sf={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},ix={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Hze,_tr_stored_block:YO,_tr_flush_block:Uze,_tr_tally:Xl,_tr_align:Vze}=Lze,{Z_NO_FLUSH:Zl,Z_PARTIAL_FLUSH:Wze,Z_FULL_FLUSH:Gze,Z_FINISH:wi,Z_BLOCK:y7,Z_OK:qa,Z_STREAM_END:x7,Z_STREAM_ERROR:bs,Z_DATA_ERROR:qze,Z_BUF_ERROR:TT,Z_DEFAULT_COMPRESSION:Kze,Z_FILTERED:Yze,Z_HUFFMAN_ONLY:Wv,Z_RLE:Xze,Z_FIXED:Zze,Z_DEFAULT_STRATEGY:Jze,Z_UNKNOWN:Qze,Z_DEFLATED:sx}=ix,e7e=9,t7e=15,n7e=8,r7e=29,a7e=256,XO=a7e+1+r7e,o7e=30,i7e=19,s7e=2*XO+1,l7e=15,rr=3,Gl=258,ys=Gl+rr+1,c7e=32,Cf=42,HA=57,ZO=69,JO=73,QO=91,e$=103,Jc=113,og=666,yo=1,Xf=2,Cu=3,Zf=4,u7e=3,Qc=(e,t)=>(e.msg=Sf[t],t),S7=e=>e*2-(e>4?9:0),Fl=e=>{let t=e.length;for(;--t>=0;)e[t]=0},d7e=e=>{let t,n,r,a=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=a?n-a:0;while(--t);t=a,r=t;do n=e.prev[--r],e.prev[r]=n>=a?n-a:0;while(--t)};let f7e=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},Xo=(e,t)=>{Uze(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Go(e.strm)},xr=(e,t)=>{e.pending_buf[e.pending++]=t},Kp=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},t$=(e,t,n,r)=>{let a=e.avail_in;return a>r&&(a=r),a===0?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),e.state.wrap===1?e.adler=am(e.adler,t,a,n):e.state.wrap===2&&(e.adler=Da(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},DX=(e,t)=>{let n=e.max_chain_length,r=e.strstart,a,o,i=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-ys?e.strstart-(e.w_size-ys):0,u=e.window,f=e.w_mask,g=e.prev,m=e.strstart+Gl;let h=u[r+i-1],y=u[r+i];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+i]!==y||u[a+i-1]!==h||u[a]!==u[r]||u[++a]!==u[r+1])){r+=2,a++;do;while(u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&ri){if(e.match_start=t,i=o,o>=s)break;h=u[r+i-1],y=u[r+i]}}while((t=g[t&f])>c&&--n!==0);return i<=e.lookahead?i:e.lookahead},wf=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ys)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),d7e(e),r+=t),e.strm.avail_in===0)break;if(n=t$(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=rr)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=Jl(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=Jl(e,e.ins_h,e.window[a+rr-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,o,i=0,s=e.strm.avail_in;do{if(r=65535,o=e.bi_valid+42>>3,e.strm.avail_outa+e.strm.avail_in&&(r=a+e.strm.avail_in),r>o&&(r=o),r>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,Go(e.strm),a&&(a>r&&(a=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+a),e.strm.next_out),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a,e.block_start+=a,r-=a),r&&(t$(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(i===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_watero&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,o+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),o>e.strm.avail_in&&(o=e.strm.avail_in),o&&(t$(e.strm,e.window,e.strstart,o),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.high_water>3,o=e.pending_buf_size-o>65535?65535:e.pending_buf_size-o,n=o>e.w_size?e.w_size:o,a=e.strstart-e.block_start,(a>=n||(a||t===wi)&&t!==Zl&&e.strm.avail_in===0&&a<=o)&&(r=a>o?o:a,i=t===wi&&e.strm.avail_in===0&&r===a?1:0,YO(e,e.block_start,r,i),e.block_start+=r,Go(e.strm)),i?Cu:yo)},RT=(e,t)=>{let n,r;for(;;){if(e.lookahead=rr&&(e.ins_h=Jl(e,e.ins_h,e.window[e.strstart+rr-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-ys&&(e.match_length=DX(e,n)),e.match_length>=rr)if(r=Xl(e,e.strstart-e.match_start,e.match_length-rr),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=rr){e.match_length--;do e.strstart++,e.ins_h=Jl(e,e.ins_h,e.window[e.strstart+rr-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Jl(e,e.ins_h,e.window[e.strstart+1]);else r=Xl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Xo(e,!1),e.strm.avail_out===0))return yo}return e.insert=e.strstart{let n,r,a;for(;;){if(e.lookahead=rr&&(e.ins_h=Jl(e,e.ins_h,e.window[e.strstart+rr-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=rr-1,n!==0&&e.prev_length4096)&&(e.match_length=rr-1)),e.prev_length>=rr&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-rr,r=Xl(e,e.strstart-1-e.prev_match,e.prev_length-rr),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=Jl(e,e.ins_h,e.window[e.strstart+rr-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=rr-1,e.strstart++,r&&(Xo(e,!1),e.strm.avail_out===0))return yo}else if(e.match_available){if(r=Xl(e,0,e.window[e.strstart-1]),r&&Xo(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return yo}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Xl(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart{let n,r,a,o;const i=e.window;for(;;){if(e.lookahead<=Gl){if(wf(e),e.lookahead<=Gl&&t===Zl)return yo;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=rr&&e.strstart>0&&(a=e.strstart-1,r=i[a],r===i[++a]&&r===i[++a]&&r===i[++a])){o=e.strstart+Gl;do;while(r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=rr?(n=Xl(e,1,e.match_length-rr),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Xl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Xo(e,!1),e.strm.avail_out===0))return yo}return e.insert=0,t===wi?(Xo(e,!0),e.strm.avail_out===0?Cu:Zf):e.sym_next&&(Xo(e,!1),e.strm.avail_out===0)?yo:Xf},g7e=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(wf(e),e.lookahead===0)){if(t===Zl)return yo;break}if(e.match_length=0,n=Xl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Xo(e,!1),e.strm.avail_out===0))return yo}return e.insert=0,t===wi?(Xo(e,!0),e.strm.avail_out===0?Cu:Zf):e.sym_next&&(Xo(e,!1),e.strm.avail_out===0)?yo:Xf};function ds(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}const ig=[new ds(0,0,0,0,MX),new ds(4,4,8,4,RT),new ds(4,5,16,8,RT),new ds(4,6,32,32,RT),new ds(4,4,16,16,Rd),new ds(8,16,32,32,Rd),new ds(8,16,128,128,Rd),new ds(8,32,128,256,Rd),new ds(32,128,258,1024,Rd),new ds(32,258,258,4096,Rd)],m7e=e=>{e.window_size=2*e.w_size,Fl(e.head),e.max_lazy_match=ig[e.level].max_lazy,e.good_match=ig[e.level].good_length,e.nice_match=ig[e.level].nice_length,e.max_chain_length=ig[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=rr-1,e.match_available=0,e.ins_h=0};function h7e(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=sx,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(s7e*2),this.dyn_dtree=new Uint16Array((2*o7e+1)*2),this.bl_tree=new Uint16Array((2*i7e+1)*2),Fl(this.dyn_ltree),Fl(this.dyn_dtree),Fl(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(l7e+1),this.heap=new Uint16Array(2*XO+1),Fl(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*XO+1),Fl(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Qm=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Cf&&t.status!==HA&&t.status!==ZO&&t.status!==JO&&t.status!==QO&&t.status!==e$&&t.status!==Jc&&t.status!==og?1:0},LX=e=>{if(Qm(e))return Qc(e,bs);e.total_in=e.total_out=0,e.data_type=Qze;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?HA:t.wrap?Cf:Jc,e.adler=t.wrap===2?0:1,t.last_flush=-2,Hze(t),qa},jX=e=>{const t=LX(e);return t===qa&&m7e(e.state),t},v7e=(e,t)=>Qm(e)||e.state.wrap!==2?bs:(e.state.gzhead=t,qa),FX=(e,t,n,r,a,o)=>{if(!e)return bs;let i=1;if(t===Kze&&(t=6),r<0?(i=0,r=-r):r>15&&(i=2,r-=16),a<1||a>e7e||n!==sx||r<8||r>15||t<0||t>9||o<0||o>Zze||r===8&&i!==1)return Qc(e,bs);r===8&&(r=9);const s=new h7e;return e.state=s,s.strm=e,s.status=Cf,s.wrap=i,s.gzhead=null,s.w_bits=r,s.w_size=1<FX(e,t,sx,t7e,n7e,Jze),y7e=(e,t)=>{if(Qm(e)||t>y7||t<0)return e?Qc(e,bs):bs;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===og&&t!==wi)return Qc(e,e.avail_out===0?TT:bs);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(Go(e),e.avail_out===0)return n.last_flush=-1,qa}else if(e.avail_in===0&&S7(t)<=S7(r)&&t!==wi)return Qc(e,TT);if(n.status===og&&e.avail_in!==0)return Qc(e,TT);if(n.status===Cf&&n.wrap===0&&(n.status=Jc),n.status===Cf){let a=sx+(n.w_bits-8<<4)<<8,o=-1;if(n.strategy>=Wv||n.level<2?o=0:n.level<6?o=1:n.level===6?o=2:o=3,a|=o<<6,n.strstart!==0&&(a|=c7e),a+=31-a%31,Kp(n,a),n.strstart!==0&&(Kp(n,e.adler>>>16),Kp(n,e.adler&65535)),e.adler=1,n.status=Jc,Go(e),n.pending!==0)return n.last_flush=-1,qa}if(n.status===HA){if(e.adler=0,xr(n,31),xr(n,139),xr(n,8),n.gzhead)xr(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),xr(n,n.gzhead.time&255),xr(n,n.gzhead.time>>8&255),xr(n,n.gzhead.time>>16&255),xr(n,n.gzhead.time>>24&255),xr(n,n.level===9?2:n.strategy>=Wv||n.level<2?4:0),xr(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(xr(n,n.gzhead.extra.length&255),xr(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Da(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=ZO;else if(xr(n,0),xr(n,0),xr(n,0),xr(n,0),xr(n,0),xr(n,n.level===9?2:n.strategy>=Wv||n.level<2?4:0),xr(n,u7e),n.status=Jc,Go(e),n.pending!==0)return n.last_flush=-1,qa}if(n.status===ZO){if(n.gzhead.extra){let a=n.pending,o=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+o>n.pending_buf_size;){let s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>a&&(e.adler=Da(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,Go(e),n.pending!==0)return n.last_flush=-1,qa;a=0,o-=s}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+o),n.pending),n.pending+=o,n.gzhead.hcrc&&n.pending>a&&(e.adler=Da(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=JO}if(n.status===JO){if(n.gzhead.name){let a=n.pending,o;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Da(e.adler,n.pending_buf,n.pending-a,a)),Go(e),n.pending!==0)return n.last_flush=-1,qa;a=0}n.gzindexa&&(e.adler=Da(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=QO}if(n.status===QO){if(n.gzhead.comment){let a=n.pending,o;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Da(e.adler,n.pending_buf,n.pending-a,a)),Go(e),n.pending!==0)return n.last_flush=-1,qa;a=0}n.gzindexa&&(e.adler=Da(e.adler,n.pending_buf,n.pending-a,a))}n.status=e$}if(n.status===e$){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(Go(e),n.pending!==0))return n.last_flush=-1,qa;xr(n,e.adler&255),xr(n,e.adler>>8&255),e.adler=0}if(n.status=Jc,Go(e),n.pending!==0)return n.last_flush=-1,qa}if(e.avail_in!==0||n.lookahead!==0||t!==Zl&&n.status!==og){let a=n.level===0?MX(n,t):n.strategy===Wv?g7e(n,t):n.strategy===Xze?p7e(n,t):ig[n.level].func(n,t);if((a===Cu||a===Zf)&&(n.status=og),a===yo||a===Cu)return e.avail_out===0&&(n.last_flush=-1),qa;if(a===Xf&&(t===Wze?Vze(n):t!==y7&&(YO(n,0,0,!1),t===Gze&&(Fl(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Go(e),e.avail_out===0))return n.last_flush=-1,qa}return t!==wi?qa:n.wrap<=0?x7:(n.wrap===2?(xr(n,e.adler&255),xr(n,e.adler>>8&255),xr(n,e.adler>>16&255),xr(n,e.adler>>24&255),xr(n,e.total_in&255),xr(n,e.total_in>>8&255),xr(n,e.total_in>>16&255),xr(n,e.total_in>>24&255)):(Kp(n,e.adler>>>16),Kp(n,e.adler&65535)),Go(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?qa:x7)},x7e=e=>{if(Qm(e))return bs;const t=e.state.status;return e.state=null,t===Jc?Qc(e,qze):qa},S7e=(e,t)=>{let n=t.length;if(Qm(e))return bs;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==Cf||r.lookahead)return bs;if(a===1&&(e.adler=am(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(Fl(r.head),r.strstart=0,r.block_start=0,r.insert=0);let c=new Uint8Array(r.w_size);c.set(t.subarray(n-r.w_size,n),0),t=c,n=r.w_size}const o=e.avail_in,i=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,wf(r);r.lookahead>=rr;){let c=r.strstart,u=r.lookahead-(rr-1);do r.ins_h=Jl(r,r.ins_h,r.window[c+rr-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++;while(--u);r.strstart=c,r.lookahead=rr-1,wf(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=rr-1,r.match_available=0,e.next_in=i,e.input=s,e.avail_in=o,r.wrap=a,qa};var C7e=b7e,w7e=FX,E7e=jX,I7e=LX,_7e=v7e,T7e=y7e,R7e=x7e,O7e=S7e,$7e="pako deflate (from Nodeca project)",Cg={deflateInit:C7e,deflateInit2:w7e,deflateReset:E7e,deflateResetKeep:I7e,deflateSetHeader:_7e,deflate:T7e,deflateEnd:R7e,deflateSetDictionary:O7e,deflateInfo:$7e};const N7e=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var A7e=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)N7e(n,r)&&(e[r]=n[r])}}return e},k7e=e=>{let t=0;for(let r=0,a=e.length;r=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;om[254]=om[254]=1;var P7e=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,o,i=e.length,s=0;for(a=0;a>>6,t[o++]=128|n&63):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|n&63):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|n&63);return t};const D7e=(e,t)=>{if(t<65534&&e.subarray&&BX)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,a;const o=new Array(n*2);for(a=0,r=0;r4){o[a++]=65533,r+=s-1;continue}for(i&=s===2?31:s===3?15:7;s>1&&r1){o[a++]=65533;continue}i<65536?o[a++]=i:(i-=65536,o[a++]=55296|i>>10&1023,o[a++]=56320|i&1023)}return D7e(o,a)},L7e=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+om[e[n]]>t?n:t},im={string2buf:P7e,buf2string:M7e,utf8border:L7e};function j7e(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var zX=j7e;const HX=Object.prototype.toString,{Z_NO_FLUSH:F7e,Z_SYNC_FLUSH:B7e,Z_FULL_FLUSH:z7e,Z_FINISH:H7e,Z_OK:E0,Z_STREAM_END:U7e,Z_DEFAULT_COMPRESSION:V7e,Z_DEFAULT_STRATEGY:W7e,Z_DEFLATED:G7e}=ix;function cx(e){this.options=lx.assign({level:V7e,method:G7e,chunkSize:16384,windowBits:15,memLevel:8,strategy:W7e},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zX,this.strm.avail_out=0;let n=Cg.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==E0)throw new Error(Sf[n]);if(t.header&&Cg.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=im.string2buf(t.dictionary):HX.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=Cg.deflateSetDictionary(this.strm,r),n!==E0)throw new Error(Sf[n]);this._dict_set=!0}}cx.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let a,o;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?H7e:F7e,typeof e=="string"?n.input=im.string2buf(e):HX.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(o===B7e||o===z7e)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=Cg.deflate(n,o),a===U7e)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=Cg.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===E0;if(n.avail_out===0){this.onData(n.output);continue}if(o>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};cx.prototype.onData=function(e){this.chunks.push(e)};cx.prototype.onEnd=function(e){e===E0&&(this.result=lx.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function q7e(e,t){const n=new cx(t);if(n.push(e,!0),n.err)throw n.msg||Sf[n.err];return n.result}var K7e=q7e,Y7e={deflate:K7e};const Gv=16209,X7e=16191;var Z7e=function(t,n){let r,a,o,i,s,c,u,f,g,m,h,y,x,b,C,S,w,I,E,_,R,N,O,$;const A=t.state;r=t.next_in,O=t.input,a=r+(t.avail_in-5),o=t.next_out,$=t.output,i=o-(n-t.avail_out),s=o+(t.avail_out-257),c=A.dmax,u=A.wsize,f=A.whave,g=A.wnext,m=A.window,h=A.hold,y=A.bits,x=A.lencode,b=A.distcode,C=(1<>>24,h>>>=I,y-=I,I=w>>>16&255,I===0)$[o++]=w&65535;else if(I&16){E=w&65535,I&=15,I&&(y>>=I,y-=I),y<15&&(h+=O[r++]<>>24,h>>>=I,y-=I,I=w>>>16&255,I&16){if(_=w&65535,I&=15,yc){t.msg="invalid distance too far back",A.mode=Gv;break e}if(h>>>=I,y-=I,I=o-i,_>I){if(I=_-I,I>f&&A.sane){t.msg="invalid distance too far back",A.mode=Gv;break e}if(R=0,N=m,g===0){if(R+=u-I,I2;)$[o++]=N[R++],$[o++]=N[R++],$[o++]=N[R++],E-=3;E&&($[o++]=N[R++],E>1&&($[o++]=N[R++]))}else{R=o-_;do $[o++]=$[R++],$[o++]=$[R++],$[o++]=$[R++],E-=3;while(E>2);E&&($[o++]=$[R++],E>1&&($[o++]=$[R++]))}}else if((I&64)===0){w=b[(w&65535)+(h&(1<>3,r-=E,y-=E<<3,h&=(1<{const c=s.bits;let u=0,f=0,g=0,m=0,h=0,y=0,x=0,b=0,C=0,S=0,w,I,E,_,R,N=null,O;const $=new Uint16Array(Od+1),A=new Uint16Array(Od+1);let B=null,j,F,D;for(u=0;u<=Od;u++)$[u]=0;for(f=0;f=1&&$[m]===0;m--);if(h>m&&(h=m),m===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,s.bits=1,0;for(g=1;g0&&(e===E7||m!==1))return-1;for(A[1]=0,u=1;uC7||e===I7&&C>w7)return 1;for(;;){j=u-x,i[f]+1=O?(F=B[i[f]-O],D=N[i[f]-O]):(F=96,D=0),w=1<>x)+I]=j<<24|F<<16|D|0;while(I!==0);for(w=1<>=1;if(w!==0?(S&=w-1,S+=w):S=0,f++,--$[u]===0){if(u===m)break;u=t[n+i[f]]}if(u>h&&(S&_)!==E){for(x===0&&(x=h),R+=g,y=u-x,b=1<C7||e===I7&&C>w7)return 1;E=S&_,a[E]=h<<24|y<<16|R-o|0}}return S!==0&&(a[R+S]=u-x<<24|64<<16|0),s.bits=h,0};var wg=nHe;const rHe=0,UX=1,VX=2,{Z_FINISH:_7,Z_BLOCK:aHe,Z_TREES:qv,Z_OK:wu,Z_STREAM_END:oHe,Z_NEED_DICT:iHe,Z_STREAM_ERROR:Oi,Z_DATA_ERROR:WX,Z_MEM_ERROR:GX,Z_BUF_ERROR:sHe,Z_DEFLATED:T7}=ix,ux=16180,R7=16181,O7=16182,$7=16183,N7=16184,A7=16185,k7=16186,P7=16187,D7=16188,M7=16189,I0=16190,Us=16191,$T=16192,L7=16193,NT=16194,j7=16195,F7=16196,B7=16197,z7=16198,Kv=16199,Yv=16200,H7=16201,U7=16202,V7=16203,W7=16204,G7=16205,AT=16206,q7=16207,K7=16208,ea=16209,qX=16210,KX=16211,lHe=852,cHe=592,uHe=15,dHe=uHe,Y7=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function fHe(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Lu=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.modeKX?1:0},YX=e=>{if(Lu(e))return Oi;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=ux,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(lHe),t.distcode=t.distdyn=new Int32Array(cHe),t.sane=1,t.back=-1,wu},XX=e=>{if(Lu(e))return Oi;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,YX(e)},ZX=(e,t)=>{let n;if(Lu(e))return Oi;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?Oi:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,XX(e))},JX=(e,t)=>{if(!e)return Oi;const n=new fHe;e.state=n,n.strm=e,n.window=null,n.mode=ux;const r=ZX(e,t);return r!==wu&&(e.state=null),r},pHe=e=>JX(e,dHe);let X7=!0,kT,PT;const gHe=e=>{if(X7){kT=new Int32Array(512),PT=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(wg(UX,e.lens,0,288,kT,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;wg(VX,e.lens,0,32,PT,0,e.work,{bits:5}),X7=!1}e.lencode=kT,e.lenbits=9,e.distcode=PT,e.distbits=5},QX=(e,t,n,r)=>{let a;const o=e.state;return o.window===null&&(o.wsize=1<=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>r&&(a=r),o.window.set(t.subarray(n-r,n-r+a),o.wnext),r-=a,r?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave{let n,r,a,o,i,s,c,u,f,g,m,h,y,x,b=0,C,S,w,I,E,_,R,N;const O=new Uint8Array(4);let $,A;const B=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Lu(e)||!e.output||!e.input&&e.avail_in!==0)return Oi;n=e.state,n.mode===Us&&(n.mode=$T),i=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,f=n.bits,g=s,m=c,N=wu;e:for(;;)switch(n.mode){case ux:if(n.wrap===0){n.mode=$T;break}for(;f<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Da(n.check,O,2,0),u=0,f=0,n.mode=R7;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=ea;break}if((u&15)!==T7){e.msg="unknown compression method",n.mode=ea;break}if(u>>>=4,f-=4,R=(u&15)+8,n.wbits===0&&(n.wbits=R),R>15||R>n.wbits){e.msg="invalid window size",n.mode=ea;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(O[0]=u&255,O[1]=u>>>8&255,n.check=Da(n.check,O,2,0)),u=0,f=0,n.mode=O7;case O7:for(;f<32;){if(s===0)break e;s--,u+=r[o++]<>>8&255,O[2]=u>>>16&255,O[3]=u>>>24&255,n.check=Da(n.check,O,4,0)),u=0,f=0,n.mode=$7;case $7:for(;f<16;){if(s===0)break e;s--,u+=r[o++]<>8),n.flags&512&&n.wrap&4&&(O[0]=u&255,O[1]=u>>>8&255,n.check=Da(n.check,O,2,0)),u=0,f=0,n.mode=N7;case N7:if(n.flags&1024){for(;f<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Da(n.check,O,2,0)),u=0,f=0}else n.head&&(n.head.extra=null);n.mode=A7;case A7:if(n.flags&1024&&(h=n.length,h>s&&(h=s),h&&(n.head&&(R=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+h),R)),n.flags&512&&n.wrap&4&&(n.check=Da(n.check,r,h,o)),s-=h,o+=h,n.length-=h),n.length))break e;n.length=0,n.mode=k7;case k7:if(n.flags&2048){if(s===0)break e;h=0;do R=r[o+h++],n.head&&R&&n.length<65536&&(n.head.name+=String.fromCharCode(R));while(R&&h>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Us;break;case M7:for(;f<32;){if(s===0)break e;s--,u+=r[o++]<>>=f&7,f-=f&7,n.mode=AT;break}for(;f<3;){if(s===0)break e;s--,u+=r[o++]<>>=1,f-=1,u&3){case 0:n.mode=L7;break;case 1:if(gHe(n),n.mode=Kv,t===qv){u>>>=2,f-=2;break e}break;case 2:n.mode=F7;break;case 3:e.msg="invalid block type",n.mode=ea}u>>>=2,f-=2;break;case L7:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,u+=r[o++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=ea;break}if(n.length=u&65535,u=0,f=0,n.mode=NT,t===qv)break e;case NT:n.mode=j7;case j7:if(h=n.length,h){if(h>s&&(h=s),h>c&&(h=c),h===0)break e;a.set(r.subarray(o,o+h),i),s-=h,o+=h,c-=h,i+=h,n.length-=h;break}n.mode=Us;break;case F7:for(;f<14;){if(s===0)break e;s--,u+=r[o++]<>>=5,f-=5,n.ndist=(u&31)+1,u>>>=5,f-=5,n.ncode=(u&15)+4,u>>>=4,f-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=ea;break}n.have=0,n.mode=B7;case B7:for(;n.have>>=3,f-=3}for(;n.have<19;)n.lens[B[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,$={bits:n.lenbits},N=wg(rHe,n.lens,0,19,n.lencode,0,n.work,$),n.lenbits=$.bits,N){e.msg="invalid code lengths set",n.mode=ea;break}n.have=0,n.mode=z7;case z7:for(;n.have>>24,S=b>>>16&255,w=b&65535,!(C<=f);){if(s===0)break e;s--,u+=r[o++]<>>=C,f-=C,n.lens[n.have++]=w;else{if(w===16){for(A=C+2;f>>=C,f-=C,n.have===0){e.msg="invalid bit length repeat",n.mode=ea;break}R=n.lens[n.have-1],h=3+(u&3),u>>>=2,f-=2}else if(w===17){for(A=C+3;f>>=C,f-=C,R=0,h=3+(u&7),u>>>=3,f-=3}else{for(A=C+7;f>>=C,f-=C,R=0,h=11+(u&127),u>>>=7,f-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=ea;break}for(;h--;)n.lens[n.have++]=R}}if(n.mode===ea)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=ea;break}if(n.lenbits=9,$={bits:n.lenbits},N=wg(UX,n.lens,0,n.nlen,n.lencode,0,n.work,$),n.lenbits=$.bits,N){e.msg="invalid literal/lengths set",n.mode=ea;break}if(n.distbits=6,n.distcode=n.distdyn,$={bits:n.distbits},N=wg(VX,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,$),n.distbits=$.bits,N){e.msg="invalid distances set",n.mode=ea;break}if(n.mode=Kv,t===qv)break e;case Kv:n.mode=Yv;case Yv:if(s>=6&&c>=258){e.next_out=i,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=f,Z7e(e,m),i=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,f=n.bits,n.mode===Us&&(n.back=-1);break}for(n.back=0;b=n.lencode[u&(1<>>24,S=b>>>16&255,w=b&65535,!(C<=f);){if(s===0)break e;s--,u+=r[o++]<>I)],C=b>>>24,S=b>>>16&255,w=b&65535,!(I+C<=f);){if(s===0)break e;s--,u+=r[o++]<>>=I,f-=I,n.back+=I}if(u>>>=C,f-=C,n.back+=C,n.length=w,S===0){n.mode=G7;break}if(S&32){n.back=-1,n.mode=Us;break}if(S&64){e.msg="invalid literal/length code",n.mode=ea;break}n.extra=S&15,n.mode=H7;case H7:if(n.extra){for(A=n.extra;f>>=n.extra,f-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=U7;case U7:for(;b=n.distcode[u&(1<>>24,S=b>>>16&255,w=b&65535,!(C<=f);){if(s===0)break e;s--,u+=r[o++]<>I)],C=b>>>24,S=b>>>16&255,w=b&65535,!(I+C<=f);){if(s===0)break e;s--,u+=r[o++]<>>=I,f-=I,n.back+=I}if(u>>>=C,f-=C,n.back+=C,S&64){e.msg="invalid distance code",n.mode=ea;break}n.offset=w,n.extra=S&15,n.mode=V7;case V7:if(n.extra){for(A=n.extra;f>>=n.extra,f-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=ea;break}n.mode=W7;case W7:if(c===0)break e;if(h=m-c,n.offset>h){if(h=n.offset-h,h>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=ea;break}h>n.wnext?(h-=n.wnext,y=n.wsize-h):y=n.wnext-h,h>n.length&&(h=n.length),x=n.window}else x=a,y=i-n.offset,h=n.length;h>c&&(h=c),c-=h,n.length-=h;do a[i++]=x[y++];while(--h);n.length===0&&(n.mode=Yv);break;case G7:if(c===0)break e;a[i++]=n.length,c--,n.mode=Yv;break;case AT:if(n.wrap){for(;f<32;){if(s===0)break e;s--,u|=r[o++]<{if(Lu(e))return Oi;let t=e.state;return t.window&&(t.window=null),e.state=null,wu},vHe=(e,t)=>{if(Lu(e))return Oi;const n=e.state;return(n.wrap&2)===0?Oi:(n.head=t,t.done=!1,wu)},bHe=(e,t)=>{const n=t.length;let r,a,o;return Lu(e)||(r=e.state,r.wrap!==0&&r.mode!==I0)?Oi:r.mode===I0&&(a=1,a=am(a,t,n,0),a!==r.check)?WX:(o=QX(e,t,n,n),o?(r.mode=qX,GX):(r.havedict=1,wu))};var yHe=XX,xHe=ZX,SHe=YX,CHe=pHe,wHe=JX,EHe=mHe,IHe=hHe,_He=vHe,THe=bHe,RHe="pako inflate (from Nodeca project)",Zs={inflateReset:yHe,inflateReset2:xHe,inflateResetKeep:SHe,inflateInit:CHe,inflateInit2:wHe,inflate:EHe,inflateEnd:IHe,inflateGetHeader:_He,inflateSetDictionary:THe,inflateInfo:RHe};function OHe(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var $He=OHe;const eZ=Object.prototype.toString,{Z_NO_FLUSH:NHe,Z_FINISH:AHe,Z_OK:sm,Z_STREAM_END:DT,Z_NEED_DICT:MT,Z_STREAM_ERROR:kHe,Z_DATA_ERROR:Z7,Z_MEM_ERROR:PHe}=ix;function dx(e){this.options=lx.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zX,this.strm.avail_out=0;let n=Zs.inflateInit2(this.strm,t.windowBits);if(n!==sm)throw new Error(Sf[n]);if(this.header=new $He,Zs.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=im.string2buf(t.dictionary):eZ.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Zs.inflateSetDictionary(this.strm,t.dictionary),n!==sm)))throw new Error(Sf[n])}dx.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let o,i,s;if(this.ended)return!1;for(t===~~t?i=t:i=t===!0?AHe:NHe,eZ.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),o=Zs.inflate(n,i),o===MT&&a&&(o=Zs.inflateSetDictionary(n,a),o===sm?o=Zs.inflate(n,i):o===Z7&&(o=MT));n.avail_in>0&&o===DT&&n.state.wrap>0&&e[n.next_in]!==0;)Zs.inflateReset(n),o=Zs.inflate(n,i);switch(o){case kHe:case Z7:case MT:case PHe:return this.onEnd(o),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||o===DT))if(this.options.to==="string"){let c=im.utf8border(n.output,n.next_out),u=n.next_out-c,f=im.buf2string(n.output,c);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(c,c+u),0),this.onData(f)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(o===sm&&s===0)){if(o===DT)return o=Zs.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};dx.prototype.onData=function(e){this.chunks.push(e)};dx.prototype.onEnd=function(e){e===sm&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=lx.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var DHe=dx,MHe={Inflate:DHe};const{deflate:LHe}=Y7e,{Inflate:jHe}=MHe;var FHe=LHe,BHe=jHe;class sg{constructor(t,n=!1,r=!0){this.device=t,this.tracing=n,this.slipReaderEnabled=!1,this.leftOver=new Uint8Array(0),this.baudrate=0,this.traceLog="",this.lastTraceTime=Date.now(),this._DTR_state=!1,this.slipReaderEnabled=r}getInfo(){const t=this.device.getInfo();return t.usbVendorId&&t.usbProductId?`WebSerial VendorID 0x${t.usbVendorId.toString(16)} ProductID 0x${t.usbProductId.toString(16)}`:""}getPid(){return this.device.getInfo().usbProductId}trace(t){const a=`${`TRACE ${(Date.now()-this.lastTraceTime).toFixed(3)}`} ${t}`;console.log(a),this.traceLog+=a+` +`}async returnTrace(){try{await navigator.clipboard.writeText(this.traceLog),console.log("Text copied to clipboard!")}catch(t){console.error("Failed to copy text:",t)}}hexify(t){return Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("").padEnd(16," ")}hexConvert(t,n=!0){if(n&&t.length>16){let r="",a=t;for(;a.length>0;){const o=a.slice(0,16),i=String.fromCharCode(...o).split("").map(s=>s===" "||s>=" "&&s<="~"&&s!==" "?s:".").join("");a=a.slice(16),r+=` + ${this.hexify(o.slice(0,8))} ${this.hexify(o.slice(8))} | ${i}`}return r}else return this.hexify(t)}slipWriter(t){const n=[];n.push(192);for(let r=0;r0)return o;a=this.leftOver,this.leftOver=new Uint8Array(0)}if(this.device.readable==null)return this.leftOver;this.reader=this.device.readable.getReader();try{t>0&&(r=setTimeout(()=>{this.reader&&this.reader.cancel()},t));do{const{value:o,done:i}=await this.reader.read();if(i)throw this.leftOver=a,new Error("Timeout");a=new Uint8Array(this._appendBuffer(a.buffer,o.buffer))}while(a.length0&&clearTimeout(r),this.reader.releaseLock()}if(this.tracing&&(console.log("Read bytes"),this.trace(`Read ${a.length} bytes: ${this.hexConvert(a)}`)),this.slipReaderEnabled){const o=this.slipReader(a);return this.tracing&&(console.log("Slip reader results"),this.trace(`Read ${o.length} bytes: ${this.hexConvert(o)}`)),o}return a}async rawRead(t=0){if(this.leftOver.length!=0){const r=this.leftOver;return this.leftOver=new Uint8Array(0),r}if(!this.device.readable)return this.leftOver;this.reader=this.device.readable.getReader();let n;try{t>0&&(n=setTimeout(()=>{this.reader&&this.reader.cancel()},t));const{value:r,done:a}=await this.reader.read();return a||this.tracing&&(console.log("Raw Read bytes"),this.trace(`Read ${r.length} bytes: ${this.hexConvert(r)}`)),r}finally{t>0&&clearTimeout(n),this.reader.releaseLock()}}async setRTS(t){await this.device.setSignals({requestToSend:t}),await this.setDTR(this._DTR_state)}async setDTR(t){this._DTR_state=t,await this.device.setSignals({dataTerminalReady:t})}async connect(t=115200,n={}){await this.device.open({baudRate:t,dataBits:n==null?void 0:n.dataBits,stopBits:n==null?void 0:n.stopBits,bufferSize:n==null?void 0:n.bufferSize,parity:n==null?void 0:n.parity,flowControl:n==null?void 0:n.flowControl}),this.baudrate=t,this.leftOver=new Uint8Array(0)}async sleep(t){return new Promise(n=>setTimeout(n,t))}async waitForUnlock(t){for(;this.device.readable&&this.device.readable.locked||this.device.writable&&this.device.writable.locked;)await this.sleep(t)}async disconnect(){var t,n;!((t=this.device.readable)===null||t===void 0)&&t.locked&&await((n=this.reader)===null||n===void 0?void 0:n.cancel()),await this.waitForUnlock(400),this.reader=void 0,await this.device.close()}}function Pb(e){return new Promise(t=>setTimeout(t,e))}async function zHe(e){await e.setRTS(!1),await e.setDTR(!1),await Pb(100),await e.setDTR(!0),await e.setRTS(!1),await Pb(100),await e.setRTS(!0),await e.setDTR(!1),await e.setRTS(!0),await Pb(100),await e.setRTS(!1),await e.setDTR(!1)}function HHe(e){const t=["D","R","W"],n=e.split("|");for(const r of n){const a=r[0],o=r.slice(1);if(!t.includes(a))return!1;if(a==="D"||a==="R"){if(o!=="0"&&o!=="1")return!1}else if(a==="W"){const i=parseInt(o);if(isNaN(i)||i<=0)return!1}}return!0}async function UHe(e,t){const n={D:async r=>await e.setDTR(r),R:async r=>await e.setRTS(r),W:async r=>await Pb(r)};try{if(!HHe(t))return;const a=t.split("|");for(const o of a){const i=o[0],s=o.slice(1);i==="W"?await n.W(Number(s)):(i==="D"||i==="R")&&await n[i](s==="1")}}catch{throw new Error("Invalid custom reset sequence")}}var LT,J7;function VHe(){return J7||(J7=1,LT=function(t){return atob(t)}),LT}var WHe=VHe();const Q7=co(WHe);async function GHe(e){switch(e){case 15736195:{const{ESP32ROM:t}=await Oe(async()=>{const{ESP32ROM:n}=await import("./esp32-BCJodKc7.js");return{ESP32ROM:n}},__vite__mapDeps([0,1]));return new t}case 1867591791:case 2084675695:{const{ESP32C2ROM:t}=await Oe(async()=>{const{ESP32C2ROM:n}=await import("./esp32c2-jHqgYmC_.js");return{ESP32C2ROM:n}},__vite__mapDeps([2,3,1]));return new t}case 1763790959:case 456216687:case 1216438383:case 1130455151:{const{ESP32C3ROM:t}=await Oe(async()=>{const{ESP32C3ROM:n}=await import("./esp32c3-BDV5-qos.js");return{ESP32C3ROM:n}},__vite__mapDeps([3,1]));return new t}case 752910447:{const{ESP32C6ROM:t}=await Oe(async()=>{const{ESP32C6ROM:n}=await import("./esp32c6-88vftfBr.js");return{ESP32C6ROM:n}},__vite__mapDeps([4,1]));return new t}case 871374959:case 606167151:{const{ESP32C61ROM:t}=await Oe(async()=>{const{ESP32C61ROM:n}=await import("./esp32c61-Cez2MlRb.js");return{ESP32C61ROM:n}},__vite__mapDeps([5,4,1]));return new t}case 285294703:case 1675706479:{const{ESP32C5ROM:t}=await Oe(async()=>{const{ESP32C5ROM:n}=await import("./esp32c5-Dz2aR_Ca.js");return{ESP32C5ROM:n}},__vite__mapDeps([6,4,1]));return new t}case 3619110528:{const{ESP32H2ROM:t}=await Oe(async()=>{const{ESP32H2ROM:n}=await import("./esp32h2-CCJRrESJ.js");return{ESP32H2ROM:n}},__vite__mapDeps([7,1]));return new t}case 9:{const{ESP32S3ROM:t}=await Oe(async()=>{const{ESP32S3ROM:n}=await import("./esp32s3-JCQC1yhu.js");return{ESP32S3ROM:n}},__vite__mapDeps([8,1]));return new t}case 1990:{const{ESP32S2ROM:t}=await Oe(async()=>{const{ESP32S2ROM:n}=await import("./esp32s2-CE9Cs3Z2.js");return{ESP32S2ROM:n}},__vite__mapDeps([9,1]));return new t}case 4293968129:{const{ESP8266ROM:t}=await Oe(async()=>{const{ESP8266ROM:n}=await import("./esp8266-CRPT5jVB.js");return{ESP8266ROM:n}},__vite__mapDeps([10,1]));return new t}case 0:case 182303440:case 117676761:{const{ESP32P4ROM:t}=await Oe(async()=>{const{ESP32P4ROM:n}=await import("./esp32p4-Dm_OZzC4.js");return{ESP32P4ROM:n}},__vite__mapDeps([11,0,1]));return new t}default:return null}}class Xv{constructor(t){this.ESP_RAM_BLOCK=6144,this.ESP_FLASH_BEGIN=2,this.ESP_FLASH_DATA=3,this.ESP_FLASH_END=4,this.ESP_MEM_BEGIN=5,this.ESP_MEM_END=6,this.ESP_MEM_DATA=7,this.ESP_WRITE_REG=9,this.ESP_READ_REG=10,this.ESP_SPI_ATTACH=13,this.ESP_CHANGE_BAUDRATE=15,this.ESP_FLASH_DEFL_BEGIN=16,this.ESP_FLASH_DEFL_DATA=17,this.ESP_FLASH_DEFL_END=18,this.ESP_SPI_FLASH_MD5=19,this.ESP_ERASE_FLASH=208,this.ESP_ERASE_REGION=209,this.ESP_READ_FLASH=210,this.ESP_RUN_USER_CODE=211,this.ESP_IMAGE_MAGIC=233,this.ESP_CHECKSUM_MAGIC=239,this.ROM_INVALID_RECV_MSG=5,this.ERASE_REGION_TIMEOUT_PER_MB=3e4,this.ERASE_WRITE_TIMEOUT_PER_MB=4e4,this.MD5_TIMEOUT_PER_MB=8e3,this.CHIP_ERASE_TIMEOUT=12e4,this.FLASH_READ_TIMEOUT=1e5,this.MAX_TIMEOUT=this.CHIP_ERASE_TIMEOUT*2,this.CHIP_DETECT_MAGIC_REG_ADDR=1073745920,this.DETECTED_FLASH_SIZES={18:"256KB",19:"512KB",20:"1MB",21:"2MB",22:"4MB",23:"8MB",24:"16MB"},this.DETECTED_FLASH_SIZES_NUM={18:256,19:512,20:1024,21:2048,22:4096,23:8192,24:16384},this.USB_JTAG_SERIAL_PID=4097,this.romBaudrate=115200,this.debugLogging=!1,this.syncStubDetected=!1,this.checksum=function(n){let r,a=239;for(r=0;rsetTimeout(n,t))}write(t,n=!0){this.terminal?n?this.terminal.writeLine(t):this.terminal.write(t):console.log(t)}error(t,n=!0){this.write(`Error: ${t}`,n)}info(t,n=!0){this.write(t,n)}debug(t,n=!0){this.debugLogging&&this.write(`Debug: ${t}`,n)}_shortToBytearray(t){return new Uint8Array([t&255,t>>8&255])}_intToByteArray(t){return new Uint8Array([t&255,t>>8&255,t>>16&255,t>>24&255])}_byteArrayToShort(t,n){return t|n>>8}_byteArrayToInt(t,n,r,a){return t|n<<8|r<<16|a<<24}_appendBuffer(t,n){const r=new Uint8Array(t.byteLength+n.byteLength);return r.set(new Uint8Array(t),0),r.set(new Uint8Array(n),t.byteLength),r.buffer}_appendArray(t,n){const r=new Uint8Array(t.length+n.length);return r.set(t,0),r.set(n,t.length),r}ui8ToBstr(t){let n="";for(let r=0;r0&&(i=this._appendArray(i,this._intToByteArray(this.chip.UART_DATE_REG_ADDR)),i=this._appendArray(i,this._intToByteArray(0)),i=this._appendArray(i,this._intToByteArray(0)),i=this._appendArray(i,this._intToByteArray(o))),await this.checkCommand("write target memory",this.ESP_WRITE_REG,i)}async sync(){this.debug("Sync");const t=new Uint8Array(36);let n;for(t[0]=7,t[1]=7,t[2]=18,t[3]=32,n=0;n<32;n++)t[4+n]=85;try{const r=await this.command(8,t,void 0,void 0,100);return this.syncStubDetected=this.syncStubDetected&&r[0]===0,r}catch(r){throw this.debug("Sync err "+r),r}}async _connectAttempt(t="default_reset",n=!1){if(this.debug("_connect_attempt "+t+" "+n),t!=="no_reset")if(this.transport.getPid()===this.USB_JTAG_SERIAL_PID)await zHe(this.transport);else{const o=n?"D0|R1|W100|W2000|D1|R0|W50|D0":"D0|R1|W100|D1|R0|W50|D0";await UHe(this.transport,o)}let r=0,a=!0;for(;a;){try{const o=await this.transport.read(1e3);r+=o.length}catch(o){if(this.debug(o.message),o instanceof Error){a=!1;break}}await this._sleep(50)}for(this.transport.slipReaderEnabled=!0,this.syncStubDetected=!0,r=7;r--;){try{const o=await this.sync();return this.debug(o[0].toString()),"success"}catch(o){o instanceof Error&&(n?this.info("_",!1):this.info(".",!1))}await this._sleep(50)}return"error"}async connect(t="default_reset",n=7,r=!1){let a,o;for(this.info("Connecting...",!1),await this.transport.connect(this.romBaudrate,this.serialOptions),a=0;a>>0;this.debug("Chip Magic "+i.toString(16));const s=await GHe(i);if(this.chip===null)throw new ho(`Unexpected CHIP magic value ${i}. Failed to autodetect chip type.`);this.chip=s}}async detectChip(t="default_reset"){await this.connect(t),this.info("Detecting chip type... ",!1),this.chip!=null?this.info(this.chip.CHIP_NAME):this.info("unknown!")}async checkCommand(t="",n=null,r=new Uint8Array(0),a=0,o=3e3){this.debug("check_command "+t);const i=await this.command(n,r,a,void 0,o);return i[1].length>4?i[1]:i[0]}async memBegin(t,n,r,a){this.debug("mem_begin "+t+" "+n+" "+r+" "+a.toString(16));let o=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));o=this._appendArray(o,this._intToByteArray(r)),o=this._appendArray(o,this._intToByteArray(a)),await this.checkCommand("enter RAM download mode",this.ESP_MEM_BEGIN,o)}async memBlock(t,n){let r=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,t);const a=this.checksum(t);await this.checkCommand("write to target RAM",this.ESP_MEM_DATA,r,a)}async memFinish(t){const n=t===0?1:0,r=this._appendArray(this._intToByteArray(n),this._intToByteArray(t));await this.checkCommand("leave RAM download mode",this.ESP_MEM_END,r,void 0,50)}async flashSpiAttach(t){const n=this._intToByteArray(t);await this.checkCommand("configure SPI flash pins",this.ESP_SPI_ATTACH,n)}async flashBegin(t,n){const r=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),a=this.chip.getEraseSize(n,t),o=new Date,i=o.getTime();let s=3e3;this.IS_STUB==!1&&(s=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,t)),this.debug("flash begin "+a+" "+r+" "+this.FLASH_WRITE_SIZE+" "+n+" "+t);let c=this._appendArray(this._intToByteArray(a),this._intToByteArray(r));c=this._appendArray(c,this._intToByteArray(this.FLASH_WRITE_SIZE)),c=this._appendArray(c,this._intToByteArray(n)),this.IS_STUB==!1&&(c=this._appendArray(c,this._intToByteArray(0))),await this.checkCommand("enter Flash download mode",this.ESP_FLASH_BEGIN,c,void 0,s);const u=o.getTime();return t!=0&&this.IS_STUB==!1&&this.info("Took "+(u-i)/1e3+"."+(u-i)%1e3+"s to erase flash block"),r}async flashDeflBegin(t,n,r){const a=Math.floor((n+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),i=new Date,s=i.getTime();let c,u;this.IS_STUB?(c=t,u=3e3):(c=o*this.FLASH_WRITE_SIZE,u=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,c)),this.info("Compressed "+t+" bytes to "+n+"...");let f=this._appendArray(this._intToByteArray(c),this._intToByteArray(a));f=this._appendArray(f,this._intToByteArray(this.FLASH_WRITE_SIZE)),f=this._appendArray(f,this._intToByteArray(r)),(this.chip.CHIP_NAME==="ESP32-S2"||this.chip.CHIP_NAME==="ESP32-S3"||this.chip.CHIP_NAME==="ESP32-C3"||this.chip.CHIP_NAME==="ESP32-C2")&&this.IS_STUB===!1&&(f=this._appendArray(f,this._intToByteArray(0))),await this.checkCommand("enter compressed flash mode",this.ESP_FLASH_DEFL_BEGIN,f,void 0,u);const g=i.getTime();return t!=0&&this.IS_STUB===!1&&this.info("Took "+(g-s)/1e3+"."+(g-s)%1e3+"s to erase flash block"),a}async flashBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const o=this.checksum(t);await this.checkCommand("write to target Flash after seq "+n,this.ESP_FLASH_DATA,a,o,r)}async flashDeflBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const o=this.checksum(t);this.debug("flash_defl_block "+t[0].toString(16)+" "+t[1].toString(16)),await this.checkCommand("write compressed data to flash after seq "+n,this.ESP_FLASH_DEFL_DATA,a,o,r)}async flashFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave Flash mode",this.ESP_FLASH_END,r)}async flashDeflFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave compressed flash mode",this.ESP_FLASH_DEFL_END,r)}async runSpiflashCommand(t,n,r){const s=this.chip.SPI_REG_BASE,c=s+0,u=s+this.chip.SPI_USR_OFFS,f=s+this.chip.SPI_USR1_OFFS,g=s+this.chip.SPI_USR2_OFFS,m=s+this.chip.SPI_W0_OFFS;let h;this.chip.SPI_MOSI_DLEN_OFFS!=null?h=async(R,N)=>{const O=s+this.chip.SPI_MOSI_DLEN_OFFS,$=s+this.chip.SPI_MISO_DLEN_OFFS;R>0&&await this.writeReg(O,R-1),N>0&&await this.writeReg($,N-1)}:h=async(R,N)=>{const O=f,$=17,A=8,B=R===0?0:R-1,F=(N===0?0:N-1)<32)throw new ho("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new ho("Writing more than 64 bytes of data with one SPI command is unsupported");const b=n.length*8,C=await this.readReg(u),S=await this.readReg(g);let w=-2147483648,I;r>0&&(w|=268435456),b>0&&(w|=134217728),await h(b,r),await this.writeReg(u,w);let E=7<("00"+n.toString(16)).slice(-2)).join("")}async flashMd5sum(t,n){const r=this.timeoutPerMb(this.MD5_TIMEOUT_PER_MB,n);let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0));let o=await this.checkCommand("calculate md5sum",this.ESP_SPI_FLASH_MD5,a,void 0,r);return o instanceof Uint8Array&&o.length>16&&(o=o.slice(0,16)),this.toHex(o)}async readFlash(t,n,r=null){let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(4096)),a=this._appendArray(a,this._intToByteArray(1024));const o=await this.checkCommand("read flash",this.ESP_READ_FLASH,a);if(o!=0)throw new ho("Failed to read memory: "+o);let i=new Uint8Array(0);for(;i.length0&&(i=this._appendArray(i,s),await this.transport.write(this._intToByteArray(i.length)),r&&r(s,i.length,n));else throw new ho("Failed to read memory: "+s)}return i}async runStub(){if(this.syncStubDetected)return this.info("Stub is already running. No upload is necessary."),this.chip;this.info("Uploading stub...");let t=Q7(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=Q7(this.chip.ROM_DATA),n=t.split("").map(function(s){return s.charCodeAt(0)});const a=new Uint8Array(n);let o=Math.floor((r.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK),i;for(await this.memBegin(r.length,o,this.ESP_RAM_BLOCK,this.chip.TEXT_START),i=0;i"u")throw new ho("Flash size "+t+" is not supported by this chip type. Supported sizes: "+this.chip.FLASH_SIZES);return this.chip.FLASH_SIZES[t]}_updateImageFlashParams(t,n,r,a,o){if(this.debug("_update_image_flash_params "+r+" "+a+" "+o),t.length<8||n!=this.chip.BOOTLOADER_FLASH_OFFSET)return t;if(r==="keep"&&a==="keep"&&o==="keep")return this.info("Not changing the image"),t;const i=parseInt(t[0]);let s=parseInt(t[2]);const c=parseInt(t[3]);if(i!==this.ESP_IMAGE_MAGIC)return this.info("Warning: Image file at 0x"+n.toString(16)+" doesn't look like an image file, so not changing any flash settings."),t;a!=="keep"&&(s={qio:0,qout:1,dio:2,dout:3}[a]);let u=c&15;o!=="keep"&&(u={"40m":0,"26m":1,"20m":2,"80m":15}[o]);let f=c&240;r!=="keep"&&(f=this.parseFlashSizeArg(r));const g=s<<8|u+f;return this.info("Flash params set to "+g.toString(16)),parseInt(t[2])!==s<<8&&(t=t.substring(0,2)+(s<<8).toString()+t.substring(3)),parseInt(t[3])!==u+f&&(t=t.substring(0,3)+(u+f).toString()+t.substring(4)),t}async writeFlash(t){if(this.debug("EspLoader program"),t.flashSize!=="keep"){const a=this.flashSizeBytes(t.flashSize);for(let o=0;oa)throw new ho(`File ${o+1} doesn't fit in the available flash`)}this.IS_STUB===!0&&t.eraseAll===!0&&await this.eraseFlash();let n,r;for(let a=0;a0&&(n+="ÿÿÿÿ".substring(4-o)),r=t.fileArray[a].address,this.debug("Image Length "+n.length),n.length===0){this.debug("Warning: File is empty");continue}n=this._updateImageFlashParams(n,r,t.flashSize,t.flashMode,t.flashFreq);let i=null;t.calculateMD5Hash&&(i=t.calculateMD5Hash(n),this.debug("Image MD5 "+i));const s=n.length;let c;if(t.compress){const S=this.bstrToUi8(n);n=this.ui8ToBstr(FHe(S,{level:9})),c=await this.flashDeflBegin(s,n.length,r)}else c=await this.flashBegin(s,r);let u=0,f=0;const g=n.length;t.reportProgress&&t.reportProgress(a,0,g);let m=new Date;const h=m.getTime();let y=5e3;const x=new BHe({chunkSize:1});let b=0;for(x.onData=function(S){b+=S.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+c),this.info("Writing at 0x"+(r+b).toString(16)+"... ("+Math.floor(100*(u+1)/c)+"%)");const S=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const w=b;x.push(S,!1);const I=b-w;let E=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,I)>3e3&&(E=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,I)),this.IS_STUB===!1&&(y=E),await this.flashDeflBlock(S,u,y),this.IS_STUB&&(y=E)}else throw new ho("Yet to handle Non Compressed writes");f+=S.length,n=n.slice(this.FLASH_WRITE_SIZE,n.length),u++,t.reportProgress&&t.reportProgress(a,f,g)}this.IS_STUB&&await this.readReg(this.CHIP_DETECT_MAGIC_REG_ADDR,y),m=new Date;const C=m.getTime()-h;if(t.compress&&this.info("Wrote "+s+" bytes ("+f+" compressed) at 0x"+r.toString(16)+" in "+C/1e3+" seconds."),i){const S=await this.flashMd5sum(r,s);if(new String(S).valueOf()!=new String(i).valueOf())throw this.info("File md5: "+i),this.info("Flash md5: "+S),new ho("MD5 of file does not match data in flash!");this.info("Hash of data verified.")}}this.info("Leaving..."),this.IS_STUB&&(await this.flashBegin(0,0),t.compress?await this.flashDeflFinish():await this.flashFinish())}async flashId(){this.debug("flash_id");const t=await this.readFlashId();this.info("Manufacturer: "+(t&255).toString(16));const n=t>>16&255;this.info("Device: "+(t>>8&255).toString(16)+n.toString(16)),this.info("Detected flash size: "+this.DETECTED_FLASH_SIZES[n])}async getFlashSize(){this.debug("flash_id");const n=await this.readFlashId()>>16&255;return this.DETECTED_FLASH_SIZES_NUM[n]}async hardReset(){await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1)}async softReset(){if(!this.IS_STUB)await this.flashBegin(0,0),await this.flashFinish(!1);else{if(this.chip.CHIP_NAME!="ESP8266")throw new ho("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const qHe=()=>{const[e,t]=l.useState(0),n=["",".","..","...","....","....."];return l.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),d.jsx(d.Fragment,{children:n[e]})},KHe=()=>"serial"in navigator,$d=new nr(Yn()),{Paragraph:cr,Text:YHe}=zn,{Step:XHe}=ll,{Option:ZHe}=ra,JHe=()=>{const{t:e}=Yt(),{setFetchCloudStatus:t,addNotification:n,addLoadingNotification:r,closeLoadingNotification:a}=Cr(),o=uc(),i=Ur.language,s=l.useRef(null),[c,u]=l.useState(!1),[f,g]=l.useState(""),[m,h]=l.useState(!1),[y,x]=l.useState(!1),[b,C]=l.useState(!1),[S,w]=l.useState("certs/client"),[I,E]=l.useState(""),[_,R]=l.useState(0),[N,O]=l.useState(!1),[$,A]=l.useState({progress:0,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",state:"",filename:"",flashName:"",port:null,originalFlash:null,patchedFlash:null,showStatus:!1,showProgress:!1,showDownload:!1,showFlash:!1,connected:!1,flagPreviousHostname:!1,previousHostname:"",hostname:window.location.hostname!=="localhost"&&window.location.hostname!=="127.0.0.1"?window.location.hostname:"",wifi_ssid:"",wifi_pass:"",proceed:!1,actionInProgress:!1,warningTextHostname:"",warningTextWifi:"",downloadLink:"",downloadLinkPatched:"",error:!1,resetBox:!1}),[B,j]=l.useState(!1),[F,D]=l.useState(921600),k=[300,1200,2400,4800,9600,14400,19200,38400,57600,115200,230400,460800,921600],M=115200,L=xe=>{D(xe)};function H(xe){const be=new Uint8Array(xe);let Ee="";for(let ke=0;ke{(async()=>{const Ee=await(await $d.apiGetTeddyCloudSettingRaw("core.certdir")).text();w(Ee)})()},[]),l.useEffect(()=>{j(KHe())},[]),l.useEffect(()=>{if(window.location.protocol!=="https:"){u(!1);const xe=async()=>{try{return await(await $d.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(ke){console.error("Error fetching https port: ",ke)}},be=async()=>{try{return await(await $d.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(ke){console.error("Error fetching http port: ",ke)}};(async()=>{const ke=await xe()||"",et=await be()||"",Be=new URL(window.location.href);Be.protocol="https:",Be.port?Be.port=Be.port===et?ke:Be.port:Be.port=ke,g(Be.toString())})()}else u(!0)},[]),l.useEffect(()=>{$.resetBox&&$.patchedFlash&&X()},[$.resetBox,$.patchedFlash]),l.useEffect(()=>{_e(_,(()=>{switch(_){case 0:return we;case 1:return pe;case 2:return ve;case 3:return $.resetBox?ie:me;default:return d.jsx("div",{})}})())},[$,i]),l.useEffect(()=>{!$.resetBox&&$.proceed&&Ne()},[$.proceed]),l.useEffect(()=>{h($.actionInProgress)},[$.actionInProgress]);const U=()=>{f&&(window.location.href=f)},z=async xe=>{if($.port)return console.log($.port.getInfo),$.port;A(Ee=>({...Ee,showStatus:!0,showProgress:!1,progress:0,state:xe||"Open serial port"}));let be=null;try{be=await navigator.serial.requestPort(),await be.open({baudRate:115200}),await be.close()}catch(Ee){return Ee==="NetworkError"?(A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):Ee==="NotFoundError"?A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):(A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+Ee,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${Ee}`)),null}return be?(console.log("port done"),A(Ee=>({...Ee,port:be})),be):(A(Ee=>({...Ee,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},W=async xe=>{if(console.log("loadFlashFile"),!xe.target.files)return;const be=xe.target.files[0];if(!be)return;A(ke=>({...ke,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0}));const Ee=new FileReader;$.resetBox?(console.log("Read file '"+be+"' for reset"),Ee.onload=async ke=>{var et;console.log("Loading file for reset"),(et=ke.target)==null||et.result,ke.target&&A(Be=>{var Ke;return{...Be,patchedFlash:(Ke=ke.target)==null?void 0:Ke.result,showFlash:!0,connected:!1,flashName:"from file"}}),console.log("Load file done")}):(console.log("Read file '"+be+"'"),Ee.onload=async ke=>{var Ke;console.log("Connecting to ESP32");const et=await z(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(et===null||$.connected){A(Ge=>({...Ge,actionInProgress:!1}));return}A(Ge=>({...Ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${$.port}`,showFlash:!1,connected:!0}));let Be=null;try{const Ge=new sg(et);Be=new Xv({transport:Ge,baudrate:F,romBaudrate:M})}catch(Ge){A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${Ge}`,connected:!1,actionInProgress:!1,error:!0})),alert(Ge),await et.close();return}try{A(St=>({...St,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await Be.main();let Ge=await Be.chip.readMac(Be);A(St=>({...St,chipMac:Ge})),console.log("Chip MAC: "+Ge),await et.close();const nt=(Ke=ke.target)==null?void 0:Ke.result,ht=new Uint8Array(nt),tt=`ESP32_${Ge.replace(/:/g,"")}`,ct=new Blob([ht],{type:"application/octet-stream"}),bt=URL.createObjectURL(ct);await K(ht,tt),ke.target&&A(St=>{var yt;return{...St,patchedFlash:(yt=ke.target)==null?void 0:yt.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:bt}}),console.log("Done")}catch(Ge){A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${Ge}`,connected:!1,actionInProgress:!1,error:!0})),console.error(Ge),alert(Ge),await et.close();return}}),Ee.readAsArrayBuffer(be),A(ke=>({...ke,actionInProgress:!1})),xe.target.value=""},q=async()=>{let xe=null,be=null,Ee="";be=new Uint8Array(1024);const ke=await z(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(ke===null||$.connected)return;A(Ge=>({...Ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${ke.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const Ge=new sg(ke);xe=new Xv({transport:Ge,baudrate:F,romBaudrate:M})}catch(Ge){A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${Ge}`,connected:!1,actionInProgress:!1,error:!0})),alert(Ge),await ke.close();return}try{A(tt=>({...tt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await xe.main(),A(tt=>({...tt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),Ee=await xe.chip.readMac(xe),A(tt=>({...tt,chipMac:Ee})),console.log("Chip MAC: "+Ee);const Ge=await xe.chip.getChipDescription(xe);A(tt=>({...tt,chipType:Ge}));let nt=await xe.readFlashId();A(tt=>({...tt,flashId:""+nt,flashManuf:""+(nt&255),flashDevice:""+(nt>>8&255)}));let ht=await xe.getFlashSize();if(A(tt=>({...tt,flashSize:""+ht})),ht<0||ht>16384){A(tt=>({...tt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await ke.close();return}A(tt=>({...tt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),be=await xe.readFlash(0,ht*1024,(tt,ct,bt)=>{const St=100*ct/bt;A(yt=>({...yt,progress:St}))}),await ke.close(),A(tt=>({...tt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:be,connected:!1}))}catch(Ge){A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${Ge}`,connected:!1,actionInProgress:!1,error:!0})),console.error(Ge),alert(Ge),await ke.close();return}const et=`ESP32_${Ee.replace(/:/g,"")}`,Be=new Blob([be],{type:"application/octet-stream"}),Ke=URL.createObjectURL(Be);A(Ge=>({...Ge,downloadLink:Ke,showProgress:!1})),await K(be,et),console.log("Done")},K=async(xe,be)=>{try{A(et=>({...et,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const Ee=new FormData;Ee.append(be,new Blob([xe]),be);const ke=await $d.apiPostTeddyCloudFormDataRaw("/api/esp32/uploadFirmware",Ee);if(ke.ok&&ke.status===200){const et=await ke.text();A(Be=>({...Be,showDownload:!0,filename:et,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${et}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else A(et=>({...et,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(Ee){console.error("There was an error when uploading!",Ee),A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},G=async()=>{if($.wifi_ssid&&!$.wifi_pass||!$.wifi_ssid&&$.wifi_pass){A(be=>({...be,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}A(be=>({...be,actionInProgress:!0})),A(be=>({...be,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const xe=await $d.apiGetTeddyCloudApiRaw(`/api/esp32/patchFirmware?filename=${$.filename}`+($.previousHostname&&$.flagPreviousHostname?`&hostname_old=${encodeURIComponent($.previousHostname)}`:"")+`&hostname=${encodeURIComponent($.hostname)}`+($.wifi_ssid&&$.wifi_pass?`&wifi_ssid=${encodeURIComponent($.wifi_ssid)}&wifi_pass=${encodeURIComponent($.wifi_pass)}`:""));if(A(be=>({...be,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),xe.ok&&xe.status===200){const be=await xe.arrayBuffer();A(et=>({...et,patchedFlash:be,showFlash:!0,flashName:"patched"}));const Ee=new Blob([be],{type:"application/octet-stream"}),ke=URL.createObjectURL(Ee);A(et=>({...et,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(be.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:ke})),Ne()}else A(be=>({...be,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));A(be=>({...be,actionInProgress:!1}))},X=async()=>{R(2);const xe=await z(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(xe===null||$.connected)return;A(Ee=>({...Ee,actionInProgress:!0,error:!1})),A(Ee=>({...Ee,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${xe.getInfo()}`,connected:!0}));let be=null;try{const Ee=new sg(xe);be=new Xv({transport:Ee,baudrate:F,romBaudrate:M})}catch(Ee){A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${Ee}`,connected:!1,actionInProgress:!1,error:!0})),alert(Ee),await xe.close();return}try{A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await be.main(),A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let Ee=await be.chip.readMac(be);A(nt=>({...nt,chipMac:Ee})),console.log("Chip MAC: "+Ee);const ke=await be.chip.getChipDescription(be);A(nt=>({...nt,chipType:ke}));let et=await be.readFlashId();A(nt=>({...nt,flashId:""+et,flashManuf:""+(et&255),flashDevice:""+(et>>8&255)}));let Be=await be.getFlashSize();if(A(nt=>({...nt,flashSize:""+Be})),Be<0||Be>16384){A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await xe.close();return}A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:($.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let Ke=[];Ke.push({data:H($.patchedFlash),address:0});let Ge={fileArray:Ke,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(nt,ht,tt)=>{const ct=100*ht/tt;A(bt=>({...bt,progress:ct}))}};A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:($.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await be.writeFlash(Ge),await xe.close(),A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1})),R(3)}catch(Ee){A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${Ee}`,connected:!1,actionInProgress:!1,error:!0})),console.error(Ee),alert(Ee),await xe.close();return}},Z=async()=>{const xe=await z(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(xe===null||$.connected)return;A(Ee=>({...Ee,actionInProgress:!0,error:!1})),A(Ee=>({...Ee,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${xe.getInfo()}`,connected:!0}));let be=null;try{const Ee=new sg(xe);be=new Xv({transport:Ee,baudrate:F,romBaudrate:M})}catch(Ee){A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${Ee}`,connected:!1,actionInProgress:!1,error:!0})),alert(Ee),await xe.close();return}try{A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await be.main(),A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let Ee=await be.chip.readMac(be);A(nt=>({...nt,chipMac:Ee})),console.log("Chip MAC: "+Ee);const ke=await be.chip.getChipDescription(be);A(nt=>({...nt,chipType:ke}));let et=await be.readFlashId();A(nt=>({...nt,flashId:""+et,flashManuf:""+(et&255),flashDevice:""+(et>>8&255)}));let Be=await be.getFlashSize();if(A(nt=>({...nt,flashSize:""+Be})),Be<0||Be>16384){A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await xe.close();return}A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:($.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let Ke=[];Ke.push({data:H($.patchedFlash),address:0});let Ge={fileArray:Ke,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(nt,ht,tt)=>{const ct=100*ht/tt;A(bt=>({...bt,progress:ct}))}};A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:($.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await be.writeFlash(Ge),await xe.close(),A(nt=>({...nt,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(Ee){A(ke=>({...ke,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${Ee}`,connected:!1,actionInProgress:!1,error:!0})),console.error(Ee),alert(Ee),await xe.close();return}},J=async xe=>{const be="extractStoreCerts";r(be,e("tonieboxes.esp32BoxFlashing.processing"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates")),xe&&C(!1);try{const Ee=await $d.apiPostTeddyCloudRaw(`/api/esp32/extractCerts?filename=${$.filename}`+(xe?"&overwrite=true":""));if(a(be),Ee.ok&&Ee.status===200)n(xt.Success,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessful"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessfulDetails",{file:$.filename}),e("tonieboxes.esp32BoxFlashing.title")),t(ke=>!ke);else if(!Ee.ok&&Ee.status===409){const ke=await Ee.text();n(xt.Error,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailedDetails",{file:$.filename})+": "+ke,e("tonieboxes.esp32BoxFlashing.title")),E(ke),C(!0)}else n(xt.Error,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailedDetails",{file:$.filename})+": "+await Ee.text(),e("tonieboxes.esp32BoxFlashing.title"))}catch(Ee){n(xt.Error,e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed"),e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailedDetails",{file:$.filename})+": "+Ee,e("tonieboxes.esp32BoxFlashing.title"))}},ne=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],Q=d.jsx(qn,{type:"warning",showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.backupFlash"),description:d.jsxs(d.Fragment,{children:[d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.importanceBackup")}),d.jsx(cr,{style:{marginTop:8},children:d.jsx("b",{children:d.jsx("a",{href:$.downloadLink,download:$.filename,title:$.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})})})]})}),ee=d.jsx(d.Fragment,{children:$.showProgress&&d.jsx("div",{children:d.jsx("div",{children:d.jsx(Dy,{percent:$.progress||0,format:xe=>`${(xe??0).toFixed(2)}%`})})})}),te=d.jsx(d.Fragment,{children:($.chipType||$.chipMac)&&d.jsxs("div",{children:[d.jsx(hr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),d.jsx("table",{className:"info-table",children:d.jsxs("tbody",{children:[$.chipType&&d.jsxs("tr",{children:[d.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),d.jsx("td",{children:$.chipType})]}),$.chipMac&&d.jsxs("tr",{children:[d.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),d.jsx("td",{children:$.chipMac})]}),$.flashId&&d.jsxs("tr",{children:[d.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),d.jsxs("td",{children:["0x",$.flashId.toString()]})]}),$.flashManuf&&d.jsxs("tr",{children:[d.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),d.jsxs("td",{children:["0x",$.flashManuf.toString()]})]}),$.flashDevice&&d.jsxs("tr",{children:[d.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),d.jsxs("td",{children:["0x",$.flashDevice.toString()]})]}),$.flashSize&&d.jsxs("tr",{children:[d.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),d.jsxs("td",{children:[$.flashSize," KiB"]})]})]})})]})}),oe=xe=>xe.replace(/[^a-zA-Z0-9-.]/g,"").trim(),le=xe=>{if(xe.endsWith("...")){const be=xe.slice(0,-3);return d.jsxs("div",{style:{display:"flex"},children:[be,d.jsx(qHe,{})]})}return xe},fe=$.showStatus&&d.jsx("div",{className:"status",style:{marginBottom:16,color:$.error?"#CC3010":"unset"},children:d.jsx("i",{children:le($.state)})}),ue=vX(),we=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!$.actionInProgress&&d.jsxs(d.Fragment,{children:[d.jsx(cr,{children:d.jsx(qn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:d.jsxs(d.Fragment,{children:[d.jsx(cr,{children:e("tonieboxes.hintLatestFirmware")}),d.jsx(cr,{children:e("tonieboxes.hintLatestFirmwareFactoryResetESP32CC3235")})]})})}),d.jsx(cr,{children:d.jsx(qn,{type:"info",closeIcon:!0,showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.adaptBaudrateOnProblems"),description:e("tonieboxes.esp32BoxFlashing.adaptBaudrateOnProblemsText")})}),d.jsx(cr,{style:{marginTop:16},children:d.jsx(qn,{type:"info",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")})}),d.jsx(Ui,{size:"small",style:{marginBottom:16},items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectESPCollapseTitle"),children:ue}]})]}),fe,d.jsx("input",{type:"file",style:{display:"none"},ref:s,onChange:W}),ee]}),pe=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),d.jsxs("div",{children:[!$.actionInProgress&&d.jsx(cr,{children:d.jsx(qn,{type:"info",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")})}),fe,!$.actionInProgress&&$.downloadLink?d.jsx(cr,{style:{marginBottom:16},children:Q}):"",d.jsxs(wn,{children:[d.jsx(hr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),d.jsx(wn.Item,{children:d.jsx(Ma,{align:"middle",style:{display:"flex",alignItems:"center"},children:d.jsx(er,{children:d.jsx(Ti,{checked:$.flagPreviousHostname,onChange:xe=>{A(be=>({...be,flagPreviousHostname:xe.target.checked}))},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flagPreviousHostname")})})})}),$.flagPreviousHostname&&d.jsxs(wn.Item,{children:[d.jsxs(Ma,{align:"middle",style:{display:"flex",alignItems:"center"},children:[d.jsx(er,{style:{flex:"0 0 200px"},children:d.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previousHostname")})}),d.jsx(er,{style:{flex:"1 1 auto"},children:d.jsx(Sn,{type:"text",value:$.previousHostname,onChange:xe=>{let be=oe(xe.target.value);A(Ee=>({...Ee,previousHostname:be}))}})})]}),$.warningTextHostname&&d.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),d.jsxs(wn.Item,{children:[d.jsxs(Ma,{align:"middle",style:{display:"flex",alignItems:"center"},children:[d.jsx(er,{style:{flex:"0 0 200px",color:$.warningTextHostname?"#CC3010":"unset"},children:d.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),d.jsx(er,{style:{flex:"1 1 auto"},children:d.jsx(Sn,{type:"text",value:$.hostname,onChange:xe=>{let be=oe(xe.target.value),Ee="";be.length>12?Ee=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong"):Ee="",A(ke=>({...ke,hostname:be,warningTextHostname:Ee}))}})})]}),$.warningTextHostname&&d.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),d.jsx(hr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),d.jsx(wn.Item,{children:d.jsxs(Ma,{align:"middle",style:{display:"flex",alignItems:"center"},children:[d.jsx(er,{style:{flex:"0 0 200px",color:$.warningTextWifi?"#CC3010":"unset"},children:d.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),d.jsx(er,{style:{flex:"1 1 auto"},children:d.jsx(Sn,{type:"text",defaultValue:$.wifi_ssid,onChange:xe=>{let be=xe.target.value;A(Ee=>({...Ee,wifi_ssid:be,warningTextWifi:xe.target.value&&$.wifi_pass||!xe.target.value&&!$.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),d.jsxs(wn.Item,{children:[d.jsxs(Ma,{align:"middle",style:{display:"flex",alignItems:"center"},children:[d.jsx(er,{style:{flex:"0 0 200px",color:$.warningTextWifi?"#CC3010":"unset"},children:d.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),d.jsx(er,{style:{flex:"1 1 auto"},children:d.jsx(Sn.Password,{defaultValue:$.wifi_pass,onChange:xe=>{let be=xe.target.value;A(Ee=>({...Ee,wifi_pass:be,warningTextWifi:xe.target.value&&$.wifi_ssid||!xe.target.value&&!$.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),$.warningTextWifi&&d.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),ee]}),ve=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!$.actionInProgress&&d.jsxs(cr,{children:[" ",d.jsx(qn,{type:"info",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")})]}),fe,!$.actionInProgress&&$.downloadLinkPatched?d.jsxs("div",{style:{marginBottom:16},children:[" ",d.jsx("a",{href:$.downloadLinkPatched,download:"patched_"+$.filename,title:"patched_"+$.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",ee]}),Ce=`${S}/${$.chipMac?$.chipMac.replaceAll(":","").toLowerCase():""}`,me=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),d.jsx(cr,{children:d.jsx(qn,{type:"success",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")})}),fe,ee,($.downloadLink||$.downloadLinkPatched)&&d.jsxs(d.Fragment,{children:[d.jsx(qn,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:d.jsxs("div",{children:[d.jsxs(zn,{children:[d.jsx(hr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.automatically")}),d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint")}),d.jsx(mt,{icon:d.jsx(FN,{}),disabled:m,type:"primary",onClick:()=>Ue(),style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates")}),d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint2",{certDir:S,mac:$.chipMac.replaceAll(":","").toLocaleLowerCase()})})]}),d.jsx(hr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.manually")}),d.jsx(zn,{style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHint")}),d.jsx(zn,{children:d.jsx(Ui,{size:"small",items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManually"),children:d.jsxs(zn,{children:[d.jsxs(cr,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP1")," ",d.jsx(YHe,{code:!0,children:"docker exec -it bash"}),"."]}),d.jsx(cr,{children:d.jsx("pre",{style:{fontSize:12},children:`# Please check the filename of your backup +# Be sure you are in the TeddyCloud directory +# cd /teddycloud/ # just for docker +mkdir ${Ce} +teddycloud --esp32-extract data/firmware/`+($.filename?$.filename:"ESP32_.bin")+` --destination ${Ce}`})}),d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP2")}),d.jsx(cr,{children:d.jsx("pre",{style:{fontSize:12},children:`mv ${Ce}/CLIENT.DER ${Ce}/client.der +mv ${Ce}/PRIVATE.DER ${Ce}/private.der +mv ${Ce}/CA.DER ${Ce}/ca.der`})}),d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP3")}),d.jsx(cr,{children:d.jsx("pre",{style:{fontSize:12},children:`cp ${Ce}/client.der ${S}/client.der +cp ${Ce}/private.der ${S}/private.der +cp ${Ce}/ca.der ${S}/ca.der`})})]})}]})})]})}),d.jsxs(cr,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),d.jsxs("ul",{style:{marginTop:8},children:[$.downloadLink&&d.jsx("li",{children:d.jsx("a",{href:$.downloadLink,download:$.filename,title:$.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),$.downloadLinkPatched&&d.jsx("li",{children:d.jsx("a",{href:$.downloadLinkPatched,download:"patched_"+$.filename,title:"patched_"+$.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),ie=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),d.jsx(cr,{children:d.jsx(qn,{type:"success",description:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareReseted")})}),fe,ee]}),[he,Se]=l.useState([we,pe,ve,me]),_e=(xe,be)=>{Se(Ee=>{const ke=[...Ee];return ke[xe]=be,ke}),window.scrollTo({top:0,behavior:"smooth"})},$e=()=>{A(xe=>({...xe,resetBox:!1})),q()},ze=()=>{A(xe=>({...xe,resetBox:!1})),s.current&&s.current.click()},Fe=()=>{A(xe=>({...xe,resetBox:!0})),s.current&&s.current.click()},je=()=>{G()},qe=()=>{Z()},Ue=()=>{J()},Ne=()=>{A(xe=>({...xe,proceed:!1})),R(_+1)},Ye=()=>{A(xe=>({...xe,state:"",showProgress:!1,error:!1})),R(_-1)},Re=()=>{x(!1),qe()},Ae=()=>{x(!1)},Le=d.jsx(mt,{icon:d.jsx(Is,{}),disabled:m,onClick:()=>Ye(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),Te=()=>{Ve()},Ve=()=>{O(!0)},Je=()=>{O(!1)},Qe=d.jsx(ox,{boxVersion:Si.esp32,isOpen:N,onClose:Je}),ut=B?d.jsxs(d.Fragment,{children:[d.jsx(hr,{children:e("tonieboxes.esp32BoxFlashing.title")}),d.jsx(xu,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashModal"),open:y,okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.flash"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialog"),contentHint:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialogHint"),handleOk:Re,handleCancel:Ae}),d.jsx(ll,{current:_,children:ne.map((xe,be)=>d.jsx(XHe,{title:xe.title,status:be===_&&be===ne.length-1?"finish":be===_?$.error?"error":"process":be<_?"finish":"wait",className:be===_&&$.actionInProgress?"ant-steps-item-in-progress":""},be))}),d.jsx("div",{style:{marginTop:24},children:he[_]}),d.jsxs("div",{style:{marginTop:24,marginBottom:24},children:[_===0&&d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[d.jsx("div",{children:d.jsx(cr,{children:d.jsx(mt,{onClick:()=>o("/tonieboxes/boxsetup/esp32/legacy"),children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})}),d.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:[d.jsx(nn,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.resetBoxineTooltip"),children:d.jsx(mt,{icon:d.jsx(g0,{}),disabled:m,onClick:()=>Fe(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.resetBoxine")})}),d.jsx(mt,{icon:d.jsx(_we,{}),disabled:m,onClick:()=>ze(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),d.jsx(mt,{icon:d.jsx(bu,{}),disabled:m,type:"primary",onClick:()=>$e(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),d.jsx(mt,{icon:d.jsx(Do,{}),iconPosition:"end",disabled:!$.proceed&&!$.filename||m,onClick:()=>Ne(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),_===1&&d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[Le,d.jsx("div",{style:{display:"flex",gap:8},children:d.jsx(mt,{icon:d.jsx(My,{}),disabled:m||$.hostname===""||$.flagPreviousHostname&&$.previousHostname==="",type:"primary",onClick:()=>je(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),d.jsx(mt,{icon:d.jsx(Do,{}),iconPosition:"end",disabled:m||!$.showFlash,onClick:()=>Ne(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),_===2&&d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[Le,d.jsx("div",{style:{display:"flex",gap:8},children:d.jsx(mt,{icon:d.jsx(zN,{}),disabled:m,type:"primary",onClick:$.resetBox?X:()=>x(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),d.jsx("div",{})]}),_===3&&d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[Le,d.jsx("div",{children:$.resetBox?"":d.jsx(mt,{icon:d.jsx(nc,{}),type:"primary",onClick:Te,children:e("tonieboxes.esp32BoxFlashing.legacy.checkBoxes")})}),d.jsx("div",{})]}),te]})]}):d.jsxs(d.Fragment,{children:[d.jsx(cr,{children:d.jsx(qn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),d.jsxs(cr,{style:{marginTop:16},children:[d.jsxs(cr,{children:[" ",e("tonieboxes.esp32BoxFlashing.hintLegacyApproach")]}),d.jsx(cr,{children:d.jsx(mt,{onClick:()=>o("/tonieboxes/boxsetup/esp32/legacy"),children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})]})]});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsxs("div",{style:{display:"flex",gap:8,flexWrap:"wrap",justifyContent:"space-between",alignItems:"flex-end"},children:[d.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),c&&d.jsxs(cr,{style:{fontSize:"small",display:"flex",gap:8,width:210,alignItems:"center",justifyContent:"flex-end"},children:[d.jsx("div",{style:{textAlign:"end",textWrap:"nowrap"},children:e("tonieboxes.esp32BoxFlashing.baudRate")}),d.jsx(ra,{defaultValue:F,onChange:L,children:k.map(xe=>d.jsx(ZHe,{value:xe,children:xe},xe))})," ",d.jsx(nn,{title:e("tonieboxes.esp32BoxFlashing.baudRateInfo"),placement:"top",children:d.jsx(Bf,{style:{fontSize:"18px",cursor:"pointer"}})})]})]}),c?ut:d.jsxs(d.Fragment,{children:[d.jsx(qn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:d.jsxs(d.Fragment,{children:[d.jsx(cr,{children:e("tonieboxes.esp32BoxFlashing.hint")}),d.jsx(cr,{children:d.jsx(mt,{icon:d.jsx(jq,{}),onClick:U,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0}),d.jsxs(cr,{style:{marginTop:16},children:[d.jsxs(cr,{children:[" ",e("tonieboxes.esp32BoxFlashing.legacy.followLegacyApproach")]}),d.jsx(cr,{children:d.jsx(mt,{onClick:()=>o("/tonieboxes/boxsetup/esp32/legacy"),children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})]})]}),d.jsx(xu,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwrite"),okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteConfirmButton"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteContent",{error:I}),open:b,handleOk:()=>J(!0),handleCancel:()=>C(!1)}),Qe]})]})]})},QHe="/web/assets/esp32_write_patched_image_with_esptools-DmsBlrjp.png",{Paragraph:hi}=zn,{Step:e9e}=ll,t9e=()=>{const{t:e}=Yt(),t=Ur.language,[n,r]=l.useState(0),[a,o]=l.useState(!1),i=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.boxFlashingCommon.dns")}],s=vX(),c=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),d.jsx(qn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:d.jsxs(d.Fragment,{children:[d.jsx(hi,{children:e("tonieboxes.hintLatestFirmware")}),d.jsx(hi,{children:e("tonieboxes.hintLatestFirmwareFactoryResetESP32CC3235")})]}),style:{marginBottom:16}}),d.jsxs(hi,{children:[e("tonieboxes.esp32BoxFlashing.legacy.preparationText")," ",d.jsx(vt,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.legacy.preparationTextLink")})]}),d.jsx("h4",{children:e("tonieboxes.esp32BoxFlashing.legacy.installESPTool")}),d.jsx(hi,{children:e("tonieboxes.esp32BoxFlashing.legacy.installESPToolText")}),d.jsx(hi,{children:d.jsx(vt,{to:"https://github.com/espressif/esptool",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.legacy.installESPToolLink")})}),d.jsx("h4",{children:e("tonieboxes.esp32BoxFlashing.legacy.connectESP32")}),s]}),u=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),LA(!1),d.jsx(hi,{children:d.jsx(Hn,{language:"shell",code:`# extract firmware +esptool.py -b 921600 read_flash 0x0 0x800000 tb.esp32.bin +# extract certficates from firmware +mkdir certs/client/esp32 +mkdir certs/client/ +teddycloud --esp32-extract tb.esp32.bin --destination certs/client/esp32 + +# Copy box certificates to teddyCloud +cp certs/client/esp32/CLIENT.DER certs/client//client.der +cp certs/client/esp32/PRIVATE.DER certs/client//private.der +cp certs/client/esp32/CA.DER certs/client//ca.der + +# In case of first Toniebox setup for TeddyCloud +cp certs/client//client.der certs/client/client.der +cp certs/client//private.der certs/client/private.der +cp certs/client//ca.der certs/client/ca.der + +# Copy certificates to temporary dir +mkdir certs/client/esp32-fakeca +cp certs/client/esp32/CLIENT.DER certs/client/esp32-fakeca/ +cp certs/client/esp32/PRIVATE.DER certs/client/esp32-fakeca/ +cp certs/server/ca.der certs/client/esp32-fakeca/CA.DER`})}),d.jsx(hi,{children:e("tonieboxes.esp32BoxFlashing.legacy.checkDumpIsOk")}),d.jsx("h5",{children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacement")}),e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText1"),d.jsx(hi,{children:d.jsx(Hn,{language:"shell",code:`# copy firmware backup +cp tb.esp32.bin tb.esp32.fakeca.bin + +# inject new CA into firmware +teddycloud --esp32-inject tb.esp32.fakeca.bin --source certs/client/esp32-fakeca +# modify IP/hostname (optional) +teddycloud --esp32-hostpatch tb.esp32.fakeca.bin --hostname + +# flash firmware with new CA +esptool.py -b 921600 write_flash 0x0 tb.esp32.fakeca.bin`})}),d.jsx(Un,{preview:!1,src:QHe,alt:e("tonieboxes.esp32BoxFlashing.legacy.flashESPtoolScreen")}),d.jsx(hi,{style:{marginTop:16},children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText2")}),d.jsx(hi,{children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText3")})]}),f=yX(),g=d.jsxs(d.Fragment,{children:[d.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.dns")}),d.jsx(hi,{children:e("tonieboxes.esp32BoxFlashing.legacy.skipDnsIfAlreadyDone")}),f]}),[m,h]=l.useState([c,u,g]),y=(R,N)=>{h(O=>{const $=[...O];return $[R]=N,$}),window.scrollTo({top:0,behavior:"smooth"})};l.useEffect(()=>{y(n,(()=>{switch(n){case 0:return c;case 1:return u;case 2:return g;default:return d.jsx("div",{})}})())},[n,t,oc()]);const x=()=>{r(n-1)},b=()=>{r(n+1)},C=d.jsx(mt,{icon:d.jsx(Is,{}),onClick:()=>x(),children:e("tonieboxes.esp32BoxFlashing.legacy.previous")}),S=R=>{r(R)},w=()=>{I()},I=()=>{o(!0)},E=()=>{o(!1)},_=d.jsx(ox,{boxVersion:Si.esp32,isOpen:a,onClose:E});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(rs,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsxs("h1",{children:["ESP32 ",e("tonieboxes.esp32BoxFlashing.legacy.title")]}),d.jsx(hr,{children:e("tonieboxes.esp32BoxFlashing.legacy.title")}),d.jsxs(hi,{style:{marginTop:16},children:[d.jsx(ll,{current:n,onChange:S,children:i.map((R,N)=>d.jsx(e9e,{title:R.title,status:N===n&&N===i.length?"finish":N===n?"process":N"u"||e===null}function n9e(e){return typeof e=="object"&&e!==null}function r9e(e){return Array.isArray(e)?e:tZ(e)?[]:[e]}function a9e(e,t){var n,r,a,o;if(t)for(o=Object.keys(t),n=0,r=o.length;ns&&(o=" ... ",t=r-s+o.length),n-r>s&&(i=" ...",n=r+s-i.length),{str:o+e.slice(t,n).replace(/\t/g,"→")+i,pos:r-t+o.length}}function FT(e,t){return wa.repeat(" ",t-e.length)+e}function p9e(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],a=[],o,i=-1;o=n.exec(e.buffer);)a.push(o.index),r.push(o.index+o[0].length),e.position<=o.index&&i<0&&(i=r.length-2);i<0&&(i=r.length-1);var s="",c,u,f=Math.min(e.line+t.linesAfter,a.length).toString().length,g=t.maxLength-(t.indent+f+3);for(c=1;c<=t.linesBefore&&!(i-c<0);c++)u=jT(e.buffer,r[i-c],a[i-c],e.position-(r[i]-r[i-c]),g),s=wa.repeat(" ",t.indent)+FT((e.line-c+1).toString(),f)+" | "+u.str+` +`+s;for(u=jT(e.buffer,r[i],a[i],e.position,g),s+=wa.repeat(" ",t.indent)+FT((e.line+1).toString(),f)+" | "+u.str+` +`,s+=wa.repeat("-",t.indent+f+3+u.pos)+`^ +`,c=1;c<=t.linesAfter&&!(i+c>=a.length);c++)u=jT(e.buffer,r[i+c],a[i+c],e.position-(r[i]-r[i+c]),g),s+=wa.repeat(" ",t.indent)+FT((e.line+c+1).toString(),f)+" | "+u.str+` +`;return s.replace(/\n$/,"")}var g9e=p9e,m9e=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],h9e=["scalar","sequence","mapping"];function v9e(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function b9e(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(m9e.indexOf(n)===-1)throw new vo('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=v9e(t.styleAliases||null),h9e.indexOf(this.kind)===-1)throw new vo('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Za=b9e;function eH(e,t){var n=[];return e[t].forEach(function(r){var a=n.length;n.forEach(function(o,i){o.tag===r.tag&&o.kind===r.kind&&o.multi===r.multi&&(a=i)}),n[a]=r}),n}function y9e(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(a){a.multi?(e.multi[a.kind].push(a),e.multi.fallback.push(a)):e[a.kind][a.tag]=e.fallback[a.tag]=a}for(t=0,n=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),A9e=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function k9e(e){return!(e===null||!A9e.test(e)||e[e.length-1]==="_")}function P9e(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var D9e=/^[-+]?[0-9]+e/;function M9e(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(wa.isNegativeZero(e))return"-0.0";return n=e.toString(10),D9e.test(n)?n.replace("e",".e"):n}function L9e(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||wa.isNegativeZero(e))}var dZ=new Za("tag:yaml.org,2002:float",{kind:"scalar",resolve:k9e,construct:P9e,predicate:L9e,represent:M9e,defaultStyle:"lowercase"}),fZ=sZ.extend({implicit:[lZ,cZ,uZ,dZ]}),pZ=fZ,gZ=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),mZ=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function j9e(e){return e===null?!1:gZ.exec(e)!==null||mZ.exec(e)!==null}function F9e(e){var t,n,r,a,o,i,s,c=0,u=null,f,g,m;if(t=gZ.exec(e),t===null&&(t=mZ.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(n,r,a));if(o=+t[4],i=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(f=+t[10],g=+(t[11]||0),u=(f*60+g)*6e4,t[9]==="-"&&(u=-u)),m=new Date(Date.UTC(n,r,a,o,i,s,c)),u&&m.setTime(m.getTime()-u),m}function B9e(e){return e.toISOString()}var hZ=new Za("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:j9e,construct:F9e,instanceOf:Date,represent:B9e});function z9e(e){return e==="<<"||e===null}var vZ=new Za("tag:yaml.org,2002:merge",{kind:"scalar",resolve:z9e}),UA=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function H9e(e){if(e===null)return!1;var t,n,r=0,a=e.length,o=UA;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8===0}function U9e(e){var t,n,r=e.replace(/[\r\n=]/g,""),a=r.length,o=UA,i=0,s=[];for(t=0;t>16&255),s.push(i>>8&255),s.push(i&255)),i=i<<6|o.indexOf(r.charAt(t));return n=a%4*6,n===0?(s.push(i>>16&255),s.push(i>>8&255),s.push(i&255)):n===18?(s.push(i>>10&255),s.push(i>>2&255)):n===12&&s.push(i>>4&255),new Uint8Array(s)}function V9e(e){var t="",n=0,r,a,o=e.length,i=UA;for(r=0;r>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]),n=(n<<8)+e[r];return a=o%3,a===0?(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]):a===2?(t+=i[n>>10&63],t+=i[n>>4&63],t+=i[n<<2&63],t+=i[64]):a===1&&(t+=i[n>>2&63],t+=i[n<<4&63],t+=i[64],t+=i[64]),t}function W9e(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var bZ=new Za("tag:yaml.org,2002:binary",{kind:"scalar",resolve:H9e,construct:U9e,predicate:W9e,represent:V9e}),G9e=Object.prototype.hasOwnProperty,q9e=Object.prototype.toString;function K9e(e){if(e===null)return!0;var t=[],n,r,a,o,i,s=e;for(n=0,r=s.length;n>10)+55296,(e-65536&1023)+56320)}var _Z=new Array(256),TZ=new Array(256);for(var Nd=0;Nd<256;Nd++)_Z[Nd]=rH(Nd)?1:0,TZ[Nd]=rH(Nd);function uUe(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||VA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function RZ(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=g9e(n),new vo(t,n)}function vn(e,t){throw RZ(e,t)}function R0(e,t){e.onWarning&&e.onWarning.call(null,RZ(e,t))}var aH={YAML:function(t,n,r){var a,o,i;t.version!==null&&vn(t,"duplication of %YAML directive"),r.length!==1&&vn(t,"YAML directive accepts exactly one argument"),a=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),a===null&&vn(t,"ill-formed argument of the YAML directive"),o=parseInt(a[1],10),i=parseInt(a[2],10),o!==1&&vn(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,i!==1&&i!==2&&R0(t,"unsupported YAML version of the document")},TAG:function(t,n,r){var a,o;r.length!==2&&vn(t,"TAG directive accepts exactly two arguments"),a=r[0],o=r[1],EZ.test(a)||vn(t,"ill-formed tag handle (first argument) of the TAG directive"),lc.call(t.tagMap,a)&&vn(t,'there is a previously declared suffix for "'+a+'" tag handle'),IZ.test(o)||vn(t,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{vn(t,"tag prefix is malformed: "+o)}t.tagMap[a]=o}};function Ql(e,t,n,r){var a,o,i,s;if(t1&&(e.result+=wa.repeat(` +`,t-1))}function dUe(e,t,n){var r,a,o,i,s,c,u,f,g=e.kind,m=e.result,h;if(h=e.input.charCodeAt(e.position),ko(h)||Ud(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(a=e.input.charCodeAt(e.position+1),ko(a)||n&&Ud(a)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,s=!1;h!==0;){if(h===58){if(a=e.input.charCodeAt(e.position+1),ko(a)||n&&Ud(a))break}else if(h===35){if(r=e.input.charCodeAt(e.position-1),ko(r))break}else{if(e.position===e.lineStart&&fx(e)||n&&Ud(h))break;if(xs(h))if(c=e.line,u=e.lineStart,f=e.lineIndent,ha(e,!1,-1),e.lineIndent>=t){s=!0,h=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=c,e.lineStart=u,e.lineIndent=f;break}}s&&(Ql(e,o,i,!1),GA(e,e.line-c),o=i=e.position,s=!1),lu(h)||(i=e.position+1),h=e.input.charCodeAt(++e.position)}return Ql(e,o,i,!1),e.result?!0:(e.kind=g,e.result=m,!1)}function fUe(e,t){var n,r,a;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=a=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(Ql(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,a=e.position;else return!0;else xs(n)?(Ql(e,r,a,!0),GA(e,ha(e,!1,t)),r=a=e.position):e.position===e.lineStart&&fx(e)?vn(e,"unexpected end of the document within a single quoted scalar"):(e.position++,a=e.position);vn(e,"unexpected end of the stream within a single quoted scalar")}function pUe(e,t){var n,r,a,o,i,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return Ql(e,n,e.position,!0),e.position++,!0;if(s===92){if(Ql(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),xs(s))ha(e,!1,t);else if(s<256&&_Z[s])e.result+=TZ[s],e.position++;else if((i=sUe(s))>0){for(a=i,o=0;a>0;a--)s=e.input.charCodeAt(++e.position),(i=iUe(s))>=0?o=(o<<4)+i:vn(e,"expected hexadecimal character");e.result+=cUe(o),e.position++}else vn(e,"unknown escape sequence");n=r=e.position}else xs(s)?(Ql(e,n,r,!0),GA(e,ha(e,!1,t)),n=r=e.position):e.position===e.lineStart&&fx(e)?vn(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}vn(e,"unexpected end of the stream within a double quoted scalar")}function gUe(e,t){var n=!0,r,a,o,i=e.tag,s,c=e.anchor,u,f,g,m,h,y=Object.create(null),x,b,C,S;if(S=e.input.charCodeAt(e.position),S===91)f=93,h=!1,s=[];else if(S===123)f=125,h=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),S=e.input.charCodeAt(++e.position);S!==0;){if(ha(e,!0,t),S=e.input.charCodeAt(e.position),S===f)return e.position++,e.tag=i,e.anchor=c,e.kind=h?"mapping":"sequence",e.result=s,!0;n?S===44&&vn(e,"expected the node content, but found ','"):vn(e,"missed comma between flow collection entries"),b=x=C=null,g=m=!1,S===63&&(u=e.input.charCodeAt(e.position+1),ko(u)&&(g=m=!0,e.position++,ha(e,!0,t))),r=e.line,a=e.lineStart,o=e.position,Ef(e,t,_0,!1,!0),b=e.tag,x=e.result,ha(e,!0,t),S=e.input.charCodeAt(e.position),(m||e.line===r)&&S===58&&(g=!0,S=e.input.charCodeAt(++e.position),ha(e,!0,t),Ef(e,t,_0,!1,!0),C=e.result),h?Vd(e,s,y,b,x,C,r,a,o):g?s.push(Vd(e,null,y,b,x,C,r,a,o)):s.push(x),ha(e,!0,t),S=e.input.charCodeAt(e.position),S===44?(n=!0,S=e.input.charCodeAt(++e.position)):n=!1}vn(e,"unexpected end of the stream within a flow collection")}function mUe(e,t){var n,r,a=BT,o=!1,i=!1,s=t,c=0,u=!1,f,g;if(g=e.input.charCodeAt(e.position),g===124)r=!1;else if(g===62)r=!0;else return!1;for(e.kind="scalar",e.result="";g!==0;)if(g=e.input.charCodeAt(++e.position),g===43||g===45)BT===a?a=g===43?tH:nUe:vn(e,"repeat of a chomping mode identifier");else if((f=lUe(g))>=0)f===0?vn(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?vn(e,"repeat of an indentation width identifier"):(s=t+f-1,i=!0);else break;if(lu(g)){do g=e.input.charCodeAt(++e.position);while(lu(g));if(g===35)do g=e.input.charCodeAt(++e.position);while(!xs(g)&&g!==0)}for(;g!==0;){for(WA(e),e.lineIndent=0,g=e.input.charCodeAt(e.position);(!i||e.lineIndents&&(s=e.lineIndent),xs(g)){c++;continue}if(e.lineIndentt)&&c!==0)vn(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(b&&(i=e.line,s=e.lineStart,c=e.position),Ef(e,t,T0,!0,a)&&(b?y=e.result:x=e.result),b||(Vd(e,g,m,h,y,x,i,s,c),h=y=x=null),ha(e,!0,-1),S=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&S!==0)vn(e,"bad indentation of a mapping entry");else if(e.lineIndentt?c=1:e.lineIndent===t?c=0:e.lineIndentt?c=1:e.lineIndent===t?c=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),g=0,m=e.implicitTypes.length;g"),e.result!==null&&y.kind!==e.kind&&vn(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+y.kind+'", not "'+e.kind+'"'),y.resolve(e.result,e.tag)?(e.result=y.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):vn(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function xUe(e){var t=e.position,n,r,a,o=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(ha(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(o=!0,i=e.input.charCodeAt(++e.position),n=e.position;i!==0&&!ko(i);)i=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),a=[],r.length<1&&vn(e,"directive name must not be less than one character in length");i!==0;){for(;lu(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!xs(i));break}if(xs(i))break;for(n=e.position;i!==0&&!ko(i);)i=e.input.charCodeAt(++e.position);a.push(e.input.slice(n,e.position))}i!==0&&WA(e),lc.call(aH,r)?aH[r](e,r,a):R0(e,'unknown document directive "'+r+'"')}if(ha(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,ha(e,!0,-1)):o&&vn(e,"directives end mark is expected"),Ef(e,e.lineIndent-1,T0,!1,!0),ha(e,!0,-1),e.checkLineBreaks&&aUe.test(e.input.slice(t,e.position))&&R0(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&fx(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,ha(e,!0,-1));return}if(e.position"u"&&(n=t,t=null);var r=OZ(e,n);if(typeof t!="function")return r;for(var a=0,o=r.length;a=55296&&n<=56319&&t+1=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function jZ(e){var t=/^\n* /;return t.test(e)}var FZ=1,o$=2,BZ=3,zZ=4,Dd=5;function XUe(e,t,n,r,a,o,i,s){var c,u=0,f=null,g=!1,m=!1,h=r!==-1,y=-1,x=KUe(lg(e,0))&&YUe(lg(e,e.length-1));if(t||i)for(c=0;c=65536?c+=2:c++){if(u=lg(e,c),!dm(u))return Dd;x=x&&cH(u,f,s),f=u}else{for(c=0;c=65536?c+=2:c++){if(u=lg(e,c),u===cm)g=!0,h&&(m=m||c-y-1>r&&e[y+1]!==" ",y=c);else if(!dm(u))return Dd;x=x&&cH(u,f,s),f=u}m=m||h&&c-y-1>r&&e[y+1]!==" "}return!g&&!m?x&&!i&&!a(e)?FZ:o===um?Dd:o$:n>9&&jZ(e)?Dd:i?o===um?Dd:o$:m?zZ:BZ}function ZUe(e,t,n,r,a){e.dump=function(){if(t.length===0)return e.quotingType===um?'""':"''";if(!e.noCompatMode&&(zUe.indexOf(t)!==-1||HUe.test(t)))return e.quotingType===um?'"'+t+'"':"'"+t+"'";var o=e.indent*Math.max(1,n),i=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),s=r||e.flowLevel>-1&&n>=e.flowLevel;function c(u){return qUe(e,u)}switch(XUe(t,s,e.indent,i,c,e.quotingType,e.forceQuotes&&!r,a)){case FZ:return t;case o$:return"'"+t.replace(/'/g,"''")+"'";case BZ:return"|"+uH(t,e.indent)+dH(sH(t,o));case zZ:return">"+uH(t,e.indent)+dH(sH(JUe(t,i),o));case Dd:return'"'+QUe(t)+'"';default:throw new vo("impossible error: invalid scalar style")}}()}function uH(e,t){var n=jZ(e)?String(t):"",r=e[e.length-1]===` +`,a=r&&(e[e.length-2]===` +`||e===` +`),o=a?"+":r?"":"-";return n+o+` +`}function dH(e){return e[e.length-1]===` +`?e.slice(0,-1):e}function JUe(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var u=e.indexOf(` +`);return u=u!==-1?u:e.length,n.lastIndex=u,fH(e.slice(0,u),t)}(),a=e[0]===` +`||e[0]===" ",o,i;i=n.exec(e);){var s=i[1],c=i[2];o=c[0]===" ",r+=s+(!a&&!o&&c!==""?` +`:"")+fH(c,t),a=o}return r}function fH(e,t){if(e===""||e[0]===" ")return e;for(var n=/ [^ ]/g,r,a=0,o,i=0,s=0,c="";r=n.exec(e);)s=r.index,s-a>t&&(o=i>a?i:s,c+=` +`+e.slice(a,o),a=o+1),i=s;return c+=` +`,e.length-a>t&&i>a?c+=e.slice(a,i)+` +`+e.slice(i+1):c+=e.slice(a),c.slice(1)}function QUe(e){for(var t="",n=0,r,a=0;a=65536?a+=2:a++)n=lg(e,a),r=uo[n],!r&&dm(n)?(t+=e[a],n>=65536&&(t+=e[a+1])):t+=r||VUe(n);return t}function eVe(e,t,n){var r="",a=e.tag,o,i,s;for(o=0,i=n.length;o"u"&&il(e,t,null,!1,!1))&&(r!==""&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=a,e.dump="["+r+"]"}function pH(e,t,n,r){var a="",o=e.tag,i,s,c;for(i=0,s=n.length;i"u"&&il(e,t+1,null,!0,!0,!1,!0))&&((!r||a!=="")&&(a+=a$(e,t)),e.dump&&cm===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=o,e.dump=a||"[]"}function tVe(e,t,n){var r="",a=e.tag,o=Object.keys(n),i,s,c,u,f;for(i=0,s=o.length;i1024&&(f+="? "),f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),il(e,t,u,!1,!1)&&(f+=e.dump,r+=f));e.tag=a,e.dump="{"+r+"}"}function nVe(e,t,n,r){var a="",o=e.tag,i=Object.keys(n),s,c,u,f,g,m;if(e.sortKeys===!0)i.sort();else if(typeof e.sortKeys=="function")i.sort(e.sortKeys);else if(e.sortKeys)throw new vo("sortKeys must be a boolean or a function");for(s=0,c=i.length;s1024,g&&(e.dump&&cm===e.dump.charCodeAt(0)?m+="?":m+="? "),m+=e.dump,g&&(m+=a$(e,t)),il(e,t+1,f,!0,g)&&(e.dump&&cm===e.dump.charCodeAt(0)?m+=":":m+=": ",m+=e.dump,a+=m));e.tag=o,e.dump=a||"{}"}function gH(e,t,n){var r,a,o,i,s,c;for(a=n?e.explicitTypes:e.implicitTypes,o=0,i=a.length;o tag resolver accepts not "'+c+'" style');e.dump=r}return!0}return!1}function il(e,t,n,r,a,o,i){e.tag=null,e.dump=n,gH(e,n,!1)||gH(e,n,!0);var s=NZ.call(e.dump),c=r,u;r&&(r=e.flowLevel<0||e.flowLevel>t);var f=s==="[object Object]"||s==="[object Array]",g,m;if(f&&(g=e.duplicates.indexOf(n),m=g!==-1),(e.tag!==null&&e.tag!=="?"||m||e.indent!==2&&t>0)&&(a=!1),m&&e.usedDuplicates[g])e.dump="*ref_"+g;else{if(f&&m&&!e.usedDuplicates[g]&&(e.usedDuplicates[g]=!0),s==="[object Object]")r&&Object.keys(e.dump).length!==0?(nVe(e,t,e.dump,a),m&&(e.dump="&ref_"+g+e.dump)):(tVe(e,t,e.dump),m&&(e.dump="&ref_"+g+" "+e.dump));else if(s==="[object Array]")r&&e.dump.length!==0?(e.noArrayIndent&&!i&&t>0?pH(e,t-1,e.dump,a):pH(e,t,e.dump,a),m&&(e.dump="&ref_"+g+e.dump)):(eVe(e,t,e.dump),m&&(e.dump="&ref_"+g+" "+e.dump));else if(s==="[object String]")e.tag!=="?"&&ZUe(e,e.dump,t,o,c);else{if(s==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new vo("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function rVe(e,t){var n=[],r=[],a,o;for(i$(e,n,r),a=0,o=r.length;ar=>{t.forEach(a=>a(r))},t)}const px=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Jf(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function YA(e){return"nodeType"in e}function Lo(e){var t,n;return e?Jf(e)?e:YA(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function XA(e){const{Document:t}=Lo(e);return e instanceof t}function eh(e){return Jf(e)?!1:e instanceof Lo(e).HTMLElement}function HZ(e){return e instanceof Lo(e).SVGElement}function Qf(e){return e?Jf(e)?e.document:YA(e)?XA(e)?e:eh(e)||HZ(e)?e.ownerDocument:document:document:document}const Ts=px?l.useLayoutEffect:l.useEffect;function ZA(e){const t=l.useRef(e);return Ts(()=>{t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{e.current=setInterval(r,a)},[]),n=l.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function fm(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return Ts(()=>{n.current!==e&&(n.current=e)},t),n}function th(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function N0(e){const t=ZA(e),n=l.useRef(null),r=l.useCallback(a=>{a!==n.current&&(t==null||t(a,n.current)),n.current=a},[]);return[n,r]}function s$(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let zT={};function nh(e,t){return l.useMemo(()=>{if(t)return t;const n=zT[e]==null?0:zT[e]+1;return zT[e]=n,e+"-"+n},[e,t])}function UZ(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{const s=Object.entries(i);for(const[c,u]of s){const f=o[c];f!=null&&(o[c]=f+e*u)}return o},{...t})}}const Qd=UZ(1),A0=UZ(-1);function EVe(e){return"clientX"in e&&"clientY"in e}function JA(e){if(!e)return!1;const{KeyboardEvent:t}=Lo(e.target);return t&&e instanceof t}function IVe(e){if(!e)return!1;const{TouchEvent:t}=Lo(e.target);return t&&e instanceof t}function l$(e){if(IVe(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return EVe(e)?{x:e.clientX,y:e.clientY}:null}const If=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[If.Translate.toString(e),If.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),mH="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function _Ve(e){return e.matches(mH)?e:e.querySelector(mH)}const TVe={display:"none"};function RVe(e){let{id:t,value:n}=e;return ge.createElement("div",{id:t,style:TVe},n)}function OVe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const a={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ge.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function $Ve(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const VZ=l.createContext(null);function NVe(e){const t=l.useContext(VZ);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function AVe(){const[e]=l.useState(()=>new Set),t=l.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[l.useCallback(r=>{let{type:a,event:o}=r;e.forEach(i=>{var s;return(s=i[a])==null?void 0:s.call(i,o)})},[e]),t]}const kVe={draggable:` + To pick up a draggable item, press the space bar. + While dragging, use the arrow keys to move the item. + Press space again to drop the item in its new position, or press escape to cancel. + `},PVe={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function DVe(e){let{announcements:t=PVe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:a=kVe}=e;const{announce:o,announcement:i}=$Ve(),s=nh("DndLiveRegion"),[c,u]=l.useState(!1);if(l.useEffect(()=>{u(!0)},[]),NVe(l.useMemo(()=>({onDragStart(g){let{active:m}=g;o(t.onDragStart({active:m}))},onDragMove(g){let{active:m,over:h}=g;t.onDragMove&&o(t.onDragMove({active:m,over:h}))},onDragOver(g){let{active:m,over:h}=g;o(t.onDragOver({active:m,over:h}))},onDragEnd(g){let{active:m,over:h}=g;o(t.onDragEnd({active:m,over:h}))},onDragCancel(g){let{active:m,over:h}=g;o(t.onDragCancel({active:m,over:h}))}}),[o,t])),!c)return null;const f=ge.createElement(ge.Fragment,null,ge.createElement(RVe,{id:r,value:a.draggable}),ge.createElement(OVe,{id:s,announcement:i}));return n?Ka.createPortal(f,n):f}var Sa;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Sa||(Sa={}));function k0(){}function WZ(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const Ji=Object.freeze({x:0,y:0});function MVe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function LVe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function jVe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),i=a-r,s=o-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=[];for(const o of r){const{id:i}=o,s=n.get(i);if(s){const c=jVe(s,t);c>0&&a.push({id:i,data:{droppableContainer:o,value:c}})}}return a.sort(MVe)};function BVe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function GZ(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Ji}function zVe(e){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o({...i,top:i.top+e*s.y,bottom:i.bottom+e*s.y,left:i.left+e*s.x,right:i.right+e*s.x}),{...n})}}const HVe=zVe(1);function UVe(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function VVe(e,t,n){const r=UVe(t);if(!r)return e;const{scaleX:a,scaleY:o,x:i,y:s}=r,c=e.left-i-(1-a)*parseFloat(n),u=e.top-s-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),f=a?e.width/a:e.width,g=o?e.height/o:e.height;return{width:f,height:g,top:u,right:c+f,bottom:u+g,left:c}}const WVe={ignoreTransform:!1};function ep(e,t){t===void 0&&(t=WVe);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:f}=Lo(e).getComputedStyle(e);u&&(n=VVe(n,u,f))}const{top:r,left:a,width:o,height:i,bottom:s,right:c}=n;return{top:r,left:a,width:o,height:i,bottom:s,right:c}}function hH(e){return ep(e,{ignoreTransform:!0})}function GVe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function qVe(e,t){return t===void 0&&(t=Lo(e).getComputedStyle(e)),t.position==="fixed"}function KVe(e,t){t===void 0&&(t=Lo(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const o=t[a];return typeof o=="string"?n.test(o):!1})}function QA(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(XA(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!eh(a)||HZ(a)||n.includes(a))return n;const o=Lo(e).getComputedStyle(a);return a!==e&&KVe(a,o)&&n.push(a),qVe(a,o)?n:r(a.parentNode)}return e?r(e):n}function qZ(e){const[t]=QA(e,1);return t??null}function HT(e){return!px||!e?null:Jf(e)?e:YA(e)?XA(e)||e===Qf(e).scrollingElement?window:eh(e)?e:null:null}function KZ(e){return Jf(e)?e.scrollX:e.scrollLeft}function YZ(e){return Jf(e)?e.scrollY:e.scrollTop}function c$(e){return{x:KZ(e),y:YZ(e)}}var ja;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(ja||(ja={}));function XZ(e){return!px||!e?!1:e===document.scrollingElement}function ZZ(e){const t={x:0,y:0},n=XZ(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},a=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,i=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:a,isLeft:o,isBottom:i,isRight:s,maxScroll:r,minScroll:t}}const YVe={x:.2,y:.2};function XVe(e,t,n,r,a){let{top:o,left:i,right:s,bottom:c}=n;r===void 0&&(r=10),a===void 0&&(a=YVe);const{isTop:u,isBottom:f,isLeft:g,isRight:m}=ZZ(e),h={x:0,y:0},y={x:0,y:0},x={height:t.height*a.y,width:t.width*a.x};return!u&&o<=t.top+x.height?(h.y=ja.Backward,y.y=r*Math.abs((t.top+x.height-o)/x.height)):!f&&c>=t.bottom-x.height&&(h.y=ja.Forward,y.y=r*Math.abs((t.bottom-x.height-c)/x.height)),!m&&s>=t.right-x.width?(h.x=ja.Forward,y.x=r*Math.abs((t.right-x.width-s)/x.width)):!g&&i<=t.left+x.width&&(h.x=ja.Backward,y.x=r*Math.abs((t.left+x.width-i)/x.width)),{direction:h,speed:y}}function ZVe(e){if(e===document.scrollingElement){const{innerWidth:o,innerHeight:i}=window;return{top:0,left:0,right:o,bottom:i,width:o,height:i}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function JZ(e){return e.reduce((t,n)=>Qd(t,c$(n)),Ji)}function JVe(e){return e.reduce((t,n)=>t+KZ(n),0)}function QVe(e){return e.reduce((t,n)=>t+YZ(n),0)}function eWe(e,t){if(t===void 0&&(t=ep),!e)return;const{top:n,left:r,bottom:a,right:o}=t(e);qZ(e)&&(a<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const tWe=[["x",["left","right"],JVe],["y",["top","bottom"],QVe]];class ek{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=QA(n),a=JZ(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[o,i,s]of tWe)for(const c of i)Object.defineProperty(this,c,{get:()=>{const u=s(r),f=a[o]-u;return this.rect[c]+f},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Eg{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var a;(a=this.target)==null||a.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function nWe(e){const{EventTarget:t}=Lo(e);return e instanceof t?e:Qf(e)}function UT(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var xi;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(xi||(xi={}));function vH(e){e.preventDefault()}function rWe(e){e.stopPropagation()}var Sr;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Sr||(Sr={}));const QZ={start:[Sr.Space,Sr.Enter],cancel:[Sr.Esc],end:[Sr.Space,Sr.Enter,Sr.Tab]},aWe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Sr.Right:return{...n,x:n.x+25};case Sr.Left:return{...n,x:n.x-25};case Sr.Down:return{...n,y:n.y+25};case Sr.Up:return{...n,y:n.y-25}}};class eJ{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Eg(Qf(n)),this.windowListeners=new Eg(Lo(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(xi.Resize,this.handleCancel),this.windowListeners.add(xi.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(xi.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&eWe(r),n(Ji)}handleKeyDown(t){if(JA(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:o=QZ,coordinateGetter:i=aWe,scrollBehavior:s="smooth"}=a,{code:c}=t;if(o.end.includes(c)){this.handleEnd(t);return}if(o.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=r.current,f=u?{x:u.left,y:u.top}:Ji;this.referenceCoordinates||(this.referenceCoordinates=f);const g=i(t,{active:n,context:r.current,currentCoordinates:f});if(g){const m=A0(g,f),h={x:0,y:0},{scrollableAncestors:y}=r.current;for(const x of y){const b=t.code,{isTop:C,isRight:S,isLeft:w,isBottom:I,maxScroll:E,minScroll:_}=ZZ(x),R=ZVe(x),N={x:Math.min(b===Sr.Right?R.right-R.width/2:R.right,Math.max(b===Sr.Right?R.left:R.left+R.width/2,g.x)),y:Math.min(b===Sr.Down?R.bottom-R.height/2:R.bottom,Math.max(b===Sr.Down?R.top:R.top+R.height/2,g.y))},O=b===Sr.Right&&!S||b===Sr.Left&&!w,$=b===Sr.Down&&!I||b===Sr.Up&&!C;if(O&&N.x!==g.x){const A=x.scrollLeft+m.x,B=b===Sr.Right&&A<=E.x||b===Sr.Left&&A>=_.x;if(B&&!m.y){x.scrollTo({left:A,behavior:s});return}B?h.x=x.scrollLeft-A:h.x=b===Sr.Right?x.scrollLeft-E.x:x.scrollLeft-_.x,h.x&&x.scrollBy({left:-h.x,behavior:s});break}else if($&&N.y!==g.y){const A=x.scrollTop+m.y,B=b===Sr.Down&&A<=E.y||b===Sr.Up&&A>=_.y;if(B&&!m.x){x.scrollTo({top:A,behavior:s});return}B?h.y=x.scrollTop-A:h.y=b===Sr.Down?x.scrollTop-E.y:x.scrollTop-_.y,h.y&&x.scrollBy({top:-h.y,behavior:s});break}}this.handleMove(t,Qd(A0(g,this.referenceCoordinates),h))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}eJ.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=QZ,onActivation:a}=t,{active:o}=n;const{code:i}=e.nativeEvent;if(r.start.includes(i)){const s=o.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function bH(e){return!!(e&&"distance"in e)}function yH(e){return!!(e&&"delay"in e)}class tk{constructor(t,n,r){var a;r===void 0&&(r=nWe(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:o}=t,{target:i}=o;this.props=t,this.events=n,this.document=Qf(i),this.documentListeners=new Eg(this.document),this.listeners=new Eg(r),this.windowListeners=new Eg(Lo(i)),this.initialCoordinates=(a=l$(o))!=null?a:Ji,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(xi.Resize,this.handleCancel),this.windowListeners.add(xi.DragStart,vH),this.windowListeners.add(xi.VisibilityChange,this.handleCancel),this.windowListeners.add(xi.ContextMenu,vH),this.documentListeners.add(xi.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(yH(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(bH(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:a}=this.props;a(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(xi.Click,rWe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(xi.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:a,props:o}=this,{onMove:i,options:{activationConstraint:s}}=o;if(!a)return;const c=(n=l$(t))!=null?n:Ji,u=A0(a,c);if(!r&&s){if(bH(s)){if(s.tolerance!=null&&UT(u,s.tolerance))return this.handleCancel();if(UT(u,s.distance))return this.handleStart()}if(yH(s)&&UT(u,s.tolerance))return this.handleCancel();this.handlePending(s,u);return}t.cancelable&&t.preventDefault(),i(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===Sr.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const oWe={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class gx extends tk{constructor(t){const{event:n}=t,r=Qf(n.target);super(t,oWe,r)}}gx.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const iWe={move:{name:"mousemove"},end:{name:"mouseup"}};var u$;(function(e){e[e.RightClick=2]="RightClick"})(u$||(u$={}));class sWe extends tk{constructor(t){super(t,iWe,Qf(t.event.target))}}sWe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===u$.RightClick?!1:(r==null||r({event:n}),!0)}}];const VT={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class lWe extends tk{constructor(t){super(t,VT)}static setup(){return window.addEventListener(VT.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(VT.move.name,t)};function t(){}}}lWe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return a.length>1?!1:(r==null||r({event:n}),!0)}}];var Ig;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Ig||(Ig={}));var P0;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(P0||(P0={}));function cWe(e){let{acceleration:t,activator:n=Ig.Pointer,canScroll:r,draggingRect:a,enabled:o,interval:i=5,order:s=P0.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:f,delta:g,threshold:m}=e;const h=dWe({delta:g,disabled:!o}),[y,x]=wVe(),b=l.useRef({x:0,y:0}),C=l.useRef({x:0,y:0}),S=l.useMemo(()=>{switch(n){case Ig.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Ig.DraggableRect:return a}},[n,a,c]),w=l.useRef(null),I=l.useCallback(()=>{const _=w.current;if(!_)return;const R=b.current.x*C.current.x,N=b.current.y*C.current.y;_.scrollBy(R,N)},[]),E=l.useMemo(()=>s===P0.TreeOrder?[...u].reverse():u,[s,u]);l.useEffect(()=>{if(!o||!u.length||!S){x();return}for(const _ of E){if((r==null?void 0:r(_))===!1)continue;const R=u.indexOf(_),N=f[R];if(!N)continue;const{direction:O,speed:$}=XVe(_,N,S,t,m);for(const A of["x","y"])h[A][O[A]]||($[A]=0,O[A]=0);if($.x>0||$.y>0){x(),w.current=_,y(I,i),b.current=$,C.current=O;return}}b.current={x:0,y:0},C.current={x:0,y:0},x()},[t,I,r,x,o,i,JSON.stringify(S),JSON.stringify(h),y,u,E,f,JSON.stringify(m)])}const uWe={x:{[ja.Backward]:!1,[ja.Forward]:!1},y:{[ja.Backward]:!1,[ja.Forward]:!1}};function dWe(e){let{delta:t,disabled:n}=e;const r=s$(t);return th(a=>{if(n||!r||!a)return uWe;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[ja.Backward]:a.x[ja.Backward]||o.x===-1,[ja.Forward]:a.x[ja.Forward]||o.x===1},y:{[ja.Backward]:a.y[ja.Backward]||o.y===-1,[ja.Forward]:a.y[ja.Forward]||o.y===1}}},[n,t,r])}function fWe(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return th(a=>{var o;return t==null?null:(o=r??a)!=null?o:null},[r,t])}function pWe(e,t){return l.useMemo(()=>e.reduce((n,r)=>{const{sensor:a}=r,o=a.activators.map(i=>({eventName:i.eventName,handler:t(i.handler,r)}));return[...n,...o]},[]),[e,t])}var pm;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(pm||(pm={}));var d$;(function(e){e.Optimized="optimized"})(d$||(d$={}));const xH=new Map;function gWe(e,t){let{dragging:n,dependencies:r,config:a}=t;const[o,i]=l.useState(null),{frequency:s,measure:c,strategy:u}=a,f=l.useRef(e),g=b(),m=fm(g),h=l.useCallback(function(C){C===void 0&&(C=[]),!m.current&&i(S=>S===null?C:S.concat(C.filter(w=>!S.includes(w))))},[m]),y=l.useRef(null),x=th(C=>{if(g&&!n)return xH;if(!C||C===xH||f.current!==e||o!=null){const S=new Map;for(let w of e){if(!w)continue;if(o&&o.length>0&&!o.includes(w.id)&&w.rect.current){S.set(w.id,w.rect.current);continue}const I=w.node.current,E=I?new ek(c(I),I):null;w.rect.current=E,E&&S.set(w.id,E)}return S}return C},[e,o,n,g,c]);return l.useEffect(()=>{f.current=e},[e]),l.useEffect(()=>{g||h()},[n,g]),l.useEffect(()=>{o&&o.length>0&&i(null)},[JSON.stringify(o)]),l.useEffect(()=>{g||typeof s!="number"||y.current!==null||(y.current=setTimeout(()=>{h(),y.current=null},s))},[s,g,h,...r]),{droppableRects:x,measureDroppableContainers:h,measuringScheduled:o!=null};function b(){switch(u){case pm.Always:return!1;case pm.BeforeDragging:return n;default:return!n}}}function tJ(e,t){return th(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function mWe(e,t){return tJ(e,t)}function hWe(e){let{callback:t,disabled:n}=e;const r=ZA(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:o}=window;return new o(r)},[r,n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function mx(e){let{callback:t,disabled:n}=e;const r=ZA(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(r)},[n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function vWe(e){return new ek(ep(e),e)}function SH(e,t,n){t===void 0&&(t=vWe);const[r,a]=l.useState(null);function o(){a(c=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const f=t(e);return JSON.stringify(c)===JSON.stringify(f)?c:f})}const i=hWe({callback(c){if(e)for(const u of c){const{type:f,target:g}=u;if(f==="childList"&&g instanceof HTMLElement&&g.contains(e)){o();break}}}}),s=mx({callback:o});return Ts(()=>{o(),e?(s==null||s.observe(e),i==null||i.observe(document.body,{childList:!0,subtree:!0})):(s==null||s.disconnect(),i==null||i.disconnect())},[e]),r}function bWe(e){const t=tJ(e);return GZ(e,t)}const CH=[];function yWe(e){const t=l.useRef(e),n=th(r=>e?r&&r!==CH&&e&&t.current&&e.parentNode===t.current.parentNode?r:QA(e):CH,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function xWe(e){const[t,n]=l.useState(null),r=l.useRef(e),a=l.useCallback(o=>{const i=HT(o.target);i&&n(s=>s?(s.set(i,c$(i)),new Map(s)):null)},[]);return l.useEffect(()=>{const o=r.current;if(e!==o){i(o);const s=e.map(c=>{const u=HT(c);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,c$(u)]):null}).filter(c=>c!=null);n(s.length?new Map(s):null),r.current=e}return()=>{i(e),i(o)};function i(s){s.forEach(c=>{const u=HT(c);u==null||u.removeEventListener("scroll",a)})}},[a,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((o,i)=>Qd(o,i),Ji):JZ(e):Ji,[e,t])}function wH(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==Ji;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?A0(e,n.current):Ji}function SWe(e){l.useEffect(()=>{if(!px)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function CWe(e,t){return l.useMemo(()=>e.reduce((n,r)=>{let{eventName:a,handler:o}=r;return n[a]=i=>{o(i,t)},n},{}),[e,t])}function nJ(e){return l.useMemo(()=>e?GVe(e):null,[e])}const EH=[];function wWe(e,t){t===void 0&&(t=ep);const[n]=e,r=nJ(n?Lo(n):null),[a,o]=l.useState(EH);function i(){o(()=>e.length?e.map(c=>XZ(c)?r:new ek(t(c),c)):EH)}const s=mx({callback:i});return Ts(()=>{s==null||s.disconnect(),i(),e.forEach(c=>s==null?void 0:s.observe(c))},[e]),a}function EWe(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return eh(t)?t:e}function IWe(e){let{measure:t}=e;const[n,r]=l.useState(null),a=l.useCallback(u=>{for(const{target:f}of u)if(eh(f)){r(g=>{const m=t(f);return g?{...g,width:m.width,height:m.height}:m});break}},[t]),o=mx({callback:a}),i=l.useCallback(u=>{const f=EWe(u);o==null||o.disconnect(),f&&(o==null||o.observe(f)),r(f?t(f):null)},[t,o]),[s,c]=N0(i);return l.useMemo(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}const _We=[{sensor:gx,options:{}},{sensor:eJ,options:{}}],TWe={current:{}},Db={draggable:{measure:hH},droppable:{measure:hH,strategy:pm.WhileDragging,frequency:d$.Optimized},dragOverlay:{measure:ep}};class _g extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const RWe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new _g,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:k0},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Db,measureDroppableContainers:k0,windowRect:null,measuringScheduled:!1},OWe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:k0,draggableNodes:new Map,over:null,measureDroppableContainers:k0},hx=l.createContext(OWe),rJ=l.createContext(RWe);function $We(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new _g}}}function NWe(e,t){switch(t.type){case Sa.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Sa.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case Sa.DragEnd:case Sa.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Sa.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new _g(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case Sa.SetDroppableDisabled:{const{id:n,key:r,disabled:a}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new _g(e.droppable.containers);return i.set(n,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:i}}}case Sa.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const o=new _g(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function AWe(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=l.useContext(hx),o=s$(r),i=s$(n==null?void 0:n.id);return l.useEffect(()=>{if(!t&&!r&&o&&i!=null){if(!JA(o)||document.activeElement===o.target)return;const s=a.get(i);if(!s)return;const{activatorNode:c,node:u}=s;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const f of[c.current,u.current]){if(!f)continue;const g=_Ve(f);if(g){g.focus();break}}})}},[r,t,a,i,o]),null}function kWe(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,o)=>o({transform:a,...r}),n):n}function PWe(e){return l.useMemo(()=>({draggable:{...Db.draggable,...e==null?void 0:e.draggable},droppable:{...Db.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Db.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function DWe(e){let{activeNode:t,measure:n,initialRect:r,config:a=!0}=e;const o=l.useRef(!1),{x:i,y:s}=typeof a=="boolean"?{x:a,y:a}:a;Ts(()=>{if(!i&&!s||!t){o.current=!1;return}if(o.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const f=n(u),g=GZ(f,r);if(i||(g.x=0),s||(g.y=0),o.current=!0,Math.abs(g.x)>0||Math.abs(g.y)>0){const m=qZ(u);m&&m.scrollBy({top:g.y,left:g.x})}},[t,i,s,r,n])}const aJ=l.createContext({...Ji,scaleX:1,scaleY:1});var jl;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(jl||(jl={}));const oJ=l.memo(function(t){var n,r,a,o;let{id:i,accessibility:s,autoScroll:c=!0,children:u,sensors:f=_We,collisionDetection:g=FVe,measuring:m,modifiers:h,...y}=t;const x=l.useReducer(NWe,void 0,$We),[b,C]=x,[S,w]=AVe(),[I,E]=l.useState(jl.Uninitialized),_=I===jl.Initialized,{draggable:{active:R,nodes:N,translate:O},droppable:{containers:$}}=b,A=R!=null?N.get(R):null,B=l.useRef({initial:null,translated:null}),j=l.useMemo(()=>{var xe;return R!=null?{id:R,data:(xe=A==null?void 0:A.data)!=null?xe:TWe,rect:B}:null},[R,A]),F=l.useRef(null),[D,k]=l.useState(null),[M,L]=l.useState(null),H=fm(y,Object.values(y)),U=nh("DndDescribedBy",i),z=l.useMemo(()=>$.getEnabled(),[$]),W=PWe(m),{droppableRects:q,measureDroppableContainers:K,measuringScheduled:G}=gWe(z,{dragging:_,dependencies:[O.x,O.y],config:W.droppable}),X=fWe(N,R),Z=l.useMemo(()=>M?l$(M):null,[M]),J=ut(),ne=mWe(X,W.draggable.measure);DWe({activeNode:R!=null?N.get(R):null,config:J.layoutShiftCompensation,initialRect:ne,measure:W.draggable.measure});const Q=SH(X,W.draggable.measure,ne),ee=SH(X?X.parentElement:null),te=l.useRef({activatorEvent:null,active:null,activeNode:X,collisionRect:null,collisions:null,droppableRects:q,draggableNodes:N,draggingNode:null,draggingNodeRect:null,droppableContainers:$,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),oe=$.getNodeFor((n=te.current.over)==null?void 0:n.id),le=IWe({measure:W.dragOverlay.measure}),fe=(r=le.nodeRef.current)!=null?r:X,ue=_?(a=le.rect)!=null?a:Q:null,we=!!(le.nodeRef.current&&le.rect),pe=bWe(we?null:Q),ve=nJ(fe?Lo(fe):null),Ce=yWe(_?oe??X:null),me=wWe(Ce),ie=kWe(h,{transform:{x:O.x-pe.x,y:O.y-pe.y,scaleX:1,scaleY:1},activatorEvent:M,active:j,activeNodeRect:Q,containerNodeRect:ee,draggingNodeRect:ue,over:te.current.over,overlayNodeRect:le.rect,scrollableAncestors:Ce,scrollableAncestorRects:me,windowRect:ve}),he=Z?Qd(Z,O):null,Se=xWe(Ce),_e=wH(Se),$e=wH(Se,[Q]),ze=Qd(ie,_e),Fe=ue?HVe(ue,ie):null,je=j&&Fe?g({active:j,collisionRect:Fe,droppableRects:q,droppableContainers:z,pointerCoordinates:he}):null,qe=LVe(je,"id"),[Ue,Ne]=l.useState(null),Ye=we?ie:Qd(ie,$e),Re=BVe(Ye,(o=Ue==null?void 0:Ue.rect)!=null?o:null,Q),Ae=l.useRef(null),Le=l.useCallback((xe,be)=>{let{sensor:Ee,options:ke}=be;if(F.current==null)return;const et=N.get(F.current);if(!et)return;const Be=xe.nativeEvent,Ke=new Ee({active:F.current,activeNode:et,event:Be,options:ke,context:te,onAbort(nt){if(!N.get(nt))return;const{onDragAbort:tt}=H.current,ct={id:nt};tt==null||tt(ct),S({type:"onDragAbort",event:ct})},onPending(nt,ht,tt,ct){if(!N.get(nt))return;const{onDragPending:St}=H.current,yt={id:nt,constraint:ht,initialCoordinates:tt,offset:ct};St==null||St(yt),S({type:"onDragPending",event:yt})},onStart(nt){const ht=F.current;if(ht==null)return;const tt=N.get(ht);if(!tt)return;const{onDragStart:ct}=H.current,bt={activatorEvent:Be,active:{id:ht,data:tt.data,rect:B}};Ka.unstable_batchedUpdates(()=>{ct==null||ct(bt),E(jl.Initializing),C({type:Sa.DragStart,initialCoordinates:nt,active:ht}),S({type:"onDragStart",event:bt}),k(Ae.current),L(Be)})},onMove(nt){C({type:Sa.DragMove,coordinates:nt})},onEnd:Ge(Sa.DragEnd),onCancel:Ge(Sa.DragCancel)});Ae.current=Ke;function Ge(nt){return async function(){const{active:tt,collisions:ct,over:bt,scrollAdjustedTranslate:St}=te.current;let yt=null;if(tt&&St){const{cancelDrop:Dt}=H.current;yt={activatorEvent:Be,active:tt,collisions:ct,delta:St,over:bt},nt===Sa.DragEnd&&typeof Dt=="function"&&await Promise.resolve(Dt(yt))&&(nt=Sa.DragCancel)}F.current=null,Ka.unstable_batchedUpdates(()=>{C({type:nt}),E(jl.Uninitialized),Ne(null),k(null),L(null),Ae.current=null;const Dt=nt===Sa.DragEnd?"onDragEnd":"onDragCancel";if(yt){const Rt=H.current[Dt];Rt==null||Rt(yt),S({type:Dt,event:yt})}})}}},[N]),Te=l.useCallback((xe,be)=>(Ee,ke)=>{const et=Ee.nativeEvent,Be=N.get(ke);if(F.current!==null||!Be||et.dndKit||et.defaultPrevented)return;const Ke={active:Be};xe(Ee,be.options,Ke)===!0&&(et.dndKit={capturedBy:be.sensor},F.current=ke,Le(Ee,be))},[N,Le]),Ve=pWe(f,Te);SWe(f),Ts(()=>{Q&&I===jl.Initializing&&E(jl.Initialized)},[Q,I]),l.useEffect(()=>{const{onDragMove:xe}=H.current,{active:be,activatorEvent:Ee,collisions:ke,over:et}=te.current;if(!be||!Ee)return;const Be={active:be,activatorEvent:Ee,collisions:ke,delta:{x:ze.x,y:ze.y},over:et};Ka.unstable_batchedUpdates(()=>{xe==null||xe(Be),S({type:"onDragMove",event:Be})})},[ze.x,ze.y]),l.useEffect(()=>{const{active:xe,activatorEvent:be,collisions:Ee,droppableContainers:ke,scrollAdjustedTranslate:et}=te.current;if(!xe||F.current==null||!be||!et)return;const{onDragOver:Be}=H.current,Ke=ke.get(qe),Ge=Ke&&Ke.rect.current?{id:Ke.id,rect:Ke.rect.current,data:Ke.data,disabled:Ke.disabled}:null,nt={active:xe,activatorEvent:be,collisions:Ee,delta:{x:et.x,y:et.y},over:Ge};Ka.unstable_batchedUpdates(()=>{Ne(Ge),Be==null||Be(nt),S({type:"onDragOver",event:nt})})},[qe]),Ts(()=>{te.current={activatorEvent:M,active:j,activeNode:X,collisionRect:Fe,collisions:je,droppableRects:q,draggableNodes:N,draggingNode:fe,draggingNodeRect:ue,droppableContainers:$,over:Ue,scrollableAncestors:Ce,scrollAdjustedTranslate:ze},B.current={initial:ue,translated:Fe}},[j,X,je,Fe,N,fe,ue,q,$,Ue,Ce,ze]),cWe({...J,delta:O,draggingRect:Fe,pointerCoordinates:he,scrollableAncestors:Ce,scrollableAncestorRects:me});const Je=l.useMemo(()=>({active:j,activeNode:X,activeNodeRect:Q,activatorEvent:M,collisions:je,containerNodeRect:ee,dragOverlay:le,draggableNodes:N,droppableContainers:$,droppableRects:q,over:Ue,measureDroppableContainers:K,scrollableAncestors:Ce,scrollableAncestorRects:me,measuringConfiguration:W,measuringScheduled:G,windowRect:ve}),[j,X,Q,M,je,ee,le,N,$,q,Ue,K,Ce,me,W,G,ve]),Qe=l.useMemo(()=>({activatorEvent:M,activators:Ve,active:j,activeNodeRect:Q,ariaDescribedById:{draggable:U},dispatch:C,draggableNodes:N,over:Ue,measureDroppableContainers:K}),[M,Ve,j,Q,C,U,N,Ue,K]);return ge.createElement(VZ.Provider,{value:w},ge.createElement(hx.Provider,{value:Qe},ge.createElement(rJ.Provider,{value:Je},ge.createElement(aJ.Provider,{value:Re},u)),ge.createElement(AWe,{disabled:(s==null?void 0:s.restoreFocus)===!1})),ge.createElement(DVe,{...s,hiddenTextDescribedById:U}));function ut(){const xe=(D==null?void 0:D.autoScrollEnabled)===!1,be=typeof c=="object"?c.enabled===!1:c===!1,Ee=_&&!xe&&!be;return typeof c=="object"?{...c,enabled:Ee}:{enabled:Ee}}}),MWe=l.createContext(null),IH="button",LWe="Draggable";function jWe(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const o=nh(LWe),{activators:i,activatorEvent:s,active:c,activeNodeRect:u,ariaDescribedById:f,draggableNodes:g,over:m}=l.useContext(hx),{role:h=IH,roleDescription:y="draggable",tabIndex:x=0}=a??{},b=(c==null?void 0:c.id)===t,C=l.useContext(b?aJ:MWe),[S,w]=N0(),[I,E]=N0(),_=CWe(i,t),R=fm(n);Ts(()=>(g.set(t,{id:t,key:o,node:S,activatorNode:I,data:R}),()=>{const O=g.get(t);O&&O.key===o&&g.delete(t)}),[g,t]);const N=l.useMemo(()=>({role:h,tabIndex:x,"aria-disabled":r,"aria-pressed":b&&h===IH?!0:void 0,"aria-roledescription":y,"aria-describedby":f.draggable}),[r,h,x,b,y,f.draggable]);return{active:c,activatorEvent:s,activeNodeRect:u,attributes:N,isDragging:b,listeners:r?void 0:_,node:S,over:m,setNodeRef:w,setActivatorNodeRef:E,transform:C}}function FWe(){return l.useContext(rJ)}const BWe="Droppable",zWe={timeout:25};function HWe(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const o=nh(BWe),{active:i,dispatch:s,over:c,measureDroppableContainers:u}=l.useContext(hx),f=l.useRef({disabled:n}),g=l.useRef(!1),m=l.useRef(null),h=l.useRef(null),{disabled:y,updateMeasurementsFor:x,timeout:b}={...zWe,...a},C=fm(x??r),S=l.useCallback(()=>{if(!g.current){g.current=!0;return}h.current!=null&&clearTimeout(h.current),h.current=setTimeout(()=>{u(Array.isArray(C.current)?C.current:[C.current]),h.current=null},b)},[b]),w=mx({callback:S,disabled:y||!i}),I=l.useCallback((N,O)=>{w&&(O&&(w.unobserve(O),g.current=!1),N&&w.observe(N))},[w]),[E,_]=N0(I),R=fm(t);return l.useEffect(()=>{!w||!E.current||(w.disconnect(),g.current=!1,w.observe(E.current))},[E,w]),l.useEffect(()=>(s({type:Sa.RegisterDroppable,element:{id:r,key:o,disabled:n,node:E,rect:m,data:R}}),()=>s({type:Sa.UnregisterDroppable,key:o,id:r})),[r]),l.useEffect(()=>{n!==f.current.disabled&&(s({type:Sa.SetDroppableDisabled,id:r,key:o,disabled:n}),f.current.disabled=n)},[r,o,n,s]),{active:i,rect:m,isOver:(c==null?void 0:c.id)===r,node:E,over:c,setNodeRef:_}}function vx(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function UWe(e,t){return e.reduce((n,r,a)=>{const o=t.get(r);return o&&(n[a]=o),n},Array(e.length))}function Zv(e){return e!==null&&e>=0}function VWe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const o=vx(t,r,n),i=t[a],s=o[a];return!s||!i?null:{x:s.left-i.left,y:s.top-i.top,scaleX:s.width/i.width,scaleY:s.height/i.height}},Jv={scaleX:1,scaleY:1},sJ=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:o,overIndex:i}=e;const s=(t=o[n])!=null?t:r;if(!s)return null;if(a===n){const u=o[i];return u?{x:0,y:nn&&a<=i?{x:0,y:-s.height-c,...Jv}:a=i?{x:0,y:s.height+c,...Jv}:{x:0,y:0,...Jv}};function GWe(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];return r?nr.map(_=>typeof _=="object"&&"id"in _?_.id:_),[r]),y=i!=null,x=i?h.indexOf(i.id):-1,b=u?h.indexOf(u.id):-1,C=l.useRef(h),S=!VWe(h,C.current),w=b!==-1&&x===-1||S,I=WWe(o);Ts(()=>{S&&y&&f(h)},[S,h,y,f]),l.useEffect(()=>{C.current=h},[h]);const E=l.useMemo(()=>({activeIndex:x,containerId:g,disabled:I,disableTransforms:w,items:h,overIndex:b,useDragOverlay:m,sortedRects:UWe(h,c),strategy:a}),[x,g,I.draggable,I.droppable,w,h,b,c,m,a]);return ge.createElement(cJ.Provider,{value:E},t)}const qWe=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return vx(n,r,a).indexOf(t)},KWe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:o,newIndex:i,previousItems:s,previousContainerId:c,transition:u}=e;return!u||!r||s!==o&&a===i?!1:n?!0:i!==a&&t===c},YWe={duration:200,easing:"ease"},dJ="transform",XWe=If.Transition.toString({property:dJ,duration:0,easing:"linear"}),ZWe={roleDescription:"sortable"};function JWe(e){let{disabled:t,index:n,node:r,rect:a}=e;const[o,i]=l.useState(null),s=l.useRef(n);return Ts(()=>{if(!t&&n!==s.current&&r.current){const c=a.current;if(c){const u=ep(r.current,{ignoreTransform:!0}),f={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(f.x||f.y)&&i(f)}}n!==s.current&&(s.current=n)},[t,n,r,a]),l.useEffect(()=>{o&&i(null)},[o]),o}function fJ(e){let{animateLayoutChanges:t=KWe,attributes:n,disabled:r,data:a,getNewIndex:o=qWe,id:i,strategy:s,resizeObserverConfig:c,transition:u=YWe}=e;const{items:f,containerId:g,activeIndex:m,disabled:h,disableTransforms:y,sortedRects:x,overIndex:b,useDragOverlay:C,strategy:S}=l.useContext(cJ),w=QWe(r,h),I=f.indexOf(i),E=l.useMemo(()=>({sortable:{containerId:g,index:I,items:f},...a}),[g,a,I,f]),_=l.useMemo(()=>f.slice(f.indexOf(i)),[f,i]),{rect:R,node:N,isOver:O,setNodeRef:$}=HWe({id:i,data:E,disabled:w.droppable,resizeObserverConfig:{updateMeasurementsFor:_,...c}}),{active:A,activatorEvent:B,activeNodeRect:j,attributes:F,setNodeRef:D,listeners:k,isDragging:M,over:L,setActivatorNodeRef:H,transform:U}=jWe({id:i,data:E,attributes:{...ZWe,...n},disabled:w.draggable}),z=CVe($,D),W=!!A,q=W&&!y&&Zv(m)&&Zv(b),K=!C&&M,G=K&&q?U:null,Z=q?G??(s??S)({rects:x,activeNodeRect:j,activeIndex:m,overIndex:b,index:I}):null,J=Zv(m)&&Zv(b)?o({id:i,items:f,activeIndex:m,overIndex:b}):I,ne=A==null?void 0:A.id,Q=l.useRef({activeId:ne,items:f,newIndex:J,containerId:g}),ee=f!==Q.current.items,te=t({active:A,containerId:g,isDragging:M,isSorting:W,id:i,index:I,items:f,newIndex:Q.current.newIndex,previousItems:Q.current.items,previousContainerId:Q.current.containerId,transition:u,wasDragging:Q.current.activeId!=null}),oe=JWe({disabled:!te,index:I,node:N,rect:R});return l.useEffect(()=>{W&&Q.current.newIndex!==J&&(Q.current.newIndex=J),g!==Q.current.containerId&&(Q.current.containerId=g),f!==Q.current.items&&(Q.current.items=f)},[W,J,g,f]),l.useEffect(()=>{if(ne===Q.current.activeId)return;if(ne&&!Q.current.activeId){Q.current.activeId=ne;return}const fe=setTimeout(()=>{Q.current.activeId=ne},50);return()=>clearTimeout(fe)},[ne]),{active:A,activeIndex:m,attributes:F,data:E,rect:R,index:I,newIndex:J,items:f,isOver:O,isSorting:W,isDragging:M,listeners:k,node:N,overIndex:b,over:L,setNodeRef:z,setActivatorNodeRef:H,setDroppableNodeRef:$,setDraggableNodeRef:D,transform:oe??Z,transition:le()};function le(){if(oe||ee&&Q.current.newIndex===I)return XWe;if(!(K&&!JA(B)||!u)&&(W||te))return If.Transition.toString({...u,property:dJ})}}function QWe(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}Sr.Down,Sr.Right,Sr.Up,Sr.Left;const{useToken:eGe}=Tr,tGe=Xg,pJ=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=Yt(),{token:o}=eGe(),[i]=wn.useForm(),[s,c]=l.useState([]),[u,f]=l.useState(!1),[g,m]=l.useState(0),[h,y]=l.useState(-1);l.useEffect(()=>{c([])},[]),l.useEffect(()=>{if(t)try{const k=JSON.parse(t);i.setFieldsValue(k)}catch(k){console.error("Error parsing JSON:",k)}},[i,t]);const x=()=>{i.resetFields()},b=k=>{i.setFieldsValue({filepath:k.target.value})},C=(k,M,L)=>{if(k){const H=L==="library"?"lib:/":"content:/",U=k.map(z=>({filepath:H+M+"/"+z.name,name:z.name}));c(U)}},S=()=>{m(k=>k+1),f(!0)},w=k=>{m(M=>M+1),f(!0),y(k),c([i.getFieldValue(["files",k])])},I=()=>{const k=i.getFieldsValue();let M=[...k.files];h!==-1?M[h]={filepath:s[0].filepath,name:s[0].name}:M=[...k.files,...s];const L={...k,files:M};i.setFieldsValue(L),f(!1),c([]),y(-1)},E=()=>{f(!1),c([])},[_,R]=l.useState(""),[N,O]=l.useState(""),[$,A]=l.useState(!1),B=d.jsx(mt,{type:"primary",onClick:()=>A(!1),children:a("tonies.informationModal.ok")}),j=()=>{A(!1)},F=d.jsx(Jn,{footer:B,width:1e3,title:"File (you can copy the content to a *.tap file)",open:$,onCancel:j,children:_?d.jsxs(d.Fragment,{children:[d.jsx(Hn,{language:"json",code:_}),d.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),d.jsx(Hn,{language:"json",showLineNumbers:!1,code:N})]}):"Loading..."}),D=d.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:o.colorBgElevated},children:[d.jsx(mt,{onClick:E,children:a("tonies.selectFileModal.cancel")}),d.jsx(mt,{type:"primary",onClick:I,children:a("tonies.selectFileModal.ok")})]});return d.jsxs(d.Fragment,{children:[d.jsxs(Jn,{open:e,title:a(t?"tonies.tapEditor.titleEdit":"tonies.tapEditor.titleCreate"),okText:a(t?"tonies.tapEditor.save":"tonies.tapEditor.create"),cancelText:a("tonies.tapEditor.cancel"),onCancel:()=>{r(),x()},onOk:()=>{i.validateFields().then(()=>{n(i.getFieldsValue()),R(JSON.stringify(i.getFieldsValue(),null,2)),O(JSON.stringify(i.getFieldsValue(),null,0)),A(!0),x()}).catch(k=>{console.log("Validate Failed:",k)})},children:[d.jsx(qn,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json is displayed when saving the new tap. This is not automatically saved to your library. You have to create a *.tap file manually and copy this into the file yourself.",style:{marginBottom:8}}),d.jsxs(wn,{form:i,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[d.jsx(wn.Item,{name:"type",hidden:!0,label:"type",children:d.jsx(Sn,{type:"string"})}),d.jsx(wn.Item,{name:"audio_id",label:d.jsxs("div",{style:{display:"flex",gap:8},children:[d.jsx("label",{children:a("tonies.tapEditor.audioId")}),d.jsx(nn,{title:a("tonies.tapEditor.audioIdTooltip"),children:d.jsx(Yo,{})})]}),children:d.jsx(Sn,{type:"number"})}),d.jsx(wn.Item,{name:"filepath",label:d.jsxs("div",{style:{display:"flex",gap:8},children:[d.jsx("label",{children:a("tonies.tapEditor.filePath")}),d.jsx(nn,{title:a("tonies.tapEditor.filePathTooltip"),children:d.jsx(Yo,{})})]}),rules:[{required:!0,message:a("tonies.tapEditor.filePathRequired")}],children:d.jsx(Sn,{onChange:b})}),d.jsx(wn.Item,{name:"name",label:d.jsxs("div",{style:{display:"flex",gap:8},children:[d.jsx("label",{children:a("tonies.tapEditor.name")}),d.jsx(nn,{title:a("tonies.tapEditor.nameTooltip"),children:d.jsx(Yo,{})})]}),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:d.jsx(Sn,{})}),d.jsx(wn.List,{name:"files",children:(k,{add:M,remove:L})=>d.jsxs(d.Fragment,{children:[k.map(({key:H,name:U},z)=>d.jsx("div",{className:"playlistTitle",children:d.jsxs(Fa,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[d.jsx(wn.Item,{name:[U,"filepath"],label:d.jsxs("div",{style:{display:"flex",gap:8},children:[d.jsx("label",{children:a("tonies.tapEditor.filePathContentFile")}),d.jsx(nn,{title:a("tonies.tapEditor.filePathContentFileTooltip"),children:d.jsx(Yo,{})})]}),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:d.jsx(Sn,{width:"auto",addonBefore:d.jsx(Ha,{onClick:()=>{const W=[...i.getFieldsValue().files];W[z].filepath="",i.setFieldsValue({files:W})}}),addonAfter:d.jsx(LN,{onClick:()=>w(z)})})}),d.jsx(wn.Item,{name:[U,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:d.jsx(Sn,{placeholder:"Name"})}),d.jsx(NEe,{onClick:()=>L(U)})]},`space-${H}`)},`files-${H}`)),d.jsx(wn.Item,{children:d.jsx(mt,{type:"dashed",onClick:()=>S(),block:!0,icon:d.jsx(jm,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),d.jsx(Jn,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:I,onCancel:E,width:"auto",footer:D,children:d.jsx(EA,{maxSelectedRows:99,special:"library",trackUrl:!1,filetypeFilter:tGe,onFileSelectChange:C},g)})]}),F]})},{useToken:nGe}=Tr,rGe=({originNode:e,fileObjectList:t,file:n,onRemove:r,disabled:a})=>{const{token:o}=nGe(),{attributes:i,listeners:s,setNodeRef:c,transform:u,transition:f,isDragging:g}=fJ({id:n.uid}),{t:m}=Yt(),h={transform:If.Transform.toString(u),transition:f,cursor:"move"};return d.jsx("div",{ref:c,style:h,className:g?"is-dragging":"",...i,...s,children:d.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"space-between",alignItems:"center",margin:"8px 0",padding:8,borderRadius:8,border:`1px solid ${o.colorBorder}`},children:[d.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[d.jsxs("span",{style:{fontSize:30,width:48,height:48,textAlign:"center",color:`${o.colorPrimaryText}`},children:[t.indexOf(n)+1,"."]}),d.jsxs("div",{children:[d.jsx("div",{children:n.name}),d.jsxs("div",{style:{fontSize:"smaller",color:`${o.colorTextSecondary}`},children:["in ",n.path,"/"]})]})]}),d.jsx(mt,{title:m("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:d.jsx(_s,{})})]})})},gJ=/[<>:"/\\|?*]/,Tg=gJ.source.slice(1,-1).split("").join(" ");function Wd(e){return!gJ.test(e)}const{Paragraph:jGe}=zn,aGe=({isHelpModalOpen:e,onClose:t})=>{const n=[{key:1,avatar:d.jsx(p0,{}),title:ft("fileBrowser.help.actionItemsMulti.moveSelectedFiles.title"),text:ft("fileBrowser.help.actionItemsMulti.moveSelectedFiles.text")},{key:2,avatar:d.jsx(_s,{}),title:ft("fileBrowser.help.actionItemsMulti.deleteSelectedFiles.title"),text:ft("fileBrowser.help.actionItemsMulti.deleteSelectedFiles.text")},{key:3,avatar:d.jsx(Gg,{}),title:ft("fileBrowser.help.actionItemsMulti.encodeFilesToTAF.title"),text:ft("fileBrowser.help.actionItemsMulti.encodeFilesToTAF.text")}],r=[{key:1,avatar:d.jsx($o,{}),title:ft("fileBrowser.help.actionItems.playAudioFile.title"),text:ft("fileBrowser.help.actionItems.playAudioFile.text")},{key:2,avatar:d.jsx(Tq,{}),title:ft("fileBrowser.help.actionItems.migrateToLibraryRoot.title"),text:ft("fileBrowser.help.actionItems.migrateToLibraryRoot.text")},{key:3,avatar:d.jsx(Fq,{}),title:ft("fileBrowser.help.actionItems.migrateToAudioIdFolder.title"),text:ft("fileBrowser.help.actionItems.migrateToAudioIdFolder.text")},{key:4,avatar:d.jsx(ol,{}),title:ft("fileBrowser.help.actionItems.editTAFMetadata.title"),text:ft("fileBrowser.help.actionItems.editTAFMetadata.text")},{key:5,avatar:d.jsx(ol,{}),title:ft("fileBrowser.help.actionItems.editTAPPlaylist.title"),text:ft("fileBrowser.help.actionItems.editTAPPlaylist.text")},{key:6,avatar:d.jsx(Oq,{}),title:ft("fileBrowser.help.actionItems.renameFile.title"),text:ft("fileBrowser.help.actionItems.renameFile.text")},{key:7,avatar:d.jsx(p0,{}),title:ft("fileBrowser.help.actionItems.moveFile.title"),text:ft("fileBrowser.help.actionItems.moveFile.text")},{key:8,avatar:d.jsx(_s,{}),title:ft("fileBrowser.help.actionItems.deleteFileFolder.title"),text:ft("fileBrowser.help.actionItems.deleteFileFolder.text")},{key:9,avatar:d.jsx(Ly,{}),title:ft("fileBrowser.help.actionItems.duplicateTAPFile.title"),text:ft("fileBrowser.help.actionItems.duplicateTAPFile.text")}],a=[{key:1,title:ft("fileBrowser.help.instructions.openDirectory.title"),text:ft("fileBrowser.help.instructions.openDirectory.text")},{key:2,title:ft("fileBrowser.help.instructions.openTAFViewer.title"),text:ft("fileBrowser.help.instructions.openTAFViewer.text")},{key:3,title:ft("fileBrowser.help.instructions.openTAPJSONViewer.title"),text:ft("fileBrowser.help.instructions.openTAPJSONViewer.text")},{key:4,title:ft("fileBrowser.help.instructions.viewTonieInfoModal.title"),text:ft("fileBrowser.help.instructions.viewTonieInfoModal.text")},{key:5,title:ft("fileBrowser.help.instructions.multiSelection.title"),text:d.jsxs(d.Fragment,{children:[ft("fileBrowser.help.instructions.multiSelection.text"),d.jsx(Zn,{size:"small",dataSource:n,renderItem:o=>d.jsx(Zn.Item,{children:d.jsx(Zn.Item.Meta,{avatar:o.avatar,title:o.title,description:o.text})})})]})},{key:6,title:ft("fileBrowser.help.instructions.fileActions.title"),description:d.jsx(Zn,{size:"small",dataSource:r,renderItem:o=>d.jsx(Zn.Item,{children:d.jsx(Zn.Item.Meta,{avatar:o.avatar,title:o.title,description:o.text})})})}];return d.jsx(Jn,{className:"help-viewer",width:800,title:ft("fileBrowser.help.title"),open:e,onOk:t,onCancel:t,footer:[d.jsx(mt,{type:"primary",onClick:t,children:ft("fileBrowser.help.closeButton")},"close")],children:d.jsx(Zn,{size:"small",dataSource:a,renderItem:o=>d.jsx(Zn.Item,{children:d.jsx(Zn.Item.Meta,{title:o.title,description:d.jsxs(d.Fragment,{children:[d.jsx("div",{children:o.text}),o.description&&d.jsx("div",{children:o.description})]})})})})})},fs=new nr(Yn()),{useToken:oGe}=Tr,_H=99,Ad=Xg,ji={id:"1",pId:"-1",value:"1",title:"/",fullPath:"/"},nk=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",trackUrl:a=!0,showDirOnly:o=!1,showColumns:i=void 0})=>{const{t:s}=Yt(),{playAudio:c}=Wm(),{token:u}=oGe(),{addNotification:f,addLoadingNotification:g,closeLoadingNotification:m}=Cr(),h=uc(),y=l.useRef(null),x=l.useRef(null),b=l.useRef(null),C=l.useRef(null),S=l.useRef(null),w=ei(),E=new URLSearchParams(w.search).get("path")||"",[_,R]=l.useState(E.split("/").map(encodeURIComponent).join("/")),[N,O]=l.useState([]),[$,A]=l.useState(!1),[B,j]=l.useState(""),[F,D]=l.useState([]),[k,M]=l.useState(ji.id),[L,H]=l.useState([ji]),[U,z]=l.useState([]),[W,q]=l.useState(""),[K,G]=l.useState(!1),[X,Z]=l.useState(!1),[J,ne]=l.useState(),[Q,ee]=l.useState(""),[te,oe]=l.useState(""),[le,fe]=l.useState(!1),[ue,we]=l.useState(!1),[pe,ve]=l.useState(0),[Ce,me]=l.useState(!1),[ie,he]=l.useState(0),[Se,_e]=l.useState(""),[$e,ze]=l.useState(!1),[Fe,je]=l.useState(!0),[qe,Ue]=l.useState(!1),[Ne,Ye]=l.useState(!1),[Re,Ae]=l.useState(!0),[Le,Te]=l.useState(!1),[Ve,Je]=l.useState(1),[Qe,ut]=l.useState(E),[xe,be]=l.useState(!1),[Ee,ke]=l.useState(!1),[et,Be]=l.useState(null),[Ke,Ge]=l.useState(""),[nt,ht]=l.useState(""),[tt,ct]=l.useState(!1),[bt,St]=l.useState(!1),[yt,Dt]=l.useState(0),[Rt,_t]=l.useState(!1),[jt,zt]=l.useState([]),[en,gn]=l.useState(!1),[on,Ft]=l.useState(!1),[qt,Jt]=l.useState(0),[st,Ct]=l.useState([]),[ot,We]=l.useState(!1),[dt,Ot]=l.useState(!1),[Zt,yn]=l.useState(0),[Nt,At]=l.useState([]),[Xt,ln]=l.useState(!1),[Mn,$n]=l.useState({}),[sr,pr]=l.useState(!0),la=l.useRef(null);l.useEffect(()=>{(async()=>{const Pe=bn(ji.id);fs.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${encodeURIComponent(Pe)}&special=library`).then(it=>it.json()).then(it=>{var Tt=it.files;Tt=Tt.filter(Vt=>Vt.isDir&&Vt.name!=="..").sort((Vt,un)=>Vt.name===un.name?0:Vt.name.toLowerCase()>un.name.toLowerCase()?1:-1).map(Vt=>({id:ji.id+"."+Tt.indexOf(Vt),pId:ji.id,value:ji.id+"."+Tt.indexOf(Vt),title:Vt.name,fullPath:`${Pe}/${Vt.name}/`})),H(L.concat(Tt))})})()},[]),l.useEffect(()=>{const Pe=new URLSearchParams(w.search).get("path")||"";R(Pe.split("/").map(encodeURIComponent).join("/"))},[]),l.useEffect(()=>{if(r){const Me=new URLSearchParams(w.search);Me.set("path",""),R("");const Pe=`${window.location.pathname}?${Me.toString()}`;window.history.replaceState(null,"",Pe),A(it=>!it)}},[r]),l.useEffect(()=>{pr(!0),fs.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${_}&special=${e}`+(r?`&overlay=${r}`:"")).then(Me=>Me.json()).then(Me=>{var Pe=Me.files;o&&(Pe=Pe.filter(it=>it.isDir)),t.length>0&&(Pe=Pe.filter(it=>it.isDir||t.some(Tt=>it.name.endsWith(Tt)))),O(Pe)}).catch(Me=>f(xt.Error,s("fileBrowser.messages.errorFetchingDirContent"),s("fileBrowser.messages.errorFetchingDirContentDetails",{path:_||"/"})+Me,s("fileBrowser.title"))).finally(()=>{pr(!1)})},[_,e,o,$]),l.useEffect(()=>{Le&&setTimeout(()=>{x.current&&x.current.focus()},0)},[Le]),l.useEffect(()=>{y.current!==null&&S.current&&S.current.setSelectionRange(y.current,y.current)},[W]),l.useEffect(()=>{ut(bn(k))},[k]),l.useEffect(()=>{ut(_)},[_]);const Xr=Me=>{pr(!0),a&&h(`?path=${Me}`),_===Me&&A(Pe=>!Pe),G(!1),R(Me)},wr=(Me,Pe)=>{const it=Me.split("/").filter(Vt=>Vt),Tt=[{title:d.jsx("span",{style:{cursor:"pointer"},onClick:()=>Pe(""),children:s("fileBrowser.root")}),key:"/"}];return it.forEach((Vt,un)=>{const Cn=`/${it.slice(0,un+1).join("/")}`;Tt.push({title:d.jsx("span",{style:{cursor:"pointer"},onClick:()=>Pe(Cn),children:decodeURIComponent(Vt)}),key:Cn})}),d.jsx(Dm,{items:Tt})},Zr=({id:Me})=>new Promise((Pe,it)=>{const Tt=bn(Me);fs.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${encodeURIComponent(Tt)}&special=library`).then(Vt=>Vt.json()).then(Vt=>{let un=Vt.files;un=un.filter(Cn=>Cn.isDir&&Cn.name!=="..").sort((Cn,$r)=>Cn.name===$r.name?0:Cn.name.toLowerCase()>$r.name.toLowerCase()?1:-1).map((Cn,$r)=>{const Nr=String(Me),is=`${Nr}.${$r}`;return{id:is,pId:Nr,value:is,title:Cn.name,fullPath:`${Tt}/${Cn.name}/`}}),H(Cn=>Cn.concat(un)),Pe(!0)}).catch(it)}),bn=Me=>{const Pe=L.filter(it=>it.value===Me)[0];return Pe.pId==="-1"?"":bn(L.filter(it=>it.id===Pe.pId)[0].id)+"/"+Pe.title},Kt=(Me,Pe)=>{for(const it of Pe)if(it.fullPath===Me)return it.id;return null},Gt=(Me,Pe)=>{let it=[];for(const Tt of Pe)Tt.pId===Me&&it.push(Tt);return it},Ln=Me=>U.includes(Me),Ht=d.jsx(xc,{className:"move-file",treeLine:!0,treeDataSimpleMode:!0,value:k,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:M,loadData:Zr,treeData:L,treeNodeLabelProp:"fullPath",placeholder:s("fileBrowser.moveFile.destinationPlaceholder"),treeExpandedKeys:U,onTreeExpand:Me=>z(Me.map(String)),disabled:ot||en}),Ut=Me=>{var it;const Pe=[{"audio-id":Me.audioId,hash:Me.sha1Hash,size:Me.size,tracks:(it=Me.trackSeconds)==null?void 0:it.length,confidence:0}];return SVe.dump(Pe).trim()},On=Me=>{var Pe;!Me.isDir&&((Pe=Me.tonieInfo)!=null&&Pe.tracks)&&(ne(Me),ee(encodeURI("/content"+_+"/"+Me.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:"")),Z(!0))},lr=Me=>{xn((e==="library"?"/library":"/content")+Me),G(!1),j(Me),fe(!0)},vr=()=>{fe(!1)},xn=async Me=>{try{const it=await(await fs.apiGetTeddyCloudApiRaw(Me)).json();oe(it)}catch(Pe){console.error("Error fetching JSON data:",Pe)}},Mr=d.jsx(mt,{type:"primary",onClick:()=>fe(!1),children:s("tonies.informationModal.ok")}),Jr=d.jsx(Jn,{className:"json-viewer",footer:Mr,width:800,title:"File: "+B,open:le,onCancel:vr,children:te?d.jsx(Hn,{language:"json",code:JSON.stringify(te,null,2)}):"Loading..."}),kt=(Me,Pe)=>{G(!1),Pe.valid?_e(Ut(Pe)):_e(s("tonies.tafHeaderInvalid")),j(Me),ze(!0)},wt=()=>{ze(!1)},an=d.jsx(Jn,{className:"taf-header-viewer",footer:d.jsx(mt,{type:"primary",onClick:()=>ze(!1),children:s("tonies.informationModal.ok")}),title:s("tonies.tafHeaderOf")+B,open:$e,onCancel:wt,width:700,children:Se?d.jsx(d.Fragment,{children:d.jsx(Hn,{language:"yaml",code:Se})}):"Loading..."}),Fn=Me=>{Me.includes(".tap")&&(xn((e==="library"?"/library":"/content")+Me),G(!1),j(Me),ve(it=>it+1),we(!0))},Bn=Me=>{console.log("Received values of form: ",Me),we(!1)},br=(Me,Pe)=>{},Vr=(Me,Pe,it)=>{G(!1),Be(Me),Ge(decodeURIComponent(Pe)),ht(it),be(!0)},Lr=()=>{be(!1),ke(!1)},Wr=()=>{Qa(Ke,nt),A(Me=>!Me),be(!1)},Ra=()=>{ke(!0)},ri=async()=>{if(F.length>0){const Me="deletingFiles";g(Me,s("fileBrowser.messages.deleting"),s("fileBrowser.messages.deleting"));for(const Pe of F){const it=N.find(Tt=>Tt.name===Pe);if(it){const Tt=decodeURIComponent(_)+"/"+it.name,Vt="?special="+e+(r?`&overlay=${r}`:"");await Qa(Tt,Vt,!0)}}m(Me),A(Pe=>!Pe),ke(!1),D([])}else f(xt.Warning,s("tonies.messages.noRowsSelected"),s("tonies.messages.noRowsSelectedForDeletion"),s("fileBrowser.title"))},Qa=async(Me,Pe,it)=>{const Tt="deletingFiles";g(Tt,s("fileBrowser.messages.deleting"),s("fileBrowser.messages.deletingDetails",{file:Me}));try{const Vt=`/api/fileDelete${Pe}`,Cn=await(await fs.apiPostTeddyCloudRaw(Vt,Me)).text();if(!it&&m(Tt),Cn==="OK"){f(xt.Success,s("fileBrowser.messages.deleteSuccessful"),s("fileBrowser.messages.deleteSuccessfulDetails",{file:Me.split("/").slice(-1)}),s("fileBrowser.title"));const $r=Kt(Me+"/",L);$r&&H(Nr=>Nr.filter(is=>is.id!==$r)),Qe===Me+"/"&&ut(_)}else f(xt.Error,s("fileBrowser.messages.deleteFailed"),`${s("fileBrowser.messages.deleteFailedDetails",{file:Me.split("/").slice(-1)})}: ${Cn}`,s("fileBrowser.title"))}catch(Vt){!it&&m(Tt),f(xt.Error,s("fileBrowser.messages.deleteFailed"),`${s("fileBrowser.messages.deleteFailedDetails",{file:Me.split("/").slice(-1)})}: ${Vt}`,s("fileBrowser.title"))}},Ns=()=>{je(!0),Ue(!1),Je(Me=>Me+1),G(!1),Te(!0)},tn=()=>{G(!1),Te(!1)},hn=Me=>{const Pe=Me.target.value,it=!Wd(Pe.toString());Ue(it),je(Pe==="")},Rr=()=>{var Pe,it;const Me=((it=(Pe=x.current)==null?void 0:Pe.input)==null?void 0:it.value)||"";try{fs.apiPostTeddyCloudRaw("/api/dirCreate?special=library",decodeURIComponent(Qe)+"/"+Me).then(Tt=>Tt.text()).then(Tt=>{if(Tt!=="OK")throw new Error(Tt);const Vt=Kt(Qe+"/",L)||ji.id,un=`${Vt}.${L.length}`,Cn=Ln(Vt),$r=Gt(Vt,L);if(Cn||$r.length>0){const Nr={id:un,pId:Vt,value:un,title:Me,fullPath:Qe+"/"+Me+"/"};H([...L,Nr].sort((is,up)=>is.title===up.title?0:is.title.toLowerCase()>up.title.toLowerCase()?1:-1)),(tt||on)&&M(un)}f(xt.Success,s("fileBrowser.createDirectory.directoryCreated"),s("fileBrowser.createDirectory.directoryCreatedDetails",{directory:decodeURIComponent(Qe)+"/"+Me}),s("fileBrowser.title")),Te(!1),A(Nr=>!Nr),ut(_)}).catch(Tt=>{f(xt.Error,s("fileBrowser.createDirectory.directoryCreateFailed"),s("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:decodeURIComponent(Qe)+"/"+Me})+Tt,s("fileBrowser.title"))})}catch(Tt){f(xt.Error,s("fileBrowser.createDirectory.directoryCreateFailed"),s("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:decodeURIComponent(Qe)+"/"+Me})+Tt,s("fileBrowser.title"))}},jr=Fe||qe,yr=d.jsxs(Jn,{title:s("fileBrowser.createDirectory.modalTitle"),open:Le,onCancel:tn,onOk:Rr,okText:s("fileBrowser.createDirectory.create"),cancelText:s("fileBrowser.createDirectory.cancel"),zIndex:1050,okButtonProps:{disabled:jr},children:[d.jsx(zn,{style:{marginBottom:8},children:s("fileBrowser.createDirectory.parentPath")+" "+Qe.split("/").map(decodeURIComponent).join("/")+"/"}),d.jsxs(wn.Item,{validateStatus:qe?"error":"",help:qe?s("inputValidator.invalidCharactersDetected",{invalidChar:Tg}):"",required:!0,children:[" ",d.jsx(Sn,{ref:x,type:"text",placeholder:s("fileBrowser.createDirectory.placeholder"),status:qe?"error":"",onChange:hn})]})]},"createDirModal-"+Ve),Ni=async(Me,Pe,it,Tt)=>{const Vt="source="+encodeURIComponent(Me)+"&target="+encodeURIComponent(Pe),un=it?"move-file":"rename-file";g(un,s(it?"fileBrowser.messages.moving":"fileBrowser.messages.renaming"),it?s("fileBrowser.messages.movingDetails",{file:Me.split("/").slice(-1)}):s("fileBrowser.messages.renamingDetails",{file:Me.split("/").slice(-1)}));try{const Cn=`/api/fileMove${"?special="+e+(r?`&overlay=${r}`:"")}`,Nr=await(await fs.apiPostTeddyCloudRaw(Cn,Vt)).text();if(!Tt&&m(un),Nr==="OK")f(xt.Success,s(it?"fileBrowser.messages.movingSuccessful":"fileBrowser.messages.renamingSuccessful"),it?s("fileBrowser.messages.movingSuccessfulDetails",{fileSource:Me.split("/").slice(-1),fileTarget:Pe.split("/").slice(0,-1).join("/")+"/"}):s("fileBrowser.messages.renamingSuccessfulDetails",{fileSource:Me.split("/").slice(-1),fileTarget:Pe.split("/").slice(-1)}),s("fileBrowser.title"));else throw Nr}catch(Cn){!Tt&&m(un),f(xt.Error,s(it?"fileBrowser.messages.movingFailed":"fileBrowser.messages.renamingFailed"),(it?s("fileBrowser.messages.movingFailedDetails",{fileSource:Me,fileTarget:Pe}):s("fileBrowser.messages.renamingFailedDetails",{fileSource:Me,fileTarget:Pe}))+Cn,s("fileBrowser.title"))}},dl=Me=>{M(ji.id),j(Me),ct(!0)},as=()=>{ct(!1),ut(_)},ai=async(Me,Pe)=>{await Ni(decodeURIComponent(Me)+"/"+B,Pe+"/"+B,!0),A(it=>!it),ct(!1),M(ji.id)},fl=async(Me,Pe)=>{if(F.length>0){const it="move-file";g(it,s("fileBrowser.messages.moving"),s("fileBrowser.messages.moving"));for(const Tt of F){const Vt=N.find(un=>un.name===Tt);Vt&&!Vt.isDir&&await Ni(decodeURIComponent(Me)+"/"+Vt.name,Pe+"/"+Vt.name,!0,!0)}m(it),A(Tt=>!Tt),ct(!1),D([]),M(ji.id)}else f(xt.Warning,s("tonies.messages.noRowsSelected"),s("tonies.messages.noRowsSelectedForMoving"),s("fileBrowser.title"))},ju=!k||bn(k)===_,bx=d.jsxs(Jn,{title:s(B?"fileBrowser.moveFile.modalTitle":"fileBrowser.moveFile.modalTitleMultiple"),open:tt,onCancel:as,onOk:()=>B?ai(_,bn(k)):fl(_,bn(k)),okText:s("fileBrowser.moveFile.move"),cancelText:s("fileBrowser.moveFile.cancel"),okButtonProps:{disabled:ju},children:[d.jsx(qn,{message:s("fileBrowser.attention"),description:s("fileBrowser.moveFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),d.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:[d.jsx("div",{style:{marginBottom:24,padding:8,background:u.colorBgContainerDisabled},children:d.jsx("ul",{style:{maxHeight:"calc(1.5em * 5)",overflowY:"auto"},children:B?d.jsx("li",{children:B},"movFile"):F.map((Me,Pe)=>d.jsx("li",{children:Me.toString()},Pe))})}),d.jsx("div",{children:s("fileBrowser.moveFile.moveTo")}),d.jsxs("div",{style:{display:"flex"},children:[Ht,d.jsx(nn,{title:s("fileBrowser.createDirectory.createDirectory"),children:d.jsx(mt,{icon:d.jsx(Ib,{}),onClick:()=>{ut(bn(k)),Ns()},style:{borderTopLeftRadius:0,borderBottomLeftRadius:0}})})]})]})]}),yx=Me=>{j(Me),je(!0),Ye(!Wd(Me)),Dt(Pe=>Pe+1),St(!0)},tp=()=>{St(!1)},Fu=async(Me,Pe)=>{try{await Ni(decodeURIComponent(Me)+"/"+B,decodeURIComponent(Me)+"/"+Pe,!1),A(it=>!it),St(!1)}catch{}},np=Me=>{const Pe=Me.target.value,it=!Wd(Pe.toString()),Tt=!Pe.toString()||it;Ye(it),Ae(Tt),je(!Pe||Pe===B)},rh=Fe||Ne||Re,os=d.jsxs(Jn,{title:s("fileBrowser.renameFile.modalTitle"),open:bt,onCancel:tp,onOk:()=>Fu(_,C.current&&C.current.input?C.current.input.value:B),okText:s("fileBrowser.renameFile.rename"),cancelText:s("fileBrowser.renameFile.cancel"),okButtonProps:{disabled:rh},children:[d.jsx(qn,{message:s("fileBrowser.attention"),description:s("fileBrowser.renameFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),d.jsx("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:d.jsx(wn.Item,{validateStatus:Ne?"error":"",help:Ne?s("inputValidator.invalidCharactersDetected",{invalidChar:Tg}):"",required:!0,children:d.jsx(Sn,{ref:C,type:"text",defaultValue:B,onChange:np,placeholder:B,status:Ne?"error":""})})})]},"renameModal-"+yt),rp=()=>{yn(Me=>Me+1),Ot(!0)},Cc=()=>{Ot(!1)},ap=()=>{Ct(Me=>[...Me,...Nt]),Ot(!1),At([])},Bu=(Me,Pe,it)=>{const Tt=[];if(Me.length>0)for(const Vt of Me){const un=Me.find(Cn=>Cn.name===Vt.name&&Ad.some($r=>Cn.name.toLowerCase().endsWith($r)));un&&Tt.push({uid:NO(),name:un.name,path:Pe})}At(Tt)},zu=d.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[d.jsx(mt,{onClick:Cc,children:s("tonies.selectFileModal.cancel")}),d.jsx(mt,{type:"primary",onClick:ap,children:s("tonies.selectFileModal.ok")})]}),ah=d.jsx(Jn,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:dt,onOk:ap,onCancel:Cc,width:"auto",footer:zu,children:d.jsx(EA,{special:"library",maxSelectedRows:_H-st.length-1,trackUrl:!1,filetypeFilter:Ad,onFileSelectChange:Bu},Zt)}),fo=()=>{je(!0),Ye(!1),Jt(Pe=>Pe+1),M(ji.id);const Me=[];for(const Pe of F){const it=N.find(Tt=>Tt.name===Pe&&Ad.some(Vt=>Tt.name.toLowerCase().endsWith(Vt)));it&&Me.push({uid:NO(),name:it.name,path:_})}Ct(Me),Ft(!0)},pl=()=>{Ft(!1),ut(_),Ct([])},op=async()=>{var Vt,un;We(!0);const Me=(un=(Vt=b==null?void 0:b.current)==null?void 0:Vt.input)==null?void 0:un.value,Pe="encoding-"+Me;g(Pe,s("fileBrowser.encodeFiles.encoding"),s("fileBrowser.encodeFiles.encodingInProgress"));const it=bn(k)+"/"+Me+".taf",Tt=st.map(Cn=>`source=${encodeURIComponent(Cn.path+"/"+Cn.name)}`).join("&")+`&target=${encodeURIComponent(it)}`;try{(await fs.apiPostTeddyCloudRaw(`/api/fileEncode?special=${e}`,Tt)).ok?(m(Pe),f(xt.Success,s("fileBrowser.encodeFiles.encodingSuccessful"),s("fileBrowser.encodeFiles.encodingSuccessfulDetails",{file:it}),s("fileBrowser.title")),Ft(!1),M("1"),D([]),A(!$)):(m(Pe),f(xt.Error,s("fileBrowser.encodeFiles.encodingFailed"),s("fileBrowser.encodeFiles.encodingFailedDetails",{file:it}).replace(": ",""),s("fileBrowser.title")))}catch(Cn){m(Pe),f(xt.Error,s("fileBrowser.encodeFiles.encodingFailed"),s("fileBrowser.encodeFiles.encodingFailedDetails",{file:it})+Cn,s("fileBrowser.title"))}We(!1)},wc=WZ(gx,{activationConstraint:{distance:10}}),xx=({active:Me,over:Pe})=>{Me.id!==(Pe==null?void 0:Pe.id)&&Ct(it=>{const Tt=it.findIndex(un=>un.uid===Me.id),Vt=it.findIndex(un=>un.uid===(Pe==null?void 0:Pe.id));return vx(it,Tt,Vt)})},ip=Me=>{const Pe=st.indexOf(Me),it=st.slice();it.splice(Pe,1),Ct(it)},sp=()=>{Ct(Me=>[...Me].sort((Pe,it)=>Pe.name.localeCompare(it.name)))},Ec=Me=>{const Pe=Me.target.value,it=!Wd(Pe.toString()),Tt=st.length>0&&!Pe.toString()||it;Ye(it),Ae(Tt),je(Pe==="")},Hu=d.jsxs(Jn,{title:s("fileBrowser.encodeFiles.modalTitle"),open:on,onCancel:pl,onOk:op,okText:s("fileBrowser.encodeFiles.encode"),cancelText:s("fileBrowser.encodeFiles.cancel"),zIndex:1e3,width:"auto",okButtonProps:{disabled:ot||Re||Fe||st.length===0},children:[ah,d.jsx(oJ,{sensors:[wc],onDragEnd:xx,children:d.jsxs(uJ,{items:st.map(Me=>Me.uid),strategy:sJ,disabled:ot,children:[d.jsx(mt,{disabled:ot,onClick:rp,children:s("fileBrowser.encodeFiles.addFiles")}),st.map(Me=>d.jsx(rGe,{originNode:d.jsx("div",{children:Me.name}),onRemove:ip,disabled:ot,fileObjectList:st,file:Me},Me.uid))]})}),d.jsx(Fa,{direction:"vertical",style:{display:"flex"},children:st.length>0?d.jsxs(d.Fragment,{children:[d.jsx(Fa,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:d.jsx(mt,{type:"default",disabled:ot,onClick:sp,children:s("tonies.encoder.sortAlphabetically")})}),d.jsx(hr,{}),d.jsx("div",{style:{width:"100%"},className:"encoder",children:d.jsxs(Fa,{direction:"vertical",style:{width:"100%"},children:[d.jsxs(Fa.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[d.jsx(Sn,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:s("tonies.encoder.saveAs")}),Ht,d.jsx(nn,{title:s("fileBrowser.createDirectory.createDirectory"),children:d.jsx(mt,{disabled:ot,icon:d.jsx(Ib,{}),onClick:()=>{ut(bn(k)),Ns()},style:{borderRadius:0}})}),d.jsx(Sn,{ref:b,addonAfter:".taf",required:!0,status:Re?"error":"",onChange:Ec,disabled:ot})]}),Ne?d.jsx("div",{style:{textAlign:"end",color:u.colorErrorText},children:s("inputValidator.invalidCharactersDetected",{invalidChar:Tg})}):""]})})]}):d.jsx(d.Fragment,{})})]},"encodeModal-"+qt),oh=()=>{_t(!0)},ih=()=>{zt([]),_t(!1)},Sx={name:"file",multiple:!0,fileList:jt,customRequest:async Me=>{const{onSuccess:Pe,onError:it,file:Tt}=Me;Pe("Ok")},onChange(Me){const{status:Pe,fileList:it}=Me;Pe!=="uploading"&&(zt(it),console.log(Me.file,Me.fileList))},onDrop(Me){console.log("Dropped files",Me.dataTransfer.files)},onRemove:Me=>{zt(Pe=>Pe.filter(it=>it.uid!==Me.uid))}},Cx=async Me=>{if(!Me.length)return;gn(!0);let Pe=!1;const it="uploading-"+Me.length+"-"+new Date;for(let Tt=0;Tt$r.filter(Nr=>Nr.uid!==Vt.uid)),f(xt.Success,s("fileBrowser.upload.uploadedFile"),s("fileBrowser.upload.uploadSuccessfulForFile",{file:Vt.name}),s("fileBrowser.title"))):(Pe=!0,zt($r=>$r.map(Nr=>Nr.uid===Vt.uid?{...Nr,status:"Failed"}:Nr)),f(xt.Error,s("fileBrowser.upload.uploadedFileFailed"),s("fileBrowser.upload.uploadFailedForFile",{file:Vt.name}),s("fileBrowser.title")))}catch{Pe=!0,f(xt.Error,s("fileBrowser.upload.uploadedFileFailed"),s("fileBrowser.upload.uploadFailedForFile",{file:Vt.name}),s("fileBrowser.title")),zt($r=>$r.map(Nr=>Nr.uid===Vt.uid?{...Nr,status:"Failed"}:Nr))}}m(it),Pe?(A(!$),f(xt.Error,s("fileBrowser.upload.uploadFailed"),s("fileBrowser.upload.uploadFailed"),s("fileBrowser.title"))):(A(!$),_t(!1),f(xt.Success,s("fileBrowser.upload.uploadSuccessful"),s("fileBrowser.upload.uploadSuccessfulDetails"),s("fileBrowser.title"))),gn(!1)},lp=d.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[d.jsx(mt,{onClick:ih,children:s("fileBrowser.upload.cancel")}),d.jsx(mt,{type:"primary",onClick:()=>Cx(jt),loading:en,disabled:jt.length===0||en,children:s(en?"fileBrowser.upload.uploading":"fileBrowser.upload.upload")})]}),wx=d.jsx(Jn,{className:"sticky-footer",title:s("fileBrowser.upload.modalTitle"),open:Rt,onCancel:ih,footer:lp,children:d.jsx("div",{style:{width:"100%",marginBottom:8},children:d.jsxs(ac.Dragger,{...Sx,style:{width:"100%",marginBottom:8},children:[d.jsx("p",{className:"ant-upload-drag-icon",children:d.jsx(jN,{})}),d.jsx("p",{className:"ant-upload-text",children:s("fileBrowser.upload.uploadText")}),d.jsx("p",{className:"ant-upload-hint",children:s("fileBrowser.upload.uploadHint")})]})})}),sh=(Me,Pe,it)=>{const Tt="migrating-"+Me;try{g(Tt,s("fileBrowser.messages.migrationOngoing"),s("fileBrowser.messages.migrationOngoingDetails",{ruid:Me}));const Vt=`ruid=${Me}&libroot=${Pe}`;fs.apiPostTeddyCloudRaw("/api/migrateContent2Lib",Vt,it).then(un=>un.text()).then(un=>{m(Tt),un==="OK"?(f(xt.Success,s("fileBrowser.messages.migrationSuccessful"),s("fileBrowser.messages.migrationSuccessfulDetails",{ruid:Me}),s("fileBrowser.title")),A(Cn=>!Cn)):f(xt.Success,s("fileBrowser.messages.migrationFailed"),s("fileBrowser.messages.migrationFailedDetails",{ruid:Me}).replace(": ",""),s("fileBrowser.title"))}).catch(un=>{m(Tt),f(xt.Success,s("fileBrowser.messages.migrationFailed"),s("fileBrowser.messages.migrationFailedDetails",{ruid:Me})+un,s("fileBrowser.title"))})}catch(Vt){m(Tt),f(xt.Success,s("fileBrowser.messages.migrationFailed"),s("fileBrowser.messages.migrationFailedDetails",{ruid:Me})+Vt,s("fileBrowser.title"))}},Ex=async(Me,Pe)=>{const Tt=await(await fetch(Me)).blob(),Vt=window.URL.createObjectURL(Tt),un=document.createElement("a");un.href=Vt,un.download=Pe,document.body.appendChild(un),un.click(),document.body.removeChild(un),window.URL.revokeObjectURL(Vt)},Ix=Me=>{var Tt,Vt,un,Cn;const Pe=encodeURI("/content"+decodeURIComponent(_)+"/"+Me.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),it=((Tt=Me.tonieInfo)!=null&&Tt.series?(Vt=Me.tonieInfo)==null?void 0:Vt.series:"")+((un=Me.tonieInfo)!=null&&un.episode?" - "+((Cn=Me.tonieInfo)==null?void 0:Cn.episode):"");$n($r=>({...$r,[Me.name]:!0})),Ex(Pe,it).finally(()=>{$n($r=>({...$r,[Me.name]:!1}))})},_x=Me=>{q(Me.target.value),y.current=Me.target.selectionStart,G(!0)},lh=()=>{q(""),y.current=0},Tx=()=>{G(!0)},Rx=()=>{G(!1)},Ox=Me=>F.includes(Me.key)?"highlight-row":"",$x=Me=>{D(Me)},cp=Me=>{console.log(Me),pr(!0);const Pe=Me===".."?_.split("/").map(decodeURIComponent).slice(0,-1).map(encodeURIComponent).join("/"):[..._.split("/").map(decodeURIComponent),Me].map(encodeURIComponent).join("/");a&&h(`?path=${Pe}`),G(!1),D([]),R(Pe)},ch=(Me,Pe)=>Pe.reduce((it,Tt)=>{if(it&&it[Tt]!==void 0)return it[Tt]},Me),uh=(Me,Pe,it)=>{const Tt=Array.isArray(it)?ch(Me,it):Me[it],Vt=Array.isArray(it)?ch(Pe,it):Pe[it];return Tt===void 0&&Vt===void 0?0:Tt===void 0?1:Vt===void 0?-1:typeof Tt=="string"&&typeof Vt=="string"?Tt.localeCompare(Vt):typeof Tt=="number"&&typeof Vt=="number"?Tt-Vt:(console.log("Unsupported types for sorting:",Me,Pe),console.log("Unsupported types for sorting field:",it,Tt,Vt),0)},Nx=(Me,Pe)=>Me.isDir===Pe.isDir?uh(Me,Pe,"name"):Me.isDir?-1:1,dh=Me=>Me>0&&Me<=_H;var As=[{title:d.jsx("div",{style:{minHeight:32}}),dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(Me,Pe)=>{var it,Tt;return d.jsxs(d.Fragment,{children:[Pe&&((it=Pe.tonieInfo)!=null&&it.picture)?d.jsx(d.Fragment,{children:d.jsx("img",{src:Pe.tonieInfo.picture,alt:s("tonies.content.toniePicture"),onClick:()=>On(Pe),style:{width:100,cursor:!Pe.isDir&&((Tt=Pe==null?void 0:Pe.tonieInfo)!=null&&Tt.tracks)?"help":"default"}},`picture-${Pe.name}`)}):d.jsx(d.Fragment,{}),Pe.hide?d.jsx("div",{style:{textAlign:"center"},children:d.jsx(pf,{bordered:!1,color:"warning",children:s("fileBrowser.hidden")})}):""]})},showOnDirOnly:!1},{title:s("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Nx,defaultSortOrder:"ascend",render:(Me,Pe)=>{var it,Tt,Vt,un,Cn;return Pe&&d.jsxs("div",{children:[d.jsxs("div",{className:"showSmallDevicesOnly",children:[d.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[d.jsxs("div",{style:{display:"flex"},children:[Pe.isDir?d.jsx(au,{style:{marginRight:8}}):"",d.jsx("div",{style:{wordBreak:Pe.isDir?"normal":"break-word"},children:Pe.isDir?d.jsx(d.Fragment,{children:Pe.name}):Pe.name})]}),!Pe.isDir&&Pe.size?" ("+Hd(Pe.size)+")":""]}),d.jsx("div",{children:(it=Pe.tonieInfo)==null?void 0:it.model}),d.jsx("div",{style:{wordBreak:Pe.isDir?"normal":"break-word"},children:((Tt=Pe.tonieInfo)!=null&&Tt.series?(Vt=Pe.tonieInfo)==null?void 0:Vt.series:"")+((un=Pe.tonieInfo)!=null&&un.episode?" - "+((Cn=Pe.tonieInfo)==null?void 0:Cn.episode):"")}),d.jsx("div",{children:!Pe.isDir&&new Date(Pe.date*1e3).toLocaleString()})]}),d.jsxs("div",{className:"showMediumDevicesOnly",children:[d.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[d.jsxs("div",{style:{display:"flex"},children:[Pe.isDir?d.jsx(au,{style:{marginRight:8}}):"",d.jsx("div",{style:{wordBreak:Pe.isDir?"normal":"break-word"},children:Pe.isDir?d.jsx(d.Fragment,{children:Pe.name}):Pe.name})]}),!Pe.isDir&&Pe.size?" ("+Hd(Pe.size)+")":""]}),d.jsx("div",{children:!Pe.isDir&&new Date(Pe.date*1e3).toLocaleString()})]}),d.jsx("div",{className:"showBigDevicesOnly",children:d.jsxs("div",{style:{display:"flex"},children:[Pe.isDir?d.jsx(au,{style:{marginRight:8}}):"",d.jsx("div",{style:{wordBreak:Pe.isDir?"normal":"break-word"},children:Pe.isDir?d.jsx(d.Fragment,{children:Pe.name}):Pe.name})]})})]},`name-${Pe.name}`)},filteredValue:[W],onFilter:(Me,Pe)=>{var Tt,Vt,un,Cn;const it=Me.toLowerCase();return Pe.name===".."||Pe.name.toLowerCase().includes(it)||!Pe.isDir&&"tafHeader"in Pe&&Pe.tafHeader.size&&Hd(Pe.tafHeader.size).toString().includes(it)||"tafHeader"in Pe&&((Tt=Pe.tafHeader.audioId)==null?void 0:Tt.toString().includes(it))||"tonieInfo"in Pe&&((Vt=Pe.tonieInfo)==null?void 0:Vt.model.toLowerCase().includes(it))||"tonieInfo"in Pe&&((un=Pe.tonieInfo)==null?void 0:un.series.toLowerCase().includes(it))||"tonieInfo"in Pe&&((Cn=Pe.tonieInfo)==null?void 0:Cn.episode.toLowerCase().includes(it))},showOnDirOnly:!0},{title:s("fileBrowser.size"),dataIndex:"size",key:"size",render:(Me,Pe)=>d.jsx("div",{children:Pe.isDir?"":Hd(Me)},`size-${Pe.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:s("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(Me,Pe)=>{var it;return d.jsx("div",{children:(it=Pe.tonieInfo)==null?void 0:it.model},`model-${Pe.name}`)}},{title:d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"showMediumDevicesOnly",children:[s("fileBrowser.model"),"/",s("fileBrowser.series"),"/",s("fileBrowser.episode")]}),d.jsx("div",{className:"showBigDevicesOnly",children:s("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(Me,Pe)=>{var it,Tt,Vt,un,Cn,$r,Nr;return d.jsxs("div",{children:[d.jsxs("div",{className:"showMediumDevicesOnly",children:[d.jsx("div",{children:(it=Pe.tonieInfo)==null?void 0:it.model}),d.jsx("div",{style:{wordBreak:"break-word"},children:((Tt=Pe.tonieInfo)!=null&&Tt.series?(Vt=Pe.tonieInfo)==null?void 0:Vt.series:"")+((un=Pe.tonieInfo)!=null&&un.episode?" - "+((Cn=Pe.tonieInfo)==null?void 0:Cn.episode):"")})]}),d.jsx("div",{className:"showBigDevicesOnly",children:($r=Pe.tonieInfo)!=null&&$r.series?(Nr=Pe.tonieInfo)==null?void 0:Nr.series:""})]},`series-${Pe.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:s("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(Me,Pe)=>{var it;return d.jsx("div",{children:(it=Pe.tonieInfo)==null?void 0:it.episode},`episode-${Pe.name}`)}},{title:s("fileBrowser.date"),dataIndex:"date",key:"date",render:(Me,Pe)=>d.jsx("div",{children:new Date(Me*1e3).toLocaleString()},`date-${Pe.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:d.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:s("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(Me,Pe)=>{let it=[];return Pe.tafHeader?(it.push(d.jsx(nn,{title:s("fileBrowser.playFile"),children:d.jsx($o,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>c(encodeURI("/content"+decodeURIComponent(_)+"/"+Pe.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),Pe.tonieInfo,{...Pe,audioUrl:encodeURI("/content"+decodeURIComponent(_)+"/"+Pe.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:"")})})},`action-play-${Pe.name}`)),it.push(Mn[Pe.name]?d.jsx(yc,{style:{margin:"0 6px 0 0",padding:4},size:"small",indicator:d.jsx(_i,{style:{fontSize:16,color:u.colorText},spin:!0})}):d.jsx(nn,{title:s("fileBrowser.downloadFile"),children:d.jsx(bu,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>Ix(Pe)})},`action-download-${Pe.name}`)),e!=="library"&&(it.push(d.jsx(nn,{title:s("fileBrowser.migrateContentToLib"),children:d.jsx(Tq,{onClick:()=>sh(_.replace("/","")+Pe.name,!1,r),style:{margin:"4px 8px 4px 0",padding:4}})},`action-migrate-${Pe.name}`)),it.push(d.jsx(nn,{title:s("fileBrowser.migrateContentToLibRoot"),children:d.jsx(Fq,{onClick:()=>sh(_.replace("/","")+Pe.name,!0,r),style:{margin:"4px 8px 4px 0",padding:4}})},`action-migrate-root-${Pe.name}`)))):Ad.some(Tt=>Pe.name.endsWith(Tt))&&it.push(d.jsx(nn,{title:s("fileBrowser.playFile"),children:d.jsx($o,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>c("/content"+_+"/"+Pe.name+"?special="+e+(r?`&overlay=${r}`:""),Pe.tonieInfo)})},`action-play-${Pe.name}`)),n&&Pe.name.includes(".tap")&&(it.push(d.jsx(nn,{title:s("fileBrowser.tap.edit"),children:d.jsx(ol,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>Fn(_+"/"+Pe.name)})},`action-edit-${Pe.name}`)),it.push(d.jsx(nn,{title:s("fileBrowser.tap.copy"),children:d.jsx(Ly,{style:{margin:"4px 8px 4px 0",padding:4}})},`action-copy-${Pe.name}`))),Pe.tafHeader&&it.push(d.jsx(nn,{title:s("fileBrowser.tafMeta.edit"),children:d.jsx(ol,{style:{margin:"4px 8px 4px 0",padding:4},onClick:()=>br()})},`action-edit-${Pe.name}`)),e==="library"&&(!Pe.isDir&&Pe.name!==".."&&it.push(d.jsx(nn,{title:s("fileBrowser.rename"),children:d.jsx(Oq,{onClick:()=>yx(Pe.name),style:{margin:"4px 8px 4px 0",padding:4}})},`action-rename-${Pe.name}`)),!Pe.isDir&&Pe.name!==".."&&it.push(d.jsx(nn,{title:s("fileBrowser.move"),children:d.jsx(p0,{onClick:()=>dl(Pe.name),style:{margin:"4px 8px 4px 0",padding:4}})},`action-move-${Pe.name}`))),Pe.name!==".."&&it.push(d.jsx(nn,{title:s("fileBrowser.delete"),children:d.jsx(_s,{onClick:()=>Vr(Pe.name,_+"/"+Pe.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"4px 8px 4px 0",padding:4}})},`action-delete-${Pe.name}`)),it},showOnDirOnly:!1}];As.forEach(Me=>{Me.hasOwnProperty("sorter")||(Me.sorter=(Pe,it)=>uh(Pe,it,Me.dataIndex))}),o&&(As=As.filter(Me=>Me.showOnDirOnly)),i&&(As=As.filter(Me=>typeof Me.key=="string"?i.includes(Me.key):!1));const Ax=sr?"":d.jsx(Ca,{image:Ca.PRESENTED_IMAGE_SIMPLE});return d.jsxs(d.Fragment,{children:[d.jsx(xu,{title:s("fileBrowser.confirmDeleteModal"),open:xe,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmDeleteDialog",{fileToDelete:et}),handleOk:Wr,handleCancel:Lr}),d.jsx(xu,{title:s("fileBrowser.confirmDeleteModal"),open:Ee,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmMultipleDeleteDialog"),contentDetails:d.jsx("ul",{style:{maxHeight:"calc(1.5em * 5)",overflowY:"auto"},children:F.map((Me,Pe)=>d.jsx("li",{children:Me.toString()},Pe))}),handleOk:ri,handleCancel:Lr}),Jr,an,yr,wx,bx,os,Hu,Xt&&d.jsx(aGe,{isHelpModalOpen:Xt,onClose:()=>ln(!1)}),J?d.jsx(Xy,{open:X,tonieCardOrTAFRecord:{...J,audioUrl:Q},onClose:()=>Z(!1),overlay:r}):"",d.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[d.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8,width:"100%",justifyContent:"space-between"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[d.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:s("tonies.currentPath")}),wr(_,Xr)]}),d.jsxs("div",{style:{alignSelf:"flex-end"},children:["(",N.filter(Me=>Me.name!="..").length,")"]})]}),d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%",marginBottom:8,minHeight:32},children:[e==="library"?d.jsx("div",{style:{width:"100%"},children:d.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8,minHeight:32},children:[F.length>0?d.jsxs(d.Fragment,{children:[e==="library"&&N.filter(Me=>F.includes(Me.name)&&!Me.isDir).length>0?d.jsx(nn,{title:s("fileBrowser.moveMultiple",{selectedRowCount:F.length}),children:d.jsx(mt,{size:"small",icon:d.jsx(p0,{}),onClick:()=>dl(""),disabled:F.length===0,children:d.jsxs("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:[" ",s("fileBrowser.move")]})})},"moveMultiple"):"",d.jsx(nn,{title:s("fileBrowser.deleteMultiple",{selectedRowCount:F.length}),children:d.jsx(mt,{size:"small",icon:d.jsx(_s,{}),onClick:Ra,disabled:F.length===0,children:d.jsxs("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:[" ",s("fileBrowser.delete")]})})},"deleteMultiple"),dh(N.filter(Me=>F.includes(Me.name)&&Ad.some(Pe=>Me.name.toLowerCase().endsWith(Pe))).length)&&e==="library"?d.jsx(nn,{title:s("fileBrowser.encodeFiles.encodeFiles",{selectedRowCount:F.length})+Ad.join(", "),children:d.jsx(mt,{size:"small",icon:d.jsx(Gg,{}),onClick:fo,disabled:F.length===0,children:d.jsxs("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:[" ",s("fileBrowser.encodeFiles.encode")]})})},"encodeFiles"):""]}):d.jsx(d.Fragment,{}),d.jsx(mt,{icon:d.jsx(Ib,{}),size:"small",onClick:Ns,children:d.jsx("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:s("fileBrowser.createDirectory.createDirectory")})}),d.jsx(mt,{icon:d.jsx(zN,{}),size:"small",onClick:oh,children:d.jsx("div",{className:"showBigDevicesOnly showMediumDevicesOnly",children:s("fileBrowser.upload.showUploadFilesDragNDrop")})})]})}):d.jsx("div",{}),d.jsx("div",{children:d.jsx(mt,{size:"small",icon:d.jsx(Bf,{}),onClick:()=>ln(!0),style:{marginLeft:8},children:s("fileBrowser.help.showHelp")})})]})]}),d.jsxs("div",{className:"test",style:{position:"relative"},ref:la,children:[sr?d.jsx(PY,{parentRef:la}):"",d.jsx(Ya,{dataSource:N,columns:As,rowKey:Me=>Me.name,pagination:!1,onRow:Me=>({onDoubleClick:()=>{Me.isDir?cp(Me.name):Me.name.includes(".json")||Me.name.includes(".tap")?lr(_+"/"+Me.name):Me.tafHeader&&kt(Me.name,Me.tafHeader)},style:{cursor:Me.isDir?"context-menu":"unset"}}),rowClassName:Ox,rowSelection:{columnTitle:Me=>d.jsxs(_ye,{gap:"small",children:[Me,F.length>0&&d.jsxs(d.Fragment,{children:["(",F.length,")"]})]}),selectedRowKeys:F,onChange:$x,getCheckboxProps:Me=>({disabled:Me.name===".."}),onSelectAll:(Me,Pe)=>{const it=Me?Pe.filter(Tt=>Tt.name!=="..").map(Tt=>Tt.name):[];D(it)}},components:{header:{wrapper:Me=>d.jsx("thead",{...Me}),row:Me=>d.jsxs(d.Fragment,{children:[d.jsx("tr",{...Me}),d.jsx("tr",{children:d.jsx("th",{style:{padding:"10px 8px"},colSpan:As.length+1,children:d.jsx(Sn,{placeholder:s("fileBrowser.filter"),value:W,onChange:_x,onFocus:Tx,onBlur:Rx,ref:S,style:{width:"100%"},autoFocus:K,addonAfter:d.jsx(Ha,{onClick:lh,disabled:W.length===0,style:{color:W.length===0?u.colorTextDisabled:u.colorText,cursor:W.length===0?"default":"pointer"}})})})})]}),cell:Me=>d.jsx("th",{...Me,style:{position:"sticky",top:0,zIndex:8}})}},locale:{emptyText:Ax}})]}),d.jsx(pJ,{open:ue,initialValuesJson:te?JSON.stringify(te,null,2):void 0,onCreate:Bn,onCancel:()=>{we(!1)}},pe)]})},WT=new nr(Yn()),rk=e=>{const[t,n]=l.useState([]),[r,a]=l.useState(()=>{if(e!==void 0){if(e!==null)return localStorage.setItem("contentOverlay",e),e;{const i=localStorage.getItem("contentOverlay");return i||""}}else{const i=localStorage.getItem("contentOverlay");return i||""}});return l.useEffect(()=>{(async()=>{const s=await WT.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async h=>[await WT.apiGetTonieboxContentDir(h.ID),h.boxName,h.ID]))).reduce((h,[y,x,b])=>{const C=h.findIndex(S=>S[0]===y);return C!==-1?(h[C][1].push(x),r===b&&a(h[C][2])):h.push([y,[x],b]),h},[]),f=await WT.apiGetTonieboxContentDir("");u.findIndex(h=>h[0]===f)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const m=u.map(([h,y,x])=>[h,y,x]);if(r===""||r===null||r===void 0){const h=m.length>0?m[0][2]:"";a(h),localStorage.setItem("contentOverlay",h)}n(m)})()},[]),{tonieBoxContentDirs:t,overlay:r,handleContentOverlayChange:i=>{a(i),localStorage.setItem("contentOverlay",i)}}},{Option:iGe}=ra,sGe=()=>{const{t:e}=Yt(),t=ei(),r=new URLSearchParams(t.search).get("overlay"),{tonieBoxContentDirs:a,overlay:o,handleContentOverlayChange:i}=rk(r);return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(cl,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",flexWrap:"wrap",gap:8,alignItems:"center",marginBottom:8},children:[d.jsx("h1",{children:e("tonies.content.title")}),a.length>1?d.jsx(ra,{id:"contentDirectorySelect",defaultValue:"",onChange:i,style:{maxWidth:"300px"},value:o,title:e("tonies.content.showToniesOfBoxes"),children:a.map(([s,c,u])=>d.jsx(iGe,{value:u,children:c.join(", ")},u))}):""]}),d.jsx(nk,{special:"",overlay:o})]})]})]})},{Text:lGe}=zn,cGe=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u,isDragging:f}=fJ({id:n.uid}),{t:g}=Yt(),m={transform:If.Transform.toString(c),transition:u,cursor:"move"};return d.jsx("div",{ref:s,style:m,className:f?"is-dragging":"",...o,...i,children:d.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[d.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:d.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),d.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[d.jsx("span",{className:"",children:n.name}),d.jsx("br",{}),d.jsx(lGe,{type:"secondary",children:Hd(n.size?n.size:-1)})]}),d.jsx("span",{className:"ant-upload-list-item-actions picture",children:d.jsx(mt,{title:g("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:d.jsx(_s,{})})})]})})};function uGe(e,t,n,r,a,o){const i=new FileReader;i.onload=async s=>{try{if(s.target==null)return;const c=s.target.result,u=new AudioContext,f=48e3,g=await u.decodeAudioData(c),m=new OfflineAudioContext({numberOfChannels:g.numberOfChannels,length:Math.round(g.length*f/g.sampleRate),sampleRate:f}),h=m.createBufferSource();h.buffer=g,h.connect(m.destination),h.start();const y=await m.startRendering(),x=y.numberOfChannels,b=new Float32Array(y.getChannelData(0)),C=x>1?new Float32Array(y.getChannelData(1)):new Float32Array(y.getChannelData(0)),S=new Int16Array(b.length+C.length);for(let w=0,I=0;w{t("Failed to read the file")},a.file&&i.readAsArrayBuffer(a.file)}const dGe=e=>Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),Qv=new nr(Yn()),{useToken:fGe}=Tr,kd={id:"1",pId:"-1",value:"1",title:"/"},pGe=()=>{const{t:e}=Yt(),{token:t}=fGe(),{addNotification:n,addLoadingNotification:r,closeLoadingNotification:a}=Cr(),[o,i]=l.useState(!1),[s,c]=l.useState([]),[u,f]=l.useState(!1),[g,m]=l.useState(!1),[h,y]=l.useState(""),[x,b]=l.useState(kd.id),[C,S]=l.useState([kd]),[w,I]=l.useState(!1),[E,_]=l.useState(""),[R,N]=l.useState(!1),[O,$]=l.useState(!1),A=l.useRef(null);let B=0;l.useEffect(()=>{(async()=>{const ee=new nr(Yn());let te=!1;try{const oe=await ee.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!oe.ok)throw new Error(`HTTP error! status: ${oe.status}`);te=(await oe.json()).toString()==="true"}catch(oe){console.error("Error fetching debug.web.pcm_encode_console_url: ",oe)}i(te)})(),(async()=>{const ee=U(kd.id);Qv.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${encodeURIComponent(ee)}&special=library`).then(te=>te.json()).then(te=>{var oe=te.files;oe=oe.filter(le=>le.isDir&&le.name!=="..").sort((le,fe)=>le.name===fe.name?0:le.name.toLowerCase()>fe.name.toLowerCase()?1:-1).map(le=>({id:kd.id+"."+oe.indexOf(le),pId:kd.id,value:kd.id+"."+oe.indexOf(le),title:le.name})),S(C.concat(oe))})})()},[]),l.useEffect(()=>{w&&setTimeout(()=>{A.current&&A.current.focus()},0)},[w]),l.useEffect(()=>{B=s.length},[s]);const j=WZ(gx,{activationConstraint:{distance:10}}),F=({active:ne,over:Q})=>{ne.id!==(Q==null?void 0:Q.id)&&c(ee=>{const te=ee.findIndex(le=>le.uid===ne.id),oe=ee.findIndex(le=>le.uid===(Q==null?void 0:Q.id));return vx(ee,te,oe)})},D=({fileList:ne})=>{B++,B>Lv&&n(xt.Error,e("tonies.encoder.tooManyFilesError"),e("tonies.encoder.maxFiles",{maxFiles:Lv}),e("tonies.title"));const Q=ne.slice(0,Lv);if(Q.length===1&&h===""){const te=Q[0].name.replace(/\.[^/.]+$/,"");y(te)}c(Q)},k=ne=>{const Q=s.indexOf(ne),ee=s.slice();ee.splice(Q,1),c(ee)},M=async()=>{f(!0);const ne=new FormData,Q="encoding-"+h+".taf";r(Q,e("tonies.encoder.uploading"),e("tonies.encoder.uploading"));for(const le of s){r(Q,e("tonies.encoder.uploading"),e("tonies.encoder.uploadingDetails",{file:le.name}));try{await new Promise((fe,ue)=>uGe(fe,ue,ne,s,le,o))}catch(fe){n(xt.Error,e("tonies.encoder.processingError"),e("tonies.encoder.errorFileProcessing")+fe,e("tonies.title")),a(Q),f(!1);return}}const ee=Math.floor(Date.now()/1e3),te={name:h+".taf",audioId:ee-1342177280,path:U(x),special:"library"};m(!0);const oe=dGe(te);try{r(Q,e("tonies.encoder.processing"),e("tonies.encoder.processingDetails",{file:h+".taf"}));const le=await Qv.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${oe}`,ne);a(Q),le.ok?(n(xt.Success,e("tonies.encoder.uploadSuccessful"),e("tonies.encoder.uploadSuccessfulDetails",{file:h+".taf"}),e("tonies.title")),c([]),y("")):n(xt.Error,e("tonies.encoder.uploadFailed"),e("tonies.encoder.uploadFailedDetails")+le.statusText,e("tonies.title")),m(!1),f(!1)}catch(le){a(Q),n(xt.Error,e("tonies.encoder.uploadFailed"),e("tonies.encoder.uploadFailedDetails")+le,e("tonies.title")),m(!1),f(!1)}},L={listType:"picture",multiple:!0,accept:Xg.join(","),beforeUpload:ne=>{if(!Xg.some(te=>ne.name.toLowerCase().endsWith(te.toLowerCase())))return n(xt.Error,e("tonies.encoder.unsupportedFileType"),e("tonies.encoder.unsupportedFileTypeDetails",{file:ne.name}),e("tonies.title")),ac.LIST_IGNORE;const ee=ne;return ee.file=ne,c(te=>[...te,ee]),!1},fileList:s,onChange:D,itemRender:(ne,Q)=>d.jsx(cGe,{originNode:ne,fileList:s,file:Q,onRemove:k,disabled:u})},H=({id:ne})=>new Promise((Q,ee)=>{const te=U(ne);Qv.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${encodeURIComponent(te)}&special=library`).then(oe=>oe.json()).then(oe=>{let le=oe.files;le=le.filter(fe=>fe.isDir&&fe.name!=="..").sort((fe,ue)=>fe.name===ue.name?0:fe.name.toLowerCase()>ue.name.toLowerCase()?1:-1).map(fe=>({id:ne+"."+le.indexOf(fe),pId:ne,value:ne+"."+le.indexOf(fe),title:fe.name})),S(C.concat(le)),Q(!0)}).then(()=>{ee()})}),U=ne=>{const Q=C.filter(ee=>ee.value===ne)[0];return Q.pId==="-1"?"":U(C.filter(ee=>ee.id===Q.pId)[0].id)+"/"+Q.title},z=()=>{c(ne=>[...ne].sort((Q,ee)=>Q.name.localeCompare(ee.name)))},W=()=>{c([])},q=()=>{I(!0)},K=ne=>{$(!Wd(ne.target.value.toString())),_(ne.target.value)},G=()=>{const ne=U(x),Q=`${x}.${C.length}`,ee={id:Q,pId:x,value:Q,title:E};try{Qv.apiPostTeddyCloudRaw("/api/dirCreate?special=library",ne+"/"+E).then(te=>te.text()).then(te=>{if(te!=="OK")throw new Error(te);S([...C,ee].sort((oe,le)=>oe.title===le.title?0:oe.title.toLowerCase()>le.title.toLowerCase()?1:-1)),b(Q),n(xt.Success,e("fileBrowser.createDirectory.directoryCreated"),e("fileBrowser.createDirectory.directoryCreatedDetails",{directory:ne+"/"+E}),e("fileBrowser.title")),I(!1),_("")}).catch(te=>{n(xt.Error,e("fileBrowser.createDirectory.directoryCreateFailed"),e("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:ne+"/"+E})+te,e("fileBrowser.title"))})}catch(te){n(xt.Error,e("fileBrowser.createDirectory.directoryCreateFailed"),e("fileBrowser.createDirectory.directoryCreateFailedDetails",{directory:ne+"/"+E})+te,e("fileBrowser.title"))}},X=()=>{I(!1),_(""),$(!1)},Z=d.jsxs(Jn,{title:e("fileBrowser.createDirectory.modalTitle"),open:w,onCancel:X,onOk:G,okText:e("fileBrowser.createDirectory.create"),cancelText:e("fileBrowser.createDirectory.cancel"),okButtonProps:{disabled:O},children:[d.jsxs("p",{children:[e("fileBrowser.createDirectory.inDirectory")," ",d.jsxs("b",{children:[U(x),"/"]})]}),d.jsx(wn.Item,{validateStatus:O?"error":"",help:O?e("inputValidator.invalidCharactersDetected",{invalidChar:Tg}):"",required:!0,children:d.jsx(Sn,{ref:A,autoFocus:!0,placeholder:e("fileBrowser.createDirectory.placeholder"),value:E,status:O?"error":"",onChange:K})})]}),J=ne=>{const Q=ne.target.value;N(!Wd(Q)),y(Q)};return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(cl,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonies.encoder.title")}),d.jsxs(Fa,{direction:"vertical",style:{display:"flex"},children:[d.jsx(oJ,{sensors:[j],onDragEnd:F,children:d.jsx(uJ,{items:s.map(ne=>ne.uid),strategy:sJ,disabled:u,children:d.jsxs(ac.Dragger,{...L,disabled:u,children:[d.jsx("p",{className:"ant-upload-drag-icon",children:d.jsx(jN,{})}),d.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:Lv})}),d.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),s.length>0?d.jsxs(d.Fragment,{children:[d.jsxs(Fa,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start",flexWrap:"wrap"},children:[d.jsx(mt,{type:"default",disabled:u,onClick:z,children:e("tonies.encoder.sortAlphabetically")}),d.jsx(mt,{type:"default",disabled:u,style:{marginRight:16},onClick:W,children:e("tonies.encoder.clearList")})]}),d.jsx(hr,{}),d.jsx("div",{style:{width:"100%"},className:"encoder",children:d.jsxs(Fa,{direction:"vertical",style:{width:"100%"},children:[d.jsxs(Fa.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[d.jsx(Sn,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),d.jsx(xc,{treeLine:!0,treeDataSimpleMode:!0,disabled:u,style:{maxWidth:250},value:x,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:b,loadData:H,treeData:C}),d.jsx(nn,{title:e("fileBrowser.createDirectory.createDirectory"),children:d.jsx(mt,{disabled:u,icon:d.jsx(Ib,{}),onClick:q,style:{borderRadius:0}})}),d.jsx(Sn,{addonAfter:".taf",required:!0,defaultValue:h,style:{maxWidth:300},status:s.length>0&&h===""||R?"error":"",onChange:J,disabled:u})]}),R?d.jsx("div",{style:{textAlign:"end",color:t.colorErrorText},children:e("inputValidator.invalidCharactersDetected",{invalidChar:Tg})}):"",d.jsx(Fa.Compact,{style:{display:"flex",justifyContent:"flex-end",marginTop:"8px"},children:d.jsx(mt,{type:"primary",onClick:M,disabled:s.length===0||h===""||R,loading:u,children:e(u?g?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):d.jsx(d.Fragment,{})]})]})]}),Z]})},gGe=()=>{const{t:e}=Yt();return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(cl,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonies.library.title")}),d.jsx(nk,{special:"library"})]})]})]})},mGe=new nr(Yn()),{Option:hGe}=ra,vGe=()=>{const{t:e}=Yt(),{addNotification:t}=Cr(),n=ei(),a=new URLSearchParams(n.search).get("overlay"),{tonieBoxContentDirs:o,overlay:i,handleContentOverlayChange:s}=rk(a),[c,u]=l.useState([]),[f,g]=l.useState(!0);return l.useEffect(()=>{(async()=>{g(!0);try{const h=await mGe.apiGetTagIndex(i||"");u(h.sort((y,x)=>y.tonieInfo.seriesx.tonieInfo.series?1:y.tonieInfo.episodex.tonieInfo.episode?1:0))}catch(h){t(xt.Error,e("tonies.errorFetchingSystemSounds"),e("tonies.errorFetchingSystemSounds")+": "+h,e("tonies.navigationTitle"))}finally{g(!1)}})()},[i]),d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(cl,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",flexWrap:"wrap",gap:8,alignItems:"center",marginBottom:8},children:[d.jsx("h1",{children:e("tonies.system-sounds.title")}),o.length>1?d.jsx(ra,{id:"contentDirectorySelect",defaultValue:"",onChange:s,style:{maxWidth:"300px"},value:i,title:e("tonies.content.showToniesOfBoxes"),children:o.map(([m,h,y])=>d.jsx(hGe,{value:y,children:h.join(", ")},y))}):""]}),f?d.jsx(ic,{}):d.jsx(IA,{showFilter:!1,showPagination:!0,tonieCards:c.filter(m=>m.type==="system"),overlay:i,readOnly:!1,noLastRuid:!0})]})]})]})},{Paragraph:eb}=zn,{Search:bGe}=Sn,TH=new nr(Yn()),tb=(e,t)=>e.toLowerCase().endsWith(t)?e.slice(0,-t.length):e,yGe=()=>{const{t:e}=Yt(),{token:t}=Tr.useToken(),[n,r]=l.useState([]),[a,o]=l.useState(""),[i,s]=l.useState([]),[c,u]=l.useState([]),[f,g]=l.useState("40mm"),[m,h]=l.useState("14px"),[y,x]=l.useState(!1),[b,C]=l.useState(!1),[S,w]=l.useState("round"),[I,E]=l.useState("50mm"),[_,R]=l.useState("30mm"),[N,O]=l.useState("5mm"),[$,A]=l.useState("5mm"),B=l.useRef(null);l.useEffect(()=>{D()},[]),l.useEffect(()=>{const G=sessionStorage.getItem("labelSettings");if(G){const X=JSON.parse(G);g(X.diameter||"40mm"),E(X.width||"50mm"),R(X.height||"30mm"),h(X.textFontSize||"14px"),w(X.labelShape||"round"),x(X.showLanguageFlag||!1),C(X.showModelNo||!1),O(X.labelSpacingX||"5mm"),A(X.labelSpacingY||"5mm")}},[]);const j=()=>{const G={diameter:f,width:I,height:_,textFontSize:m,labelShape:S,showLanguageFlag:y,showModelNo:b,labelSpacingX:N,labelSpacingY:$};sessionStorage.setItem("labelSettings",JSON.stringify(G))},F=()=>{sessionStorage.removeItem("labelSettings"),g("40mm"),E("50mm"),R("30mm"),h("14px"),w("round"),x(!1),C(!1),O("5mm"),A("5mm")},D=async()=>{try{const[G,X]=await Promise.all([TH.apiGetTeddyCloudApiRaw("/api/toniesJson"),TH.apiGetTeddyCloudApiRaw("/api/toniesCustomJson")]),[Z,J]=await Promise.all([G.json(),X.json()]),ne=[...Z,...J];r(ne)}catch(G){console.error("Error loading json files:",G)}},k=G=>{const X=G.toLowerCase();if(o(G),X===""){s([]);return}const Z=n.filter(J=>{var ne,Q;return((ne=J.title)==null?void 0:ne.toLowerCase().includes(X))||((Q=J.series)==null?void 0:Q.toLowerCase().includes(X))});s(Z)},M=G=>{w(G.target.value)},L=G=>{const X=tb(G.target.value,"mm");!isNaN(Number(X))&&Number(X)>0?g(`${X}mm`):g("")},H=G=>{const X=tb(G.target.value,"mm");!isNaN(Number(X))&&Number(X)>0?E(`${X}mm`):E("")},U=G=>{const X=tb(G.target.value,"mm");!isNaN(Number(X))&&Number(X)>0?R(`${X}mm`):R("")},z=G=>X=>{const Z=tb(X.target.value,"mm");!isNaN(Number(Z))&&Number(Z)>=0?G(`${Z}mm`):G("")},W=G=>{const X=G.target.value;!isNaN(Number(X))&&Number(X)>0?h(`${X}px`):h("")},q=G=>{u(X=>[...X,G]),o(""),s([])},K=G=>{u(X=>X.filter((Z,J)=>J!==G))};return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(cl,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.teddystudio.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonies.teddystudio.title")}),d.jsx(eb,{children:e("tonies.teddystudio.intro")}),d.jsxs("div",{style:{position:"relative",marginBottom:8},children:[d.jsx(bGe,{placeholder:e("tonies.teddystudio.placeholder"),value:a,onChange:G=>k(G.target.value),onSearch:k,allowClear:!0,style:{width:"100%"}}),i.length>0&&d.jsx("div",{ref:B,style:{position:"absolute",top:"100%",left:0,right:0,background:t.colorBgContainer,color:t.colorText,border:`1px solid ${t.colorBorder}`,zIndex:1e3,maxHeight:200,overflowY:"auto",borderRadius:"4px"},children:i.map((G,X)=>d.jsx("div",{style:{padding:10,cursor:"pointer",background:t.colorBgElevated,borderRadius:"4px"},onMouseOver:Z=>Z.currentTarget.style.backgroundColor=t.colorBgTextHover,onMouseOut:Z=>Z.currentTarget.style.backgroundColor=t.colorBgElevated,onClick:()=>q(G),children:G.title},X))})]}),d.jsx(hr,{children:e("tonies.teddystudio.settings")}),d.jsxs(eb,{style:{marginBottom:16},children:[d.jsxs("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginBottom:16},children:[d.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[d.jsx("label",{style:{marginRight:8},children:e("tonies.teddystudio.labelShape")}),d.jsxs(so.Group,{optionType:"button",buttonStyle:"solid",value:S,onChange:M,children:[d.jsx(so.Button,{value:"round",children:e("tonies.teddystudio.round")}),d.jsx(so.Button,{value:"square",children:e("tonies.teddystudio.square")})]})]}),S==="round"?d.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[d.jsx("label",{style:{marginRight:8},children:e("tonies.teddystudio.diameter")}),d.jsx(Sn,{type:"number",value:parseFloat(f),onChange:L,min:1,max:240,style:{width:120},addonAfter:"mm",placeholder:e("tonies.teddystudio.diameter")})]}):d.jsxs(d.Fragment,{children:[d.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[d.jsx("label",{style:{marginRight:8},children:e("tonies.teddystudio.width")}),d.jsx(Sn,{type:"number",value:parseFloat(I),onChange:H,min:1,max:240,style:{width:120},addonAfter:"mm",placeholder:e("tonies.teddystudio.width")})]}),d.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[d.jsx("label",{style:{marginRight:8},children:e("tonies.teddystudio.height")}),d.jsx(Sn,{type:"number",value:parseFloat(_),onChange:U,min:1,max:240,style:{width:120},addonAfter:"mm",placeholder:e("tonies.teddystudio.height")})]})]}),d.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:8},children:[d.jsx("label",{style:{marginRight:8},children:e("tonies.teddystudio.labelSpacing")}),d.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:8,flexWrap:"wrap"},children:[d.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[d.jsx("label",{style:{marginRight:8},children:"X"}),d.jsx(Sn,{type:"number",value:parseFloat($),onChange:z(A),min:0,max:100,style:{width:120,marginRight:8},addonAfter:"mm",placeholder:e("tonies.teddystudio.labelSpacingY")})]}),d.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[d.jsx("label",{style:{marginRight:8},children:"Y"}),d.jsx(Sn,{type:"number",value:parseFloat(N),onChange:z(O),min:0,max:100,style:{width:120},addonAfter:"mm",placeholder:e("tonies.teddystudio.labelSpacingX")})]})]})]})]}),d.jsxs("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginBottom:16},children:[d.jsxs("div",{style:{display:"flex",alignItems:"baseline"},children:[d.jsx("label",{style:{marginRight:8},children:e("tonies.teddystudio.textFontSize")}),d.jsx(Sn,{type:"number",value:parseFloat(m),onChange:W,min:1,max:90,style:{width:120},addonAfter:"px",placeholder:e("tonies.teddystudio.textFontSize")})]}),d.jsx(Ti,{style:{display:"flex",alignItems:"center"},checked:y,onChange:G=>x(G.target.checked),children:e("tonies.teddystudio.showLanguageFlag")}),d.jsx(Ti,{style:{display:"flex",alignItems:"center"},checked:b,onChange:G=>C(G.target.checked),children:e("tonies.teddystudio.showModelNo")})]}),d.jsxs("div",{style:{display:"flex",gap:8,flexWrap:"wrap",justifyContent:"flex-end"},children:[d.jsx(mt,{icon:d.jsx(_L,{}),onClick:F,children:e("tonies.teddystudio.clearSettings")}),d.jsx(mt,{icon:d.jsx(C2e,{}),onClick:j,children:e("tonies.teddystudio.saveSettings")})]})]}),d.jsx(hr,{children:e("tonies.teddystudio.printSheet")}),c.length>0?d.jsx(eb,{style:{marginBottom:16},children:d.jsxs("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:[d.jsx(mt,{icon:d.jsx(_L,{}),onClick:()=>u([]),children:e("tonies.teddystudio.clear")}),d.jsx(mt,{type:"primary",icon:d.jsx(d2e,{}),onClick:()=>window.print(),children:e("tonies.teddystudio.printPage")})]})}):d.jsx(eb,{style:{marginBottom:16,color:t.colorTextDisabled},children:e("tonies.teddystudio.empty")}),d.jsx("div",{id:"resultContainer",style:{display:"flex",flexWrap:"wrap",gap:`${$} ${N}`,"--labelElement-width":S==="square"?`${parseFloat(I)}mm`:`${parseFloat(f)}mm`,"--labelElement-height":S==="square"?`${parseFloat(_)}mm`:`${parseFloat(f)}mm`,"--labelElement-radius":S==="square"?"4px":"50%","--text-font-size":m!==""?m:"14px"},children:c.map((G,X)=>d.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:`${$} ${N}`},className:"traveltonieCouple",children:[d.jsx("div",{className:"labelElement",children:d.jsx("img",{src:G.pic,alt:G.title,style:{height:"100%"}})}),d.jsxs("div",{className:"labelElement",style:{display:"flex",justifyContent:"space-between",fontSize:`${m}`,padding:"4px 8px 8px 8px"},children:[d.jsx("div",{style:{height:12},children:y?d.jsx(DY,{name:G.language.toUpperCase().split("-")[1],height:m}):" "}),d.jsxs("div",{style:{display:"flex",gap:4,flexDirection:"column"},children:[d.jsx("div",{style:{fontWeight:"bold"},children:G.series}),d.jsx("div",{children:G.episodes})]}),d.jsx("div",{style:{fontSize:"smaller",height:12,marginBottom:4},children:b?G.model:" "})]}),d.jsx(mt,{className:"deleteButton",size:"small",icon:d.jsx(_s,{}),onClick:()=>K(X),style:{margin:"8px 8px 0 8px"}})]},X))})]})]}),d.jsx("style",{children:` + .labelElement { + width: var(--labelElement-width); + height: var(--labelElement-height); + border-radius: var(--labelElement-radius); + background-color: white; + border: 1px solid ${t.colorBorder}; + color: black; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + margin: 10px; + overflow: hidden; + font-size: var(--text-font-size, 14px); + } + .traveltonieCouple { + border-radius: 16px; + border: 1px dashed ${t.colorBorderSecondary}; + } + + @media print { + html * { + background-color: white !important; + } + body * { + visibility: hidden; + } + #resultContainer, #resultContainer * { + visibility: visible; + } + #resultContainer { + position: absolute; + left: 0; + top: 0; + gap: 0; + } + .labelElement { + border-color: lightgray; + margin: 0; + } + .traveltonieCouple { + border: none; + } + .deleteButton { + display: none; + } + } + `})]})},{Paragraph:xGe}=zn,SGe=()=>{const{t:e}=Yt(),[t,n]=l.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(cl,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("tonies.tap.title")}),d.jsx(qn,{message:e("settings.information"),description:d.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),d.jsx(nk,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),d.jsx(xGe,{children:d.jsxs("div",{children:[d.jsx(mt,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),d.jsx(pJ,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},{Paragraph:FGe}=zn,CGe=({isHelpModalOpen:e,onClose:t})=>{const n=[{key:1,title:ft("tonies.help.actionItems.infoIcon.valid.title"),text:ft("tonies.help.actionItems.infoIcon.valid.text"),description:ft("tonies.help.actionItems.infoIcon.valid.description")},{key:2,title:ft("tonies.help.actionItems.infoIcon.exists.title"),text:ft("tonies.help.actionItems.infoIcon.exists.text"),description:ft("tonies.help.actionItems.infoIcon.exists.description")},{key:3,title:ft("tonies.help.actionItems.infoIcon.download.title"),text:ft("tonies.help.actionItems.infoIcon.download.text"),description:ft("tonies.help.actionItems.infoIcon.download.description")},{key:4,title:ft("tonies.help.actionItems.infoIcon.hide.title"),text:ft("tonies.help.actionItems.infoIcon.hide.text"),description:ft("tonies.help.actionItems.infoIcon.hide.description")}],r=[{key:1,title:ft("tonies.help.actionItems.editIcon.source.title"),text:ft("tonies.help.actionItems.editIcon.source.text"),description:ft("tonies.help.actionItems.editIcon.source.description")},{key:2,title:ft("tonies.help.actionItems.editIcon.radioStreamSearch.title"),text:ft("tonies.help.actionItems.editIcon.radioStreamSearch.text"),description:ft("tonies.help.actionItems.editIcon.radioStreamSearch.description")},{key:3,title:ft("tonies.help.actionItems.editIcon.model.title"),text:ft("tonies.help.actionItems.editIcon.model.text"),description:ft("tonies.help.actionItems.editIcon.model.description")},{key:4,title:ft("tonies.help.actionItems.editIcon.createNewModel.title"),text:ft("tonies.help.actionItems.editIcon.createNewModel.text"),description:ft("tonies.help.actionItems.editIcon.createNewModel.description")}],a=[{key:1,title:ft("tonies.help.modelImage.bigImage.title"),text:ft("tonies.help.modelImage.bigImage.text"),description:ft("tonies.help.modelImage.bigImage.description")},{key:2,title:ft("tonies.help.modelImage.smallImage.title"),text:ft("tonies.help.modelImage.smallImage.text"),description:ft("tonies.help.modelImage.smallImage.description")}],o=[{key:1,title:ft("tonies.help.modelImage.title"),text:d.jsxs(d.Fragment,{children:[ft("tonies.help.modelImage.text"),d.jsx(Zn,{size:"small",dataSource:a,renderItem:i=>d.jsx(Zn.Item,{children:d.jsx(Zn.Item.Meta,{title:i.title,description:d.jsxs(d.Fragment,{children:[d.jsx("div",{children:i.text}),i.description&&d.jsx("div",{children:i.description})]})})})})]})},{key:2,title:ft("tonies.help.blueTopBorder.title"),text:ft("tonies.help.blueTopBorder.text")},{key:3,avatar:d.jsx(Yo,{}),title:ft("tonies.help.actionItems.infoIcon.title"),text:d.jsxs(d.Fragment,{children:[ft("tonies.help.actionItems.infoIcon.text"),d.jsx(Zn,{size:"small",dataSource:n,renderItem:i=>d.jsx(Zn.Item,{children:d.jsx(Zn.Item.Meta,{title:i.title,description:d.jsxs(d.Fragment,{children:[d.jsx("div",{children:i.text}),i.description&&d.jsx("div",{children:i.description})]})})})})]})},{key:4,avatar:d.jsx(ol,{}),title:ft("tonies.help.actionItems.editIcon.title"),text:d.jsxs(d.Fragment,{children:[ft("tonies.help.actionItems.editIcon.text"),d.jsx(Zn,{size:"small",dataSource:r,renderItem:i=>d.jsx(Zn.Item,{children:d.jsx(Zn.Item.Meta,{title:i.title,description:d.jsxs(d.Fragment,{children:[d.jsx("div",{children:i.text}),i.description&&d.jsx("div",{children:i.description})]})})})})]})},{key:5,avatar:d.jsx(bu,{}),title:ft("tonies.help.actionItems.downloadIcon.title"),text:ft("tonies.help.actionItems.downloadIcon.text")},{key:6,avatar:d.jsx($o,{}),title:ft("tonies.help.actionItems.playIcon.title"),text:ft("tonies.help.actionItems.playIcon.text")},{key:7,avatar:d.jsx(Gg,{}),title:ft("tonies.help.actionItems.cloudIcon.title"),text:ft("tonies.help.actionItems.cloudIcon.text")},{key:8,avatar:d.jsx(hO,{}),title:ft("tonies.help.actionItems.liveIcon.title"),text:ft("tonies.help.actionItems.liveIcon.text")}];return d.jsx(Jn,{className:"help-viewer",width:800,title:ft("tonies.help.title"),open:e,onOk:t,onCancel:t,footer:[d.jsx(mt,{type:"primary",onClick:t,children:ft("tonies.help.closeButton")},"close")],children:d.jsx(Zn,{size:"small",dataSource:o,renderItem:i=>d.jsx(Zn.Item,{children:d.jsx(Zn.Item.Meta,{avatar:i.avatar,title:i.title,description:i.text})})})})},wGe=new nr(Yn()),{Option:EGe}=ra,IGe=()=>{const{t:e}=Yt(),{addNotification:t}=Cr(),n=ei(),a=new URLSearchParams(n.search).get("overlay"),{tonieBoxContentDirs:o,overlay:i,handleContentOverlayChange:s}=rk(a),[c,u]=l.useState([]),[f,g]=l.useState(""),[m,h]=l.useState(!0),[y,x]=l.useState(!1),b=C=>{u(S=>S.map(w=>w.ruid===C.ruid?C:w))};return l.useEffect(()=>{(async()=>{h(!0);try{const S=(await wGe.apiGetTagIndex(i||"",!0)).filter(w=>!w.hide);u(S.sort((w,I)=>w.tonieInfo.seriesI.tonieInfo.series?1:w.tonieInfo.episodeI.tonieInfo.episode?1:0))}catch(S){t(xt.Error,e("tonies.errorFetchingTonies"),e("tonies.errorFetchingTonies")+": "+S,e("tonies.navigationTitle")),console.log("error: fetching tonies failed: "+S)}finally{h(!1)}})()},[i]),l.useEffect(()=>{const C={};c.forEach(I=>{const E=I.tonieInfo.language;C[E]?C[E]++:C[E]=1});let S=0,w="";for(const I in C)C.hasOwnProperty(I)&&C[I]>S&&(S=C[I],w=I);g(w)},[c]),d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(cl,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",flexWrap:"wrap",gap:8,alignItems:"center",marginBottom:8},children:[d.jsx("h1",{style:{width:"200px"},children:e("tonies.title")}),o.length>1?d.jsx(nn,{title:e("tonies.content.showToniesOfBoxes"),children:d.jsx(ra,{id:"contentDirectorySelect",defaultValue:"",onChange:s,style:{maxWidth:"300px"},value:i,children:o.map(([C,S,w])=>d.jsx(EGe,{value:w,children:S.join(", ")},w))})}):"",d.jsx(mt,{size:"small",icon:d.jsx(Bf,{}),onClick:()=>x(!0),style:{marginLeft:8},children:e("fileBrowser.help.showHelp")}),y&&d.jsx(CGe,{isHelpModalOpen:y,onClose:()=>x(!1)})]}),m?d.jsx(ic,{}):d.jsx(IA,{showFilter:!0,showPagination:!0,tonieCards:c.filter(C=>C.type==="tag"),overlay:i,readOnly:!1,defaultLanguage:f,onToniesCardUpdate:b})]})]})]})},RH=new nr(Yn()),{Paragraph:Vs}=zn,{useToken:_Ge}=Tr,TGe=()=>{const{t:e}=Yt(),{token:t}=_Ge(),n=uc(),{addNotification:r,plugins:a,fetchPlugins:o}=Cr(),[i,s]=l.useState(!1),[c,u]=l.useState(""),[f,g]=l.useState(!1),[m,h]=l.useState(null),[y,x]=l.useState(!1),[b,C]=l.useState(!1),S=Array.from(new Set(a.map(k=>k.teddyCloudSection||e("community.plugins.filter.unknown")))),[w,I]=l.useState(S);l.useEffect(()=>{I(S)},[a]);const E=d.jsxs(Vs,{children:[d.jsx("strong",{children:e("community.plugins.help.title")}),d.jsx(Vs,{children:e("community.plugins.help.intro")}),d.jsx("strong",{children:e("community.plugins.help.folderStructureTitle")}),d.jsx(Hn,{language:"plain",code:`your-plugin-name/ + ├── plugin.json + ├── index.html + ├── preview.png + └── (other plugin files)`}),d.jsx("strong",{children:e("community.plugins.help.descriptionTitle")}),d.jsx(Vs,{children:e("community.plugins.help.descriptionIntro")}),d.jsx("strong",{children:e("community.plugins.help.exampleTitle")}),d.jsx(Hn,{language:"json",code:`{ + "pluginName": "Awesome Plugin", + "description": "A short summary of what this plugin does.", + "author": "Authors name", + "version": "Version of the plugin", + "pluginHomepage": "Homepage of the plugin", + "teddyCloudSection": "tonies", +}`}),d.jsx("strong",{children:e("community.plugins.help.fieldsTitle")}),d.jsx(Zn,{size:"small",dataSource:[["pluginName",e("community.plugins.help.fields.pluginName")],["description",e("community.plugins.help.fields.description")],["author",e("community.plugins.help.fields.author")],["version",e("community.plugins.help.fields.version")],["pluginHomepage",e("community.plugins.help.fields.pluginHomepage")],["teddyCloudSection",e("community.plugins.help.fields.teddyCloudSection")]],renderItem:([k,M])=>d.jsxs(Zn.Item,{children:[d.jsx("strong",{children:k}),": ",M]})})]}),_=d.jsx(Jn,{width:"auto",open:i,title:e("community.plugins.help.popoverTitle"),onCancel:()=>s(!1),onOk:()=>s(!1),cancelButtonProps:{style:{display:"none"}},children:E}),R=k=>{const M=k.fileList.slice(-1);h(M.length?M[0].originFileObj:null)},N=()=>{h(null),C(!1)},O=async()=>{if(!m){r(xt.Warning,e("community.plugins.upload.warningUploadingPlugin"),e("community.plugins.upload.warningUploadingPluginDetails"),e("community.plugins.title"));return}const k=new FormData;k.append("file",m),x(!0);try{const M=await RH.apiPostTeddyCloudFormDataRaw("/api/plugins/upload",k);if(!M.ok)throw new Error(M.statusText);r(xt.Success,e("community.plugins.upload.successUploadingPlugin"),e("community.plugins.upload.successUploadingPluginDetails",{filename:m.name}),e("community.plugins.title")),h(null),N(),o()}catch(M){r(xt.Error,e("community.plugins.upload.errorUploadingPlugin"),e("community.plugins.upload.errorUploadingPluginDetails",{filename:m.name})+M,e("community.plugins.title"))}finally{x(!1)}},$=d.jsxs(Jn,{open:b,title:e("community.plugins.upload.uploadModal"),onCancel:N,onOk:O,okText:e("community.plugins.upload.add"),okButtonProps:{loading:y,disabled:!m},cancelButtonProps:{disabled:y},children:[d.jsx(Vs,{children:e("community.plugins.upload.uploadModalHint")}),d.jsx(ac,{beforeUpload:()=>!1,onChange:R,accept:".zip",onRemove:()=>h(null),maxCount:1,fileList:m?[{uid:m.name,name:m.name}]:[],children:d.jsx(mt,{icon:d.jsx(zN,{}),children:e("community.plugins.upload.selectPluginZip")})})]}),A=async()=>{try{const k=await RH.apiPostTeddyCloudRaw(`/api/plugins/delete/${c}`);if(!k.ok)throw new Error(k.statusText);r(xt.Success,e("community.plugins.deletion.successDeletingPlugin"),e("community.plugins.deletion.successDeletingPluginDetails",{filename:c}),e("community.plugins.title")),h(null),N(),o()}catch(k){r(xt.Error,e("community.plugins.deletion.errorDeletingPlugin"),e("community.plugins.deletion.errorDeletingPluginDetails",{filename:c})+k,e("community.plugins.title"))}g(!1)},B=()=>{g(!1)},j=k=>{u(k),g(!0)},F=d.jsx(xu,{title:e("community.plugins.deletion.confirmDeleteModal"),open:f,okText:e("community.plugins.deletion.delete"),cancelText:e("community.plugins.cancel"),content:e("community.plugins.deletion.confirmDeleteDialog",{pluginId:c}),handleOk:A,handleCancel:B}),D=a.reduce((k,M)=>{const L=M.teddyCloudSection||e("community.plugins.filter.unknown");return k[L]=(k[L]||0)+1,k},{});return d.jsxs(d.Fragment,{children:[d.jsx(ur,{children:d.jsx(ns,{})}),d.jsxs(dr,{children:[d.jsx(fr,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.plugins.navigationTitle")}]}),d.jsxs(ir,{children:[d.jsx("h1",{children:e("community.plugins.title")}),d.jsx(qn,{type:"warning",showIcon:!0,message:"WIP - To be extended soon... meanwhile you can upload plugins manually using any SFTP-Client and add a plugins.json in the plugins-folder (in WWW directory!) which lists the plugin folders like ['PluginA','PluginB']",style:{margin:32}}),d.jsxs("div",{style:{display:"flex",gap:8,flexWrap:"wrap",justifyContent:"space-between"},children:[d.jsx(Vs,{children:e("community.plugins.intro")}),d.jsxs(Vs,{style:{display:"flex",gap:8,flexWrap:"wrap",justifyContent:"space-between"},children:[d.jsx(mt,{disabled:!0,icon:d.jsx(sCe,{}),onClick:()=>C(!0),children:e("community.plugins.addButton")}),d.jsx(mt,{icon:d.jsx(Bf,{}),onClick:()=>s(!0),children:e("community.plugins.helpButton")})]})]}),d.jsxs(Vs,{children:[d.jsx("h2",{children:e("community.plugins.installedPlugins")}),d.jsx("div",{style:{marginBottom:16,display:"flex",gap:8,flexWrap:"wrap"},children:S.map(k=>{const M=w.includes(k);return d.jsx(Qb,{count:D[k]||0,color:"grey",size:"small",offset:[-8,4],children:d.jsx(pf.CheckableTag,{checked:M,onChange:L=>{I(H=>L?[...H,k]:H.filter(U=>U!==k))},children:d.jsx("span",{children:k.charAt(0).toUpperCase()+k.slice(1)})},k)},k)})}),d.jsx(Zn,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:a.filter(k=>{const M=k.teddyCloudSection||e("community.plugins.filter.unknown");return w.includes(M)}),renderItem:k=>d.jsxs(bc,{hoverable:!1,size:"small",style:{paddingLeft:8,paddingRight:8,width:"100%",margin:8,borderRadius:8,background:t.colorBgContainerDisabled,display:"flex",flexDirection:"column",justifyContent:"space-between"},title:d.jsx("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:100},children:k.teddyCloudSection?d.jsx(Qb.Ribbon,{placement:"start",text:k.teddyCloudSection.charAt(0).toUpperCase()+k.teddyCloudSection.slice(1),style:{marginLeft:8},children:d.jsx("div",{style:{marginTop:28,marginLeft:16},children:d.jsx("h3",{children:d.jsx("strong",{children:k.pluginName})})})}):d.jsx("h3",{children:d.jsx("strong",{children:k.pluginName})})}),actions:[d.jsx(nn,{title:e("community.plugins.open"),children:d.jsx(hwe,{style:{cursor:"pointer"},onClick:()=>n(`/community/plugin/${k.pluginId}`)})},"details"),k.pluginHomepage&&d.jsx(nn,{title:e("community.plugins.visitHomepage"),children:d.jsx(Nq,{style:{cursor:"pointer"},onClick:()=>window.open(k.pluginHomepage,"_blank")})},"homepage"),d.jsx(nn,{title:e("community.plugins.delete"),children:d.jsx(_s,{style:{cursor:"pointer",color:t.colorError},onClick:()=>j(k.pluginId)})},"delete")],children:[d.jsx("img",{style:{maxHeight:180,maxWidth:"100%",width:"auto",height:"auto",borderRadius:0},alt:`${k.pluginName} preview`,src:`/web/plugins/${k.pluginId}/preview.png`,onError:M=>M.currentTarget.style.display="none"}),d.jsxs(Vs,{type:"secondary",style:{marginBottom:8},children:[k.author&&`${e("community.plugins.by")} ${k.author}`,k.version&&` - v${k.version}`]}),k.description&&d.jsx(Vs,{style:{marginBottom:8},children:k.description})]},k.pluginId),locale:{emptyText:e("community.plugins.empty")}}),_,F,$]})]})]})]})},{Paragraph:RGe}=zn,{useToken:OGe}=Tr,Pd=()=>{const{pluginId:e}=xte(),{t}=Yt(),{token:n}=OGe(),{addNotification:r}=Cr(),a=l.useRef(null),[o,i]=l.useState(!1),c=ei().pathname.split("/").filter(Boolean),u=c[0],f=c[1],[g,m]=l.useState([]);return l.useEffect(()=>{const h=[{title:t("home.navigationTitle")}];u==="tonies"?h.push({title:t("tonies.navigationTitle")}):u==="settings"?h.push({title:t("settings.navigationTitle")}):u==="tonieboxes"?h.push({title:t("tonieboxes.navigationTitle")}):u==="community"&&(h.push({title:t("community.navigationTitle")}),f==="plugins"&&h.push({title:t("community.plugins.navigationTitle")})),h.push({title:e||t("community.plugins.plugin")}),m(h)},[e,u]),l.useEffect(()=>{const h=a.current;let y=!1;const b=setInterval(()=>{if(h&&h.contentWindow)try{const C=h.contentDocument||h.contentWindow.document;C&&C.body?C.getElementById("error-404")?(i(!0),y||(y=!0,r(xt.Error,t("community.plugins.error.notification.title"),t("community.plugins.error.notification.missingPluginIndexHtml",{pluginId:e}),t("community.plugins.title")))):(h.style.height=C.body.scrollHeight+48+"px",i(!1)):i(!1)}catch{console.warn("Cross-origin content - can't access height.")}},500);return()=>clearInterval(b)},[e]),l.useEffect(()=>{i(!1);const h=a.current;if(!h)return;const y=()=>{var C;const x=(C=h.contentWindow)==null?void 0:C.document;if(!x)return;const b=x.createElement("style");b.textContent=` + #teddycloud-header, #teddycloud-footer, .additional-footer-padding { + display: none !important; + } + .App { + background-color: ${n.colorBgElevated} !important; + } + .ant-layout { + background: unset; + } + `,x.head.appendChild(b),h.style.height=`${x.body.scrollHeight+48}px`};return h.addEventListener("load",y),()=>{h.removeEventListener("load",y)}},[e]),d.jsxs(d.Fragment,{children:[d.jsxs(ur,{children:[u===Ci.Tonies&&d.jsx(cl,{}),u===Ci.Home&&d.jsx(Gf,{}),u===Ci.Settings&&d.jsx(qf,{}),u===Ci.Tonieboxes&&d.jsx(rs,{}),(u===Ci.Community||!u)&&d.jsx(ns,{})]}),d.jsxs(dr,{children:[d.jsx(fr,{items:g}),d.jsxs(ir,{children:[o?d.jsx(qn,{type:"error",showIcon:!0,message:t("community.plugins.error.title"),description:d.jsx(d.Fragment,{children:d.jsx(RGe,{children:t("community.plugins.error.pluginNotFound")})}),style:{marginBottom:16}}):"",d.jsx("iframe",{ref:a,src:`/plugins/${e}/index.html`,title:`${t("community.plugins.plugin")}: ${e}`,style:{width:"100%",minHeight:"300px",border:0,overflow:"hidden"},allow:"fullscreen"})]})]})]})},{defaultAlgorithm:$Ge}=Tr,NGe=e=>({...$Ge(e),colorPrimary:"#00ff00",colorSuccess:"#00cc66",colorWarning:"#ccff00",colorError:"#ff0033",colorInfo:"#00e6e6",colorBgBase:"#000000",colorBgContainer:"#0d0d0d",colorBgElevated:"#1a1a1a",colorBgLayout:"#000000",colorFillSecondary:"#003300",colorTextBase:"#00ff00",colorText:"#00ff00",colorTextSecondary:"#66ff66",colorTextPlaceholder:"#339966",colorTextDisabled:"#339933",colorBorder:"#009900",colorBorderSecondary:"#006600",controlOutline:"#00ff99",colorPrimaryHover:"#33ff33",colorPrimaryActive:"#00cc00",controlItemBgActive:"#003300",colorIcon:"#00ff00 !important",colorIconHover:"#66ff66 !important",colorSuccessBg:"#003300",colorSuccessBorder:"#00ff00",colorSuccessText:"#00ff00",colorErrorBg:"#330000",colorErrorBorder:"#ff0033",colorErrorText:"#ff0033",colorWarningBg:"#333300",colorWarningBorder:"#ccff00",colorWarningText:"#ccff00",colorInfoBg:"#002b2b",colorInfoBorder:"#00e6e6",colorInfoText:"#00e6e6",colorStepIcon:"#00ff00",colorStepIconFinish:"#00cc00",colorStepIconHover:"#66ff66",colorStepIconInactive:"#004400",colorStepTitleActive:"#00ff00",colorStepTitleFinish:"#00cc00",colorStepTitleInactive:"#004400",colorSplit:"#006600",colorLink:"#00cc99",colorLinkHover:"#00d4bf",colorLinkActive:"#009988",colorTextLightSolid:"#00ff00",controlItemBgHover:"#004400",controlItemColorActive:"#00ff00",colorFillAlter:"#002200",fontFamily:"'Courier New', Courier, monospace",fontSize:12,fontSizeSM:10,fontSizeLG:14,fontSizeXL:16,fontSizeHeading1:36,fontSizeHeading2:28,fontSizeHeading3:22,fontSizeHeading4:18,fontSizeHeading5:14,lineHeight:1.4}),AGe=()=>{const[e,t]=l.useState([]);l.useEffect(()=>{const r=Math.floor(window.innerWidth/15);t(Array.from({length:r},(a,o)=>o))},[]);const n=()=>{const r="アァイィウゥエェオカキクケコサシスセソ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";return r[Math.floor(Math.random()*r.length)]};return d.jsx("div",{className:"matrix-bg",children:e.map((r,a)=>d.jsx("div",{className:"matrix-column",style:{left:`${r*15}px`,animationDelay:`${Math.random()*20}s`,animationDuration:`${Math.random()*12+5}s`,fontSize:`${Math.floor(Math.random()*9)+10}px`},children:Array.from({length:30}).map((o,i)=>d.jsx("span",{className:"matrix-char",children:n()},i))},a))})};function kGe(){const{defaultAlgorithm:e,darkAlgorithm:t}=Tr,n=s=>{const c=document.querySelector('meta[name="theme-color"]');c&&c.setAttribute("content",s),document.body.style.backgroundColor=s},[r,a]=l.useState(()=>localStorage.getItem("theme")||"auto"),o=()=>{a(s=>s==="dark"?"light":s==="light"?"auto":s==="auto"?"matrix":"dark")};l.useEffect(()=>{localStorage.setItem("theme",r),oc()==="dark"||oc()==="matrix"?n("#000000"):n("#f5f5f5"),r==="matrix"?document.body.classList.add("matrix-theme"):document.body.classList.remove("matrix-theme")},[r]);let i;return r==="dark"?i=d.jsx(FEe,{onClick:o}):r==="light"?i=d.jsx(U2e,{onClick:o}):r==="matrix"?i=d.jsx(My,{style:{marginTop:"-2px"},onClick:o}):i=d.jsx(ECe,{onClick:o}),d.jsxs(Qi,{theme:{algorithm:r==="dark"?t:r==="matrix"?NGe:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:[r==="matrix"&&d.jsx(AGe,{}),d.jsx(L$e,{children:d.jsx("div",{className:"App",children:d.jsx(al,{style:{minHeight:"100vh"},children:d.jsxs(Ute,{basename:"/web",children:[d.jsx(tje,{themeSwitch:i}),d.jsxs(B$e,{children:[d.jsx(al,{children:d.jsxs(Mte,{children:[d.jsx(Wn,{path:"/",element:d.jsx(s5e,{})}),d.jsx(Wn,{path:"/home/stats",element:d.jsx(c5e,{})}),d.jsx(Wn,{path:"/home/features",element:d.jsx(wje,{})}),d.jsx(Wn,{path:"/home/toniemeeting",element:d.jsx(d5e,{})}),d.jsx(Wn,{path:"/home/plugin/:pluginId",element:d.jsx(Pd,{})}),d.jsx(Wn,{path:"/tonies",element:d.jsx(IGe,{})}),d.jsx(Wn,{path:"/tonies/system-sounds",element:d.jsx(vGe,{})}),d.jsx(Wn,{path:"/tonies/content",element:d.jsx(sGe,{})}),d.jsx(Wn,{path:"/tonies/library",element:d.jsx(gGe,{})}),d.jsx(Wn,{path:"/tonies/encoder",element:d.jsx(pGe,{})}),d.jsx(Wn,{path:"/tonies/tap",element:d.jsx(SGe,{})}),d.jsx(Wn,{path:"/tonies/teddystudio",element:d.jsx(yGe,{})}),d.jsx(Wn,{path:"/tonies/plugin/:pluginId",element:d.jsx(Pd,{})}),d.jsx(Wn,{path:"/tonieboxes",element:d.jsx(x5e,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup",element:d.jsx(w5e,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup/identifyboxversion",element:d.jsx(M5e,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup/openboxguide",element:d.jsx(V5e,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup/boxversioninfo",element:d.jsx(I5e,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup/esp32/flashing",element:d.jsx(JHe,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup/esp32/legacy",element:d.jsx(t9e,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup/cc3200/flashing",element:d.jsx(nze,{})}),d.jsx(Wn,{path:"/tonieboxes/boxsetup/cc3235/flashing",element:d.jsx(fze,{})}),d.jsx(Wn,{path:"/tonieboxes/plugin/:pluginId",element:d.jsx(Pd,{})}),d.jsx(Wn,{path:"/settings",element:d.jsx(b5e,{})}),d.jsx(Wn,{path:"/settings/certificates",element:d.jsx(y5e,{})}),d.jsx(Wn,{path:"/settings/rtnl",element:d.jsx(h5e,{})}),d.jsx(Wn,{path:"/settings/notifications",element:d.jsx(g5e,{})}),d.jsx(Wn,{path:"/settings/plugin/:pluginId",element:d.jsx(Pd,{})}),d.jsx(Wn,{path:"/community",element:d.jsx(cje,{})}),d.jsx(Wn,{path:"/community/tcplugins",element:d.jsx(TGe,{})}),d.jsx(Wn,{path:"/community/tcplugins/:pluginId",element:d.jsx(Pd,{})}),d.jsx(Wn,{path:"/community/plugin/:pluginId",element:d.jsx(Pd,{})}),d.jsx(Wn,{path:"/community/faq",element:d.jsx(mje,{})}),d.jsx(Wn,{path:"/community/supportrequestguide",element:d.jsx(vje,{})}),d.jsx(Wn,{path:"/community/contribution",element:d.jsx(uje,{})}),d.jsx(Wn,{path:"/community/contribution/tonies-json",element:d.jsx(pje,{})}),d.jsx(Wn,{path:"/community/contribution/translations",element:d.jsx(Cje,{})}),d.jsx(Wn,{path:"/community/contributors",element:d.jsx(gje,{})}),d.jsx(Wn,{path:"/community/changelog",element:d.jsx(lje,{})}),d.jsx(Wn,{path:"/*",element:d.jsx(sje,{})})]})}),d.jsx(aAe,{})]})]})})})})]})}const PGe=OQ.createRoot(document.getElementById("root"));PGe.render(d.jsx(ge.StrictMode,{children:d.jsx(kGe,{})}))});export default DGe(); diff --git a/contrib/data/www/web/index.html b/contrib/data/www/web/index.html index 2b7a5176..01962336 100644 --- a/contrib/data/www/web/index.html +++ b/contrib/data/www/web/index.html @@ -12,8 +12,8 @@ --> TeddyCloud - - + + diff --git a/contrib/data/www/web/translations/de.json b/contrib/data/www/web/translations/de.json index 70156008..84b1524d 100644 --- a/contrib/data/www/web/translations/de.json +++ b/contrib/data/www/web/translations/de.json @@ -78,6 +78,78 @@ "navigationTitle": "Forum" }, "navigationTitle": "Community", + "plugins": { + "addButton": "Hinzufügen", + "addButtonTooltip": "Klicke hier, um neue Plugins hinzuzufügen oder bestehende Plugins zu aktualisieren", + "available": "Verfügbare Plugins", + "by": "von", + "cancel": "Abbrechen", + "delete": "Löschen", + "deletion": { + "confirmDeleteDialog": "Möchtest du das Plugin \"{{pluginId}}\" wirklich löschen?", + "confirmDeleteModal": "Löschen bestätigen", + "delete": "Löschen", + "errorDeletingPlugin": "Löschen des Plugins fehlgeschlagen", + "errorDeletingPluginDetails": "Löschen des Plugins \"{{filename}}\" fehlgeschlagen: ", + "successDeletingPlugin": "Löschen des Plugins erfolgreich", + "successDeletingPluginDetails": "Löschen des Plugins \"{{filename}}\" war erfolgreich" + }, + "empty": "Kein Plugin verfügbar", + "error": { + "notification": { + "message": "Fehlende Beschreibung json – Element \"pluginName\" im Plugin \"{{pluginId}}\", wird übersprungen.", + "missingPluginIndexHtml": "Fehlende index.html im Plugin \"{{pluginId}}\"!", + "title": "Fehler beim Laden des Plugins" + }, + "pluginNotFound": "Plugin index.html nicht gefunden – bitte überprüfe das Plugin!", + "title": "Fehler beim Laden des Plugins" + }, + "errorLoadingPlugin": "Fehler beim Laden der Metadaten für Plugin {{pluginname}}", + "filter": { + "unknown": "Bereich nicht gesetzt" + }, + "help": { + "descriptionExampleTitle": "plugin.json zum obigen Beispiel:", + "descriptionIntro": "Jedes Plugin muss eine plugin.json-Datei im Hauptverzeichnis enthalten. Diese Datei beschreibt das Plugin und ermöglicht die richtige Anzeige in der Benutzeroberfläche.", + "descriptionTitle": "plugin.json — Erforderliche Metadaten", + "exampleFolderTitle": "Beispielordner:", + "exampleTitle": "Beispiel:", + "fields": { + "author": "Autor des Plugins", + "description": "Kurze Zusammenfassung des Plugins", + "pluginHomepage": "Homepage des Plugins", + "pluginName": "Der Titel, der in Menüs angezeigt wird (erforderlich)", + "teddyCloudSection": "Gewünschter Bereich, in dem das Plugin zur Navigation hinzugefügt wird (gültige Werte: home, tonies, tonieboxes, settings, community)", + "version": "Version des Plugins" + }, + "fieldsTitle": "Felder:", + "folderStructureTitle": "Plugin-Ordnerstruktur:", + "intro": "Damit dein Plugin auffindbar ist und in der Community-Navigation erscheint, muss es dieser Struktur folgen und eine gültige index.html und plugin.json Datei enthalten. Eine optionale preview.png wird als Bild in der Plugin-Karte angezeigt.", + "popoverTitle": "Plugin-Hilfe", + "title": "Plugin-Ordnerstruktur & Anforderungen" + }, + "helpButton": "Hilfe", + "helpTextCreatePlugin": "Ein Text darüber, wie man ein Plugin erstellt", + "installedPlugins": "Installierte Plugins", + "intro": "Hier findest du deine hinzugefügten TeddyCloud Plugins und kannst neue Plugins von dir oder der TeddyCloud Community hinzufügen!", + "navigationTitle": "TC Plugins", + "open": "Plugin öffnen", + "plugin": "Plugin", + "title": "TeddyCloud Plugins", + "upload": { + "add": "Plugin hinzufügen", + "errorUploadingPlugin": "Hochladen des neuen Plugins fehlgeschlagen", + "errorUploadingPluginDetails": "Hochladen des neuen Plugins \"{{filename}}\" fehlgeschlagen: ", + "selectPluginZip": "Zip-Datei des Plugins auswählen", + "successUploadingPlugin": "Hochladen des neuen Plugins erfolgreich", + "successUploadingPluginDetails": "Hochladen des neuen Plugins \"{{filename}}\" war erfolgreich", + "uploadModal": "Eine gezippte Plugin-Datei hochladen", + "uploadModalHint": "Lade ein neues oder bestehendes Plugin hoch. Wenn das hochgeladene gezippte Plugin bereits in TeddyCloud vorhanden ist, wird es überschrieben.", + "warningUploadingPlugin": "Bitte eine Datei auswählen", + "warningUploadingPluginDetails": "Bitte wähle eine gezippte Plugin-Datei aus, bevor du auf \"Plugin hinzufügen\" klickst" + }, + "visitHomepage": "Plugin-Homepage besuchen" + }, "supportRequestGuide": { "closing": "Diese Detailgenauigkeit wird der Community helfen, dein Problem effektiver zu lösen. Vielen Dank!", "example": { @@ -200,10 +272,10 @@ "cancel": "Abbrechen", "create": "Anlegen", "createDirectory": "Neuen Ordner anlegen", - "directoryCreateFailed": "Verzeichniserstellung fehlgeschlagen!", - "directoryCreateFailedDetails": "Erstellen des Verzeichnisses \"{{directory}}\" fehlgeschlagen: ", "directoryCreated": "Neuer Ordner wurde angelegt!", "directoryCreatedDetails": "Neues Verzeichnis \"{{directory}}\" wurde erstellt!", + "directoryCreateFailed": "Verzeichniserstellung fehlgeschlagen!", + "directoryCreateFailedDetails": "Erstellen des Verzeichnisses \"{{directory}}\" fehlgeschlagen: ", "inDirectory": "im Pfad ", "modalTitle": "Neuen Ordner anlegen", "parentPath": "übergeordnete(r) Ordner:", @@ -387,17 +459,17 @@ "modalTitle": "Datei(en) hochladen", "showUploadFilesDragNDrop": "Dateiupload", "upload": "Hochladen", + "uploadedFile": "Datei hochgeladen!", + "uploadedFileFailed": "Datei-Upload fehlgeschlagen!", "uploadFailed": "Einige Dateien konnten nicht hochgeladen werden. Versuche es erneut.", "uploadFailedForFile": "Hochladen von \"{{file}}\" fehlgeschlagen.", "uploadHint": "Ziehe die hochzuladenden Dateien hierher", + "uploading": "Lädt hoch...", "uploadInProgress": "Lade \"{{file}}\" hoch...", "uploadSuccessful": "Dateien erfolgreich hochgeladen.", "uploadSuccessfulDetails": "Alle Dateien wurden erfolgreich hochgeladen.", "uploadSuccessfulForFile": "Datei \"{{file}}\" erfolgreich hochgeladen.", - "uploadText": "Klicke oder ziehe die Dateien zum Hochladen in diesen Bereich", - "uploadedFile": "Datei hochgeladen!", - "uploadedFileFailed": "Datei-Upload fehlgeschlagen!", - "uploading": "Lädt hoch..." + "uploadText": "Klicke oder ziehe die Dateien zum Hochladen in diesen Bereich" } }, "footer": { @@ -512,10 +584,12 @@ "title": "Statistiken" }, "title": "Willkommen auf der TeddyCloud!", + "toAllYourTonieboxes": "Zu allen Tonieboxen", "toAllYourTonies": "Zu allen Tonies", "tonieMeeting": { "navigationTitle": "Tonie Meeting" }, + "yourTonieboxes": "Deine Tonieboxen", "yourTonies": "Deine Tonies" }, "inputValidator": { @@ -529,18 +603,261 @@ "spanish": "ES" }, "languageUtil": { - "de-de": "Deutsch", - "en-gb": "Englisch (GB)", - "en-us": "Englisch (US)", - "es-es": "Spanisch", - "fr-fr": "Französisch", - "it-it": "Italienisch", + "af-af": "Afrikaans (Südafrika)", + "am-et": "Amharisch (Äthiopien)", + "ar-ae": "Arabisch (Vereinigte Arabische Emirate)", + "ar-bh": "Arabisch (Bahrain)", + "ar-dz": "Arabisch (Algerien)", + "ar-eg": "Arabisch (Ägypten)", + "ar-eh": "Arabisch (Westsahara)", + "ar-iq": "Arabisch (Irak)", + "ar-jo": "Arabisch (Jordanien)", + "ar-km": "Arabisch (Komoren)", + "ar-kw": "Arabisch (Kuwait)", + "ar-lb": "Arabisch (Libanon)", + "ar-ly": "Arabisch (Libyen)", + "ar-ma": "Arabisch (Marokko)", + "ar-mr": "Arabisch (Mauretanien)", + "ar-om": "Arabisch (Oman)", + "ar-ps": "Arabisch (Palästina)", + "ar-qa": "Arabisch (Katar)", + "ar-sa": "Arabisch (Saudi-Arabien)", + "ar-sd": "Arabisch (Sudan)", + "ar-sy": "Arabisch (Syrien)", + "ar-tn": "Arabisch (Tunesien)", + "ar-ye": "Arabisch (Jemen)", + "az-az": "Aserbaidschanisch (Aserbaidschan)", + "be-by": "Weißrussisch (Weißrussland)", + "bg-bg": "Bulgarisch (Bulgarien)", + "bm-ml": "Bambara (Mali)", + "bn-bd": "Bengalisch (Bangladesch)", + "bs-ba": "Bosnisch (Bosnien und Herzegowina)", + "ca-ad": "Katalanisch (Andorra)", + "cs-cz": "Tschechisch (Tschechische Republik)", + "da-dk": "Dänisch (Dänemark)", + "de-at": "Deutsch (Österreich)", + "de-ch": "Deutsch (Schweiz)", + "de-de": "Deutsch (Deutschland)", + "de-li": "Deutsch (Liechtenstein)", + "dv-mv": "Dhivehi (Malediven)", + "dz-bt": "Dzongkha (Bhutan)", + "el-cy": "Griechisch (Zypern)", + "el-gr": "Griechisch (Griechenland)", + "en-ag": "Englisch (Antigua und Barbuda)", + "en-ai": "Englisch (Anguilla)", + "en-as": "Englisch (Amerikanisch-Samoa)", + "en-au": "Englisch (Australien)", + "en-bb": "Englisch (Barbados)", + "en-bi": "Englisch (Burundi)", + "en-bm": "Englisch (Bermuda)", + "en-bs": "Englisch (Bahamas)", + "en-bw": "Englisch (Botswana)", + "en-bz": "Englisch (Belize)", + "en-ca": "Englisch (Kanada)", + "en-cc": "Englisch (Kokosinseln)", + "en-ck": "Englisch (Cookinseln)", + "en-cx": "Englisch (Weihnachtsinsel)", + "en-dm": "Englisch (Dominica)", + "en-fj": "Englisch (Fidschi)", + "en-fk": "Englisch (Falklandinseln)", + "en-fm": "Englisch (Mikronesien)", + "en-gb": "Englisch (Vereinigtes Königreich)", + "en-gd": "Englisch (Grenada)", + "en-gg": "Englisch (Guernsey)", + "en-gh": "Englisch (Ghana)", + "en-gi": "Englisch (Gibraltar)", + "en-gm": "Englisch (Gambia)", + "en-gs": "Englisch (Südgeorgien und die Süd Sandwichinseln)", + "en-gu": "Englisch (Guam)", + "en-gy": "Englisch (Guyana)", + "en-hm": "Englisch (Heard- und McDonaldinseln)", + "en-ie": "Englisch (Irland)", + "en-im": "Englisch (Insel Man)", + "en-io": "Englisch (Britisches Territorium im Indischen Ozean)", + "en-je": "Englisch (Jersey)", + "en-jm": "Englisch (Jamaika)", + "en-ki": "Englisch (Kiribati)", + "en-kn": "Englisch (Saint Kitts und Nevis)", + "en-ky": "Englisch (Kaimaninseln)", + "en-lc": "Englisch (Saint Lucia)", + "en-lr": "Englisch (Liberia)", + "en-ls": "Englisch (Lesotho)", + "en-mh": "Englisch (Marshallinseln)", + "en-mp": "Englisch (Nördliche Marianen)", + "en-ms": "Englisch (Montserrat)", + "en-mu": "Englisch (Mauritius)", + "en-mw": "Englisch (Malawi)", + "en-na": "Englisch (Namibia)", + "en-nf": "Englisch (Norfolkinsel)", + "en-ng": "Englisch (Nigeria)", + "en-nr": "Englisch (Nauru)", + "en-nu": "Englisch (Niue)", + "en-nz": "Englisch (Neuseeland)", + "en-pg": "Englisch (Papua-Neuguinea)", + "en-pn": "Englisch (Pitcairninseln)", + "en-pw": "Englisch (Palau)", + "en-sb": "Englisch (Salomonen)", + "en-sc": "Englisch (Seychellen)", + "en-sg": "Englisch (Singapur)", + "en-sh": "Englisch (Saint Helena)", + "en-sl": "Englisch (Sierra Leone)", + "en-ss": "Englisch (Südsudan)", + "en-sz": "Englisch (Eswatini)", + "en-ta": "Englisch (Tristan da Cunha)", + "en-tc": "Englisch (Türkische und Caicosinseln)", + "en-tk": "Englisch (Tokelau)", + "en-to": "Englisch (Tonga)", + "en-tt": "Englisch (Trinidad und Tobago)", + "en-tv": "Englisch (Tuvalu)", + "en-ug": "Englisch (Uganda)", + "en-um": "Englisch (Vereinigte Staaten kleine Außengebiete)", + "en-us": "Englisch (Vereinigte Staaten)", + "en-vc": "Englisch (Saint Vincent und die Grenadinen)", + "en-vg": "Englisch (Britische Jungferninseln)", + "en-vi": "Englisch (U.S. Virgin Islands)", + "en-vu": "Englisch (Vanuatu)", + "en-ws": "Englisch (Samoa)", + "en-za": "Englisch (Südafrika)", + "en-zm": "Englisch (Sambia)", + "en-zw": "Englisch (Simbabwe)", + "es-ar": "Spanisch (Argentinien)", + "es-bo": "Spanisch (Bolivien)", + "es-cl": "Spanisch (Chile)", + "es-co": "Spanisch (Kolumbien)", + "es-cr": "Spanisch (Costa Rica)", + "es-cu": "Spanisch (Kuba)", + "es-do": "Spanisch (Dominikanische Republik)", + "es-ec": "Spanisch (Ecuador)", + "es-es": "Spanisch (Spanien)", + "es-gq": "Spanisch (Äquatorialguinea)", + "es-gt": "Spanisch (Guatemala)", + "es-hn": "Spanisch (Honduras)", + "es-ic": "Spanisch (Kanarische Inseln)", + "es-mx": "Spanisch (Mexiko)", + "es-ni": "Spanisch (Nicaragua)", + "es-pa": "Spanisch (Panama)", + "es-pe": "Spanisch (Peru)", + "es-pr": "Spanisch (Puerto Rico)", + "es-py": "Spanisch (Paraguay)", + "es-sv": "Spanisch (El Salvador)", + "es-uy": "Spanisch (Uruguay)", + "es-ve": "Spanisch (Venezuela)", + "et-ee": "Estnisch (Estland)", + "fa-ir": "Persisch (Iran)", + "fi-fi": "Finnisch (Finnland)", + "fo-fo": "Färöisch (Färöer Inseln)", + "fr-bf": "Französisch (Burkina Faso)", + "fr-bj": "Französisch (Benin)", + "fr-bl": "Französisch (Saint-Barthélemy)", + "fr-cd": "Französisch (Demokratische Republik Kongo)", + "fr-cf": "Französisch (Zentralafrikanische Republik)", + "fr-cg": "Französisch (Republik Kongo)", + "fr-ci": "Französisch (Elfenbeinküste)", + "fr-cm": "Französisch (Kamerun)", + "fr-dj": "Französisch (Dschibuti)", + "fr-fr": "Französisch (Frankreich)", + "fr-ga": "Französisch (Gabun)", + "fr-gf": "Französisch (Französisch-Guayana)", + "fr-gn": "Französisch (Guinea)", + "fr-gp": "Französisch (Guadeloupe)", + "fr-ht": "Französisch (Haiti)", + "fr-lu": "Französisch (Luxemburg)", + "fr-mc": "Französisch (Monaco)", + "fr-mf": "Französisch (Saint Martin)", + "fr-mq": "Französisch (Martinique)", + "fr-nc": "Französisch (Neukaledonien)", + "fr-ne": "Französisch (Niger)", + "fr-pf": "Französisch (Französisch-Polynesien)", + "fr-pm": "Französisch (Saint Pierre und Miquelon)", + "fr-re": "Französisch (Réunion)", + "fr-sn": "Französisch (Senegal)", + "fr-td": "Französisch (Tschad)", + "fr-tf": "Französisch (Französische Süd- und Antarktisgebiete)", + "fr-tg": "Französisch (Togo)", + "fr-wf": "Französisch (Wallis und Futuna)", + "fr-yt": "Französisch (Mayotte)", + "he-il": "Hebräisch (Israel)", + "hi-in": "Hindi (Indien)", + "hr-hr": "Kroatisch (Kroatien)", + "hu-hu": "Ungarisch (Ungarn)", + "hy-am": "Armenisch (Armenien)", + "id-id": "Indonesisch (Indonesien)", + "is-is": "Isländisch (Island)", + "it-it": "Italienisch (Italien)", + "it-sm": "Italienisch (San Marino)", + "it-va": "Italienisch (Vatikanstadt)", + "ja-jp": "Japanisch (Japan)", + "ka-ge": "Georgisch (Georgien)", + "kk-kz": "Kasachisch (Kasachstan)", + "kl-gl": "Grönländisch (Grönland)", + "km-kh": "Khmer (Kambodscha)", + "ko-kp": "Koreanisch (Nordkorea)", + "ko-kr": "Koreanisch (Südkorea)", + "ky-kg": "Kirgisisch (Kirgisistan)", + "lo-la": "Laotisch (Laos)", + "lt-lt": "Litauisch (Litauen)", + "lv-lv": "Lettisch (Lettland)", + "mg-mg": "Malagassisch (Madagaskar)", + "mk-mk": "Mazedonisch (Nordmazedonien)", + "mn-mn": "Mongolisch (Mongolei)", + "ms-bn": "Malaiisch (Brunei)", + "ms-my": "Malaiisch (Malaysia)", + "mt-mt": "Maltesisch (Malta)", + "my-mm": "Burmesisch (Myanmar)", + "ne-np": "Nepali (Nepal)", + "nl-aw": "Niederländisch (Aruba)", "nl-be": "Niederländisch (Belgien)", + "nl-bq": "Niederländisch (Karibische Niederlande)", + "nl-cw": "Niederländisch (Curaçao)", "nl-nl": "Niederländisch (Niederlande)", - "pl-pl": "Polnisch", - "pt-pt": "Portugiesisch", - "tr-tr": "Türkisch", - "undefined": "Andere/undefiniert" + "nl-sr": "Niederländisch (Surinam)", + "nl-sx": "Niederländisch (Sint Maarten)", + "no-bv": "Norwegisch (Bouvetinsel)", + "no-no": "Norwegisch (Norwegen)", + "no-sj": "Norwegisch (Svalbard und Jan Mayen)", + "pl-pl": "Polnisch (Polen)", + "pt-ao": "Portugiesisch (Angola)", + "pt-br": "Portugiesisch (Brasilien)", + "pt-cv": "Portugiesisch (Kap Verde)", + "pt-gw": "Portugiesisch (Guinea-Bissau)", + "pt-mz": "Portugiesisch (Mosambik)", + "pt-pt": "Portugiesisch (Portugal)", + "pt-st": "Portugiesisch (São Tomé und Príncipe)", + "ro-md": "Rumänisch (Moldawien)", + "ro-ro": "Rumänisch (Rumänien)", + "ru-ru": "Russisch (Russland)", + "rw-kg": "Kinyarwanda (Ruanda)", + "si-lk": "Singhalesisch (Sri Lanka)", + "sk-sk": "Slowakisch (Slowakei)", + "sl-si": "Slowenisch (Slowenien)", + "so-so": "Somali (Somalia)", + "sq-al": "Albanisch (Albanien)", + "sq-xk": "Albanisch (Kosovo)", + "sr-me": "Serbisch (Montenegro)", + "sr-rs": "Serbisch (Serbien)", + "sv-ax": "Schwedisch (Ålandinseln)", + "sv-se": "Schwedisch (Schweden)", + "sw-ke": "Swahili (Kenia)", + "sw-tz": "Swahili (Tansania)", + "tet-tl": "Tetum (Timor-Leste)", + "tg-tj": "Tadschikisch (Tadschikistan)", + "th-th": "Thailändisch (Thailand)", + "ti-er": "Tigrinya (Eritrea)", + "tk-tm": "Turkmenisch (Turkmenistan)", + "tl-ph": "Tagalog (Philippinen)", + "tr-tr": "Türkisch (Türkei)", + "uk-ua": "Ukrainisch (Ukraine)", + "undefined": "Andere/undefiniert", + "unknownLanguageCode": "Unbekannter Sprachcode: ", + "ur-pk": "Urdu (Pakistan)", + "uz-uz": "Usbekisch (Usbekistan)", + "vi-vn": "Vietnamesisch (Vietnam)", + "xx-aq": "Verschiedene Sprachen (Antarktis)", + "xx-eu": "Verschiedene Sprachen (Europäische Union)", + "zh-cn": "Chinesisch (China)", + "zh-hk": "Chinesisch (Hongkong)", + "zh-mo": "Chinesisch (Macau)", + "zh-tw": "Chinesisch (Taiwan)" }, "radioStreamSearch": { "failedToFetchSearchResults": "Abrufen der Radiosender-Suchergebnisse fehlgeschlagen", @@ -600,8 +917,8 @@ "colStatus": "Status", "colTitle": "Titel", "colType": "Typ", - "confirmSelectedNotifications": "Ausgewählte Benachrichtigungen bestätigen", "confirmed": "bestätigt", + "confirmSelectedNotifications": "Ausgewählte Benachrichtigungen bestätigen", "endDate": "Enddatum", "error": "Fehler", "filterBy": "Filtern nach", @@ -618,8 +935,8 @@ "warning": "Warnung" }, "overlayDisabled": "Overlayed deaktiviert!", - "overlayEnabled": "Overlayed aktiviert!", "overlayed": "überschrieben", + "overlayEnabled": "Overlayed aktiviert!", "resetToTCDetails": "Die Einstellung \"{{setting}}\"{{overlay}} wurde erfolgreich auf den TeddyCloud-Wert zurückgesetzt.", "restartComplete": "Neustart TeddyCloud Server erfolgreich!", "restartFailed": "Neustart TeddyCloud Server fehlgeschlagen!", @@ -633,8 +950,8 @@ "title": "RTNL Log" }, "save": "Speichern", - "saveDetails": "Die Einstellung \"{{setting}}\"{{overlay}} wurde erfolgreich gespeichert.", "saved": "Einstellung gespeichert!", + "saveDetails": "Die Einstellung \"{{setting}}\"{{overlay}} wurde erfolgreich gespeichert.", "title": "Einstellungen", "tonieboxes": "Tonieboxen", "toniesJsonUpdate": "Lade Tonies.json", @@ -695,7 +1012,7 @@ "dnsBeware": "Achtung!", "dnsBewareText": "Dies wird die Verbindung aller Tonieboxen in deinem Netzwerk unterbrechen, die nicht mit deinem Ersatz-CA gepatcht sind!", "dnsHint": "DNS-Anpassungen für TeddyCloud", - "dnsText1": "Setze die DNS-Einträge für prod.de.tbs.toys und rtnl.bxcl.de auf die IP-Adresse der teddyCloud-Server.", + "dnsText1": "Setze die DNS-Einträge für prod.de.tbs.toys und rtnl.bxcl.de auf die IP-Adresse der TeddyCloud-Server.", "dumpCertificates": "Zertifikate für TeddyCloud entnehmen", "dumpCertificatesIntro1": "Du benötigst die flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Client-Zertifikat) und flash:/cert/private.der (Client-Privatschlüssel).", "dumpCertificatesIntro2": "Behalte eine Sicherungskopie der Zertifikate, besonders der client.der und private.der. Ohne diese kannst du dich nicht mehr mit der Cloud verbinden!", @@ -723,14 +1040,6 @@ "preparations": "Vorbereitungen" }, "boxSetup": { - "UARTHint": { - "description": "Bitte überprüfe, ob dein UART sowohl 3,3V als auch 5V unterstützt. In diesem Fall solltest du einen Jumper auf der Platine finden, um den richtigen Modus auszuwählen. Beispiele für solche Jumper findest du hier (es gibt auch andere):", - "imageAlt1": "Jumper Beispiel 1", - "imageAlt2": "Jumper Beispiel 2", - "imageAlt3": "Jumper Beispiel 3", - "title": "Wichtig", - "warning": "Stelle auf jeden Fall sicher, dass 3,3V (oft als 3v3 bezeichnet) eingestellt ist! Wenn du die 5V-Einstellung verwendest, besteht ein hohes Risiko, dass du deine Toniebox beschädigst!" - }, "boxSetupIntro1": "Diese Seite bietet eine vollständige Übersicht über die erforderlichen Schritte, um deine Toniebox zu TeddyCloud hinzuzufügen. Wenn du auf Probleme stößt, besuche gerne das", "boxSetupIntro2": "oder trete der", "boxSetupIntro3": "bei, um Unterstützung von der Community zu erhalten.", @@ -830,6 +1139,20 @@ "setupTeddyCloud": "TeddyCloud einrichten", "setupTeddyCloudText": "Herzlichen Glückwunsch! Da du diese Seite erreicht hast, hast du TeddyCloud erfolgreich eingerichtet!", "title": "Füge deine Toniebox zu TeddyCloud hinzu", + "UARTHint": { + "description": "Bevor du fortfährst, überprüfe bitte Folgendes:", + "imageAlt1": "Jumper-Beispiel 1", + "imageAlt2": "Jumper-Beispiel 2", + "imageAlt3": "Jumper-Beispiel 3", + "noUSBCVersion": "Es gibt mehrere aktuelle Berichte über Probleme mit der USB-C-Version des UART, einschließlich Verbindungsfehlern. Um diese Probleme zu vermeiden, empfehlen wir dir dringend, stattdessen die zuverlässige Micro-USB-Version zu verwenden.", + "title": "Wichtiger Hinweis: UART-Verbindung und Spannungseinstellungen", + "uartDriver": "Aktuellster UART-Treibers", + "updateDriver": "Bitte stelle sicher, dass der neueste UART-Treiber auf deinem Gerät installiert ist. Überprüfe das im Geräte-Manager. Wenn kein Treiber installiert ist, lade bitte den passenden herunter und installiere ihn. Das Flashen funktioniert möglicherweise nicht zuverlässig mit generischen oder veralteten Treibern.", + "voltageCompatibility": "Spannungskompatibilität", + "voltageCompatibilityText1": "Stelle sicher, dass du einen UART-Adapter verwendest, der 3,3V unterstützt.", + "voltageCompatibilityText2": "Wenn dein UART-Adapter sowohl 3,3V als auch 5V unterstützt, musst du ihn auf 3,3V einstellen. In den meisten Fällen gibt es auf der Platine einen Jumper, mit dem du die richtige Spannung wählen kannst. Beispiele für solche Jumper findest du hier (deine Platine kann anders aussehen):", + "warning": "Wichtig: Achte unbedingt darauf, dass die Spannung auf 3,3V (oft als 3v3 gekennzeichnet) eingestellt ist. Wenn du die 5V-Einstellung verwendest, kannst du deine Toniebox dauerhaft beschädigen." + }, "uploadCertificateButton": "Zertifikate hochladen", "uploadCertificateIntro": "Du solltest die extrahierten Zertifikate in TeddyCloud hochladen, wenn dies deine erste Toniebox ist oder wenn du diese Toniebox als diejenige festlegen möchtest, die Inhalte aus der ursprünglichen Tonies-Cloud herunterlädt. Außerdem musst du die Zertifikate in TeddyCloud zur Toniebox hinzufügen. Gehe dazu in den Bereich 'Tonieboxen', klicke auf das Zertifikat-Symbol und lade die Zertifikate erneut hoch.", "uploadCertificates": "Zertifikate hochladen (ca.der, client.der und private.der)", @@ -842,6 +1165,14 @@ "boxWithoutAPIAccessText": "Folgende Tonieboxen haben keinen aktivierten API-Zugang:", "cancel": "Abbrechen", "cc3200BoxFlashing": { + "altUrlFritzBoxPatch": { + "CollapseTitle": "altUrl.tc.fritz.box Patch (altUrl.tc.fritz.box.json, Voreinstellung in ngCfg.json für Firmware-Slot ofw2)", + "text": "Wenn du eine Fritz!Box hast, kannst du den altUrl.tc.fritz.box-Patch verwenden. Setze dazu einfach den Namen deines TeddyCloud-Servers in der Fritz!Box auf \"tc\" (Heimnetz -> Netzwerk -> Netzwerkverbindungen -> Bearbeiten)." + }, + "altUrlPatch": { + "CollapseTitle": "altURL Patch (altUrl.305.json)", + "text": "Der altUrl.305-Patch ersetzt die Standard-Cloud-URLs durch eigene. Um ihn zu nutzen, musst du die DNS-Einträge für prod.revvox und rtnl.revvox auf die IP-Adresse deines TeddyCloud-Servers setzen." + }, "applyingPatches": "Patches anwenden", "applyingPatchesSection": { "examplengCFGJsonCollapse": { @@ -872,8 +1203,8 @@ "ofwFixValueDesc": "Magische Bytes, die in das OFW-Image beim Booten eingelegt werden (kann aus den BL-Daten von OFW[-8:-4] extrahiert werden)", "ofwSimBLDesc": "Lese das Image, das von flash:/sys/mcubootinfo.bin gestartet werden soll und lade das Image von flash:/sys/mcuimgN.bin, anstatt von sd zu lesen (wie der ofw-Bootloader)", "patchDirectory": "Patch-Verzeichnis", - "patchWiki": "Patch-Wiki", "patchesDesc": "Liste der zu ladenden Patches, siehe:", + "patchWiki": "Patch-Wiki", "section1_link": "sd:/revvox/boot/ngCfg.json", "section1_part1": "Die Konfiguration für den Bootloader wird in", "section1_part2": "gespeichert. Alle Abschnitte oder Schlüssel, die mit einem Unterstrich \"_\" beginnen, sind Kommentare und werden ignoriert.", @@ -908,7 +1239,7 @@ "connectToTonieboxText": "Stelle sicher, dass der UART auf 3,3V konfiguriert ist, bevor du den UART-Programmer über USB mit deinem Computer verbindest. Die grüne LED auf der Hauptplatine der Toniebox sollte dauerhaft leuchten (ohne zu blinken). Falls dies nicht der Fall ist, sind deine Verbindungen möglicherweise locker oder falsch. Trenne den Programmer, überprüfe alle Verbindungen sorgfältig und versuche es erneut. Wenn du mit dünnen Drähten arbeitest, könntest du Heißkleber verwenden, um sie zu fixieren und Bewegungen zu verhindern. Stelle außerdem sicher, dass die Toniebox über das Ladegerät mit Strom versorgt wird.", "createPatch": "Erstelle altUrl.custom.305.patch", "customUrlPatch": "Erstelle einen benutzerdefinierten URL-Patch (altUrl.custom.305.json)", - "customUrlPatchHint": "Bitte erstelle diesen Patch nur, wenn die vorhandenen Patches altUrl.305.json und altUrl.tc.fritz.box.json mit deiner aktuellen TeddyCloud-Installation nicht funktionieren. Wenn sie deinen Anforderungen entsprechen, kannst du mit 'Weiter' fortfahren.", + "customUrlPatchHint": "Bitte erstelle diesen Patch nur, wenn die vordefinierten Patches altUrl.tc.fritz.box.json und altUrl.305.json mit deiner aktuellen TeddyCloud-Installation nicht funktionieren. Wenn sie deinen Anforderungen entsprechen, kannst du mit 'Weiter' fortfahren.", "dumpCertificates": "Zertifikate für TeddyCloud entnehmen", "dumpCertificatesLink": "Hier findest du die Anleitung zum Entnehmen von Zertifikaten", "flashCAreplacement": "CA-Ersatz für TeddyCloud flashen", @@ -984,6 +1315,8 @@ "next": "Weiter", "patches": "Patches", "patchesMoreInformationLink": "Weitere Informationen zu benutzerdefinierten Patches", + "predefinedUrlPatches": "Vordefinierte URL-Patches", + "predefinedUrlPatchesIntro": "Für CC3200-Boxen wird empfohlen, einen altUrl-Patch zu verwenden. HackieboxNG bringt zwei vordefinierte altUrl-Patches bereits mit:", "previous": "Zurück", "proceedWithCustomBootloader": "Mit dem Custom Bootloader fortfahren", "proceedWithoutCustomBootloader": "Ohne den Custom Bootloader fortfahren", @@ -992,6 +1325,7 @@ "usingThinWiresAsTagConnector": "Dünne Drähte als Verbinder verwendet" }, "cc3235BoxFlashing": { + "certificatesDumpedCAreplacementFlashed": "Zertifikate ausgelesen und CA-Ersatz geflasht", "CH341AProgrammer": { "CH341AProgrammer": "CH341A-Programmiererverbindung einrichten", "CH341Sop8remove": "Hier schneiden, bis es passt.", @@ -1007,14 +1341,13 @@ "prep2": "Falls nötig, schneide das Plastik an der CH341A-Klemme zurecht, damit sie auf den IS25LP032D-Flash-Speicher passt.", "prep3": "Stelle sicher, dass sowohl die Platine als auch die Batterie getrennt sind.", "prep4": "Verbinde den CH341A mit dem Computer und prüfe, ob er erkannt wird. Du kannst dies wie folgt tun:", + "preparation": "Nur erforderlich, wenn du das Flashen mit einem CH341A-Programmierer durchführen möchtest", "prepConclusions1": "Falls die Ausgabe abweicht, ist möglicherweise die kleine Brücke zwischen den Pins 1 und 2 des CH341A nicht gesetzt. Sobald das bestätigt ist, trenne den CH341A vom USB-Anschluss. Diese Überprüfung stellt sicher, dass alles korrekt verbunden ist.", "prepConclusions2": "Stelle sicher, dass das SOP8-Modul im CH341A-Kit und die Klemme wie im Bild gezeigt verbunden sind.", "prepConclusions3": "Nur wenn die Vorbereitungen abgeschlossen sind, können wir mit dem Extraktionsprozess fortfahren.", - "preparation": "Nur erforderlich, wenn du das Flashen mit einem CH341A-Programmierer durchführen möchtest", "readingFlash": "Flash-Lesen mit dem CH341A-Programmierer", "writingFlash": "Flashen mit dem CH341A-Programmierer" }, - "certificatesDumpedCAreplacementFlashed": "Zertifikate ausgelesen und CA-Ersatz geflasht", "checkBoxes": "Verfügbare Boxen anzeigen", "dnsBeware": "Achtung!", "dnsBewareText": "Dies wird die Verbindung aller Tonieboxen in deinem Netzwerk unterbrechen, die nicht mit deiner Ersatz-CA gepatcht wurden!", @@ -1026,15 +1359,15 @@ "dumpCertificatesCC3235": "Du musst sie manuell aus dem Flash des Toniebox-Chips mit einer SOP8-Klammer direkt aus dem Speicher oder durch Auslöten extrahieren. Das Lesen im eingebauten Zustand kann schwierig sein, ist aber möglich. Wir empfehlen Flashrom als Tool dafür. Es könnte notwendig sein, eine neuere Version davon zu verwenden.", "dumpCertificatesLink": "Anleitung zum Auslesen der Zertifikate findest du hier", "extractCertificates": "Zertifikate extrahieren", + "flashCAreplacement": "CA-Ersatz für TeddyCloud flashen", "flashCAReplacementDescription1": "Leider kann das während der Ersteinrichtung von TeddyCloud generierte CA-Zertifikat manchmal zu einem BAD_CERTIFICATE-Fehler führen, wenn du eine Verbindung von einer CC3235 Toniebox zu TeddyCloud herstellst. Um dieses Problem zu lösen, versuche, das Zertifikat manuell mit dem alten", "flashCAReplacementDescription2": "Skript mit faketime installiert zu generieren. Kopiere die generierten Dateien in das Verzeichnis `certs/server` innerhalb des TeddyCloud-Installationsordners.", "flashCAReplacementDescription3": "Bitte beachte, dass neue Serverzertifikate, einschließlich des neu generierten CA-Zertifikats, die Verbindung zu bereits verbundenen Tonieboxen stören können. Um einen unterbrechungsfreien Service zu gewährleisten, aktualisiere bitte die CA-Ersatzdatei auf all deinen Tonieboxen mit dem neu generierten Zertifikat.", - "flashCAReplacementTitle": "Achtung: Probleme mit dem TeddyCloud CA-Zertifikat", - "flashCAreplacement": "CA-Ersatz für TeddyCloud flashen", "flashCAreplacementLink": "Anweisungen zum Flashen findest du hier", "flashCAreplacementText1": "Ersetze die originale CA in deinem Flash-Dump durch die Ersatz-CA und flashe sie zurück auf deine Box.", "flashCAreplacementText2": "Falls die Box gar keine Verbindung herstellt (Codewort: Eule), kannst du versuchen, mit dem alten gencerts.sh neue Zertifikate zu generieren und die Box neu zu flashen.", "flashCAreplacementText3": "Achtung: Die im Codeausschnitt erwähnte ca.der-Datei muss die TeddyCloud-Ersatz-CA sein!", + "flashCAReplacementTitle": "Achtung: Probleme mit dem TeddyCloud CA-Zertifikat", "flashCollapse": { "cc3235flash": "Flash-Speicher mit Pins", "cc3235flashWithSMDGrippers": "Flash-Speicher mit angeschlossenen SMD-Klemmen", @@ -1046,10 +1379,10 @@ "hint2": "Bitte folge dann dem CC3235-Pfad:", "hwToolSpecific": "Hardware-Abhängige Vorbereitungen", "hwToolSpecificText": "Abhängig von der Hardware, die du zum Flashen deiner Toniebox verwenden möchtest, sind zusätzliche Vorbereitungen erforderlich. Bitte wähle die Option, der du folgen möchtest.", - "installSerprogFirmware": "Serprog-Firmware installieren", "installflashromtool": "Flashrom installieren", "installflashromtoolLink": "Besuche die Homepage des Tools für weitere Informationen", "installflashromtoolText": "Stelle sicher, dass auf dem Computer, den du zum Flashen verwendest, Flashrom installiert ist. Wenn nicht, installiere es mit den folgenden Befehlen:", + "installSerprogFirmware": "Serprog-Firmware installieren", "linkGeneral": "Patching deiner Toniebox zur Nutzung mit TeddyCloud", "linkSpecific": "CC3235 spezifische Einrichtung", "locateFlashMemory": "Flash-Speicher-Chip lokalisieren", @@ -1120,20 +1453,21 @@ "browserNotSupported": "Die integrierte ESP32 Box Flashing Funktionalität kann nur mit Browsern genutzt werden, die die Web Serial API unterstützen. Dein genutzter Browser unterstützt diese Funktion leider nicht. Bitte verwende einen Browser, der die Web Serial API unterstützt, wie z.B. Chrome oder Edge.", "esp32flasher": { "automatically": "Automatisch", + "backupFlash": "Wichtig: Sichere deine originale, ungepatchte Firmware", "cancel": "Abbrechen", "chipMAC": "Chip-MAC", "chipType": "Chip-Typ", "confirmFlashDialog": "Möchtest du deine Toniebox wirklich flashen? Bitte achte auf eine stabile Verbindung und unterbreche den Vorgang nicht!", "confirmFlashDialogHint": "Für eine korrekte Funktionsweise deiner Toniebox ist die angegebene TeddyCloud-Instanz unbedingt notwendig. Falls deine TeddyCloud offline ist, kann deine Toniebox keine neuen Inhalte mehr abrufen!", "confirmFlashModal": "Toniebox mit gepatchter Firmware flashen", - "connectESPCollapseTitle": "Hilfe: UART mit Toniebox verbinden", "connected": "Verbunden", + "connectESPCollapseTitle": "Hilfe: UART mit Toniebox verbinden", "connectingReadFlash": "Verbinde zum Lesen des Flash...", "connectingReadMac": "Verbinde zum Lesen der MAC-Adresse...", "connectingTo": "Verbinde zu", "connectingToESP": "Verbinde zum ESP...", "connectingWriteFlash": "Verbinde zum Schreiben des Flash...", - "downloadFlashFilesHint": "Die Firmware Images sind im Datenverzeichnis deines Servers gespeichert, falls du sie nochmal flashen möchtest. Wenn du deine Firmware Images woanders speichern willst, kannst du sie herunterladen und an einem sicheren Ort ablegen:", + "downloadFlashFilesHint": "Die Firmware-Images werden im Datenverzeichnis deines Servers gespeichert, falls du sie erneut flashen möchtest. Falls du das noch nicht getan hast, lade jetzt unbedingt eine Kopie der Original-Firmware herunter und speichere sie sicher! So kannst du deine Toniebox im Notfall jederzeit in den Werkszustand zurückversetzen. Sichere die Firmware an mehreren Orten – zum Beispiel auf deinem Hauptrechner oder Laptop, einem externen Laufwerk oder USB-Stick und/oder in einem vertrauenswürdigen Cloud-Dienst (z. B. Google Drive, Dropbox, OneDrive). Verlasse dich niemals nur auf die Kopie auf dem TeddyCloud-Server.", "downloadLink": "Download ungepachte Firmware", "downloadLinkPatched": "Download gepachte Firmware", "error": "Fehler", @@ -1173,6 +1507,7 @@ "hostname": "TeddyCloud-Hostname:", "hostnameSettings": "Hostname TeddyCloud", "hostnameTooLong": "Der Hostname sollte weniger als 13 Zeichen lang sein.", + "importanceBackup": "Bevor du Änderungen an deiner Toniebox vornimmst, lade eine Kopie der Original-Firmware herunter und speichere sie sicher. So kannst du deine Toniebox im Notfall jederzeit auf den Werkszustand zurücksetzen. Speichere sie an mehreren Orten, zum Beispiel auf deinem Hauptrechner oder Laptop, einem externen Laufwerk oder USB-Stick und/oder einem vertrauenswürdigen Cloud-Dienst (z. B. Google Drive, Dropbox, OneDrive). Speichere deine einzige Kopie niemals nur auf dem TeddyCloud-Server.", "infoTable": "ESP32 info", "invalidSerialPort": "Ungültiger serieller Port", "loadFile": "Datei laden", @@ -1200,12 +1535,12 @@ "titlePatchFlash": "Flash patchen", "titleReadESP32ImportFlash": "ESP32 lesen/Flash importieren", "uploadFailed": "Upload fehlgeschlagen", - "uploadSuccessful": "Upload erfolgreich, gespeichert als", "uploading": "Upload läuft...", + "uploadSuccessful": "Upload erfolgreich, gespeichert als", "wifiCredentialsIncomplete": "WiFi Zugangsdaten unvollständig! Bitte gib SSID UND Passwort ein oder lasse beide Felder leer!", "wifiPassword": "WiFi Passwort", - "wifiSSID": "WiFi SSID:", "wifiSettings": "WiFi Daten (optional)", + "wifiSSID": "WiFi SSID:", "writingFinished": "Schreiben abgeschlossen", "writingFlash": "Schreibe {{size}} MiB Flash..." }, @@ -1242,7 +1577,9 @@ "redirect": "Weiter zu HTTPS", "title": "ESP32 Box Flashing" }, - "hintLatestFirmware": "Für die Ersteinrichtung deiner Toniebox mit TeddyCloud stelle bitte sicher, dass die neueste Firmware installiert ist. Wenn du dir nicht sicher bist, ob deine Toniebox auf dem neuesten Stand ist, verbinde sie mit der offiziellen Cloud und warte, bis das Firmware-Update abgeschlossen ist.", + "hintLatestFirmware": "Für die Ersteinrichtung deiner Toniebox mit TeddyCloud stelle bitte sicher, dass die neueste Firmware installiert ist. Wenn du dir nicht sicher bist, verbinde die Toniebox mit der offiziellen Cloud und warte, bis das Firmware-Update abgeschlossen ist. Lege außerdem einen originalen Tonie auf die Box und prüfe, ob alles funktioniert.", + "hintLatestFirmwareFactoryResetCC3200": "Wenn du (aus Versehen) einen Werksreset auf einer geflashten Toniebox durchgeführt hast, reicht es möglicherweise aus, OFW1 einmal zu starten - ein erneutes Flashen ist dann nicht notwendig.", + "hintLatestFirmwareFactoryResetESP32CC3235": "Wenn du (aus Versehen) einen Werksreset auf einer geflashten Toniebox durchgeführt hast, musst du zunächst das originale Firmware-Backup flashen, bevor du sie erneut für TeddyCloud flashst.", "hintLatestFirmwareTitle": "Wichtig", "lastOnline": "zuletzt online", "lastPlayedTonie": "Zuletzt gespielter Tonie: ", @@ -1278,8 +1615,8 @@ "title": "Deine Tonieboxen", "uploadTonieboxCertificatesModal": { "AttentionGeneralPath": "(ACHTUNG: Default Pfad!)", - "Label": "Zertifikate", "boxSpecific": " (Toniebox spezifisch hinterlegt)", + "Label": "Zertifikate", "uploadPath": "Upload Pfad (certDir):", "uploadTonieboxCertificates": "Zertifikate für Toniebox \"{{name}}\" hochladen" } @@ -1328,6 +1665,7 @@ "hide": "Ausblenden", "title": "Tonie/Tag ausblenden" }, + "connectionToBoxineNotAvailable": "Verbindung zu Boxine/Toniecloud nicht möglich. Bitte erlaube den Zugriff, um den Download zu ermöglichen.", "content": { "navigationTitle": "Content", "showToniesOfBoxes": "Inhalte der folgenden Tonieboxen anzeigen", @@ -1358,27 +1696,117 @@ "targetDirectory": "Zielpfad auswählen", "title": "Audio Encoder", "tooManyFilesError": "Zu viele Dateien!", + "unsupportedFileType": "Nicht unterstützter Dateityp!", + "unsupportedFileTypeDetails": "Die Datei \"{{file}}\" hat einen nicht unterstützten Dateityp!", "upload": "Hochladen", "uploadFailed": "Hochladen fehlgeschlagen", "uploadFailedDetails": "Beim Hochladen ist ein Fehler aufgetreten: ", "uploadFiles": "Datei(en) auswählen", "uploadHint": "Ziehe die Audiodateien hier her!", + "uploading": "Lädt hoch...", + "uploadingDetails": "Datei \"{{file}}\" wird hochgeladen...", "uploadSuccessful": "Dateikodierung erfolgreich!", "uploadSuccessfulDetails": "Dateien wurden als \"{{file}}\" kodiert und erfolgreich zur Bibliothek hinzugefügt!", - "uploadText": "Klicke oder ziehe bis zu {{maxFiles}} Audiodateien, die du in eine TAF-Datei konvertieren möchtest, zum Hochladen in diesen Bereich", - "uploading": "Lädt hoch...", - "uploadingDetails": "Datei \"{{file}}\" wird hochgeladen..." + "uploadText": "Klicke oder ziehe bis zu {{maxFiles}} Audiodateien, die du in eine TAF-Datei konvertieren möchtest, zum Hochladen in diesen Bereich" }, "errorFetchingSystemSounds": "Fehler beim Abrufen der System Sounds", "errorFetchingTonies": "Fehler beim Abrufen der Tonies", + "help": { + "actionItems": { + "cloudIcon": { + "text": "Grau bedeutet Cloud-Synchronisation ist aktiv, Rot bedeutet deaktiviert. Klicke, um den Status zu ändern.", + "title": "Cloud-Status" + }, + "downloadIcon": { + "text": "Wenn Cloud-Zugriff aktiviert und autorisiert ist, kannst du hier Inhalte aus der Boxine/Toniecloud herunterladen.", + "title": "Inhalt herunterladen" + }, + "editIcon": { + "createNewModel": { + "description": "Öffnet ein Fenster, um alle nötigen Details für ein neues Modell einzugeben. Diese Funktion ist noch in Entwicklung.", + "text": "Erstelle ein neues benutzerdefiniertes Modell für deinen Tonie/Tag.", + "title": "Neues Modell erstellen (WIP)" + }, + "model": { + "description": "Suche ein Modell und weise es zu. Das Bild wird in der Übersicht angezeigt.", + "text": "Zeigt das aktuell zugewiesene Modellbild des Tonie/Tags.", + "title": "Modell" + }, + "radioStreamSearch": { + "description": "Verwende das Suchfeld, um einen Stream aus der radio-browser-Datenbank zu finden und zuzuweisen.", + "text": "Suche nach Online-Radio-Streams (falls die API von radio-browser.info verfügbar ist).", + "title": "Radio-Stream-Suche" + }, + "source": { + "description": "Du kannst Inhalte aus deiner Bibliothek (z. B. TAF- oder TAP-Dateien) zuweisen oder eine Stream-URL eingeben.", + "text": "Zeigt die aktuell zugewiesene Inhaltsquelle an.", + "title": "Quelle" + }, + "text": "Öffnet das Bearbeitungsfenster mit folgenden Optionen:", + "title": "Tonie/Tag bearbeiten" + }, + "infoIcon": { + "download": { + "description": "Wenn verfügbar, kann die verlinkte TAF-Datei als einzelne .ogg-Datei heruntergeladen werden.", + "text": "Ermöglicht das Herunterladen der TAF-Datei als .ogg-Audiodatei.", + "title": "TAF als .ogg herunterladen" + }, + "exists": { + "description": "Der Status 'Existiert' wird auf 'ja' gesetzt, wenn die zugewiesene Quelldatei existiert.", + "text": "Zeigt an, ob die zugewiesene Quelle des Tonie/Tags im System vorhanden ist.", + "title": "Existiert" + }, + "hide": { + "description": "Du kannst diese Option nutzen, um einen Tonie/Tag auszublenden. Um ihn wieder sichtbar zu machen, platziere ihn auf einer deiner Tonieboxen.", + "text": "Entfernt den Tonie/Tag aus der Übersicht.", + "title": "Tonie/Tag verbergen" + }, + "text": "Öffnet ein Modal mit wichtigen Details zum Tonie/Tag, einschließlich Titel, Bild, UID, Titelliste und verschiedenen Statusanzeigen:", + "title": "Tonie/Tag-Informationen", + "valid": { + "description": "Ein Tonie/Tag gilt als gültig, wenn seine zugewiesene Quelle eine gültige TAF-Datei ist.", + "text": "Zeigt an, ob die zugewiesene Quelle des Tonie/Tags gültig ist.", + "title": "Gültig" + } + }, + "liveIcon": { + "text": "Rot zeigt den 'Live'-Modus an: Inhalte starten immer von vorne und werden erneut geladen. Wird bei Radiosendern automatisch aktiviert. Klicke zum Umschalten.", + "title": "Live-Status" + }, + "playIcon": { + "text": "Spielt den dem Tonie/Tag zugewiesenen Inhalt ab. Ist das Symbol grau, ist kein abspielbarer Inhalt zugewiesen.", + "title": "Inhalt abspielen" + } + }, + "blueTopBorder": { + "text": "Zeigt an, dass dieser Tonie/Tag zuletzt auf mindestens einer deiner Tonieboxen abgespielt wurde.", + "title": "Blauer oberer Rand" + }, + "closeButton": "Schließen", + "modelImage": { + "bigImage": { + "description": "Dieses Bild zeigt das ausgewählte Modell, das dem Tonie/Tag zugewiesen ist. Um es zu ändern, musst du ein anderes Modell zuweisen.", + "text": "Stellt das Aussehen des Tonie/Tags dar.", + "title": "Großes Bild" + }, + "smallImage": { + "description": "Wird angezeigt, wenn die zugewiesene Quelle vom gewählten Modell abweicht.", + "text": "Zeigt die tatsächliche Quelle, wenn sie sich vom Modell unterscheidet.", + "title": "Kleines Bild" + }, + "text": "Zeigt die visuelle Darstellung des Tonie/Tags, wenn er erkannt wird. Unbekannte Tonies/Tags zeigen ein Fragezeichen. Wenn die Einstellung 'Frontend' → 'Split content / model' aktiviert ist, können zwei Bilder angezeigt werden:", + "title": "Tonie/Tag-Modellbild" + }, + "title": "Hilfe" + }, "infoModal": { + "download": "Download TAF als *.ogg", "exists": "Existiert:", "model": "Modell:", "no": "Nein", "tracklist": "Trackliste:", "valid": "Gültig:", - "yes": "Ja", - "download": "Download TAF als *.ogg" + "yes": "Ja" }, "informationModal": { "hideTag": "Tonie/Tag ausblenden", @@ -1424,7 +1852,7 @@ "setToEmptyValue": "leer", "setTonieToModelFailed": "Konnte Tonie-Modell nicht ändern!", "setTonieToModelFailedDetails": "Konnte Tonie-Modell für [{{ruid}}] nicht ändern: ", - "setTonieToModelSuccessful": "Tonie-Modell erfolgtreich gesetzt!", + "setTonieToModelSuccessful": "Tonie-Modell erfolgreich gesetzt!", "setTonieToModelSuccessfulDetails": "Tonie-Modell auf {{selectedModel}} für [{{ruid}}] gesetzt", "setTonieToSourceFailed": "Konnte Tonie-Quelle nicht ändern!", "setTonieToSourceFailedDetails": "Konnte Tonie-Quelle für [{{ruid}}] nicht ändern: ", @@ -1434,6 +1862,7 @@ "navigationTitle": "Tonies", "noData": "Keine Tonies/benutzerdefinierten Tags gefunden.", "noDataText": "Tonies/benutzerdefinierte Tags erscheinen erst, nachdem eine Toniebox eine erfolgreiche Verbindung hergestellt hat und bereits Tonies/benutzerdefinierte Tags auf ihrer SD-Karte hat. Stelle sicher, dass deine Toniebox korrekt verbunden ist und bereits einige Tonies/benutzerdefinierte Tags darauf hat, oder platziere deinen ersten Tonie/benutzerdefinierten Tag auf deiner Toniebox und aktualisiere diese Seite.", + "noPlayableContentHint": "Es ist kein Inhalt zum Abspielen verfügbar. Entweder ist er nicht zugewiesen oder es fehlen Daten von der Tonies/Boxine-Cloud. Stelle die Figur auf die Box, um dies zu beheben.", "selectFileModal": { "cancel": "Abbrechen", "ok": "OK", @@ -1469,6 +1898,31 @@ "titleCreate": "Neue TAP erstellen", "titleEdit": "TAP bearbeiten" }, + "teddystudio": { + "clear": "Blatt löschen", + "clearSettings": "Zurücksetzen", + "diameter": "Innen-Durchmesser", + "empty": "Leer - Bitte wähle zuerst Tonies oder Tags aus!", + "height": "Höhe", + "intro": "Durchsuche alle Tonies und Tags - sowohl offizielle als auch deine eigenen - um dein druckbares Traveltonies (Münze) Blatt zu erstellen.", + "labelShape": "Etikettenform", + "labelSpacing": "Abstand", + "labelSpacingX": "X", + "labelSpacingY": "Y", + "navigationTitle": "TeddyStudio", + "placeholder": "Gib einen Suchbegriff ein!", + "printPage": "Blatt drucken", + "printSheet": "Dein Druckblatt", + "round": "Rund", + "saveSettings": "Speichern", + "settings": "Einstellungen", + "showLanguageFlag": "Sprachflagge drucken", + "showModelNo": "Modellnummer drucken", + "square": "Eckig", + "textFontSize": "Textgröße", + "title": "TeddyStudio", + "width": "Breite" + }, "title": "Tonies", "tonies": { "filterBar": { diff --git a/contrib/data/www/web/translations/en.json b/contrib/data/www/web/translations/en.json index 54e59552..2b4bf6fb 100644 --- a/contrib/data/www/web/translations/en.json +++ b/contrib/data/www/web/translations/en.json @@ -78,6 +78,78 @@ "navigationTitle": "Forum" }, "navigationTitle": "Community", + "plugins": { + "addButton": "Add", + "addButtonTooltip": "Click here to add new Plugins or update existing plugins", + "available": "Available Plugins", + "by": "by", + "cancel": "Cancel", + "delete": "Delete", + "deletion": { + "confirmDeleteDialog": "Do you really want to delete the plugin \"{{pluginId}}\"?", + "confirmDeleteModal": "Confirm delete", + "delete": "Delete", + "errorDeletingPlugin": "Deletion of plugin failed", + "errorDeletingPluginDetails": "Deletion of plugin \"{{filename}}\" failed: ", + "successDeletingPlugin": "Deletion of plugin successful", + "successDeletingPluginDetails": "Deletion of plugin \"{{filename}}\" was successful" + }, + "empty": "No plugin available", + "error": { + "notification": { + "message": "Missing description json - element \"pluginName\" in plugin \"{{pluginId}}\", skipping.", + "missingPluginIndexHtml": "Missing index.html in plugin \"{{pluginId}}\"!", + "title": "Error on loading plugin" + }, + "pluginNotFound": "Plugin index.html not found - please check the plugin!", + "title": "Error on loading plugin" + }, + "errorLoadingPlugin": "Failed to load metadata for plugin {{pluginname}}", + "filter": { + "unknown": "Section unset" + }, + "help": { + "descriptionExampleTitle": "plugin.json for example above:", + "descriptionIntro": "Every plugin must include a plugin.json file in its root. This file describes the plugin and allows it to be displayed properly in the UI.", + "descriptionTitle": "plugin.json — Required Metadata", + "exampleFolderTitle": "Example Folder:", + "exampleTitle": "Example:", + "fields": { + "author": "Author of the plugin", + "description": "Short summary of the plugin", + "pluginHomepage": "Homepage of the plugin", + "pluginName": "The title shown in menus (mandatory)", + "teddyCloudSection": "Desired section where plugin shall be added to navigation (valid values: home, tonies, tonieboxes, settings, community)", + "version": "Version of the plugin" + }, + "fieldsTitle": "Fields:", + "folderStructureTitle": "Plugin Folder Structure:", + "intro": "To make your plugin discoverable and listed in the Community navigation, it must follow this structure and include a valid index.html and plugin.json file. An optional preview.png will be shown as an image in the plugins card.", + "popoverTitle": "Plugin Help", + "title": "Plugin Folder Structure & Requirements" + }, + "helpButton": "Help", + "helpTextCreatePlugin": "Some Text about how to create a plugin", + "installedPlugins": "Installed plugins", + "intro": "Here you find your added TeddyCloud plugins and you can add new plugins provided by you or the TeddyCloud community!", + "navigationTitle": "TC Plugins", + "open": "Open Plugin", + "plugin": "Plugin", + "title": "TeddyCloud Plugins", + "upload": { + "add": "Add Plugin", + "errorUploadingPlugin": "Upload of new plugin failed", + "errorUploadingPluginDetails": "Upload of new plugin \"{{filename}}\" failed: ", + "selectPluginZip": "Select the zipped plugin file", + "successUploadingPlugin": "Upload of new plugin successful", + "successUploadingPluginDetails": "Upload of new plugin \"{{filename}}\" was successful", + "uploadModal": "Upload a zipped plugin file", + "uploadModalHint": "Upload a new or an existing plugin. If the uploaded zipped plugin is already existing in TeddyCloud, it will be overwritten.", + "warningUploadingPlugin": "Please select a file", + "warningUploadingPluginDetails": "Please select a zipped plugin file before hitting \"Add Plugin\"" + }, + "visitHomepage": "Visit Plugins Homepage" + }, "supportRequestGuide": { "closing": "Providing this level of detail will help the community resolve your issue more effectively. Thank you!", "example": { @@ -200,10 +272,10 @@ "cancel": "Cancel", "create": "Create", "createDirectory": "Create New Directory", - "directoryCreateFailed": "Create directory failed!", - "directoryCreateFailedDetails": "Create directory \"{{directory}}\" failed: ", "directoryCreated": "New directory has been created!", "directoryCreatedDetails": "New directory \"{{directory}}\" has been created!", + "directoryCreateFailed": "Create directory failed!", + "directoryCreateFailedDetails": "Create directory \"{{directory}}\" failed: ", "inDirectory": "in directory ", "modalTitle": "Create New Directory", "parentPath": "Parent directory:", @@ -387,17 +459,17 @@ "modalTitle": "Upload file(s)", "showUploadFilesDragNDrop": "File upload", "upload": "Upload", + "uploadedFile": "File uploaded!", + "uploadedFileFailed": "File upload failed!", "uploadFailed": "Some files could not be uploaded. Please try again.", "uploadFailedForFile": "Upload of \"{{file}}\" failed.", "uploadHint": "Drag files here to upload", + "uploading": "Uploading...", "uploadInProgress": "Uploading \"{{file}}\"...", "uploadSuccessful": "Files uploaded successfully.", "uploadSuccessfulDetails": "All files were uploaded successfully.", "uploadSuccessfulForFile": "File \"{{file}}\" uploaded successfully.", - "uploadText": "Click or drag files to this area to upload", - "uploadedFile": "File uploaded!", - "uploadedFileFailed": "File upload failed!", - "uploading": "Uploading..." + "uploadText": "Click or drag files to this area to upload" } }, "footer": { @@ -512,10 +584,12 @@ "title": "Stats" }, "title": "Welcome to TeddyCloud!", + "toAllYourTonieboxes": "To all Tonieboxes", "toAllYourTonies": "To all Tonies", "tonieMeeting": { "navigationTitle": "Tonie Meeting" }, + "yourTonieboxes": "Your Tonieboxes", "yourTonies": "Your Tonies" }, "inputValidator": { @@ -529,18 +603,261 @@ "spanish": "ES" }, "languageUtil": { - "de-de": "German", - "en-gb": "English (GB)", - "en-us": "English (US)", - "es-es": "Spanish", - "fr-fr": "French", - "it-it": "Italian", + "af-af": "Afrikaans (South Africa)", + "am-et": "Amharic (Ethiopia)", + "ar-ae": "Arabic (United Arab Emirates)", + "ar-bh": "Arabic (Bahrain)", + "ar-dz": "Arabic (Algeria)", + "ar-eg": "Arabic (Egypt)", + "ar-eh": "Arabic (Western Sahara)", + "ar-iq": "Arabic (Iraq)", + "ar-jo": "Arabic (Jordan)", + "ar-km": "Arabic (Comoros)", + "ar-kw": "Arabic (Kuwait)", + "ar-lb": "Arabic (Lebanon)", + "ar-ly": "Arabic (Libya)", + "ar-ma": "Arabic (Morocco)", + "ar-mr": "Arabic (Mauritania)", + "ar-om": "Arabic (Oman)", + "ar-ps": "Arabic (Palestine)", + "ar-qa": "Arabic (Qatar)", + "ar-sa": "Arabic (Saudi Arabia)", + "ar-sd": "Arabic (Sudan)", + "ar-sy": "Arabic (Syria)", + "ar-tn": "Arabic (Tunisia)", + "ar-ye": "Arabic (Yemen)", + "az-az": "Azerbaijani (Azerbaijan)", + "be-by": "Belarusian (Belarus)", + "bg-bg": "Bulgarian (Bulgaria)", + "bm-ml": "Bambara (Mali)", + "bn-bd": "Bengali (Bangladesh)", + "bs-ba": "Bosnian (Bosnia and Herzegovina)", + "ca-ad": "Catalan (Andorra)", + "cs-cz": "Czech (Czech Republic)", + "da-dk": "Danish (Denmark)", + "de-at": "German (Austria)", + "de-ch": "German (Switzerland)", + "de-de": "German (Germany)", + "de-li": "German (Liechtenstein)", + "dv-mv": "Dhivehi (Maldives)", + "dz-bt": "Dzongkha (Bhutan)", + "el-cy": "Greek (Cyprus)", + "el-gr": "Greek (Greece)", + "en-ag": "English (Antigua and Barbuda)", + "en-ai": "English (Anguilla)", + "en-as": "English (American Samoa)", + "en-au": "English (Australia)", + "en-bb": "English (Barbados)", + "en-bi": "English (Burundi)", + "en-bm": "English (Bermuda)", + "en-bs": "English (Bahamas)", + "en-bw": "English (Botswana)", + "en-bz": "English (Belize)", + "en-ca": "English (Canada)", + "en-cc": "English (Cocos (Keeling) Islands)", + "en-ck": "English (Cook Islands)", + "en-cx": "English (Christmas Island)", + "en-dm": "English (Dominica)", + "en-fj": "English (Fiji)", + "en-fk": "English (Falkland Islands)", + "en-fm": "English (Micronesia)", + "en-gb": "English (United Kingdom)", + "en-gd": "English (Grenada)", + "en-gg": "English (Guernsey)", + "en-gh": "English (Ghana)", + "en-gi": "English (Gibraltar)", + "en-gm": "English (Gambia)", + "en-gs": "English (South Georgia and the South Sandwich Islands)", + "en-gu": "English (Guam)", + "en-gy": "English (Guyana)", + "en-hm": "English (Heard Island and McDonald Islands)", + "en-ie": "English (Ireland)", + "en-im": "English (Isle of Man)", + "en-io": "English (British Indian Ocean Territory)", + "en-je": "English (Jersey)", + "en-jm": "English (Jamaica)", + "en-ki": "English (Kiribati)", + "en-kn": "English (Saint Kitts and Nevis)", + "en-ky": "English (Cayman Islands)", + "en-lc": "English (Saint Lucia)", + "en-lr": "English (Liberia)", + "en-ls": "English (Lesotho)", + "en-mh": "English (Marshall Islands)", + "en-mp": "English (Northern Mariana Islands)", + "en-ms": "English (Montserrat)", + "en-mu": "English (Mauritius)", + "en-mw": "English (Malawi)", + "en-na": "English (Namibia)", + "en-nf": "English (Norfolk Island)", + "en-ng": "English (Nigeria)", + "en-nr": "English (Nauru)", + "en-nu": "English (Niue)", + "en-nz": "English (New Zealand)", + "en-pg": "English (Papua New Guinea)", + "en-pn": "English (Pitcairn Islands)", + "en-pw": "English (Palau)", + "en-sb": "English (Solomon Islands)", + "en-sc": "English (Seychelles)", + "en-sg": "English (Singapore)", + "en-sh": "English (Saint Helena)", + "en-sl": "English (Sierra Leone)", + "en-ss": "English (South Sudan)", + "en-sz": "English (Eswatini)", + "en-ta": "English (Tristan da Cunha)", + "en-tc": "English (Turks and Caicos Islands)", + "en-tk": "English (Tokelau)", + "en-to": "English (Tonga)", + "en-tt": "English (Trinidad and Tobago)", + "en-tv": "English (Tuvalu)", + "en-ug": "English (Uganda)", + "en-um": "English (United States Minor Outlying Islands)", + "en-us": "English (United States)", + "en-vc": "English (Saint Vincent and the Grenadines)", + "en-vg": "English (British Virgin Islands)", + "en-vi": "English (U.S. Virgin Islands)", + "en-vu": "English (Vanuatu)", + "en-ws": "English (Samoa)", + "en-za": "English (South Africa)", + "en-zm": "English (Zambia)", + "en-zw": "English (Zimbabwe)", + "es-ar": "Spanish (Argentina)", + "es-bo": "Spanish (Bolivia)", + "es-cl": "Spanish (Chile)", + "es-co": "Spanish (Colombia)", + "es-cr": "Spanish (Costa Rica)", + "es-cu": "Spanish (Cuba)", + "es-do": "Spanish (Dominican Republic)", + "es-ec": "Spanish (Ecuador)", + "es-es": "Spanish (Spain)", + "es-gq": "Spanish (Equatorial Guinea)", + "es-gt": "Spanish (Guatemala)", + "es-hn": "Spanish (Honduras)", + "es-ic": "Spanish (Canary Islands)", + "es-mx": "Spanish (Mexico)", + "es-ni": "Spanish (Nicaragua)", + "es-pa": "Spanish (Panama)", + "es-pe": "Spanish (Peru)", + "es-pr": "Spanish (Puerto Rico)", + "es-py": "Spanish (Paraguay)", + "es-sv": "Spanish (El Salvador)", + "es-uy": "Spanish (Uruguay)", + "es-ve": "Spanish (Venezuela)", + "et-ee": "Estonian (Estonia)", + "fa-ir": "Persian (Iran)", + "fi-fi": "Finnish (Finland)", + "fo-fo": "Faroese (Faroe Islands)", + "fr-bf": "French (Burkina Faso)", + "fr-bj": "French (Benin)", + "fr-bl": "French (Saint Barthélemy)", + "fr-cd": "French (Democratic Republic of the Congo)", + "fr-cf": "French (Central African Republic)", + "fr-cg": "French (Republic of the Congo)", + "fr-ci": "French (Côte d'Ivoire)", + "fr-cm": "French (Cameroon)", + "fr-dj": "French (Djibouti)", + "fr-fr": "French (France)", + "fr-ga": "French (Gabon)", + "fr-gf": "French (French Guiana)", + "fr-gn": "French (Guinea)", + "fr-gp": "French (Guadeloupe)", + "fr-ht": "French (Haiti)", + "fr-lu": "French (Luxembourg)", + "fr-mc": "French (Monaco)", + "fr-mf": "French (Saint Martin)", + "fr-mq": "French (Martinique)", + "fr-nc": "French (New Caledonia)", + "fr-ne": "French (Niger)", + "fr-pf": "French (French Polynesia)", + "fr-pm": "French (Saint Pierre and Miquelon)", + "fr-re": "French (Réunion)", + "fr-sn": "French (Senegal)", + "fr-td": "French (Chad)", + "fr-tf": "French (French Southern Territories)", + "fr-tg": "French (Togo)", + "fr-wf": "French (Wallis and Futuna)", + "fr-yt": "French (Mayotte)", + "he-il": "Hebrew (Israel)", + "hi-in": "Hindi (India)", + "hr-hr": "Croatian (Croatia)", + "hu-hu": "Hungarian (Hungary)", + "hy-am": "Armenian (Armenia)", + "id-id": "Indonesian (Indonesia)", + "is-is": "Icelandic (Iceland)", + "it-it": "Italian (Italy)", + "it-sm": "Italian (San Marino)", + "it-va": "Italian (Vatican City)", + "ja-jp": "Japanese (Japan)", + "ka-ge": "Georgian (Georgia)", + "kk-kz": "Kazakh (Kazakhstan)", + "kl-gl": "Greenlandic (Greenland)", + "km-kh": "Khmer (Cambodia)", + "ko-kp": "Korean (North Korea)", + "ko-kr": "Korean (South Korea)", + "ky-kg": "Kyrgyz (Kyrgyzstan)", + "lo-la": "Lao (Laos)", + "lt-lt": "Lithuanian (Lithuania)", + "lv-lv": "Latvian (Latvia)", + "mg-mg": "Malagasy (Madagascar)", + "mk-mk": "Macedonian (North Macedonia)", + "mn-mn": "Mongolian (Mongolia)", + "ms-bn": "Malay (Brunei)", + "ms-my": "Malay (Malaysia)", + "mt-mt": "Maltese (Malta)", + "my-mm": "Burmese (Myanmar)", + "ne-np": "Nepali (Nepal)", + "nl-aw": "Dutch (Aruba)", "nl-be": "Dutch (Belgium)", + "nl-bq": "Dutch (Caribbean Netherlands)", + "nl-cw": "Dutch (Curaçao)", "nl-nl": "Dutch (Netherlands)", - "pl-pl": "Polish", - "pt-pt": "Portuguese", - "tr-tr": "Turkish", - "undefined": "Other/undefined" + "nl-sr": "Dutch (Suriname)", + "nl-sx": "Dutch (Sint Maarten)", + "no-bv": "Norwegian (Bouvet Island)", + "no-no": "Norwegian (Norway)", + "no-sj": "Norwegian (Svalbard and Jan Mayen)", + "pl-pl": "Polish (Poland)", + "pt-ao": "Portuguese (Angola)", + "pt-br": "Portuguese (Brazil)", + "pt-cv": "Portuguese (Cape Verde)", + "pt-gw": "Portuguese (Guinea-Bissau)", + "pt-mz": "Portuguese (Mozambique)", + "pt-pt": "Portuguese (Portugal)", + "pt-st": "Portuguese (São Tomé and Príncipe)", + "ro-md": "Romanian (Moldova)", + "ro-ro": "Romanian (Romania)", + "ru-ru": "Russian (Russia)", + "rw-kg": "Kinyarwanda (Rwanda)", + "si-lk": "Sinhala (Sri Lanka)", + "sk-sk": "Slovak (Slovakia)", + "sl-si": "Slovenian (Slovenia)", + "so-so": "Somali (Somalia)", + "sq-al": "Albanian (Albania)", + "sq-xk": "Albanian (Kosovo)", + "sr-me": "Serbian (Montenegro)", + "sr-rs": "Serbian (Serbia)", + "sv-ax": "Swedish (Åland Islands)", + "sv-se": "Swedish (Sweden)", + "sw-ke": "Swahili (Kenya)", + "sw-tz": "Swahili (Tanzania)", + "tet-tl": "Tetum (Timor-Leste)", + "tg-tj": "Tajik (Tajikistan)", + "th-th": "Thai (Thailand)", + "ti-er": "Tigrinya (Eritrea)", + "tk-tm": "Turkmen (Turkmenistan)", + "tl-ph": "Tagalog (Philippines)", + "tr-tr": "Turkish (Turkey)", + "uk-ua": "Ukrainian (Ukraine)", + "undefined": "Other/undefined", + "unknownLanguageCode": "Unknown language code: ", + "ur-pk": "Urdu (Pakistan)", + "uz-uz": "Uzbek (Uzbekistan)", + "vi-vn": "Vietnamese (Vietnam)", + "xx-aq": "Various Languages (Antarctica)", + "xx-eu": "Various Languages (European Union)", + "zh-cn": "Chinese (China)", + "zh-hk": "Chinese (Hong Kong)", + "zh-mo": "Chinese (Macau)", + "zh-tw": "Chinese (Taiwan)" }, "radioStreamSearch": { "failedToFetchSearchResults": "Failed to fetch radio stations search results", @@ -600,8 +917,8 @@ "colStatus": "Status", "colTitle": "Title", "colType": "Type", - "confirmSelectedNotifications": "Confirm selected notifications", "confirmed": "confirmed", + "confirmSelectedNotifications": "Confirm selected notifications", "endDate": "End Date", "error": "Error", "filterBy": "Filter by", @@ -618,8 +935,8 @@ "warning": "Warning" }, "overlayDisabled": "Overlayed disabled!", - "overlayEnabled": "Overlayed enabled!", "overlayed": "overlayed", + "overlayEnabled": "Overlayed enabled!", "resetToTCDetails": "Setting \"{{setting}}\"{{overlay}} successfully resetted to TeddyCloud value.", "restartComplete": "Restart TeddyCloud server successful!", "restartFailed": "Restart TeddyCloud server failed!", @@ -633,8 +950,8 @@ "title": "RTNL Log" }, "save": "Save", - "saveDetails": "Setting \"{{setting}}\"{{overlay}} successfully saved.", "saved": "Setting saved!", + "saveDetails": "Setting \"{{setting}}\"{{overlay}} successfully saved.", "title": "Settings", "tonieboxes": "tonieboxes", "toniesJsonUpdate": "Reload Tonies.json", @@ -690,12 +1007,12 @@ }, "alternativeDNSSolutions": "Other non-breaking solutions", "certificates": "Certificates", - "certificatesIntro": "On first run teddyCloud will generate the CA and certificates with the starting date 2015-11-03. Those will be placed in /certs/server/. This also generates the replacement CA for the toniebox certs/server/ca.der.", + "certificatesIntro": "On first run TeddyCloud will generate the CA and certificates with the starting date 2015-11-03. Those will be placed in /certs/server/. This also generates the replacement CA for the toniebox certs/server/ca.der.", "dns": "DNS", "dnsBeware": "Beware!", "dnsBewareText": "This will cut off the connection of all tonieboxes within your network, which arn`t patched with your replacement CA!", "dnsHint": "DNS Adaptions for TeddyCloud", - "dnsText1": "Set the DNS entries for prod.de.tbs.toys and rtnl.bxcl.de to the teddyCloud servers ip-address.", + "dnsText1": "Set the DNS entries for prod.de.tbs.toys and rtnl.bxcl.de to the TeddyCloud servers ip-address.", "dumpCertificates": "Dump certificates for TeddyCloud", "dumpCertificatesIntro1": "You`ll need the flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Client Cert) and flash:/cert/private.der (Client private key).", "dumpCertificatesIntro2": "Keep a backup of the certificates, especially the client.der and private.der. Without it you won`t be able to connect to the cloud anymore!", @@ -717,20 +1034,12 @@ "title": "Install the CC3200 Tool" }, "openWrt": { - "dnsText2": "As an alternative you can set the gateway for the tonieboxes to the ip of teddyCloud. With OpenWRT it works this way:", + "dnsText2": "As an alternative you can set the gateway for the tonieboxes to the ip of TeddyCloud. With OpenWRT it works this way:", "usingOpenWrt": "Using openWRT" }, "preparations": "Preparations" }, "boxSetup": { - "UARTHint": { - "description": "Please double-check if your UART supports both 3.3V and 5V. In this case, you should find a jumper on the board to select the correct mode. You can see examples of such jumpers here (but there are others):", - "imageAlt1": "Jumper Example 1", - "imageAlt2": "Jumper Example 2", - "imageAlt3": "Jumper Example 3", - "title": "Important", - "warning": "In any case, make absolutely sure that 3.3V (often labelled 3v3) is set! If you are using the 5V setting, there is a high risk that you will break your Toniebox!" - }, "boxSetupIntro1": "This page provides a complete overview of the steps required to add your Toniebox to TeddyCloud. If you encounter any issues, feel free to visit the", "boxSetupIntro2": "or join the", "boxSetupIntro3": "for community support.", @@ -830,6 +1139,20 @@ "setupTeddyCloud": "Setup TeddyCloud", "setupTeddyCloudText": "Congratulations! By reaching this page, you've successfully set up TeddyCloud!", "title": "Add your Toniebox to TeddyCloud", + "UARTHint": { + "description": "Before proceeding, please double-check the following:", + "imageAlt1": "Jumper Example 1", + "imageAlt2": "Jumper Example 2", + "imageAlt3": "Jumper Example 3", + "noUSBCVersion": "There have been several recent reports of issues with the USB-C version of the UART, including connection failures. To avoid these problems, we strongly recommend using the reliable micro-USB version instead.", + "title": "Important Notice: UART Connection and Voltage Settings", + "uartDriver": "UART Driver Installation", + "updateDriver": "Please make sure the latest UART driver is installed for your device. Double-check in your Device Manager. If no driver is installed, please download and install the appropriate one. Flashing may not work reliably with generic or outdated drivers.", + "voltageCompatibility": "Voltage Compatibility", + "voltageCompatibilityText1": "Make sure you're using a UART adapter that supports 3.3V.", + "voltageCompatibilityText2": "If your UART adapter supports both 3.3V and 5V, you must set it to 3.3V. In most cases, there will be a jumper on the board to select the correct voltage. Examples of such jumpers can be seen here (note that your board may look different):", + "warning": "Important: Make absolutely sure the voltage is set to 3.3V (often labeled as 3v3). Using the 5V setting can permanently damage your Toniebox." + }, "uploadCertificateButton": "Upload certificates", "uploadCertificateIntro": "You should upload the extracted certificates to TeddyCloud if this is your first Toniebox or if you want to designate this Toniebox as the one used to download content from the original Tonies cloud. Additionally, you need to add the certificates to the Toniebox within TeddyCloud. To do this, navigate to the Tonieboxes section, click on the Certificate icon, and upload the certificates again.", "uploadCertificates": "Upload certificates (ca.der, client.der and private.der)", @@ -842,6 +1165,14 @@ "boxWithoutAPIAccessText": "The following Tonieboxes do not have API access enabled:", "cancel": "Cancel", "cc3200BoxFlashing": { + "altUrlFritzBoxPatch": { + "CollapseTitle": "altUrl.tc.fritz.box Patch (altUrl.tc.fritz.box.json, preset default in ngCfg.json for firmware slot ofw2)", + "text": "If you're using a Fritz!Box, you can apply the altUrl.tc.fritz.box patch. Simply set the name of your TeddyCloud server to \"tc\" in the Fritz!Box settings (Home Network -> Network -> Network Connections -> Edit)." + }, + "altUrlPatch": { + "CollapseTitle": "altURL Patch (altUrl.305.json)", + "text": "The altUrl.305 patch replaces the default cloud URLs with custom ones. To use it, configure your DNS so that both prod.revvox and rtnl.revvox point to your TeddyCloud server's IP address." + }, "applyingPatches": "Applying patches", "applyingPatchesSection": { "examplengCFGJsonCollapse": { @@ -872,8 +1203,8 @@ "ofwFixValueDesc": "Magic bytes to be placed into the OFW Image during boot (can be extracted from OFW BL data[-8:-4])", "ofwSimBLDesc": "Read image to boot from flash:/sys/mcubootinfo.bin and load the image from flash:/sys/mcuimgN.bin instead of reading from sd (like the ofw bootloader)", "patchDirectory": "patch directory", - "patchWiki": "patch wiki", "patchesDesc": "List of patches to load, see:", + "patchWiki": "patch wiki", "section1_link": "sd:/revvox/boot/ngCfg.json", "section1_part1": "The configuration for the bootloader is saved within", "section1_part2": ". All sections or keys starting with an underscore \"_\" are comments and will be ignored.", @@ -908,7 +1239,7 @@ "connectToTonieboxText": "Ensure that the UART is configured to 3.3V before connecting the UART programmer to your computer via USB. The green LED on the Toniebox mainboard should stay steadily lit (no flashing or blinking). If it does not, your connections might be loose or incorrect. Disconnect the programmer, double-check all connections, and try again. If you are working with thin wires, consider applying hot glue to secure them in place and prevent any movement. Additionally, ensure that the Toniebox is powered using its charger.", "createPatch": "Create altUrl.custom.305.patch", "customUrlPatch": "Create a custom URL Patch (altUrl.custom.305.json)", - "customUrlPatchHint": "Please create this patch only if the existing altUrl.305.json and altUrl.tc.fritz.box.json patches are not functioning with your current TeddyCloud setup. If they do meet your needs you can proceed by clicking 'Next'.", + "customUrlPatchHint": "Please create this patch only if the predefined altUrl.tc.fritz.box.json and altUrl.305.json patches are not functioning with your current TeddyCloud setup. If they do meet your needs you can proceed by clicking 'Next'.", "dumpCertificates": "Dump certificates for TeddyCloud", "dumpCertificatesLink": "Find instructions for dumping certificates here", "flashCAreplacement": "Flash CA replacement for TeddyCloud", @@ -984,6 +1315,8 @@ "next": "Next", "patches": "Patches", "patchesMoreInformationLink": "More information on custom patches", + "predefinedUrlPatches": "Predefined URL Patches", + "predefinedUrlPatchesIntro": "For CC3200 boxes, it's recommended to use an altUrl patch. HackieboxNG includes two predefined altUrl patches ready to use:", "previous": "Back", "proceedWithCustomBootloader": "Proceed with the custom bootloader", "proceedWithoutCustomBootloader": "Proceed without the custom bootloader", @@ -992,6 +1325,7 @@ "usingThinWiresAsTagConnector": "Thin wires used as a connector" }, "cc3235BoxFlashing": { + "certificatesDumpedCAreplacementFlashed": "Certificates dumped and CA replacement flashed", "CH341AProgrammer": { "CH341AProgrammer": "Set up CH341A programmer connection", "CH341Sop8remove": "Trim here until it fits properly.", @@ -1007,34 +1341,33 @@ "prep2": "Trim the plastic on the CH341A clamp if necessary, so it can fit onto the IS25LP032D Flash memory.", "prep3": "Ensure both the PCB and the battery are disconnected.", "prep4": "Connect the CH341A to the computer and confirm it is recognized. You can do this as follows:", + "preparation": "Only required if you plan to perform the flashing with a CH341A Programmer", "prepConclusions1": "If the output differs, the small bridge between pins 1 and 2 on the CH341A may not be set. Once confirmed, unplug the CH341A from the USB port. This check ensures everything is connected correctly.", "prepConclusions2": "Make sure the SOP8 module in the CH341A kit and the clamp are connected as shown in the picture.", "prepConclusions3": "Only when preparations are complete can we proceed with the extraction process.", - "preparation": "Only required if you plan to perform the flashing with a CH341A Programmer", "readingFlash": "Reading Flash with the CH341A Programmer", "writingFlash": "Writing Flash with the CH341A Programmer" }, - "certificatesDumpedCAreplacementFlashed": "Certificates dumped and CA replacement flashed", "checkBoxes": "Show available boxes", "dnsBeware": "Beware!", "dnsBewareText": "This will cut off the connection of all tonieboxes within your network, which arn`t patched with your replacement CA!", "dnsHint": "DNS Adaptions for TeddyCloud", "dnsLink": "Find instructions for adapting DNS here", - "dnsText1": "Set the DNS entries for prod.de.tbs.toys and rtnl.bxcl.de to the teddyCloud servers ip-address.", - "dnsText2": "As an alternative you can set the gateway for the tonieboxes to the ip of teddyCloud. With OpenWRT it works this way:", + "dnsText1": "Set the DNS entries for prod.de.tbs.toys and rtnl.bxcl.de to the TeddyCloud servers ip-address.", + "dnsText2": "As an alternative you can set the gateway for the tonieboxes to the ip of TeddyCloud. With OpenWRT it works this way:", "dumpCertificates": "Dump certificates for TeddyCloud", "dumpCertificatesCC3235": "You`ll have to manually extract it from the flash of the box with a SOP8 clamp directly from the memory or by desoldering it. Reading in-circuit can be tricky, but is possible. We recommend flashrom as tool for that. It may be necessary to use a more recent version of it.", "dumpCertificatesLink": "Find instructions for dumping certificates here", "extractCertificates": "Extract certificates", + "flashCAreplacement": "Flash CA replacement for TeddyCloud", "flashCAReplacementDescription1": "Unfortunately, the CA certificate generated by TeddyCloud during its initial setup can sometimes cause a BAD_CERTIFICATE error when connecting a CC3235 Toniebox to TeddyCloud. To resolve this issue, try generating the certificate manually using the legacy", "flashCAReplacementDescription2": "script with faketime installed. Copy the generated files to the certs/server directory within the TeddyCloud installation folder.", "flashCAReplacementDescription3": "Please note that new server certificates, including the newly generated CA certificate, may disrupt connections with any already connected Tonieboxes. To ensure uninterrupted service, please update the CA replacement file on all your Tonieboxes with the newly generated certificate.", - "flashCAReplacementTitle": "Attention: TeddyCloud CA Certificate Compatibility Issues", - "flashCAreplacement": "Flash CA replacement for TeddyCloud", "flashCAreplacementLink": "Find flashing instructions here", "flashCAreplacementText1": "Replace the original CA within your flash dump with the replacement CA and reflash it to your box.", "flashCAreplacementText2": "If the box does not connect at all (codeword owl), you may try the old gencerts.sh to generate new certificates and reflash the box.", "flashCAreplacementText3": "Attention: The ca.der file referenced in the code snippet must be the TeddyCloud Replacement CA!", + "flashCAReplacementTitle": "Attention: TeddyCloud CA Certificate Compatibility Issues", "flashCollapse": { "cc3235flash": "Flash memory with pins", "cc3235flashWithSMDGrippers": "Flash memory with connected SMD grippers", @@ -1046,10 +1379,10 @@ "hint2": "Please follow then the CC3235 path:", "hwToolSpecific": "Hardware-Dependent Preparations", "hwToolSpecificText": "Depending on the hardware you plan to use for flashing your Toniebox, additional preparations are required. Please select the option you will follow:", - "installSerprogFirmware": "Install serprog firmware", "installflashromtool": "Install Flashrom", "installflashromtoolLink": "Visit the tool's homepage for more information", "installflashromtoolText": "Make sure the computer you're using for flashing has flashrom installed. If not, install it using the following commands:", + "installSerprogFirmware": "Install serprog firmware", "linkGeneral": "Patching your Toniebox for using with TeddyCloud", "linkSpecific": "CC3235 specific setup", "locateFlashMemory": "Locate the Flash Memory Chip", @@ -1120,20 +1453,21 @@ "browserNotSupported": "The integrated ESP32 Box flashing functionality can only be used with browsers that support the Web Serial API. Unfortunately, your current browser does not support this feature. Please use a browser that supports the Web Serial API, such as Chrome or Edge.", "esp32flasher": { "automatically": "Automatically", + "backupFlash": "Important: Backup your original unpatched firmware", "cancel": "Cancel", "chipMAC": "Chip MAC", "chipType": "Chip Type", "confirmFlashDialog": "Do you really want to flash your Toniebox? Please ensure a stable connection and do not interrupt the process!", "confirmFlashDialogHint": "To ensure your Toniebox works correctly, the specified TeddyCloud instance is absolutely necessary. If your TeddyCloud is offline, your Toniebox won't be able to access new content!", "confirmFlashModal": "Flash Toniebox with patched firmware", - "connectESPCollapseTitle": "Help: Connect UART with Toniebox", "connected": "Connected", + "connectESPCollapseTitle": "Help: Connect UART with Toniebox", "connectingReadFlash": "Connecting to read Flash...", "connectingReadMac": "Connecting to read MAC-Address...", "connectingTo": "Connecting to", "connectingToESP": "Connecting to ESP...", "connectingWriteFlash": "Connecting to write Flash...", - "downloadFlashFilesHint": "The firmware images are stored in your server's data directory in case you want to reflash them. In case you want to save your firmware images somewhere else, you can download them and move them to a safe place:", + "downloadFlashFilesHint": "The firmware images are stored in your server's data directory in case you want to reflash them. If you haven't done so already, make sure to download and securely store a copy of the original firmware now! This ensures you can always restore your Toniebox to its factory state if something goes wrong. Save the backup in multiple locations — such as your main computer or laptop, an external hard drive or USB stick, and/or a trusted cloud storage service (e.g. Google Drive, Dropbox, OneDrive). Do not rely on the copy stored on the TeddyCloud server alone.", "downloadLink": "Download unpatched firmware", "downloadLinkPatched": "Download patched firmware", "error": "Error", @@ -1173,6 +1507,7 @@ "hostname": "TeddyCloud Hostname:", "hostnameSettings": "Hostname TeddyCloud", "hostnameTooLong": "The hostname should be less than 13 characters long.", + "importanceBackup": "Before making any changes of your Toniebox, download and securely store a copy of the original firmware. This ensures you can always restore your Toniebox to its factory state if something goes wrong. Save it in multiple locations, such as your main computer or laptop, an external hard drive or USB stick and/or a trusted cloud storage service (e.g. Google Drive, Dropbox, OneDrive). Never store your only copy on the TeddyCloud-Server.", "infoTable": "ESP32 info", "invalidSerialPort": "Invalid serial port", "loadFile": "Load File", @@ -1200,12 +1535,12 @@ "titlePatchFlash": "Patch Flash", "titleReadESP32ImportFlash": "Read ESP32/Import Flash", "uploadFailed": "Upload failed", - "uploadSuccessful": "Upload successful, saved as", "uploading": "Uploading...", + "uploadSuccessful": "Upload successful, saved as", "wifiCredentialsIncomplete": "WiFi credentials incomplete! Please enter both SSID AND password, or leave both fields empty!", "wifiPassword": "WiFi Password:", - "wifiSSID": "WiFi SSID:", "wifiSettings": "WiFi Data (optional):", + "wifiSSID": "WiFi SSID:", "writingFinished": "Writing finished", "writingFlash": "Writing {{size}} MiB flash..." }, @@ -1220,8 +1555,8 @@ "dumpCertificates": "Dump certificates for TeddyCloud", "flashCAreplacement": "Flash CA replacement for TeddyCloud", "flashCAreplacementText1": "Replace the original CA within your flash dump with esptool.", - "flashCAreplacementText2": "Reassamble your Toniebox again. If you already set the teddyCloud hostname, you can skip the DNS step for the ESP32, if not continue with DNS step for the ESP32.", - "flashCAreplacementText3": "Your Toniebox should now be able to connect to your teddyCloud. Do a freshnesscheck and click on \"Check available Boxes\".", + "flashCAreplacementText2": "Reassamble your Toniebox again. If you already set the TeddyCloud hostname, you can skip the DNS step for the ESP32, if not continue with DNS step for the ESP32.", + "flashCAreplacementText3": "Your Toniebox should now be able to connect to your TeddyCloud. Do a freshnesscheck and click on \"Check available Boxes\".", "followLegacyApproach": "Or use the legacy method (no GUI, command line only).", "hint": "There is a direct support of flashing your ESP32 Toniebox with TeddyCloud available!", "installESPTool": "Install recent ESPtool", @@ -1242,7 +1577,9 @@ "redirect": "Proceed to HTTPS", "title": "ESP32 Box Flashing" }, - "hintLatestFirmware": "For the initial setup with TeddyCloud of your Toniebox, please ensure it has the latest firmware installed. If you're unsure whether your Toniebox is up to date, connect it to the official cloud and allow some time for the firmware update to complete.", + "hintLatestFirmware": "For the initial setup with TeddyCloud of your Toniebox, please ensure it has the latest firmware installed. If you're unsure whether your Toniebox is up to date, connect it to the official cloud and allow some time for the firmware update to complete. Additionally you should place an original Tonie on your Toniebox and check if it's working fine.", + "hintLatestFirmwareFactoryResetCC3200": "If you've (accidentally) performed a factory reset on a flashed Toniebox, simply booting OFW1 once may be enough to restore functionality - reflashing might not be necessary.", + "hintLatestFirmwareFactoryResetESP32CC3235": "If you've (accidentally) performed a factory reset on a flashed Toniebox, you'll need to flash the original firmware backup before flashing it again for use with TeddyCloud.", "hintLatestFirmwareTitle": "Important", "lastOnline": "last online", "lastPlayedTonie": "Last played Tonie: ", @@ -1278,8 +1615,8 @@ "title": "Your Tonieboxes", "uploadTonieboxCertificatesModal": { "AttentionGeneralPath": "(ATTENTION: Default Path!)", - "Label": "Certificates", "boxSpecific": " (overlayed for toniebox)", + "Label": "Certificates", "uploadPath": "Upload path (certDir):", "uploadTonieboxCertificates": "Upload certificates for Toniebox \"{{name}}\"" } @@ -1328,6 +1665,7 @@ "hide": "Hide", "title": "Hide Tonie/Tag" }, + "connectionToBoxineNotAvailable": "Unable to connect to Boxine/Toniecloud. Please enable access to allow downloading.", "content": { "navigationTitle": "Content", "showToniesOfBoxes": "Content of the following Tonieboxes", @@ -1358,27 +1696,117 @@ "targetDirectory": "Choose target directory", "title": "Audio Encoder", "tooManyFilesError": "Too many files!", + "unsupportedFileType": "Unsupported file type!", + "unsupportedFileTypeDetails": "The file \"{{file}}\" has an unsupported file type!", "upload": "Upload", "uploadFailed": "Upload failed", "uploadFailedDetails": "The upload encountered an error: ", "uploadFiles": "Select File(s)", "uploadHint": "Drag the audio files here!", + "uploading": "Uploading...", + "uploadingDetails": "Uploading file \"{{file}}\"...", "uploadSuccessful": "File encoding successful!", "uploadSuccessfulDetails": "Files were encoded as \"{{file}}\" and added to the library successful!", - "uploadText": "Click or drag up to {{maxFiles}} audio files you want to convert to a taf file to upload them in this area", - "uploading": "Uploading...", - "uploadingDetails": "Uploading file \"{{file}}\"..." + "uploadText": "Click or drag up to {{maxFiles}} audio files you want to convert to a taf file to upload them in this area" }, "errorFetchingSystemSounds": "Error fetching system sounds", "errorFetchingTonies": "Error fetching Tonies", + "help": { + "actionItems": { + "cloudIcon": { + "text": "A grey icon indicates cloud sync is enabled; red means it's disabled. When enabled, the Tonie/Tag can sync with Boxine/Toniecloud. Click the icon to toggle.", + "title": "Cloud Status" + }, + "downloadIcon": { + "text": "If cloud access is enabled and authorized, clicking this icon will download content from the Boxine/Toniecloud.", + "title": "Download Content" + }, + "editIcon": { + "createNewModel": { + "description": "Opens a modal to enter the required details for a new model. This feature is still under development and may not be functional yet.", + "text": "Create a new custom model for your Tonie/Tag.", + "title": "Create New Model (WIP)" + }, + "model": { + "description": "Search for a model and assign it to the Tonie/Tag. The image will be shown in the overview.", + "text": "Represents the visual model assigned to the Tonie/Tag.", + "title": "Model" + }, + "radioStreamSearch": { + "description": "Use the search field to find and assign a stream from the radio-browser database.", + "text": "Search online radio streams (available if the radio-browser.info API is accessible).", + "title": "Radio Stream Search" + }, + "source": { + "description": "You can assign content from your library (e.g., TAF or TAP files) or enter a stream URL.", + "text": "Displays the currently assigned content source.", + "title": "Source" + }, + "text": "Opens the edit modal with the following configuration options:", + "title": "Edit Tonie/Tag" + }, + "infoIcon": { + "download": { + "description": "If available, the linked TAF file can be downloaded as a single .ogg file.", + "text": "Enables downloading the TAF file as an .ogg audio file.", + "title": "Download TAF as .ogg" + }, + "exists": { + "description": "The 'exists' status is set to 'yes' if the assigned source file is present.", + "text": "Shows whether the assigned source of the Tonie/Tag exists on the system.", + "title": "Exists" + }, + "hide": { + "description": "Use this option to hide a Tonie/Tag. To show it again, place the Tonie/Tag on one of your Tonieboxes.", + "text": "Removes the Tonie/Tag from the overview display.", + "title": "Hide Tonie/Tag" + }, + "text": "Opens a modal displaying key details of the Tonie/Tag, including title, image, UID, tracklist and various status indicators:", + "title": "Tonie/Tag Information", + "valid": { + "description": "A Tonie/Tag is considered valid if its assigned source is a valid TAF file.", + "text": "Shows whether the assigned source of the Tonie/Tag is valid.", + "title": "Valid" + } + }, + "liveIcon": { + "text": "A red icon indicates 'live' mode, meaning content will always start from the beginning and re-download. This is automatically enabled for radio streams. Click to toggle.", + "title": "Live Status" + }, + "playIcon": { + "text": "Plays the content assigned to the Tonie/Tag. If the icon appears light gray, no playable content is assigned.", + "title": "Play Content" + } + }, + "blueTopBorder": { + "text": "Indicates that this Tonie/Tag was the last one played on at least one of your Tonieboxes.", + "title": "Blue Top Border" + }, + "closeButton": "Close", + "modelImage": { + "bigImage": { + "description": "This image reflects the selected model assigned to the Tonie/Tag. To change it, assign a different model.", + "text": "Represents the visual appearance of the Tonie/Tag.", + "title": "Big Image" + }, + "smallImage": { + "description": "Displayed when the assigned source is different from the selected model.", + "text": "Visual indicator of the actual source if it differs from the assigned model.", + "title": "Small Image" + }, + "text": "Displays the visual representation of the Tonie/Tag if it's recognized. Unknown Tonies/Tags will show a question mark. If the 'Frontend' → 'Split content / model' setting is enabled, two images may appear:", + "title": "Tonie/Tag Model Image" + }, + "title": "Help" + }, "infoModal": { + "download": "Download TAF as *.ogg", "exists": "Exists:", "model": "Model:", "no": "No", "tracklist": "Tracklist:", "valid": "Valid:", - "yes": "Yes", - "download": "Download TAF as *.ogg" + "yes": "Yes" }, "informationModal": { "hideTag": "Hide Tonie/Tag", @@ -1434,6 +1862,7 @@ "navigationTitle": "Tonies", "noData": "No Tonies/Custom tags found.", "noDataText": "Tonies/Custom tags will only appear after a Toniebox has establishing a successful connection and already has Tonies/Custom tags on its SD card. Ensure your Toniebox is connected properly and has some Tonies/Custom tags on it or place your first Tonie/Custom tag on your Toniebox and refresh this site.", + "noPlayableContentHint": "There is no content available to play. Either it's not assigned or data is missing from the Boxine/Tonies cloud. Place the figurine on the box to fix this.", "selectFileModal": { "cancel": "Cancel", "ok": "OK", @@ -1469,6 +1898,31 @@ "titleCreate": "Create new TAP", "titleEdit": "Edit TAP" }, + "teddystudio": { + "clear": "Clear sheet", + "clearSettings": "Clear", + "diameter": "inner diameter", + "empty": "Empty - Please select Tonies or Tags first!", + "height": "height", + "intro": "Search all Tonies and tags - both official and your custom ones - to create your printable Traveltonies (coin) sheet.", + "labelShape": "Label shape", + "labelSpacing": "spacing", + "labelSpacingX": "X spacing", + "labelSpacingY": "Y spacing", + "navigationTitle": "TeddyStudio", + "placeholder": "Enter a search term!", + "printPage": "Print sheet", + "printSheet": "Your print sheet", + "round": "Round", + "saveSettings": "Save", + "settings": "Settings", + "showLanguageFlag": "Print language flag", + "showModelNo": "Print model-no.", + "square": "Square", + "textFontSize": "Text size", + "title": "TeddyStudio", + "width": "width" + }, "title": "Tonies", "tonies": { "filterBar": { diff --git a/contrib/data/www/web/translations/es.json b/contrib/data/www/web/translations/es.json index c82e969d..ff1faf6e 100644 --- a/contrib/data/www/web/translations/es.json +++ b/contrib/data/www/web/translations/es.json @@ -78,6 +78,78 @@ "navigationTitle": "Foro" }, "navigationTitle": "Comunidad", + "plugins": { + "addButton": "Agregar", + "addButtonTooltip": "Haz clic aquí para agregar nuevos plugins o actualizar los existentes", + "available": "Plugins disponibles", + "by": "por", + "cancel": "Cancelar", + "delete": "Eliminar", + "deletion": { + "confirmDeleteDialog": "¿Realmente deseas eliminar el plugin \"{{pluginId}}\"?", + "confirmDeleteModal": "Confirmar eliminación", + "delete": "Eliminar", + "errorDeletingPlugin": "Error al eliminar el plugin", + "errorDeletingPluginDetails": "Error al eliminar el plugin \"{{filename}}\": ", + "successDeletingPlugin": "Plugin eliminado con éxito", + "successDeletingPluginDetails": "El plugin \"{{filename}}\" fue eliminado con éxito" + }, + "empty": "No hay plugins disponibles", + "error": { + "notification": { + "message": "Falta el json de descripción - elemento \"pluginName\" en el plugin \"{{pluginId}}\", se omite.", + "missingPluginIndexHtml": "¡Falta index.html en el plugin \"{{pluginId}}\"!", + "title": "Error al cargar el plugin" + }, + "pluginNotFound": "index.html del plugin no encontrado - ¡por favor revisa el plugin!", + "title": "Error al cargar el plugin" + }, + "errorLoadingPlugin": "Error al cargar los metadatos del plugin {{pluginname}}", + "filter": { + "unknown": "Sección no definida" + }, + "help": { + "descriptionExampleTitle": "plugin.json para el ejemplo anterior:", + "descriptionIntro": "Cada plugin debe incluir un archivo plugin.json en su raíz. Este archivo describe el plugin y permite mostrarlo correctamente en la interfaz.", + "descriptionTitle": "plugin.json — Metadatos requeridos", + "exampleFolderTitle": "Carpeta de ejemplo:", + "exampleTitle": "Ejemplo:", + "fields": { + "author": "Autor del plugin", + "description": "Resumen breve del plugin", + "pluginHomepage": "Página principal del plugin", + "pluginName": "El título que aparece en los menús (obligatorio)", + "teddyCloudSection": "Sección deseada donde se agregará el plugin a la navegación (valores válidos: home, tonies, tonieboxes, settings, community)", + "version": "Versión del plugin" + }, + "fieldsTitle": "Campos:", + "folderStructureTitle": "Estructura de carpetas del plugin:", + "intro": "Para que tu plugin sea visible y listado en la navegación comunitaria, debe seguir esta estructura e incluir un archivo index.html y plugin.json válidos. Un archivo opcional preview.png se mostrará como imagen en la tarjeta del plugin.", + "popoverTitle": "Ayuda del Plugin", + "title": "Estructura de carpetas y requisitos del plugin" + }, + "helpButton": "Ayuda", + "helpTextCreatePlugin": "Texto sobre cómo crear un plugin", + "installedPlugins": "Plugins instalados", + "intro": "Aquí puedes ver tus plugins añadidos a TeddyCloud y también agregar nuevos plugins creados por ti o por la comunidad TeddyCloud.", + "navigationTitle": "Plugins TC", + "open": "Abrir plugin", + "plugin": "Plugin", + "title": "Plugins de TeddyCloud", + "upload": { + "add": "Agregar plugin", + "errorUploadingPlugin": "Error al subir el nuevo plugin", + "errorUploadingPluginDetails": "Error al subir el nuevo plugin \"{{filename}}\": ", + "selectPluginZip": "Seleccionar archivo zip del plugin", + "successUploadingPlugin": "Plugin subido con éxito", + "successUploadingPluginDetails": "El plugin \"{{filename}}\" se subió correctamente", + "uploadModal": "Subir un archivo zip del plugin", + "uploadModalHint": "Sube un plugin nuevo o existente. Si el plugin comprimido ya existe en TeddyCloud, será sobrescrito.", + "warningUploadingPlugin": "Por favor selecciona un archivo", + "warningUploadingPluginDetails": "Selecciona un archivo zip del plugin antes de hacer clic en \"Agregar plugin\"" + }, + "visitHomepage": "Visitar la página del plugin" + }, "supportRequestGuide": { "closing": "Proporcionar este nivel de detalle ayudará a la comunidad a resolver tu problema de manera más efectiva. ¡Gracias!", "example": { @@ -200,10 +272,10 @@ "cancel": "Cancelar", "create": "Crear", "createDirectory": "Crear nuevo directorio", - "directoryCreateFailed": "¡Error al crear el directorio!", - "directoryCreateFailedDetails": "Error al crear el directorio \"{{directory}}\": ", "directoryCreated": "¡Nuevo directorio creado!", "directoryCreatedDetails": "Nuevo directorio \"{{directory}}\" ha sido creado!", + "directoryCreateFailed": "¡Error al crear el directorio!", + "directoryCreateFailedDetails": "Error al crear el directorio \"{{directory}}\": ", "inDirectory": "en el directorio", "modalTitle": "Crear nuevo directorio", "parentPath": "Directorio principal:", @@ -387,17 +459,17 @@ "modalTitle": "Subir archivo(s)", "showUploadFilesDragNDrop": "Carga de archivos", "upload": "Subir", + "uploadedFile": "¡Archivo subido!", + "uploadedFileFailed": "¡Error al subir el archivo!", "uploadFailed": "Algunos archivos no pudieron subirse. Por favor, inténtalo de nuevo.", "uploadFailedForFile": "Error al subir \"{{file}}\".", "uploadHint": "Arrastra archivos aquí para subir", + "uploading": "Subiendo...", "uploadInProgress": "Subiendo \"{{file}}\"...", "uploadSuccessful": "Archivos subidos con éxito.", "uploadSuccessfulDetails": "Todos los archivos se han subido con éxito.", "uploadSuccessfulForFile": "Archivo \"{{file}}\" subido con éxito.", - "uploadText": "Haz clic o arrastra archivos a esta área para subir", - "uploadedFile": "¡Archivo subido!", - "uploadedFileFailed": "¡Error al subir el archivo!", - "uploading": "Subiendo..." + "uploadText": "Haz clic o arrastra archivos a esta área para subir" } }, "footer": { @@ -512,10 +584,12 @@ "title": "Estadísticas" }, "title": "¡Bienvenido a TeddyCloud!", + "toAllYourTonieboxes": "A todas las Tonieboxes", "toAllYourTonies": "A todos los Tonies", "tonieMeeting": { "navigationTitle": "Reunión de Tonies" }, + "yourTonieboxes": "Tus Tonieboxes", "yourTonies": "Tus Tonies" }, "inputValidator": { @@ -529,18 +603,261 @@ "spanish": "ES" }, "languageUtil": { - "de-de": "Alemán", - "en-gb": "Inglés (GB)", - "en-us": "Inglés (US)", - "es-es": "Español", - "fr-fr": "Francés", - "it-it": "Italiano", - "nl-be": "Holandés (Bélgica)", - "nl-nl": "Holandés (Países Bajos)", - "pl-pl": "Polaco", - "pt-pt": "Portugués", - "tr-tr": "Turco", - "undefined": "Otro/no definido" + "af-af": "Afrikáans (Sudáfrica)", + "am-et": "Amárico (Etiopía)", + "ar-ae": "Árabe (Emiratos Árabes Unidos)", + "ar-bh": "Árabe (Bahréin)", + "ar-dz": "Árabe (Argelia)", + "ar-eg": "Árabe (Egipto)", + "ar-eh": "Árabe (Sáhara Occidental)", + "ar-iq": "Árabe (Irak)", + "ar-jo": "Árabe (Jordania)", + "ar-km": "Árabe (Comoras)", + "ar-kw": "Árabe (Kuwait)", + "ar-lb": "Árabe (Líbano)", + "ar-ly": "Árabe (Libia)", + "ar-ma": "Árabe (Marruecos)", + "ar-mr": "Árabe (Mauritania)", + "ar-om": "Árabe (Omán)", + "ar-ps": "Árabe (Palestina)", + "ar-qa": "Árabe (Qatar)", + "ar-sa": "Árabe (Arabia Saudita)", + "ar-sd": "Árabe (Sudán)", + "ar-sy": "Árabe (Siria)", + "ar-tn": "Árabe (Túnez)", + "ar-ye": "Árabe (Yemen)", + "az-az": "Azerbaiyano (Azerbaiyán)", + "be-by": "Bielorruso (Bielorrusia)", + "bg-bg": "Búlgaro (Bulgaria)", + "bm-ml": "Bambara (Malí)", + "bn-bd": "Bengalí (Bangladés)", + "bs-ba": "Bosnio (Bosnia y Herzegovina)", + "ca-ad": "Catalán (Andorra)", + "cs-cz": "Checo (República Checa)", + "da-dk": "Danés (Dinamarca)", + "de-at": "Alemán (Austria)", + "de-ch": "Alemán (Suiza)", + "de-de": "Alemán (Alemania)", + "de-li": "Alemán (Liechtenstein)", + "dv-mv": "Dhivehi (Maldivas)", + "dz-bt": "Dzongkha (Bután)", + "el-cy": "Griego (Chipre)", + "el-gr": "Griego (Grecia)", + "en-ag": "Inglés (Antigua y Barbuda)", + "en-ai": "Inglés (Anguila)", + "en-as": "Inglés (Samoa Americana)", + "en-au": "Inglés (Australia)", + "en-bb": "Inglés (Barbados)", + "en-bi": "Inglés (Burundi)", + "en-bm": "Inglés (Bermudas)", + "en-bs": "Inglés (Bahamas)", + "en-bw": "Inglés (Botsuana)", + "en-bz": "Inglés (Belice)", + "en-ca": "Inglés (Canadá)", + "en-cc": "Inglés (Islas Cocos)", + "en-ck": "Inglés (Islas Cook)", + "en-cx": "Inglés (Isla Christmas)", + "en-dm": "Inglés (Dominica)", + "en-fj": "Inglés (Fiyi)", + "en-fk": "Inglés (Islas Malvinas)", + "en-fm": "Inglés (Micronesia)", + "en-gb": "Inglés (Reino Unido)", + "en-gd": "Inglés (Granada)", + "en-gg": "Inglés (Guernesey)", + "en-gh": "Inglés (Ghana)", + "en-gi": "Inglés (Gibraltar)", + "en-gm": "Inglés (Gambia)", + "en-gs": "Inglés (Georgia del Sur y las Islas Sandwich del Sur)", + "en-gu": "Inglés (Guam)", + "en-gy": "Inglés (Guyana)", + "en-hm": "Inglés (Islas Heard y McDonald)", + "en-ie": "Inglés (Irlanda)", + "en-im": "Inglés (Isla de Man)", + "en-io": "Inglés (Territorio Británico del Océano Índico)", + "en-je": "Inglés (Jersey)", + "en-jm": "Inglés (Jamaica)", + "en-ki": "Inglés (Kiribati)", + "en-kn": "Inglés (San Cristóbal y Nieves)", + "en-ky": "Inglés (Islas Caimán)", + "en-lc": "Inglés (Santa Lucía)", + "en-lr": "Inglés (Liberia)", + "en-ls": "Inglés (Lesoto)", + "en-mh": "Inglés (Islas Marshall)", + "en-mp": "Inglés (Islas Marianas del Norte)", + "en-ms": "Inglés (Montserrat)", + "en-mu": "Inglés (Mauricio)", + "en-mw": "Inglés (Malawi)", + "en-na": "Inglés (Namibia)", + "en-nf": "Inglés (Isla Norfolk)", + "en-ng": "Inglés (Nigeria)", + "en-nr": "Inglés (Nauru)", + "en-nu": "Inglés (Niue)", + "en-nz": "Inglés (Nueva Zelanda)", + "en-pg": "Inglés (Papúa Nueva Guinea)", + "en-pn": "Inglés (Islas Pitcairn)", + "en-pw": "Inglés (Palaos)", + "en-sb": "Inglés (Islas Salomón)", + "en-sc": "Inglés (Seychelles)", + "en-sg": "Inglés (Singapur)", + "en-sh": "Inglés (Santa Elena)", + "en-sl": "Inglés (Sierra Leona)", + "en-ss": "Inglés (Sudán del Sur)", + "en-sz": "Inglés (Esuatini)", + "en-ta": "Inglés (Tristán de Acuña)", + "en-tc": "Inglés (Islas Turcas y Caicos)", + "en-tk": "Inglés (Tokelau)", + "en-to": "Inglés (Tonga)", + "en-tt": "Inglés (Trinidad y Tobago)", + "en-tv": "Inglés (Tuvalu)", + "en-ug": "Inglés (Uganda)", + "en-um": "Inglés (Islas Menores Alejadas de los Estados Unidos)", + "en-us": "Inglés (Estados Unidos)", + "en-vc": "Inglés (San Vicente y las Granadinas)", + "en-vg": "Inglés (Islas Vírgenes Británicas)", + "en-vi": "Inglés (Islas Vírgenes de los Estados Unidos)", + "en-vu": "Inglés (Vanuatu)", + "en-ws": "Inglés (Samoa)", + "en-za": "Inglés (Sudáfrica)", + "en-zm": "Inglés (Zambia)", + "en-zw": "Inglés (Zimbabue)", + "es-ar": "Español (Argentina)", + "es-bo": "Español (Bolivia)", + "es-cl": "Español (Chile)", + "es-co": "Español (Colombia)", + "es-cr": "Español (Costa Rica)", + "es-cu": "Español (Cuba)", + "es-do": "Español (República Dominicana)", + "es-ec": "Español (Ecuador)", + "es-es": "Español (España)", + "es-gq": "Español (Guinea Ecuatorial)", + "es-gt": "Español (Guatemala)", + "es-hn": "Español (Honduras)", + "es-ic": "Español (Islas Canarias)", + "es-mx": "Español (México)", + "es-ni": "Español (Nicaragua)", + "es-pa": "Español (Panamá)", + "es-pe": "Español (Perú)", + "es-pr": "Español (Puerto Rico)", + "es-py": "Español (Paraguay)", + "es-sv": "Español (El Salvador)", + "es-uy": "Español (Uruguay)", + "es-ve": "Español (Venezuela)", + "et-ee": "Estonio (Estonia)", + "fa-ir": "Persa (Irán)", + "fi-fi": "Finlandés (Finlandia)", + "fo-fo": "Feroés (Islas Feroe)", + "fr-bf": "Francés (Burkina Faso)", + "fr-bj": "Francés (Benín)", + "fr-bl": "Francés (San Bartolomé)", + "fr-cd": "Francés (República Democrática del Congo)", + "fr-cf": "Francés (República Centroafricana)", + "fr-cg": "Francés (República del Congo)", + "fr-ci": "Francés (Costa de Marfil)", + "fr-cm": "Francés (Camerún)", + "fr-dj": "Francés (Yibuti)", + "fr-fr": "Francés (Francia)", + "fr-ga": "Francés (Gabón)", + "fr-gf": "Francés (Guayana Francesa)", + "fr-gn": "Francés (Guinea)", + "fr-gp": "Francés (Guadalupe)", + "fr-ht": "Francés (Haití)", + "fr-lu": "Francés (Luxemburgo)", + "fr-mc": "Francés (Mónaco)", + "fr-mf": "Francés (San Martín)", + "fr-mq": "Francés (Martinica)", + "fr-nc": "Francés (Nueva Caledonia)", + "fr-ne": "Francés (Níger)", + "fr-pf": "Francés (Polinesia Francesa)", + "fr-pm": "Francés (San Pedro y Miquelón)", + "fr-re": "Francés (Reunión)", + "fr-sn": "Francés (Senegal)", + "fr-td": "Francés (Chad)", + "fr-tf": "Francés (Territorios Australes y Antárticos Franceses)", + "fr-tg": "Francés (Togo)", + "fr-wf": "Francés (Wallis y Futuna)", + "fr-yt": "Francés (Mayotte)", + "he-il": "Hebreo (Israel)", + "hi-in": "Hindi (India)", + "hr-hr": "Croata (Croacia)", + "hu-hu": "Húngaro (Hungría)", + "hy-am": "Armenio (Armenia)", + "id-id": "Indonesio (Indonesia)", + "is-is": "Islandés (Islandia)", + "it-it": "Italiano (Italia)", + "it-sm": "Italiano (San Marino)", + "it-va": "Italiano (Vaticano)", + "ja-jp": "Japonés (Japón)", + "ka-ge": "Georgiano (Georgia)", + "kk-kz": "Kazajo (Kazajistán)", + "kl-gl": "Inuktitut (Groenlandia)", + "km-kh": "Jemer (Camboya)", + "ko-kp": "Coreano (Corea del Norte)", + "ko-kr": "Coreano (Corea del Sur)", + "ky-kg": "Kirguís (Kirguistán)", + "lo-la": "Lao (Laos)", + "lt-lt": "Lituano (Lituania)", + "lv-lv": "Letón (Letonia)", + "mg-mg": "Malgache (Madagascar)", + "mk-mk": "Macedonio (Macedonia del Norte)", + "mn-mn": "Mongol (Mongolia)", + "ms-bn": "Malayo (Brunéi)", + "ms-my": "Malayo (Malasia)", + "mt-mt": "Maltés (Malta)", + "my-mm": "Birmano (Myanmar)", + "ne-np": "Nepalí (Nepal)", + "nl-aw": "Neerlandés (Aruba)", + "nl-be": "Neerlandés (Bélgica)", + "nl-bq": "Neerlandés (Caribe Neerlandés)", + "nl-cw": "Neerlandés (Curaçao)", + "nl-nl": "Neerlandés (Países Bajos)", + "nl-sr": "Neerlandés (Surinam)", + "nl-sx": "Neerlandés (Sint Maarten)", + "no-bv": "Noruego (Isla Bouvet)", + "no-no": "Noruego (Noruega)", + "no-sj": "Noruego (Svalbard y Jan Mayen)", + "pl-pl": "Polaco (Polonia)", + "pt-ao": "Portugués (Angola)", + "pt-br": "Portugués (Brasil)", + "pt-cv": "Portugués (Cabo Verde)", + "pt-gw": "Portugués (Guinea-Bisáu)", + "pt-mz": "Portugués (Mozambique)", + "pt-pt": "Portugués (Portugal)", + "pt-st": "Portugués (Santo Tomé y Príncipe)", + "ro-md": "Rumano (Moldavia)", + "ro-ro": "Rumano (Rumanía)", + "ru-ru": "Ruso (Rusia)", + "rw-kg": "Kinyarwanda (Ruanda)", + "si-lk": "Cingalés (Sri Lanka)", + "sk-sk": "Eslovaco (Eslovaquia)", + "sl-si": "Esloveno (Eslovenia)", + "so-so": "Somalí (Somalia)", + "sq-al": "Albanés (Albania)", + "sq-xk": "Albanés (Kosovo)", + "sr-me": "Serbio (Montenegro)", + "sr-rs": "Serbio (Serbia)", + "sv-ax": "Sueco (Islas Åland)", + "sv-se": "Sueco (Suecia)", + "sw-ke": "Suajili (Kenia)", + "sw-tz": "Suajili (Tanzania)", + "tet-tl": "Tetum (Timor-Leste)", + "tg-tj": "Tayiko (Tayikistán)", + "th-th": "Tailandés (Tailandia)", + "ti-er": "Tigrinya (Eritrea)", + "tk-tm": "Turcomano (Turkmenistán)", + "tl-ph": "Tagalo (Filipinas)", + "tr-tr": "Turco (Turquía)", + "uk-ua": "Ucraniano (Ucrania)", + "undefined": "Otro/no definido", + "unknownLanguageCode": "Código de idioma desconocido: ", + "ur-pk": "Urdu (Pakistán)", + "uz-uz": "Uzbeco (Uzbekistán)", + "vi-vn": "Vietnamita (Vietnam)", + "xx-aq": "Diversos idiomas (Antártida)", + "xx-eu": "Diversos idiomas (Unión Europea)", + "zh-cn": "Chino (China)", + "zh-hk": "Chino (Hong Kong)", + "zh-mo": "Chino (Macau)", + "zh-tw": "Chino (Taiwán)" }, "radioStreamSearch": { "failedToFetchSearchResults": "No se pudieron obtener los resultados de búsqueda de emisoras de radio", @@ -600,8 +917,8 @@ "colStatus": "Estado", "colTitle": "Título", "colType": "Tipo", - "confirmSelectedNotifications": "Confirmar notificaciones seleccionadas", "confirmed": "confirmado", + "confirmSelectedNotifications": "Confirmar notificaciones seleccionadas", "endDate": "Fecha de fin", "error": "Error", "filterBy": "Filtrar por", @@ -618,8 +935,8 @@ "warning": "Advertencia" }, "overlayDisabled": "Superposición deshabilitada", - "overlayEnabled": "Superposición habilitada", "overlayed": "superpuesto", + "overlayEnabled": "Superposición habilitada", "resetToTCDetails": "La configuración \"{{setting}}\"{{overlay}} se restableció correctamente al valor de TeddyCloud.", "restartComplete": "¡Reinicio del servidor TeddyCloud exitoso!", "restartFailed": "Error al reiniciar el servidor TeddyCloud", @@ -633,8 +950,8 @@ "title": "Registro RTNL" }, "save": "Guardar", - "saveDetails": "La configuración \"{{setting}}\"{{overlay}} se ha guardado con éxito.", "saved": "¡Configuración guardada!", + "saveDetails": "La configuración \"{{setting}}\"{{overlay}} se ha guardado con éxito.", "title": "Configuración", "tonieboxes": "tonieboxes", "toniesJsonUpdate": "Recargar Tonies.json", @@ -695,7 +1012,7 @@ "dnsBeware": "¡Cuidado!", "dnsBewareText": "¡Esto desconectará la conexión de todas las tonieboxes dentro de tu red que no estén parcheadas con tu CA de reemplazo!", "dnsHint": "Adaptaciones DNS para TeddyCloud", - "dnsText1": "Establece las entradas DNS para prod.de.tbs.toys y rtnl.bxcl.de en la dirección IP del servidor teddyCloud.", + "dnsText1": "Establece las entradas DNS para prod.de.tbs.toys y rtnl.bxcl.de en la dirección IP del servidor TeddyCloud.", "dumpCertificates": "Extraer certificados para TeddyCloud", "dumpCertificatesIntro1": "Necesitarás los archivos flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Certificado del Cliente) y flash:/cert/private.der (Clave privada del Cliente).", "dumpCertificatesIntro2": "Guarda una copia de seguridad de los certificados, especialmente el client.der y private.der. ¡Sin ellos, no podrás conectarte a la nube nunca más!", @@ -723,14 +1040,6 @@ "preparations": "Preparativos" }, "boxSetup": { - "UARTHint": { - "description": "Por favor, verifica si tu UART admite tanto 3,3V como 5V. En este caso, deberías encontrar un puente en la placa para seleccionar el modo correcto. Aquí puedes ver ejemplos de esos puentes (aunque hay otros):", - "imageAlt1": "Ejemplo de puente 1", - "imageAlt2": "Ejemplo de puente 2", - "imageAlt3": "Ejemplo de puente 3", - "title": "Importante", - "warning": "¡Asegúrate absolutamente de que está configurado en 3,3V (a menudo etiquetado como 3v3)! Si usas la configuración de 5V, existe un alto riesgo de que dañes tu Toniebox." - }, "boxSetupIntro1": "Esta página proporciona una visión general completa de los pasos necesarios para añadir tu Toniebox a TeddyCloud. Si encuentras algún problema, no dudes en visitar el", "boxSetupIntro2": "o unirte al", "boxSetupIntro3": "para recibir soporte de la comunidad.", @@ -830,6 +1139,20 @@ "setupTeddyCloud": "Configurar TeddyCloud", "setupTeddyCloudText": "¡Felicidades! Al llegar a esta página, ¡has configurado TeddyCloud con éxito!", "title": "Añade tu Toniebox a TeddyCloud", + "UARTHint": { + "description": "Antes de continuar, por favor revisa lo siguiente:", + "imageAlt1": "Ejemplo de jumper 1", + "imageAlt2": "Ejemplo de jumper 2", + "imageAlt3": "Ejemplo de jumper 3", + "noUSBCVersion": "Se han reportado recientemente varios problemas con la versión USB-C del UART, incluyendo fallos de conexión. Para evitar estos problemas, te recomendamos usar la confiable versión con micro-USB.", + "title": "Aviso importante: Conexión UART y configuración de voltaje", + "uartDriver": "Instalación del controlador UART", + "updateDriver": "Asegúrate de tener instalado el controlador UART más reciente en tu dispositivo. Revisa el Administrador de dispositivos. Si no tienes uno instalado, descarga e instala el adecuado. El proceso de flasheo puede fallar si usas un controlador genérico o desactualizado.", + "voltageCompatibility": "Compatibilidad de voltaje", + "voltageCompatibilityText1": "Asegúrate de usar un adaptador UART que sea compatible con 3.3V.", + "voltageCompatibilityText2": "Si tu adaptador UART es compatible con 3.3V y 5V, debes configurarlo en 3.3V. En la mayoría de los casos, hay un jumper en la placa para seleccionar el voltaje correcto. Puedes ver ejemplos de estos jumpers aquí (ten en cuenta que tu placa puede verse diferente):", + "warning": "Importante: Asegúrate de que esté configurado en 3.3V (a menudo marcado como 3v3). Si usas la opción de 5V, puedes dañar permanentemente tu Toniebox." + }, "uploadCertificateButton": "Subir certificados", "uploadCertificateIntro": "Debes subir los certificados extraídos a TeddyCloud si esta es tu primera Toniebox o si quieres designar esta Toniebox como la que descarga contenido desde la nube original de Tonies. Además, necesitas añadir los certificados a la Toniebox dentro de TeddyCloud. Para hacerlo, ve a la sección 'Tonieboxes', haz clic en el icono de certificado y sube los certificados nuevamente.", "uploadCertificates": "Subir certificados (ca.der, client.der y private.der)", @@ -842,6 +1165,14 @@ "boxWithoutAPIAccessText": "Las siguientes Tonieboxes no tienen acceso habilitado a la API:", "cancel": "Cancelar", "cc3200BoxFlashing": { + "altUrlFritzBoxPatch": { + "CollapseTitle": "Parche altUrl.tc.fritz.box (altUrl.tc.fritz.box.json, Configuración predeterminada en ngCfg.json para la ranura de firmware ofw2)", + "text": "Si tienes un Fritz!Box, puedes usar el parche altUrl.tc.fritz.box. Solo tienes que poner el nombre de tu servidor TeddyCloud como \"tc\" en tu Fritz!Box (Red doméstica -> Red -> Conexiones de red -> Editar)." + }, + "altUrlPatch": { + "CollapseTitle": "Parche altURL (altUrl.305.json)", + "text": "El parche altUrl.305 reemplaza las URLs de la nube por otras personalizadas. Para usarlo, tienes que configurar el DNS para que prod.revvox y rtnl.revvox apunten a la dirección IP de tu servidor TeddyCloud." + }, "applyingPatches": "Aplicando parches", "applyingPatchesSection": { "examplengCFGJsonCollapse": { @@ -872,8 +1203,8 @@ "ofwFixValueDesc": "Bytes mágicos que se colocarán en la imagen OFW durante el arranque (se pueden extraer de los datos del BL OFW[-8:-4])", "ofwSimBLDesc": "Leer imagen para iniciar desde flash:/sys/mcubootinfo.bin y cargar la imagen desde flash:/sys/mcuimgN.bin en lugar de leer desde sd (como el bootloader ofw)", "patchDirectory": "directorio de parches", - "patchWiki": "wiki de parches", "patchesDesc": "Lista de parches a cargar, ver:", + "patchWiki": "wiki de parches", "section1_link": "sd:/revvox/boot/ngCfg.json", "section1_part1": "La configuración para el bootloader se guarda en", "section1_part2": ". Todas las secciones o claves que comienzan con un guion bajo \"_\" son comentarios y serán ignoradas.", @@ -908,7 +1239,7 @@ "connectToTonieboxText": "Asegúrate de que el UART esté configurado a 3.3V antes de conectar el programador UART a tu computadora mediante USB. El LED verde en la placa principal de la Toniebox debe permanecer encendido de forma continua (sin parpadear). Si no lo hace, es posible que las conexiones estén flojas o incorrectas. Desconecta el programador, verifica todas las conexiones y vuelve a intentarlo. Si estás trabajando con cables finos, considera usar pegamento caliente para asegurarlos y evitar que se muevan. Además, asegúrate de que la Toniebox esté alimentada mediante su cargador.", "createPatch": "Crear altUrl.custom.305.patch", "customUrlPatch": "Crear un parche de URL personalizado (altUrl.custom.305.json)", - "customUrlPatchHint": "Por favor, crea este parche solo si los parches existentes altUrl.305.json y altUrl.tc.fritz.box.json no funcionan con tu configuración actual de TeddyCloud. Si satisfacen tus necesidades, puedes continuar haciendo clic en 'Siguiente'.", + "customUrlPatchHint": "Por favor, crea este parche solo si los parches predefinidos altUrl.tc.fritz.box.json y altUrl.305.json no funcionan con tu configuración actual de TeddyCloud. Si satisfacen tus necesidades, puedes continuar haciendo clic en 'Siguiente'.", "dumpCertificates": "Extraer certificados para TeddyCloud", "dumpCertificatesLink": "Encuentra las instrucciones para extraer certificados aquí", "flashCAreplacement": "Flashear reemplazo CA para TeddyCloud", @@ -984,6 +1315,8 @@ "next": "Siguiente", "patches": "Parches", "patchesMoreInformationLink": "Más información sobre parches personalizados", + "predefinedUrlPatches": "Parches de URL predefinidos", + "predefinedUrlPatchesIntro": "Para cajas CC3200, se recomienda usar un parche altUrl. HackieboxNG ya incluye dos parches altUrl predefinidos:", "previous": "Atrás", "proceedWithCustomBootloader": "Proceder con el Custom Bootloader", "proceedWithoutCustomBootloader": "Proceder sin el Custom Bootloader", @@ -992,6 +1325,7 @@ "usingThinWiresAsTagConnector": "Cables delgados utilizados como conector" }, "cc3235BoxFlashing": { + "certificatesDumpedCAreplacementFlashed": "Certificados extraídos y CA de reemplazo flasheado", "CH341AProgrammer": { "CH341AProgrammer": "Configurar conexión del programador CH341A", "CH341Sop8remove": "Recorta aquí hasta que encaje correctamente.", @@ -1007,14 +1341,13 @@ "prep2": "Recorta el plástico en la pinza del CH341A si es necesario para que pueda ajustarse a la memoria flash IS25LP032D.", "prep3": "Asegúrate de que tanto el PCB como la batería estén desconectados.", "prep4": "Conecta el CH341A al ordenador y confirma que es reconocido. Puedes hacerlo de la siguiente manera:", + "preparation": "Solo necesario si planeas realizar el flasheo con un Programador CH341A", "prepConclusions1": "Si la salida es diferente, es posible que el pequeño puente entre los pines 1 y 2 del CH341A no esté configurado. Una vez confirmado, desconecta el CH341A del puerto USB. Esta verificación asegura que todo esté conectado correctamente.", "prepConclusions2": "Asegúrate de que el módulo SOP8 en el kit CH341A y la pinza estén conectados como se muestra en la imagen.", "prepConclusions3": "Solo cuando se completen las preparaciones podemos proceder con el proceso de extracción.", - "preparation": "Solo necesario si planeas realizar el flasheo con un Programador CH341A", "readingFlash": "Leer memoria flash con el Programador CH341A", "writingFlash": "Escribir en la memoria flash con el programador CH341A" }, - "certificatesDumpedCAreplacementFlashed": "Certificados extraídos y CA de reemplazo flasheado", "checkBoxes": "Mostrar Tonieboxes disponibles", "dnsBeware": "¡Cuidado!", "dnsBewareText": "¡Esto desconectará todas las Tonieboxes en tu red que no estén parcheadas con tu CA de reemplazo!", @@ -1026,15 +1359,15 @@ "dumpCertificatesCC3235": "Tendrás que extraerlo manualmente del flash de la caja con una pinza SOP8 directamente de la memoria o desoldándola. Leer en circuito puede ser complicado, pero es posible. Te recomendamos Flashrom como herramienta para eso. Puede ser necesario usar una versión más reciente.", "dumpCertificatesLink": "Encuentra las instrucciones para extraer los certificados aquí", "extractCertificates": "Extraer certificados", + "flashCAreplacement": "Flashear el reemplazo de CA para TeddyCloud", "flashCAReplacementDescription1": "Desafortunadamente, el certificado CA generado por TeddyCloud durante su configuración inicial puede ocasionar ocasionalmente un error de `BAD_CERTIFICATE` al conectar una Toniebox CC3235 a TeddyCloud. Para resolver este problema, puedes generar el certificado manualmente utilizando el antiguo", "flashCAReplacementDescription2": "script con faketime instalado. Copia los archivos generados en el directorio `certs/server` dentro de la carpeta de instalación de TeddyCloud.", "flashCAReplacementDescription3": "Tenga en cuenta que los nuevos certificados de servidor, incluido el nuevo certificado CA generado, pueden interrumpir las conexiones con las Tonieboxes ya conectadas. Para garantizar un servicio ininterrumpido, actualice el archivo de reemplazo CA en todas sus Tonieboxes con el certificado recién generado.", - "flashCAReplacementTitle": "Atención: Problemas de compatibilidad del certificado CA de TeddyCloud", - "flashCAreplacement": "Flashear el reemplazo de CA para TeddyCloud", "flashCAreplacementLink": "Encuentra las instrucciones para flashear aquí", "flashCAreplacementText1": "Reemplaza la CA original en tu volcado de flash con la CA de reemplazo y reflashea tu caja.", "flashCAreplacementText2": "Si la caja no se conecta en absoluto (palabra clave: búho), puedes intentar usar el antiguo gencerts.sh para generar nuevos certificados y reflashear la caja.", "flashCAreplacementText3": "Atención: El archivo ca.der mencionado en el fragmento de código debe ser el CA de reemplazo de TeddyCloud!", + "flashCAReplacementTitle": "Atención: Problemas de compatibilidad del certificado CA de TeddyCloud", "flashCollapse": { "cc3235flash": "Memoria flash con pines", "cc3235flashWithSMDGrippers": "Memoria flash con pinzas SMD conectadas", @@ -1046,10 +1379,10 @@ "hint2": "Sigue luego el camino para CC3235:", "hwToolSpecific": "Preparaciones Dependientes del Hardware", "hwToolSpecificText": "Dependiendo del hardware que planees usar para flashear tu Toniebox, se requieren preparaciones adicionales. Por favor, elige la opción que seguirás.", - "installSerprogFirmware": "Instalar firmware Serprog", "installflashromtool": "Instala Flashrom", "installflashromtoolLink": "Visita la página principal de la herramienta para más información", "installflashromtoolText": "Asegúrate de que el ordenador que estás usando para el flasheo tenga flashrom instalado. Si no, instálalo con los siguientes comandos:", + "installSerprogFirmware": "Instalar firmware Serprog", "linkGeneral": "Parchear tu Toniebox para usar con TeddyCloud", "linkSpecific": "Configuración específica para CC3235", "locateFlashMemory": "Localizar el chip de memoria flash", @@ -1120,20 +1453,21 @@ "browserNotSupported": "La funcionalidad de flasheo integrado de la caja ESP32 solo se puede utilizar con navegadores que admiten la API Web Serial. Desafortunadamente, tu navegador actual no admite esta función. Por favor, utiliza un navegador que soporte la API Web Serial, como Chrome o Edge.", "esp32flasher": { "automatically": "Automáticamente", + "backupFlash": "Importante: Haz una copia de seguridad del firmware original sin modificar", "cancel": "Cancelar", "chipMAC": "Chip MAC", "chipType": "Tipo de chip", "confirmFlashDialog": "¿Realmente quieres flashear tu Toniebox? ¡Asegúrate de tener una conexión estable y no interrumpas el proceso!", "confirmFlashDialogHint": "Para garantizar que tu Toniebox funcione correctamente, la instancia especificada de TeddyCloud es absolutamente necesaria. Si tu TeddyCloud está desconectado, ¡tu Toniebox no podrá acceder al nuevo contenido!", "confirmFlashModal": "Flashear Toniebox con firmware parcheado", - "connectESPCollapseTitle": "Ayuda: Conectar UART con Toniebox", "connected": "Conectado", + "connectESPCollapseTitle": "Ayuda: Conectar UART con Toniebox", "connectingReadFlash": "Conectando para leer Flash...", "connectingReadMac": "Conectando para leer la dirección MAC...", "connectingTo": "Conectando a", "connectingToESP": "Conectando al ESP...", "connectingWriteFlash": "Conectando para escribir Flash...", - "downloadFlashFilesHint": "Las imágenes del firmware se almacenan en el directorio de datos de tu servidor en caso de que desees volver a flashearlas. Si deseas guardar tus imágenes de firmware en otro lugar, puedes descargarlas y moverlas a un lugar seguro:", + "downloadFlashFilesHint": "Las imágenes del firmware se almacenan en el directorio de datos de tu servidor por si deseas volver a flashearlas. Si aún no lo has hecho, asegúrate de descargar y guardar de forma segura una copia del firmware original ahora. Esto te permitirá restaurar tu Toniebox a su estado de fábrica si algo sale mal. Guarda la copia de seguridad en varios lugares — como tu ordenador principal o portátil, un disco duro externo o memoria USB, y/o un servicio de almacenamiento en la nube de confianza (por ejemplo, Google Drive, Dropbox, OneDrive). No confíes solo en la copia almacenada en el servidor TeddyCloud.", "downloadLink": "Descargar firmware no parcheado", "downloadLinkPatched": "Descargar firmware parcheado", "error": "Error", @@ -1173,6 +1507,7 @@ "hostname": "Nombre de host de TeddyCloud:", "hostnameSettings": "Configuración del nombre de host", "hostnameTooLong": "El nombre de host debe tener menos de 13 caracteres.", + "importanceBackup": "Antes de hacer cualquier cambio en tu Toniebox, descarga y guarda de forma segura una copia del firmware original. Esto te permitirá restaurar tu Toniebox a su estado de fábrica si algo sale mal. Guárdala en varios lugares, como tu ordenador principal o portátil, un disco duro externo o memoria USB, y/o un servicio de almacenamiento en la nube de confianza (por ejemplo, Google Drive, Dropbox, OneDrive). Nunca guardes tu única copia solo en el servidor TeddyCloud.", "infoTable": "Información del ESP32", "invalidSerialPort": "Puerto serie no válido", "loadFile": "Cargar archivo", @@ -1200,12 +1535,12 @@ "titlePatchFlash": "Parchear Flash", "titleReadESP32ImportFlash": "Leer ESP32/Importar Flash", "uploadFailed": "Error al subir", - "uploadSuccessful": "Subida exitosa, guardado como", "uploading": "Subiendo...", + "uploadSuccessful": "Subida exitosa, guardado como", "wifiCredentialsIncomplete": "¡Credenciales WiFi incompletas! Por favor, introduce tanto el SSID como la contraseña, o deja ambos campos vacíos.", "wifiPassword": "Contraseña WiFi:", - "wifiSSID": "SSID de WiFi:", "wifiSettings": "Datos WiFi (opcional):", + "wifiSSID": "SSID de WiFi:", "writingFinished": "Escritura finalizada", "writingFlash": "Escribiendo flash de {{size}} MiB..." }, @@ -1220,8 +1555,8 @@ "dumpCertificates": "Volcar certificados para TeddyCloud", "flashCAreplacement": "Flashear reemplazo de CA para TeddyCloud", "flashCAreplacementText1": "Reemplaza la CA original dentro de tu volcado flash con esptool.", - "flashCAreplacementText2": "Vuelve a ensamblar tu Toniebox. Si ya configuraste el nombre de host de teddyCloud, puedes omitir el paso de DNS para el ESP32, si no, continúa con el paso de DNS para el ESP32.", - "flashCAreplacementText3": "Tu Toniebox ahora debería poder conectarse a tu teddyCloud. Haz una verificación de frescura y haz clic en \"Verificar cajas disponibles\".", + "flashCAreplacementText2": "Vuelve a ensamblar tu Toniebox. Si ya configuraste el nombre de host de TeddyCloud, puedes omitir el paso de DNS para el ESP32, si no, continúa con el paso de DNS para el ESP32.", + "flashCAreplacementText3": "Tu Toniebox ahora debería poder conectarse a tu TeddyCloud. Haz una verificación de frescura y haz clic en \"Verificar cajas disponibles\".", "followLegacyApproach": "O utiliza el método legado (sin GUI, solo línea de comandos).", "hint": "¡Hay soporte directo para flashear tu Toniebox ESP32 con TeddyCloud disponible!", "installESPTool": "Instalar la herramienta ESP reciente", @@ -1242,7 +1577,9 @@ "redirect": "Proceder a HTTPS", "title": "Flasheo de la caja ESP32" }, - "hintLatestFirmware": "Para la configuración inicial de tu Toniebox con TeddyCloud, asegúrate de que tenga el firmware más reciente instalado. Si no estás seguro de si tu Toniebox está actualizada, conéctala a la nube oficial y espera un tiempo para que se complete la actualización de firmware.", + "hintLatestFirmware": "Para configurar tu Toniebox con TeddyCloud por primera vez, asegúrate de que tenga instalada la última versión del firmware. Si no estás seguro, conecta la Toniebox a la nube oficial y espera a que se complete la actualización. Además, coloca un Tonie original sobre la caja y comprueba que funciona correctamente.", + "hintLatestFirmwareFactoryResetCC3200": "Si has hecho (accidentalmente) un restablecimiento de fábrica en una Toniebox flasheada, puede bastar con iniciar OFW1 una vez - no sería necesario volver a flashearla.", + "hintLatestFirmwareFactoryResetESP32CC3235": "Si has hecho (accidentalmente) un restablecimiento de fábrica en una Toniebox ya flasheada, necesitas volver a flashear el firmware original antes de flashearla de nuevo para usarla con TeddyCloud.", "hintLatestFirmwareTitle": "Importante", "lastOnline": "última conexión", "lastPlayedTonie": "Último Tonie reproducido: ", @@ -1278,8 +1615,8 @@ "title": "Tus Tonieboxes", "uploadTonieboxCertificatesModal": { "AttentionGeneralPath": "(¡ATENCIÓN: Ruta predeterminada!)", - "Label": "Certificados", "boxSpecific": " (superpuesto para Toniebox)", + "Label": "Certificados", "uploadPath": "Ruta de carga (certDir):", "uploadTonieboxCertificates": "Subir certificados para Toniebox \"{{name}}\"" } @@ -1328,6 +1665,7 @@ "hide": "Ocultar", "title": "Ocultar Tonie/Etiqueta" }, + "connectionToBoxineNotAvailable": "No se puede conectar a Boxine/Toniecloud. Por favor, habilita el acceso para permitir la descarga.", "content": { "navigationTitle": "Contenido", "showToniesOfBoxes": "Contenido de las siguientes Tonieboxes", @@ -1358,27 +1696,117 @@ "targetDirectory": "Elegir directorio de destino", "title": "Codificador de audio", "tooManyFilesError": "¡Demasiados archivos!", + "unsupportedFileType": "¡Tipo de archivo no compatible!", + "unsupportedFileTypeDetails": "El archivo \"{{file}}\" tiene un tipo de archivo no compatible.", "upload": "Subir", "uploadFailed": "Fallo de carga", "uploadFailedDetails": "La carga encontró un error: ", "uploadFiles": "Seleccionar archivo(s)", "uploadHint": "¡Arrastra los archivos de audio aquí!", + "uploading": "Subiendo...", + "uploadingDetails": "Subiendo el archivo \"{{file}}\"...", "uploadSuccessful": "¡Codificación de archivos exitosa!", "uploadSuccessfulDetails": "Los archivos se codificaron como \"{{file}}\" y se agregaron exitosamente a la biblioteca.", - "uploadText": "Haz clic o arrastra hasta {{maxFiles}} archivos de audio que deseas convertir en un archivo taf para subirlos a esta área", - "uploading": "Subiendo...", - "uploadingDetails": "Subiendo el archivo \"{{file}}\"..." + "uploadText": "Haz clic o arrastra hasta {{maxFiles}} archivos de audio que deseas convertir en un archivo taf para subirlos a esta área" }, "errorFetchingSystemSounds": "Error al obtener los sonidos del sistema", "errorFetchingTonies": "Error al obtener los Tonies", + "help": { + "actionItems": { + "cloudIcon": { + "text": "El icono gris indica que la sincronización en la nube está habilitada; rojo significa deshabilitada. Haz clic para cambiar el estado.", + "title": "Estado de la nube" + }, + "downloadIcon": { + "text": "Si tienes acceso y autorización en la nube, al hacer clic podrás descargar contenido desde la nube de Boxine/Tonie.", + "title": "Descargar contenido" + }, + "editIcon": { + "createNewModel": { + "description": "Abre una ventana para introducir los detalles del nuevo modelo. Esta función aún está en desarrollo.", + "text": "Crea un modelo personalizado para tu Tonie/Etiqueta.", + "title": "Crear nuevo modelo (en desarrollo)" + }, + "model": { + "description": "Busca y asigna un modelo. La imagen se mostrará en la vista general.", + "text": "Representa el modelo visual asignado al Tonie/Etiqueta.", + "title": "Modelo" + }, + "radioStreamSearch": { + "description": "Utiliza el campo de búsqueda para encontrar una emisora y asignarla como fuente.", + "text": "Busca emisoras de radio online (disponible si la API de radio-browser.info está activa).", + "title": "Búsqueda de emisoras" + }, + "source": { + "description": "Puedes asignar contenido desde tu biblioteca (por ejemplo, archivos TAF o TAP) o introducir una URL de streaming.", + "text": "Muestra la fuente de contenido actualmente asignada.", + "title": "Fuente" + }, + "text": "Abre la ventana de edición con las siguientes opciones:", + "title": "Editar Tonie/Etiqueta" + }, + "infoIcon": { + "download": { + "description": "Si está disponible, puedes descargar el archivo TAF vinculado como un único archivo .ogg.", + "text": "Permite descargar el archivo TAF como un archivo de audio .ogg.", + "title": "Descargar TAF como .ogg" + }, + "exists": { + "description": "El estado 'existe' se muestra como 'sí' si el archivo fuente asignado está presente.", + "text": "Muestra si la fuente asignada del Tonie/Etiqueta existe en el sistema.", + "title": "Existe" + }, + "hide": { + "description": "Usa esta opción para ocultar un Tonie/Etiqueta. Para volver a mostrarlo, colócalo en una de tus Tonieboxes.", + "text": "Elimina el Tonie/Etiqueta de la vista general.", + "title": "Ocultar Tonie/Etiqueta" + }, + "text": "Abre una ventana con los detalles clave del Tonie/Etiqueta, incluyendo título, imagen, UID, lista de pistas y varios indicadores de estado:", + "title": "Información de Tonie/Etiqueta", + "valid": { + "description": "Un Tonie/Etiqueta se considera válido si su fuente asignada es un archivo TAF válido.", + "text": "Muestra si la fuente asignada del Tonie/Etiqueta es válida.", + "title": "Válido" + } + }, + "liveIcon": { + "text": "El icono rojo indica modo 'en vivo', lo que significa que el contenido se reinicia desde el principio y se vuelve a descargar. Se activa automáticamente con emisoras. Haz clic para cambiar.", + "title": "Estado en vivo" + }, + "playIcon": { + "text": "Reproduce el contenido asignado al Tonie/Etiqueta. Si el icono aparece en gris claro, no hay contenido asignado.", + "title": "Reproducir contenido" + } + }, + "blueTopBorder": { + "text": "Indica que este Tonie/Etiqueta fue el último reproducido en al menos una de tus Tonieboxes.", + "title": "Borde superior azul" + }, + "closeButton": "Cerrar", + "modelImage": { + "bigImage": { + "description": "Esta imagen refleja el modelo seleccionado asignado al Tonie/Etiqueta. Para cambiarlo, debes asignar otro modelo.", + "text": "Representa el aspecto visual del Tonie/Etiqueta.", + "title": "Imagen grande" + }, + "smallImage": { + "description": "Se muestra cuando la fuente asignada es distinta al modelo seleccionado.", + "text": "Muestra la fuente real si es diferente del modelo asignado.", + "title": "Imagen pequeña" + }, + "text": "Muestra la representación visual del Tonie/Etiqueta si es reconocido. Los Tonies/Etiquetas desconocidos mostrarán un signo de interrogación. Si tienes activada la opción 'Frontend' → 'Split content / model', pueden aparecer dos imágenes:", + "title": "Imagen de modelo del Tonie/Etiqueta" + }, + "title": "Ayuda" + }, "infoModal": { + "download": "Descargar TAF como *.ogg", "exists": "Existe:", "model": "Modelo:", "no": "No", "tracklist": "Lista de pistas:", "valid": "Válido:", - "yes": "Sí", - "download": "Descargar TAF como *.ogg" + "yes": "Sí" }, "informationModal": { "hideTag": "Ocultar Tonie/Etiqueta", @@ -1434,6 +1862,7 @@ "navigationTitle": "Tonies", "noData": "No se encontraron Tonies/Tags personalizados.", "noDataText": "Los Tonies/Tags personalizados solo aparecerán después de que una Toniebox haya establecido una conexión exitosa y ya tenga Tonies/Tags personalizados en su tarjeta SD. Asegúrate de que tu Toniebox esté correctamente conectada y tenga algunos Tonies/Tags personalizados, o coloca tu primer Tonie/Tag personalizado en tu Toniebox y actualiza este sitio.", + "noPlayableContentHint": "No hay contenido disponible para reproducir. O no está asignado o faltan datos de la nube de Tonies/Boxine. Coloca la figurita en la caja para solucionarlo.", "selectFileModal": { "cancel": "Cancelar", "ok": "OK", @@ -1469,6 +1898,31 @@ "titleCreate": "Crear nuevo TAP", "titleEdit": "Editar TAP" }, + "teddystudio": { + "clear": "Limpiar hoja", + "clearSettings": "Borrar", + "diameter": "Diámetro interior", + "empty": "Vacío - ¡Por favor, selecciona primero Tonies o Etiquetas!", + "height": "Alto", + "intro": "Busca todos los Tonies y etiquetas - tanto los oficiales como los personalizados - para crear tu hoja imprimible de Traveltonies (moneda).", + "labelShape": "Forma de la etiqueta", + "labelSpacing": "Espaciado", + "labelSpacingX": "Espaciado X", + "labelSpacingY": "Espaciado Y", + "navigationTitle": "TeddyStudio", + "placeholder": "¡Introduce un término de búsqueda!", + "printPage": "Imprimir hoja", + "printSheet": "Tu hoja para imprimir", + "round": "Redondo", + "saveSettings": "Guardar", + "settings": "Configuración", + "showLanguageFlag": "Mostrar bandera de idioma", + "showModelNo": "Imprimir número de modelo", + "square": "Cuadrado", + "textFontSize": "Tamaño de texto", + "title": "TeddyStudio", + "width": "Ancho" + }, "title": "Tonies", "tonies": { "filterBar": { diff --git a/contrib/data/www/web/translations/fr.json b/contrib/data/www/web/translations/fr.json index db71792a..50b07a1b 100644 --- a/contrib/data/www/web/translations/fr.json +++ b/contrib/data/www/web/translations/fr.json @@ -78,6 +78,78 @@ "navigationTitle": "Forum" }, "navigationTitle": "Communauté", + "plugins": { + "addButton": "Ajouter", + "addButtonTooltip": "Cliquez ici pour ajouter de nouveaux plugins ou mettre à jour ceux existants", + "available": "Plugins disponibles", + "by": "par", + "cancel": "Annuler", + "delete": "Supprimer", + "deletion": { + "confirmDeleteDialog": "Voulez-vous vraiment supprimer le plugin \"{{pluginId}}\" ?", + "confirmDeleteModal": "Confirmer la suppression", + "delete": "Supprimer", + "errorDeletingPlugin": "Échec de la suppression du plugin", + "errorDeletingPluginDetails": "La suppression du plugin \"{{filename}}\" a échoué : ", + "successDeletingPlugin": "Plugin supprimé avec succès", + "successDeletingPluginDetails": "Le plugin \"{{filename}}\" a été supprimé avec succès" + }, + "empty": "Aucun plugin disponible", + "error": { + "notification": { + "message": "Description json manquante - élément \"pluginName\" dans le plugin \"{{pluginId}}\", ignoré.", + "missingPluginIndexHtml": "index.html manquant dans le plugin \"{{pluginId}}\" !", + "title": "Erreur lors du chargement du plugin" + }, + "pluginNotFound": "index.html du plugin introuvable - veuillez vérifier le plugin !", + "title": "Erreur lors du chargement du plugin" + }, + "errorLoadingPlugin": "Échec du chargement des métadonnées pour le plugin {{pluginname}}", + "filter": { + "unknown": "Section non définie" + }, + "help": { + "descriptionExampleTitle": "plugin.json pour l'exemple ci-dessus :", + "descriptionIntro": "Chaque plugin doit inclure un fichier plugin.json à la racine. Ce fichier décrit le plugin et permet son affichage correct dans l’interface.", + "descriptionTitle": "plugin.json — Métadonnées requises", + "exampleFolderTitle": "Dossier d'exemple :", + "exampleTitle": "Exemple :", + "fields": { + "author": "Auteur du plugin", + "description": "Résumé court du plugin", + "pluginHomepage": "Page d'accueil du plugin", + "pluginName": "Le titre affiché dans les menus (obligatoire)", + "teddyCloudSection": "Section souhaitée où le plugin doit être ajouté à la navigation (valeurs valides : home, tonies, tonieboxes, settings, community)", + "version": "Version du plugin" + }, + "fieldsTitle": "Champs :", + "folderStructureTitle": "Structure du dossier du plugin :", + "intro": "Pour que votre plugin soit détectable et listé dans la navigation Communauté, il doit suivre cette structure et inclure un fichier index.html et plugin.json valides. Un preview.png optionnel sera affiché comme image dans la carte du plugin.", + "popoverTitle": "Aide du plugin", + "title": "Structure du dossier plugin et exigences" + }, + "helpButton": "Aide", + "helpTextCreatePlugin": "Un texte sur la création d'un plugin", + "installedPlugins": "Plugins installés", + "intro": "Vous trouverez ici vos plugins TeddyCloud ajoutés et pouvez ajouter de nouveaux plugins fournis par vous-même ou la communauté TeddyCloud !", + "navigationTitle": "Plugins TC", + "open": "Ouvrir le plugin", + "plugin": "Plugin", + "title": "Plugins TeddyCloud", + "upload": { + "add": "Ajouter un plugin", + "errorUploadingPlugin": "Échec du téléversement du nouveau plugin", + "errorUploadingPluginDetails": "Échec du téléversement du nouveau plugin \"{{filename}}\" : ", + "selectPluginZip": "Sélectionner le fichier zip du plugin", + "successUploadingPlugin": "Plugin téléversé avec succès", + "successUploadingPluginDetails": "Le plugin \"{{filename}}\" a été téléversé avec succès", + "uploadModal": "Téléverser un fichier plugin compressé", + "uploadModalHint": "Téléversez un plugin nouveau ou existant. Si le plugin compressé existe déjà dans TeddyCloud, il sera écrasé.", + "warningUploadingPlugin": "Veuillez sélectionner un fichier", + "warningUploadingPluginDetails": "Veuillez sélectionner un fichier plugin compressé avant de cliquer sur \"Ajouter un plugin\"" + }, + "visitHomepage": "Visiter la page du plugin" + }, "supportRequestGuide": { "closing": "Fournir ce niveau de détail aidera la communauté à résoudre ton problème de manière plus efficace. Merci !", "example": { @@ -200,10 +272,10 @@ "cancel": "Annuler", "create": "Créer", "createDirectory": "Créer un nouveau dossier", - "directoryCreateFailed": "Échec de la création du dossier !", - "directoryCreateFailedDetails": "Échec de la création du dossier \"{{directory}}\" : ", "directoryCreated": "Le nouveau dossier a été créé !", "directoryCreatedDetails": "Nouveau dossier \"{{directory}}\" créé !", + "directoryCreateFailed": "Échec de la création du dossier !", + "directoryCreateFailedDetails": "Échec de la création du dossier \"{{directory}}\" : ", "inDirectory": "dans le dossier ", "modalTitle": "Créer un nouveau dossier", "parentPath": "Répertoire parent:", @@ -387,17 +459,17 @@ "modalTitle": "Téléverser le(s) fichier(s)", "showUploadFilesDragNDrop": "Téléversement de fichiers", "upload": "Téléverser", + "uploadedFile": "Fichier téléchargé!", + "uploadedFileFailed": "Échec du téléchargement du fichier!", "uploadFailed": "Certains fichiers n'ont pas pu être téléversés. Veuillez réessayer.", "uploadFailedForFile": "Échec du téléversement de \"{{file}}\".", "uploadHint": "Faites glisser les fichiers ici pour les téléverser", + "uploading": "Téléversement en cours...", "uploadInProgress": "Téléversement de \"{{file}}\"...", "uploadSuccessful": "Fichiers téléversés avec succès.", "uploadSuccessfulDetails": "Tous les fichiers ont été téléchargés avec succès.", "uploadSuccessfulForFile": "Fichier \"{{file}}\" téléversé avec succès.", - "uploadText": "Cliquez ou faites glisser les fichiers dans cette zone pour les téléverser", - "uploadedFile": "Fichier téléchargé!", - "uploadedFileFailed": "Échec du téléchargement du fichier!", - "uploading": "Téléversement en cours..." + "uploadText": "Cliquez ou faites glisser les fichiers dans cette zone pour les téléverser" } }, "footer": { @@ -512,10 +584,12 @@ "title": "Statistiques" }, "title": "Bienvenue sur TeddyCloud !", + "toAllYourTonieboxes": "À toutes les Toniebox", "toAllYourTonies": "À tous les Tonies", "tonieMeeting": { "navigationTitle": "Réunion Tonie" }, + "yourTonieboxes": "Tes Toniebox", "yourTonies": "Vos Tonies" }, "inputValidator": { @@ -529,18 +603,261 @@ "spanish": "ES" }, "languageUtil": { - "de-de": "Allemand", - "en-gb": "Anglais (GB)", - "en-us": "Anglais (US)", - "es-es": "Espagnol", - "fr-fr": "Français", - "it-it": "Italien", + "af-af": "Afrikaans (Afrique du Sud)", + "am-et": "Amharique (Éthiopie)", + "ar-ae": "Arabe (Émirats Arabes Unis)", + "ar-bh": "Arabe (Bahreïn)", + "ar-dz": "Arabe (Algérie)", + "ar-eg": "Arabe (Égypte)", + "ar-eh": "Arabe (Sahara occidental)", + "ar-iq": "Arabe (Irak)", + "ar-jo": "Arabe (Jordanie)", + "ar-km": "Arabe (Comores)", + "ar-kw": "Arabe (Koweït)", + "ar-lb": "Arabe (Liban)", + "ar-ly": "Arabe (Libye)", + "ar-ma": "Arabe (Maroc)", + "ar-mr": "Arabe (Mauritanie)", + "ar-om": "Arabe (Oman)", + "ar-ps": "Arabe (Palestine)", + "ar-qa": "Arabe (Qatar)", + "ar-sa": "Arabe (Arabie Saoudite)", + "ar-sd": "Arabe (Soudan)", + "ar-sy": "Arabe (Syrie)", + "ar-tn": "Arabe (Tunisie)", + "ar-ye": "Arabe (Yémen)", + "az-az": "Azéri (Azerbaïdjan)", + "be-by": "Bélarussien (Biélorussie)", + "bg-bg": "Bulgare (Bulgarie)", + "bm-ml": "Bambara (Mali)", + "bn-bd": "Bengali (Bangladesh)", + "bs-ba": "Bosniaque (Bosnie-Herzégovine)", + "ca-ad": "Catalan (Andorre)", + "cs-cz": "Tchèque (République Tchèque)", + "da-dk": "Danois (Danemark)", + "de-at": "Allemand (Autriche)", + "de-ch": "Allemand (Suisse)", + "de-de": "Allemand (Allemagne)", + "de-li": "Allemand (Liechtenstein)", + "dv-mv": "Dhivehi (Maldives)", + "dz-bt": "Dzongkha (Bhoutan)", + "el-cy": "Grec (Chypre)", + "el-gr": "Grec (Grèce)", + "en-ag": "Anglais (Antigua-et-Barbuda)", + "en-ai": "Anglais (Anguilla)", + "en-as": "Anglais (Samoa américaine)", + "en-au": "Anglais (Australie)", + "en-bb": "Anglais (Barbade)", + "en-bi": "Anglais (Burundi)", + "en-bm": "Anglais (Bermudes)", + "en-bs": "Anglais (Bahamas)", + "en-bw": "Anglais (Botswana)", + "en-bz": "Anglais (Belize)", + "en-ca": "Anglais (Canada)", + "en-cc": "Anglais (Îles Cocos)", + "en-ck": "Anglais (Îles Cook)", + "en-cx": "Anglais (Île Christmas)", + "en-dm": "Anglais (Dominique)", + "en-fj": "Anglais (Fidji)", + "en-fk": "Anglais (Îles Malouines)", + "en-fm": "Anglais (Micronésie)", + "en-gb": "Anglais (Royaume-Uni)", + "en-gd": "Anglais (Grenade)", + "en-gg": "Anglais (Guernesey)", + "en-gh": "Anglais (Ghana)", + "en-gi": "Anglais (Gibraltar)", + "en-gm": "Anglais (Gambie)", + "en-gs": "Anglais (Géorgie du Sud et îles Sandwich du Sud)", + "en-gu": "Anglais (Guam)", + "en-gy": "Anglais (Guyane)", + "en-hm": "Anglais (Îles Heard et McDonald)", + "en-ie": "Anglais (Irlande)", + "en-im": "Anglais (Île de Man)", + "en-io": "Anglais (Territoire britannique de l'océan Indien)", + "en-je": "Anglais (Jersey)", + "en-jm": "Anglais (Jamaïque)", + "en-ki": "Anglais (Kiribati)", + "en-kn": "Anglais (Saint-Christophe-et-Niévès)", + "en-ky": "Anglais (Îles Caïmans)", + "en-lc": "Anglais (Sainte-Lucie)", + "en-lr": "Anglais (Liberia)", + "en-ls": "Anglais (Lesotho)", + "en-mh": "Anglais (Îles Marshall)", + "en-mp": "Anglais (Îles Mariannes du Nord)", + "en-ms": "Anglais (Montserrat)", + "en-mu": "Anglais (Île Maurice)", + "en-mw": "Anglais (Malawi)", + "en-na": "Anglais (Namibie)", + "en-nf": "Anglais (Île Norfolk)", + "en-ng": "Anglais (Nigeria)", + "en-nr": "Anglais (Nauru)", + "en-nu": "Anglais (Niue)", + "en-nz": "Anglais (Nouvelle-Zélande)", + "en-pg": "Anglais (Papouasie-Nouvelle-Guinée)", + "en-pn": "Anglais (Îles Pitcairn)", + "en-pw": "Anglais (Palaos)", + "en-sb": "Anglais (Îles Salomon)", + "en-sc": "Anglais (Seychelles)", + "en-sg": "Anglais (Singapour)", + "en-sh": "Anglais (Sainte-Hélène)", + "en-sl": "Anglais (Sierra Leone)", + "en-ss": "Anglais (Soudan du Sud)", + "en-sz": "Anglais (Eswatini)", + "en-ta": "Anglais (Tristan da Cunha)", + "en-tc": "Anglais (Îles Turques-et-Caïques)", + "en-tk": "Anglais (Tokelau)", + "en-to": "Anglais (Tonga)", + "en-tt": "Anglais (Trinidad-et-Tobago)", + "en-tv": "Anglais (Tuvalu)", + "en-ug": "Anglais (Ouganda)", + "en-um": "Anglais (Îles mineures éloignées des États-Unis)", + "en-us": "Anglais (États-Unis)", + "en-vc": "Anglais (Saint-Vincent-et-les-Grenadines)", + "en-vg": "Anglais (Îles Vierges britanniques)", + "en-vi": "Anglais (Îles Vierges des États-Unis)", + "en-vu": "Anglais (Vanuatu)", + "en-ws": "Anglais (Samoa)", + "en-za": "Anglais (Afrique du Sud)", + "en-zm": "Anglais (Zambie)", + "en-zw": "Anglais (Zimbabwe)", + "es-ar": "Espagnol (Argentine)", + "es-bo": "Espagnol (Bolivie)", + "es-cl": "Espagnol (Chili)", + "es-co": "Espagnol (Colombie)", + "es-cr": "Espagnol (Costa Rica)", + "es-cu": "Espagnol (Cuba)", + "es-do": "Espagnol (République Dominicaine)", + "es-ec": "Espagnol (Équateur)", + "es-es": "Espagnol (Espagne)", + "es-gq": "Espagnol (Guinée équatoriale)", + "es-gt": "Espagnol (Guatemala)", + "es-hn": "Espagnol (Honduras)", + "es-ic": "Espagnol (Îles Canaries)", + "es-mx": "Espagnol (Mexique)", + "es-ni": "Espagnol (Nicaragua)", + "es-pa": "Espagnol (Panama)", + "es-pe": "Espagnol (Pérou)", + "es-pr": "Espagnol (Porto Rico)", + "es-py": "Espagnol (Paraguay)", + "es-sv": "Espagnol (Salvador)", + "es-uy": "Espagnol (Uruguay)", + "es-ve": "Espagnol (Venezuela)", + "et-ee": "Estonien (Estonie)", + "fa-ir": "Persan (Iran)", + "fi-fi": "Finnois (Finlande)", + "fo-fo": "Féroïen (Îles Féroé)", + "fr-bf": "Français (Burkina Faso)", + "fr-bj": "Français (Bénin)", + "fr-bl": "Français (Saint-Barthélemy)", + "fr-cd": "Français (République Démocratique du Congo)", + "fr-cf": "Français (République Centrafricaine)", + "fr-cg": "Français (République du Congo)", + "fr-ci": "Français (Côte d'Ivoire)", + "fr-cm": "Français (Cameroun)", + "fr-dj": "Français (Djibouti)", + "fr-fr": "Français (France)", + "fr-ga": "Français (Gabon)", + "fr-gf": "Français (Guyane française)", + "fr-gn": "Français (Guinée)", + "fr-gp": "Français (Guadeloupe)", + "fr-ht": "Français (Haïti)", + "fr-lu": "Français (Luxembourg)", + "fr-mc": "Français (Monaco)", + "fr-mf": "Français (Saint-Martin)", + "fr-mq": "Français (Martinique)", + "fr-nc": "Français (Nouvelle-Calédonie)", + "fr-ne": "Français (Niger)", + "fr-pf": "Français (Polynésie française)", + "fr-pm": "Français (Saint-Pierre-et-Miquelon)", + "fr-re": "Français (Réunion)", + "fr-sn": "Français (Sénégal)", + "fr-td": "Français (Tchad)", + "fr-tf": "Français (Territoires australs et antarctiques français)", + "fr-tg": "Français (Togo)", + "fr-wf": "Français (Wallis et Futuna)", + "fr-yt": "Français (Mayotte)", + "he-il": "Hébreu (Israël)", + "hi-in": "Hindi (Inde)", + "hr-hr": "Croate (Croatie)", + "hu-hu": "Hongrois (Hongrie)", + "hy-am": "Arménien (Arménie)", + "id-id": "Indonésien (Indonésie)", + "is-is": "Islandais (Islande)", + "it-it": "Italien (Italie)", + "it-sm": "Italien (Saint-Marin)", + "it-va": "Italien (Vatican)", + "ja-jp": "Japonais (Japon)", + "ka-ge": "Géorgien (Géorgie)", + "kk-kz": "Kazakh (Kazakhstan)", + "kl-gl": "Inuktitut (Groenland)", + "km-kh": "Khmer (Cambodge)", + "ko-kp": "Coréen (Corée du Nord)", + "ko-kr": "Coréen (Corée du Sud)", + "ky-kg": "Kirghize (Kirghizistan)", + "lo-la": "Lao (Laos)", + "lt-lt": "Lituanien (Lituanie)", + "lv-lv": "Letton (Lettonie)", + "mg-mg": "Malgache (Madagascar)", + "mk-mk": "Macédonien (Macédoine du Nord)", + "mn-mn": "Mongol (Mongolie)", + "ms-bn": "Malais (Brunei)", + "ms-my": "Malais (Malaisie)", + "mt-mt": "Maltais (Malte)", + "my-mm": "Birman (Myanmar)", + "ne-np": "Népalais (Népal)", + "nl-aw": "Néerlandais (Aruba)", "nl-be": "Néerlandais (Belgique)", + "nl-bq": "Néerlandais (Caribbean Netherlands)", + "nl-cw": "Néerlandais (Curaçao)", "nl-nl": "Néerlandais (Pays-Bas)", - "pl-pl": "Polonais", - "pt-pt": "Portugais", - "tr-tr": "Turc", - "undefined": "Autre/indéfini" + "nl-sr": "Néerlandais (Suriname)", + "nl-sx": "Néerlandais (Sint Maarten)", + "no-bv": "Norvégien (Île Bouvet)", + "no-no": "Norvégien (Norvège)", + "no-sj": "Norvégien (Svalbard et Jan Mayen)", + "pl-pl": "Polonais (Pologne)", + "pt-ao": "Portugais (Angola)", + "pt-br": "Portugais (Brésil)", + "pt-cv": "Portugais (Cap-Vert)", + "pt-gw": "Portugais (Guinée-Bissau)", + "pt-mz": "Portugais (Mozambique)", + "pt-pt": "Portugais (Portugal)", + "pt-st": "Portugais (São Tomé-et-Príncipe)", + "ro-md": "Roumain (Moldavie)", + "ro-ro": "Roumain (Roumanie)", + "ru-ru": "Russe (Russie)", + "rw-kg": "Kinyarwanda (Rwanda)", + "si-lk": "Cinghalais (Sri Lanka)", + "sk-sk": "Slovaque (Slovaquie)", + "sl-si": "Slovène (Slovénie)", + "so-so": "Somali (Somalie)", + "sq-al": "Albanais (Albanie)", + "sq-xk": "Albanais (Kosovo)", + "sr-me": "Serbe (Monténégro)", + "sr-rs": "Serbe (Serbie)", + "sv-ax": "Suédois (Îles Åland)", + "sv-se": "Suédois (Suède)", + "sw-ke": "Swahili (Kenya)", + "sw-tz": "Swahili (Tanzanie)", + "tet-tl": "Tetum (Timor-Leste)", + "tg-tj": "Tadjik (Tadjikistan)", + "th-th": "Thaï (Thaïlande)", + "ti-er": "Tigrinya (Érythrée)", + "tk-tm": "Turkmène (Turkménistan)", + "tl-ph": "Tagalog (Philippines)", + "tr-tr": "Turc (Turquie)", + "uk-ua": "Ukrainien (Ukraine)", + "undefined": "Autre/indéfini", + "unknownLanguageCode": "Code de langue inconnu : ", + "ur-pk": "Ourdou (Pakistan)", + "uz-uz": "Ouzbek (Ouzbékistan)", + "vi-vn": "Vietnamien (Vietnam)", + "xx-aq": "Langues diverses (Antarctique)", + "xx-eu": "Langues diverses (Union Européenne)", + "zh-cn": "Chinois (Chine)", + "zh-hk": "Chinois (Hong Kong)", + "zh-mo": "Chinois (Macau)", + "zh-tw": "Chinois (Taiwan)" }, "radioStreamSearch": { "failedToFetchSearchResults": "Échec de la récupération des résultats de recherche des stations de radio", @@ -600,8 +917,8 @@ "colStatus": "Statut", "colTitle": "Titre", "colType": "Type", - "confirmSelectedNotifications": "Confirmer les notifications sélectionnées", "confirmed": "confirmé", + "confirmSelectedNotifications": "Confirmer les notifications sélectionnées", "endDate": "Date de fin", "error": "Erreur", "filterBy": "Filtrer par", @@ -618,8 +935,8 @@ "warning": "Avertissement" }, "overlayDisabled": "Superposition désactivée !", - "overlayEnabled": "Superposition activée !", "overlayed": "superposé", + "overlayEnabled": "Superposition activée !", "resetToTCDetails": "Le paramètre \"{{setting}}\"{{overlay}} a été réinitialisée avec succès à la valeur de TeddyCloud.", "restartComplete": "Redémarrage du serveur TeddyCloud réussi !", "restartFailed": "Échec du redémarrage du serveur TeddyCloud !", @@ -633,8 +950,8 @@ "title": "Journal RTNL" }, "save": "Enregister", - "saveDetails": "Le paramètre \"{{setting}}\"{{overlay}} a été enregistré avec succès.", "saved": "Paramètre enregistré !", + "saveDetails": "Le paramètre \"{{setting}}\"{{overlay}} a été enregistré avec succès.", "title": "Paramètres", "tonieboxes": "tonieboxes", "toniesJsonUpdate": "Recharger Tonies.json", @@ -690,12 +1007,12 @@ }, "alternativeDNSSolutions": "Autres solutions sans interruption", "certificates": "Certificats", - "certificatesIntro": "Lors du premier démarrage, teddyCloud générera la CA et les certificats avec la date de début 2015-11-03. Ceux-ci seront placés dans /certs/server/. Cela générera également le remplacement de la CA pour les certificats de la toniebox dans certs/server/ca.der.", + "certificatesIntro": "Lors du premier démarrage, TeddyCloud générera la CA et les certificats avec la date de début 2015-11-03. Ceux-ci seront placés dans /certs/server/. Cela générera également le remplacement de la CA pour les certificats de la toniebox dans certs/server/ca.der.", "dns": "DNS", "dnsBeware": "Attention !", "dnsBewareText": "Cela coupera la connexion de toutes les tonieboxes de votre réseau qui ne sont pas patchées avec votre CA de remplacement !", "dnsHint": "Adaptations DNS pour TeddyCloud", - "dnsText1": "Définissez les entrées DNS pour prod.de.tbs.toys et rtnl.bxcl.de sur l'adresse IP du serveur teddyCloud.", + "dnsText1": "Définissez les entrées DNS pour prod.de.tbs.toys et rtnl.bxcl.de sur l'adresse IP du serveur TeddyCloud.", "dumpCertificates": "Extraire les certificats pour TeddyCloud", "dumpCertificatesIntro1": "Tu auras besoin de flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Certificat Client) et flash:/cert/private.der (Clé privée Client).", "dumpCertificatesIntro2": "Conserve une sauvegarde des certificats, notamment du client.der et du private.der. Sans eux, tu ne pourras plus te connecter au cloud !", @@ -723,14 +1040,6 @@ "preparations": "Préparations" }, "boxSetup": { - "UARTHint": { - "description": "Veuillez vérifier si votre UART prend en charge à la fois 3,3V et 5V. Dans ce cas, tu devrais trouver un cavalier sur la carte pour sélectionner le mode correct. Voici des exemples de ces cavaliers (mais il y en a d'autres) :", - "imageAlt1": "Exemple de cavalier 1", - "imageAlt2": "Exemple de cavalier 2", - "imageAlt3": "Exemple de cavalier 3", - "title": "Important", - "warning": "Assure-toi absolument que 3,3V (souvent étiqueté 3v3) est réglé ! Si tu utilises le réglage 5V, il y a un grand risque que tu endommages ta Toniebox." - }, "boxSetupIntro1": "Cette page fournit un aperçu complet des étapes nécessaires pour ajouter votre Toniebox à TeddyCloud. Si vous rencontrez des problèmes, n'hésitez pas à visiter le", "boxSetupIntro2": "ou à rejoindre le", "boxSetupIntro3": "pour obtenir de l'aide de la communauté.", @@ -830,6 +1139,20 @@ "setupTeddyCloud": "Configurer TeddyCloud", "setupTeddyCloudText": "Félicitations ! En atteignant cette page, vous avez réussi à configurer TeddyCloud !", "title": "Ajoutez votre Toniebox à TeddyCloud", + "UARTHint": { + "description": "Avant de continuer, vérifie bien les points suivants :", + "imageAlt1": "Exemple de cavalier 1", + "imageAlt2": "Exemple de cavalier 2", + "imageAlt3": "Exemple de cavalier 3", + "noUSBCVersion": "Plusieurs utilisateurs ont récemment signalé des problèmes avec la version USB-C du UART, y compris des échecs de connexion. Pour éviter cela, nous te recommandons fortement d'utiliser la version micro-USB, plus fiable.", + "title": "Avis important : Connexion UART et réglages de tension", + "uartDriver": "Installation du pilote UART", + "updateDriver": "Assure-toi que le dernier pilote UART est bien installé sur ton appareil. Vérifie dans le gestionnaire de périphériques. S'il n'y a pas de pilote, télécharge et installe celui qui convient. Le flashage peut échouer si le pilote est générique ou obsolète.", + "voltageCompatibility": "Compatibilité de tension", + "voltageCompatibilityText1": "Assure-toi d'utiliser un adaptateur UART compatible avec du 3,3V.", + "voltageCompatibilityText2": "Si ton adaptateur UART prend en charge à la fois 3,3V et 5V, tu dois le régler sur 3,3V. Dans la plupart des cas, il y a un cavalier sur la carte pour choisir la bonne tension. Tu peux voir des exemples de cavaliers ici (ta carte peut être différente) :", + "warning": "Important : Vérifie bien que la tension est réglée sur 3,3V (souvent marqué 3v3). Si tu utilises le réglage 5V, tu risques d'endommager définitivement ta Toniebox." + }, "uploadCertificateButton": "Télécharger les certificats", "uploadCertificateIntro": "Tu devrais télécharger les certificats extraits dans TeddyCloud si c'est ta première Toniebox ou si tu souhaites désigner cette Toniebox comme celle utilisée pour télécharger du contenu depuis le cloud original de Tonies. De plus, tu dois ajouter les certificats à la Toniebox dans TeddyCloud. Pour cela, rends-toi dans la section 'Tonieboxes', clique sur l'icône de certificat et télécharge les certificats à nouveau.", "uploadCertificates": "Télécharger les certificats (ca.der, client.der et private.der)", @@ -842,6 +1165,14 @@ "boxWithoutAPIAccessText": "Les Tonieboxes suivantes n'ont pas accès à l'API activé:", "cancel": "Annuler", "cc3200BoxFlashing": { + "altUrlFritzBoxPatch": { + "CollapseTitle": "Correctif altUrl.tc.fritz.box (altUrl.tc.fritz.box.json, Paramètre par défaut dans ngCfg.json pour l’emplacement de firmware ofw2)", + "text": "Si tu as une Fritz!Box, tu peux utiliser le correctif altUrl.tc.fritz.box. Il suffit de définir le nom de ton serveur TeddyCloud sur \"tc\" dans les paramètres de ta Fritz!Box (Réseau domestique -> Réseau -> Connexions réseau -> Modifier)." + }, + "altUrlPatch": { + "CollapseTitle": "Correctif altURL (altUrl.305.json)", + "text": "Le correctif altUrl.305 remplace les URL cloud par des URL personnalisées. Pour l'utiliser, tu dois configurer les entrées DNS pour que prod.revvox et rtnl.revvox pointent vers l'adresse IP de ton serveur TeddyCloud." + }, "applyingPatches": "Application des patches", "applyingPatchesSection": { "examplengCFGJsonCollapse": { @@ -872,8 +1203,8 @@ "ofwFixValueDesc": "Octets magiques à placer dans l'image OFW au démarrage (peut être extrait des données de BL OFW[-8:-4])", "ofwSimBLDesc": "Lire l'image à démarrer depuis flash:/sys/mcubootinfo.bin et charger l'image depuis flash:/sys/mcuimgN.bin au lieu de lire depuis sd (comme le bootloader ofw)", "patchDirectory": "Répertoire des patches", - "patchWiki": "Wiki des patches", "patchesDesc": "Liste des patches à charger, voir :", + "patchWiki": "Wiki des patches", "section1_link": "sd:/revvox/boot/ngCfg.json", "section1_part1": "La configuration pour le bootloader est enregistrée dans", "section1_part2": ". Tous les sections ou clés commençant par un souligné \"_\" sont des commentaires et seront ignorées.", @@ -908,7 +1239,7 @@ "connectToTonieboxText": "Assure-toi que l'UART est configuré à 3,3V avant de connecter le programmeur UART à ton ordinateur via USB. La LED verte de la carte principale de la Toniebox doit rester allumée en continu (sans clignoter). Si ce n'est pas le cas, tes connexions pourraient être mal fixées ou incorrectes. Déconnecte le programmeur, vérifie toutes les connexions et essaie à nouveau. Si tu travailles avec des fils fins, pense à utiliser de la colle chaude pour les fixer et éviter qu’ils ne bougent. De plus, assure-toi que la Toniebox est alimentée via son chargeur.", "createPatch": "Créer altUrl.custom.305.patch", "customUrlPatch": "Créer un patch URL personnalisé (altUrl.custom.305.json)", - "customUrlPatchHint": "Veuillez créer ce patch uniquement si les patches existants altUrl.305.json et altUrl.tc.fritz.box.json ne fonctionnent pas avec votre configuration actuelle de TeddyCloud. S'ils répondent à vos besoins, vous pouvez continuer en cliquant sur 'Suivant'.", + "customUrlPatchHint": "Veuillez créer ce patch uniquement si les patches prédéfinis altUrl.tc.fritz.box.json et altUrl.305.json ne fonctionnent pas avec votre configuration actuelle de TeddyCloud. S'ils répondent à vos besoins, vous pouvez continuer en cliquant sur 'Suivant'.", "dumpCertificates": "Extraire les certificats pour TeddyCloud", "dumpCertificatesLink": "Trouve les instructions pour extraire les certificats ici", "flashCAreplacement": "Flasher le remplacement CA pour TeddyCloud", @@ -984,6 +1315,8 @@ "next": "Suivant", "patches": "Patches", "patchesMoreInformationLink": "Plus d'informations sur les patches personnalisés", + "predefinedUrlPatches": "Correctifs d'URL prédéfinis", + "predefinedUrlPatchesIntro": "Pour les boîtiers CC3200, il est recommandé d’utiliser un correctif altUrl. HackieboxNG inclut déjà deux correctifs altUrl prêts à l'emploi :", "previous": "Retour", "proceedWithCustomBootloader": "Procéder avec le Custom Bootloader", "proceedWithoutCustomBootloader": "Procéder sans le Custom Bootloader", @@ -992,6 +1325,7 @@ "usingThinWiresAsTagConnector": "Fils fins utilisés comme connecteur" }, "cc3235BoxFlashing": { + "certificatesDumpedCAreplacementFlashed": "Certificats extraits et remplacement de CA flashé", "CH341AProgrammer": { "CH341AProgrammer": "Configurer la connexion du programmeur CH341A", "CH341Sop8remove": "Raccourcis ici jusqu'à ce qu'elle s'ajuste correctement.", @@ -1007,14 +1341,13 @@ "prep2": "Raccourcis le plastique sur la pince CH341A si nécessaire, afin qu'elle puisse s'adapter à la mémoire flash IS25LP032D.", "prep3": "Assure-toi que la carte PCB et la batterie sont déconnectées.", "prep4": "Connecte le CH341A à l'ordinateur et confirme qu'il est reconnu. Tu peux le faire de la manière suivante :", + "preparation": "Uniquement nécessaire si tu prévois de flasher avec un programmeur CH341A", "prepConclusions1": "Si la sortie diffère, il se peut que le petit pont entre les broches 1 et 2 du CH341A ne soit pas en place. Une fois confirmé, débranche le CH341A du port USB. Cette vérification assure que tout est correctement connecté.", "prepConclusions2": "Assure-toi que le module SOP8 dans le kit CH341A et la pince sont connectés comme indiqué sur l'image.", "prepConclusions3": "Ce n'est que lorsque les préparatifs sont complets que nous pouvons procéder au processus d'extraction.", - "preparation": "Uniquement nécessaire si tu prévois de flasher avec un programmeur CH341A", "readingFlash": "Lire la mémoire flash avec le programmeur CH341A", "writingFlash": "Écrire la mémoire flash avec le programmateur CH341A" }, - "certificatesDumpedCAreplacementFlashed": "Certificats extraits et remplacement de CA flashé", "checkBoxes": "Afficher les boxes disponibles", "dnsBeware": "Attention!", "dnsBewareText": "Cela coupera la connexion de toutes les Tonieboxes dans ton réseau qui ne sont pas patchées avec ta CA de remplacement !", @@ -1026,15 +1359,15 @@ "dumpCertificatesCC3235": "Tu devras l'extraire manuellement du flash de la boîte avec une pince SOP8 directement depuis la mémoire ou en la dessoudant. La lecture en circuit peut être délicate, mais c'est possible. Nous te recommandons d'utiliser Flashrom comme outil pour cela. Il pourrait être nécessaire d'utiliser une version plus récente.", "dumpCertificatesLink": "Trouver les instructions pour extraire les certificats ici", "extractCertificates": "Extraire les certificats", + "flashCAreplacement": "Flasher le remplacement de CA pour TeddyCloud", "flashCAReplacementDescription1": "Malheureusement, le certificat CA généré par TeddyCloud lors de sa configuration initiale peut parfois entraîner une erreur `BAD_CERTIFICATE` lors de la connexion d'une Toniebox CC3235 à TeddyCloud. Pour résoudre ce problème, vous pouvez générer le certificat manuellement en utilisant l'ancien", "flashCAReplacementDescription2": "avec faketime installé. Copiez les fichiers générés dans le répertoire `certs/server` au sein du dossier d'installation de TeddyCloud.", "flashCAReplacementDescription3": "Veuillez noter que les nouveaux certificats de serveur, y compris le nouveau certificat CA généré, peuvent perturber les connexions avec les Tonieboxes déjà connectées. Pour garantir un service ininterrompu, veuillez mettre à jour le fichier de remplacement CA sur toutes vos Tonieboxes avec le certificat nouvellement généré.", - "flashCAReplacementTitle": "Attention : Problèmes de compatibilité du certificat CA de TeddyCloud", - "flashCAreplacement": "Flasher le remplacement de CA pour TeddyCloud", "flashCAreplacementLink": "Trouver les instructions de flashage ici", "flashCAreplacementText1": "Remplace la CA originale dans ton dump flash par la CA de remplacement et reflash ta boîte.", "flashCAreplacementText2": "Si la boîte ne se connecte pas du tout (mot-clé: chouette), tu peux essayer l'ancien gencerts.sh pour générer de nouveaux certificats et reflasher la boîte.", "flashCAreplacementText3": "Attention : Le fichier ca.der mentionné dans l'extrait de code doit être le CA de remplacement de TeddyCloud!", + "flashCAReplacementTitle": "Attention : Problèmes de compatibilité du certificat CA de TeddyCloud", "flashCollapse": { "cc3235flash": "Mémoire flash avec broches", "cc3235flashWithSMDGrippers": "Mémoire flash avec pinces SMD connectées", @@ -1046,10 +1379,10 @@ "hint2": "Veuillez suivre ensuite le chemin CC3235 :", "hwToolSpecific": "Préparations Dépendantes du Matériel", "hwToolSpecificText": "Selon le matériel que tu prévois d'utiliser pour flasher ton Toniebox, des préparations supplémentaires sont nécessaires. Veuillez choisir l'option que tu suivras.", - "installSerprogFirmware": "Installer le firmware Serprog", "installflashromtool": "Installer Flashrom", "installflashromtoolLink": "Visite la page d'accueil de l'outil pour plus d'informations", "installflashromtoolText": "Assure-toi que l'ordinateur que tu utilises pour flasher a Flashrom installé. Sinon, installe-le en utilisant les commandes suivantes :", + "installSerprogFirmware": "Installer le firmware Serprog", "linkGeneral": "Patch de votre Toniebox pour l'utiliser avec TeddyCloud", "linkSpecific": "Configuration spécifique CC3235", "locateFlashMemory": "Localiser la puce de mémoire flash", @@ -1120,20 +1453,21 @@ "browserNotSupported": "La fonctionnalité de flashage intégré de la boîte ESP32 ne peut être utilisée qu'avec des navigateurs prenant en charge l'API Web Serial. Malheureusement, votre navigateur actuel ne prend pas en charge cette fonctionnalité. Veuillez utiliser un navigateur qui prend en charge l'API Web Serial, comme Chrome ou Edge.", "esp32flasher": { "automatically": "Automatiquement", + "backupFlash": "Important : Sauvegarde ton firmware original non modifié", "cancel": "Annuler", "chipMAC": "MAC du chip", "chipType": "Type de chip", "confirmFlashDialog": "Voulez-vous vraiment flasher votre Toniebox Veuillez assurer une connexion stable et ne pas interrompre le processus !", "confirmFlashDialogHint": "Pour que ta Toniebox fonctionne correctement, l'instance TeddyCloud spécifiée est absolument nécessaire. Si ta TeddyCloud est hors ligne, ta Toniebox ne pourra plus accéder à de nouveaux contenus !", "confirmFlashModal": "Flasher la Toniebox avec le firmware patché", - "connectESPCollapseTitle": "Aide : Connecter UART avec Toniebox", "connected": "Connecté", + "connectESPCollapseTitle": "Aide : Connecter UART avec Toniebox", "connectingReadFlash": "Connexion pour lire le flash...", "connectingReadMac": "Connexion pour lire l'adresse MAC...", "connectingTo": "Connexion à", "connectingToESP": "Connexion à l'ESP...", "connectingWriteFlash": "Connexion pour écrire le flash...", - "downloadFlashFilesHint": "Les images du firmware sont stockées dans le répertoire de données de votre serveur au cas où vous voudriez les reflasher. Si vous voulez enregistrer vos images de firmware ailleurs, vous pouvez les télécharger et les mettre en lieu sûr :", + "downloadFlashFilesHint": "Les images du firmware sont stockées dans le répertoire de données de ton serveur au cas où tu voudrais les reflasher. Si tu ne l’as pas encore fait, télécharge dès maintenant une copie du firmware original et stocke-la en lieu sûr ! Cela te permettra de restaurer ta Toniebox à son état d’usine en cas de problème. Sauvegarde cette copie à plusieurs endroits — par exemple sur ton ordinateur principal ou portable, un disque dur externe ou une clé USB, et/ou un service de stockage en ligne fiable (comme Google Drive, Dropbox, OneDrive). Ne te fie pas uniquement à la copie stockée sur le serveur TeddyCloud.", "downloadLink": "Télécharger le firmware non patché", "downloadLinkPatched": "Télécharger le firmware patché", "error": "Erreur", @@ -1173,6 +1507,7 @@ "hostname": "Nom d'hôte TeddyCloud:", "hostnameSettings": "Nom d'hôte TeddyCloud", "hostnameTooLong": "Le nom d'hôte doit être inférieur à 13 caractères.", + "importanceBackup": "Avant de faire des modifications sur ta Toniebox, télécharge une copie du firmware original et stocke-la de manière sécurisée. Cela te permettra de restaurer ta Toniebox à son état d’usine en cas de problème. Sauvegarde-la à plusieurs endroits, comme sur ton ordinateur principal ou portable, un disque dur externe ou une clé USB, et/ou un service de stockage en ligne fiable (comme Google Drive, Dropbox, OneDrive). Ne conserve jamais ta seule copie uniquement sur le serveur TeddyCloud.", "infoTable": "Infos ESP32", "invalidSerialPort": "Port série invalide", "loadFile": "Charger le fichier", @@ -1200,12 +1535,12 @@ "titlePatchFlash": "Patch Flash", "titleReadESP32ImportFlash": "Lire l'ESP32/Importer le Flash", "uploadFailed": "Échec du téléchargement", - "uploadSuccessful": "Téléchargement réussi, enregistré sous", "uploading": "Téléchargement en cours...", + "uploadSuccessful": "Téléchargement réussi, enregistré sous", "wifiCredentialsIncomplete": "Identifiants WiFi incomplets ! Veuillez entrer à la fois le SSID ET le mot de passe, ou laisser les deux champs vides !", "wifiPassword": "Mot de passe WiFi:", - "wifiSSID": "SSID WiFi:", "wifiSettings": "Données WiFi (optionnel):", + "wifiSSID": "SSID WiFi:", "writingFinished": "Écriture terminée", "writingFlash": "Écriture de {{size}} MiB de mémoire flash..." }, @@ -1220,8 +1555,8 @@ "dumpCertificates": "Dump de certificats pour TeddyCloud", "flashCAreplacement": "Flasher le remplacement CA pour TeddyCloud", "flashCAreplacementText1": "Remplacez le CA d'origine dans votre dump flash avec esptool.", - "flashCAreplacementText2": "Remontez votre Toniebox. Si vous avez déjà défini le nom d'hôte de teddyCloud, vous pouvez ignorer l'étape DNS pour l'ESP32, sinon continuez avec l'étape DNS pour l'ESP32.", - "flashCAreplacementText3": "Votre Toniebox devrait maintenant pouvoir se connecter à votre teddyCloud. Effectuez un contrôle de fraîcheur et cliquez sur \"Vérifier les boîtes disponibles\".", + "flashCAreplacementText2": "Remontez votre Toniebox. Si vous avez déjà défini le nom d'hôte de TeddyCloud, vous pouvez ignorer l'étape DNS pour l'ESP32, sinon continuez avec l'étape DNS pour l'ESP32.", + "flashCAreplacementText3": "Votre Toniebox devrait maintenant pouvoir se connecter à votre TeddyCloud. Effectuez un contrôle de fraîcheur et cliquez sur \"Vérifier les boîtes disponibles\".", "followLegacyApproach": "Ou utilisez la méthode ancienne (pas de GUI, uniquement en ligne de commande).", "hint": "Il existe un support direct pour flasher votre Toniebox ESP32 avec TeddyCloud !", "installESPTool": "Installer l'outil ESP récent", @@ -1242,7 +1577,9 @@ "redirect": "Continuer vers HTTPS", "title": "ESP32 Flashage de la boîte" }, - "hintLatestFirmware": "Pour la configuration initiale de votre Toniebox avec TeddyCloud, assurez-vous qu'elle dispose du dernier firmware installé. Si vous n'êtes pas certain que votre Toniebox soit à jour, connectez-la au cloud officiel et laissez-lui le temps de terminer la mise à jour du firmware", + "hintLatestFirmware": "Pour la configuration initiale de ta Toniebox avec TeddyCloud, assure-toi qu'elle dispose du dernier firmware. Si tu n'es pas sûr(e), connecte ta Toniebox au cloud officiel et attends que la mise à jour du firmware soit terminée. Ensuite, place un Tonie original sur la box et vérifie qu'il fonctionne correctement.", + "hintLatestFirmwareFactoryResetCC3200": "Si tu as fait (par erreur) une réinitialisation d'usine sur une Toniebox flashée, il peut suffire de démarrer OFW1 une fois - un nouveau flashage n'est peut-être pas nécessaire.", + "hintLatestFirmwareFactoryResetESP32CC3235": "Si tu as fait (par erreur) une réinitialisation d'usine sur une Toniebox déjà flashée, tu dois d'abord reflasher le firmware original avant de la reconfigurer avec TeddyCloud.", "hintLatestFirmwareTitle": "Important", "lastOnline": "dernière connexion", "lastPlayedTonie": "Dernier Tonie joué: ", @@ -1278,8 +1615,8 @@ "title": "Vos Tonieboxes", "uploadTonieboxCertificatesModal": { "AttentionGeneralPath": "(ATTENTION: Chemin par défaut!)", - "Label": "Certificats", "boxSpecific": " (superposé pour la Toniebox)", + "Label": "Certificats", "uploadPath": "Chemin de téléchargement (certDir):", "uploadTonieboxCertificates": "Télécharger les certificats pour la Toniebox \"{{name}}\"" } @@ -1328,6 +1665,7 @@ "hide": "Masquer", "title": "Masquer le Tonie/Tag" }, + "connectionToBoxineNotAvailable": "Impossible de se connecter à Boxine/Toniecloud. Veuillez activer l'accès pour permettre le téléchargement.", "content": { "navigationTitle": "Contenu", "showToniesOfBoxes": "Contenu des Tonieboxes suivants", @@ -1358,27 +1696,117 @@ "targetDirectory": "Choisir le répertoire cible", "title": "Encodeur audio", "tooManyFilesError": "Trop de fichiers !", + "unsupportedFileType": "Type de fichier non pris en charge !", + "unsupportedFileTypeDetails": "Le fichier \"{{file}}\" a un type de fichier non pris en charge.", "upload": "Télécharger", "uploadFailed": "Échec du téléchargement", "uploadFailedDetails": "Le téléchargement a rencontré une erreur : ", "uploadFiles": "Sélectionner le(s) fichier(s)", "uploadHint": "Faites glisser les fichiers audio ici !", + "uploading": "Téléchargement...", + "uploadingDetails": "Téléchargement du fichier \"{{file}}\"...", "uploadSuccessful": "Encodage du fichier réussi !", "uploadSuccessfulDetails": "Les fichiers ont été encodés en tant que \"{{file}}\" et ajoutés à la bibliothèque avec succès !", - "uploadText": "Cliquez ou faites glisser jusqu'à {{maxFiles}} fichiers audio que vous souhaitez convertir en fichier taf pour les télécharger dans cette zone", - "uploading": "Téléchargement...", - "uploadingDetails": "Téléchargement du fichier \"{{file}}\"..." + "uploadText": "Cliquez ou faites glisser jusqu'à {{maxFiles}} fichiers audio que vous souhaitez convertir en fichier taf pour les télécharger dans cette zone" }, "errorFetchingSystemSounds": "Erreur lors de la récupération des sons du système", "errorFetchingTonies": "Erreur lors de la récupération des Tonies", + "help": { + "actionItems": { + "cloudIcon": { + "text": "Une icône grise signifie que la synchronisation cloud est activée ; rouge signifie désactivée. Clique pour basculer.", + "title": "Statut du cloud" + }, + "downloadIcon": { + "text": "Si l’accès au cloud est activé et autorisé, clique sur l’icône pour télécharger le contenu depuis le cloud Boxine/Tonie.", + "title": "Télécharger le contenu" + }, + "editIcon": { + "createNewModel": { + "description": "Ouvre une fenêtre pour saisir les détails du nouveau modèle. Cette fonction est encore en développement.", + "text": "Crée un modèle personnalisé pour ton Tonie/Étiquette.", + "title": "Créer un nouveau modèle (en cours)" + }, + "model": { + "description": "Recherche et assigne un modèle. L’image sera affichée dans l’aperçu.", + "text": "Affiche le modèle visuel assigné au Tonie/Étiquette.", + "title": "Modèle" + }, + "radioStreamSearch": { + "description": "Utilise le champ de recherche pour trouver un flux radio et l’assigner comme source.", + "text": "Recherche des stations radio en ligne (si l'API de radio-browser.info est disponible).", + "title": "Recherche de radio" + }, + "source": { + "description": "Tu peux assigner du contenu depuis ta bibliothèque (ex. fichiers TAF ou TAP) ou saisir une URL de stream.", + "text": "Affiche la source de contenu actuellement assignée.", + "title": "Source" + }, + "text": "Ouvre la fenêtre de modification avec les options suivantes :", + "title": "Modifier Tonie/Étiquette" + }, + "infoIcon": { + "download": { + "description": "Si disponible, tu peux télécharger le fichier TAF lié sous forme d’un fichier .ogg unique.", + "text": "Permet de télécharger le fichier TAF au format audio .ogg.", + "title": "Télécharger le TAF en .ogg" + }, + "exists": { + "description": "Le statut 'existe' est défini sur 'oui' si le fichier source assigné est présent.", + "text": "Indique si la source assignée au Tonie/Étiquette existe dans le système.", + "title": "Existe" + }, + "hide": { + "description": "Utilise cette option pour masquer un Tonie/Étiquette. Pour le faire réapparaître, place-le sur une de tes Tonieboxes.", + "text": "Retire le Tonie/Étiquette de l’aperçu.", + "title": "Masquer le Tonie/Étiquette" + }, + "text": "Ouvre une fenêtre avec les détails principaux du Tonie/Étiquette, y compris le titre, l'image, l'UID, la liste des pistes et divers indicateurs d’état :", + "title": "Informations Tonie/Étiquette", + "valid": { + "description": "Un Tonie/Étiquette est considéré comme valide si sa source est un fichier TAF valide.", + "text": "Indique si la source assignée au Tonie/Étiquette est valide.", + "title": "Valide" + } + }, + "liveIcon": { + "text": "L’icône rouge indique le mode 'live' : le contenu recommence depuis le début et se télécharge à nouveau. Activé automatiquement pour les flux radio. Clique pour changer.", + "title": "Statut en direct" + }, + "playIcon": { + "text": "Joue le contenu assigné au Tonie/Étiquette. Si l’icône est grise claire, aucun contenu n’est assigné.", + "title": "Lire le contenu" + } + }, + "blueTopBorder": { + "text": "Indique que ce Tonie/Étiquette a été le dernier joué sur au moins une de tes Tonieboxes.", + "title": "Bord supérieur bleu" + }, + "closeButton": "Fermer", + "modelImage": { + "bigImage": { + "description": "Cette image reflète le modèle sélectionné assigné au Tonie/Étiquette. Pour le modifier, tu dois assigner un autre modèle.", + "text": "Représente l'apparence visuelle du Tonie/Étiquette.", + "title": "Grande image" + }, + "smallImage": { + "description": "Affichée lorsque la source assignée est différente du modèle sélectionné.", + "text": "Indique la source réelle si elle diffère du modèle assigné.", + "title": "Petite image" + }, + "text": "Affiche la représentation visuelle du Tonie/Étiquette s'il est reconnu. Les Tonies/Étiquettes inconnus affichent un point d'interrogation. Si tu actives le paramètre 'Frontend' → 'Split content / model', deux images peuvent apparaître :", + "title": "Image du modèle Tonie/Étiquette" + }, + "title": "Aide" + }, "infoModal": { + "download": "Télécharger TAF en *.ogg", "exists": "Existe:", "model": "Modèle:", "no": "Non", "tracklist": "Liste des pistes:", "valid": "Valide:", - "yes": "Oui", - "download": "Télécharger TAF en *.ogg" + "yes": "Oui" }, "informationModal": { "hideTag": "Masquer le Tonie/Tag", @@ -1434,6 +1862,7 @@ "navigationTitle": "Tonies", "noData": "Aucun Tonies/Tags personnalisés trouvé.", "noDataText": "Les Tonies/Tags personnalisés n'apparaîtront qu'après qu'une Toniebox ait établi une connexion réussie et ait déjà des Tonies/Tags personnalisés sur sa carte SD. Assure-toi que ta Toniebox est correctement connectée et contient quelques Tonies/Tags personnalisés, ou place ton premier Tonie/Tag personnalisé sur ta Toniebox et rafraîchis cette page.", + "noPlayableContentHint": "Aucun contenu disponible pour la lecture. Soit il n'est pas assigné, soit des données sont manquantes provenant du cloud Tonies/Boxine. Placez la figurine sur la boîte pour résoudre ce problème.", "selectFileModal": { "cancel": "Annuler", "ok": "OK", @@ -1469,6 +1898,31 @@ "titleCreate": "Créer un nouveau TAP", "titleEdit": "Modifier le TAP" }, + "teddystudio": { + "clear": "Effacer la feuille", + "clearSettings": "Effacer", + "diameter": "Diamètre intérieur", + "empty": "Vide - Veuillez d'abord sélectionner des Tonies ou des Étiquettes !", + "height": "Hauteur", + "intro": "Recherchez tous les Tonies et étiquettes - à la fois officiels et personnalisés - pour créer votre feuille imprimable de Traveltonies (pièce).", + "labelShape": "Forme de l’étiquette", + "labelSpacing": "Espacement", + "labelSpacingX": "Espacement X", + "labelSpacingY": "Espacement Y", + "navigationTitle": "TeddyStudio", + "placeholder": "Entrez un terme de recherche !", + "printPage": "Imprimer la feuille", + "printSheet": "Votre feuille d'impression", + "round": "Rond", + "saveSettings": "Enregistrer", + "settings": "Paramètres", + "showLanguageFlag": "Afficher le drapeau de langue", + "showModelNo": "Imprimer le numéro de modèle", + "square": "Carré", + "textFontSize": "Taille du texte", + "title": "TeddyStudio", + "width": "Largeur" + }, "title": "Tonies", "tonies": { "filterBar": { diff --git a/contrib/data/www/web/web_version.json b/contrib/data/www/web/web_version.json index 3d596254..b70da446 100644 --- a/contrib/data/www/web/web_version.json +++ b/contrib/data/www/web/web_version.json @@ -2,9 +2,9 @@ "web_version": "vX.X.X", "web_gitDirty": "0", "web_gitTag": "undefined", - "web_gitDateTime": "2025-03-03 18:54:08 +0000", - "web_gitSha": "d24276e8d0972477d988449c566879974795d02a", + "web_gitDateTime": "2025-07-14 14:30:06 +0200", + "web_gitSha": "5b689a98d38672561f525342762426e285be6ced", "web_gitTagPrefix": "undefined", - "web_gitShortSha": "d24276e", + "web_gitShortSha": "5b689a9", "_eof":"" } diff --git a/cyclone/common b/cyclone/common index bb0b9deb..7b402407 160000 --- a/cyclone/common +++ b/cyclone/common @@ -1 +1 @@ -Subproject commit bb0b9debddb953e8fe19dfa02fae4517f18300e4 +Subproject commit 7b402407038962c14ca65a124cea3bde72292170 diff --git a/cyclone/cyclone_crypto b/cyclone/cyclone_crypto index 3b2c1a94..8da34eef 160000 --- a/cyclone/cyclone_crypto +++ b/cyclone/cyclone_crypto @@ -1 +1 @@ -Subproject commit 3b2c1a947e2a0516535b0fce9e8960e6ea7e0c2f +Subproject commit 8da34eef143813357bb066e60a252e99674aba43 diff --git a/cyclone/cyclone_ssl b/cyclone/cyclone_ssl index 31e29cf9..a74d6762 160000 --- a/cyclone/cyclone_ssl +++ b/cyclone/cyclone_ssl @@ -1 +1 @@ -Subproject commit 31e29cf94baf139129912312a2c0b47f9ea57d26 +Subproject commit a74d676237aa58806ffc2f69cdabe2255bccfe5f diff --git a/cyclone/cyclone_tcp b/cyclone/cyclone_tcp index 00dff974..06e2cf6f 160000 --- a/cyclone/cyclone_tcp +++ b/cyclone/cyclone_tcp @@ -1 +1 @@ -Subproject commit 00dff97423aee46d3a8577082140ca9bbaa8a9ad +Subproject commit 06e2cf6fc1271a8c9854ea507ab4f280feec3cce diff --git a/include/settings.h b/include/settings.h index 651811b0..6c46585d 100644 --- a/include/settings.h +++ b/include/settings.h @@ -26,7 +26,7 @@ #define TONIEBOX_CUSTOM_JSON_FILE "tonieboxes.custom.json" #define CONFIG_FILE "config.ini" #define CONFIG_OVERLAY_FILE "config.overlay.ini" -#define CONFIG_VERSION 13 +#define CONFIG_VERSION 14 #define MAX_OVERLAYS 16 + 1 typedef enum @@ -102,6 +102,7 @@ typedef struct bool split_model_content; bool ignore_web_version_mismatch; bool confirm_audioplayer_close; + bool check_cc3200_cfw; } settings_frontend_t; typedef struct @@ -293,6 +294,8 @@ typedef struct char *flex_uid; char *bind_ip; + uint32_t http_client_timeout; + bool new_webgui_as_default; settings_level settings_level; diff --git a/include/toniefile.h b/include/toniefile.h index f1ce8c7d..da8f3a99 100644 --- a/include/toniefile.h +++ b/include/toniefile.h @@ -40,7 +40,7 @@ typedef struct OsTaskId taskId; bool_t quit; bool_t stop_on_playback_stop; - + OsTaskParameters taskParams; void *ctx; } stream_ctx_t; @@ -67,4 +67,4 @@ error_t ffmpeg_decode_audio_end(FILE *ffmpeg_pipe, error_t error); error_t ffmpeg_decode_audio(FILE *ffmpeg_pipe, int16_t *buffer, size_t size, size_t *blocks_read); error_t ffmpeg_stream(char source[99][PATH_LEN], size_t source_len, size_t *current_source, const char *target_taf, size_t skip_seconds, bool_t *active, bool_t *sweep, bool_t append, bool_t isStream); error_t ffmpeg_convert(char source[99][PATH_LEN], size_t source_len, size_t *current_source, const char *target_taf, size_t skip_seconds); -void ffmpeg_stream_task(void *param); \ No newline at end of file +void ffmpeg_stream_task(void *param); diff --git a/opus b/opus index 101a71e0..ddbe4838 160000 --- a/opus +++ b/opus @@ -1 +1 @@ -Subproject commit 101a71e03bbf860aaafb7090a0e440675cb27660 +Subproject commit ddbe48383984d56acd9e1ab6a090c54ca6b735a6 diff --git a/src/cert.c b/src/cert.c index c12e5514..1870b767 100644 --- a/src/cert.c +++ b/src/cert.c @@ -429,10 +429,7 @@ error_t cert_generate_default() if (error_ca != NO_ERROR || error_ca_key != NO_ERROR) { - - /* create a proper ASN.1 compatible serial with no leading zeroes */ cert_generate_serial(serial, &serial_length); - serial[0] = 0x00; TRACE_INFO("Generating CA certificate...\r\n"); if (cert_generate_signed("TeddyCloud CA Root Cert.", serial, serial_length, CA_RSA_SIZE, true, false, cacert, cacert_key) != NO_ERROR) diff --git a/src/cloud_request.c b/src/cloud_request.c index 9d687d92..25ebe1b4 100644 --- a/src/cloud_request.c +++ b/src/cloud_request.c @@ -221,7 +221,7 @@ error_t web_request(const char *server, int port, bool https, const char *uri, c { return error; } - error = httpClientSetTimeout(&httpClientContext, 1000); + error = httpClientSetTimeout(&httpClientContext, settings->core.http_client_timeout); if (error) { return error; @@ -348,7 +348,7 @@ error_t web_request(const char *server, int port, bool https, const char *uri, c if (error) { // Debug message - TRACE_ERROR("Failed to read HTTP response header!\r\n"); + TRACE_ERROR("Failed to read HTTP response header, error=%s!\r\n", error2text(error)); if (isCloud) stats_update("cloud_failed", 1); break; diff --git a/src/cyclone/common/compiler_port.h b/src/cyclone/common/compiler_port.h index 2e87ce18..aa15efdc 100644 --- a/src/cyclone/common/compiler_port.h +++ b/src/cyclone/common/compiler_port.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,7 +23,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.2 + * @version 2.4.4 **/ #ifndef _COMPILER_PORT_H @@ -168,21 +168,26 @@ typedef unsigned int uint_t; //Tasking compiler? #elif defined(__TASKING__) char *strtok_r(char *s, const char *delim, char **last); +//Microchip XC32 compiler? +#elif defined(__XC32) + #define sprintf _sprintf + int sprintf(char *str, const char *format, ...); + int strcasecmp(const char *s1, const char *s2); + int strncasecmp(const char *s1, const char *s2, size_t n); + char *strtok_r(char *s, const char *delim, char **last); //NXP CodeWarrior compiler? #elif defined(__CWCC__) typedef uint32_t time_t; int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n); char *strtok_r(char *s, const char *delim, char **last); -//TI ARM compiler? -#elif defined(__TI_ARM__) +//Renesas CC-RX compiler? +#elif defined(__CCRX__) int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n); char *strtok_r(char *s, const char *delim, char **last); -//Microchip XC32 compiler? -#elif defined(__XC32) - #define sprintf _sprintf - int sprintf(char * str, const char * format, ...); +//TI ARM compiler? +#elif defined(__TI_ARM__) int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n); char *strtok_r(char *s, const char *delim, char **last); @@ -225,6 +230,12 @@ typedef unsigned int uint_t; #define __packed_struct struct #undef __packed_union #define __packed_union union +//Renesas CC-RX compiler? +#elif defined(__CCRX__) + #undef __packed_struct + #define __packed_struct struct + #undef __packed_union + #define __packed_union union //TI ARM compiler? #elif defined(__TI_ARM__) #undef __packed_struct @@ -259,6 +270,9 @@ typedef unsigned int uint_t; //NXP CodeWarrior compiler? #elif defined(__CWCC__) #define __weak_func + //Renesas CC-RX compiler? + #elif defined(__CCRX__) + #define __weak_func //TI ARM compiler? #elif defined(__TI_ARM__) #define __weak_func __attribute__((weak)) diff --git a/src/cyclone/common/debug.c b/src/cyclone/common/debug.c index ba6d6539..c9b6ea0e 100644 --- a/src/cyclone/common/debug.c +++ b/src/cyclone/common/debug.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2022 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,7 +23,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.2.0 + * @version 2.4.4 **/ //Dependencies diff --git a/src/cyclone/common/error.c b/src/cyclone/common/error.c index a31b9da4..53235d4f 100644 --- a/src/cyclone/common/error.c +++ b/src/cyclone/common/error.c @@ -1,6 +1,6 @@ #include "error.h" -#define ERROR_COUNT 597 + 1 +#define ERROR_COUNT 598 + 1 static char *error_text[ERROR_COUNT]; @@ -176,85 +176,86 @@ void error_text_init() error_text[516] = "No acknowledgment received [516]"; error_text[517] = "Invalid metadata [517]"; error_text[518] = "Not configured [518]"; - error_text[519] = "Name resolution failed [519]"; - error_text[520] = "No route to destination [520]"; - error_text[521] = "Write failed [521]"; - error_text[522] = "Read failed [522]"; - error_text[523] = "Upload failed [523]"; - error_text[524] = "Read-only access [524]"; - error_text[525] = "Invalid signature [525]"; - error_text[526] = "Invalid ticket [526]"; - error_text[527] = "No ticket [527]"; - error_text[528] = "Bad record MAC [528]"; - error_text[529] = "Record overflow [529]"; - error_text[530] = "Handshake failed [530]"; - error_text[531] = "No certificate [531]"; - error_text[532] = "Bad certificate [532]"; - error_text[533] = "Unsupported certificate [533]"; - error_text[534] = "Unknown certificate [534]"; - error_text[535] = "Certificate expired [535]"; - error_text[536] = "Certificate revoked [536]"; - error_text[537] = "Unknown certificate authority [537]"; - error_text[538] = "Decoding failed [538]"; - error_text[539] = "Decryption failed [539]"; - error_text[540] = "Illegal parameter [540]"; - error_text[541] = "Missing extension [541]"; - error_text[542] = "Unsupported extension [542]"; - error_text[543] = "Inappropriate fallback [543]"; - error_text[544] = "No application protocol [544]"; - error_text[545] = "More data required [545]"; - error_text[546] = "TLS not supported [546]"; - error_text[547] = "PRNG not ready [547]"; - error_text[548] = "Service closing [548]"; - error_text[549] = "Invalid timestamp [549]"; - error_text[550] = "No DNS server [550]"; - error_text[551] = "Object not found [551]"; - error_text[552] = "Instance not found [552]"; - error_text[553] = "Address not found [553]"; - error_text[554] = "Unknown identity [554]"; - error_text[555] = "Unknown engine ID [555]"; - error_text[556] = "Unknown user name [556]"; - error_text[557] = "Unknown identity [557]"; - error_text[558] = "Unknown engine ID [558]"; - error_text[559] = "Unknown user name [559]"; - error_text[560] = "Unknown context [560]"; - error_text[561] = "Unavailable context [561]"; - error_text[562] = "Unsupported security level [562]"; - error_text[563] = "Not in time window [563]"; - error_text[564] = "Authorization failed [564]"; - error_text[565] = "Invalid function code [565]"; - error_text[566] = "Device busy [566]"; - error_text[567] = "Request rejected [567]"; - error_text[568] = "Invalid channel [568]"; - error_text[569] = "Invalid group [569]"; - error_text[570] = "Unknown service [570]"; - error_text[571] = "Unknown request [571]"; - error_text[572] = "Flow control [572]"; - error_text[573] = "Invalid password [573]"; - error_text[574] = "Invalid handle [574]"; - error_text[575] = "Bad nonce [575]"; - error_text[576] = "Unexpected status [576]"; - error_text[577] = "Response too large [577]"; - error_text[578] = "Invalid session [578]"; - error_text[579] = "Ticket expired [579]"; - error_text[580] = "Invalid entry [580]"; - error_text[581] = "Table full [581]"; - error_text[582] = "End of table [582]"; - error_text[583] = "Already running [583]"; - error_text[584] = "Unknown key [584]"; - error_text[585] = "Unknown type [585]"; - error_text[586] = "Unsupported option [586]"; - error_text[587] = "Invalid SPI [587]"; - error_text[588] = "Retry [588]"; - error_text[589] = "Policy failure [589]"; - error_text[590] = "Invalid proposal [590]"; - error_text[591] = "Invalid selector [591]"; - error_text[592] = "Wrong nonce [592]"; - error_text[593] = "Wrong issuer [593]"; - error_text[594] = "Response expired [594]"; - error_text[595] = "CRL expired [595]"; - error_text[596] = "No match [596]"; - error_text[597] = "Partial match [597]"; + error_text[519] = "Already configured [519]"; + error_text[520] = "Name resolution failed [520]"; + error_text[521] = "No route to destination [521]"; + error_text[522] = "Write failed [522]"; + error_text[523] = "Read failed [523]"; + error_text[524] = "Upload failed [524]"; + error_text[525] = "Read-only access [525]"; + error_text[526] = "Invalid signature [526]"; + error_text[527] = "Invalid ticket [527]"; + error_text[528] = "No ticket [528]"; + error_text[529] = "Bad record MAC [529]"; + error_text[530] = "Record overflow [530]"; + error_text[531] = "Handshake failed [531]"; + error_text[532] = "No certificate [532]"; + error_text[533] = "Bad certificate [533]"; + error_text[534] = "Unsupported certificate [534]"; + error_text[535] = "Unknown certificate [535]"; + error_text[536] = "Certificate expired [536]"; + error_text[537] = "Certificate revoked [537]"; + error_text[538] = "Unknown certificate authority [538]"; + error_text[539] = "Decoding failed [539]"; + error_text[540] = "Decryption failed [540]"; + error_text[541] = "Illegal parameter [541]"; + error_text[542] = "Missing extension [542]"; + error_text[543] = "Unsupported extension [543]"; + error_text[544] = "Inappropriate fallback [544]"; + error_text[545] = "No application protocol [545]"; + error_text[546] = "More data required [546]"; + error_text[547] = "TLS not supported [547]"; + error_text[548] = "PRNG not ready [548]"; + error_text[549] = "Service closing [549]"; + error_text[550] = "Invalid timestamp [550]"; + error_text[551] = "No DNS server [551]"; + error_text[552] = "Object not found [552]"; + error_text[553] = "Instance not found [553]"; + error_text[554] = "Address not found [554]"; + error_text[555] = "Unknown identity [555]"; + error_text[556] = "Unknown engine ID [556]"; + error_text[557] = "Unknown user name [557]"; + error_text[558] = "Unknown identity [558]"; + error_text[559] = "Unknown engine ID [559]"; + error_text[560] = "Unknown user name [560]"; + error_text[561] = "Unknown context [561]"; + error_text[562] = "Unavailable context [562]"; + error_text[563] = "Unsupported security level [563]"; + error_text[564] = "Not in time window [564]"; + error_text[565] = "Authorization failed [565]"; + error_text[566] = "Invalid function code [566]"; + error_text[567] = "Device busy [567]"; + error_text[568] = "Request rejected [568]"; + error_text[569] = "Invalid channel [569]"; + error_text[570] = "Invalid group [570]"; + error_text[571] = "Unknown service [571]"; + error_text[572] = "Unknown request [572]"; + error_text[573] = "Flow control [573]"; + error_text[574] = "Invalid password [574]"; + error_text[575] = "Invalid handle [575]"; + error_text[576] = "Bad nonce [576]"; + error_text[577] = "Unexpected status [577]"; + error_text[578] = "Response too large [578]"; + error_text[579] = "Invalid session [579]"; + error_text[580] = "Ticket expired [580]"; + error_text[581] = "Invalid entry [581]"; + error_text[582] = "Table full [582]"; + error_text[583] = "End of table [583]"; + error_text[584] = "Already running [584]"; + error_text[585] = "Unknown key [585]"; + error_text[586] = "Unknown type [586]"; + error_text[587] = "Unsupported option [587]"; + error_text[588] = "Invalid SPI [588]"; + error_text[588] = "Retry [589]"; + error_text[590] = "Policy failure [590]"; + error_text[591] = "Invalid proposal [591]"; + error_text[592] = "Invalid selector [592]"; + error_text[593] = "Wrong nonce [593]"; + error_text[594] = "Wrong issuer [594]"; + error_text[595] = "Response expired [595]"; + error_text[596] = "CRL expired [596]"; + error_text[597] = "No match [597]"; + error_text[598] = "Partial match [598]"; } const char *httpstatus2text(error_t error) @@ -350,4 +351,4 @@ const char *httpstatus2text(error_t error) default: return "Unknown HTTP Status Code"; } -} \ No newline at end of file +} diff --git a/src/cyclone/common/error.h b/src/cyclone/common/error.h index ea2f8ed3..127e8ade 100644 --- a/src/cyclone/common/error.h +++ b/src/cyclone/common/error.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,7 +23,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.2 + * @version 2.4.4 **/ #ifndef _ERROR_H @@ -31,286 +31,287 @@ // C++ guard #ifdef __cplusplus -extern "C" -{ +extern "C" { #endif - /** - * @brief Error codes - **/ - - typedef enum - { - NO_ERROR = 0, ///< Success - ERROR_FAILURE = 1, ///< Generic error code - - ERROR_INVALID_PARAMETER, ///< Invalid parameter - ERROR_PARAMETER_OUT_OF_RANGE, ///< Specified parameter is out of range - - ERROR_BAD_CRC, - ERROR_BAD_BLOCK, - ERROR_INVALID_RECIPIENT, ///< Invalid recipient - ERROR_INVALID_INTERFACE, ///< Invalid interface - ERROR_INVALID_ENDPOINT, ///< Invalid endpoint - ERROR_INVALID_ALT_SETTING, ///< Alternate setting does not exist - ERROR_UNSUPPORTED_REQUEST, ///< Unsupported request - ERROR_UNSUPPORTED_CONFIGURATION, ///< Unsupported configuration - ERROR_UNSUPPORTED_FEATURE, ///< Unsupported feature - ERROR_ENDPOINT_BUSY, ///< Endpoint already in use - ERROR_USB_RESET, - ERROR_ABORTED, - - ERROR_OUT_OF_MEMORY = 100, - ERROR_OUT_OF_RESOURCES, - ERROR_INVALID_REQUEST, - ERROR_NOT_IMPLEMENTED, - ERROR_VERSION_NOT_SUPPORTED, - ERROR_INVALID_SYNTAX, - ERROR_AUTHENTICATION_FAILED, - ERROR_UNEXPECTED_RESPONSE, - ERROR_INVALID_RESPONSE, - ERROR_UNEXPECTED_VALUE, - ERROR_WAIT_CANCELED, - - ERROR_OPEN_FAILED = 200, - ERROR_CONNECTION_FAILED, - ERROR_CONNECTION_REFUSED, - ERROR_CONNECTION_CLOSING, - ERROR_CONNECTION_RESET, - ERROR_NOT_CONNECTED, - ERROR_ALREADY_CLOSED, - ERROR_ALREADY_CONNECTED, - ERROR_INVALID_SOCKET, - ERROR_PROTOCOL_UNREACHABLE, - ERROR_PORT_UNREACHABLE, - ERROR_INVALID_FRAME, - ERROR_INVALID_HEADER, - ERROR_WRONG_CHECKSUM, - ERROR_WRONG_IDENTIFIER, - ERROR_WRONG_CLIENT_ID, - ERROR_WRONG_SERVER_ID, - ERROR_WRONG_COOKIE, - ERROR_NO_RESPONSE, - ERROR_RECEIVE_QUEUE_FULL, - ERROR_TIMEOUT, - ERROR_WOULD_BLOCK, - ERROR_INVALID_NAME, - ERROR_INVALID_OPTION, - ERROR_UNEXPECTED_STATE, - ERROR_INVALID_COMMAND, - ERROR_INVALID_PROTOCOL, - ERROR_INVALID_STATUS, - ERROR_INVALID_ADDRESS, - ERROR_INVALID_PORT, - ERROR_INVALID_MESSAGE, - ERROR_INVALID_KEY, - ERROR_INVALID_KEY_LENGTH, - ERROR_INVALID_EPOCH, - ERROR_INVALID_SEQUENCE_NUMBER, - ERROR_INVALID_CHARACTER, - ERROR_INVALID_LENGTH, - ERROR_INVALID_PADDING, - ERROR_INVALID_MAC, - ERROR_INVALID_TAG, - ERROR_INVALID_TYPE, - ERROR_INVALID_VALUE, - ERROR_INVALID_CLASS, - ERROR_INVALID_VERSION, - ERROR_INVALID_PIN_CODE, - ERROR_WRONG_LENGTH, - ERROR_WRONG_TYPE, - ERROR_WRONG_ENCODING, - ERROR_WRONG_VALUE, - ERROR_INCONSISTENT_VALUE, - ERROR_UNSUPPORTED_TYPE, - ERROR_UNSUPPORTED_ALGO, - ERROR_UNSUPPORTED_CIPHER_SUITE, - ERROR_UNSUPPORTED_CIPHER_MODE, - ERROR_UNSUPPORTED_CIPHER_ALGO, - ERROR_UNSUPPORTED_HASH_ALGO, - ERROR_UNSUPPORTED_KEY_EXCH_ALGO, - ERROR_UNSUPPORTED_SIGNATURE_ALGO, - ERROR_UNSUPPORTED_ELLIPTIC_CURVE, - ERROR_INVALID_SIGNATURE_ALGO, - ERROR_CERTIFICATE_REQUIRED, - ERROR_MESSAGE_TOO_LONG, - ERROR_OUT_OF_RANGE, - ERROR_MESSAGE_DISCARDED, - - ERROR_INVALID_PACKET, - ERROR_BUFFER_EMPTY, - ERROR_BUFFER_OVERFLOW, - ERROR_BUFFER_UNDERFLOW, - - ERROR_INVALID_RESOURCE, - ERROR_INVALID_PATH, - ERROR_NOT_FOUND, - ERROR_ACCESS_DENIED, - ERROR_NOT_WRITABLE, - ERROR_AUTH_REQUIRED, - - ERROR_TRANSMITTER_BUSY, - ERROR_NO_RUNNING, - - ERROR_INVALID_FILE = 300, - ERROR_FILE_NOT_FOUND, - ERROR_FILE_OPENING_FAILED, - ERROR_FILE_READING_FAILED, - ERROR_END_OF_FILE, - ERROR_UNEXPECTED_END_OF_FILE, - ERROR_UNKNOWN_FILE_FORMAT, - - ERROR_INVALID_DIRECTORY, - ERROR_DIRECTORY_NOT_FOUND, - - ERROR_FILE_SYSTEM_NOT_SUPPORTED = 400, - ERROR_UNKNOWN_FILE_SYSTEM, - ERROR_INVALID_FILE_SYSTEM, - ERROR_INVALID_BOOT_SECTOR_SIGNATURE, - ERROR_INVALID_SECTOR_SIZE, - ERROR_INVALID_CLUSTER_SIZE, - ERROR_INVALID_FILE_RECORD_SIZE, - ERROR_INVALID_INDEX_BUFFER_SIZE, - ERROR_INVALID_VOLUME_DESCRIPTOR_SIGNATURE, - ERROR_INVALID_VOLUME_DESCRIPTOR, - ERROR_INVALID_FILE_RECORD, - ERROR_INVALID_INDEX_BUFFER, - ERROR_INVALID_DATA_RUNS, - ERROR_WRONG_TAG_IDENTIFIER, - ERROR_WRONG_TAG_CHECKSUM, - ERROR_WRONG_MAGIC_NUMBER, - ERROR_WRONG_SEQUENCE_NUMBER, - ERROR_DESCRIPTOR_NOT_FOUND, - ERROR_ATTRIBUTE_NOT_FOUND, - ERROR_RESIDENT_ATTRIBUTE, - ERROR_NOT_RESIDENT_ATTRIBUTE, - ERROR_INVALID_SUPER_BLOCK, - ERROR_INVALID_SUPER_BLOCK_SIGNATURE, - ERROR_INVALID_BLOCK_SIZE, - ERROR_UNSUPPORTED_REVISION_LEVEL, - ERROR_INVALID_INODE_SIZE, - ERROR_INODE_NOT_FOUND, - - ERROR_UNEXPECTED_MESSAGE = 500, - - ERROR_URL_TOO_LONG, - ERROR_QUERY_STRING_TOO_LONG, - - ERROR_NO_ADDRESS, - ERROR_NO_BINDING, - ERROR_NOT_ON_LINK, - ERROR_USE_MULTICAST, - ERROR_NAK_RECEIVED, - ERROR_EXCEPTION_RECEIVED, - - ERROR_NO_CARRIER, - - ERROR_INVALID_LEVEL, - ERROR_WRONG_STATE, - ERROR_END_OF_STREAM, - ERROR_LINK_DOWN, - ERROR_INVALID_OPTION_LENGTH, - ERROR_IN_PROGRESS, - - ERROR_NO_ACK, - ERROR_INVALID_METADATA, - ERROR_NOT_CONFIGURED, - ERROR_NAME_RESOLUTION_FAILED, - ERROR_NO_ROUTE, - - ERROR_WRITE_FAILED, - ERROR_READ_FAILED, - ERROR_UPLOAD_FAILED, - ERROR_READ_ONLY_ACCESS, - - ERROR_INVALID_SIGNATURE, - ERROR_INVALID_TICKET, - ERROR_NO_TICKET, - - ERROR_BAD_RECORD_MAC, - ERROR_RECORD_OVERFLOW, - ERROR_HANDSHAKE_FAILED, - ERROR_NO_CERTIFICATE, - ERROR_BAD_CERTIFICATE, - ERROR_UNSUPPORTED_CERTIFICATE, - ERROR_UNKNOWN_CERTIFICATE, - ERROR_CERTIFICATE_EXPIRED, - ERROR_CERTIFICATE_REVOKED, - ERROR_UNKNOWN_CA, - ERROR_DECODING_FAILED, - ERROR_DECRYPTION_FAILED, - ERROR_ILLEGAL_PARAMETER, - ERROR_MISSING_EXTENSION, - ERROR_UNSUPPORTED_EXTENSION, - ERROR_INAPPROPRIATE_FALLBACK, - ERROR_NO_APPLICATION_PROTOCOL, - - ERROR_MORE_DATA_REQUIRED, - ERROR_TLS_NOT_SUPPORTED, - ERROR_PRNG_NOT_READY, - ERROR_SERVICE_CLOSING, - ERROR_INVALID_TIMESTAMP, - ERROR_NO_DNS_SERVER, - - ERROR_OBJECT_NOT_FOUND, - ERROR_INSTANCE_NOT_FOUND, - ERROR_ADDRESS_NOT_FOUND, - - ERROR_UNKNOWN_IDENTITY, - ERROR_UNKNOWN_ENGINE_ID, - ERROR_UNKNOWN_USER_NAME, - ERROR_UNKNOWN_CONTEXT, - ERROR_UNAVAILABLE_CONTEXT, - ERROR_UNSUPPORTED_SECURITY_LEVEL, - ERROR_NOT_IN_TIME_WINDOW, - ERROR_AUTHORIZATION_FAILED, - - ERROR_INVALID_FUNCTION_CODE, - ERROR_DEVICE_BUSY, - - ERROR_REQUEST_REJECTED, - - ERROR_INVALID_CHANNEL, - ERROR_INVALID_GROUP, - ERROR_UNKNOWN_SERVICE, - ERROR_UNKNOWN_REQUEST, - ERROR_FLOW_CONTROL, - - ERROR_INVALID_PASSWORD, - ERROR_INVALID_HANDLE, - ERROR_BAD_NONCE, - ERROR_UNEXPECTED_STATUS, - ERROR_RESPONSE_TOO_LARGE, - - ERROR_INVALID_SESSION, - ERROR_TICKET_EXPIRED, - - ERROR_INVALID_ENTRY, - ERROR_TABLE_FULL, - ERROR_END_OF_TABLE, - - ERROR_ALREADY_RUNNING, - ERROR_UNKOWN_KEY, - ERROR_UNKNOWN_TYPE, - ERROR_UNSUPPORTED_OPTION, - ERROR_INVALID_SPI, - ERROR_RETRY, - ERROR_POLICY_FAILURE, - ERROR_INVALID_PROPOSAL, - ERROR_INVALID_SELECTOR, - - ERROR_WRONG_NONCE, - ERROR_WRONG_ISSUER, - ERROR_RESPONSE_EXPIRED, - ERROR_CRL_EXPIRED, - - ERROR_NO_MATCH, - ERROR_PARTIAL_MATCH - } error_t; - - char *error2text(error_t error); - void error_text_init(); - const char *httpstatus2text(error_t error); + +/** + * @brief Error codes + **/ + +typedef enum +{ + NO_ERROR = 0, /// + #define osAtoi(s) atoi(s) +#endif + //Convert string to unsigned long integer #ifndef osStrtoul #include diff --git a/src/cyclone/common/os_port_posix.c b/src/cyclone/common/os_port_posix.c index b52764d3..8d65697e 100644 --- a/src/cyclone/common/os_port_posix.c +++ b/src/cyclone/common/os_port_posix.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,7 +23,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ //Switch to the appropriate trace level @@ -46,6 +46,13 @@ //Pthread start routine typedef void *(*PthreadTaskCode) (void *param); +//Default task parameters +const OsTaskParameters OS_TASK_DEFAULT_PARAMS = +{ + 0, //Size of the stack + 0 //Task priority +}; + /** * @brief Kernel initialization @@ -69,22 +76,21 @@ void osStartKernel(void) /** * @brief Create a task - * @param[in] name A name identifying the task + * @param[in] name NULL-terminated string identifying the task * @param[in] taskCode Pointer to the task entry function - * @param[in] param A pointer to a variable to be passed to the task - * @param[in] stackSize The initial size of the stack, in words - * @param[in] priority The priority at which the task should run + * @param[in] arg Argument passed to the task function + * @param[in] params Task parameters * @return Task identifier referencing the newly created task **/ -OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, - void *param, size_t stackSize, int_t priority) +OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void *arg, + const OsTaskParameters *params) { int_t ret; pthread_t thread; //Create a new thread - ret = pthread_create(&thread, NULL, (PthreadTaskCode) taskCode, param); + ret = pthread_create(&thread, NULL, (PthreadTaskCode) taskCode, arg); //Return a pointer to the newly created thread if(ret == 0) @@ -93,7 +99,7 @@ OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, } else { - return OS_INVALID_TASK_ID; + return (OsTaskId) OS_INVALID_TASK_ID; } } @@ -106,7 +112,7 @@ OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void osDeleteTask(OsTaskId taskId) { //Delete the calling thread? - if(taskId == OS_SELF_TASK_ID) + if(taskId == (OsTaskId) OS_SELF_TASK_ID) { //Kill ourselves pthread_exit(NULL); @@ -155,15 +161,18 @@ void osMutexInit(void) /** * @brief Suspend scheduler activity **/ + void osSuspendAllTasks(void) { pthread_once(&init_once, osMutexInit); pthread_mutex_lock(&mutex); } + /** * @brief Resume scheduler activity **/ + void osResumeAllTasks(void) { pthread_mutex_unlock(&mutex); diff --git a/src/cyclone/common/os_port_posix.h b/src/cyclone/common/os_port_posix.h index d9e7e012..adb16b3a 100644 --- a/src/cyclone/common/os_port_posix.h +++ b/src/cyclone/common/os_port_posix.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2022 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,7 +23,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.2.0 + * @version 2.4.4 **/ #ifndef _OS_PORT_POSIX_H @@ -33,13 +33,10 @@ #include #include -//Use dynamic memory allocation for tasks -#define OS_STATIC_TASK_SUPPORT DISABLED - //Invalid task identifier -#define OS_INVALID_TASK_ID (OsTaskId)(-1) +#define OS_INVALID_TASK_ID -1 //Self task identifier -#define OS_SELF_TASK_ID (OsTaskId)(-1) +#define OS_SELF_TASK_ID -1 //Task priority (normal) #ifndef OS_TASK_PRIORITY_NORMAL @@ -95,6 +92,17 @@ typedef uint32_t systime_t; typedef pthread_t OsTaskId; +/** + * @brief Task parameters + **/ + +typedef struct +{ + size_t stackSize; + uint_t priority; +} OsTaskParameters; + + /** * @brief Event object **/ @@ -120,16 +128,19 @@ typedef pthread_mutex_t OsMutex; * @brief Task routine **/ -typedef void (*OsTaskCode)(void *param); +typedef void (*OsTaskCode)(void *arg); + +//Default task parameters +extern const OsTaskParameters OS_TASK_DEFAULT_PARAMS; //Kernel management void osInitKernel(void); void osStartKernel(void); //Task management -OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, - void *param, size_t stackSize, int_t priority); +OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void *arg, + const OsTaskParameters *params); void osDeleteTask(OsTaskId taskId); void osDelayTask(systime_t delay); diff --git a/src/cyclone/common/os_port_windows.c b/src/cyclone/common/os_port_windows.c index d1bc60a1..4da5368f 100644 --- a/src/cyclone/common/os_port_windows.c +++ b/src/cyclone/common/os_port_windows.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,7 +23,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ //Switch to the appropriate trace level @@ -44,6 +44,14 @@ #include #include "os_port.h" #include "os_port_windows.h" +//#include "debug.h" + +// Default task parameters +const OsTaskParameters OS_TASK_DEFAULT_PARAMS = +{ + 0, //Size of the stack + 0 //Task priority +}; /** @@ -68,22 +76,21 @@ void osStartKernel(void) /** * @brief Create a task - * @param[in] name A name identifying the task + * @param[in] name NULL-terminated string identifying the task * @param[in] taskCode Pointer to the task entry function - * @param[in] param A pointer to a variable to be passed to the task - * @param[in] stackSize The initial size of the stack, in words - * @param[in] priority The priority at which the task should run + * @param[in] arg Argument passed to the task function + * @param[in] params Task parameters * @return Task identifier referencing the newly created task **/ -OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, - void *param, size_t stackSize, int_t priority) +OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void *arg, + const OsTaskParameters *params) { void *handle; //Create a new thread handle = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) taskCode, - param, 0, NULL); + arg, 0, NULL); WCHAR wname[128]; MultiByteToWideChar(CP_ACP, 0, name, -1, wname, sizeof(wname) / sizeof(wname[0])); diff --git a/src/cyclone/common/os_port_windows.h b/src/cyclone/common/os_port_windows.h index 48f7b3de..fdd1ad8c 100644 --- a/src/cyclone/common/os_port_windows.h +++ b/src/cyclone/common/os_port_windows.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2022 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,15 +23,12 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.2.0 + * @version 2.4.4 **/ #ifndef _OS_PORT_WINDOWS_H #define _OS_PORT_WINDOWS_H -//Use dynamic memory allocation for tasks -#define OS_STATIC_TASK_SUPPORT DISABLED - //Invalid task identifier #define OS_INVALID_TASK_ID NULL //Self task identifier @@ -91,6 +88,17 @@ typedef uint32_t systime_t; typedef void *OsTaskId; +/** + * @brief Task parameters + **/ + +typedef struct +{ + size_t stackSize; + uint_t priority; +} OsTaskParameters; + + /** * @brief Event object **/ @@ -125,16 +133,19 @@ typedef struct * @brief Task routine **/ -typedef void (*OsTaskCode)(void *param); +typedef void (*OsTaskCode)(void *arg); + +//Default task parameters +extern const OsTaskParameters OS_TASK_DEFAULT_PARAMS; //Kernel management void osInitKernel(void); void osStartKernel(void); //Task management -OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, - void *param, size_t stackSize, int_t priority); +OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void *arg, + const OsTaskParameters *params); void osDeleteTask(OsTaskId taskId); void osDelayTask(systime_t delay); diff --git a/src/cyclone/cyclone_crypto/cipher/aes.c b/src/cyclone/cyclone_crypto/cipher/aes.c index 9eda78b2..80fb0684 100644 --- a/src/cyclone/cyclone_crypto/cipher/aes.c +++ b/src/cyclone/cyclone_crypto/cipher/aes.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneCRYPTO Open. * @@ -31,7 +31,7 @@ * lengths of 128, 192, and 256 bits. Refer to FIPS 197 for more details * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.2 + * @version 2.4.4 **/ //Switch to the appropriate trace level @@ -176,6 +176,45 @@ static const uint32_t rcon[11] = 0x00000036 }; +//AES128-ECB OID (2.16.840.1.101.3.4.1.1) +const uint8_t AES128_ECB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x01}; +//AES128-CBC OID (2.16.840.1.101.3.4.1.2) +const uint8_t AES128_CBC_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x02}; +//AES128-OFB OID (2.16.840.1.101.3.4.1.3) +const uint8_t AES128_OFB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x03}; +//AES128-CFB OID (2.16.840.1.101.3.4.1.4) +const uint8_t AES128_CFB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x04}; +//AES128-GCM OID (2.16.840.1.101.3.4.1.6) +const uint8_t AES128_GCM_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x06}; +//AES128-CCM OID (2.16.840.1.101.3.4.1.7) +const uint8_t AES128_CCM_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x07}; + +//AES192-ECB OID (2.16.840.1.101.3.4.1.21) +const uint8_t AES192_ECB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x15}; +//AES192-CBC OID (2.16.840.1.101.3.4.1.22) +const uint8_t AES192_CBC_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x16}; +//AES192-OFB OID (2.16.840.1.101.3.4.1.23) +const uint8_t AES192_OFB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x17}; +//AES192-CFB OID (2.16.840.1.101.3.4.1.24) +const uint8_t AES192_CFB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x18}; +//AES192-GCM OID (2.16.840.1.101.3.4.1.26) +const uint8_t AES192_GCM_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x1A}; +//AES192-CCM OID (2.16.840.1.101.3.4.1.27) +const uint8_t AES192_CCM_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x1B}; + +//AES256-ECB OID (2.16.840.1.101.3.4.1.41) +const uint8_t AES256_ECB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x29}; +//AES256-CBC OID (2.16.840.1.101.3.4.1.42) +const uint8_t AES256_CBC_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x2A}; +//AES256-OFB OID (2.16.840.1.101.3.4.1.43) +const uint8_t AES256_OFB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x2B}; +//AES256-CFB OID (2.16.840.1.101.3.4.1.44) +const uint8_t AES256_CFB_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x2C}; +//AES256-GCM OID (2.16.840.1.101.3.4.1.46) +const uint8_t AES256_GCM_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x2E}; +//AES256-CCM OID (2.16.840.1.101.3.4.1.47) +const uint8_t AES256_CCM_OID[9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x2F}; + //Common interface for encryption algorithms const CipherAlgo aesCipherAlgo = { diff --git a/src/cyclone/cyclone_crypto/cipher/aes.h b/src/cyclone/cyclone_crypto/cipher/aes.h index dc23ad19..07ce31f2 100644 --- a/src/cyclone/cyclone_crypto/cipher/aes.h +++ b/src/cyclone/cyclone_crypto/cipher/aes.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneCRYPTO Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.2 + * @version 2.4.4 **/ #ifndef _AES_H @@ -64,6 +64,24 @@ typedef struct //AES related constants +extern const uint8_t AES128_ECB_OID[9]; +extern const uint8_t AES128_CBC_OID[9]; +extern const uint8_t AES128_OFB_OID[9]; +extern const uint8_t AES128_CFB_OID[9]; +extern const uint8_t AES128_GCM_OID[9]; +extern const uint8_t AES128_CCM_OID[9]; +extern const uint8_t AES192_ECB_OID[9]; +extern const uint8_t AES192_CBC_OID[9]; +extern const uint8_t AES192_OFB_OID[9]; +extern const uint8_t AES192_CFB_OID[9]; +extern const uint8_t AES192_GCM_OID[9]; +extern const uint8_t AES192_CCM_OID[9]; +extern const uint8_t AES256_ECB_OID[9]; +extern const uint8_t AES256_CBC_OID[9]; +extern const uint8_t AES256_OFB_OID[9]; +extern const uint8_t AES256_CFB_OID[9]; +extern const uint8_t AES256_GCM_OID[9]; +extern const uint8_t AES256_CCM_OID[9]; extern const CipherAlgo aesCipherAlgo; //AES related functions diff --git a/src/cyclone/cyclone_crypto/mpi.c b/src/cyclone/cyclone_crypto/mpi.c index 02b1ab58..1f0f23c7 100644 --- a/src/cyclone/cyclone_crypto/mpi.c +++ b/src/cyclone/cyclone_crypto/mpi.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneCRYPTO Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ // Switch to the appropriate trace level @@ -43,6 +43,7 @@ // Check crypto library configuration #if (MPI_SUPPORT == ENABLED) + /** * @brief Initialize a multiple precision integer * @param[in,out] r Pointer to the multiple precision integer to be initialized @@ -53,9 +54,12 @@ void mpiInit(Mpi *r) // Initialize structure r->sign = 1; r->size = 0; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) r->data = NULL; +#endif } + /** * @brief Release a multiple precision integer * @param[in,out] r Pointer to the multiple precision integer to be freed @@ -63,19 +67,27 @@ void mpiInit(Mpi *r) void mpiFree(Mpi *r) { +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) // Any memory previously allocated? if (r->data != NULL) { - // Erase contents before releasing memory + // Erase contents osMemset(r->data, 0, r->size * MPI_INT_SIZE); + + //Release memory buffer cryptoFreeMem(r->data); + r->data = NULL; } +#else + //Erase contents + osMemset(r->data, 0, r->size * MPI_INT_SIZE); +#endif // Set size to zero r->size = 0; - r->data = NULL; } + /** * @brief Adjust the size of multiple precision integer * @param[in,out] r A multiple precision integer whose size is to be increased @@ -85,41 +97,72 @@ void mpiFree(Mpi *r) error_t mpiGrow(Mpi *r, uint_t size) { + error_t error; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) uint_t *data; +#endif + + // Initialize status code + error = NO_ERROR; // Ensure the parameter is valid size = MAX(size, 1); - // Check the current size - if (r->size >= size) - return NO_ERROR; + // Check whether the size of the multiple precision integer must be increased + if(size > r->size) + { +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) + // Allocate a new memory buffer + data = cryptoAllocMem(size * MPI_INT_SIZE); - // Allocate a memory buffer - data = cryptoAllocMem(size * MPI_INT_SIZE); - // Failed to allocate memory? - if (data == NULL) - return ERROR_OUT_OF_MEMORY; + // Successful memory allocation? + if(data != NULL) + { + // Any data to copy? + if(r->size > 0) + { + // Copy original data + osMemcpy(data, r->data, r->size * MPI_INT_SIZE); - // Clear buffer contents - osMemset(data, 0, size * MPI_INT_SIZE); + // Release old memory buffer + osMemset(r->data, 0, r->size * MPI_INT_SIZE); + cryptoFreeMem(r->data); + } - // Any data to copy? - if (r->size > 0) - { - // Copy original data - osMemcpy(data, r->data, r->size * MPI_INT_SIZE); - // Free previously allocated memory - cryptoFreeMem(r->data); + // Clear upper words + osMemset(data + r->size, 0, (size - r->size) * MPI_INT_SIZE); + //Attach new memory buffer + r->data = data; + // Update the size of the multiple precision integer + r->size = size; + } + else + { + // Failed to allocate memory + error = ERROR_OUT_OF_MEMORY; + } +#else + // Check parameter + if(size <= MPI_MAX_INT_SIZE) + { + // Clear upper words + osMemset(r->data + r->size, 0, (size - r->size) * MPI_INT_SIZE); + // Update the size of the multiple precision integer + r->size = size; + } + else + { + //Report an error + error = ERROR_BUFFER_OVERFLOW; + } +#endif } - // Update the size of the multiple precision integer - r->size = size; - r->data = data; - - // Successful operation - return NO_ERROR; + // Return status code + return error; } + /** * @brief Get the actual length in words * @param[in] a Pointer to a multiple precision integer @@ -146,6 +189,7 @@ uint_t mpiGetLength(const Mpi *a) return i + 1; } + /** * @brief Get the actual length in bytes * @param[in] a Pointer to a multiple precision integer @@ -184,6 +228,7 @@ uint_t mpiGetByteLength(const Mpi *a) return n; } + /** * @brief Get the actual length in bits * @param[in] a Pointer to a multiple precision integer @@ -222,6 +267,7 @@ uint_t mpiGetBitLength(const Mpi *a) return n; } + /** * @brief Set the bit value at the specified index * @param[in] r Pointer to a multiple precision integer @@ -247,15 +293,20 @@ error_t mpiSetBitValue(Mpi *r, uint_t index, uint_t value) return error; // Set bit value - if (value) + if(value) + { r->data[n1] |= (1U << n2); + } else + { r->data[n1] &= ~(1U << n2); + } // No error to report return NO_ERROR; } + /** * @brief Get the bit value at the specified index * @param[in] a Pointer to a multiple precision integer @@ -280,6 +331,7 @@ uint_t mpiGetBitValue(const Mpi *a, uint_t index) return (a->data[n1] >> n2) & 0x01; } + /** * @brief Compare two multiple precision integers * @param[in] a The first multiple precision integer to be compared @@ -323,6 +375,7 @@ int_t mpiComp(const Mpi *a, const Mpi *b) return 0; } + /** * @brief Compare a multiple precision integer with an integer * @param[in] a Multiple precision integer to be compared @@ -339,12 +392,17 @@ int_t mpiCompInt(const Mpi *a, int_t b) value = (b >= 0) ? b : -b; t.sign = (b >= 0) ? 1 : -1; t.size = 1; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) t.data = &value; +#else + t.data[0] = value; +#endif // Return comparison result return mpiComp(a, &t); } + /** * @brief Compare the absolute value of two multiple precision integers * @param[in] a The first multiple precision integer to be compared @@ -382,6 +440,7 @@ int_t mpiCompAbs(const Mpi *a, const Mpi *b) return 0; } + /** * @brief Copy a multiple precision integer * @param[out] r Pointer to a multiple precision integer (destination) @@ -418,6 +477,7 @@ error_t mpiCopy(Mpi *r, const Mpi *a) return NO_ERROR; } + /** * @brief Set the value of a multiple precision integer * @param[out] r Pointer to a multiple precision integer @@ -446,6 +506,7 @@ error_t mpiSetValue(Mpi *r, int_t a) return NO_ERROR; } + /** * @brief Generate a random value * @param[out] r Pointer to a multiple precision integer @@ -487,13 +548,14 @@ error_t mpiRand(Mpi *r, uint_t length, const PrngAlgo *prngAlgo, // Remove the meaningless bits in the most significant word if (n > 0 && m > 0) { - r->data[n - 1] &= (1 << m) - 1; + r->data[n - 1] &= (1U << m) - 1; } // Successful operation return NO_ERROR; } + /** * @brief Generate a random value in the range 1 to p-1 * @param[out] r Pointer to a multiple precision integer @@ -803,6 +865,7 @@ error_t mpiImport(Mpi *r, const uint8_t *data, uint_t length, MpiFormat format) return error; } + /** * @brief Integer to octet string conversion * @@ -884,6 +947,7 @@ error_t mpiExport(const Mpi *a, uint8_t *data, uint_t length, MpiFormat format) return error; } + /** * @brief Multiple precision addition * @param[out] r Resulting integer R = A + B @@ -932,6 +996,7 @@ error_t mpiAdd(Mpi *r, const Mpi *a, const Mpi *b) return error; } + /** * @brief Add an integer to a multiple precision integer * @param[out] r Resulting integer R = A + B @@ -949,12 +1014,17 @@ error_t mpiAddInt(Mpi *r, const Mpi *a, int_t b) value = (b >= 0) ? b : -b; t.sign = (b >= 0) ? 1 : -1; t.size = 1; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) t.data = &value; +#else + t.data[0] = value; +#endif // Perform addition return mpiAdd(r, a, &t); } + /** * @brief Multiple precision subtraction * @param[out] r Resulting integer R = A - B @@ -1003,6 +1073,7 @@ error_t mpiSub(Mpi *r, const Mpi *a, const Mpi *b) return error; } + /** * @brief Subtract an integer from a multiple precision integer * @param[out] r Resulting integer R = A - B @@ -1020,12 +1091,17 @@ error_t mpiSubInt(Mpi *r, const Mpi *a, int_t b) value = (b >= 0) ? b : -b; t.sign = (b >= 0) ? 1 : -1; t.size = 1; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) t.data = &value; +#else + t.data[0] = value; +#endif // Perform subtraction return mpiSub(r, a, &t); } + /** * @brief Helper routine for multiple precision addition * @param[out] r Resulting integer R = |A + B| @@ -1073,13 +1149,11 @@ error_t mpiAddAbs(Mpi *r, const Mpi *a, const Mpi *b) // Add carry bit d = r->data[i] + c; // Update carry bit - if (d != 0) - c = 0; + if (d != 0) c = 0; // Perform addition d += b->data[i]; // Update carry bit - if (d < b->data[i]) - c = 1; + if (d < b->data[i]) c = 1; // Save result r->data[i] = d; } @@ -1090,8 +1164,7 @@ error_t mpiAddAbs(Mpi *r, const Mpi *a, const Mpi *b) // Add carry bit r->data[i] += c; // Update carry bit - if (r->data[i] != 0) - c = 0; + if (r->data[i] != 0) c = 0; } // Check the final carry bit @@ -1108,6 +1181,7 @@ error_t mpiAddAbs(Mpi *r, const Mpi *a, const Mpi *b) return error; } + /** * @brief Helper routine for multiple precision subtraction * @param[out] r Resulting integer R = |A - B| @@ -1129,7 +1203,7 @@ error_t mpiSubAbs(Mpi *r, const Mpi *a, const Mpi *b) if (mpiCompAbs(a, b) < 0) { // Swap A and B if necessary - const Mpi *t = b; + const Mpi *t = a; a = b; b = t; } @@ -1157,15 +1231,13 @@ error_t mpiSubAbs(Mpi *r, const Mpi *a, const Mpi *b) if (c) { // Update carry bit - if (d != 0) - c = 0; + if(d != 0) c = 0; // Propagate carry bit d -= 1; } // Update carry bit - if (d < b->data[i]) - c = 1; + if(d < b->data[i]) c = 1; // Perform subtraction r->data[i] = d - b->data[i]; } @@ -1174,8 +1246,7 @@ error_t mpiSubAbs(Mpi *r, const Mpi *a, const Mpi *b) for (i = n; c && i < m; i++) { // Update carry bit - if (a->data[i] != 0) - c = 0; + if(a->data[i] != 0) c = 0; // Propagate carry bit r->data[i] = a->data[i] - 1; } @@ -1201,6 +1272,7 @@ error_t mpiSubAbs(Mpi *r, const Mpi *a, const Mpi *b) return error; } + /** * @brief Left shift operation * @param[in,out] r The multiple precision integer to be shifted to the left @@ -1212,18 +1284,24 @@ error_t mpiShiftLeft(Mpi *r, uint_t n) { error_t error; uint_t i; - - // Number of 32-bit words to shift - uint_t n1 = n / (MPI_INT_SIZE * 8); - // Number of bits to shift - uint_t n2 = n % (MPI_INT_SIZE * 8); + uint_t k; + uint_t n1; + uint_t n2; // Check parameters - if (!r->size || !n) + if (r->size == 0 || n == 0) return NO_ERROR; + //Determine the actual length of r + k = mpiGetBitLength(r); + + //Number of 32-bit words to shift + n1 = n / (MPI_INT_SIZE * 8); + //Number of bits to shift + n2 = n % (MPI_INT_SIZE * 8); + // Increase the size of the multiple-precision number - error = mpiGrow(r, r->size + (n + 31) / 32); + error = mpiGrow(r, (k + n + 31) / 32); // Check return code if (error) return error; @@ -1261,6 +1339,7 @@ error_t mpiShiftLeft(Mpi *r, uint_t n) return NO_ERROR; } + /** * @brief Right shift operation * @param[in,out] r The multiple precision integer to be shifted to the right @@ -1318,6 +1397,7 @@ error_t mpiShiftRight(Mpi *r, uint_t n) return NO_ERROR; } + /** * @brief Multiple precision multiplication * @param[out] r Resulting integer R = A * B @@ -1394,6 +1474,7 @@ __weak_func error_t mpiMul(Mpi *r, const Mpi *a, const Mpi *b) return error; } + /** * @brief Multiply a multiple precision integer by an integer * @param[out] r Resulting integer R = A * B @@ -1411,12 +1492,17 @@ error_t mpiMulInt(Mpi *r, const Mpi *a, int_t b) value = (b >= 0) ? b : -b; t.sign = (b >= 0) ? 1 : -1; t.size = 1; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) t.data = &value; +#else + t.data[0] = value; +#endif // Perform multiplication return mpiMul(r, a, &t); } + /** * @brief Multiple precision division * @param[out] q The quotient Q = A / B @@ -1452,7 +1538,9 @@ error_t mpiDiv(Mpi *q, Mpi *r, const Mpi *a, const Mpi *b) n = mpiGetBitLength(&d); if (m > n) + { MPI_CHECK(mpiShiftLeft(&d, m - n)); + } while (n++ <= m) { @@ -1468,10 +1556,14 @@ error_t mpiDiv(Mpi *q, Mpi *r, const Mpi *a, const Mpi *b) } if (q != NULL) + { MPI_CHECK(mpiCopy(q, &e)); + } if (r != NULL) + { MPI_CHECK(mpiCopy(r, &c)); + } end: // Release previously allocated memory @@ -1483,6 +1575,7 @@ error_t mpiDiv(Mpi *q, Mpi *r, const Mpi *a, const Mpi *b) return error; } + /** * @brief Divide a multiple precision integer by an integer * @param[out] q The quotient Q = A / B @@ -1501,12 +1594,17 @@ error_t mpiDivInt(Mpi *q, Mpi *r, const Mpi *a, int_t b) value = (b >= 0) ? b : -b; t.sign = (b >= 0) ? 1 : -1; t.size = 1; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) t.data = &value; +#else + t.data[0] = value; +#endif // Perform division return mpiDiv(q, r, a, &t); } + /** * @brief Modulo operation * @param[out] r Resulting integer R = A mod P @@ -1569,6 +1667,8 @@ error_t mpiMod(Mpi *r, const Mpi *a, const Mpi *p) return error; } + + /** * @brief Modular addition * @param[out] r Resulting integer R = A + B mod P @@ -1591,6 +1691,7 @@ error_t mpiAddMod(Mpi *r, const Mpi *a, const Mpi *b, const Mpi *p) return error; } + /** * @brief Modular subtraction * @param[out] r Resulting integer R = A - B mod P @@ -1613,6 +1714,7 @@ error_t mpiSubMod(Mpi *r, const Mpi *a, const Mpi *b, const Mpi *p) return error; } + /** * @brief Modular multiplication * @param[out] r Resulting integer R = A * B mod P @@ -1635,6 +1737,7 @@ __weak_func error_t mpiMulMod(Mpi *r, const Mpi *a, const Mpi *b, const Mpi *p) return error; } + /** * @brief Modular inverse * @param[out] r Resulting integer R = A^-1 mod P @@ -1709,6 +1812,7 @@ __weak_func error_t mpiInvMod(Mpi *r, const Mpi *a, const Mpi *p) return error; } + /** * @brief Modular exponentiation * @param[out] r Resulting integer R = A ^ E mod P @@ -1750,10 +1854,10 @@ __weak_func error_t mpiExpMod(Mpi *r, const Mpi *a, const Mpi *e, const Mpi *p) // Even modulus? if (mpiIsEven(p)) { - // Let B = A^2 - MPI_CHECK(mpiMulMod(&b, a, a, p)); // Let S[0] = A - MPI_CHECK(mpiCopy(&s[0], a)); + MPI_CHECK(mpiMod(&s[0], a, p)); + //Let B = A^2 + MPI_CHECK(mpiMulMod(&b, &s[0], &s[0], p)); // Precompute S[i] = A^(2 * i + 1) for (i = 1; i < (1 << (d - 1)); i++) @@ -1785,8 +1889,7 @@ __weak_func error_t mpiExpMod(Mpi *r, const Mpi *a, const Mpi *e, const Mpi *p) n = MAX(i - d + 1, 0); // The least significant bit of the window must be equal to 1 - while (!mpiGetBitValue(e, n)) - n++; + while(!mpiGetBitValue(e, n)) n++; // The algorithm processes more than one bit per iteration for (u = 0, j = i; j >= n; j--) @@ -1861,8 +1964,7 @@ __weak_func error_t mpiExpMod(Mpi *r, const Mpi *a, const Mpi *e, const Mpi *p) n = MAX(i - d + 1, 0); // The least significant bit of the window must be equal to 1 - while (!mpiGetBitValue(e, n)) - n++; + while(!mpiGetBitValue(e, n)) n++; // The algorithm processes more than one bit per iteration for (u = 0, j = i; j >= n; j--) @@ -1900,6 +2002,7 @@ __weak_func error_t mpiExpMod(Mpi *r, const Mpi *a, const Mpi *e, const Mpi *p) return error; } + /** * @brief Modular exponentiation (fast calculation) * @param[out] r Resulting integer R = A ^ E mod P @@ -1915,6 +2018,7 @@ __weak_func error_t mpiExpModFast(Mpi *r, const Mpi *a, const Mpi *e, const Mpi return mpiExpMod(r, a, e, p); } + /** * @brief Modular exponentiation (regular calculation) * @param[out] r Resulting integer R = A ^ E mod P @@ -1930,6 +2034,7 @@ __weak_func error_t mpiExpModRegular(Mpi *r, const Mpi *a, const Mpi *e, const M return mpiExpMod(r, a, e, p); } + /** * @brief Montgomery multiplication * @param[out] r Resulting integer R = A * B / 2^k mod P @@ -2003,6 +2108,7 @@ error_t mpiMontgomeryMul(Mpi *r, const Mpi *a, const Mpi *b, uint_t k, return error; } + /** * @brief Montgomery reduction * @param[out] r Resulting integer R = A / 2^k mod P @@ -2022,12 +2128,17 @@ error_t mpiMontgomeryRed(Mpi *r, const Mpi *a, uint_t k, const Mpi *p, Mpi *t) value = 1; b.sign = 1; b.size = 1; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) b.data = &value; +#else + b.data[0] = value; +#endif // Compute R = A / 2^k mod P return mpiMontgomeryMul(r, a, &b, k, p, t); } + #if (MPI_ASM_SUPPORT == DISABLED) /** @@ -2059,12 +2170,10 @@ void mpiMulAccCore(uint_t *r, const uint_t *a, int_t m, const uint_t b) v = (uint32_t)(p >> 32); u += c; - if (u < c) - v++; + if(u < c) v++; u += r[i]; - if (u < r[i]) - v++; + if(u < r[i]) v++; r[i] = u; c = v; @@ -2080,6 +2189,7 @@ void mpiMulAccCore(uint_t *r, const uint_t *a, int_t m, const uint_t b) #endif + /** * @brief Display the contents of a multiple precision integer * @param[in] stream Pointer to a FILE object that identifies an output stream diff --git a/src/cyclone/cyclone_crypto/mpi.h b/src/cyclone/cyclone_crypto/mpi.h index 986c7ce3..a379ea40 100644 --- a/src/cyclone/cyclone_crypto/mpi.h +++ b/src/cyclone/cyclone_crypto/mpi.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneCRYPTO Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ #ifndef _MPI_H @@ -35,9 +35,19 @@ #include #include "core/crypto.h" +//Maximum size, in bits, of a multiple precision integer (static memory allocation) +#ifndef MPI_MAX_BIT_SIZE + #define MPI_MAX_BIT_SIZE 4096 +#elif (MPI_MAX_BIT_SIZE < 0) + #error MPI_MAX_BIT_SIZE parameter is not valid +#endif + //Size of the sub data type #define MPI_INT_SIZE sizeof(uint_t) +//Maximum size, in words, of a multiple precision integer +#define MPI_MAX_INT_SIZE ((MPI_MAX_BIT_SIZE + (MPI_INT_SIZE * 8) - 1) / (MPI_INT_SIZE * 8)) + //Error code checking #define MPI_CHECK(f) if((error = f) != NO_ERROR) goto end @@ -70,7 +80,11 @@ typedef struct { int_t sign; uint_t size; +#if (CRYPTO_STATIC_MEM_SUPPORT == DISABLED) uint_t *data; +#else + uint_t data[MPI_MAX_INT_SIZE]; +#endif } Mpi; diff --git a/src/cyclone/cyclone_ssl/tls_certificate.c b/src/cyclone/cyclone_ssl/tls_certificate.c index 1f518a34..89c3e76d 100644 --- a/src/cyclone/cyclone_ssl/tls_certificate.c +++ b/src/cyclone/cyclone_ssl/tls_certificate.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneSSL Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ //Switch to the appropriate trace level @@ -33,7 +33,9 @@ //Dependencies #include "tls.h" +#include "tls_cipher_suites.h" #include "tls_certificate.h" +#include "tls_sign_misc.h" #include "tls_misc.h" #include "encoding/asn1.h" #include "encoding/oid.h" @@ -354,7 +356,7 @@ __weak_func error_t tlsParseCertificateList_override(TlsContext *context, if(error) { //Report an error - error = ERROR_BAD_CERTIFICATE; + error = ERROR_DECODING_FAILED; break; } @@ -496,7 +498,7 @@ __weak_func error_t tlsParseCertificateList_override(TlsContext *context, if(error) { //Report an error - error = ERROR_BAD_CERTIFICATE; + error = ERROR_DECODING_FAILED; break; } @@ -513,7 +515,11 @@ __weak_func error_t tlsParseCertificateList_override(TlsContext *context, error = x509CheckNameConstraints(subjectName, issuerCertInfo); //Should the application reject the certificate? if(error) - return ERROR_BAD_CERTIFICATE; + { + //Report an error + error = ERROR_BAD_CERTIFICATE; + break; + } //Check the version of the certificate if(issuerCertInfo->tbsCert.version < X509_VERSION_3) @@ -703,19 +709,18 @@ error_t tlsParseRawPublicKey(TlsContext *context, const uint8_t *p, * @param[in] certTypes List of supported certificate types * @param[in] numCertTypes Size of the list that contains the supported * certificate types - * @param[in] signHashAlgos List of signature algorithms that may be used in - * digital signatures - * @param[in] certSignHashAlgos List of signature algorithms that may be used - * in X.509 certificates * @param[in] curveList List of supported elliptic curves + * @param[in] certSignAlgoList List of signature algorithms that may be used + * in X.509 certificates * @param[in] certAuthorities List of trusted CA * @return TRUE if the specified certificate conforms to the requirements, * else FALSE **/ -bool_t tlsIsCertificateAcceptable(TlsContext *context, const TlsCertDesc *cert, - const uint8_t *certTypes, size_t numCertTypes, const TlsSignHashAlgos *signHashAlgos, - const TlsSignHashAlgos *certSignHashAlgos, const TlsSupportedGroupList *curveList, +bool_t tlsIsCertificateAcceptable(TlsContext *context, + const TlsCertDesc *cert, const uint8_t *certTypes, size_t numCertTypes, + const TlsSupportedGroupList *curveList, + const TlsSignSchemeList *certSignAlgoList, const TlsCertAuthorities *certAuthorities) { size_t i; @@ -727,267 +732,88 @@ bool_t tlsIsCertificateAcceptable(TlsContext *context, const TlsCertDesc *cert, if(cert->certChain == NULL || cert->certChainLen == 0) return FALSE; -#if (TLS_RSA_SIGN_SUPPORT == ENABLED || TLS_RSA_PSS_SIGN_SUPPORT == ENABLED) - //RSA certificate? - if(cert->type == TLS_CERT_RSA_SIGN) - { - //This flag tells whether the certificate is acceptable - acceptable = TRUE; + //This flag tells whether the certificate is acceptable + acceptable = TRUE; - //Version of TLS prior to TLS 1.2? - if(context->version <= TLS_VERSION_1_1) - { - //the signing algorithm for the certificate must be the same as the - //algorithm for the certificate key - if(cert->signAlgo != TLS_SIGN_ALGO_RSA) - acceptable = FALSE; - } - - //Filter out certificates with unsupported type - if(acceptable && certTypes != NULL) +#if (TLS_MAX_VERSION >= TLS_VERSION_1_0 && TLS_MIN_VERSION <= TLS_VERSION_1_1) + //Version of TLS prior to TLS 1.2? + if(context->version <= TLS_VERSION_1_1) + { + //Server mode? + if(context->entity == TLS_CONNECTION_END_SERVER) { - //Loop through the list of supported certificate types - for(i = 0, acceptable = FALSE; i < numCertTypes && !acceptable; i++) + //The signing algorithm for the certificate must be the same as the + //algorithm for the certificate key (refer to RFC 4346, section 7.4.2) + if(cert->type == TLS_CERT_RSA_SIGN && + TLS_SIGN_ALGO(cert->signScheme) == TLS_SIGN_ALGO_RSA) { - //Check whether the certificate type is acceptable - if(certTypes[i] == TLS_CERT_RSA_SIGN) - { - acceptable = TRUE; - } + acceptable = TRUE; } - } - - //Filter out certificates that are not compatible with the supported - //signature schemes - if(acceptable && signHashAlgos != NULL) - { - //Retrieve the number of items in the list - n = ntohs(signHashAlgos->length) / sizeof(TlsSignHashAlgo); - - //Loop through the list of supported hash/signature algorithm pairs - for(i = 0, acceptable = FALSE; i < n && !acceptable; i++) + else if(cert->type == TLS_CERT_DSS_SIGN && + TLS_SIGN_ALGO(cert->signScheme) == TLS_SIGN_ALGO_DSA) { - uint8_t signAlgo; - uint8_t hashAlgo; - - //Retrieve signature and hash algorithms - signAlgo = signHashAlgos->value[i].signature; - hashAlgo = signHashAlgos->value[i].hash; - -#if (TLS_RSA_SIGN_SUPPORT == ENABLED) - //RSASSA-PKCS1-v1_5 signature scheme? - if(signAlgo == TLS_SIGN_ALGO_RSA && - hashAlgo != TLS_HASH_ALGO_NONE && - context->version <= TLS_VERSION_1_2) - { - acceptable = TRUE; - } - else -#endif -#if (TLS_RSA_PSS_SIGN_SUPPORT == ENABLED && TLS_SHA256_SUPPORT == ENABLED) - //RSASSA-PSS RSAE signature scheme with SHA-256? - if(signAlgo == TLS_SIGN_ALGO_RSA_PSS_RSAE_SHA256 && - hashAlgo == TLS_HASH_ALGO_INTRINSIC && - context->version >= TLS_VERSION_1_2) - { - acceptable = TRUE; - } - else -#endif -#if (TLS_RSA_PSS_SIGN_SUPPORT == ENABLED && TLS_SHA384_SUPPORT == ENABLED) - //RSASSA-PSS RSAE signature scheme with SHA-384? - if(signAlgo == TLS_SIGN_ALGO_RSA_PSS_RSAE_SHA384 && - hashAlgo == TLS_HASH_ALGO_INTRINSIC && - context->version >= TLS_VERSION_1_2) - { - acceptable = TRUE; - } - else -#endif -#if (TLS_RSA_PSS_SIGN_SUPPORT == ENABLED && TLS_SHA512_SUPPORT == ENABLED) - //RSASSA-PSS RSAE signature scheme with SHA-512? - if(signAlgo == TLS_SIGN_ALGO_RSA_PSS_RSAE_SHA512 && - hashAlgo == TLS_HASH_ALGO_INTRINSIC && - context->version >= TLS_VERSION_1_2) - { - acceptable = TRUE; - } - else -#endif - //Unknown signature scheme? - { - acceptable = FALSE; - } + acceptable = TRUE; } - } - } - else -#endif -#if (TLS_RSA_PSS_SIGN_SUPPORT == ENABLED) - //RSA-PSS certificate? - if(cert->type == TLS_CERT_RSA_PSS_SIGN) - { - //TLS 1.2 and TLS 1.3 support RSASSA-PSS signature schemes - if(context->version >= TLS_VERSION_1_2) - { - //Filter out certificates that are not compatible with the supported - //signature schemes - if(signHashAlgos != NULL) + else if(cert->type == TLS_CERT_ECDSA_SIGN && + TLS_SIGN_ALGO(cert->signScheme) == TLS_SIGN_ALGO_ECDSA) { - //Retrieve the number of items in the list - n = ntohs(signHashAlgos->length) / sizeof(TlsSignHashAlgo); - - //Loop through the list of supported hash/signature algorithm pairs - for(i = 0, acceptable = FALSE; i < n && !acceptable; i++) - { - uint8_t signAlgo; - uint8_t hashAlgo; - - //Retrieve signature and hash algorithms - signAlgo = signHashAlgos->value[i].signature; - hashAlgo = signHashAlgos->value[i].hash; - -#if (TLS_SHA256_SUPPORT == ENABLED) - //RSASSA-PSS PSS signature scheme with SHA-256? - if(signAlgo == TLS_SIGN_ALGO_RSA_PSS_PSS_SHA256 && - hashAlgo == TLS_HASH_ALGO_INTRINSIC) - { - acceptable = TRUE; - } - else -#endif -#if (TLS_SHA384_SUPPORT == ENABLED) - //RSASSA-PSS PSS signature scheme with SHA-384? - if(signAlgo == TLS_SIGN_ALGO_RSA_PSS_PSS_SHA384 && - hashAlgo == TLS_HASH_ALGO_INTRINSIC) - { - acceptable = TRUE; - } - else -#endif -#if (TLS_SHA512_SUPPORT == ENABLED) - //RSASSA-PSS PSS signature scheme with SHA-512? - if(signAlgo == TLS_SIGN_ALGO_RSA_PSS_PSS_SHA512 && - hashAlgo == TLS_HASH_ALGO_INTRINSIC) - { - acceptable = TRUE; - } - else -#endif - //Unknown signature scheme? - { - acceptable = FALSE; - } - } + acceptable = TRUE; } else { - //The SignatureAlgorithms extension must be specified (refer to - //RFC 8446, section 4.3.2) acceptable = FALSE; } } - else - { - //RSA-PSS is not supported by TLS 1.2 and earlier - acceptable = FALSE; - } } - else #endif -#if (TLS_DSA_SIGN_SUPPORT == ENABLED) - //DSA certificate? - if(cert->type == TLS_CERT_DSS_SIGN) + +#if (TLS_MAX_VERSION >= TLS_VERSION_1_0 && TLS_MIN_VERSION <= TLS_VERSION_1_2) + //Version of TLS prior to TLS 1.3? + if(context->version <= TLS_VERSION_1_2) { - //Version of TLS prior to TLS 1.3? - if(context->version <= TLS_VERSION_1_2) + //Filter out certificates with unsupported type + if(acceptable && certTypes != NULL) { - //This flag tells whether the certificate is acceptable - acceptable = TRUE; - - //Version of TLS prior to TLS 1.2? - if(context->version <= TLS_VERSION_1_1) - { - //the signing algorithm for the certificate must be the same as the - //algorithm for the certificate key - if(cert->signAlgo != TLS_SIGN_ALGO_DSA) - acceptable = FALSE; - } - - //Filter out certificates with unsupported type - if(acceptable && certTypes != NULL) + //Loop through the list of supported certificate types + for(i = 0, acceptable = FALSE; i < numCertTypes && !acceptable; i++) { - //Loop through the list of supported certificate types - for(i = 0, acceptable = FALSE; i < numCertTypes && !acceptable; i++) + //Check certificate type + if(certTypes[i] == TLS_CERT_RSA_SIGN) { - //Check whether the certificate type is acceptable - if(certTypes[i] == TLS_CERT_DSS_SIGN) + //The certificate must contain an RSA public key + if(cert->type == TLS_CERT_RSA_SIGN || + cert->type == TLS_CERT_RSA_PSS_SIGN) { acceptable = TRUE; } } - } - - //Filter out certificates that are not compatible with the supported - //signature schemes - if(acceptable && signHashAlgos != NULL) - { - //Retrieve the number of items in the list - n = ntohs(signHashAlgos->length) / sizeof(TlsSignHashAlgo); - - //Loop through the list of supported hash/signature algorithm pairs - for(i = 0, acceptable = FALSE; i < n && !acceptable; i++) + else if(certTypes[i] == TLS_CERT_DSS_SIGN) { - //Check whether DSA signature scheme is supported - if(signHashAlgos->value[i].signature == TLS_SIGN_ALGO_DSA) + //The certificate must contain a DSA public key + if(cert->type == TLS_CERT_DSS_SIGN) { acceptable = TRUE; } } - } - } - else - { - //TLS 1.3 removes support for DSA certificates - acceptable = FALSE; - } - } - else -#endif -#if (TLS_ECDSA_SIGN_SUPPORT == ENABLED) - //ECDSA certificate? - if(cert->type == TLS_CERT_ECDSA_SIGN) - { - //This flag tells whether the certificate is acceptable - acceptable = TRUE; - - //Version of TLS prior to TLS 1.2? - if(context->version <= TLS_VERSION_1_1) - { - //the signing algorithm for the certificate must be the same as the - //algorithm for the certificate key - if(cert->signAlgo != TLS_SIGN_ALGO_ECDSA) - { - acceptable = FALSE; - } - } - - //Filter out certificates with unsupported type - if(acceptable && certTypes != NULL) - { - //Loop through the list of supported certificate types - for(i = 0, acceptable = FALSE; i < numCertTypes && !acceptable; i++) - { - //Check whether the certificate type is acceptable - if(certTypes[i] == TLS_CERT_ECDSA_SIGN) + else if(certTypes[i] == TLS_CERT_ECDSA_SIGN) + { + //The certificate must contain an ECDSA or EdDSA public key + if(cert->type == TLS_CERT_ECDSA_SIGN || + cert->type == TLS_CERT_ED25519_SIGN || + cert->type == TLS_CERT_ED448_SIGN) + { + acceptable = TRUE; + } + } + else { - acceptable = TRUE; + //Unknown certificate type } } } - //Version of TLS prior to TLS 1.3? - if(context->version <= TLS_VERSION_1_2) + //ECDSA certificate? + if(cert->type == TLS_CERT_ECDSA_SIGN) { //In versions of TLS prior to TLS 1.3, the EllipticCurves extension is //used to negotiate ECDSA curves (refer to RFC 8446, section 4.2.7) @@ -1007,129 +833,33 @@ bool_t tlsIsCertificateAcceptable(TlsContext *context, const TlsCertDesc *cert, } } } - - //Filter out certificates that are not compatible with the supported - //signature schemes - if(acceptable && signHashAlgos != NULL) - { - //Retrieve the number of items in the list - n = ntohs(signHashAlgos->length) / sizeof(TlsSignHashAlgo); - - //Loop through the list of supported hash/signature algorithm pairs - for(i = 0, acceptable = FALSE; i < n && !acceptable; i++) - { - //Check whether ECDSA signature scheme is supported - if(signHashAlgos->value[i].signature == TLS_SIGN_ALGO_ECDSA) - { - acceptable = TRUE; - } - } - } } - else #endif -#if (TLS_EDDSA_SIGN_SUPPORT == ENABLED) - //EdDSA certificate? - if(cert->type == TLS_CERT_ED25519_SIGN || - cert->type == TLS_CERT_ED448_SIGN) - { - //TLS 1.2 and TLS 1.3 support EdDSA signature schemes - if((context->version >= TLS_VERSION_1_2 && - context->entity == TLS_CONNECTION_END_SERVER) || - (context->version >= TLS_VERSION_1_3 && - context->entity == TLS_CONNECTION_END_CLIENT)) - { - //This flag tells whether the certificate is acceptable - acceptable = TRUE; - //Filter out certificates with unsupported type - if(certTypes != NULL) - { - //Loop through the list of supported certificate types - for(i = 0, acceptable = FALSE; i < numCertTypes && !acceptable; i++) - { - //Check whether the certificate type is acceptable - if(certTypes[i] == TLS_CERT_ECDSA_SIGN) - { - acceptable = TRUE; - } - } - } - - //Filter out certificates that are not compatible with the supported - //signature schemes - if(acceptable && signHashAlgos != NULL) - { - //Retrieve the number of items in the list - n = ntohs(signHashAlgos->length) / sizeof(TlsSignHashAlgo); - - //Loop through the list of supported hash/signature algorithm pairs - for(i = 0, acceptable = FALSE; i < n && !acceptable; i++) - { -#if (TLS_ED25519_SUPPORT == ENABLED) - //Ed25519 certificate? - if(cert->type == TLS_CERT_ED25519_SIGN) - { - //Check whether Ed25519 signature scheme is supported - if(signHashAlgos->value[i].signature == TLS_SIGN_ALGO_ED25519 && - signHashAlgos->value[i].hash == TLS_HASH_ALGO_INTRINSIC) - { - acceptable = TRUE; - } - } - else -#endif -#if (TLS_ED448_SUPPORT == ENABLED) - //Ed448 certificate? - if(cert->type == TLS_CERT_ED448_SIGN) - { - //Check whether Ed448 signature scheme is supported - if(signHashAlgos->value[i].signature == TLS_SIGN_ALGO_ED448 && - signHashAlgos->value[i].hash == TLS_HASH_ALGO_INTRINSIC) - { - acceptable = TRUE; - } - } - else -#endif - //Unknown certificate type? - { - acceptable = FALSE; - } - } - } - else - { - //The certificate is not acceptable - acceptable = FALSE; - } - } - else +#if (TLS_SM2_SIGN_SUPPORT == ENABLED) + //SM2 certificate? + if(cert->type == TLS_CERT_SM2_SIGN) + { + //The signature algorithm used by the CA to sign the current certificate + //must be sm2sig_sm3 (refer to RFC 8998, section 3.3.3) + if(cert->signScheme != TLS_SIGN_SCHEME_SM2SIG_SM3) { - //EdDSA is not supported by TLS 1.1 and earlier acceptable = FALSE; } } - else #endif - //Unsupported certificate type? - { - //The certificate is not acceptable - acceptable = FALSE; - } //Filter out certificates that are signed with an unsupported algorithm - if(acceptable && certSignHashAlgos != NULL) + if(acceptable && certSignAlgoList != NULL) { //Retrieve the number of items in the list - n = ntohs(certSignHashAlgos->length) / sizeof(TlsSignHashAlgo); + n = ntohs(certSignAlgoList->length) / sizeof(uint16_t); - //Loop through the list of supported hash/signature algorithm pairs + //Loop through the list of supported signature algorithms for(i = 0, acceptable = FALSE; i < n && !acceptable; i++) { - //The certificate must be signed using a valid hash algorithm - if(certSignHashAlgos->value[i].signature == cert->signAlgo && - certSignHashAlgos->value[i].hash == cert->hashAlgo) + //The certificate must be signed using a valid algorithm + if(ntohs(certSignAlgoList->value[i]) == cert->signScheme) { acceptable = TRUE; } @@ -1263,8 +993,7 @@ bool_t tlsIsCertificateAcceptable(TlsContext *context, const TlsCertDesc *cert, **/ error_t tlsValidateCertificate(TlsContext *context, - const X509CertInfo *certInfo, uint_t pathLen, - const char_t *subjectName) + const X509CertInfo *certInfo, uint_t pathLen, const char_t *subjectName) { error_t error; size_t pemCertLen; @@ -1473,7 +1202,7 @@ error_t tlsGetCertificateType(const X509CertInfo *certInfo, } else #endif -#if (TLS_ECDSA_SIGN_SUPPORT == ENABLED) +#if (TLS_ECDSA_SIGN_SUPPORT == ENABLED || TLS_SM2_SIGN_SUPPORT == ENABLED) //EC public key? if(!oidComp(oid, oidLen, EC_PUBLIC_KEY_OID, sizeof(EC_PUBLIC_KEY_OID))) { @@ -1482,17 +1211,31 @@ error_t tlsGetCertificateType(const X509CertInfo *certInfo, //Point to the EC parameters params = &certInfo->tbsCert.subjectPublicKeyInfo.ecParams; - //Save certificate type - *certType = TLS_CERT_ECDSA_SIGN; + //SM2 elliptic curve? + if(!oidComp(params->namedCurve.value, params->namedCurve.length, + SM2_OID, sizeof(SM2_OID))) + { + //Save certificate type + *certType = TLS_CERT_SM2_SIGN; + + //The only valid elliptic curve for the SM2 signature algorithm is + //curveSM2 (refer to RFC 8446, section 3.2.1) + *namedCurve = TLS_GROUP_CURVE_SM2; + } + else + { + //Save certificate type + *certType = TLS_CERT_ECDSA_SIGN; - //Retrieve the named curve that has been used to generate the EC - //public key - *namedCurve = tlsGetNamedCurve(params->namedCurve.value, - params->namedCurve.length); + //Retrieve the named curve that has been used to generate the EC + //public key + *namedCurve = tlsGetNamedCurve(params->namedCurve.value, + params->namedCurve.length); + } } else #endif -#if (TLS_EDDSA_SIGN_SUPPORT == ENABLED) +#if (TLS_ED25519_SIGN_SUPPORT == ENABLED) //Ed25519 public key? if(!oidComp(oid, oidLen, ED25519_OID, sizeof(ED25519_OID))) { @@ -1502,6 +1245,8 @@ error_t tlsGetCertificateType(const X509CertInfo *certInfo, *namedCurve = TLS_GROUP_NONE; } else +#endif +#if (TLS_ED448_SIGN_SUPPORT == ENABLED) //Ed448 public key? if(!oidComp(oid, oidLen, ED448_OID, sizeof(ED448_OID))) { @@ -1526,19 +1271,18 @@ error_t tlsGetCertificateType(const X509CertInfo *certInfo, /** * @brief Retrieve the signature algorithm used to sign the certificate * @param[in] certInfo X.509 certificate - * @param[out] signAlgo Signature algorithm - * @param[out] hashAlgo Hash algorithm + * @param[out] signScheme Signature scheme * @return Error code **/ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, - TlsSignatureAlgo *signAlgo, TlsHashAlgo *hashAlgo) + TlsSignatureScheme *signScheme) { size_t oidLen; const uint8_t *oid; //Check parameters - if(certInfo == NULL || signAlgo == NULL || hashAlgo == NULL) + if(certInfo == NULL || signScheme == NULL) return ERROR_INVALID_PARAMETER; //Point to the signature algorithm @@ -1550,37 +1294,32 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, if(!oidComp(oid, oidLen, MD5_WITH_RSA_ENCRYPTION_OID, sizeof(MD5_WITH_RSA_ENCRYPTION_OID))) { - //MD5 with RSA signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA; - *hashAlgo = TLS_HASH_ALGO_MD5; + //RSA with MD5 signature algorithm + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_RSA, TLS_HASH_ALGO_MD5); } else if(!oidComp(oid, oidLen, SHA1_WITH_RSA_ENCRYPTION_OID, sizeof(SHA1_WITH_RSA_ENCRYPTION_OID))) { - //SHA-1 with RSA signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA; - *hashAlgo = TLS_HASH_ALGO_SHA1; + //RSA with SHA-1 signature algorithm + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_RSA, TLS_HASH_ALGO_SHA1); } else if(!oidComp(oid, oidLen, SHA256_WITH_RSA_ENCRYPTION_OID, sizeof(SHA256_WITH_RSA_ENCRYPTION_OID))) { - //SHA-256 with RSA signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA; - *hashAlgo = TLS_HASH_ALGO_SHA256; + //RSA with SHA-256 signature algorithm + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_RSA, TLS_HASH_ALGO_SHA256); } else if(!oidComp(oid, oidLen, SHA384_WITH_RSA_ENCRYPTION_OID, sizeof(SHA384_WITH_RSA_ENCRYPTION_OID))) { - //SHA-384 with RSA signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA; - *hashAlgo = TLS_HASH_ALGO_SHA384; + //RSA with SHA-384 signature algorithm + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_RSA, TLS_HASH_ALGO_SHA384); } else if(!oidComp(oid, oidLen, SHA512_WITH_RSA_ENCRYPTION_OID, sizeof(SHA512_WITH_RSA_ENCRYPTION_OID))) { - //SHA-512 with RSA signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA; - *hashAlgo = TLS_HASH_ALGO_SHA512; + //RSA with SHA-512 signature algorithm + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_RSA, TLS_HASH_ALGO_SHA512); } else #endif @@ -1597,8 +1336,7 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, if(!oidComp(oid, oidLen, SHA256_OID, sizeof(SHA256_OID))) { //RSA-PSS with SHA-256 signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA_PSS_PSS_SHA256; - *hashAlgo = TLS_HASH_ALGO_INTRINSIC; + *signScheme = TLS_SIGN_SCHEME_RSA_PSS_PSS_SHA256; } else #endif @@ -1607,8 +1345,7 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, if(!oidComp(oid, oidLen, SHA384_OID, sizeof(SHA384_OID))) { //RSA-PSS with SHA-384 signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA_PSS_PSS_SHA384; - *hashAlgo = TLS_HASH_ALGO_INTRINSIC; + *signScheme = TLS_SIGN_SCHEME_RSA_PSS_PSS_SHA384; } else #endif @@ -1617,8 +1354,7 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, if(!oidComp(oid, oidLen, SHA512_OID, sizeof(SHA512_OID))) { //RSA-PSS with SHA-512 signature algorithm - *signAlgo = TLS_SIGN_ALGO_RSA_PSS_PSS_SHA512; - *hashAlgo = TLS_HASH_ALGO_INTRINSIC; + *signScheme = TLS_SIGN_SCHEME_RSA_PSS_PSS_SHA512; } else #endif @@ -1636,22 +1372,19 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, sizeof(DSA_WITH_SHA1_OID))) { //DSA with SHA-1 signature algorithm - *signAlgo = TLS_SIGN_ALGO_DSA; - *hashAlgo = TLS_HASH_ALGO_SHA1; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_DSA, TLS_HASH_ALGO_SHA1); } else if(!oidComp(oid, oidLen, DSA_WITH_SHA224_OID, sizeof(DSA_WITH_SHA224_OID))) { //DSA with SHA-224 signature algorithm - *signAlgo = TLS_SIGN_ALGO_DSA; - *hashAlgo = TLS_HASH_ALGO_SHA224; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_DSA, TLS_HASH_ALGO_SHA224); } else if(!oidComp(oid, oidLen, DSA_WITH_SHA256_OID, sizeof(DSA_WITH_SHA256_OID))) { //DSA with SHA-256 signature algorithm - *signAlgo = TLS_SIGN_ALGO_DSA; - *hashAlgo = TLS_HASH_ALGO_SHA256; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_DSA, TLS_HASH_ALGO_SHA256); } else #endif @@ -1661,36 +1394,40 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, sizeof(ECDSA_WITH_SHA1_OID))) { //ECDSA with SHA-1 signature algorithm - *signAlgo = TLS_SIGN_ALGO_ECDSA; - *hashAlgo = TLS_HASH_ALGO_SHA1; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_ECDSA, TLS_HASH_ALGO_SHA1); } else if(!oidComp(oid, oidLen, ECDSA_WITH_SHA224_OID, sizeof(ECDSA_WITH_SHA224_OID))) { //ECDSA with SHA-224 signature algorithm - *signAlgo = TLS_SIGN_ALGO_ECDSA; - *hashAlgo = TLS_HASH_ALGO_SHA224; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_ECDSA, TLS_HASH_ALGO_SHA224); } else if(!oidComp(oid, oidLen, ECDSA_WITH_SHA256_OID, sizeof(ECDSA_WITH_SHA256_OID))) { //ECDSA with SHA-256 signature algorithm - *signAlgo = TLS_SIGN_ALGO_ECDSA; - *hashAlgo = TLS_HASH_ALGO_SHA256; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_ECDSA, TLS_HASH_ALGO_SHA256); } else if(!oidComp(oid, oidLen, ECDSA_WITH_SHA384_OID, sizeof(ECDSA_WITH_SHA384_OID))) { //ECDSA with SHA-384 signature algorithm - *signAlgo = TLS_SIGN_ALGO_ECDSA; - *hashAlgo = TLS_HASH_ALGO_SHA384; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_ECDSA, TLS_HASH_ALGO_SHA384); } else if(!oidComp(oid, oidLen, ECDSA_WITH_SHA512_OID, sizeof(ECDSA_WITH_SHA512_OID))) { //ECDSA with SHA-512 signature algorithm - *signAlgo = TLS_SIGN_ALGO_ECDSA; - *hashAlgo = TLS_HASH_ALGO_SHA512; + *signScheme = TLS_SIGN_SCHEME(TLS_SIGN_ALGO_ECDSA, TLS_HASH_ALGO_SHA512); + } + else +#endif +#if (SM2_SUPPORT == ENABLED) + //SM2 signature algorithm? + if(!oidComp(oid, oidLen, SM2_WITH_SM3_OID, sizeof(SM2_WITH_SM3_OID))) + { + //SM2 with SM3 signature algorithm + *signScheme = TLS_SIGN_SCHEME_SM2SIG_SM3; } else #endif @@ -1699,8 +1436,7 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, if(!oidComp(oid, oidLen, ED25519_OID, sizeof(ED25519_OID))) { //Ed25519 signature algorithm - *signAlgo = TLS_SIGN_ALGO_ED25519; - *hashAlgo = TLS_HASH_ALGO_INTRINSIC; + *signScheme = TLS_SIGN_SCHEME_ED25519; } else #endif @@ -1709,8 +1445,7 @@ error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, if(!oidComp(oid, oidLen, ED448_OID, sizeof(ED448_OID))) { //Ed448 signature algorithm - *signAlgo = TLS_SIGN_ALGO_ED448; - *hashAlgo = TLS_HASH_ALGO_INTRINSIC; + *signScheme = TLS_SIGN_SCHEME_ED448; } else #endif @@ -1825,7 +1560,7 @@ error_t tlsReadSubjectPublicKey(TlsContext *context, } else #endif -#if (TLS_ECDSA_SIGN_SUPPORT == ENABLED) +#if (TLS_ECDSA_SIGN_SUPPORT == ENABLED || TLS_SM2_SIGN_SUPPORT == ENABLED) //EC public key? if(!oidComp(oid, oidLen, EC_PUBLIC_KEY_OID, sizeof(EC_PUBLIC_KEY_OID))) { @@ -1859,13 +1594,24 @@ error_t tlsReadSubjectPublicKey(TlsContext *context, //Check status code if(!error) { - //The certificate contains a valid EC public key - context->peerCertType = TLS_CERT_ECDSA_SIGN; + //SM2 elliptic curve? + if(!oidComp(subjectPublicKeyInfo->ecParams.namedCurve.value, + subjectPublicKeyInfo->ecParams.namedCurve.length, SM2_OID, + sizeof(SM2_OID))) + { + //The certificate contains a valid SM2 public key + context->peerCertType = TLS_CERT_SM2_SIGN; + } + else + { + //The certificate contains a valid EC public key + context->peerCertType = TLS_CERT_ECDSA_SIGN; + } } } else #endif -#if (TLS_EDDSA_SIGN_SUPPORT == ENABLED) +#if (TLS_ED25519_SIGN_SUPPORT == ENABLED || TLS_ED448_SIGN_SUPPORT == ENABLED) //Ed25519 or Ed448 public key? if(!oidComp(oid, oidLen, ED25519_OID, sizeof(ED25519_OID)) || !oidComp(oid, oidLen, ED448_OID, sizeof(ED448_OID))) @@ -1967,12 +1713,14 @@ error_t tlsReadSubjectPublicKey(TlsContext *context, } } else if(context->keyExchMethod == TLS13_KEY_EXCH_DHE || - context->keyExchMethod == TLS13_KEY_EXCH_ECDHE) + context->keyExchMethod == TLS13_KEY_EXCH_ECDHE || + context->keyExchMethod == TLS13_KEY_EXCH_HYBRID) { //TLS 1.3 removes support for DSA certificates if(context->peerCertType != TLS_CERT_RSA_SIGN && context->peerCertType != TLS_CERT_RSA_PSS_SIGN && context->peerCertType != TLS_CERT_ECDSA_SIGN && + context->peerCertType != TLS_CERT_SM2_SIGN && context->peerCertType != TLS_CERT_ED25519_SIGN && context->peerCertType != TLS_CERT_ED448_SIGN) { @@ -2037,7 +1785,8 @@ error_t tlsCheckKeyUsage(const X509CertInfo *certInfo, keyExchMethod == TLS_KEY_EXCH_ECDHE_RSA || keyExchMethod == TLS_KEY_EXCH_ECDHE_ECDSA || keyExchMethod == TLS13_KEY_EXCH_DHE || - keyExchMethod == TLS13_KEY_EXCH_ECDHE) + keyExchMethod == TLS13_KEY_EXCH_ECDHE || + keyExchMethod == TLS13_KEY_EXCH_HYBRID) { //The digitalSignature bit must be asserted when the subject public //key is used for verifying digital signatures, other than signatures diff --git a/src/cyclone/cyclone_ssl/tls_certificate.h b/src/cyclone/cyclone_ssl/tls_certificate.h index 4621820f..f799340b 100644 --- a/src/cyclone/cyclone_ssl/tls_certificate.h +++ b/src/cyclone/cyclone_ssl/tls_certificate.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneSSL Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ #ifndef _TLS_CERTIFICATE_H @@ -53,20 +53,20 @@ error_t tlsParseCertificateList(TlsContext *context, const uint8_t *p, error_t tlsParseRawPublicKey(TlsContext *context, const uint8_t *p, size_t length); -bool_t tlsIsCertificateAcceptable(TlsContext *context, const TlsCertDesc *cert, - const uint8_t *certTypes, size_t numCertTypes, const TlsSignHashAlgos *signHashAlgos, - const TlsSignHashAlgos *certSignHashAlgos, const TlsSupportedGroupList *curveList, +bool_t tlsIsCertificateAcceptable(TlsContext *context, + const TlsCertDesc *cert, const uint8_t *certTypes, size_t numCertTypes, + const TlsSupportedGroupList *curveList, + const TlsSignSchemeList *certSignAlgoList, const TlsCertAuthorities *certAuthorities); error_t tlsValidateCertificate(TlsContext *context, - const X509CertInfo *certInfo, uint_t pathLen, - const char_t *subjectName); + const X509CertInfo *certInfo, uint_t pathLen, const char_t *subjectName); error_t tlsGetCertificateType(const X509CertInfo *certInfo, TlsCertificateType *certType, TlsNamedGroup *namedCurve); error_t tlsGetCertificateSignAlgo(const X509CertInfo *certInfo, - TlsSignatureAlgo *signAlgo, TlsHashAlgo *hashAlgo); + TlsSignatureScheme *signScheme); error_t tlsReadSubjectPublicKey(TlsContext *context, const X509SubjectPublicKeyInfo *subjectPublicKeyInfo); diff --git a/src/cyclone/cyclone_tcp/http/http_client_transport.c b/src/cyclone/cyclone_tcp/http/http_client_transport.c index f04a9d06..5ed860dc 100644 --- a/src/cyclone/cyclone_tcp/http/http_client_transport.c +++ b/src/cyclone/cyclone_tcp/http/http_client_transport.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.2 + * @version 2.4.4 **/ //Switch to the appropriate trace level diff --git a/src/cyclone/cyclone_tcp/http/http_client_transport.h b/src/cyclone/cyclone_tcp/http/http_client_transport.h index a4950832..d17cf3ca 100644 --- a/src/cyclone/cyclone_tcp/http/http_client_transport.h +++ b/src/cyclone/cyclone_tcp/http/http_client_transport.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.2 + * @version 2.4.4 **/ #ifndef _HTTP_CLIENT_TRANSPORT_H diff --git a/src/cyclone/cyclone_tcp/http/http_server.c b/src/cyclone/cyclone_tcp/http/http_server.c index c4172f8e..c7259ac4 100644 --- a/src/cyclone/cyclone_tcp/http/http_server.c +++ b/src/cyclone/cyclone_tcp/http/http_server.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * @@ -35,14 +35,13 @@ * - RFC 2818: HTTP Over TLS * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ // Switch to the appropriate trace level #define TRACE_LEVEL HTTP_TRACE_LEVEL // Dependencies -#include #include "core/net.h" #include "http/http_server.h" #include "http/http_server_auth.h" @@ -55,6 +54,7 @@ // Check TCP/IP stack configuration #if (HTTP_SERVER_SUPPORT == ENABLED) + /** * @brief Initialize settings with default values * @param[out] settings Structure that contains HTTP server settings @@ -62,6 +62,22 @@ void httpServerGetDefaultSettings(HttpServerSettings *settings) { + uint_t i; + + //Initialize listener task parameters + settings->listenerTask = OS_TASK_DEFAULT_PARAMS; + settings->listenerTask.stackSize = HTTP_SERVER_STACK_SIZE; + settings->listenerTask.priority = HTTP_SERVER_PRIORITY; + + //Initialize connection task parameters + for(i = 0; i < HTTP_SERVER_MAX_CONNECTIONS; i++) + { + //Default task parameters + settings->connectionTask[i] = OS_TASK_DEFAULT_PARAMS; + settings->connectionTask[i].stackSize = HTTP_SERVER_STACK_SIZE; + settings->connectionTask[i].priority = HTTP_SERVER_PRIORITY; + } + // The HTTP server is not bound to any interface settings->interface = NULL; @@ -101,6 +117,7 @@ void httpServerGetDefaultSettings(HttpServerSettings *settings) settings->uriNotFoundCallback = NULL; } + /** * @brief HTTP server initialization * @param[in] context Pointer to the HTTP server context @@ -122,12 +139,19 @@ error_t httpServerInit(HttpServerContext *context, const HttpServerSettings *set return ERROR_INVALID_PARAMETER; // Check settings - if (settings->maxConnections == 0 || settings->connections == NULL) + if(settings->connections == NULL || settings->maxConnections < 1 || + settings->maxConnections > HTTP_SERVER_MAX_CONNECTIONS) + { return ERROR_INVALID_PARAMETER; + } // Clear the HTTP server context osMemset(context, 0, sizeof(HttpServerContext)); + //Initialize task parameters + context->taskParams = settings->listenerTask; + context->taskId = (OsTaskId) OS_INVALID_TASK_ID; + // Save user settings context->settings = *settings; // Client connections @@ -146,6 +170,10 @@ error_t httpServerInit(HttpServerContext *context, const HttpServerSettings *set // Initialize the structure osMemset(connection, 0, sizeof(HttpConnection)); + //Initialize task parameters + connection->taskParams = settings->connectionTask[i]; + connection->taskId = (OsTaskId) OS_INVALID_TASK_ID; + // Create an event object to manage connection lifetime if (!osCreateEvent(&connection->startEvent)) return ERROR_OUT_OF_RESOURCES; @@ -199,6 +227,7 @@ error_t httpServerInit(HttpServerContext *context, const HttpServerSettings *set return NO_ERROR; } + /** * @brief Start HTTP server * @param[in] context Pointer to the HTTP server context @@ -223,41 +252,28 @@ error_t httpServerStart(HttpServerContext *context) // Point to the current session connection = &context->connections[i]; -#if (OS_STATIC_TASK_SUPPORT == ENABLED) - // Create a task using statically allocated memory - connection->taskId = osCreateStaticTask("HTTP Connection", - (OsTaskCode)httpConnectionTask, connection, &connection->taskTcb, - connection->taskStack, HTTP_SERVER_STACK_SIZE, HTTP_SERVER_PRIORITY); -#else // Create a task connection->taskId = osCreateTask("HTTP Connection", httpConnectionTask, - &context->connections[i], HTTP_SERVER_STACK_SIZE, HTTP_SERVER_PRIORITY); -#endif + connection, &connection->taskParams); // Unable to create the task? - if (connection->taskId == OS_INVALID_TASK_ID) + if (connection->taskId == (OsTaskId) OS_INVALID_TASK_ID) return ERROR_OUT_OF_RESOURCES; } -#if (OS_STATIC_TASK_SUPPORT == ENABLED) - // Create a task using statically allocated memory - context->taskId = osCreateStaticTask("HTTP Listener", - (OsTaskCode)httpListenerTask, context, &context->taskTcb, - context->taskStack, HTTP_SERVER_STACK_SIZE, HTTP_SERVER_PRIORITY); -#else // Create a task context->taskId = osCreateTask("HTTP Listener", httpListenerTask, - context, HTTP_SERVER_STACK_SIZE, HTTP_SERVER_PRIORITY); -#endif + context, &context->taskParams); // Unable to create the task? - if (context->taskId == OS_INVALID_TASK_ID) + if (context->taskId == (OsTaskId) OS_INVALID_TASK_ID) return ERROR_OUT_OF_RESOURCES; // The HTTP server has successfully started return NO_ERROR; } + /** * @brief HTTP server listener task * @param[in] param Pointer to the HTTP server context @@ -303,6 +319,9 @@ void httpListenerTask(void *param) // Make sure the socket handle is valid if (socket != NULL) { + //Just for sanity + (void) counter; + // Debug message TRACE_INFO("Connection #%u established with client %s port %" PRIu16 "...\r\n", counter, ipAddrToString(&clientIpAddr, NULL), clientPort); @@ -326,8 +345,6 @@ void httpListenerTask(void *param) { // Just for sanity osReleaseSemaphore(&context->semaphore); - /* original code releases connection->serverContext, which is not set yet */ - // osReleaseSemaphore(&connection->serverContext->semaphore); } // We are done @@ -337,6 +354,7 @@ void httpListenerTask(void *param) } } + /** * @brief Task that services requests from an active connection * @param[in] param Structure representing an HTTP connection with a client @@ -665,6 +683,7 @@ void httpConnectionTask(void *param) } } + /** * @brief Send HTTP response header * @param[in] connection Structure representing an HTTP connection @@ -699,6 +718,7 @@ error_t httpWriteHeader(HttpConnection *connection) return error; } + /** * @brief Read data from client request * @param[in] connection Structure representing an HTTP connection @@ -765,7 +785,7 @@ error_t httpReadStream(HttpConnection *connection, // The HTTP_FLAG_BREAK_CHAR flag causes the function to stop reading // data as soon as the specified break character is encountered - if ((flags & HTTP_FLAG_BREAK_CRLF) != 0) + if((flags & HTTP_FLAG_BREAK_CHAR) != 0) { // Check whether a break character has been received if (p[n - 1] == LSB(flags)) @@ -773,7 +793,7 @@ error_t httpReadStream(HttpConnection *connection, } // The HTTP_FLAG_WAIT_ALL flag causes the function to return // only when the requested number of bytes have been read - else if (!(flags & HTTP_FLAG_WAIT_ALL)) + else if((flags & HTTP_FLAG_WAIT_ALL) == 0) { break; } @@ -806,6 +826,7 @@ error_t httpReadStream(HttpConnection *connection, return NO_ERROR; } + /** * @brief Write data to the client * @param[in] connection Structure representing an HTTP connection @@ -872,6 +893,7 @@ error_t httpWriteStream(HttpConnection *connection, return error; } + /** * @brief Close output stream * @param[in] connection Structure representing an HTTP connection @@ -898,6 +920,7 @@ error_t httpCloseStream(HttpConnection *connection) return error; } + /** * @brief Send HTTP response * @param[in] connection Structure representing an HTTP connection @@ -980,6 +1003,7 @@ error_t httpSendResponseStreamUnsafe(HttpConnection *connection, const char_t *u if (error) return ERROR_NOT_FOUND; } + // Open the file for reading file = fsOpenFile(connection->buffer, FS_FILE_MODE_READ); // Failed to open the file? @@ -1183,6 +1207,7 @@ error_t httpSendResponseStreamUnsafe(HttpConnection *connection, const char_t *u return error; } + /** * @brief Send error response to the client * @param[in] connection Structure representing an HTTP connection @@ -1212,9 +1237,9 @@ error_t httpSendErrorResponse(HttpConnection *connection, length = osStrlen(template) + osStrlen(message) - 4; // Check whether the HTTP request has a body - if (osStrcasecmp(connection->request.method, "GET") && - osStrcasecmp(connection->request.method, "HEAD") && - osStrcasecmp(connection->request.method, "DELETE")) + if (osStrcasecmp(connection->request.method, "GET") != 0 && + osStrcasecmp(connection->request.method, "HEAD") != 0 && + osStrcasecmp(connection->request.method, "DELETE") != 0) { // Drop the HTTP request body and close the connection after sending // the HTTP response @@ -1248,6 +1273,7 @@ error_t httpSendErrorResponse(HttpConnection *connection, return error; } + /** * @brief Send redirect response to the client * @param[in] connection Structure representing an HTTP connection @@ -1277,9 +1303,9 @@ error_t httpSendRedirectResponse(HttpConnection *connection, length = osStrlen(template) + 2 * osStrlen(uri) - 4; // Check whether the HTTP request has a body - if (osStrcasecmp(connection->request.method, "GET") && - osStrcasecmp(connection->request.method, "HEAD") && - osStrcasecmp(connection->request.method, "DELETE")) + if(osStrcasecmp(connection->request.method, "GET") != 0 && + osStrcasecmp(connection->request.method, "HEAD") != 0 && + osStrcasecmp(connection->request.method, "DELETE") != 0) { // Drop the HTTP request body and close the connection after sending // the HTTP response @@ -1314,6 +1340,7 @@ error_t httpSendRedirectResponse(HttpConnection *connection, return error; } + /** * @brief Check whether the client's handshake is valid * @param[in] connection Structure representing an HTTP connection @@ -1362,6 +1389,7 @@ bool_t httpCheckWebSocketHandshake(HttpConnection *connection) #endif } + /** * @brief Upgrade an existing HTTP connection to a WebSocket * @param[in] connection Structure representing an HTTP connection @@ -1422,4 +1450,5 @@ WebSocket *httpUpgradeToWebSocket(HttpConnection *connection) return webSocket; } + #endif diff --git a/src/cyclone/cyclone_tcp/http/http_server.h b/src/cyclone/cyclone_tcp/http/http_server.h index ce424eb7..3570adfa 100644 --- a/src/cyclone/cyclone_tcp/http/http_server.h +++ b/src/cyclone/cyclone_tcp/http/http_server.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ #ifndef _HTTP_SERVER_H @@ -133,6 +133,13 @@ #define HTTP_SERVER_PRIORITY OS_TASK_PRIORITY_NORMAL #endif +//Maximum number of simultaneous client connections +#ifndef HTTP_SERVER_MAX_CONNECTIONS + #define HTTP_SERVER_MAX_CONNECTIONS 10 +#elif (HTTP_SERVER_MAX_CONNECTIONS < 1) + #error HTTP_SERVER_MAX_CONNECTIONS parameter is not valid +#endif + //HTTP connection timeout #ifndef HTTP_SERVER_TIMEOUT #define HTTP_SERVER_TIMEOUT 10000 @@ -559,25 +566,27 @@ typedef struct typedef struct { - NetInterface *interface; /// #include #include "core/net.h" #include "http/http_server.h" @@ -47,6 +46,7 @@ //Check TCP/IP stack configuration #if (HTTP_SERVER_SUPPORT == ENABLED) + /** * @brief Read HTTP request header and parse its contents * @param[in] connection Structure representing an HTTP connection @@ -139,7 +139,7 @@ error_t httpReadRequestHeader(HttpConnection *connection) TRACE_DEBUG("%s", connection->buffer); //An empty line indicates the end of the header fields - if(!osStrcmp(connection->buffer, "\r\n")) + if(osStrcmp(connection->buffer, "\r\n") == 0) break; //Check whether a separator is present @@ -248,7 +248,7 @@ error_t httpParseRequestLine(HttpConnection *connection, char_t *requestLine) } //Redirect to the default home page if necessary - if(!osStrcasecmp(connection->request.uri, "/")) + if(osStrcasecmp(connection->request.uri, "/") == 0) osStrcpy(connection->request.uri, connection->settings->defaultDocument); //Clean the resulting path @@ -266,7 +266,7 @@ error_t httpParseRequestLine(HttpConnection *connection, char_t *requestLine) connection->request.keepAlive = FALSE; } //HTTP version 1.0? - else if(!osStrcasecmp(token, "HTTP/1.0")) + else if(osStrcasecmp(token, "HTTP/1.0") == 0) { //Save version number connection->request.version = HTTP_VERSION_1_0; @@ -274,7 +274,7 @@ error_t httpParseRequestLine(HttpConnection *connection, char_t *requestLine) connection->request.keepAlive = FALSE; } //HTTP version 1.1? - else if(!osStrcasecmp(token, "HTTP/1.1")) + else if(osStrcasecmp(token, "HTTP/1.1") == 0) { //Save version number connection->request.version = HTTP_VERSION_1_1; @@ -362,7 +362,7 @@ error_t httpReadHeaderField(HttpConnection *connection, buffer[length] = '\0'; //An empty line indicates the end of the header fields - if(!osStrcmp(buffer, "\r\n")) + if(osStrcmp(buffer, "\r\n") == 0) break; //Read the next character to detect if the CRLF is immediately @@ -408,51 +408,51 @@ void httpParseHeaderField(HttpConnection *connection, const char_t *name, char_t *value) { //Host header field? - if(!osStrcasecmp(name, "Host")) + if(osStrcasecmp(name, "Host") == 0) { //Save host name strSafeCopy(connection->request.host, value, HTTP_SERVER_HOST_MAX_LEN); } //Connection header field? - else if(!osStrcasecmp(name, "Connection")) + else if(osStrcasecmp(name, "Connection") == 0) { //Parse Connection header field httpParseConnectionField(connection, value); } //Transfer-Encoding header field? - else if(!osStrcasecmp(name, "Transfer-Encoding")) + else if(osStrcasecmp(name, "Transfer-Encoding") == 0) { //Check whether chunked encoding is used - if(!osStrcasecmp(value, "chunked")) + if(osStrcasecmp(value, "chunked") == 0) connection->request.chunkedEncoding = TRUE; } //Content-Type field header? - else if(!osStrcasecmp(name, "Content-Type")) + else if(osStrcasecmp(name, "Content-Type") == 0) { //Parse Content-Type header field httpParseContentTypeField(connection, value); } //Content-Length header field? - else if(!osStrcasecmp(name, "Content-Length")) + else if(osStrcasecmp(name, "Content-Length") == 0) { //Get the length of the body data connection->request.contentLength = atoi(value); } //Accept-Encoding field header? - else if(!osStrcasecmp(name, "Accept-Encoding")) + else if(osStrcasecmp(name, "Accept-Encoding") == 0) { //Parse Content-Type header field httpParseAcceptEncodingField(connection, value); } //Authorization header field? - else if(!osStrcasecmp(name, "Authorization")) + else if(osStrcasecmp(name, "Authorization") == 0) { //Parse Authorization header field httpParseAuthorizationField(connection, value); } // Range header field? - else if (!osStrcasecmp(name, "Range")) + else if (osStrcasecmp(name, "Range") == 0) { sscanf(value, "bytes=%" PRIu32 "-%" PRIu32, &connection->request.Range.start, &connection->request.Range.end); if (connection->request.Range.start < 0) @@ -461,21 +461,21 @@ void httpParseHeaderField(HttpConnection *connection, connection->request.Range.end = 0; } // If-Range header field? - else if (!osStrcasecmp(name, "If-Range")) + else if (osStrcasecmp(name, "If-Range") == 0) { strSafeCopy(connection->request.ifRange, value, HTTP_SERVER_IFRANGE_MAX_LEN); } #if (HTTP_SERVER_WEB_SOCKET_SUPPORT == ENABLED) //Upgrade header field? - else if(!osStrcasecmp(name, "Upgrade")) + else if(osStrcasecmp(name, "Upgrade") == 0) { //WebSocket support? - if(!osStrcasecmp(value, "websocket")) + if(osStrcasecmp(value, "websocket") == 0) connection->request.upgradeWebSocket = TRUE; } //Sec-WebSocket-Key header field? - else if(!osStrcasecmp(name, "Sec-WebSocket-Key")) + else if(osStrcasecmp(name, "Sec-WebSocket-Key") == 0) { //Save the contents of the Sec-WebSocket-Key header field strSafeCopy(connection->request.clientKey, value, @@ -484,19 +484,20 @@ void httpParseHeaderField(HttpConnection *connection, #endif #if (HTTP_SERVER_COOKIE_SUPPORT == ENABLED) //Cookie header field? - else if(!osStrcasecmp(name, "Cookie")) + else if(osStrcasecmp(name, "Cookie") == 0) { //Parse Cookie header field httpParseCookieField(connection, value); } #endif - else if (!osStrcasecmp(name, "User-Agent")) + else if (osStrcasecmp(name, "User-Agent") == 0) { strSafeCopy(connection->request.userAgent, value, sizeof(connection->request.userAgent) + 1); } } + /** * @brief Parse Connection header field * @param[in] connection Structure representing an HTTP connection @@ -519,18 +520,18 @@ void httpParseConnectionField(HttpConnection *connection, value = strTrimWhitespace(token); //Check current value - if(!osStrcasecmp(value, "keep-alive")) + if(osStrcasecmp(value, "keep-alive") == 0) { //The connection is persistent connection->request.keepAlive = TRUE; } - else if(!osStrcasecmp(value, "close")) + else if(osStrcasecmp(value, "close") == 0) { //The connection will be closed after completion of the response connection->request.keepAlive = FALSE; } #if (HTTP_SERVER_WEB_SOCKET_SUPPORT == ENABLED) - else if(!osStrcasecmp(value, "upgrade")) + else if(osStrcasecmp(value, "upgrade") == 0) { //Upgrade the connection connection->request.connectionUpgrade = TRUE; @@ -564,7 +565,7 @@ void httpParseContentTypeField(HttpConnection *connection, return; //The boundary parameter makes sense only for the multipart content-type - if(!osStrcasecmp(token, "multipart")) + if(osStrcasecmp(token, "multipart") == 0) { //Skip subtype token = osStrtok_r(NULL, ";", &p); @@ -582,7 +583,7 @@ void httpParseContentTypeField(HttpConnection *connection, token = strTrimWhitespace(token); //Check parameter name - if(!osStrcasecmp(token, "boundary")) + if(osStrcasecmp(token, "boundary") == 0) { //Retrieve parameter value token = osStrtok_r(NULL, ";", &p); @@ -599,7 +600,7 @@ void httpParseContentTypeField(HttpConnection *connection, if(n < HTTP_SERVER_BOUNDARY_MAX_LEN) { //Copy the boundary string - osStrcpy(connection->request.boundary, token); + osStrncpy(connection->request.boundary, token, n); //Properly terminate the string connection->request.boundary[n] = '\0'; @@ -635,7 +636,7 @@ void httpParseAcceptEncodingField(HttpConnection *connection, value = strTrimWhitespace(token); //Check current value - if(!osStrcasecmp(value, "gzip")) + if(osStrcasecmp(value, "gzip") == 0) { //gzip compression is supported connection->request.acceptGzipEncoding = TRUE; @@ -693,7 +694,7 @@ error_t httpReadChunkSize(HttpConnection *connection) s[n] = '\0'; //The chunk data must be terminated by CRLF - if(osStrcmp(s, "\r\n")) + if(osStrcmp(s, "\r\n") != 0) return ERROR_WRONG_ENCODING; } @@ -734,7 +735,7 @@ error_t httpReadChunkSize(HttpConnection *connection) s[n] = '\0'; //The trailer is terminated by an empty line - if(!osStrcmp(s, "\r\n")) + if(osStrcmp(s, "\r\n") == 0) break; } } @@ -1152,7 +1153,7 @@ bool_t httpCompExtension(const char_t *filename, const char_t *extension) return FALSE; //Compare extensions - if(!osStrncasecmp(filename + n - m, extension, m)) + if(osStrncasecmp(filename + n - m, extension, m) == 0) { return TRUE; } @@ -1255,4 +1256,4 @@ void httpConvertArrayToHexString(const uint8_t *input, output[i * 2] = '\0'; } -#endif \ No newline at end of file +#endif diff --git a/src/cyclone/cyclone_tcp/http/http_server_misc.h b/src/cyclone/cyclone_tcp/http/http_server_misc.h index c4bb5b44..839ef4ab 100644 --- a/src/cyclone/cyclone_tcp/http/http_server_misc.h +++ b/src/cyclone/cyclone_tcp/http/http_server_misc.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ #ifndef _HTTP_SERVER_MISC_H diff --git a/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.c b/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.c index bc266f6d..fdbe331b 100644 --- a/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.c +++ b/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.c @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ // Switch to the appropriate trace level @@ -66,6 +66,7 @@ error_t mqttClientWebSocketTlsInitCallback(WebSocket *webSocket, #endif + /** * @brief Open network connection * @param[in] context Pointer to the MQTT client context @@ -226,6 +227,7 @@ error_t mqttClientOpenConnection(MqttClientContext *context) return error; } + /** * @brief Establish network connection * @param[in] context Pointer to the MQTT client context @@ -325,6 +327,7 @@ error_t mqttClientEstablishConnection(MqttClientContext *context, return error; } + /** * @brief Shutdown network connection * @param[in] context Pointer to the MQTT client context @@ -397,6 +400,7 @@ error_t mqttClientShutdownConnection(MqttClientContext *context) return error; } + /** * @brief Close network connection * @param[in] context Pointer to the MQTT client context @@ -448,6 +452,7 @@ void mqttClientCloseConnection(MqttClientContext *context) #endif } + /** * @brief Send data using the relevant transport protocol * @param[in] context Pointer to the MQTT client context @@ -519,6 +524,7 @@ error_t mqttClientSendData(MqttClientContext *context, return error; } + /** * @brief Receive data using the relevant transport protocol * @param[in] context Pointer to the MQTT client context @@ -604,6 +610,7 @@ error_t mqttClientReceiveData(MqttClientContext *context, return error; } + /** * @brief Wait for incoming data * @param[in] context Pointer to the MQTT client context diff --git a/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.h b/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.h index 091d0085..051e557f 100644 --- a/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.h +++ b/src/cyclone/cyclone_tcp/mqtt/mqtt_client_transport.h @@ -6,7 +6,7 @@ * * SPDX-License-Identifier: GPL-2.0-or-later * - * Copyright (C) 2010-2023 Oryx Embedded SARL. All rights reserved. + * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * @@ -25,7 +25,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @author Oryx Embedded SARL (www.oryx-embedded.com) - * @version 2.3.0 + * @version 2.4.4 **/ #ifndef _MQTT_CLIENT_TRANSPORT_H diff --git a/src/handler_api.c b/src/handler_api.c index a794c502..3e7aa3a8 100644 --- a/src/handler_api.c +++ b/src/handler_api.c @@ -1938,7 +1938,7 @@ error_t handleApiEncodeFile(HttpConnection *connection, const char_t *uri, const return ERROR_FAILURE; } - char_t post_data[BODY_BUFFER_SIZE]; + char_t post_data[POST_BUFFER_SIZE]; error_t error = parsePostData(connection, post_data, POST_BUFFER_SIZE); if (error != NO_ERROR) { diff --git a/src/handler_cloud.c b/src/handler_cloud.c index 0fe955c1..844244d7 100644 --- a/src/handler_cloud.c +++ b/src/handler_cloud.c @@ -603,7 +603,9 @@ error_t handleCloudContent(HttpConnection *connection, const char_t *uri, const stream_ctx->error = NO_ERROR; stream_ctx->stop_on_playback_stop = true; stream_ctx->ctx = &ffmpeg_ctx; - stream_ctx->taskId = osCreateTask(streamFileRel, &ffmpeg_stream_task, stream_ctx, 10 * 1024, 0); + stream_ctx->taskParams.priority = 0; + stream_ctx->taskParams.stackSize = 10*1024; + stream_ctx->taskId = osCreateTask(streamFileRel, &ffmpeg_stream_task, stream_ctx, &stream_ctx->taskParams); while (!stream_ctx->active && stream_ctx->error == NO_ERROR) { @@ -652,7 +654,9 @@ error_t handleCloudContent(HttpConnection *connection, const char_t *uri, const stream_ctx->error = NO_ERROR; stream_ctx->stop_on_playback_stop = true; stream_ctx->ctx = &tap_param; - stream_ctx->taskId = osCreateTask(streamFileRel, &tap_generate_task, stream_ctx, 10 * 1024, 0); + stream_ctx->taskParams.stackSize = 10*1024; + stream_ctx->taskParams.priority = 0; + stream_ctx->taskId = osCreateTask(streamFileRel, &tap_generate_task, stream_ctx, &stream_ctx->taskParams); while (!stream_ctx->active && stream_ctx->error == NO_ERROR) { diff --git a/src/handler_sse.c b/src/handler_sse.c index 9273b7e7..a0a3db99 100644 --- a/src/handler_sse.c +++ b/src/handler_sse.c @@ -31,6 +31,7 @@ error_t handleApiSse(HttpConnection *connection, const char_t *uri, const char_t connection->response.contentLength = 0; connection->response.statusCode = 503; // Service Unavailable connection->response.keepAlive = FALSE; + connection->response.chunkedEncoding = FALSE; return httpWriteHeader(connection); } @@ -46,7 +47,8 @@ error_t handleApiSse(HttpConnection *connection, const char_t *uri, const char_t httpInitResponseHeader(connection); connection->response.contentType = "text/event-stream"; - connection->response.contentLength = CONTENT_LENGTH_UNKNOWN; + connection->response.keepAlive = TRUE; + connection->response.chunkedEncoding = TRUE; error_t error = httpWriteHeader(connection); if (error != NO_ERROR) @@ -59,8 +61,6 @@ error_t handleApiSse(HttpConnection *connection, const char_t *uri, const char_t while (true) { mutex_lock(MUTEX_SSE_CTX); - //(connection->socket != NULL && (connection->socket->state == TCP_STATE_CLOSED)) || - //(connection->tlsContext != NULL && (connection->tlsContext->state == TLS_STATE_CLOSED)) || if (sseCtx->error != NO_ERROR || sseCtx->active == FALSE || (sseCtx->lastConnection + SSE_TIMEOUT_S < time(NULL))) { httpFlushStream(connection); diff --git a/src/mqtt.c b/src/mqtt.c index 3cb17133..171310f6 100644 --- a/src/mqtt.c +++ b/src/mqtt.c @@ -928,7 +928,11 @@ t_ha_info *mqtt_get_box(client_ctx_t *client_ctx) void mqtt_init() { - osCreateTask("MQTT", &mqtt_thread, NULL, 1024, 0); + OsTaskParameters taskParams; + taskParams.priority = 0; + taskParams.stackSize = 1024; + + osCreateTask("MQTT", &mqtt_thread, NULL, &taskParams); t_ha_entity entity; @@ -991,4 +995,4 @@ void mqtt_init() ha_add(&ha_server_instance, &entity); } }; -} \ No newline at end of file +} diff --git a/src/opus/src/opus_private.h b/src/opus/src/opus_private.h new file mode 100644 index 00000000..279f5f95 --- /dev/null +++ b/src/opus/src/opus_private.h @@ -0,0 +1,223 @@ +/* Copyright (c) 2012 Xiph.Org Foundation + Written by Jean-Marc Valin */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#ifndef OPUS_PRIVATE_H +#define OPUS_PRIVATE_H + +#include "arch.h" +#include "opus.h" +#include "celt.h" + +#include /* va_list */ +#include /* offsetof */ + +struct OpusRepacketizer { + unsigned char toc; + int nb_frames; + const unsigned char *frames[48]; + opus_int16 len[48]; + int framesize; + const unsigned char *paddings[48]; + opus_int32 padding_len[48]; +}; + +typedef struct { + int id; + int frame; + const unsigned char *data; + opus_int32 len; +} opus_extension_data; + +typedef struct ChannelLayout { + int nb_channels; + int nb_streams; + int nb_coupled_streams; + unsigned char mapping[256]; +} ChannelLayout; + +typedef enum { + MAPPING_TYPE_NONE, + MAPPING_TYPE_SURROUND, + MAPPING_TYPE_AMBISONICS +} MappingType; + +struct OpusMSEncoder { + ChannelLayout layout; + int arch; + int lfe_stream; + int application; + int variable_duration; + MappingType mapping_type; + opus_int32 bitrate_bps; + /* Encoder states go here */ + /* then opus_val32 window_mem[channels*120]; */ + /* then opus_val32 preemph_mem[channels]; */ +}; + +struct OpusMSDecoder { + ChannelLayout layout; + /* Decoder states go here */ +}; + +int opus_multistream_encoder_ctl_va_list(struct OpusMSEncoder *st, int request, + va_list ap); +int opus_multistream_decoder_ctl_va_list(struct OpusMSDecoder *st, int request, + va_list ap); + +int validate_layout(const ChannelLayout *layout); +int get_left_channel(const ChannelLayout *layout, int stream_id, int prev); +int get_right_channel(const ChannelLayout *layout, int stream_id, int prev); +int get_mono_channel(const ChannelLayout *layout, int stream_id, int prev); + +typedef void (*opus_copy_channel_in_func)( + opus_val16 *dst, + int dst_stride, + const void *src, + int src_stride, + int src_channel, + int frame_size, + void *user_data +); + +typedef void (*opus_copy_channel_out_func)( + void *dst, + int dst_stride, + int dst_channel, + const opus_val16 *src, + int src_stride, + int frame_size, + void *user_data +); + +#define MODE_SILK_ONLY 1000 +#define MODE_HYBRID 1001 +#define MODE_CELT_ONLY 1002 + +#define OPUS_SET_VOICE_RATIO_REQUEST 11018 +#define OPUS_GET_VOICE_RATIO_REQUEST 11019 + +/** Configures the encoder's expected percentage of voice + * opposed to music or other signals. + * + * @note This interface is currently more aspiration than actuality. It's + * ultimately expected to bias an automatic signal classifier, but it currently + * just shifts the static bitrate to mode mapping around a little bit. + * + * @param[in] x int: Voice percentage in the range 0-100, inclusive. + * @hideinitializer */ +#define OPUS_SET_VOICE_RATIO(x) OPUS_SET_VOICE_RATIO_REQUEST, __opus_check_int(x) +/** Gets the encoder's configured voice ratio value, @see OPUS_SET_VOICE_RATIO + * + * @param[out] x int*: Voice percentage in the range 0-100, inclusive. + * @hideinitializer */ +#define OPUS_GET_VOICE_RATIO(x) OPUS_GET_VOICE_RATIO_REQUEST, __opus_check_int_ptr(x) + + +#define OPUS_SET_FORCE_MODE_REQUEST 11002 +#define OPUS_SET_FORCE_MODE(x) OPUS_SET_FORCE_MODE_REQUEST, __opus_check_int(x) + +typedef void (*downmix_func)(const void *, opus_val32 *, int, int, int, int, int); +void downmix_float(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C); +void downmix_int(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C); +int is_digital_silence(const opus_val16* pcm, int frame_size, int channels, int lsb_depth); + +int encode_size(int size, unsigned char *data); + +opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs); + +opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, + unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, + const void *analysis_pcm, opus_int32 analysis_size, int c1, int c2, + int analysis_channels, downmix_func downmix, int float_api); + +int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, + opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, + opus_int32 *packet_offset, int soft_clip, const OpusDRED *dred, opus_int32 dred_offset); + +/* Make sure everything is properly aligned. */ +static OPUS_INLINE int align(int i) +{ + struct foo {char c; union { void* p; opus_int32 i; opus_val32 v; } u;}; + + unsigned int alignment = offsetof(struct foo, u); + + /* Optimizing compilers should optimize div and multiply into and + for all sensible alignment values. */ + return ((i + alignment - 1) / alignment) * alignment; +} + +/* More than that is ridiculous for now (3 * max frames per packet)*/ +opus_int32 skip_extension(const unsigned char **data, opus_int32 len, opus_int32 *header_size); + +int opus_packet_parse_impl(const unsigned char *data, opus_int32 len, + int self_delimited, unsigned char *out_toc, + const unsigned char *frames[48], opus_int16 size[48], + int *payload_offset, opus_int32 *packet_offset, + const unsigned char **padding, opus_int32 *padding_len); + +opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, + unsigned char *data, opus_int32 maxlen, int self_delimited, int pad, + const opus_extension_data *extensions, int nb_extensions); + +int pad_frame(unsigned char *data, opus_int32 len, opus_int32 new_len); + +int opus_multistream_encode_native +( + struct OpusMSEncoder *st, + opus_copy_channel_in_func copy_channel_in, + const void *pcm, + int analysis_frame_size, + unsigned char *data, + opus_int32 max_data_bytes, + int lsb_depth, + downmix_func downmix, + int float_api, + void *user_data +); + +int opus_multistream_decode_native( + struct OpusMSDecoder *st, + const unsigned char *data, + opus_int32 len, + void *pcm, + opus_copy_channel_out_func copy_channel_out, + int frame_size, + int decode_fec, + int soft_clip, + void *user_data +); + +opus_int32 opus_packet_extensions_parse(const unsigned char *data, opus_int32 len, opus_extension_data *extensions, opus_int32 *nb_extensions); + +opus_int32 opus_packet_extensions_generate(unsigned char *data, opus_int32 len, const opus_extension_data *extensions, opus_int32 nb_extensions, int pad); + +opus_int32 opus_packet_extensions_count(const unsigned char *data, opus_int32 len); + +opus_int32 opus_packet_pad_impl(unsigned char *data, opus_int32 len, opus_int32 new_len, int pad, const opus_extension_data *extensions, int nb_extensions); + +#endif /* OPUS_PRIVATE_H */ diff --git a/src/opus/src/repacketizer.c b/src/opus/src/repacketizer.c new file mode 100644 index 00000000..654eaaf8 --- /dev/null +++ b/src/opus/src/repacketizer.c @@ -0,0 +1,465 @@ +/* Copyright (c) 2011 Xiph.Org Foundation + Written by Jean-Marc Valin */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "opus.h" +#include "opus_private.h" +#include "os_support.h" +#include "stack_alloc.h" + + +int opus_repacketizer_get_size(void) +{ + return sizeof(OpusRepacketizer); +} + +OpusRepacketizer *opus_repacketizer_init(OpusRepacketizer *rp) +{ + rp->nb_frames = 0; + return rp; +} + +OpusRepacketizer *opus_repacketizer_create(void) +{ + OpusRepacketizer *rp; + rp=(OpusRepacketizer *)opus_alloc(opus_repacketizer_get_size()); + if(rp==NULL)return NULL; + return opus_repacketizer_init(rp); +} + +void opus_repacketizer_destroy(OpusRepacketizer *rp) +{ + opus_free(rp); +} + +static int opus_repacketizer_cat_impl(OpusRepacketizer *rp, const unsigned char *data, opus_int32 len, int self_delimited) +{ + unsigned char tmp_toc; + int curr_nb_frames,ret; + /* Set of check ToC */ + if (len<1) return OPUS_INVALID_PACKET; + if (rp->nb_frames == 0) + { + rp->toc = data[0]; + rp->framesize = opus_packet_get_samples_per_frame(data, 8000); + } else if ((rp->toc&0xFC) != (data[0]&0xFC)) + { + /*fprintf(stderr, "toc mismatch: 0x%x vs 0x%x\n", rp->toc, data[0]);*/ + return OPUS_INVALID_PACKET; + } + curr_nb_frames = opus_packet_get_nb_frames(data, len); + if(curr_nb_frames<1) return OPUS_INVALID_PACKET; + + /* Check the 120 ms maximum packet size */ + if ((curr_nb_frames+rp->nb_frames)*rp->framesize > 960) + { + return OPUS_INVALID_PACKET; + } + + ret=opus_packet_parse_impl(data, len, self_delimited, &tmp_toc, &rp->frames[rp->nb_frames], &rp->len[rp->nb_frames], + NULL, NULL, &rp->paddings[rp->nb_frames], &rp->padding_len[rp->nb_frames]); + if(ret<1)return ret; + + /* set padding length to zero for all but the first frame */ + while (curr_nb_frames > 1) + { + rp->nb_frames++; + rp->padding_len[rp->nb_frames] = 0; + rp->paddings[rp->nb_frames] = NULL; + curr_nb_frames--; + } + rp->nb_frames++; + return OPUS_OK; +} + +int opus_repacketizer_cat(OpusRepacketizer *rp, const unsigned char *data, opus_int32 len) +{ + return opus_repacketizer_cat_impl(rp, data, len, 0); +} + +int opus_repacketizer_get_nb_frames(OpusRepacketizer *rp) +{ + return rp->nb_frames; +} + +opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, + unsigned char *data, opus_int32 maxlen, int self_delimited, int pad, const opus_extension_data *extensions, int nb_extensions) +{ + int i, count; + opus_int32 tot_size; + opus_int16 *len; + const unsigned char **frames; + unsigned char * ptr; + int ones_begin=0, ones_end=0; + int ext_begin=0, ext_len=0; + int ext_count, total_ext_count; + VARDECL(opus_extension_data, all_extensions); + SAVE_STACK; + + if (begin<0 || begin>=end || end>rp->nb_frames) + { + /*fprintf(stderr, "%d %d %d\n", begin, end, rp->nb_frames);*/ + RESTORE_STACK; + return OPUS_BAD_ARG; + } + count = end-begin; + + len = rp->len+begin; + frames = rp->frames+begin; + if (self_delimited) + tot_size = 1 + (len[count-1]>=252); + else + tot_size = 0; + + /* figure out total number of extensions */ + total_ext_count = nb_extensions; + for (i=begin;ipaddings[i], rp->padding_len[i]); + if (n > 0) total_ext_count += n; + } + ALLOC(all_extensions, total_ext_count ? total_ext_count : ALLOC_NONE, opus_extension_data); + /* copy over any extensions that were passed in */ + for (ext_count=0;ext_countpaddings[i], rp->padding_len[i], + &all_extensions[ext_count], &frame_ext_count); + if (ret<0) + { + RESTORE_STACK; + return OPUS_INTERNAL_ERROR; + } + /* renumber the extension frame numbers */ + for (j=0;j maxlen) + { + RESTORE_STACK; + return OPUS_BUFFER_TOO_SMALL; + } + *ptr++ = rp->toc&0xFC; + } else if (count==2) + { + if (len[1] == len[0]) + { + /* Code 1 */ + tot_size += 2*len[0]+1; + if (tot_size > maxlen) + { + RESTORE_STACK; + return OPUS_BUFFER_TOO_SMALL; + } + *ptr++ = (rp->toc&0xFC) | 0x1; + } else { + /* Code 2 */ + tot_size += len[0]+len[1]+2+(len[0]>=252); + if (tot_size > maxlen) + { + RESTORE_STACK; + return OPUS_BUFFER_TOO_SMALL; + } + *ptr++ = (rp->toc&0xFC) | 0x2; + ptr += encode_size(len[0], ptr); + } + } + if (count > 2 || (pad && tot_size < maxlen) || ext_count > 0) + { + /* Code 3 */ + int vbr; + int pad_amount=0; + + /* Restart the process for the padding case */ + ptr = data; + if (self_delimited) + tot_size = 1 + (len[count-1]>=252); + else + tot_size = 0; + vbr = 0; + for (i=1;i=252) + len[i]; + tot_size += len[count-1]; + + if (tot_size > maxlen) + { + RESTORE_STACK; + return OPUS_BUFFER_TOO_SMALL; + } + *ptr++ = (rp->toc&0xFC) | 0x3; + *ptr++ = count | 0x80; + } else { + tot_size += count*len[0]+2; + if (tot_size > maxlen) + { + RESTORE_STACK; + return OPUS_BUFFER_TOO_SMALL; + } + *ptr++ = (rp->toc&0xFC) | 0x3; + *ptr++ = count; + } + pad_amount = pad ? (maxlen-tot_size) : 0; + if (ext_count>0) + { + /* figure out how much space we need for the extensions */ + ext_len = opus_packet_extensions_generate(NULL, maxlen-tot_size, all_extensions, ext_count, 0); + if (ext_len < 0) return ext_len; + if (!pad) + pad_amount = ext_len + ext_len/254 + 1; + } + if (pad_amount != 0) + { + int nb_255s; + data[1] |= 0x40; + nb_255s = (pad_amount-1)/255; + if (tot_size + ext_len + nb_255s + 1 > maxlen) + { + RESTORE_STACK; + return OPUS_BUFFER_TOO_SMALL; + } + ext_begin = tot_size+pad_amount-ext_len; + /* Prepend 0x01 padding */ + ones_begin = tot_size+nb_255s+1; + ones_end = tot_size+pad_amount-ext_len; + for (i=0;i 0) { + int ret = opus_packet_extensions_generate(&data[ext_begin], ext_len, all_extensions, ext_count, 0); + (void)ret; /* suppress unused warning when celt_assert() is not enabled */ + celt_assert(ret == ext_len); + } + for (i=ones_begin;inb_frames, data, maxlen, 0, 0, NULL, 0); +} + +opus_int32 opus_packet_pad_impl(unsigned char *data, opus_int32 len, opus_int32 new_len, int pad, const opus_extension_data *extensions, int nb_extensions) +{ + OpusRepacketizer rp; + opus_int32 ret; + VARDECL(unsigned char, copy); + SAVE_STACK; + if (len < 1) + return OPUS_BAD_ARG; + if (len==new_len) + return OPUS_OK; + else if (len > new_len) + return OPUS_BAD_ARG; + ALLOC(copy, len, unsigned char); + opus_repacketizer_init(&rp); + /* Moving payload to the end of the packet so we can do in-place padding */ + OPUS_COPY(copy, data, len); + ret = opus_repacketizer_cat(&rp, copy, len); + if (ret != OPUS_OK) + return ret; + ret = opus_repacketizer_out_range_impl(&rp, 0, rp.nb_frames, data, new_len, 0, pad, extensions, nb_extensions); + RESTORE_STACK; + return ret; +} + +int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len) +{ + opus_int32 ret; + ALLOC_STACK; + ret = opus_packet_pad_impl(data, len, new_len, 1, NULL, 0); + RESTORE_STACK; + if (ret > 0) + return OPUS_OK; + else + return ret; +} + +opus_int32 opus_packet_unpad(unsigned char *data, opus_int32 len) +{ + OpusRepacketizer rp; + opus_int32 ret; + int i; + if (len < 1) + return OPUS_BAD_ARG; + opus_repacketizer_init(&rp); + ret = opus_repacketizer_cat(&rp, data, len); + if (ret < 0) + return ret; + /* Discard all padding and extensions. */ + for (i=0;i 0 && ret <= len); + return ret; +} + +int opus_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len, int nb_streams) +{ + int s; + int count; + unsigned char toc; + opus_int16 size[48]; + opus_int32 packet_offset; + opus_int32 amount; + + if (len < 1) + return OPUS_BAD_ARG; + if (len==new_len) + return OPUS_OK; + else if (len > new_len) + return OPUS_BAD_ARG; + amount = new_len - len; + /* Seek to last stream */ + for (s=0;ssin_addr.s_addr = localIpAddr->ipv4Addr; int enable = 1; - if (setsockopt(socket->descriptor, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(int)) < 0) + if (setsockopt(socket->descriptor, SOL_SOCKET, SO_REUSEADDR, (char *)&enable, sizeof(int)) < 0) { perror("setsockopt(SO_REUSEADDR) failed"); return ERROR_FAILURE; @@ -186,13 +186,13 @@ error_t socketSetTimeout(Socket *socket, systime_t timeout) { int timeout_ms = (int)timeout; - if (setsockopt(socket->descriptor, SOL_SOCKET, SO_RCVTIMEO, &timeout_ms, sizeof(int)) < 0) + if (setsockopt(socket->descriptor, SOL_SOCKET, SO_RCVTIMEO, (char *)&timeout_ms, sizeof(int)) < 0) { int errCode = WSAGetLastError(); TRACE_ERROR("setsockopt() for SO_RCVTIMEO failed with errorcode %d\r\n", errCode); } - if (setsockopt(socket->descriptor, SOL_SOCKET, SO_SNDTIMEO, &timeout_ms, sizeof(int)) < 0) + if (setsockopt(socket->descriptor, SOL_SOCKET, SO_SNDTIMEO, (char *)&timeout_ms, sizeof(int)) < 0) { int errCode = WSAGetLastError(); TRACE_ERROR("setsockopt() for SO_SNDTIMEO failed with errorcode %d\r\n", errCode); @@ -531,4 +531,4 @@ uint_t tcpWaitForEvents(Socket *socket, uint_t eventMask, systime_t timeout) } return 0; -} \ No newline at end of file +} diff --git a/src/settings.c b/src/settings.c index 96e0d76e..cd456548 100644 --- a/src/settings.c +++ b/src/settings.c @@ -71,7 +71,7 @@ static void option_map_init(uint8_t settingsId) OPTION_UNSIGNED("core.server.https_api_port", &settings->core.https_api_port, 443, 1, 65535, "HTTPS API port", "HTTPS port for the Toniebox API", LEVEL_EXPERT) OPTION_STRING("core.server.bind_ip", &settings->core.bind_ip, "", "Bind IP", "ip for binding the http ports to", LEVEL_EXPERT) - OPTION_TREE_DESC("core.server", "HTTP server", LEVEL_BASIC) + OPTION_TREE_DESC("core", "HTTP server", LEVEL_BASIC) OPTION_STRING("core.host_url", &settings->core.host_url, "http://localhost", "Host URL", "URL to teddyCloud server", LEVEL_BASIC) OPTION_STRING("core.certdir", &settings->core.certdir, "certs/client", "Cert dir", "Directory to upload genuine client certificates", LEVEL_EXPERT) OPTION_INTERNAL_STRING("core.configdir", &settings->core.configdir, CONFIG_BASE_PATH, "Configuration dir", LEVEL_EXPERT) @@ -82,6 +82,7 @@ static void option_map_init(uint8_t settingsId) OPTION_STRING("core.firmwaredir", &settings->core.firmwaredir, "firmware", "Firmware dir", "Directory to upload original firmware", LEVEL_DETAIL) OPTION_STRING("core.cachedir", &settings->core.cachedir, "cache", "Cache dir", "Directory where to cache files downloaded from internet", LEVEL_DETAIL) OPTION_STRING("core.sslkeylogfile", &settings->core.sslkeylogfile, "", "SSL-key logfile", "SSL/TLS key log filename", LEVEL_EXPERT) + OPTION_UNSIGNED("core.server.http_client_timeout", &settings->core.http_client_timeout, 2000, 250, 10000, "Connection timeout", "HTTP client connection timeout (default: 500ms)", LEVEL_DETAIL) OPTION_BOOL("core.new_webgui_as_default", &settings->core.new_webgui_as_default, TRUE, "New WebGUI", "Use new WebGUI as default", LEVEL_EXPERT) OPTION_TREE_DESC("core.server_cert", "HTTPS server certificates", LEVEL_EXPERT) @@ -252,7 +253,8 @@ static void option_map_init(uint8_t settingsId) OPTION_BOOL("frontend.split_model_content", &settings->frontend.split_model_content, TRUE, "Split content / model", "If enabled, the content of the TAF will be shown beside the model of the figurine", LEVEL_DETAIL) OPTION_BOOL("frontend.ignore_web_version_mismatch", &settings->frontend.ignore_web_version_mismatch, FALSE, "Ignore web version mismatch", "Ignore web version mismatch and don't show the mismatch warning", LEVEL_EXPERT) OPTION_BOOL("frontend.confirm_audioplayer_close", &settings->frontend.confirm_audioplayer_close, TRUE, "Confirm audioplayer close", "Confirm dialog when closing the audioplayer during active playback", LEVEL_BASIC) - + OPTION_BOOL("frontend.check_cc3200_cfw", &settings->frontend.check_cc3200_cfw, FALSE, "Check for CFW on CC3200 box", "Enable detection of CFW on CC3200 boxes to link MAC addresses to IPs.", LEVEL_DETAIL) + OPTION_TREE_DESC("toniebox", "Toniebox", LEVEL_BASIC) OPTION_BOOL("toniebox.api_access", &settings->toniebox.api_access, TRUE, "API access", "Grant access to the API (default value for new boxes)", LEVEL_EXPERT) OPTION_BOOL("toniebox.overrideCloud", &settings->toniebox.overrideCloud, TRUE, "Override cloud settings", "Override tonies cloud settings for the toniebox with those set here", LEVEL_BASIC) @@ -1061,6 +1063,13 @@ static error_t settings_load_ovl(bool overlay) Settings_Overlay[i].toniebox.api_access = true; settings_get_by_name_id("toniebox.api_access", i)->overlayed = true; } + if (Settings_Overlay[i].configVersion < 14) + { + if (Settings_Overlay[i].core.http_client_timeout < 2000) + { + Settings_Overlay[i].core.http_client_timeout = 2000; + } + } } mutex_unlock(MUTEX_SETTINGS); settings_save(); diff --git a/src/tonie_audio_playlist.c b/src/tonie_audio_playlist.c index fab5bd7f..726ab7bc 100644 --- a/src/tonie_audio_playlist.c +++ b/src/tonie_audio_playlist.c @@ -222,5 +222,5 @@ void tap_generate_task(void *param) stream_ctx->error = tap_generate_taf(tap_ctx->tap, &stream_ctx->current_source, &stream_ctx->active, tap_ctx->force); stream_ctx->quit = true; - osDeleteTask(OS_SELF_TASK_ID); -} \ No newline at end of file + osDeleteTask((OsTaskId) OS_SELF_TASK_ID); +} diff --git a/src/toniefile.c b/src/toniefile.c index a754caee..ae882dd2 100644 --- a/src/toniefile.c +++ b/src/toniefile.c @@ -832,5 +832,5 @@ void ffmpeg_stream_task(void *param) strncpy(source[0], ffmpeg_ctx->source, PATH_LEN - 1); stream_ctx->error = ffmpeg_stream(source, 1, &stream_ctx->current_source, ffmpeg_ctx->targetFile, ffmpeg_ctx->skip_seconds, &stream_ctx->active, &ffmpeg_ctx->sweep, ffmpeg_ctx->append, true); stream_ctx->quit = true; - osDeleteTask(OS_SELF_TASK_ID); -} \ No newline at end of file + osDeleteTask((OsTaskId) OS_SELF_TASK_ID); +} diff --git a/teddycloud_web b/teddycloud_web index d24276e8..5b689a98 160000 --- a/teddycloud_web +++ b/teddycloud_web @@ -1 +1 @@ -Subproject commit d24276e8d0972477d988449c566879974795d02a +Subproject commit 5b689a98d38672561f525342762426e285be6ced