@whyour/qinglong 2.21.0 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +13 -0
- package/.env.example +7 -0
- package/AGENTS.md +2 -2
- package/README-en.md +24 -0
- package/README.md +24 -0
- package/back/protos/api.proto +9 -1
- package/back/protos/cron.proto +8 -1
- package/deploy/kubernetes/README.md +81 -0
- package/deploy/kubernetes/base/kustomization.yaml +5 -0
- package/deploy/kubernetes/base/qinglong.yaml +95 -0
- package/deploy/kubernetes/overlays/example/kustomization.yaml +10 -0
- package/docker/Dockerfile +31 -12
- package/docker/Dockerfile.310 +31 -12
- package/docker/Dockerfile.debian +22 -14
- package/docker/Dockerfile.debian310 +24 -14
- package/docker/build-manifest.cjs +28 -0
- package/docker/verify-build.cjs +49 -0
- package/docs/development/node-cron-migration.md +49 -0
- package/docs/development/task-startup.md +78 -0
- package/docs/releases/2.22.0-validation.md +49 -0
- package/docs/releases/2.22.0.md +62 -0
- package/docs/releases/2.23.0.md +33 -0
- package/docs/script-history.md +53 -0
- package/ecosystem.config.js +10 -1
- package/package.json +19 -13
- package/sample/config.sample.sh +17 -2
- package/sample/notify.js +118 -0
- package/sample/notify.py +93 -0
- package/scripts/benchmark-execution.cjs +96 -0
- package/scripts/benchmark-script-history.cjs +39 -0
- package/scripts/publish-static.sh +34 -0
- package/scripts/sync-static.sh +20 -0
- package/scripts/wait-for-mirror.sh +214 -0
- package/scripts/write-build-info.cjs +27 -0
- package/shell/api.sh +96 -83
- package/shell/check.sh +59 -19
- package/shell/lang/en.sh +6 -0
- package/shell/lang/zh.sh +6 -0
- package/shell/node_path_cache.sh +136 -0
- package/shell/otask.sh +17 -10
- package/shell/preload/sitecustomize.js +11 -3
- package/shell/preload/sitecustomize.py +4 -2
- package/shell/share.sh +27 -10
- package/shell/start.sh +6 -3
- package/shell/task-timeout.sh +63 -0
- package/shell/task.sh +21 -9
- package/shell/update.sh +104 -98
- package/shell/upgrade.cjs +8 -0
- package/static/build/api/clientIp.js +42 -0
- package/static/build/api/config.js +9 -21
- package/static/build/api/cron.js +39 -3
- package/static/build/api/dashboard.js +50 -6
- package/static/build/api/env.js +17 -16
- package/static/build/api/health.js +2 -2
- package/static/build/api/index.js +4 -0
- package/static/build/api/log.js +39 -19
- package/static/build/api/open.js +2 -1
- package/static/build/api/retention.js +63 -0
- package/static/build/api/script.js +172 -25
- package/static/build/api/subscription.js +19 -8
- package/static/build/api/system.js +66 -12
- package/static/build/api/user.js +75 -15
- package/static/build/app.js +63 -54
- package/static/build/bootstrap/database.js +51 -0
- package/static/build/config/const.js +2 -0
- package/static/build/config/grpcCerts.js +93 -44
- package/static/build/config/index.js +0 -4
- package/static/build/config/share.js +5 -4
- package/static/build/config/subscription.js +19 -11
- package/static/build/config/util.js +142 -45
- package/static/build/data/cron.js +1 -0
- package/static/build/data/notify.js +18 -1
- package/static/build/data/sock.js +1 -0
- package/static/build/loaders/app.js +8 -6
- package/static/build/loaders/db.js +5 -35
- package/static/build/loaders/deps.js +30 -22
- package/static/build/loaders/express.js +46 -32
- package/static/build/loaders/initData.js +26 -33
- package/static/build/loaders/initFile.js +1 -1
- package/static/build/loaders/initTask.js +14 -3
- package/static/build/loaders/server.js +1 -1
- package/static/build/loaders/sock.js +72 -6
- package/static/build/middlewares/monitoring.js +12 -33
- package/static/build/middlewares/protectedPathCase.js +17 -0
- package/static/build/middlewares/uniqueConstraintError.js +15 -0
- package/static/build/protos/api.js +78 -2
- package/static/build/protos/cron.js +83 -5
- package/static/build/protos/health.js +1 -1
- package/static/build/schedule/addCron.js +67 -19
- package/static/build/schedule/api.js +5 -2
- package/static/build/schedule/client.js +56 -6
- package/static/build/schedule/delCron.js +11 -1
- package/static/build/schedule/health.js +72 -7
- package/static/build/schedule/setConcurrency.js +27 -0
- package/static/build/services/config.js +5 -43
- package/static/build/services/cron.js +389 -174
- package/static/build/services/dependence.js +66 -18
- package/static/build/services/env.js +1 -1
- package/static/build/services/grpc.js +4 -3
- package/static/build/services/health.js +4 -7
- package/static/build/services/http.js +9 -3
- package/static/build/services/log.js +2 -3
- package/static/build/services/metrics.js +46 -14
- package/static/build/services/notify.js +73 -5
- package/static/build/services/open.js +106 -31
- package/static/build/services/retention.js +123 -0
- package/static/build/services/schedule.js +77 -43
- package/static/build/services/script.js +4 -5
- package/static/build/services/scriptHistory.js +30 -0
- package/static/build/services/sshKey.js +39 -14
- package/static/build/services/subscription.js +161 -87
- package/static/build/services/system.js +116 -43
- package/static/build/services/user.js +255 -37
- package/static/build/shared/auth.js +22 -3
- package/static/build/shared/authMutation.js +17 -0
- package/static/build/shared/childProcess.js +82 -0
- package/static/build/shared/clientIp.js +27 -0
- package/static/build/shared/cronCommand.js +17 -0
- package/static/build/shared/cronSchedule.js +101 -0
- package/static/build/shared/cronScheduler.js +73 -0
- package/static/build/shared/errors.js +9 -0
- package/static/build/shared/fileAccess.js +60 -0
- package/static/build/shared/i18n.js +63 -4
- package/static/build/shared/logPath.js +15 -0
- package/static/build/shared/logReader.js +85 -0
- package/static/build/shared/logStreamManager.js +80 -60
- package/static/build/shared/loginThrottle.js +45 -0
- package/static/build/shared/pLimit.js +22 -8
- package/static/build/shared/password.js +30 -0
- package/static/build/shared/retention.js +58 -0
- package/static/build/shared/runCron.js +39 -17
- package/static/build/shared/schedulerMutationLock.js +44 -0
- package/static/build/shared/schedulerReadiness.js +82 -0
- package/static/build/shared/schemaMigrations.js +58 -0
- package/static/build/shared/scriptHistory.js +445 -0
- package/static/build/shared/shellQuote.js +11 -0
- package/static/build/shared/startupProcess.js +48 -0
- package/static/build/shared/store.js +7 -0
- package/static/build/shared/subscriptionMutationLock.js +34 -0
- package/static/build/shared/subscriptionPath.js +41 -0
- package/static/build/shared/subscriptionStorage.js +98 -0
- package/static/build/shared/trustProxy.js +119 -0
- package/static/build/shared/utils.js +2 -1
- package/static/build/token.js +3 -14
- package/static/build/validation/schedule.js +6 -12
- package/static/dist/{1885.e1ea09f6.async.js → 1885.b8f427bf.async.js} +1 -1
- package/static/dist/2031.6af40025.async.js +1 -0
- package/static/dist/2693.51c2636b.async.js +1 -0
- package/static/dist/{2890.9e373f5b.async.js → 2890.add55e85.async.js} +1 -1
- package/static/dist/2901.2ca95295.async.js +1 -0
- package/static/dist/292.264757f0.async.js +1 -0
- package/static/dist/3512.95e41255.async.js +1 -0
- package/static/dist/445.a65ff63b.async.js +1 -0
- package/static/dist/4736.1d2b5cb6.async.js +1 -0
- package/static/dist/{6013.4e38de36.async.js → 6013.db535339.async.js} +1 -1
- package/static/dist/6212.9e6d9913.async.js +1 -0
- package/static/dist/{6339.ab305e96.async.js → 6431.4603ad0e.async.js} +1 -1
- package/static/dist/{6872.42f939f1.async.js → 6872.a503ef55.async.js} +1 -1
- package/static/dist/7231.f7e5b668.async.js +1 -0
- package/static/dist/{7355.f9f263d8.async.js → 7355.fca746f5.async.js} +1 -1
- package/static/dist/{7508.7dcee91c.async.js → 7508.d90eac63.async.js} +1 -1
- package/static/dist/{7984.594296a5.async.js → 7984.eaac7402.async.js} +1 -1
- package/static/dist/8844.a0fef08e.async.js +1 -0
- package/static/dist/index.html +2 -2
- package/static/dist/layouts__index.633d3553.async.js +1 -0
- package/static/dist/preload_helper.01fcd534.js +1 -0
- package/static/dist/{src__pages__config__index.a22ff7dc.async.js → src__pages__config__index.9aba4054.async.js} +1 -1
- package/static/dist/src__pages__crontab__detail.86b2eebb.async.js +1 -0
- package/static/dist/src__pages__crontab__index.ae4e06f2.async.js +1 -0
- package/static/dist/{src__pages__crontab__logModal.0b8cce8c.async.js → src__pages__crontab__logModal.930535e2.async.js} +1 -1
- package/static/dist/src__pages__crontab__modal.a2c8fdcc.async.js +1 -0
- package/static/dist/src__pages__crontab__viewCreateModal.7b4f9cbe.async.js +1 -0
- package/static/dist/src__pages__crontab__viewManageModal.cd454ea0.async.js +1 -0
- package/static/dist/src__pages__dashboard__index.243c5a35.async.js +1 -0
- package/static/dist/src__pages__dashboard__taskResultModal.7795d6e1.async.js +1 -0
- package/static/dist/src__pages__dependence__index.874d501f.async.js +1 -0
- package/static/dist/src__pages__dependence__logModal.154efe7a.async.js +1 -0
- package/static/dist/src__pages__dependence__modal.0fa8b421.async.js +1 -0
- package/static/dist/src__pages__diff__index.b94e5dc5.async.js +1 -0
- package/static/dist/src__pages__env__editNameModal.c13d47d2.async.js +1 -0
- package/static/dist/src__pages__env__index.fd6fd2b0.async.js +1 -0
- package/static/dist/src__pages__env__modal.4d71adb3.async.js +1 -0
- package/static/dist/src__pages__error__index.aae50c94.async.js +1 -0
- package/static/dist/src__pages__initialization__index.82a2e967.async.js +1 -0
- package/static/dist/src__pages__log__index.71250e0d.async.js +1 -0
- package/static/dist/{src__pages__login__index.8c813eb1.async.js → src__pages__login__index.a0fd5ed8.async.js} +1 -1
- package/static/dist/src__pages__script__editModal.afabf073.async.js +1 -0
- package/static/dist/src__pages__script__editNameModal.789ad87b.async.js +1 -0
- package/static/dist/src__pages__script__historyDrawer.8c58d958.async.js +1 -0
- package/static/dist/src__pages__script__historyDrawer.a449193a.chunk.css +1 -0
- package/static/dist/src__pages__script__index.ab360776.chunk.css +1 -0
- package/static/dist/src__pages__script__index.fc575945.async.js +1 -0
- package/static/dist/src__pages__script__renameModal.0ab029e7.async.js +1 -0
- package/static/dist/src__pages__script__saveModal.8fca1a22.async.js +1 -0
- package/static/dist/src__pages__script__saveWithHistory.99ece830.async.js +1 -0
- package/static/dist/src__pages__script__setting.35ad4f02.async.js +1 -0
- package/static/dist/src__pages__setting__appModal.7eaeb9d3.async.js +1 -0
- package/static/dist/src__pages__setting__checkUpdate.d175b154.async.js +1 -0
- package/static/dist/src__pages__setting__clientIp.3a8711ed.async.js +1 -0
- package/static/dist/src__pages__setting__dependence.9c0f749b.async.js +1 -0
- package/static/dist/src__pages__setting__index.cb397741.async.js +1 -0
- package/static/dist/src__pages__setting__loginLog.e0a1f54d.async.js +1 -0
- package/static/dist/src__pages__setting__notification.2ffe4e5a.async.js +1 -0
- package/static/dist/src__pages__setting__other.3d0b8492.async.js +1 -0
- package/static/dist/{src__pages__setting__progress.8823ac90.async.js → src__pages__setting__progress.2ccae3d7.async.js} +1 -1
- package/static/dist/src__pages__setting__security.e2d71ebb.async.js +1 -0
- package/static/dist/src__pages__setting__systemLog.b3046955.async.js +1 -0
- package/static/dist/src__pages__subscription__index.43086a06.async.js +1 -0
- package/static/dist/src__pages__subscription__logModal.cdba5139.async.js +1 -0
- package/static/dist/src__pages__subscription__modal.30868ba8.async.js +1 -0
- package/static/dist/{umi.ca04a019.js → umi.3a24a9fa.js} +1 -1
- package/test/back/advisory-input-security.test.cjs +416 -0
- package/test/back/auth-security.test.cjs +74 -0
- package/test/back/build-provenance.test.cjs +150 -0
- package/test/back/code-scanning-security.test.cjs +189 -0
- package/test/back/cron-log-name.test.cjs +110 -0
- package/test/back/cron-macros.test.cjs +51 -0
- package/test/back/cron-schedule-compatibility.test.cjs +69 -0
- package/test/back/cron-scheduler-routing.test.cjs +59 -0
- package/test/back/cron-validation.test.cjs +45 -0
- package/test/back/dashboard-failures.test.cjs +173 -0
- package/test/back/database-bootstrap.test.cjs +193 -0
- package/test/back/dependence-cache-status.test.cjs +125 -0
- package/test/back/deprecated-file-routes.test.cjs +82 -0
- package/test/back/draft-path-security.test.cjs +235 -0
- package/test/back/ecosystem.test.cjs +28 -0
- package/test/back/env-import-security.test.cjs +91 -0
- package/test/back/env-name-parsing.test.cjs +96 -0
- package/test/back/execution-lifecycle.test.cjs +236 -0
- package/test/back/file-access-scope.test.cjs +180 -0
- package/test/back/file-access-security.test.cjs +47 -0
- package/test/back/fileTreeListing.test.cjs +57 -0
- package/test/back/grpc-cron-response.test.cjs +60 -0
- package/test/back/grpc-mtls-security.test.cjs +136 -0
- package/test/back/http-exclusive-listen.test.cjs +31 -0
- package/test/back/http-security.test.cjs +313 -0
- package/test/back/legacy-cron-recovery.test.cjs +76 -0
- package/test/back/linux-mirror-result.test.cjs +176 -0
- package/test/back/listen-security.test.cjs +68 -0
- package/test/back/log-path-security.test.cjs +158 -0
- package/test/back/logReader.test.cjs +72 -0
- package/test/back/manual-execution.test.cjs +85 -0
- package/test/back/manual-stop-claim.test.cjs +220 -0
- package/test/back/metrics.test.cjs +34 -0
- package/test/back/mirror-status.test.cjs +257 -0
- package/test/back/monitoring.test.cjs +73 -0
- package/test/back/node-cron-migration.test.cjs +65 -0
- package/test/back/node-path-cache.test.cjs +202 -0
- package/test/back/node-path-lock.test.cjs +182 -0
- package/test/back/npm-publication.test.cjs +70 -0
- package/test/back/preload-lazy-notify.test.cjs +168 -0
- package/test/back/primary-apm.test.cjs +24 -0
- package/test/back/process-exit-state.test.cjs +81 -0
- package/test/back/process-stop-signal.test.cjs +77 -0
- package/test/back/protected-path-case.test.cjs +58 -0
- package/test/back/qlServiceLogCommand.test.cjs +128 -0
- package/test/back/queued-cron-invalidation.test.cjs +98 -0
- package/test/back/restart-instance-recovery.test.cjs +116 -0
- package/test/back/retention.test.cjs +131 -0
- package/test/back/role-loading.test.cjs +118 -0
- package/test/back/schedule-health.test.cjs +86 -0
- package/test/back/scheduler-bulk-recovery.test.cjs +40 -0
- package/test/back/scheduler-concurrency.test.cjs +411 -0
- package/test/back/scheduler-file-lock.test.cjs +51 -0
- package/test/back/scheduler-mutation.test.cjs +312 -0
- package/test/back/scheduler-readiness.test.cjs +85 -0
- package/test/back/scheduler-reconciliation.test.cjs +206 -0
- package/test/back/scheduler-rpc-timeout.test.cjs +49 -0
- package/test/back/schema-migrations.test.cjs +127 -0
- package/test/back/script-file-access.test.cjs +210 -0
- package/test/back/script-history-api.test.cjs +551 -0
- package/test/back/script-history.test.cjs +383 -0
- package/test/back/shell-api-parsing.test.cjs +184 -0
- package/test/back/shell-translation-output.test.cjs +16 -0
- package/test/back/shell-upgrade.test.cjs +312 -0
- package/test/back/shellApiToken.test.cjs +151 -0
- package/test/back/sock-polling.test.cjs +297 -0
- package/test/back/sock-security.test.cjs +72 -0
- package/test/back/ssh-config-home.test.cjs +113 -0
- package/test/back/start-env-preservation.test.cjs +53 -0
- package/test/back/static-mirror-trigger.test.cjs +441 -0
- package/test/back/static-mirror.test.cjs +179 -0
- package/test/back/stop-failure-feedback.test.cjs +158 -0
- package/test/back/stop-race.test.cjs +171 -0
- package/test/back/subscription-cleanup.test.cjs +53 -0
- package/test/back/subscription-mutation-lock.test.cjs +83 -0
- package/test/back/subscription-review-regression.test.cjs +607 -0
- package/test/back/subscription-stop-state.test.cjs +66 -0
- package/test/back/subscription-storage-regression.test.cjs +553 -0
- package/test/back/system-dependence-cache.test.cjs +127 -0
- package/test/back/system-export-history.test.cjs +119 -0
- package/test/back/systemTokenRenewal.test.cjs +497 -0
- package/test/back/task-shell-lifecycle.test.cjs +194 -0
- package/test/back/task-time.test.cjs +116 -0
- package/test/back/unique-constraint-error.test.cjs +72 -0
- package/test/back/upgrade-guards.test.cjs +285 -0
- package/test/back/upgrade-lifecycle.test.cjs +288 -0
- package/test/back/upgrade-transaction.test.cjs +133 -0
- package/test/back/user-api.test.cjs +99 -0
- package/test/back/user-security.test.cjs +349 -0
- package/test/back/worker-apm.test.cjs +84 -0
- package/test/back/wpush-grpc.test.cjs +116 -0
- package/test/fixtures/legacy-cron.json +1371 -0
- package/test/front/cron-log-pagination.test.cjs +214 -0
- package/test/front/diff-file-routing.test.cjs +126 -0
- package/test/front/http-auth.test.cjs +152 -0
- package/test/front/http-error.test.cjs +29 -0
- package/test/front/script-history-save.test.cjs +121 -0
- package/test/helpers/load-security-module.cjs +42 -0
- package/test/helpers/upgrade-fixture.cjs +30 -0
- package/version.yaml +14 -34
- package/CLAUDE.md +0 -43
- package/static/dist/1147.c420132e.async.js +0 -1
- package/static/dist/134.54df9e38.async.js +0 -1
- package/static/dist/2096.6d98fd12.async.js +0 -1
- package/static/dist/2208.f7ba3dfa.async.js +0 -1
- package/static/dist/2286.164bb089.async.js +0 -1
- package/static/dist/3191.63263871.async.js +0 -1
- package/static/dist/4859.6592cebb.async.js +0 -1
- package/static/dist/4902.555f92ab.async.js +0 -1
- package/static/dist/5520.ff2cfd6b.async.js +0 -1
- package/static/dist/6431.c50479be.async.js +0 -1
- package/static/dist/6707.801b886b.async.js +0 -1
- package/static/dist/8826.2447a104.async.js +0 -1
- package/static/dist/layouts__index.a7a2bfe0.async.js +0 -1
- package/static/dist/preload_helper.0431c0f3.js +0 -1
- package/static/dist/src__pages__crontab__detail.b9c36808.async.js +0 -1
- package/static/dist/src__pages__crontab__index.fed99fd0.async.js +0 -1
- package/static/dist/src__pages__crontab__modal.f7041c7c.async.js +0 -1
- package/static/dist/src__pages__crontab__viewCreateModal.4d589f66.async.js +0 -1
- package/static/dist/src__pages__crontab__viewManageModal.0e317746.async.js +0 -1
- package/static/dist/src__pages__dashboard__index.b30f2f47.async.js +0 -1
- package/static/dist/src__pages__dependence__index.3d87ceac.async.js +0 -1
- package/static/dist/src__pages__dependence__logModal.0681830b.async.js +0 -1
- package/static/dist/src__pages__dependence__modal.11124896.async.js +0 -1
- package/static/dist/src__pages__diff__index.013b7c75.async.js +0 -1
- package/static/dist/src__pages__env__editNameModal.5d264b25.async.js +0 -1
- package/static/dist/src__pages__env__index.baa27d4e.async.js +0 -1
- package/static/dist/src__pages__env__modal.7f2ef1bc.async.js +0 -1
- package/static/dist/src__pages__error__index.f156b45e.async.js +0 -1
- package/static/dist/src__pages__initialization__index.e96d4ba8.async.js +0 -1
- package/static/dist/src__pages__log__index.e0978bae.async.js +0 -1
- package/static/dist/src__pages__script__editModal.cbf4ec0e.async.js +0 -1
- package/static/dist/src__pages__script__editNameModal.3e7e100d.async.js +0 -1
- package/static/dist/src__pages__script__index.2765d1b8.async.js +0 -1
- package/static/dist/src__pages__script__index.60b6f827.chunk.css +0 -1
- package/static/dist/src__pages__script__renameModal.5e987ef5.async.js +0 -1
- package/static/dist/src__pages__script__saveModal.3f9d23d6.async.js +0 -1
- package/static/dist/src__pages__script__setting.a535793a.async.js +0 -1
- package/static/dist/src__pages__setting__appModal.251cd14f.async.js +0 -1
- package/static/dist/src__pages__setting__checkUpdate.46efe057.async.js +0 -1
- package/static/dist/src__pages__setting__dependence.8a7a9529.async.js +0 -1
- package/static/dist/src__pages__setting__index.cc85fdfb.async.js +0 -1
- package/static/dist/src__pages__setting__loginLog.cea6056c.async.js +0 -1
- package/static/dist/src__pages__setting__notification.390fc905.async.js +0 -1
- package/static/dist/src__pages__setting__other.b22d2165.async.js +0 -1
- package/static/dist/src__pages__setting__security.598720a8.async.js +0 -1
- package/static/dist/src__pages__setting__systemLog.67406721.async.js +0 -1
- package/static/dist/src__pages__subscription__index.d0ab2abc.async.js +0 -1
- package/static/dist/src__pages__subscription__logModal.3864b37f.async.js +0 -1
- package/static/dist/src__pages__subscription__modal.3562c670.async.js +0 -1
- /package/static/dist/{4859.1b962b29.chunk.css → 292.1b962b29.chunk.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[3512],{35181:function(e,t,r){"use strict";var n=r(57904),i=r(2053),o=r(82187),a=r.n(o),s=r(77168),l=r(2021),c=r(75271),d=r(96820),u=r(83289),f=r(30107),h=r(38470),p=r(5663),g=r(21485),m=r(28800),v=r(50528),b=r(81393),y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},w="SECRET_COMBOBOX_MODE_DO_NOT_USE",k=function(e,t){var r,o=e.prefixCls,k=e.bordered,C=void 0===k||k,x=e.className,A=e.getPopupContainer,L=e.dropdownClassName,E=e.popupClassName,S=e.listHeight,N=void 0===S?256:S,O=e.placement,D=e.listItemHeight,F=void 0===D?32:D,B=e.size,T=e.disabled,I=e.notFoundContent,R=e.status,_=e.showArrow,P=y(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),j=c.useContext(d.E_),V=j.getPopupContainer,G=j.getPrefixCls,M=j.renderEmpty,H=j.direction,z=j.virtual,W=j.dropdownMatchSelectWidth,$=c.useContext(h.Z),Z=G("select",o),q=G(),U=(0,b.ri)(Z,H),J=U.compactSize,X=U.compactItemClassnames,K=c.useMemo((function(){var e=P.mode;if("combobox"!==e)return e===w?"combobox":e}),[P.mode]),Q="multiple"===K||"tags"===K,Y=void 0!==_?_:P.loading||!(Q||"combobox"===K),ee=(0,c.useContext)(p.aM),te=ee.status,re=ee.hasFeedback,ne=ee.isFormItemInput,ie=ee.feedbackIcon,oe=(0,m.F)(te,R);r=void 0!==I?I:"combobox"===K?null:(M||u.Z)("Select");var ae=(0,v.Z)((0,i.Z)((0,i.Z)({},P),{multiple:Q,hasFeedback:re,feedbackIcon:ie,showArrow:Y,prefixCls:Z})),se=ae.suffixIcon,le=ae.itemIcon,ce=ae.removeIcon,de=ae.clearIcon,ue=(0,l.Z)(P,["suffixIcon","itemIcon"]),fe=a()(E||L,(0,n.Z)({},"".concat(Z,"-dropdown-").concat(H),"rtl"===H)),he=J||B||$,pe=c.useContext(f.Z),ge=null!=T?T:pe,me=a()((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)({},"".concat(Z,"-lg"),"large"===he),"".concat(Z,"-sm"),"small"===he),"".concat(Z,"-rtl"),"rtl"===H),"".concat(Z,"-borderless"),!C),"".concat(Z,"-in-form-item"),ne),(0,m.Z)(Z,oe,re),X,x);return c.createElement(s.ZP,(0,i.Z)({ref:t,virtual:z,dropdownMatchSelectWidth:W},ue,{transitionName:(0,g.mL)(q,(0,g.q0)(O),P.transitionName),listHeight:N,listItemHeight:F,mode:K,prefixCls:Z,placement:void 0!==O?O:"rtl"===H?"bottomRight":"bottomLeft",direction:H,inputIcon:se,menuItemSelectedIcon:le,removeIcon:ce,clearIcon:de,notFoundContent:r,className:me,getPopupContainer:A||V,dropdownClassName:fe,showArrow:re||_,disabled:ge}))},C=c.forwardRef(k);C.SECRET_COMBOBOX_MODE_DO_NOT_USE=w,C.Option=s.Wx,C.OptGroup=s.Xo,t.Z=C},37217:function(e,t){!function(e){"use strict";function t(){}function r(e,t,r,n,i){for(var o=0,a=t.length,s=0,l=0;o<a;o++){var c=t[o];if(c.removed){if(c.value=e.join(n.slice(l,l+c.count)),l+=c.count,o&&t[o-1].added){var d=t[o-1];t[o-1]=t[o],t[o]=d}}else{if(!c.added&&i){var u=r.slice(s,s+c.count);u=u.map((function(e,t){var r=n[l+t];return r.length>e.length?r:e})),c.value=e.join(u)}else c.value=e.join(r.slice(s,s+c.count));s+=c.count,c.added||(l+=c.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function n(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.callback;"function"==typeof i&&(o=i,i={}),this.options=i;var a=this;function s(e){return o?(setTimeout((function(){o(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,d=1,u=l+c,f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&h+1>=c)return s([{value:this.join(t),count:t.length}]);function p(){for(var i=-1*d;i<=d;i+=2){var o=void 0,u=f[i-1],h=f[i+1],p=(h?h.newPos:0)-i;u&&(f[i-1]=void 0);var g=u&&u.newPos+1<l,m=h&&0<=p&&p<c;if(g||m){if(!g||m&&u.newPos<h.newPos?(o=n(h),a.pushComponent(o.components,void 0,!0)):((o=u).newPos++,a.pushComponent(o.components,!0,void 0)),p=a.extractCommon(o,t,e,i),o.newPos+1>=l&&p+1>=c)return s(r(a,o.components,t,e,a.useLongestToken));f[i]=o}else f[i]=void 0}d++}if(o)!function e(){setTimeout((function(){if(d>u)return o();p()||e()}),0)}();else for(;d<=u;){var g=p();if(g)return g}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,o=r.length,a=e.newPos,s=a-n,l=0;a+1<i&&s+1<o&&this.equals(t[a+1],r[s+1]);)a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var i=new t;function o(e,t,r){return i.diff(e,t,r)}function a(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}var s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,l=/\S/,c=new t;function d(e,t,r){return r=a(r,{ignoreWhitespace:!0}),c.diff(e,t,r)}function u(e,t,r){return c.diff(e,t,r)}c.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!l.test(e)&&!l.test(t)},c.tokenize=function(e){for(var t=e.split(/(\s+|[()[\]{}'"]|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&s.test(t[r])&&s.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t};var f=new t;function h(e,t,r){return f.diff(e,t,r)}function p(e,t,r){var n=a(r,{ignoreWhitespace:!0});return f.diff(e,t,n)}f.tokenize=function(e){var t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var n=0;n<r.length;n++){var i=r[n];n%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t};var g=new t;function m(e,t,r){return g.diff(e,t,r)}g.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var v=new t;function b(e,t,r){return v.diff(e,t,r)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function w(e){return k(e)||C(e)||x()}function k(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function C(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function x(){throw new TypeError("Invalid attempt to spread non-iterable instance")}v.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var A=Object.prototype.toString,L=new t;function E(e,t,r){return L.diff(e,t,r)}function S(e,t,r,n,i){var o,a;for(t=t||[],r=r||[],n&&(e=n(i,e)),o=0;o<t.length;o+=1)if(t[o]===e)return r[o];if("[object Array]"===A.call(e)){for(t.push(e),a=new Array(e.length),r.push(a),o=0;o<e.length;o+=1)a[o]=S(e[o],t,r,n,i);return t.pop(),r.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===y(e)&&null!==e){t.push(e),a={},r.push(a);var s,l=[];for(s in e)e.hasOwnProperty(s)&&l.push(s);for(l.sort(),o=0;o<l.length;o+=1)a[s=l[o]]=S(e[s],t,r,n,s);t.pop(),r.pop()}else a=e;return a}L.useLongestToken=!0,L.tokenize=f.tokenize,L.castInput=function(e){var t=this.options,r=t.undefinedReplacement,n=t.stringifyReplacer,i=void 0===n?function(e,t){return void 0===t?r:t}:n;return"string"==typeof e?e:JSON.stringify(S(e,null,null,i),i," ")},L.equals=function(e,r){return t.prototype.equals.call(L,e.replace(/,([\r\n])/g,"$1"),r.replace(/,([\r\n])/g,"$1"))};var N=new t;function O(e,t,r){return N.diff(e,t,r)}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.split(/\r\n|[\n\v\f\r\x85]/),n=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function a(){var e={};for(i.push(e);o<r.length;){var n=r[o];if(/^(\-\-\-|\+\+\+|@@)\s/.test(n))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(n);a&&(e.index=a[1]),o++}for(s(e),s(e),e.hunks=[];o<r.length;){var c=r[o];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(l());else{if(c&&t.strict)throw new Error("Unknown line "+(o+1)+" "+JSON.stringify(c));o++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(r[o]);if(t){var n="---"===t[1]?"old":"new",i=t[2].split("\t",2),a=i[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[n+"FileName"]=a,e[n+"Header"]=(i[1]||"").trim(),o++}}function l(){for(var e=o,i=r[o++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+i[1],oldLines:+i[2]||1,newStart:+i[3],newLines:+i[4]||1,lines:[],linedelimiters:[]},s=0,l=0;o<r.length&&!(0===r[o].indexOf("--- ")&&o+2<r.length&&0===r[o+1].indexOf("+++ ")&&0===r[o+2].indexOf("@@"));o++){var c=0==r[o].length&&o!=r.length-1?" ":r[o][0];if("+"!==c&&"-"!==c&&" "!==c&&"\\"!==c)break;a.lines.push(r[o]),a.linedelimiters.push(n[o]||"\n"),"+"===c?s++:"-"===c?l++:" "===c&&(s++,l++)}if(s||1!==a.newLines||(a.newLines=0),l||1!==a.oldLines||(a.oldLines=0),t.strict){if(s!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(l!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;o<r.length;)a();return i}function F(e,t,r){var n=!0,i=!1,o=!1,a=1;return function s(){if(n&&!o){if(i?a++:n=!1,e+a<=r)return a;o=!0}if(!i)return o||(n=!0),t<=e-a?-a++:(i=!0,s())}}function B(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=D(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var n,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,l=r.compareLine||function(e,t,r,n){return t===n},c=0,d=r.fuzzFactor||0,u=0,f=0;function h(e,t){for(var r=0;r<e.lines.length;r++){var n=e.lines[r],i=n.length>0?n[0]:" ",a=n.length>0?n.substr(1):n;if(" "===i||"-"===i){if(!l(t+1,o[t],i,a)&&++c>d)return!1;t++}}return!0}for(var p=0;p<s.length;p++){for(var g=s[p],m=o.length-g.oldLines,v=0,b=f+g.oldStart-1,y=F(b,u,m);void 0!==v;v=y())if(h(g,b+v)){g.offset=f+=v;break}if(void 0===v)return!1;u=g.offset+g.oldStart+g.oldLines}for(var w=0,k=0;k<s.length;k++){var C=s[k],x=C.oldStart+C.offset+w-1;w+=C.newLines-C.oldLines,x<0&&(x=0);for(var A=0;A<C.lines.length;A++){var L=C.lines[A],E=L.length>0?L[0]:" ",S=L.length>0?L.substr(1):L,N=C.linedelimiters[A];if(" "===E)x++;else if("-"===E)o.splice(x,1),a.splice(x,1);else if("+"===E)o.splice(x,0,S),a.splice(x,0,N),x++;else if("\\"===E){var O=C.lines[A-1]?C.lines[A-1][0]:null;"+"===O?n=!0:"-"===O&&(i=!0)}}}if(n)for(;!o[o.length-1];)o.pop(),a.pop();else i&&(o.push(""),a.push("\n"));for(var B=0;B<o.length-1;B++)o[B]=o[B]+a[B];return o.join("")}function T(e,t){"string"==typeof e&&(e=D(e));var r=0;function n(){var i=e[r++];if(!i)return t.complete();t.loadFile(i,(function(e,r){if(e)return t.complete(e);var o=B(r,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);n()}))}))}n()}function I(e,t,r,n,i,o,a){a||(a={}),void 0===a.context&&(a.context=4);var s=h(r,n,a);function l(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var c=[],d=0,u=0,f=[],p=1,g=1,m=function(e){var t=s[e],i=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=i,t.added||t.removed){var o;if(!d){var h=s[e-1];d=p,u=g,h&&(f=a.context>0?l(h.lines.slice(-a.context)):[],d-=f.length,u-=f.length)}(o=f).push.apply(o,w(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?g+=i.length:p+=i.length}else{if(d)if(i.length<=2*a.context&&e<s.length-2){var m;(m=f).push.apply(m,w(l(i)))}else{var v,b=Math.min(i.length,a.context);(v=f).push.apply(v,w(l(i.slice(0,b))));var y={oldStart:d,oldLines:p-d+b,newStart:u,newLines:g-u+b,lines:f};if(e>=s.length-2&&i.length<=a.context){var k=/\n$/.test(r),C=/\n$/.test(n),x=0==i.length&&f.length>y.oldLines;!k&&x&&f.splice(y.oldLines,0,"\"),(k||x)&&C||f.push("\")}c.push(y),d=0,u=0,f=[]}p+=i.length,g+=i.length}},v=0;v<s.length;v++)m(v);return{oldFileName:e,newFileName:t,oldHeader:i,newHeader:o,hunks:c}}function R(e,t,r,n,i,o,a){var s=I(e,t,r,n,i,o,a),l=[];e==t&&l.push("Index: "+e),l.push("==================================================================="),l.push("--- "+s.oldFileName+(void 0===s.oldHeader?"":"\t"+s.oldHeader)),l.push("+++ "+s.newFileName+(void 0===s.newHeader?"":"\t"+s.newHeader));for(var c=0;c<s.hunks.length;c++){var d=s.hunks[c];l.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),l.push.apply(l,d.lines)}return l.join("\n")+"\n"}function _(e,t,r,n,i,o){return R(e,e,t,r,n,i,o)}function P(e,t){return e.length===t.length&&j(e,t)}function j(e,t){if(t.length>e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}function V(e){var t=re(e.lines),r=t.oldLines,n=t.newLines;void 0!==r?e.oldLines=r:delete e.oldLines,void 0!==n?e.newLines=n:delete e.newLines}function G(e,t,r){e=M(e,r),t=M(t,r);var n={};(e.index||t.index)&&(n.index=e.index||t.index),(e.newFileName||t.newFileName)&&(H(e)?H(t)?(n.oldFileName=z(n,e.oldFileName,t.oldFileName),n.newFileName=z(n,e.newFileName,t.newFileName),n.oldHeader=z(n,e.oldHeader,t.oldHeader),n.newHeader=z(n,e.newHeader,t.newHeader)):(n.oldFileName=e.oldFileName,n.newFileName=e.newFileName,n.oldHeader=e.oldHeader,n.newHeader=e.newHeader):(n.oldFileName=t.oldFileName||e.oldFileName,n.newFileName=t.newFileName||e.newFileName,n.oldHeader=t.oldHeader||e.oldHeader,n.newHeader=t.newHeader||e.newHeader)),n.hunks=[];for(var i=0,o=0,a=0,s=0;i<e.hunks.length||o<t.hunks.length;){var l=e.hunks[i]||{oldStart:1/0},c=t.hunks[o]||{oldStart:1/0};if(W(l,c))n.hunks.push($(l,a)),i++,s+=l.newLines-l.oldLines;else if(W(c,l))n.hunks.push($(c,s)),o++,a+=c.newLines-c.oldLines;else{var d={oldStart:Math.min(l.oldStart,c.oldStart),oldLines:0,newStart:Math.min(l.newStart+a,c.oldStart+s),newLines:0,lines:[]};Z(d,l.oldStart,l.lines,c.oldStart,c.lines),o++,i++,n.hunks.push(d)}}return n}function M(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return D(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return I(void 0,void 0,t,e)}return e}function H(e){return e.newFileName&&e.newFileName!==e.oldFileName}function z(e,t,r){return t===r?t:(e.conflict=!0,{mine:t,theirs:r})}function W(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function $(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function Z(e,t,r,n,i){var o={offset:t,lines:r,index:0},a={offset:n,lines:i,index:0};for(X(e,o,a),X(e,a,o);o.index<o.lines.length&&a.index<a.lines.length;){var s=o.lines[o.index],l=a.lines[a.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==l[0]&&"+"!==l[0])if("+"===s[0]&&" "===l[0]){var c;(c=e.lines).push.apply(c,w(Q(o)))}else if("+"===l[0]&&" "===s[0]){var d;(d=e.lines).push.apply(d,w(Q(a)))}else"-"===s[0]&&" "===l[0]?U(e,o,a):"-"===l[0]&&" "===s[0]?U(e,a,o,!0):s===l?(e.lines.push(s),o.index++,a.index++):J(e,Q(o),Q(a));else q(e,o,a)}K(e,o),K(e,a),V(e)}function q(e,t,r){var n=Q(t),i=Q(r);if(ee(n)&&ee(i)){var o,a;if(j(n,i)&&te(r,n,n.length-i.length))return void(o=e.lines).push.apply(o,w(n));if(j(i,n)&&te(t,i,i.length-n.length))return void(a=e.lines).push.apply(a,w(i))}else if(P(n,i)){var s;return void(s=e.lines).push.apply(s,w(n))}J(e,n,i)}function U(e,t,r,n){var i,o=Q(t),a=Y(r,o);a.merged?(i=e.lines).push.apply(i,w(a.merged)):J(e,n?a:o,n?o:a)}function J(e,t,r){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:r})}function X(e,t,r){for(;t.offset<r.offset&&t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n),t.offset++}}function K(e,t){for(;t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r)}}function Q(e){for(var t=[],r=e.lines[e.index][0];e.index<e.lines.length;){var n=e.lines[e.index];if("-"===r&&"+"===n[0]&&(r="+"),r!==n[0])break;t.push(n),e.index++}return t}function Y(e,t){for(var r=[],n=[],i=0,o=!1,a=!1;i<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],l=t[i];if("+"===l[0])break;if(o=o||" "!==s[0],n.push(l),i++,"+"===s[0])for(a=!0;"+"===s[0];)r.push(s),s=e.lines[++e.index];l.substr(1)===s.substr(1)?(r.push(s),e.index++):a=!0}if("+"===(t[i]||"")[0]&&o&&(a=!0),a)return r;for(;i<t.length;)n.push(t[i++]);return{merged:n,changes:r}}function ee(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function te(e,t,r){for(var n=0;n<r;n++){var i=t[t.length-r+n].substr(1);if(e.lines[e.index+n]!==" "+i)return!1}return e.index+=r,!0}function re(e){var t=0,r=0;return e.forEach((function(e){if("string"!=typeof e){var n=re(e.mine),i=re(e.theirs);void 0!==t&&(n.oldLines===i.oldLines?t+=n.oldLines:t=void 0),void 0!==r&&(n.newLines===i.newLines?r+=n.newLines:r=void 0)}else void 0===r||"+"!==e[0]&&" "!==e[0]||r++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++})),{oldLines:t,newLines:r}}function ne(e){for(var t,r,n=[],i=0;i<e.length;i++)r=(t=e[i]).added?1:t.removed?-1:0,n.push([r,t.value]);return n}function ie(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];n.added?t.push("<ins>"):n.removed&&t.push("<del>"),t.push(oe(n.value)),n.added?t.push("</ins>"):n.removed&&t.push("</del>")}return t.join("")}function oe(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")}N.tokenize=function(e){return e.slice()},N.join=N.removeEmpty=function(e){return e},e.Diff=t,e.diffChars=o,e.diffWords=d,e.diffWordsWithSpace=u,e.diffLines=h,e.diffTrimmedLines=p,e.diffSentences=m,e.diffCss=b,e.diffJson=E,e.diffArrays=O,e.structuredPatch=I,e.createTwoFilesPatch=R,e.createPatch=_,e.applyPatch=B,e.applyPatches=T,e.parsePatch=D,e.merge=G,e.convertChangesToDMP=ne,e.convertChangesToXML=ie,e.canonicalize=S,Object.defineProperty(e,"__esModule",{value:!0})}(t)},43418:function(e,t,r){"use strict";r.r(t),r.d(t,{cache:function(){return G},css:function(){return j},cx:function(){return T},flush:function(){return F},getRegisteredStyles:function(){return R},hydrate:function(){return B},injectGlobal:function(){return _},keyframes:function(){return P},merge:function(){return I},sheet:function(){return V}});var n=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,r=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,t),this.tags.push(r)}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(e){0}}else n.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var i=function(e){function t(e,n,l,c,f){for(var h,p,g,m,w,C=0,x=0,A=0,L=0,E=0,B=0,I=g=h=0,_=0,P=0,j=0,V=0,G=l.length,M=G-1,H="",z="",W="",$="";_<G;){if(p=l.charCodeAt(_),_===M&&0!==x+L+A+C&&(0!==x&&(p=47===x?10:47),L=A=C=0,G++,M++),0===x+L+A+C){if(_===M&&(0<P&&(H=H.replace(u,"")),0<H.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(_)}p=59}switch(p){case 123:for(h=(H=H.trim()).charCodeAt(0),g=1,V=++_;_<G;){switch(p=l.charCodeAt(_)){case 123:g++;break;case 125:g--;break;case 47:switch(p=l.charCodeAt(_+1)){case 42:case 47:e:{for(I=_+1;I<M;++I)switch(l.charCodeAt(I)){case 47:if(42===p&&42===l.charCodeAt(I-1)&&_+2!==I){_=I+1;break e}break;case 10:if(47===p){_=I+1;break e}}_=I}}break;case 91:p++;case 40:p++;case 34:case 39:for(;_++<M&&l.charCodeAt(_)!==p;);}if(0===g)break;_++}if(g=l.substring(V,_),0===h&&(h=(H=H.replace(d,"").trim()).charCodeAt(0)),64===h){switch(0<P&&(H=H.replace(u,"")),p=H.charCodeAt(1)){case 100:case 109:case 115:case 45:P=n;break;default:P=F}if(V=(g=t(n,P,g,p,f+1)).length,0<T&&(w=s(3,g,P=r(F,H,j),n,N,S,V,p,f,c),H=P.join(""),void 0!==w&&0===(V=(g=w.trim()).length)&&(p=0,g="")),0<V)switch(p){case 115:H=H.replace(k,a);case 100:case 109:case 45:g=H+"{"+g+"}";break;case 107:g=(H=H.replace(v,"$1 $2"))+"{"+g+"}",g=1===D||2===D&&o("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=H+g,112===c&&(z+=g,g="")}else g=""}else g=t(n,r(n,H,j),g,c,f+1);W+=g,g=j=P=I=h=0,H="",p=l.charCodeAt(++_);break;case 125:case 59:if(1<(V=(H=(0<P?H.replace(u,""):H).trim()).length))switch(0===I&&(h=H.charCodeAt(0),45===h||96<h&&123>h)&&(V=(H=H.replace(" ",":")).length),0<T&&void 0!==(w=s(1,H,n,e,N,S,z.length,c,f,c))&&0===(V=(H=w.trim()).length)&&(H="\0\0"),h=H.charCodeAt(0),p=H.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){$+=H+l.charAt(_);break}default:58!==H.charCodeAt(V-1)&&(z+=i(H,h,p,H.charCodeAt(2)))}j=P=I=h=0,H="",p=l.charCodeAt(++_)}}switch(p){case 13:case 10:47===x?x=0:0===1+h&&107!==c&&0<H.length&&(P=1,H+="\0"),0<T*R&&s(0,H,n,e,N,S,z.length,c,f,c),S=1,N++;break;case 59:case 125:if(0===x+L+A+C){S++;break}default:switch(S++,m=l.charAt(_),p){case 9:case 32:if(0===L+C+x)switch(E){case 44:case 58:case 9:case 32:m="";break;default:32!==p&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===L+x+C&&(P=j=1,m="\f"+m);break;case 108:if(0===L+x+C+O&&0<I)switch(_-I){case 2:112===E&&58===l.charCodeAt(_-3)&&(O=E);case 8:111===B&&(O=B)}break;case 58:0===L+x+C&&(I=_);break;case 44:0===x+A+L+C&&(P=1,m+="\r");break;case 34:case 39:0===x&&(L=L===p?0:0===L?p:L);break;case 91:0===L+x+A&&C++;break;case 93:0===L+x+A&&C--;break;case 41:0===L+x+C&&A--;break;case 40:if(0===L+x+C){if(0===h)if(2*E+3*B==533);else h=1;A++}break;case 64:0===x+A+L+C+I+g&&(g=1);break;case 42:case 47:if(!(0<L+C+A))switch(x){case 0:switch(2*p+3*l.charCodeAt(_+1)){case 235:x=47;break;case 220:V=_,x=42}break;case 42:47===p&&42===E&&V+2!==_&&(33===l.charCodeAt(V+2)&&(z+=l.substring(V,_+1)),m="",x=0)}}0===x&&(H+=m)}B=E,E=p,_++}if(0<(V=z.length)){if(P=n,0<T&&(void 0!==(w=s(2,z,P,e,N,S,V,c,f,c))&&0===(z=w).length))return $+z+W;if(z=P.join(",")+"{"+z+"}",0!=D*O){switch(2!==D||o(z,2)||(O=0),O){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(b,"::-webkit-input-$1")+z.replace(b,"::-moz-$1")+z.replace(b,":-ms-input-$1")+z}O=0}}return $+z+W}function r(e,t,r){var i=t.trim().split(g);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=n(e[c]+" ",i[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===D||2===D&&o(l,1)?"-webkit-"+l+l:l}if(0===D||2===D&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(E,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===L.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),I(2!==t?n:n.replace(A,"$1"),r,t)}function a(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(C," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,i,o,a,s,l,d){for(var u,f=0,h=t;f<T;++f)switch(u=B[f].call(c,e,h,r,n,i,o,a,s,l,d)){case void 0:case!1:case!0:case null:break;default:h=u}if(h!==t)return h}function l(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?D=1:(D=2,I=e):D=0),l}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<T){var i=s(-1,r,n,n,N,S,0,0,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var o=t(F,n,r,0,0);return 0<T&&(void 0!==(i=s(-2,o,n,n,N,S,o.length,0,0,0))&&(o=i)),"",O=0,S=N=1,o}var d=/^\0+/g,u=/[\0\r\f]/g,f=/: */g,h=/zoo|gra/,p=/([,: ])(transform)/g,g=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,x=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,L=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,S=1,N=1,O=0,D=1,F=[],B=[],T=0,I=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:T=B.length=0;break;default:if("function"==typeof t)B[T++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else R=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},o="/*|*/",a=o+"}";function s(e){e&&l.current.insert(e+"}")}var l={current:null},c=function(e,t,r,n,i,c,d,u,f,h){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return l.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===u)return t+o;break;case 3:switch(u){case 102:case 112:return l.current.insert(r[0]+t),"";default:return t+(0===h?o:"")}case-2:t.split(a).forEach(s)}},d=function(e){void 0===e&&(e={});var t,r=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var o=new i(t);var a,s={};a=e.container||document.head;var d,u=document.querySelectorAll("style[data-emotion-"+r+"]");Array.prototype.forEach.call(u,(function(e){e.getAttribute("data-emotion-"+r).split(" ").forEach((function(e){s[e]=!0})),e.parentNode!==a&&a.appendChild(e)})),o.use(e.stylisPlugins)(c),d=function(e,t,r,n){var i=t.name;l.current=r,o(e,t.styles),n&&(f.inserted[i]=!0)};var f={key:r,sheet:new n({key:r,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:d};return f};var u=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},f={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};var h=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}},p=/[A-Z]|^ms/g,g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,m=function(e){return 45===e.charCodeAt(1)},v=function(e){return null!=e&&"boolean"!=typeof e},b=h((function(e){return m(e)?e:e.replace(p,"-$&").toLowerCase()})),y=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(g,(function(e,t,r){return k={name:t,styles:r,next:k},t}))}return 1===f[e]||m(e)||"number"!=typeof t||0===t?t:t+"px"};function w(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return k={name:r.name,styles:r.styles,next:k},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)k={name:i.name,styles:i.styles,next:k},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=w(e,t,r[i],!1);else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":v(a)&&(n+=b(o)+":"+y(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=w(e,t,a,!1);switch(o){case"animation":case"animationName":n+=b(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var l=0;l<a.length;l++)v(a[l])&&(n+=b(o)+":"+y(o,a[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=k,a=r(e);return k=o,w(e,t,a,n)}}if(null==t)return r;var s=t[r];return void 0===s||n?r:s}var k,C=/label:\s*([^\s;\n{]+)\s*;/g;var x=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";k=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,i+=w(r,t,o,!1)):i+=o[0];for(var a=1;a<e.length;a++)i+=w(r,t,e[a],46===i.charCodeAt(i.length-1)),n&&(i+=o[a]);C.lastIndex=0;for(var s,l="";null!==(s=C.exec(i));)l+="-"+s[1];return{name:u(i)+l,styles:i,next:k}};function A(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "})),n}var L=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+n,i,e.sheet,!0);i=i.next}while(void 0!==i)}};function E(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function S(e,t,r){var n=[],i=A(e,n,r);return n.length<2?r:i+t(n)}var N=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var a in o="",i)i[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r},O=function(e){var t=d(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=x(r,t.registered,void 0);return L(t,i,!1),t.key+"-"+i.name};return{css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return S(t.registered,r,N(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=x(r,t.registered);E(t,i)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=x(r,t.registered),o="animation-"+i.name;return E(t,{name:i.name,styles:"@keyframes "+o+"{"+i.styles+"}"}),o},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:A.bind(null,t.registered),merge:S.bind(null,t.registered,r)}},D=O(),F=D.flush,B=D.hydrate,T=D.cx,I=D.merge,R=D.getRegisteredStyles,_=D.injectGlobal,P=D.keyframes,j=D.css,V=D.sheet,G=D.cache},57699:function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(i=e[r],o=t[r],!(i===o||n(i)&&n(o)))return!1;var i,o;return!0}t.default=function(e,t){var r;void 0===t&&(t=i);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}}},60448:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(n(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var o,a,s=r(37217),l=s;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ADDED=1]="ADDED",e[e.REMOVED=2]="REMOVED"}(o=t.DiffType||(t.DiffType={})),function(e){e.CHARS="diffChars",e.WORDS="diffWords",e.WORDS_WITH_SPACE="diffWordsWithSpace",e.LINES="diffLines",e.TRIMMED_LINES="diffTrimmedLines",e.SENTENCES="diffSentences",e.CSS="diffCss"}(a=t.DiffMethod||(t.DiffMethod={}));var c=function(e){var t=e.split("\n");if(t.every((function(e){return!e})))return 2===t.length?[]:(t.pop(),t);var r=t[t.length-1],n=t[0];return r||t.pop(),n||t.shift(),t};t.computeLineInformation=function(e,t,r,n,d){void 0===r&&(r=!1),void 0===n&&(n=a.CHARS),void 0===d&&(d=0);var u=s.diffLines(e.trimRight(),t.trimRight(),{newlineIsToken:!0,ignoreWhitespace:!1,ignoreCase:!1}),f=d,h=d,p=[],g=0,m=[],v=[],b=function(e,t,i,s,d){return c(e).map((function(e,p){var y={},w={};if(!(v.includes(t+"-"+p)||d&&0!==p)){if(i||s)if(m.includes(g)||m.push(g),s){h+=1,y.lineNumber=h,y.type=o.REMOVED,y.value=e||" ";var k=u[t+1];if(k&&k.added)if(c(k.value)[p]){var C=b(k.value,t,!0,!1,!0)[0].right,x=C.value,A=C.lineNumber,L=C.type;if(v.push(t+1+"-"+p),w.lineNumber=A,w.type=L,r)w.value=x;else{var E=function(e,t,r){void 0===r&&(r=a.CHARS);var n=l[r](e,t),i={left:[],right:[]};return n.forEach((function(e){var t=e.added,r=e.removed,n=e.value,a={};return t&&(a.type=o.ADDED,a.value=n,i.right.push(a)),r&&(a.type=o.REMOVED,a.value=n,i.left.push(a)),r||t||(a.type=o.DEFAULT,a.value=n,i.right.push(a),i.left.push(a)),a})),i}(e,x,n);w.value=E.right,y.value=E.left}}}else f+=1,w.lineNumber=f,w.type=o.ADDED,w.value=e;else h+=1,f+=1,y.lineNumber=h,y.type=o.DEFAULT,y.value=e,w.lineNumber=f,w.type=o.DEFAULT,w.value=e;return g+=1,{right:w,left:y}}})).filter(Boolean)};return u.forEach((function(e,t){var r=e.added,n=e.removed,o=e.value;p=i(p,b(o,t,r,n))})),{lineInformation:p,diffLines:m}}},73674:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(75271),a=r(40507),s=r(82187),l=r(60448);t.DiffMethod=l.DiffMethod;var c,d=r(45541),u=r(57699),f=u.default||u;!function(e){e.LEFT="L",e.RIGHT="R"}(c=t.LineNumberPrefix||(t.LineNumberPrefix={}));var h=function(e){function t(t){var r=e.call(this,t)||this;return r.resetCodeBlocks=function(){return r.state.expandedBlocks.length>0&&(r.setState({expandedBlocks:[]}),!0)},r.onBlockExpand=function(e){var t=r.state.expandedBlocks.slice();t.push(e),r.setState({expandedBlocks:t})},r.computeStyles=f(d.default),r.onLineNumberClickProxy=function(e){return r.props.onLineNumberClick?function(t){return r.props.onLineNumberClick(e,t)}:function(){}},r.renderWordDiff=function(e,t){return e.map((function(e,n){var i;return o.createElement("span",{key:n,className:s.default(r.styles.wordDiff,(i={},i[r.styles.wordAdded]=e.type===l.DiffType.ADDED,i[r.styles.wordRemoved]=e.type===l.DiffType.REMOVED,i))},t?t(e.value):e.value)}))},r.renderLine=function(e,t,n,i,a,c){var d,u,f,h,p,g=n+"-"+e,m=c+"-"+a,v=r.props.highlightLines.includes(g)||r.props.highlightLines.includes(m),b=t===l.DiffType.ADDED,y=t===l.DiffType.REMOVED;return p=Array.isArray(i)?r.renderWordDiff(i,r.props.renderContent):r.props.renderContent?r.props.renderContent(i):i,o.createElement(o.Fragment,null,!r.props.hideLineNumbers&&o.createElement("td",{onClick:e&&r.onLineNumberClickProxy(g),className:s.default(r.styles.gutter,(d={},d[r.styles.emptyGutter]=!e,d[r.styles.diffAdded]=b,d[r.styles.diffRemoved]=y,d[r.styles.highlightedGutter]=v,d))},o.createElement("pre",{className:r.styles.lineNumber},e)),!r.props.splitView&&!r.props.hideLineNumbers&&o.createElement("td",{onClick:a&&r.onLineNumberClickProxy(m),className:s.default(r.styles.gutter,(u={},u[r.styles.emptyGutter]=!a,u[r.styles.diffAdded]=b,u[r.styles.diffRemoved]=y,u[r.styles.highlightedGutter]=v,u))},o.createElement("pre",{className:r.styles.lineNumber},a)),o.createElement("td",{className:s.default(r.styles.marker,(f={},f[r.styles.emptyLine]=!p,f[r.styles.diffAdded]=b,f[r.styles.diffRemoved]=y,f[r.styles.highlightedLine]=v,f))},o.createElement("pre",null,b&&"+",y&&"-")),o.createElement("td",{className:s.default(r.styles.content,(h={},h[r.styles.emptyLine]=!p,h[r.styles.diffAdded]=b,h[r.styles.diffRemoved]=y,h[r.styles.highlightedLine]=v,h))},o.createElement("pre",{className:r.styles.contentText},p)))},r.renderSplitView=function(e,t){var n=e.left,i=e.right;return o.createElement("tr",{key:t,className:r.styles.line},r.renderLine(n.lineNumber,n.type,c.LEFT,n.value),r.renderLine(i.lineNumber,i.type,c.RIGHT,i.value))},r.renderInlineView=function(e,t){var n,i=e.left,a=e.right;return i.type===l.DiffType.REMOVED&&a.type===l.DiffType.ADDED?o.createElement(o.Fragment,{key:t},o.createElement("tr",{className:r.styles.line},r.renderLine(i.lineNumber,i.type,c.LEFT,i.value,null)),o.createElement("tr",{className:r.styles.line},r.renderLine(null,a.type,c.RIGHT,a.value,a.lineNumber))):(i.type===l.DiffType.REMOVED&&(n=r.renderLine(i.lineNumber,i.type,c.LEFT,i.value,null)),i.type===l.DiffType.DEFAULT&&(n=r.renderLine(i.lineNumber,i.type,c.LEFT,i.value,a.lineNumber,c.RIGHT)),a.type===l.DiffType.ADDED&&(n=r.renderLine(null,a.type,c.RIGHT,a.value,a.lineNumber)),o.createElement("tr",{key:t,className:r.styles.line},n))},r.onBlockClickProxy=function(e){return function(){return r.onBlockExpand(e)}},r.renderSkippedLineIndicator=function(e,t,n,i){var a,l=r.props,c=l.hideLineNumbers,d=l.splitView,u=r.props.codeFoldMessageRenderer?r.props.codeFoldMessageRenderer(e,n,i):o.createElement("pre",{className:r.styles.codeFoldContent},"Expand ",e," lines ..."),f=o.createElement("td",null,o.createElement("a",{onClick:r.onBlockClickProxy(t),tabIndex:0},u)),h=!d&&!c;return o.createElement("tr",{key:n+"-"+i,className:r.styles.codeFold},!c&&o.createElement("td",{className:r.styles.codeFoldGutter}),o.createElement("td",{className:s.default((a={},a[r.styles.codeFoldGutter]=h,a))}),h?o.createElement(o.Fragment,null,o.createElement("td",null),f):o.createElement(o.Fragment,null,f,o.createElement("td",null)),o.createElement("td",null),o.createElement("td",null))},r.renderDiff=function(){var e=r.props,t=e.oldValue,n=e.newValue,i=e.splitView,a=e.disableWordDiff,s=e.compareMethod,c=e.linesOffset,d=l.computeLineInformation(t,n,a,s,c),u=d.lineInformation,f=d.diffLines,h=r.props.extraLinesSurroundingDiff<0?0:r.props.extraLinesSurroundingDiff,p=[];return u.map((function(e,t){var n=f[0],a=n-t;if(r.props.showDiffOnly&&(a===-h&&(p=[],f.shift()),e.left.type===l.DiffType.DEFAULT&&(a>h||void 0===n)&&!r.state.expandedBlocks.includes(n)))return p.push(t+1),t===u.length-1&&p.length>1?r.renderSkippedLineIndicator(p.length,n,e.left.lineNumber,e.right.lineNumber):null;var s=i?r.renderSplitView(e,t):r.renderInlineView(e,t);if(a===h&&p.length>0){var c=p.length;return p=[],o.createElement(o.Fragment,{key:t},r.renderSkippedLineIndicator(c,n,e.left.lineNumber,e.right.lineNumber),s)}return s}))},r.render=function(){var e,t=r.props,n=t.oldValue,i=t.newValue,a=t.useDarkTheme,l=t.leftTitle,c=t.rightTitle,d=t.splitView,u=t.hideLineNumbers;if("string"!=typeof n||"string"!=typeof i)throw Error('"oldValue" and "newValue" should be strings');r.styles=r.computeStyles(r.props.styles,a);var f=r.renderDiff(),h=u?2:3,p=u?2:4,g=(l||c)&&o.createElement("tr",null,o.createElement("td",{colSpan:d?h:p,className:r.styles.titleBlock},o.createElement("pre",{className:r.styles.contentText},l)),d&&o.createElement("td",{colSpan:h,className:r.styles.titleBlock},o.createElement("pre",{className:r.styles.contentText},c)));return o.createElement("table",{className:s.default(r.styles.diffContainer,(e={},e[r.styles.splitView]=d,e))},o.createElement("tbody",null,g,f))},r.state={expandedBlocks:[]},r}return i(t,e),t.defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:l.DiffMethod.CHARS,styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0},t.propTypes={oldValue:a.string.isRequired,newValue:a.string.isRequired,splitView:a.bool,disableWordDiff:a.bool,compareMethod:a.oneOf(Object.values(l.DiffMethod)),renderContent:a.func,onLineNumberClick:a.func,extraLinesSurroundingDiff:a.number,styles:a.object,hideLineNumbers:a.bool,showDiffOnly:a.bool,highlightLines:a.arrayOf(a.string),leftTitle:a.oneOfType([a.string,a.element]),rightTitle:a.oneOfType([a.string,a.element]),linesOffset:a.number},t}(o.Component);t.default=h},45541:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var o=r(43418);t.default=function(e,t){var r,a,s,l,c,d,u;void 0===t&&(t=!1);var f=e.variables,h=void 0===f?{}:f,p=i(e,["variables"]),g={light:n({diffViewerBackground:"#fff",diffViewerColor:"212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee"},h.light||{}),dark:n({diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#044B53",addedColor:"white",removedBackground:"#632F34",removedColor:"white",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f",addedGutterBackground:"#034148",removedGutterBackground:"#632b30",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#21232b",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#464c67",addedGutterColor:"#8c8c8c",removedGutterColor:"#8c8c8c",codeFoldContentColor:"#555a7b",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#555a7b",diffViewerTitleBorderColor:"#353846"},h.dark||{})},m=t?g.dark:g.light,v=o.css({width:"100%",label:"content"}),b=o.css(((r={})["."+v]={width:"50%"},r.label="split-view",r)),y=o.css({width:"100%",background:m.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"25px"},label:"diff-container",borderCollapse:"collapse"}),w=o.css({color:m.codeFoldContentColor,label:"code-fold-content"}),k=o.css({color:m.diffViewerColor,label:"content-text"}),C=o.css(((a={background:m.diffViewerTitleBackground,padding:10,borderBottom:"1px solid "+m.diffViewerTitleBorderColor,label:"title-block",":last-child":{borderLeft:"1px solid "+m.diffViewerTitleBorderColor}})["."+k]={color:m.diffViewerTitleColor},a)),x=o.css({color:m.gutterColor,label:"line-number"}),A=o.css(((s={background:m.removedBackground,color:m.removedColor,pre:{color:m.removedColor}})["."+x]={color:m.removedGutterColor},s.label="diff-removed",s)),L=o.css(((l={background:m.addedBackground,color:m.addedColor,pre:{color:m.addedColor}})["."+x]={color:m.addedGutterColor},l.label="diff-added",l)),E=o.css({padding:2,display:"inline-flex",borderRadius:1,label:"word-diff"}),S=o.css({background:m.wordAddedBackground,label:"word-added"}),N=o.css({background:m.wordRemovedBackground,label:"word-removed"}),O=o.css({backgroundColor:m.codeFoldGutterBackground,label:"code-fold-gutter"}),D=o.css({backgroundColor:m.codeFoldBackground,height:40,fontSize:14,fontWeight:700,label:"code-fold",a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),F=o.css({backgroundColor:m.emptyLineBackground,label:"empty-line"}),B=o.css(((c={width:25,paddingLeft:10,paddingRight:10,userSelect:"none",label:"marker"})["&."+L]={pre:{color:m.addedColor}},c["&."+A]={pre:{color:m.removedColor}},c)),T=o.css(((d={background:m.highlightBackground,label:"highlighted-line"})["."+S+", ."+N]={backgroundColor:"initial"},d)),I=o.css({label:"highlighted-gutter"}),R=o.css(((u={userSelect:"none",minWidth:50,padding:"0 10px",label:"gutter",textAlign:"right",background:m.gutterBackground,"&:hover":{cursor:"pointer",background:m.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5}})["&."+L]={background:m.addedGutterBackground},u["&."+A]={background:m.removedGutterBackground},u["&."+I]={background:m.highlightGutterBackground,"&:hover":{background:m.highlightGutterBackground}},u)),_=o.css({"&:hover":{background:m.gutterBackground,cursor:"initial"},label:"empty-gutter"}),P={diffContainer:y,diffRemoved:A,diffAdded:L,splitView:b,marker:B,highlightedGutter:I,highlightedLine:T,gutter:R,line:o.css({verticalAlign:"baseline",label:"line"}),wordDiff:E,wordAdded:S,wordRemoved:N,codeFoldGutter:O,codeFold:D,emptyGutter:_,emptyLine:F,lineNumber:x,contentText:k,content:v,codeFoldContent:w,titleBlock:C},j=Object.keys(p).reduce((function(e,t){var r;return n({},e,((r={})[t]=o.css(p[t]),r))}),{});return Object.keys(P).reduce((function(e,t){var r;return n({},e,((r={})[t]=j[t]?o.cx(P[t],j[t]):P[t],r))}),{})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[445],{46431:function(t,e,i){i.r(e),i.d(e,{conf:function(){return r},language:function(){return m}});var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["\x3c!--","--\x3e"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},m={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[4736],{97302:function(a,i,r){"use strict";r.d(i,{eY:function(){return e},um:function(){return n},z:function(){return o}});var e=" ",n={".py":"python",".js":"javascript",".mjs":"javascript",".sh":"shell",".ts":"typescript",".ini":"ini",".json":"json"},o=["UTC","Africa/Abidjan","Africa/Accra","Africa/Addis Ababa","Africa/Algiers","Africa/Asmara","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar es Salaam","Africa/Djibouti","Africa/Douala","Africa/El Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La Rioja","America/Argentina/Mendoza","America/Argentina/Rio Gallegos","America/Argentina/Salta","America/Argentina/San Juan","America/Argentina/San Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa Vista","America/Bogota","America/Boise","America/Cambridge Bay","America/Campo Grande","America/Cancun","America/Caracas","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad Juarez","America/Costa Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El Salvador","America/Fort Nelson","America/Fortaleza","America/Glace Bay","America/Goose Bay","America/Grand Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Kralendijk","America/La Paz","America/Lima","America/Los Angeles","America/Lower Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montserrat","America/Nassau","America/New York","America/Nome","America/Noronha","America/North Dakota/Beulah","America/North Dakota/Center","America/North Dakota/New Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Paramaribo","America/Phoenix","America/Port of Spain","America/Port-au-Prince","America/Porto Velho","America/Puerto Rico","America/Punta Arenas","America/Rankin Inlet","America/Recife","America/Regina","America/Resolute","America/Rio Branco","America/Santarem","America/Santiago","America/Santo Domingo","America/Sao Paulo","America/Scoresbysund","America/Sitka","America/St Barthelemy","America/St Johns","America/St Kitts","America/St Lucia","America/St Thomas","America/St Vincent","America/Swift Current","America/Tegucigalpa","America/Thule","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho Chi Minh","Asia/Hong Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South Georgia","Atlantic/St Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken Hill","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Etc/GMT","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle of Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"]},48916:function(a,i,r){"use strict";r.d(i,{DY:function(){return d},FA:function(){return g},H$:function(){return w},I1:function(){return l},W9:function(){return u},ZP:function(){return A},o4:function(){return E},rS:function(){return h},w7:function(){return m},x$:function(){return f}});var e=r(15558),n=r.n(e),o=r(72317),c=r(97302),t=r(91379),s=r.n(t);function A(){var a=navigator.userAgent.toLowerCase(),i=function(i){return i.test(a)},r=function(i){return(a.match(i)||[]).toString().replace(/[^0-9|_.]/g,"").replace(/_/g,".")},e="unknow";i(/windows|win32|win64|wow32|wow64/g)?e="windows":i(/macintosh|macintel/g)?e="macos":i(/x11/g)?e="linux":i(/android|adr/g)?e="android":i(/ios|iphone|ipad|ipod|iwatch/g)&&(e="ios");var n="unknow";"windows"===e?i(/windows nt 5.0|windows 2000/g)?n="2000":i(/windows nt 5.1|windows xp/g)?n="xp":i(/windows nt 5.2|windows 2003/g)?n="2003":i(/windows nt 6.0|windows vista/g)?n="vista":i(/windows nt 6.1|windows 7/g)?n="7":i(/windows nt 6.2|windows 8/g)?n="8":i(/windows nt 6.3|windows 8.1/g)?n="8.1":i(/windows nt 10.0|windows 10/g)&&(n="10"):"macos"===e?n=r(/os x [\d._]+/g):"android"===e?n=r(/android [\d._]+/g):"ios"===e&&(n=r(/os [\d._]+/g));var o="unknow";"windows"===e||"macos"===e||"linux"===e?o="desktop":("android"===e||"ios"===e||i(/mobile/g))&&(o="mobile");var c="unknow",t="unknow";i(/applewebkit/g)?(c="webkit",i(/edge/g)?t="edge":i(/opr/g)?t="opera":i(/chrome/g)?t="chrome":i(/safari/g)&&(t="safari")):i(/gecko/g)&&i(/firefox/g)?(c="gecko",t="firefox"):i(/presto/g)?(c="presto",t="opera"):i(/trident|compatible|msie/g)&&(c="trident",t="iexplore");var s="unknow";"webkit"===c?s=r(/applewebkit\/[\d._]+/g):"gecko"===c?s=r(/gecko\/[\d._]+/g):"presto"===c?s=r(/presto\/[\d._]+/g):"trident"===c&&(s=r(/trident\/[\d._]+/g));var A="unknow";"chrome"===t?A=r(/chrome\/[\d._]+/g):"safari"===t?A=r(/version\/[\d._]+/g):"firefox"===t?A=r(/firefox\/[\d._]+/g):"opera"===t?A=r(/opr\/[\d._]+/g):"iexplore"===t?A=r(/(msie [\d._]+)|(rv:[\d._]+)/g):"edge"===t&&(A=r(/edge\/[\d._]+/g));var u="none",m="unknow";i(/micromessenger/g)?(u="wechat",m=r(/micromessenger\/[\d._]+/g)):i(/qqbrowser/g)?(u="qq",m=r(/qqbrowser\/[\d._]+/g)):i(/ucbrowser/g)?(u="uc",m=r(/ucbrowser\/[\d._]+/g)):i(/qihu 360se/g)?u="360":i(/2345explorer/g)?(u="2345",m=r(/2345explorer\/[\d._]+/g)):i(/metasr/g)?u="sougou":i(/lbbrowser/g)?u="liebao":i(/maxthon/g)&&(u="maxthon",m=r(/maxthon\/[\d._]+/g));var l=Object.assign({engine:c,engineVs:s,platform:o,supporter:t,supporterVs:A,system:e,systemVs:n},"none"===u?{}:{shell:u,shellVs:m});return console.log("%c\n .d88b. d888888b d8b db d888b db .d88b. d8b db d888b \n.8P Y8. `88' 888o 88 88' Y8b 88 .8P Y8. 888o 88 88' Y8b \n88 88 88 88V8o 88 88 88 88 88 88V8o 88 88 \n88 88 88 88 V8o88 88 ooo 88 88 88 88 V8o88 88 ooo \n`8P d8' .88. 88 V888 88. ~8~ 88booo. `8b d8' 88 V888 88. ~8~ \n `Y88'Y8 Y888888P VP V8P Y888P Y88888P `Y88P' VP V8P Y888P \n \n \n","color: blue;font-size: 14px;"),console.log("%c忘形雨笠烟蓑,知心牧唱樵歌。明月清风共我,闲人三个,从他今古消磨。\n","color: yellow;font-size: 18px;"),console.log("%c青龙运行环境:\n\n系统:".concat(l.system,"/").concat(l.systemVs,"\n浏览器:").concat(l.supporter,"/").concat(l.supporterVs,"\n内核:").concat(l.engine,"/").concat(l.engineVs),"color: green;font-size: 14px;font-weight: bold;"),l}function u(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=a.extraHeight,r=a.target;void 0===i&&(i=99);var e=null,n=0;(e=r||document.querySelector(".ant-table-wrapper"))&&(n=e.getBoundingClientRect().top);var o=document.body.clientHeight-n-i;return o}function m(a,i){var r,e,n=window.URL||window.webkitURL||window,o=new Blob([i]),c=document.createElementNS("http://www.w3.org/1999/xhtml","a");c.href=n.createObjectURL(o),c.download=a,r=c,(e=document.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(e)}function l(a,i,r){var e=n()(a),o=[];return function a(e){if(e)for(var n=0;n<(null==e?void 0:e.length);n++){if(i(e[n]))return r?void(e[n].children?e[n].children.unshift(r):e[n].children=[r]):void e.splice(n,1);e[n].children&&(o.push(e[n].key),a(e[n].children))}}(e),e}function d(a,i){var r;return function a(e){if(e)for(var n=0;n<(null==e?void 0:e.length);n++)i(e[n])?r=e[n]:e[n].children&&a(e[n].children)}(n()(a)),r}function f(a){return[c.eY,o.ZP.get("执行结束")].some((function(i){return a.includes(i)}))}function g(a){var i=a.split(" ");if("repo"===i[1]||"raw"===i[1])return i[2];var r=i.find((function(a){return[".js",".ts",".sh",".py"].some((function(i){return a.endsWith(i)}))}));if(r){var e,n,o="".concat(window.__ENV__QL_DIR,"/data/scripts");r.startsWith(o)&&(r=r.replace(o,""));var c=r.lastIndexOf("/");return c>=0?(n=r.slice(c+1),e=r.slice(0,c)):(n=r,e=""),[n,e]}}function p(a){try{var i=s().parse(a);if(i)return i.next().toDate()}catch(a){}return null}function h(a,i){var r=p(a);return null!=i&&i.length&&i.forEach((function(a){var i=p(a.schedule);i&&(!r||i<r)&&(r=i)})),r}function w(a){var i=function(a){if(!a)return"";var i=a.split(".");return".".concat(i[i.length-1])}(a);return c.um[i]}function E(){var a=document.createElement("div");a.style.position="fixed",a.style.top="0px",a.style.left="0px",a.style.width="100%",a.style.height="100%",a.style.backgroundColor="transparent",a.style.zIndex="9999",document.body.appendChild(a),a.addEventListener("click",(function(a){a.stopPropagation(),a.preventDefault()})),document.body.style.overflow="hidden"}},16130:function(){},6057:function(){}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[6013],{69870:function(e,n){n.Z={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"}},23989:function(e,n){n.Z={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"}},81372:function(e,n,t){var r=t(98037),o=t(75271),a=t(69870),i=t(64720),u=function(e,n){return o.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a.Z}))},l=o.forwardRef(u);n.Z=l},95101:function(e,n,t){var r=t(98037),o=t(75271),a=t(23989),i=t(64720),u=function(e,n){return o.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a.Z}))},l=o.forwardRef(u);n.Z=l},83289:function(e,n,t){var r=t(75271),o=t(96820),a=t(98705);n.Z=function(e){return r.createElement(o.C,null,(function(n){var t=(0,n.getPrefixCls)("empty");switch(e){case"Table":case"List":return r.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(t,"-small")});default:return r.createElement(a.Z,null)}}))}},98705:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(57904),o=t(2053),a=t(82187),i=t.n(a),u=t(75271),l=t(96820),c=t(76595),s=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-default");return u.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("g",{transform:"translate(24 31.67)"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),u.createElement("path",{className:"".concat(e,"-path-1"),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"}),u.createElement("path",{className:"".concat(e,"-path-2"),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",transform:"translate(13.56)"}),u.createElement("path",{className:"".concat(e,"-path-3"),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"}),u.createElement("path",{className:"".concat(e,"-path-4"),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"})),u.createElement("path",{className:"".concat(e,"-path-5"),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"}),u.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},u.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),u.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-simple");return u.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),u.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},u.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"}),u.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",className:"".concat(e,"-path")}))))},d=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]])}return t},v=u.createElement(s,null),p=u.createElement(f,null),m=function(e){var n=e.className,t=e.prefixCls,a=e.image,s=void 0===a?v:a,f=e.description,m=e.children,h=e.imageStyle,g=d(e,["className","prefixCls","image","description","children","imageStyle"]),Z=u.useContext(l.E_),b=Z.getPrefixCls,E=Z.direction;return u.createElement(c.Z,{componentName:"Empty"},(function(e){var a=b("empty",t),l=void 0!==f?f:e.description,c="string"==typeof l?l:"empty",d=null;return d="string"==typeof s?u.createElement("img",{alt:c,src:s}):s,u.createElement("div",(0,o.Z)({className:i()(a,(0,r.Z)((0,r.Z)({},"".concat(a,"-normal"),s===p),"".concat(a,"-rtl"),"rtl"===E),n)},g),u.createElement("div",{className:"".concat(a,"-image"),style:h},d),l&&u.createElement("div",{className:"".concat(a,"-description")},l),m&&u.createElement("div",{className:"".concat(a,"-footer")},m))}))};m.PRESENTED_IMAGE_DEFAULT=v,m.PRESENTED_IMAGE_SIMPLE=p;var h=m},50528:function(e,n,t){t.d(n,{Z:function(){return s}});var r=t(81372),o=t(84007),a=t(32324),i=t(95101),u=t(24727),l=t(43008),c=t(75271);function s(e){var n=e.suffixIcon,t=e.clearIcon,s=e.menuItemSelectedIcon,f=e.removeIcon,d=e.loading,v=e.multiple,p=e.hasFeedback,m=e.prefixCls,h=e.showArrow,g=e.feedbackIcon,Z=null!=t?t:c.createElement(o.Z,null),b=function(e){return c.createElement(c.Fragment,null,!1!==h&&e,p&&g)},E=null;if(void 0!==n)E=b(n);else if(d)E=b(c.createElement(u.Z,{spin:!0}));else{var y="".concat(m,"-suffix");E=function(e){var n=e.open,t=e.showSearch;return b(n&&t?c.createElement(l.Z,{className:y}):c.createElement(i.Z,{className:y}))}}return{clearIcon:Z,suffixIcon:E,itemIcon:void 0!==s?s:v?c.createElement(r.Z,null):null,removeIcon:void 0!==f?f:c.createElement(a.Z,null)}}},76341:function(e,n,t){t.d(n,{Z:function(){return V}});var r=t(2053),o=t(98037),a=t(99459),i=t(58006),u=t(75271),l=t(82187),c=t.n(l),s=t(28526),f=t(40570),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],v=void 0;function p(e,n){var t=e.prefixCls,a=e.invalidate,l=e.item,f=e.renderItem,p=e.responsive,m=e.responsiveDisabled,h=e.registerSize,g=e.itemKey,Z=e.className,b=e.style,E=e.children,y=e.display,w=e.order,S=e.component,C=void 0===S?"div":S,x=(0,i.Z)(e,d),M=p&&!y;function N(e){h(g,e)}u.useEffect((function(){return function(){N(null)}}),[]);var R,I=f&&l!==v?f(l):E;a||(R={opacity:M?0:1,height:M?0:v,overflowY:M?"hidden":v,order:p?w:v,pointerEvents:M?"none":v,position:M?"absolute":v});var D={};M&&(D["aria-hidden"]=!0);var P=u.createElement(C,(0,r.Z)({className:c()(!a&&t,Z),style:(0,o.Z)((0,o.Z)({},R),b)},D,x,{ref:n}),I);return p&&(P=u.createElement(s.Z,{onResize:function(e){N(e.offsetWidth)},disabled:m},P)),P}var m=u.forwardRef(p);m.displayName="Item";var h=m,g=t(88046),Z=t(30967),b=t(15363);function E(){var e=u.useRef(null);return function(n){e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)(0,b.Z)(e);else{var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(void 0)}}((function(){(0,Z.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(n)}}function y(e,n){var t=u.useState(n),r=(0,a.Z)(t,2),o=r[0],i=r[1];return[o,(0,g.Z)((function(n){e((function(){i(n)}))}))]}var w=u.createContext(null),S=["component"],C=["className"],x=["className"],M=function(e,n){var t=u.useContext(w);if(!t){var o=e.component,a=void 0===o?"div":o,l=(0,i.Z)(e,S);return u.createElement(a,(0,r.Z)({},l,{ref:n}))}var s=t.className,f=(0,i.Z)(t,C),d=e.className,v=(0,i.Z)(e,x);return u.createElement(w.Provider,{value:null},u.createElement(h,(0,r.Z)({ref:n,className:c()(s,d)},f,v)))},N=u.forwardRef(M);N.displayName="RawItem";var R=N,I=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],D="responsive",P="invalidate";function T(e){return"+ ".concat(e.length," ...")}function k(e,n){var t=e.prefixCls,l=void 0===t?"rc-overflow":t,d=e.data,v=void 0===d?[]:d,p=e.renderItem,m=e.renderRawItem,g=e.itemKey,Z=e.itemWidth,b=void 0===Z?10:Z,S=e.ssr,C=e.style,x=e.className,M=e.maxCount,N=e.renderRest,R=e.renderRawRest,k=e.suffix,O=e.component,V=void 0===O?"div":O,L=e.itemComponent,A=e.onVisibleChange,z=(0,i.Z)(e,I),_="full"===S,H=E(),F=y(H,null),K=(0,a.Z)(F,2),W=K[0],j=K[1],Y=W||0,X=y(H,new Map),B=(0,a.Z)(X,2),U=B[0],G=B[1],q=y(H,0),Q=(0,a.Z)(q,2),J=Q[0],$=Q[1],ee=y(H,0),ne=(0,a.Z)(ee,2),te=ne[0],re=ne[1],oe=y(H,0),ae=(0,a.Z)(oe,2),ie=ae[0],ue=ae[1],le=(0,u.useState)(null),ce=(0,a.Z)(le,2),se=ce[0],fe=ce[1],de=(0,u.useState)(null),ve=(0,a.Z)(de,2),pe=ve[0],me=ve[1],he=u.useMemo((function(){return null===pe&&_?Number.MAX_SAFE_INTEGER:pe||0}),[pe,W]),ge=(0,u.useState)(!1),Ze=(0,a.Z)(ge,2),be=Ze[0],Ee=Ze[1],ye="".concat(l,"-item"),we=Math.max(J,te),Se=M===D,Ce=v.length&&Se,xe=M===P,Me=Ce||"number"==typeof M&&v.length>M,Ne=(0,u.useMemo)((function(){var e=v;return Ce?e=null===W&&_?v:v.slice(0,Math.min(v.length,Y/b)):"number"==typeof M&&(e=v.slice(0,M)),e}),[v,b,W,M,Ce]),Re=(0,u.useMemo)((function(){return Ce?v.slice(he+1):v.slice(Ne.length)}),[v,Ne,Ce,he]),Ie=(0,u.useCallback)((function(e,n){var t;return"function"==typeof g?g(e):null!==(t=g&&(null==e?void 0:e[g]))&&void 0!==t?t:n}),[g]),De=(0,u.useCallback)(p||function(e){return e},[p]);function Pe(e,n,t){(pe!==e||void 0!==n&&n!==se)&&(me(e),t||(Ee(e<v.length-1),null==A||A(e)),void 0!==n&&fe(n))}function Te(e,n){G((function(t){var r=new Map(t);return null===n?r.delete(e):r.set(e,n),r}))}function ke(e){return U.get(Ie(Ne[e],e))}(0,f.Z)((function(){if(Y&&"number"==typeof we&&Ne){var e=ie,n=Ne.length,t=n-1;if(!n)return void Pe(0,null);for(var r=0;r<n;r+=1){var o=ke(r);if(_&&(o=o||0),void 0===o){Pe(r-1,void 0,!0);break}if(e+=o,0===t&&e<=Y||r===t-1&&e+ke(t)<=Y){Pe(t,null);break}if(e+we>Y){Pe(r-1,e-o-ie+te);break}}k&&ke(0)+ie>Y&&fe(null)}}),[Y,U,te,ie,Ie,Ne]);var Oe=be&&!!Re.length,Ve={};null!==se&&Ce&&(Ve={position:"absolute",left:se,top:0});var Le,Ae={prefixCls:ye,responsive:Ce,component:L,invalidate:xe},ze=m?function(e,n){var t=Ie(e,n);return u.createElement(w.Provider,{key:t,value:(0,o.Z)((0,o.Z)({},Ae),{},{order:n,item:e,itemKey:t,registerSize:Te,display:n<=he})},m(e,n))}:function(e,n){var t=Ie(e,n);return u.createElement(h,(0,r.Z)({},Ae,{order:n,key:t,item:e,renderItem:De,itemKey:t,registerSize:Te,display:n<=he}))},_e={order:Oe?he:Number.MAX_SAFE_INTEGER,className:"".concat(ye,"-rest"),registerSize:function(e,n){re(n),$(te)},display:Oe};if(R)R&&(Le=u.createElement(w.Provider,{value:(0,o.Z)((0,o.Z)({},Ae),_e)},R(Re)));else{var He=N||T;Le=u.createElement(h,(0,r.Z)({},Ae,_e),"function"==typeof He?He(Re):He)}var Fe=u.createElement(V,(0,r.Z)({className:c()(!xe&&l,x),style:C,ref:n},z),Ne.map(ze),Me?Le:null,k&&u.createElement(h,(0,r.Z)({},Ae,{responsive:Se,responsiveDisabled:!Ce,order:he,className:"".concat(ye,"-suffix"),registerSize:function(e,n){ue(n)},display:!0,style:Ve}),k));return Se&&(Fe=u.createElement(s.Z,{onResize:function(e,n){j(n.clientWidth)},disabled:!Ce},Fe)),Fe}var O=u.forwardRef(k);O.displayName="Overflow",O.Item=R,O.RESPONSIVE=D,O.INVALIDATE=P;var V=O},11252:function(e,n,t){t.d(n,{ZP:function(){return l}});var r=t(99459),o=t(75271),a=t(71254),i=0,u=(0,a.Z)();function l(e){var n=o.useState(),t=(0,r.Z)(n,2),a=t[0],l=t[1];return o.useEffect((function(){var e;l("rc_select_".concat((u?(e=i,i+=1):e="TEST_OR_SSR",e)))}),[]),e||a}},77168:function(e,n,t){t.d(n,{Ac:function(){return J},Xo:function(){return ce},Wx:function(){return fe},ZP:function(){return xe},lk:function(){return E}});var r=t(2053),o=t(35047),a=t(57904),i=t(98037),u=t(99459),l=t(58006),c=t(24744),s=t(6522),f=t(7432),d=t(75271),v=t(82187),p=t.n(v),m=t(40570),h=t(27741),g=t(1260),Z=t(3083),b=d.createContext(null);function E(){return d.useContext(b)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=d.useRef(null),t=d.useRef(null);function r(r){(r||null===n.current)&&(n.current=r),window.clearTimeout(t.current),t.current=window.setTimeout((function(){n.current=null}),e)}return d.useEffect((function(){return function(){window.clearTimeout(t.current)}}),[]),[function(){return n.current},r]}var w=t(41045),S=t(76341),C=function(e){var n,t=e.className,r=e.customizeIcon,o=e.customizeIconProps,a=e.onMouseDown,i=e.onClick,u=e.children;return n="function"==typeof r?r(o):r,d.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==n?n:d.createElement("span",{className:p()(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},u))},x=function(e,n){var t,r,o=e.prefixCls,a=e.id,u=e.inputElement,l=e.disabled,c=e.tabIndex,s=e.autoFocus,v=e.autoComplete,m=e.editable,h=e.activeDescendantId,g=e.value,b=e.maxLength,E=e.onKeyDown,y=e.onMouseDown,w=e.onChange,S=e.onPaste,C=e.onCompositionStart,x=e.onCompositionEnd,M=e.open,N=e.attrs,R=u||d.createElement("input",null),I=R,D=I.ref,P=I.props,T=P.onKeyDown,k=P.onChange,O=P.onMouseDown,V=P.onCompositionStart,L=P.onCompositionEnd,A=P.style;return(0,f.Kp)(!("maxLength"in R.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),R=d.cloneElement(R,(0,i.Z)((0,i.Z)((0,i.Z)({type:"search"},P),{},{id:a,ref:(0,Z.sQ)(n,D),disabled:l,tabIndex:c,autoComplete:v||"off",autoFocus:s,className:p()("".concat(o,"-selection-search-input"),null===(t=R)||void 0===t||null===(r=t.props)||void 0===r?void 0:r.className),role:"combobox","aria-expanded":M,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},N),{},{value:m?g:"",maxLength:b,readOnly:!m,unselectable:m?null:"on",style:(0,i.Z)((0,i.Z)({},A),{},{opacity:m?null:0}),onKeyDown:function(e){E(e),T&&T(e)},onMouseDown:function(e){y(e),O&&O(e)},onChange:function(e){w(e),k&&k(e)},onCompositionStart:function(e){C(e),V&&V(e)},onCompositionEnd:function(e){x(e),L&&L(e)},onPaste:S}))},M=d.forwardRef(x);M.displayName="Input";var N=M;function R(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var I="undefined"!=typeof window&&window.document&&window.document.documentElement;function D(e){return["string","number"].includes((0,c.Z)(e))}function P(e){var n=void 0;return e&&(D(e.title)?n=e.title.toString():D(e.label)&&(n=e.label.toString())),n}function T(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var k=function(e){e.preventDefault(),e.stopPropagation()},O=function(e){var n,t,r=e.id,o=e.prefixCls,i=e.values,l=e.open,c=e.searchValue,s=e.autoClearSearchValue,f=e.inputRef,v=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,Z=e.autoFocus,b=e.autoComplete,E=e.activeDescendantId,y=e.tabIndex,x=e.removeIcon,M=e.maxTagCount,R=e.maxTagTextLength,D=e.maxTagPlaceholder,O=void 0===D?function(e){return"+ ".concat(e.length," ...")}:D,V=e.tagRender,L=e.onToggleOpen,A=e.onRemove,z=e.onInputChange,_=e.onInputPaste,H=e.onInputKeyDown,F=e.onInputMouseDown,K=e.onInputCompositionStart,W=e.onInputCompositionEnd,j=d.useRef(null),Y=(0,d.useState)(0),X=(0,u.Z)(Y,2),B=X[0],U=X[1],G=(0,d.useState)(!1),q=(0,u.Z)(G,2),Q=q[0],J=q[1],$="".concat(o,"-selection"),ee=l||"multiple"===h&&!1===s||"tags"===h?c:"",ne="tags"===h||"multiple"===h&&!1===s||g&&(l||Q);function te(e,n,t,r,o){return d.createElement("span",{className:p()("".concat($,"-item"),(0,a.Z)({},"".concat($,"-item-disabled"),t)),title:P(e)},d.createElement("span",{className:"".concat($,"-item-content")},n),r&&d.createElement(C,{className:"".concat($,"-item-remove"),onMouseDown:k,onClick:o,customizeIcon:x},"×"))}n=function(){U(j.current.scrollWidth)},t=[ee],I?d.useLayoutEffect(n,t):d.useEffect(n,t);var re=d.createElement("div",{className:"".concat($,"-search"),style:{width:B},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},d.createElement(N,{ref:f,open:l,prefixCls:o,id:r,inputElement:null,disabled:m,autoFocus:Z,autoComplete:b,editable:ne,activeDescendantId:E,value:ee,onKeyDown:H,onMouseDown:F,onChange:z,onPaste:_,onCompositionStart:K,onCompositionEnd:W,tabIndex:y,attrs:(0,w.Z)(e,!0)}),d.createElement("span",{ref:j,className:"".concat($,"-search-mirror"),"aria-hidden":!0},ee," ")),oe=d.createElement(S.Z,{prefixCls:"".concat($,"-overflow"),data:i,renderItem:function(e){var n=e.disabled,t=e.label,r=e.value,o=!m&&!n,a=t;if("number"==typeof R&&("string"==typeof t||"number"==typeof t)){var i=String(a);i.length>R&&(a="".concat(i.slice(0,R),"..."))}var u=function(n){n&&n.stopPropagation(),A(e)};return"function"==typeof V?function(e,n,t,r,o){return d.createElement("span",{onMouseDown:function(e){k(e),L(!l)}},V({label:n,value:e,disabled:t,closable:r,onClose:o}))}(r,a,n,o,u):te(e,a,n,o,u)},renderRest:function(e){var n="function"==typeof O?O(e):O;return te({title:n},n,!1)},suffix:re,itemKey:T,maxCount:M});return d.createElement(d.Fragment,null,oe,!i.length&&!ee&&d.createElement("span",{className:"".concat($,"-placeholder")},v))},V=function(e){var n=e.inputElement,t=e.prefixCls,r=e.id,o=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,s=e.mode,f=e.open,v=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,Z=e.activeValue,b=e.maxLength,E=e.onInputKeyDown,y=e.onInputMouseDown,S=e.onInputChange,C=e.onInputPaste,x=e.onInputCompositionStart,M=e.onInputCompositionEnd,R=d.useState(!1),I=(0,u.Z)(R,2),D=I[0],T=I[1],k="combobox"===s,O=k||h,V=v[0],L=g||"";k&&Z&&!D&&(L=Z),d.useEffect((function(){k&&T(!1)}),[k,Z]);var A=!("combobox"!==s&&!f&&!h)&&!!L,z=P(V);return d.createElement(d.Fragment,null,d.createElement("span",{className:"".concat(t,"-selection-search")},d.createElement(N,{ref:o,prefixCls:t,id:r,open:f,inputElement:n,disabled:a,autoFocus:i,autoComplete:l,editable:O,activeDescendantId:c,value:L,onKeyDown:E,onMouseDown:y,onChange:function(e){T(!0),S(e)},onPaste:C,onCompositionStart:x,onCompositionEnd:M,tabIndex:m,attrs:(0,w.Z)(e,!0),maxLength:k?b:void 0})),!k&&V?d.createElement("span",{className:"".concat(t,"-selection-item"),title:z,style:A?{visibility:"hidden"}:void 0},V.label):null,function(){if(V)return null;var e=A?{visibility:"hidden"}:void 0;return d.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:e},p)}())};var L=function(e,n){var t=(0,d.useRef)(null),o=(0,d.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,c=e.showSearch,s=e.tokenWithEnter,f=e.autoClearSearchValue,v=e.onSearch,p=e.onSearchSubmit,m=e.onToggleOpen,h=e.onInputKeyDown,Z=e.domRef;d.useImperativeHandle(n,(function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}}));var b=y(0),E=(0,u.Z)(b,2),w=E[0],S=E[1],C=(0,d.useRef)(null),x=function(e){!1!==v(e,!0,o.current)&&m(!0)},M={inputRef:t,onInputKeyDown:function(e){var n,t=e.which;t!==g.Z.UP&&t!==g.Z.DOWN||e.preventDefault(),h&&h(e),t!==g.Z.ENTER||"tags"!==l||o.current||i||null==p||p(e.target.value),n=t,[g.Z.ESC,g.Z.SHIFT,g.Z.BACKSPACE,g.Z.TAB,g.Z.WIN_KEY,g.Z.ALT,g.Z.META,g.Z.WIN_KEY_RIGHT,g.Z.CTRL,g.Z.SEMICOLON,g.Z.EQUALS,g.Z.CAPS_LOCK,g.Z.CONTEXT_MENU,g.Z.F1,g.Z.F2,g.Z.F3,g.Z.F4,g.Z.F5,g.Z.F6,g.Z.F7,g.Z.F8,g.Z.F9,g.Z.F10,g.Z.F11,g.Z.F12].includes(n)||m(!0)},onInputMouseDown:function(){S(!0)},onInputChange:function(e){var n=e.target.value;if(s&&C.current&&/[\r\n]/.test(C.current)){var t=C.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,C.current)}C.current=null,x(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");C.current=n},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&x(e.target.value)}},N="multiple"===l||"tags"===l?d.createElement(O,(0,r.Z)({},e,M)):d.createElement(V,(0,r.Z)({},e,M));return d.createElement("div",{ref:Z,className:"".concat(a,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){t.current.focus()})):t.current.focus())},onMouseDown:function(e){var n=w();e.target===t.current||n||"combobox"===l||e.preventDefault(),("combobox"===l||c&&n)&&i||(i&&!1!==f&&v("",!0,!1),m())}},N)},A=d.forwardRef(L);A.displayName="Selector";var z=A,_=t(53668),H=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],F=function(e,n){var t=e.prefixCls,o=(e.disabled,e.visible),u=e.children,c=e.popupElement,s=e.containerWidth,f=e.animation,v=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,Z=void 0===g?"ltr":g,b=e.placement,E=e.dropdownMatchSelectWidth,y=e.dropdownRender,w=e.dropdownAlign,S=e.getPopupContainer,C=e.empty,x=e.getTriggerDOMNode,M=e.onPopupVisibleChange,N=e.onPopupMouseEnter,R=(0,l.Z)(e,H),I="".concat(t,"-dropdown"),D=c;y&&(D=y(c));var P=d.useMemo((function(){return function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1}}}}(E)}),[E]),T=f?"".concat(I,"-").concat(f):v,k=d.useRef(null);d.useImperativeHandle(n,(function(){return{getPopupElement:function(){return k.current}}}));var O=(0,i.Z)({minWidth:s},m);return"number"==typeof E?O.width=E:E&&(O.width=s),d.createElement(_.Z,(0,r.Z)({},R,{showAction:M?["click"]:[],hideAction:M?["click"]:[],popupPlacement:b||("rtl"===Z?"bottomRight":"bottomLeft"),builtinPlacements:P,prefixCls:I,popupTransitionName:T,popup:d.createElement("div",{ref:k,onMouseEnter:N},D),popupAlign:w,popupVisible:o,getPopupContainer:S,popupClassName:p()(h,(0,a.Z)({},"".concat(I,"-empty"),C)),popupStyle:O,getTriggerDOMNode:x,onPopupVisibleChange:M}),u)},K=d.forwardRef(F);K.displayName="SelectTrigger";var W=K,j=t(24769);function Y(e,n){var t,r=e.key;return"value"in e&&(t=e.value),null!=r?r:void 0!==t?t:"rc-index-key-".concat(n)}function X(e,n){var t=e||{};return{label:t.label||(n?"children":"label"),value:t.value||"value",options:t.options||"options"}}function B(e){var n=(0,i.Z)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,f.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}var U=["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","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function q(e){return"tags"===e||"multiple"===e}var Q=d.forwardRef((function(e,n){var t,f,v=e.id,E=e.prefixCls,w=e.className,S=e.showSearch,x=e.tagRender,M=e.direction,N=e.omitDomProps,R=e.displayValues,I=e.onDisplayValuesChange,D=e.emptyOptions,P=e.notFoundContent,T=void 0===P?"Not Found":P,k=e.onClear,O=e.mode,V=e.disabled,L=e.loading,A=e.getInputElement,_=e.getRawInputElement,H=e.open,F=e.defaultOpen,K=e.onDropdownVisibleChange,Y=e.activeValue,X=e.onActiveValueChange,B=e.activeDescendantId,Q=e.searchValue,J=e.autoClearSearchValue,$=e.onSearch,ee=e.onSearchSplit,ne=e.tokenSeparators,te=e.allowClear,re=e.showArrow,oe=e.inputIcon,ae=e.clearIcon,ie=e.OptionList,ue=e.animation,le=e.transitionName,ce=e.dropdownStyle,se=e.dropdownClassName,fe=e.dropdownMatchSelectWidth,de=e.dropdownRender,ve=e.dropdownAlign,pe=e.placement,me=e.getPopupContainer,he=e.showAction,ge=void 0===he?[]:he,Ze=e.onFocus,be=e.onBlur,Ee=e.onKeyUp,ye=e.onKeyDown,we=e.onMouseDown,Se=(0,l.Z)(e,U),Ce=q(O),xe=(void 0!==S?S:Ce)||"combobox"===O,Me=(0,i.Z)({},Se);G.forEach((function(e){delete Me[e]})),null==N||N.forEach((function(e){delete Me[e]}));var Ne=d.useState(!1),Re=(0,u.Z)(Ne,2),Ie=Re[0],De=Re[1];d.useEffect((function(){De((0,h.Z)())}),[]);var Pe=d.useRef(null),Te=d.useRef(null),ke=d.useRef(null),Oe=d.useRef(null),Ve=d.useRef(null),Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=d.useState(!1),t=(0,u.Z)(n,2),r=t[0],o=t[1],a=d.useRef(null),i=function(){window.clearTimeout(a.current)};return d.useEffect((function(){return i}),[]),[r,function(n,t){i(),a.current=window.setTimeout((function(){o(n),t&&t()}),e)},i]}(),Ae=(0,u.Z)(Le,3),ze=Ae[0],_e=Ae[1],He=Ae[2];d.useImperativeHandle(n,(function(){var e,n;return{focus:null===(e=Oe.current)||void 0===e?void 0:e.focus,blur:null===(n=Oe.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=Ve.current)||void 0===n?void 0:n.scrollTo(e)}}}));var Fe=d.useMemo((function(){var e;if("combobox"!==O)return Q;var n=null===(e=R[0])||void 0===e?void 0:e.value;return"string"==typeof n||"number"==typeof n?String(n):""}),[Q,O,R]),Ke="combobox"===O&&"function"==typeof A&&A()||null,We="function"==typeof _&&_(),je=(0,Z.x1)(Te,null==We||null===(t=We.props)||void 0===t?void 0:t.ref),Ye=(0,s.Z)(void 0,{defaultValue:F,value:H}),Xe=(0,u.Z)(Ye,2),Be=Xe[0],Ue=Xe[1],Ge=Be,qe=!T&&D;(V||qe&&Ge&&"combobox"===O)&&(Ge=!1);var Qe=!qe&&Ge,Je=d.useCallback((function(e){var n=void 0!==e?e:!Ge;V||(Ue(n),Ge!==n&&(null==K||K(n)))}),[V,Ge,Ue,K]),$e=d.useMemo((function(){return(ne||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ne]),en=function(e,n,t){var r=!0,a=e;null==X||X(null);var i=t?null:function(e,n){if(!n||!n.length)return null;var t=!1,r=function e(n,r){var a=(0,j.Z)(r),i=a[0],u=a.slice(1);if(!i)return[n];var l=n.split(i);return t=t||l.length>1,l.reduce((function(n,t){return[].concat((0,o.Z)(n),(0,o.Z)(e(t,u)))}),[]).filter((function(e){return e}))}(e,n);return t?r:null}(e,ne);return"combobox"!==O&&i&&(a="",null==ee||ee(i),Je(!1),r=!1),$&&Fe!==a&&$(a,{source:n?"typing":"effect"}),r};d.useEffect((function(){Ge||Ce||"combobox"===O||en("",!1,!1)}),[Ge]),d.useEffect((function(){Be&&V&&Ue(!1),V&&_e(!1)}),[V]);var nn=y(),tn=(0,u.Z)(nn,2),rn=tn[0],on=tn[1],an=d.useRef(!1),un=[];d.useEffect((function(){return function(){un.forEach((function(e){return clearTimeout(e)})),un.splice(0,un.length)}}),[]);var ln,cn=d.useState(null),sn=(0,u.Z)(cn,2),fn=sn[0],dn=sn[1],vn=d.useState({}),pn=(0,u.Z)(vn,2)[1];(0,m.Z)((function(){if(Qe){var e,n=Math.ceil(null===(e=Pe.current)||void 0===e?void 0:e.offsetWidth);fn===n||Number.isNaN(n)||dn(n)}}),[Qe]),We&&(ln=function(e){Je(e)}),function(e,n,t,r){var o=d.useRef(null);o.current={open:n,triggerOpen:t,customizedTrigger:r},d.useEffect((function(){function n(n){var t;if(null===(t=o.current)||void 0===t||!t.customizedTrigger){var r=n.target;r.shadowRoot&&n.composed&&(r=n.composedPath()[0]||r),o.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n),function(){return window.removeEventListener("mousedown",n)}}),[])}((function(){var e;return[Pe.current,null===(e=ke.current)||void 0===e?void 0:e.getPopupElement()]}),Qe,Je,!!We);var mn,hn,gn=d.useMemo((function(){return(0,i.Z)((0,i.Z)({},e),{},{notFoundContent:T,open:Ge,triggerOpen:Qe,id:v,showSearch:xe,multiple:Ce,toggleOpen:Je})}),[e,T,Qe,Ge,v,xe,Ce,Je]),Zn=void 0!==re?re:L||!Ce&&"combobox"!==O;Zn&&(mn=d.createElement(C,{className:p()("".concat(E,"-arrow"),(0,a.Z)({},"".concat(E,"-arrow-loading"),L)),customizeIcon:oe,customizeIconProps:{loading:L,searchValue:Fe,open:Ge,focused:ze,showSearch:xe}}));V||!te||!R.length&&!Fe||"combobox"===O&&""===Fe||(hn=d.createElement(C,{className:"".concat(E,"-clear"),onMouseDown:function(){var e;null==k||k(),null===(e=Oe.current)||void 0===e||e.focus(),I([],{type:"clear",values:R}),en("",!1,!1)},customizeIcon:ae},"×"));var bn,En=d.createElement(ie,{ref:Ve}),yn=p()(E,w,(f={},(0,a.Z)(f,"".concat(E,"-focused"),ze),(0,a.Z)(f,"".concat(E,"-multiple"),Ce),(0,a.Z)(f,"".concat(E,"-single"),!Ce),(0,a.Z)(f,"".concat(E,"-allow-clear"),te),(0,a.Z)(f,"".concat(E,"-show-arrow"),Zn),(0,a.Z)(f,"".concat(E,"-disabled"),V),(0,a.Z)(f,"".concat(E,"-loading"),L),(0,a.Z)(f,"".concat(E,"-open"),Ge),(0,a.Z)(f,"".concat(E,"-customize-input"),Ke),(0,a.Z)(f,"".concat(E,"-show-search"),xe),f)),wn=d.createElement(W,{ref:ke,disabled:V,prefixCls:E,visible:Qe,popupElement:En,containerWidth:fn,animation:ue,transitionName:le,dropdownStyle:ce,dropdownClassName:se,direction:M,dropdownMatchSelectWidth:fe,dropdownRender:de,dropdownAlign:ve,placement:pe,getPopupContainer:me,empty:D,getTriggerDOMNode:function(){return Te.current},onPopupVisibleChange:ln,onPopupMouseEnter:function(){pn({})}},We?d.cloneElement(We,{ref:je}):d.createElement(z,(0,r.Z)({},e,{domRef:Te,prefixCls:E,inputElement:Ke,ref:Oe,id:v,showSearch:xe,autoClearSearchValue:J,mode:O,activeDescendantId:B,tagRender:x,values:R,open:Ge,onToggleOpen:Je,activeValue:Y,searchValue:Fe,onSearch:en,onSearchSubmit:function(e){e&&e.trim()&&$(e,{source:"submit"})},onRemove:function(e){var n=R.filter((function(n){return n!==e}));I(n,{type:"remove",values:[e]})},tokenWithEnter:$e})));return bn=We?wn:d.createElement("div",(0,r.Z)({className:yn},Me,{ref:Pe,onMouseDown:function(e){var n,t=e.target,r=null===(n=ke.current)||void 0===n?void 0:n.getPopupElement();if(r&&r.contains(t)){var o=setTimeout((function(){var e,n=un.indexOf(o);-1!==n&&un.splice(n,1),He(),Ie||r.contains(document.activeElement)||null===(e=Oe.current)||void 0===e||e.focus()}));un.push(o)}for(var a=arguments.length,i=new Array(a>1?a-1:0),u=1;u<a;u++)i[u-1]=arguments[u];null==we||we.apply(void 0,[e].concat(i))},onKeyDown:function(e){var n,t=rn(),r=e.which;if(r===g.Z.ENTER&&("combobox"!==O&&e.preventDefault(),Ge||Je(!0)),on(!!Fe),r===g.Z.BACKSPACE&&!t&&Ce&&!Fe&&R.length){for(var a=(0,o.Z)(R),i=null,u=a.length-1;u>=0;u-=1){var l=a[u];if(!l.disabled){a.splice(u,1),i=l;break}}i&&I(a,{type:"remove",values:[i]})}for(var c=arguments.length,s=new Array(c>1?c-1:0),f=1;f<c;f++)s[f-1]=arguments[f];Ge&&Ve.current&&(n=Ve.current).onKeyDown.apply(n,[e].concat(s)),null==ye||ye.apply(void 0,[e].concat(s))},onKeyUp:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var o;Ge&&Ve.current&&(o=Ve.current).onKeyUp.apply(o,[e].concat(t)),null==Ee||Ee.apply(void 0,[e].concat(t))},onFocus:function(){_e(!0),V||(Ze&&!an.current&&Ze.apply(void 0,arguments),ge.includes("focus")&&Je(!0)),an.current=!0},onBlur:function(){_e(!1,(function(){an.current=!1,Je(!1)})),V||(Fe&&("tags"===O?$(Fe,{source:"submit"}):"multiple"===O&&$("",{source:"blur"})),be&&be.apply(void 0,arguments))}}),ze&&!Ge&&d.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(R.map((function(e){var n=e.label,t=e.value;return["number","string"].includes((0,c.Z)(n))?n:t})).join(", "))),wn,mn,hn),d.createElement(b.Provider,{value:gn},bn)}));var J=Q;function $(e,n){return R(e).join("").toUpperCase().includes(n)}var ee=t(11252),ne=t(22615),te=["children","value"],re=["children"];function oe(e){var n=e,t=n.key,r=n.props,o=r.children,a=r.value,u=(0,l.Z)(r,te);return(0,i.Z)({key:t,value:void 0!==a?a:t,children:o},u)}function ae(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ne.Z)(e).map((function(e,t){if(!d.isValidElement(e)||!e.type)return null;var r=e,o=r.type.isSelectOptGroup,a=r.key,u=r.props,c=u.children,s=(0,l.Z)(u,re);return n||!o?oe(e):(0,i.Z)((0,i.Z)({key:"__RC_SELECT_GRP__".concat(null===a?t:a,"__"),label:a},s),{},{options:ae(c)})})).filter((function(e){return e}))}function ie(e,n,t,r,o){return d.useMemo((function(){var a=e;!e&&(a=ae(n));var i=new Map,u=new Map,l=function(e,n,t){t&&"string"==typeof t&&e.set(n[t],n)};return function e(n){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<n.length;c+=1){var s=n[c];!s[t.options]||a?(i.set(s[t.value],s),l(u,s,t.label),l(u,s,r),l(u,s,o)):e(s[t.options],!0)}}(a),{options:a,valueOptions:i,labelOptions:u}}),[e,n,t,r,o])}function ue(e){var n=d.useRef();n.current=e;var t=d.useCallback((function(){return n.current.apply(n,arguments)}),[]);return t}var le=function(){return null};le.isSelectOptGroup=!0;var ce=le,se=function(){return null};se.isSelectOption=!0;var fe=se,de=t(2021),ve=t(95410),pe=t(17355);var me=d.createContext(null),he=["disabled","title","children","style","className"];function ge(e){return"string"==typeof e||"number"==typeof e}var Ze=function(e,n){var t=E(),i=t.prefixCls,c=t.id,s=t.open,f=t.multiple,v=t.mode,m=t.searchValue,h=t.toggleOpen,Z=t.notFoundContent,b=t.onPopupScroll,y=d.useContext(me),S=y.flattenOptions,x=y.onActiveValue,M=y.defaultActiveFirstOption,N=y.onSelect,R=y.menuItemSelectedIcon,I=y.rawValues,D=y.fieldNames,P=y.virtual,T=y.listHeight,k=y.listItemHeight,O="".concat(i,"-item"),V=(0,ve.Z)((function(){return S}),[s,S],(function(e,n){return n[0]&&e[1]!==n[1]})),L=d.useRef(null),A=function(e){e.preventDefault()},z=function(e){L.current&&L.current.scrollTo("number"==typeof e?{index:e}:e)},_=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=V.length,r=0;r<t;r+=1){var o=(e+r*n+t)%t,a=V[o],i=a.group,u=a.data;if(!i&&!u.disabled)return o}return-1},H=d.useState((function(){return _(0)})),F=(0,u.Z)(H,2),K=F[0],W=F[1],j=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];W(e);var t={source:n?"keyboard":"mouse"},r=V[e];r?x(r.value,e,t):x(null,-1,t)};(0,d.useEffect)((function(){j(!1!==M?_(0):-1)}),[V.length,m]);var Y=d.useCallback((function(e){return I.has(e)&&"combobox"!==v}),[v,(0,o.Z)(I).toString(),I.size]);(0,d.useEffect)((function(){var e,n=setTimeout((function(){if(!f&&s&&1===I.size){var e=Array.from(I)[0],n=V.findIndex((function(n){return n.data.value===e}));-1!==n&&(j(n),z(n))}}));s&&(null===(e=L.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(n)}}),[s,m]);var X=function(e){void 0!==e&&N(e,{selected:!I.has(e)}),f||h(!1)};if(d.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case g.Z.N:case g.Z.P:case g.Z.UP:case g.Z.DOWN:var r=0;if(n===g.Z.UP?r=-1:n===g.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===g.Z.N?r=1:n===g.Z.P&&(r=-1)),0!==r){var o=_(K+r,r);z(o),j(o,!0)}break;case g.Z.ENTER:var a=V[K];a&&!a.data.disabled?X(a.value):X(void 0),s&&e.preventDefault();break;case g.Z.ESC:h(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){z(e)}}})),0===V.length)return d.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(O,"-empty"),onMouseDown:A},Z);var B=Object.keys(D).map((function(e){return D[e]})),U=function(e){return e.label},G=function(e){var n=V[e];if(!n)return null;var t=n.data||{},o=t.value,a=n.group,i=(0,w.Z)(t,!0),u=U(n);return n?d.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof u||a?null:u},i,{key:e,role:a?"presentation":"option",id:"".concat(c,"_list_").concat(e),"aria-selected":Y(o)}),o):null};return d.createElement(d.Fragment,null,d.createElement("div",{role:"listbox",id:"".concat(c,"_list"),style:{height:0,width:0,overflow:"hidden"}},G(K-1),G(K),G(K+1)),d.createElement(pe.Z,{itemKey:"key",ref:L,data:V,height:T,itemHeight:k,fullHeight:!1,onMouseDown:A,onScroll:b,virtual:P},(function(e,n){var t,o=e.group,i=e.groupOption,u=e.data,c=e.label,s=e.value,f=u.key;if(o){var v,m=null!==(v=u.title)&&void 0!==v?v:ge(c)?c.toString():void 0;return d.createElement("div",{className:p()(O,"".concat(O,"-group")),title:m},void 0!==c?c:f)}var h=u.disabled,g=u.title,Z=(u.children,u.style),b=u.className,E=(0,l.Z)(u,he),y=(0,de.Z)(E,B),S=Y(s),x="".concat(O,"-option"),M=p()(O,x,b,(t={},(0,a.Z)(t,"".concat(x,"-grouped"),i),(0,a.Z)(t,"".concat(x,"-active"),K===n&&!h),(0,a.Z)(t,"".concat(x,"-disabled"),h),(0,a.Z)(t,"".concat(x,"-selected"),S),t)),N=U(e),I=!R||"function"==typeof R||S,D="number"==typeof N?N:N||s,P=ge(D)?D.toString():void 0;return void 0!==g&&(P=g),d.createElement("div",(0,r.Z)({},(0,w.Z)(y),{"aria-selected":S,className:M,title:P,onMouseMove:function(){K===n||h||j(n)},onClick:function(){h||X(s)},style:Z}),d.createElement("div",{className:"".concat(x,"-content")},D),d.isValidElement(R)||S,I&&d.createElement(C,{className:"".concat(O,"-option-state"),customizeIcon:R,customizeIconProps:{isSelected:S}},S?"✓":null))})))},be=d.forwardRef(Ze);be.displayName="OptionList";var Ee=be;var ye=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],we=["inputValue"];var Se=d.forwardRef((function(e,n){var t=e.id,f=e.mode,v=e.prefixCls,p=void 0===v?"rc-select":v,m=e.backfill,h=e.fieldNames,g=e.inputValue,Z=e.searchValue,b=e.onSearch,E=e.autoClearSearchValue,y=void 0===E||E,w=e.onSelect,S=e.onDeselect,C=e.dropdownMatchSelectWidth,x=void 0===C||C,M=e.filterOption,N=e.filterSort,I=e.optionFilterProp,D=e.optionLabelProp,P=e.options,T=e.children,k=e.defaultActiveFirstOption,O=e.menuItemSelectedIcon,V=e.virtual,L=e.listHeight,A=void 0===L?200:L,z=e.listItemHeight,_=void 0===z?20:z,H=e.value,F=e.defaultValue,K=e.labelInValue,W=e.onChange,j=(0,l.Z)(e,ye),U=(0,ee.ZP)(t),G=q(f),Q=!(P||!T),ne=d.useMemo((function(){return(void 0!==M||"combobox"!==f)&&M}),[M,f]),te=d.useMemo((function(){return X(h,Q)}),[JSON.stringify(h),Q]),re=(0,s.Z)("",{value:void 0!==Z?Z:g,postState:function(e){return e||""}}),oe=(0,u.Z)(re,2),ae=oe[0],le=oe[1],ce=ie(P,T,te,I,D),se=ce.valueOptions,fe=ce.labelOptions,de=ce.options,ve=d.useCallback((function(e){return R(e).map((function(e){var n,t,r,o,a,i;(function(e){return!e||"object"!==(0,c.Z)(e)})(e)?n=e:(r=e.key,t=e.label,n=null!==(i=e.value)&&void 0!==i?i:r);var u,l=se.get(n);l&&(void 0===t&&(t=null==l?void 0:l[D||te.label]),void 0===r&&(r=null!==(u=null==l?void 0:l.key)&&void 0!==u?u:n),o=null==l?void 0:l.disabled,a=null==l?void 0:l.title);return{label:t,value:n,key:r,disabled:o,title:a}}))}),[te,D,se]),pe=(0,s.Z)(F,{value:H}),he=(0,u.Z)(pe,2),ge=he[0],Ze=he[1],be=function(e,n){var t=d.useRef({values:new Map,options:new Map});return[d.useMemo((function(){var r=t.current,o=r.values,a=r.options,u=e.map((function(e){var n;return void 0===e.label?(0,i.Z)((0,i.Z)({},e),{},{label:null===(n=o.get(e.value))||void 0===n?void 0:n.label}):e})),l=new Map,c=new Map;return u.forEach((function(e){l.set(e.value,e),c.set(e.value,n.get(e.value)||a.get(e.value))})),t.current.values=l,t.current.options=c,u}),[e,n]),d.useCallback((function(e){return n.get(e)||t.current.options.get(e)}),[n])]}(d.useMemo((function(){var e,n=ve(ge);return"combobox"!==f||null!==(e=n[0])&&void 0!==e&&e.value?n:[]}),[ge,ve,f]),se),Se=(0,u.Z)(be,2),Ce=Se[0],xe=Se[1],Me=d.useMemo((function(){if(!f&&1===Ce.length){var e=Ce[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Ce.map((function(e){var n;return(0,i.Z)((0,i.Z)({},e),{},{label:null!==(n=e.label)&&void 0!==n?n:e.value})}))}),[f,Ce]),Ne=d.useMemo((function(){return new Set(Ce.map((function(e){return e.value})))}),[Ce]);d.useEffect((function(){if("combobox"===f){var e,n=null===(e=Ce[0])||void 0===e?void 0:e.value;le(function(e){return null!=e}(n)?String(n):"")}}),[Ce]);var Re=ue((function(e,n){var t,r=null!=n?n:e;return t={},(0,a.Z)(t,te.value,e),(0,a.Z)(t,te.label,r),t})),Ie=function(e,n,t,r,o){return d.useMemo((function(){if(!t||!1===r)return e;var u=n.options,l=n.label,c=n.value,s=[],f="function"==typeof r,d=t.toUpperCase(),v=f?r:function(e,n){return o?$(n[o],d):n[u]?$(n["children"!==l?l:"label"],d):$(n[c],d)},p=f?function(e){return B(e)}:function(e){return e};return e.forEach((function(e){if(e[u])if(v(t,p(e)))s.push(e);else{var n=e[u].filter((function(e){return v(t,p(e))}));n.length&&s.push((0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},u,n)))}else v(t,p(e))&&s.push(e)})),s}),[e,r,o,t,n])}(d.useMemo((function(){if("tags"!==f)return de;var e=(0,o.Z)(de);return(0,o.Z)(Ce).sort((function(e,n){return e.value<n.value?-1:1})).forEach((function(n){var t=n.value;(function(e){return se.has(e)})(t)||e.push(Re(t,n.label))})),e}),[Re,de,se,Ce,f]),te,ae,ne,I),De=d.useMemo((function(){return"tags"!==f||!ae||Ie.some((function(e){return e[I||"value"]===ae}))?Ie:[Re(ae)].concat((0,o.Z)(Ie))}),[Re,I,f,Ie,ae]),Pe=d.useMemo((function(){return N?(0,o.Z)(De).sort((function(e,n){return N(e,n)})):De}),[De,N]),Te=d.useMemo((function(){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,r=n.childrenAsData,o=[],a=X(t,!1),i=a.label,u=a.value,l=a.options;function c(e,n){e.forEach((function(e){var t=e[i];if(n||!(l in e)){var a=e[u];o.push({key:Y(e,o.length),groupOption:n,data:e,label:t,value:a})}else{var s=t;void 0===s&&r&&(s=e.label),o.push({key:Y(e,o.length),group:!0,data:e,label:s}),c(e[l],!0)}}))}return c(e,!1),o}(Pe,{fieldNames:te,childrenAsData:Q})}),[Pe,te,Q]),ke=function(e){var n=ve(e);if(Ze(n),W&&(n.length!==Ce.length||n.some((function(e,n){var t;return(null===(t=Ce[n])||void 0===t?void 0:t.value)!==(null==e?void 0:e.value)})))){var t=K?n:n.map((function(e){return e.value})),r=n.map((function(e){return B(xe(e.value))}));W(G?t:t[0],G?r:r[0])}},Oe=d.useState(null),Ve=(0,u.Z)(Oe,2),Le=Ve[0],Ae=Ve[1],ze=d.useState(0),_e=(0,u.Z)(ze,2),He=_e[0],Fe=_e[1],Ke=void 0!==k?k:"combobox"!==f,We=d.useCallback((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.source,o=void 0===r?"keyboard":r;Fe(n),m&&"combobox"===f&&null!==e&&"keyboard"===o&&Ae(String(e))}),[m,f]),je=function(e,n,t){var r=function(){var n,t=xe(e);return[K?{label:null==t?void 0:t[te.label],value:e,key:null!==(n=null==t?void 0:t.key)&&void 0!==n?n:e}:e,B(t)]};if(n&&w){var o=r(),a=(0,u.Z)(o,2),i=a[0],l=a[1];w(i,l)}else if(!n&&S&&"clear"!==t){var c=r(),s=(0,u.Z)(c,2),f=s[0],d=s[1];S(f,d)}},Ye=ue((function(e,n){var t,r=!G||n.selected;t=r?G?[].concat((0,o.Z)(Ce),[e]):[e]:Ce.filter((function(n){return n.value!==e})),ke(t),je(e,r),"combobox"===f?Ae(""):q&&!y||(le(""),Ae(""))})),Xe=d.useMemo((function(){var e=!1!==V&&!1!==x;return(0,i.Z)((0,i.Z)({},ce),{},{flattenOptions:Te,onActiveValue:We,defaultActiveFirstOption:Ke,onSelect:Ye,menuItemSelectedIcon:O,rawValues:Ne,fieldNames:te,virtual:e,listHeight:A,listItemHeight:_,childrenAsData:Q})}),[ce,Te,We,Ke,Ye,O,Ne,te,V,x,A,_,Q]);return d.createElement(me.Provider,{value:Xe},d.createElement(J,(0,r.Z)({},j,{id:U,prefixCls:p,ref:n,omitDomProps:we,mode:f,displayValues:Me,onDisplayValuesChange:function(e,n){ke(e);var t=n.type,r=n.values;"remove"!==t&&"clear"!==t||r.forEach((function(e){je(e.value,!1,t)}))},searchValue:ae,onSearch:function(e,n){if(le(e),Ae(null),"submit"!==n.source)"blur"!==n.source&&("combobox"===f&&ke(e),null==b||b(e));else{var t=(e||"").trim();if(t){var r=Array.from(new Set([].concat((0,o.Z)(Ne),[t])));ke(r),je(t,!0),le("")}}},autoClearSearchValue:y,onSearchSplit:function(e){var n=e;"tags"!==f&&(n=e.map((function(e){var n=fe.get(e);return null==n?void 0:n.value})).filter((function(e){return void 0!==e})));var t=Array.from(new Set([].concat((0,o.Z)(Ne),(0,o.Z)(n))));ke(t),t.forEach((function(e){je(e,!0)}))},dropdownMatchSelectWidth:x,OptionList:Ee,emptyOptions:!Te.length,activeValue:Le,activeDescendantId:"".concat(U,"_list_").concat(He)})))}));var Ce=Se;Ce.Option=fe,Ce.OptGroup=ce;var xe=Ce},17355:function(e,n,t){t.d(n,{Z:function(){return z}});var r=t(2053),o=t(24744),a=t(98037),i=t(57904),u=t(99459),l=t(58006),c=t(82187),s=t.n(c),f=t(28526),d=t(28774),v=t(40570),p=t(75271),m=t(30967),h=p.forwardRef((function(e,n){var t=e.height,o=e.offsetY,u=e.offsetX,l=e.children,c=e.prefixCls,d=e.onInnerResize,v=e.innerProps,m=e.rtl,h=e.extra,g={},Z={display:"flex",flexDirection:"column"};return void 0!==o&&(g={height:t,position:"relative",overflow:"hidden"},Z=(0,a.Z)((0,a.Z)({},Z),{},(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({transform:"translateY(".concat(o,"px)")},m?"marginRight":"marginLeft",-u),"position","absolute"),"left",0),"right",0),"top",0))),p.createElement("div",{style:g},p.createElement(f.Z,{onResize:function(e){e.offsetHeight&&d&&d()}},p.createElement("div",(0,r.Z)({style:Z,className:s()((0,i.Z)({},"".concat(c,"-holder-inner"),c)),ref:n},v),l,h)))}));h.displayName="Filler";var g=h;function Z(e){var n=e.children,t=e.setRef,r=p.useCallback((function(e){t(e)}),[]);return p.cloneElement(n,{ref:r})}function b(e,n,t){var r=p.useState(e),o=(0,u.Z)(r,2),a=o[0],i=o[1],l=p.useState(null),c=(0,u.Z)(l,2),s=c[0],f=c[1];return p.useEffect((function(){var r=function(e,n,t){var r,o,a=e.length,i=n.length;if(0===a&&0===i)return null;a<i?(r=e,o=n):(r=n,o=e);var u={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?t(e):u}for(var c=null,s=1!==Math.abs(a-i),f=0;f<o.length;f+=1){var d=l(r[f]);if(d!==l(o[f])){c=f,s=s||d!==l(o[f+1]);break}}return null===c?null:{index:c,multiple:s}}(a||[],e||[],n);void 0!==(null==r?void 0:r.index)&&(null==t||t(r.index),f(e[r.index])),i(e)}),[e]),[s]}var E=t(15363),y="object"===("undefined"==typeof navigator?"undefined":(0,o.Z)(navigator))&&/Firefox/i.test(navigator.userAgent),w=function(e,n,t,r){var o=(0,p.useRef)(!1),a=(0,p.useRef)(null);function i(){clearTimeout(a.current),o.current=!0,a.current=setTimeout((function(){o.current=!1}),50)}var u=(0,p.useRef)({top:e,bottom:n,left:t,right:r});return u.current.top=e,u.current.bottom=n,u.current.left=t,u.current.right=r,function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e?n<0&&u.current.left||n>0&&u.current.right:n<0&&u.current.top||n>0&&u.current.bottom;return t&&r?(clearTimeout(a.current),o.current=!1):r&&!o.current||i(),!o.current&&r}};function S(e,n,t,r,o,a,i){var u=(0,p.useRef)(0),l=(0,p.useRef)(null),c=(0,p.useRef)(null),s=(0,p.useRef)(!1),f=w(n,t,r,o);var d=(0,p.useRef)(null),v=(0,p.useRef)(null);return[function(n){if(e){E.Z.cancel(v.current),v.current=(0,E.Z)((function(){d.current=null}),2);var t=n.deltaX,r=n.deltaY,o=n.shiftKey,p=t,m=r;("sx"===d.current||!d.current&&o&&r&&!t)&&(p=r,m=0,d.current="sx");var h=Math.abs(p),g=Math.abs(m);null===d.current&&(d.current=a&&h>g?"x":"y"),"y"===d.current?function(e,n){if(E.Z.cancel(l.current),!f(!1,n)){var t=e;t._virtualHandled||(t._virtualHandled=!0,u.current+=n,c.current=n,y||t.preventDefault(),l.current=(0,E.Z)((function(){var e=s.current?10:1;i(u.current*e,!1),u.current=0})))}}(n,m):function(e,n){i(n,!0),y||e.preventDefault()}(n,p)}},function(n){e&&(s.current=n.detail===c.current)}]}var C=t(74194),x=t(73779),M=t(71374),N=function(){function e(){(0,x.Z)(this,e),(0,i.Z)(this,"maps",void 0),(0,i.Z)(this,"id",0),this.maps=Object.create(null)}return(0,M.Z)(e,[{key:"set",value:function(e,n){this.maps[e]=n,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}();function R(e){var n=parseFloat(e);return isNaN(n)?0:n}var I=14/15;function D(e,n){return("touches"in e?e.touches[0]:e)[n?"pageX":"pageY"]}var P=p.forwardRef((function(e,n){var t=e.prefixCls,r=e.rtl,o=e.scrollOffset,l=e.scrollRange,c=e.onStartMove,f=e.onStopMove,d=e.onScroll,v=e.horizontal,m=e.spinSize,h=e.containerSize,g=e.style,Z=e.thumbStyle,b=p.useState(!1),y=(0,u.Z)(b,2),w=y[0],S=y[1],C=p.useState(null),x=(0,u.Z)(C,2),M=x[0],N=x[1],R=p.useState(null),I=(0,u.Z)(R,2),P=I[0],T=I[1],k=!r,O=p.useRef(),V=p.useRef(),L=p.useState(!1),A=(0,u.Z)(L,2),z=A[0],_=A[1],H=p.useRef(),F=function(){clearTimeout(H.current),_(!0),H.current=setTimeout((function(){_(!1)}),3e3)},K=l-h||0,W=h-m||0,j=p.useMemo((function(){return 0===o||0===K?0:o/K*W}),[o,K,W]),Y=p.useRef({top:j,dragging:w,pageY:M,startTop:P});Y.current={top:j,dragging:w,pageY:M,startTop:P};var X=function(e){S(!0),N(D(e,v)),T(Y.current.top),c(),e.stopPropagation(),e.preventDefault()};p.useEffect((function(){var e=function(e){e.preventDefault()},n=O.current,t=V.current;return n.addEventListener("touchstart",e,{passive:!1}),t.addEventListener("touchstart",X,{passive:!1}),function(){n.removeEventListener("touchstart",e),t.removeEventListener("touchstart",X)}}),[]);var B=p.useRef();B.current=K;var U=p.useRef();U.current=W,p.useEffect((function(){if(w){var e,n=function(n){var t=Y.current,r=t.dragging,o=t.pageY,a=t.startTop;E.Z.cancel(e);var i=O.current.getBoundingClientRect(),u=h/(v?i.width:i.height);if(r){var l=(D(n,v)-o)*u,c=a;!k&&v?c-=l:c+=l;var s=B.current,f=U.current,p=f?c/f:0,m=Math.ceil(p*s);m=Math.max(m,0),m=Math.min(m,s),e=(0,E.Z)((function(){d(m,v)}))}},t=function(){S(!1),f()};return window.addEventListener("mousemove",n,{passive:!0}),window.addEventListener("touchmove",n,{passive:!0}),window.addEventListener("mouseup",t,{passive:!0}),window.addEventListener("touchend",t,{passive:!0}),function(){window.removeEventListener("mousemove",n),window.removeEventListener("touchmove",n),window.removeEventListener("mouseup",t),window.removeEventListener("touchend",t),E.Z.cancel(e)}}}),[w]),p.useEffect((function(){return F(),function(){clearTimeout(H.current)}}),[o]),p.useImperativeHandle(n,(function(){return{delayHidden:F}}));var G="".concat(t,"-scrollbar"),q={position:"absolute",visibility:z?null:"hidden"},Q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return v?(q.height=8,q.left=0,q.right=0,q.bottom=0,Q.height="100%",Q.width=m,k?Q.left=j:Q.right=j):(q.width=8,q.top=0,q.bottom=0,k?q.right=0:q.left=0,Q.width="100%",Q.height=m,Q.top=j),p.createElement("div",{ref:O,className:s()(G,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(G,"-horizontal"),v),"".concat(G,"-vertical"),!v),"".concat(G,"-visible"),z)),style:(0,a.Z)((0,a.Z)({},q),g),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:F},p.createElement("div",{ref:V,className:s()("".concat(G,"-thumb"),(0,i.Z)({},"".concat(G,"-thumb-moving"),w)),style:(0,a.Z)((0,a.Z)({},Q),Z),onMouseDown:X}))}));function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e/n*e;return isNaN(t)&&(t=0),t=Math.max(t,20),Math.floor(t)}var k=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],O=[],V={overflowY:"auto",overflowAnchor:"none"};function L(e,n){var t=e.prefixCls,c=void 0===t?"rc-virtual-list":t,h=e.className,y=e.height,x=e.itemHeight,M=e.fullHeight,D=void 0===M||M,L=e.style,A=e.data,z=e.children,_=e.itemKey,H=e.virtual,F=e.direction,K=e.scrollWidth,W=e.component,j=void 0===W?"div":W,Y=e.onScroll,X=e.onVirtualScroll,B=e.onVisibleChange,U=e.innerProps,G=e.extraRender,q=e.styles,Q=(0,l.Z)(e,k),J=p.useCallback((function(e){return"function"==typeof _?_(e):null==e?void 0:e[_]}),[_]),$=function(e,n,t){var r=p.useState(0),o=(0,u.Z)(r,2),a=o[0],i=o[1],l=(0,p.useRef)(new Map),c=(0,p.useRef)(new N),s=(0,p.useRef)();function f(){E.Z.cancel(s.current)}function d(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];f();var n=function(){l.current.forEach((function(e,n){if(e&&e.offsetParent){var t=(0,C.ZP)(e),r=t.offsetHeight,o=getComputedStyle(t),a=o.marginTop,i=o.marginBottom,u=r+R(a)+R(i);c.current.get(n)!==u&&c.current.set(n,u)}})),i((function(e){return e+1}))};e?n():s.current=(0,E.Z)(n)}return(0,p.useEffect)((function(){return f}),[]),[function(r,o){var a=e(r),i=l.current.get(a);o?(l.current.set(a,o),d()):l.current.delete(a),!i!=!o&&(o?null==n||n(r):null==t||t(r))},d,c.current,a]}(J,null,null),ee=(0,u.Z)($,4),ne=ee[0],te=ee[1],re=ee[2],oe=ee[3],ae=!(!1===H||!y||!x),ie=p.useMemo((function(){return Object.values(re.maps).reduce((function(e,n){return e+n}),0)}),[re.id,re.maps]),ue=ae&&A&&(Math.max(x*A.length,ie)>y||!!K),le="rtl"===F,ce=s()(c,(0,i.Z)({},"".concat(c,"-rtl"),le),h),se=A||O,fe=(0,p.useRef)(),de=(0,p.useRef)(),ve=(0,p.useRef)(),pe=(0,p.useState)(0),me=(0,u.Z)(pe,2),he=me[0],ge=me[1],Ze=(0,p.useState)(0),be=(0,u.Z)(Ze,2),Ee=be[0],ye=be[1],we=(0,p.useState)(!1),Se=(0,u.Z)(we,2),Ce=Se[0],xe=Se[1],Me=function(){xe(!0)},Ne=function(){xe(!1)},Re={getKey:J};function Ie(e){ge((function(n){var t=function(e){var n=e;Number.isNaN(Ue.current)||(n=Math.min(n,Ue.current));return n=Math.max(n,0),n}("function"==typeof e?e(n):e);return fe.current.scrollTop=t,t}))}var De=(0,p.useRef)({start:0,end:se.length}),Pe=(0,p.useRef)(),Te=b(se,J),ke=(0,u.Z)(Te,1)[0];Pe.current=ke;var Oe=p.useMemo((function(){if(!ae)return{scrollHeight:void 0,start:0,end:se.length-1,offset:void 0};var e;if(!ue)return{scrollHeight:(null===(e=de.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:se.length-1,offset:void 0};for(var n,t,r,o=0,a=se.length,i=0;i<a;i+=1){var u=se[i],l=J(u),c=re.get(l),s=o+(void 0===c?x:c);s>=he&&void 0===n&&(n=i,t=o),s>he+y&&void 0===r&&(r=i),o=s}return void 0===n&&(n=0,t=0,r=Math.ceil(y/x)),void 0===r&&(r=se.length-1),{scrollHeight:o,start:n,end:r=Math.min(r+1,se.length-1),offset:t}}),[ue,ae,he,se,oe,y]),Ve=Oe.scrollHeight,Le=Oe.start,Ae=Oe.end,ze=Oe.offset;De.current.start=Le,De.current.end=Ae;var _e=p.useState({width:0,height:y}),He=(0,u.Z)(_e,2),Fe=He[0],Ke=He[1],We=(0,p.useRef)(),je=(0,p.useRef)(),Ye=p.useMemo((function(){return T(Fe.width,K)}),[Fe.width,K]),Xe=p.useMemo((function(){return T(Fe.height,Ve)}),[Fe.height,Ve]),Be=Ve-y,Ue=(0,p.useRef)(Be);Ue.current=Be;var Ge=he<=0,qe=he>=Be,Qe=Ee<=0,Je=Ee>=K,$e=w(Ge,qe,Qe,Je),en=function(){return{x:le?-Ee:Ee,y:he}},nn=(0,p.useRef)(en()),tn=(0,d.zX)((function(e){if(X){var n=(0,a.Z)((0,a.Z)({},en()),e);nn.current.x===n.x&&nn.current.y===n.y||(X(n),nn.current=n)}}));function rn(e,n){var t=e;n?((0,m.flushSync)((function(){ye(t)})),tn()):Ie(t)}var on=function(e){var n=e,t=K?K-Fe.width:0;return n=Math.max(n,0),n=Math.min(n,t)},an=(0,d.zX)((function(e,n){n?((0,m.flushSync)((function(){ye((function(n){return on(n+(le?-e:e))}))})),tn()):Ie((function(n){return n+e}))})),un=S(ae,Ge,qe,Qe,Je,!!K,an),ln=(0,u.Z)(un,2),cn=ln[0],sn=ln[1];!function(e,n,t){var r,o=(0,p.useRef)(!1),a=(0,p.useRef)(0),i=(0,p.useRef)(0),u=(0,p.useRef)(null),l=(0,p.useRef)(null),c=function(e){if(o.current){var n=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),u=a.current-n,c=i.current-r,s=Math.abs(u)>Math.abs(c);s?a.current=n:i.current=r;var f=t(s,s?u:c,!1,e);f&&e.preventDefault(),clearInterval(l.current),f&&(l.current=setInterval((function(){s?u*=I:c*=I;var e=Math.floor(s?u:c);(!t(s,e,!0)||Math.abs(e)<=.1)&&clearInterval(l.current)}),16))}},s=function(){o.current=!1,r()},f=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,a.current=Math.ceil(e.touches[0].pageX),i.current=Math.ceil(e.touches[0].pageY),u.current=e.target,u.current.addEventListener("touchmove",c,{passive:!1}),u.current.addEventListener("touchend",s,{passive:!0}))};r=function(){u.current&&(u.current.removeEventListener("touchmove",c),u.current.removeEventListener("touchend",s))},(0,v.Z)((function(){return e&&n.current.addEventListener("touchstart",f,{passive:!0}),function(){var e;null===(e=n.current)||void 0===e||e.removeEventListener("touchstart",f),r(),clearInterval(l.current)}}),[e])}(ae,fe,(function(e,n,t,r){var o=r;return!$e(e,n,t)&&((!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),cn({preventDefault:function(){},deltaX:e?n:0,deltaY:e?0:n}),!0))})),(0,v.Z)((function(){function e(e){var n=Ge&&e.detail<0,t=qe&&e.detail>0;!ae||n||t||e.preventDefault()}var n=fe.current;return n.addEventListener("wheel",cn,{passive:!1}),n.addEventListener("DOMMouseScroll",sn,{passive:!0}),n.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){n.removeEventListener("wheel",cn),n.removeEventListener("DOMMouseScroll",sn),n.removeEventListener("MozMousePixelScroll",e)}}),[ae,Ge,qe]),(0,v.Z)((function(){if(K){var e=on(Ee);ye(e),tn({x:e})}}),[Fe.width,K]);var fn=function(){var e,n;null===(e=We.current)||void 0===e||e.delayHidden(),null===(n=je.current)||void 0===n||n.delayHidden()},dn=function(e,n,t,r,i,l,c,s){var f=p.useRef(),d=p.useState(null),m=(0,u.Z)(d,2),h=m[0],g=m[1];return(0,v.Z)((function(){if(h&&h.times<10){if(!e.current)return void g((function(e){return(0,a.Z)({},e)}));l();var o=h.targetAlign,u=h.originAlign,s=h.index,f=h.offset,d=e.current.clientHeight,v=!1,p=o,m=null;if(d){for(var Z=o||u,b=0,E=0,y=0,w=Math.min(n.length-1,s),S=0;S<=w;S+=1){var C=i(n[S]);E=b;var x=t.get(C);b=y=E+(void 0===x?r:x)}for(var M="top"===Z?f:d-f,N=w;N>=0;N-=1){var R=i(n[N]),I=t.get(R);if(void 0===I){v=!0;break}if((M-=I)<=0)break}switch(Z){case"top":m=E-f;break;case"bottom":m=y-d+f;break;default:var D=e.current.scrollTop;E<D?p="top":y>D+d&&(p="bottom")}null!==m&&c(m),m!==h.lastTop&&(v=!0)}v&&g((0,a.Z)((0,a.Z)({},h),{},{times:h.times+1,targetAlign:p,lastTop:m}))}}),[h,e.current]),function(e){if(null!=e){if(E.Z.cancel(f.current),"number"==typeof e)c(e);else if(e&&"object"===(0,o.Z)(e)){var t,r=e.align;t="index"in e?e.index:n.findIndex((function(n){return i(n)===e.key}));var a=e.offset;g({times:0,index:t,offset:void 0===a?0:a,originAlign:r})}}else s()}}(fe,se,re,x,J,(function(){return te(!0)}),Ie,fn);p.useImperativeHandle(n,(function(){return{nativeElement:ve.current,getScrollInfo:en,scrollTo:function(e){var n;(n=e)&&"object"===(0,o.Z)(n)&&("left"in n||"top"in n)?(void 0!==e.left&&ye(on(e.left)),dn(e.top)):dn(e)}}})),(0,v.Z)((function(){if(B){var e=se.slice(Le,Ae+1);B(e,se)}}),[Le,Ae,se]);var vn=function(e,n,t,r){var o=p.useMemo((function(){return[new Map,[]]}),[e,t.id,r]),a=(0,u.Z)(o,2),i=a[0],l=a[1];return function(o){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,u=i.get(o),c=i.get(a);if(void 0===u||void 0===c)for(var s=e.length,f=l.length;f<s;f+=1){var d,v=e[f],p=n(v);i.set(p,f);var m=null!==(d=t.get(p))&&void 0!==d?d:r;if(l[f]=(l[f-1]||0)+m,p===o&&(u=f),p===a&&(c=f),void 0!==u&&void 0!==c)break}return{top:l[u-1]||0,bottom:l[c]}}}(se,J,re,x),pn=null==G?void 0:G({start:Le,end:Ae,virtual:ue,offsetX:Ee,offsetY:ze,rtl:le,getSize:vn}),mn=function(e,n,t,r,o,a,i,u){var l=u.getKey;return e.slice(n,t+1).map((function(e,t){var u=i(e,n+t,{style:{width:r},offsetX:o}),c=l(e);return p.createElement(Z,{key:c,setRef:function(n){return a(e,n)}},u)}))}(se,Le,Ae,K,Ee,ne,z,Re),hn=null;y&&(hn=(0,a.Z)((0,i.Z)({},D?"height":"maxHeight",y),V),ae&&(hn.overflowY="hidden",K&&(hn.overflowX="hidden"),Ce&&(hn.pointerEvents="none")));var gn={};return le&&(gn.dir="rtl"),p.createElement("div",(0,r.Z)({ref:ve,style:(0,a.Z)((0,a.Z)({},L),{},{position:"relative"}),className:ce},gn,Q),p.createElement(f.Z,{onResize:function(e){Ke({width:e.offsetWidth,height:e.offsetHeight})}},p.createElement(j,{className:"".concat(c,"-holder"),style:hn,ref:fe,onScroll:function(e){var n=e.currentTarget.scrollTop;n!==he&&Ie(n),null==Y||Y(e),tn()},onMouseEnter:fn},p.createElement(g,{prefixCls:c,height:Ve,offsetX:Ee,offsetY:ze,scrollWidth:K,onInnerResize:te,ref:de,innerProps:U,rtl:le,extra:pn},mn))),ue&&Ve>y&&p.createElement(P,{ref:We,prefixCls:c,scrollOffset:he,scrollRange:Ve,rtl:le,onScroll:rn,onStartMove:Me,onStopMove:Ne,spinSize:Xe,containerSize:Fe.height,style:null==q?void 0:q.verticalScrollBar,thumbStyle:null==q?void 0:q.verticalScrollBarThumb}),ue&&K>Fe.width&&p.createElement(P,{ref:je,prefixCls:c,scrollOffset:Ee,scrollRange:K,rtl:le,onScroll:rn,onStartMove:Me,onStopMove:Ne,spinSize:Ye,containerSize:Fe.width,horizontal:!0,style:null==q?void 0:q.horizontalScrollBar,thumbStyle:null==q?void 0:q.horizontalScrollBarThumb}))}var A=p.forwardRef(L);A.displayName="List";var z=A}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[6013],{69870:function(e,n){n.Z={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"}},23989:function(e,n){n.Z={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"}},81372:function(e,n,t){var r=t(98037),o=t(75271),a=t(69870),i=t(64720),u=function(e,n){return o.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a.Z}))},l=o.forwardRef(u);n.Z=l},95101:function(e,n,t){var r=t(98037),o=t(75271),a=t(23989),i=t(64720),u=function(e,n){return o.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a.Z}))},l=o.forwardRef(u);n.Z=l},83289:function(e,n,t){var r=t(75271),o=t(96820),a=t(98705);n.Z=function(e){return r.createElement(o.C,null,(function(n){var t=(0,n.getPrefixCls)("empty");switch(e){case"Table":case"List":return r.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(t,"-small")});default:return r.createElement(a.Z,null)}}))}},98705:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(57904),o=t(2053),a=t(82187),i=t.n(a),u=t(75271),l=t(96820),c=t(76595),s=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-default");return u.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("g",{transform:"translate(24 31.67)"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),u.createElement("path",{className:"".concat(e,"-path-1"),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"}),u.createElement("path",{className:"".concat(e,"-path-2"),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",transform:"translate(13.56)"}),u.createElement("path",{className:"".concat(e,"-path-3"),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"}),u.createElement("path",{className:"".concat(e,"-path-4"),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"})),u.createElement("path",{className:"".concat(e,"-path-5"),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"}),u.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},u.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),u.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-simple");return u.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),u.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},u.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"}),u.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",className:"".concat(e,"-path")}))))},d=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]])}return t},v=u.createElement(s,null),p=u.createElement(f,null),m=function(e){var n=e.className,t=e.prefixCls,a=e.image,s=void 0===a?v:a,f=e.description,m=e.children,h=e.imageStyle,g=d(e,["className","prefixCls","image","description","children","imageStyle"]),Z=u.useContext(l.E_),b=Z.getPrefixCls,E=Z.direction;return u.createElement(c.Z,{componentName:"Empty"},(function(e){var a=b("empty",t),l=void 0!==f?f:e.description,c="string"==typeof l?l:"empty",d=null;return d="string"==typeof s?u.createElement("img",{alt:c,src:s}):s,u.createElement("div",(0,o.Z)({className:i()(a,(0,r.Z)((0,r.Z)({},"".concat(a,"-normal"),s===p),"".concat(a,"-rtl"),"rtl"===E),n)},g),u.createElement("div",{className:"".concat(a,"-image"),style:h},d),l&&u.createElement("div",{className:"".concat(a,"-description")},l),m&&u.createElement("div",{className:"".concat(a,"-footer")},m))}))};m.PRESENTED_IMAGE_DEFAULT=v,m.PRESENTED_IMAGE_SIMPLE=p;var h=m},50528:function(e,n,t){t.d(n,{Z:function(){return s}});var r=t(81372),o=t(84007),a=t(32324),i=t(95101),u=t(24727),l=t(43008),c=t(75271);function s(e){var n=e.suffixIcon,t=e.clearIcon,s=e.menuItemSelectedIcon,f=e.removeIcon,d=e.loading,v=e.multiple,p=e.hasFeedback,m=e.prefixCls,h=e.showArrow,g=e.feedbackIcon,Z=null!=t?t:c.createElement(o.Z,null),b=function(e){return c.createElement(c.Fragment,null,!1!==h&&e,p&&g)},E=null;if(void 0!==n)E=b(n);else if(d)E=b(c.createElement(u.Z,{spin:!0}));else{var y="".concat(m,"-suffix");E=function(e){var n=e.open,t=e.showSearch;return b(n&&t?c.createElement(l.Z,{className:y}):c.createElement(i.Z,{className:y}))}}return{clearIcon:Z,suffixIcon:E,itemIcon:void 0!==s?s:v?c.createElement(r.Z,null):null,removeIcon:void 0!==f?f:c.createElement(a.Z,null)}}},76341:function(e,n,t){t.d(n,{Z:function(){return V}});var r=t(2053),o=t(98037),a=t(99459),i=t(58006),u=t(75271),l=t(82187),c=t.n(l),s=t(28526),f=t(40570),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],v=void 0;function p(e,n){var t=e.prefixCls,a=e.invalidate,l=e.item,f=e.renderItem,p=e.responsive,m=e.responsiveDisabled,h=e.registerSize,g=e.itemKey,Z=e.className,b=e.style,E=e.children,y=e.display,w=e.order,S=e.component,C=void 0===S?"div":S,x=(0,i.Z)(e,d),M=p&&!y;function N(e){h(g,e)}u.useEffect((function(){return function(){N(null)}}),[]);var R,I=f&&l!==v?f(l):E;a||(R={opacity:M?0:1,height:M?0:v,overflowY:M?"hidden":v,order:p?w:v,pointerEvents:M?"none":v,position:M?"absolute":v});var D={};M&&(D["aria-hidden"]=!0);var P=u.createElement(C,(0,r.Z)({className:c()(!a&&t,Z),style:(0,o.Z)((0,o.Z)({},R),b)},D,x,{ref:n}),I);return p&&(P=u.createElement(s.Z,{onResize:function(e){N(e.offsetWidth)},disabled:m},P)),P}var m=u.forwardRef(p);m.displayName="Item";var h=m,g=t(88046),Z=t(30967),b=t(15363);function E(){var e=u.useRef(null);return function(n){e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)(0,b.Z)(e);else{var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(void 0)}}((function(){(0,Z.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(n)}}function y(e,n){var t=u.useState(n),r=(0,a.Z)(t,2),o=r[0],i=r[1];return[o,(0,g.Z)((function(n){e((function(){i(n)}))}))]}var w=u.createContext(null),S=["component"],C=["className"],x=["className"],M=function(e,n){var t=u.useContext(w);if(!t){var o=e.component,a=void 0===o?"div":o,l=(0,i.Z)(e,S);return u.createElement(a,(0,r.Z)({},l,{ref:n}))}var s=t.className,f=(0,i.Z)(t,C),d=e.className,v=(0,i.Z)(e,x);return u.createElement(w.Provider,{value:null},u.createElement(h,(0,r.Z)({ref:n,className:c()(s,d)},f,v)))},N=u.forwardRef(M);N.displayName="RawItem";var R=N,I=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],D="responsive",P="invalidate";function T(e){return"+ ".concat(e.length," ...")}function k(e,n){var t=e.prefixCls,l=void 0===t?"rc-overflow":t,d=e.data,v=void 0===d?[]:d,p=e.renderItem,m=e.renderRawItem,g=e.itemKey,Z=e.itemWidth,b=void 0===Z?10:Z,S=e.ssr,C=e.style,x=e.className,M=e.maxCount,N=e.renderRest,R=e.renderRawRest,k=e.suffix,O=e.component,V=void 0===O?"div":O,L=e.itemComponent,A=e.onVisibleChange,z=(0,i.Z)(e,I),_="full"===S,H=E(),F=y(H,null),K=(0,a.Z)(F,2),W=K[0],j=K[1],Y=W||0,X=y(H,new Map),B=(0,a.Z)(X,2),U=B[0],G=B[1],q=y(H,0),Q=(0,a.Z)(q,2),J=Q[0],$=Q[1],ee=y(H,0),ne=(0,a.Z)(ee,2),te=ne[0],re=ne[1],oe=y(H,0),ae=(0,a.Z)(oe,2),ie=ae[0],ue=ae[1],le=(0,u.useState)(null),ce=(0,a.Z)(le,2),se=ce[0],fe=ce[1],de=(0,u.useState)(null),ve=(0,a.Z)(de,2),pe=ve[0],me=ve[1],he=u.useMemo((function(){return null===pe&&_?Number.MAX_SAFE_INTEGER:pe||0}),[pe,W]),ge=(0,u.useState)(!1),Ze=(0,a.Z)(ge,2),be=Ze[0],Ee=Ze[1],ye="".concat(l,"-item"),we=Math.max(J,te),Se=M===D,Ce=v.length&&Se,xe=M===P,Me=Ce||"number"==typeof M&&v.length>M,Ne=(0,u.useMemo)((function(){var e=v;return Ce?e=null===W&&_?v:v.slice(0,Math.min(v.length,Y/b)):"number"==typeof M&&(e=v.slice(0,M)),e}),[v,b,W,M,Ce]),Re=(0,u.useMemo)((function(){return Ce?v.slice(he+1):v.slice(Ne.length)}),[v,Ne,Ce,he]),Ie=(0,u.useCallback)((function(e,n){var t;return"function"==typeof g?g(e):null!==(t=g&&(null==e?void 0:e[g]))&&void 0!==t?t:n}),[g]),De=(0,u.useCallback)(p||function(e){return e},[p]);function Pe(e,n,t){(pe!==e||void 0!==n&&n!==se)&&(me(e),t||(Ee(e<v.length-1),null==A||A(e)),void 0!==n&&fe(n))}function Te(e,n){G((function(t){var r=new Map(t);return null===n?r.delete(e):r.set(e,n),r}))}function ke(e){return U.get(Ie(Ne[e],e))}(0,f.Z)((function(){if(Y&&"number"==typeof we&&Ne){var e=ie,n=Ne.length,t=n-1;if(!n)return void Pe(0,null);for(var r=0;r<n;r+=1){var o=ke(r);if(_&&(o=o||0),void 0===o){Pe(r-1,void 0,!0);break}if(e+=o,0===t&&e<=Y||r===t-1&&e+ke(t)<=Y){Pe(t,null);break}if(e+we>Y){Pe(r-1,e-o-ie+te);break}}k&&ke(0)+ie>Y&&fe(null)}}),[Y,U,te,ie,Ie,Ne]);var Oe=be&&!!Re.length,Ve={};null!==se&&Ce&&(Ve={position:"absolute",left:se,top:0});var Le,Ae={prefixCls:ye,responsive:Ce,component:L,invalidate:xe},ze=m?function(e,n){var t=Ie(e,n);return u.createElement(w.Provider,{key:t,value:(0,o.Z)((0,o.Z)({},Ae),{},{order:n,item:e,itemKey:t,registerSize:Te,display:n<=he})},m(e,n))}:function(e,n){var t=Ie(e,n);return u.createElement(h,(0,r.Z)({},Ae,{order:n,key:t,item:e,renderItem:De,itemKey:t,registerSize:Te,display:n<=he}))},_e={order:Oe?he:Number.MAX_SAFE_INTEGER,className:"".concat(ye,"-rest"),registerSize:function(e,n){re(n),$(te)},display:Oe};if(R)R&&(Le=u.createElement(w.Provider,{value:(0,o.Z)((0,o.Z)({},Ae),_e)},R(Re)));else{var He=N||T;Le=u.createElement(h,(0,r.Z)({},Ae,_e),"function"==typeof He?He(Re):He)}var Fe=u.createElement(V,(0,r.Z)({className:c()(!xe&&l,x),style:C,ref:n},z),Ne.map(ze),Me?Le:null,k&&u.createElement(h,(0,r.Z)({},Ae,{responsive:Se,responsiveDisabled:!Ce,order:he,className:"".concat(ye,"-suffix"),registerSize:function(e,n){ue(n)},display:!0,style:Ve}),k));return Se&&(Fe=u.createElement(s.Z,{onResize:function(e,n){j(n.clientWidth)},disabled:!Ce},Fe)),Fe}var O=u.forwardRef(k);O.displayName="Overflow",O.Item=R,O.RESPONSIVE=D,O.INVALIDATE=P;var V=O},11252:function(e,n,t){t.d(n,{ZP:function(){return l}});var r=t(99459),o=t(75271),a=t(71254),i=0,u=(0,a.Z)();function l(e){var n=o.useState(),t=(0,r.Z)(n,2),a=t[0],l=t[1];return o.useEffect((function(){var e;l("rc_select_".concat((u?(e=i,i+=1):e="TEST_OR_SSR",e)))}),[]),e||a}},77168:function(e,n,t){t.d(n,{Ac:function(){return J},Xo:function(){return ce},Wx:function(){return fe},ZP:function(){return xe},lk:function(){return E}});var r=t(2053),o=t(35047),a=t(57904),i=t(98037),u=t(99459),l=t(58006),c=t(24744),s=t(6522),f=t(7432),d=t(75271),v=t(82187),p=t.n(v),m=t(40570),h=t(27741),g=t(1260),Z=t(3083),b=d.createContext(null);function E(){return d.useContext(b)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=d.useRef(null),t=d.useRef(null);function r(r){(r||null===n.current)&&(n.current=r),window.clearTimeout(t.current),t.current=window.setTimeout((function(){n.current=null}),e)}return d.useEffect((function(){return function(){window.clearTimeout(t.current)}}),[]),[function(){return n.current},r]}var w=t(41045),S=t(76341),C=function(e){var n,t=e.className,r=e.customizeIcon,o=e.customizeIconProps,a=e.onMouseDown,i=e.onClick,u=e.children;return n="function"==typeof r?r(o):r,d.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==n?n:d.createElement("span",{className:p()(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},u))},x=function(e,n){var t,r,o=e.prefixCls,a=e.id,u=e.inputElement,l=e.disabled,c=e.tabIndex,s=e.autoFocus,v=e.autoComplete,m=e.editable,h=e.activeDescendantId,g=e.value,b=e.maxLength,E=e.onKeyDown,y=e.onMouseDown,w=e.onChange,S=e.onPaste,C=e.onCompositionStart,x=e.onCompositionEnd,M=e.open,N=e.attrs,R=u||d.createElement("input",null),I=R,D=I.ref,P=I.props,T=P.onKeyDown,k=P.onChange,O=P.onMouseDown,V=P.onCompositionStart,L=P.onCompositionEnd,A=P.style;return(0,f.Kp)(!("maxLength"in R.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),R=d.cloneElement(R,(0,i.Z)((0,i.Z)((0,i.Z)({type:"search"},P),{},{id:a,ref:(0,Z.sQ)(n,D),disabled:l,tabIndex:c,autoComplete:v||"off",autoFocus:s,className:p()("".concat(o,"-selection-search-input"),null===(t=R)||void 0===t||null===(r=t.props)||void 0===r?void 0:r.className),role:"combobox","aria-expanded":M,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},N),{},{value:m?g:"",maxLength:b,readOnly:!m,unselectable:m?null:"on",style:(0,i.Z)((0,i.Z)({},A),{},{opacity:m?null:0}),onKeyDown:function(e){E(e),T&&T(e)},onMouseDown:function(e){y(e),O&&O(e)},onChange:function(e){w(e),k&&k(e)},onCompositionStart:function(e){C(e),V&&V(e)},onCompositionEnd:function(e){x(e),L&&L(e)},onPaste:S}))},M=d.forwardRef(x);M.displayName="Input";var N=M;function R(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var I="undefined"!=typeof window&&window.document&&window.document.documentElement;function D(e){return["string","number"].includes((0,c.Z)(e))}function P(e){var n=void 0;return e&&(D(e.title)?n=e.title.toString():D(e.label)&&(n=e.label.toString())),n}function T(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var k=function(e){e.preventDefault(),e.stopPropagation()},O=function(e){var n,t,r=e.id,o=e.prefixCls,i=e.values,l=e.open,c=e.searchValue,s=e.autoClearSearchValue,f=e.inputRef,v=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,Z=e.autoFocus,b=e.autoComplete,E=e.activeDescendantId,y=e.tabIndex,x=e.removeIcon,M=e.maxTagCount,R=e.maxTagTextLength,D=e.maxTagPlaceholder,O=void 0===D?function(e){return"+ ".concat(e.length," ...")}:D,V=e.tagRender,L=e.onToggleOpen,A=e.onRemove,z=e.onInputChange,_=e.onInputPaste,H=e.onInputKeyDown,F=e.onInputMouseDown,K=e.onInputCompositionStart,W=e.onInputCompositionEnd,j=d.useRef(null),Y=(0,d.useState)(0),X=(0,u.Z)(Y,2),B=X[0],U=X[1],G=(0,d.useState)(!1),q=(0,u.Z)(G,2),Q=q[0],J=q[1],$="".concat(o,"-selection"),ee=l||"multiple"===h&&!1===s||"tags"===h?c:"",ne="tags"===h||"multiple"===h&&!1===s||g&&(l||Q);function te(e,n,t,r,o){return d.createElement("span",{className:p()("".concat($,"-item"),(0,a.Z)({},"".concat($,"-item-disabled"),t)),title:P(e)},d.createElement("span",{className:"".concat($,"-item-content")},n),r&&d.createElement(C,{className:"".concat($,"-item-remove"),onMouseDown:k,onClick:o,customizeIcon:x},"×"))}n=function(){U(j.current.scrollWidth)},t=[ee],I?d.useLayoutEffect(n,t):d.useEffect(n,t);var re=d.createElement("div",{className:"".concat($,"-search"),style:{width:B},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},d.createElement(N,{ref:f,open:l,prefixCls:o,id:r,inputElement:null,disabled:m,autoFocus:Z,autoComplete:b,editable:ne,activeDescendantId:E,value:ee,onKeyDown:H,onMouseDown:F,onChange:z,onPaste:_,onCompositionStart:K,onCompositionEnd:W,tabIndex:y,attrs:(0,w.Z)(e,!0)}),d.createElement("span",{ref:j,className:"".concat($,"-search-mirror"),"aria-hidden":!0},ee," ")),oe=d.createElement(S.Z,{prefixCls:"".concat($,"-overflow"),data:i,renderItem:function(e){var n=e.disabled,t=e.label,r=e.value,o=!m&&!n,a=t;if("number"==typeof R&&("string"==typeof t||"number"==typeof t)){var i=String(a);i.length>R&&(a="".concat(i.slice(0,R),"..."))}var u=function(n){n&&n.stopPropagation(),A(e)};return"function"==typeof V?function(e,n,t,r,o){return d.createElement("span",{onMouseDown:function(e){k(e),L(!l)}},V({label:n,value:e,disabled:t,closable:r,onClose:o}))}(r,a,n,o,u):te(e,a,n,o,u)},renderRest:function(e){var n="function"==typeof O?O(e):O;return te({title:n},n,!1)},suffix:re,itemKey:T,maxCount:M});return d.createElement(d.Fragment,null,oe,!i.length&&!ee&&d.createElement("span",{className:"".concat($,"-placeholder")},v))},V=function(e){var n=e.inputElement,t=e.prefixCls,r=e.id,o=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,s=e.mode,f=e.open,v=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,Z=e.activeValue,b=e.maxLength,E=e.onInputKeyDown,y=e.onInputMouseDown,S=e.onInputChange,C=e.onInputPaste,x=e.onInputCompositionStart,M=e.onInputCompositionEnd,R=d.useState(!1),I=(0,u.Z)(R,2),D=I[0],T=I[1],k="combobox"===s,O=k||h,V=v[0],L=g||"";k&&Z&&!D&&(L=Z),d.useEffect((function(){k&&T(!1)}),[k,Z]);var A=!("combobox"!==s&&!f&&!h)&&!!L,z=P(V);return d.createElement(d.Fragment,null,d.createElement("span",{className:"".concat(t,"-selection-search")},d.createElement(N,{ref:o,prefixCls:t,id:r,open:f,inputElement:n,disabled:a,autoFocus:i,autoComplete:l,editable:O,activeDescendantId:c,value:L,onKeyDown:E,onMouseDown:y,onChange:function(e){T(!0),S(e)},onPaste:C,onCompositionStart:x,onCompositionEnd:M,tabIndex:m,attrs:(0,w.Z)(e,!0),maxLength:k?b:void 0})),!k&&V?d.createElement("span",{className:"".concat(t,"-selection-item"),title:z,style:A?{visibility:"hidden"}:void 0},V.label):null,function(){if(V)return null;var e=A?{visibility:"hidden"}:void 0;return d.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:e},p)}())};var L=function(e,n){var t=(0,d.useRef)(null),o=(0,d.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,c=e.showSearch,s=e.tokenWithEnter,f=e.autoClearSearchValue,v=e.onSearch,p=e.onSearchSubmit,m=e.onToggleOpen,h=e.onInputKeyDown,Z=e.domRef;d.useImperativeHandle(n,(function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}}));var b=y(0),E=(0,u.Z)(b,2),w=E[0],S=E[1],C=(0,d.useRef)(null),x=function(e){!1!==v(e,!0,o.current)&&m(!0)},M={inputRef:t,onInputKeyDown:function(e){var n,t=e.which;t!==g.Z.UP&&t!==g.Z.DOWN||e.preventDefault(),h&&h(e),t!==g.Z.ENTER||"tags"!==l||o.current||i||null==p||p(e.target.value),n=t,[g.Z.ESC,g.Z.SHIFT,g.Z.BACKSPACE,g.Z.TAB,g.Z.WIN_KEY,g.Z.ALT,g.Z.META,g.Z.WIN_KEY_RIGHT,g.Z.CTRL,g.Z.SEMICOLON,g.Z.EQUALS,g.Z.CAPS_LOCK,g.Z.CONTEXT_MENU,g.Z.F1,g.Z.F2,g.Z.F3,g.Z.F4,g.Z.F5,g.Z.F6,g.Z.F7,g.Z.F8,g.Z.F9,g.Z.F10,g.Z.F11,g.Z.F12].includes(n)||m(!0)},onInputMouseDown:function(){S(!0)},onInputChange:function(e){var n=e.target.value;if(s&&C.current&&/[\r\n]/.test(C.current)){var t=C.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,C.current)}C.current=null,x(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");C.current=n},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&x(e.target.value)}},N="multiple"===l||"tags"===l?d.createElement(O,(0,r.Z)({},e,M)):d.createElement(V,(0,r.Z)({},e,M));return d.createElement("div",{ref:Z,className:"".concat(a,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){t.current.focus()})):t.current.focus())},onMouseDown:function(e){var n=w();e.target===t.current||n||"combobox"===l||e.preventDefault(),("combobox"===l||c&&n)&&i||(i&&!1!==f&&v("",!0,!1),m())}},N)},A=d.forwardRef(L);A.displayName="Selector";var z=A,_=t(53668),H=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],F=function(e,n){var t=e.prefixCls,o=(e.disabled,e.visible),u=e.children,c=e.popupElement,s=e.containerWidth,f=e.animation,v=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,Z=void 0===g?"ltr":g,b=e.placement,E=e.dropdownMatchSelectWidth,y=e.dropdownRender,w=e.dropdownAlign,S=e.getPopupContainer,C=e.empty,x=e.getTriggerDOMNode,M=e.onPopupVisibleChange,N=e.onPopupMouseEnter,R=(0,l.Z)(e,H),I="".concat(t,"-dropdown"),D=c;y&&(D=y(c));var P=d.useMemo((function(){return function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1}}}}(E)}),[E]),T=f?"".concat(I,"-").concat(f):v,k=d.useRef(null);d.useImperativeHandle(n,(function(){return{getPopupElement:function(){return k.current}}}));var O=(0,i.Z)({minWidth:s},m);return"number"==typeof E?O.width=E:E&&(O.width=s),d.createElement(_.Z,(0,r.Z)({},R,{showAction:M?["click"]:[],hideAction:M?["click"]:[],popupPlacement:b||("rtl"===Z?"bottomRight":"bottomLeft"),builtinPlacements:P,prefixCls:I,popupTransitionName:T,popup:d.createElement("div",{ref:k,onMouseEnter:N},D),popupAlign:w,popupVisible:o,getPopupContainer:S,popupClassName:p()(h,(0,a.Z)({},"".concat(I,"-empty"),C)),popupStyle:O,getTriggerDOMNode:x,onPopupVisibleChange:M}),u)},K=d.forwardRef(F);K.displayName="SelectTrigger";var W=K,j=t(24769);function Y(e,n){var t,r=e.key;return"value"in e&&(t=e.value),null!=r?r:void 0!==t?t:"rc-index-key-".concat(n)}function X(e,n){var t=e||{};return{label:t.label||(n?"children":"label"),value:t.value||"value",options:t.options||"options"}}function B(e){var n=(0,i.Z)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,f.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}var U=["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","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function q(e){return"tags"===e||"multiple"===e}var Q=d.forwardRef((function(e,n){var t,f,v=e.id,E=e.prefixCls,w=e.className,S=e.showSearch,x=e.tagRender,M=e.direction,N=e.omitDomProps,R=e.displayValues,I=e.onDisplayValuesChange,D=e.emptyOptions,P=e.notFoundContent,T=void 0===P?"Not Found":P,k=e.onClear,O=e.mode,V=e.disabled,L=e.loading,A=e.getInputElement,_=e.getRawInputElement,H=e.open,F=e.defaultOpen,K=e.onDropdownVisibleChange,Y=e.activeValue,X=e.onActiveValueChange,B=e.activeDescendantId,Q=e.searchValue,J=e.autoClearSearchValue,$=e.onSearch,ee=e.onSearchSplit,ne=e.tokenSeparators,te=e.allowClear,re=e.showArrow,oe=e.inputIcon,ae=e.clearIcon,ie=e.OptionList,ue=e.animation,le=e.transitionName,ce=e.dropdownStyle,se=e.dropdownClassName,fe=e.dropdownMatchSelectWidth,de=e.dropdownRender,ve=e.dropdownAlign,pe=e.placement,me=e.getPopupContainer,he=e.showAction,ge=void 0===he?[]:he,Ze=e.onFocus,be=e.onBlur,Ee=e.onKeyUp,ye=e.onKeyDown,we=e.onMouseDown,Se=(0,l.Z)(e,U),Ce=q(O),xe=(void 0!==S?S:Ce)||"combobox"===O,Me=(0,i.Z)({},Se);G.forEach((function(e){delete Me[e]})),null==N||N.forEach((function(e){delete Me[e]}));var Ne=d.useState(!1),Re=(0,u.Z)(Ne,2),Ie=Re[0],De=Re[1];d.useEffect((function(){De((0,h.Z)())}),[]);var Pe=d.useRef(null),Te=d.useRef(null),ke=d.useRef(null),Oe=d.useRef(null),Ve=d.useRef(null),Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=d.useState(!1),t=(0,u.Z)(n,2),r=t[0],o=t[1],a=d.useRef(null),i=function(){window.clearTimeout(a.current)};return d.useEffect((function(){return i}),[]),[r,function(n,t){i(),a.current=window.setTimeout((function(){o(n),t&&t()}),e)},i]}(),Ae=(0,u.Z)(Le,3),ze=Ae[0],_e=Ae[1],He=Ae[2];d.useImperativeHandle(n,(function(){var e,n;return{focus:null===(e=Oe.current)||void 0===e?void 0:e.focus,blur:null===(n=Oe.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=Ve.current)||void 0===n?void 0:n.scrollTo(e)}}}));var Fe=d.useMemo((function(){var e;if("combobox"!==O)return Q;var n=null===(e=R[0])||void 0===e?void 0:e.value;return"string"==typeof n||"number"==typeof n?String(n):""}),[Q,O,R]),Ke="combobox"===O&&"function"==typeof A&&A()||null,We="function"==typeof _&&_(),je=(0,Z.x1)(Te,null==We||null===(t=We.props)||void 0===t?void 0:t.ref),Ye=(0,s.Z)(void 0,{defaultValue:F,value:H}),Xe=(0,u.Z)(Ye,2),Be=Xe[0],Ue=Xe[1],Ge=Be,qe=!T&&D;(V||qe&&Ge&&"combobox"===O)&&(Ge=!1);var Qe=!qe&&Ge,Je=d.useCallback((function(e){var n=void 0!==e?e:!Ge;V||(Ue(n),Ge!==n&&(null==K||K(n)))}),[V,Ge,Ue,K]),$e=d.useMemo((function(){return(ne||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ne]),en=function(e,n,t){var r=!0,a=e;null==X||X(null);var i=t?null:function(e,n){if(!n||!n.length)return null;var t=!1,r=function e(n,r){var a=(0,j.Z)(r),i=a[0],u=a.slice(1);if(!i)return[n];var l=n.split(i);return t=t||l.length>1,l.reduce((function(n,t){return[].concat((0,o.Z)(n),(0,o.Z)(e(t,u)))}),[]).filter((function(e){return e}))}(e,n);return t?r:null}(e,ne);return"combobox"!==O&&i&&(a="",null==ee||ee(i),Je(!1),r=!1),$&&Fe!==a&&$(a,{source:n?"typing":"effect"}),r};d.useEffect((function(){Ge||Ce||"combobox"===O||en("",!1,!1)}),[Ge]),d.useEffect((function(){Be&&V&&Ue(!1),V&&_e(!1)}),[V]);var nn=y(),tn=(0,u.Z)(nn,2),rn=tn[0],on=tn[1],an=d.useRef(!1),un=[];d.useEffect((function(){return function(){un.forEach((function(e){return clearTimeout(e)})),un.splice(0,un.length)}}),[]);var ln,cn=d.useState(null),sn=(0,u.Z)(cn,2),fn=sn[0],dn=sn[1],vn=d.useState({}),pn=(0,u.Z)(vn,2)[1];(0,m.Z)((function(){if(Qe){var e,n=Math.ceil(null===(e=Pe.current)||void 0===e?void 0:e.offsetWidth);fn===n||Number.isNaN(n)||dn(n)}}),[Qe]),We&&(ln=function(e){Je(e)}),function(e,n,t,r){var o=d.useRef(null);o.current={open:n,triggerOpen:t,customizedTrigger:r},d.useEffect((function(){function n(n){var t;if(null===(t=o.current)||void 0===t||!t.customizedTrigger){var r=n.target;r.shadowRoot&&n.composed&&(r=n.composedPath()[0]||r),o.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n),function(){return window.removeEventListener("mousedown",n)}}),[])}((function(){var e;return[Pe.current,null===(e=ke.current)||void 0===e?void 0:e.getPopupElement()]}),Qe,Je,!!We);var mn,hn,gn=d.useMemo((function(){return(0,i.Z)((0,i.Z)({},e),{},{notFoundContent:T,open:Ge,triggerOpen:Qe,id:v,showSearch:xe,multiple:Ce,toggleOpen:Je})}),[e,T,Qe,Ge,v,xe,Ce,Je]),Zn=void 0!==re?re:L||!Ce&&"combobox"!==O;Zn&&(mn=d.createElement(C,{className:p()("".concat(E,"-arrow"),(0,a.Z)({},"".concat(E,"-arrow-loading"),L)),customizeIcon:oe,customizeIconProps:{loading:L,searchValue:Fe,open:Ge,focused:ze,showSearch:xe}}));V||!te||!R.length&&!Fe||"combobox"===O&&""===Fe||(hn=d.createElement(C,{className:"".concat(E,"-clear"),onMouseDown:function(){var e;null==k||k(),null===(e=Oe.current)||void 0===e||e.focus(),I([],{type:"clear",values:R}),en("",!1,!1)},customizeIcon:ae},"×"));var bn,En=d.createElement(ie,{ref:Ve}),yn=p()(E,w,(f={},(0,a.Z)(f,"".concat(E,"-focused"),ze),(0,a.Z)(f,"".concat(E,"-multiple"),Ce),(0,a.Z)(f,"".concat(E,"-single"),!Ce),(0,a.Z)(f,"".concat(E,"-allow-clear"),te),(0,a.Z)(f,"".concat(E,"-show-arrow"),Zn),(0,a.Z)(f,"".concat(E,"-disabled"),V),(0,a.Z)(f,"".concat(E,"-loading"),L),(0,a.Z)(f,"".concat(E,"-open"),Ge),(0,a.Z)(f,"".concat(E,"-customize-input"),Ke),(0,a.Z)(f,"".concat(E,"-show-search"),xe),f)),wn=d.createElement(W,{ref:ke,disabled:V,prefixCls:E,visible:Qe,popupElement:En,containerWidth:fn,animation:ue,transitionName:le,dropdownStyle:ce,dropdownClassName:se,direction:M,dropdownMatchSelectWidth:fe,dropdownRender:de,dropdownAlign:ve,placement:pe,getPopupContainer:me,empty:D,getTriggerDOMNode:function(){return Te.current},onPopupVisibleChange:ln,onPopupMouseEnter:function(){pn({})}},We?d.cloneElement(We,{ref:je}):d.createElement(z,(0,r.Z)({},e,{domRef:Te,prefixCls:E,inputElement:Ke,ref:Oe,id:v,showSearch:xe,autoClearSearchValue:J,mode:O,activeDescendantId:B,tagRender:x,values:R,open:Ge,onToggleOpen:Je,activeValue:Y,searchValue:Fe,onSearch:en,onSearchSubmit:function(e){e&&e.trim()&&$(e,{source:"submit"})},onRemove:function(e){var n=R.filter((function(n){return n!==e}));I(n,{type:"remove",values:[e]})},tokenWithEnter:$e})));return bn=We?wn:d.createElement("div",(0,r.Z)({className:yn},Me,{ref:Pe,onMouseDown:function(e){var n,t=e.target,r=null===(n=ke.current)||void 0===n?void 0:n.getPopupElement();if(r&&r.contains(t)){var o=setTimeout((function(){var e,n=un.indexOf(o);-1!==n&&un.splice(n,1),He(),Ie||r.contains(document.activeElement)||null===(e=Oe.current)||void 0===e||e.focus()}));un.push(o)}for(var a=arguments.length,i=new Array(a>1?a-1:0),u=1;u<a;u++)i[u-1]=arguments[u];null==we||we.apply(void 0,[e].concat(i))},onKeyDown:function(e){var n,t=rn(),r=e.which;if(r===g.Z.ENTER&&("combobox"!==O&&e.preventDefault(),Ge||Je(!0)),on(!!Fe),r===g.Z.BACKSPACE&&!t&&Ce&&!Fe&&R.length){for(var a=(0,o.Z)(R),i=null,u=a.length-1;u>=0;u-=1){var l=a[u];if(!l.disabled){a.splice(u,1),i=l;break}}i&&I(a,{type:"remove",values:[i]})}for(var c=arguments.length,s=new Array(c>1?c-1:0),f=1;f<c;f++)s[f-1]=arguments[f];Ge&&Ve.current&&(n=Ve.current).onKeyDown.apply(n,[e].concat(s)),null==ye||ye.apply(void 0,[e].concat(s))},onKeyUp:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var o;Ge&&Ve.current&&(o=Ve.current).onKeyUp.apply(o,[e].concat(t)),null==Ee||Ee.apply(void 0,[e].concat(t))},onFocus:function(){_e(!0),V||(Ze&&!an.current&&Ze.apply(void 0,arguments),ge.includes("focus")&&Je(!0)),an.current=!0},onBlur:function(){_e(!1,(function(){an.current=!1,Je(!1)})),V||(Fe&&("tags"===O?$(Fe,{source:"submit"}):"multiple"===O&&$("",{source:"blur"})),be&&be.apply(void 0,arguments))}}),ze&&!Ge&&d.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(R.map((function(e){var n=e.label,t=e.value;return["number","string"].includes((0,c.Z)(n))?n:t})).join(", "))),wn,mn,hn),d.createElement(b.Provider,{value:gn},bn)}));var J=Q;function $(e,n){return R(e).join("").toUpperCase().includes(n)}var ee=t(11252),ne=t(22615),te=["children","value"],re=["children"];function oe(e){var n=e,t=n.key,r=n.props,o=r.children,a=r.value,u=(0,l.Z)(r,te);return(0,i.Z)({key:t,value:void 0!==a?a:t,children:o},u)}function ae(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ne.Z)(e).map((function(e,t){if(!d.isValidElement(e)||!e.type)return null;var r=e,o=r.type.isSelectOptGroup,a=r.key,u=r.props,c=u.children,s=(0,l.Z)(u,re);return n||!o?oe(e):(0,i.Z)((0,i.Z)({key:"__RC_SELECT_GRP__".concat(null===a?t:a,"__"),label:a},s),{},{options:ae(c)})})).filter((function(e){return e}))}function ie(e,n,t,r,o){return d.useMemo((function(){var a=e;!e&&(a=ae(n));var i=new Map,u=new Map,l=function(e,n,t){t&&"string"==typeof t&&e.set(n[t],n)};return function e(n){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<n.length;c+=1){var s=n[c];!s[t.options]||a?(i.set(s[t.value],s),l(u,s,t.label),l(u,s,r),l(u,s,o)):e(s[t.options],!0)}}(a),{options:a,valueOptions:i,labelOptions:u}}),[e,n,t,r,o])}function ue(e){var n=d.useRef();n.current=e;var t=d.useCallback((function(){return n.current.apply(n,arguments)}),[]);return t}var le=function(){return null};le.isSelectOptGroup=!0;var ce=le,se=function(){return null};se.isSelectOption=!0;var fe=se,de=t(2021),ve=t(95410),pe=t(86392);var me=d.createContext(null),he=["disabled","title","children","style","className"];function ge(e){return"string"==typeof e||"number"==typeof e}var Ze=function(e,n){var t=E(),i=t.prefixCls,c=t.id,s=t.open,f=t.multiple,v=t.mode,m=t.searchValue,h=t.toggleOpen,Z=t.notFoundContent,b=t.onPopupScroll,y=d.useContext(me),S=y.flattenOptions,x=y.onActiveValue,M=y.defaultActiveFirstOption,N=y.onSelect,R=y.menuItemSelectedIcon,I=y.rawValues,D=y.fieldNames,P=y.virtual,T=y.listHeight,k=y.listItemHeight,O="".concat(i,"-item"),V=(0,ve.Z)((function(){return S}),[s,S],(function(e,n){return n[0]&&e[1]!==n[1]})),L=d.useRef(null),A=function(e){e.preventDefault()},z=function(e){L.current&&L.current.scrollTo("number"==typeof e?{index:e}:e)},_=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=V.length,r=0;r<t;r+=1){var o=(e+r*n+t)%t,a=V[o],i=a.group,u=a.data;if(!i&&!u.disabled)return o}return-1},H=d.useState((function(){return _(0)})),F=(0,u.Z)(H,2),K=F[0],W=F[1],j=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];W(e);var t={source:n?"keyboard":"mouse"},r=V[e];r?x(r.value,e,t):x(null,-1,t)};(0,d.useEffect)((function(){j(!1!==M?_(0):-1)}),[V.length,m]);var Y=d.useCallback((function(e){return I.has(e)&&"combobox"!==v}),[v,(0,o.Z)(I).toString(),I.size]);(0,d.useEffect)((function(){var e,n=setTimeout((function(){if(!f&&s&&1===I.size){var e=Array.from(I)[0],n=V.findIndex((function(n){return n.data.value===e}));-1!==n&&(j(n),z(n))}}));s&&(null===(e=L.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(n)}}),[s,m]);var X=function(e){void 0!==e&&N(e,{selected:!I.has(e)}),f||h(!1)};if(d.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case g.Z.N:case g.Z.P:case g.Z.UP:case g.Z.DOWN:var r=0;if(n===g.Z.UP?r=-1:n===g.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===g.Z.N?r=1:n===g.Z.P&&(r=-1)),0!==r){var o=_(K+r,r);z(o),j(o,!0)}break;case g.Z.ENTER:var a=V[K];a&&!a.data.disabled?X(a.value):X(void 0),s&&e.preventDefault();break;case g.Z.ESC:h(!1),s&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){z(e)}}})),0===V.length)return d.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(O,"-empty"),onMouseDown:A},Z);var B=Object.keys(D).map((function(e){return D[e]})),U=function(e){return e.label},G=function(e){var n=V[e];if(!n)return null;var t=n.data||{},o=t.value,a=n.group,i=(0,w.Z)(t,!0),u=U(n);return n?d.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof u||a?null:u},i,{key:e,role:a?"presentation":"option",id:"".concat(c,"_list_").concat(e),"aria-selected":Y(o)}),o):null};return d.createElement(d.Fragment,null,d.createElement("div",{role:"listbox",id:"".concat(c,"_list"),style:{height:0,width:0,overflow:"hidden"}},G(K-1),G(K),G(K+1)),d.createElement(pe.Z,{itemKey:"key",ref:L,data:V,height:T,itemHeight:k,fullHeight:!1,onMouseDown:A,onScroll:b,virtual:P},(function(e,n){var t,o=e.group,i=e.groupOption,u=e.data,c=e.label,s=e.value,f=u.key;if(o){var v,m=null!==(v=u.title)&&void 0!==v?v:ge(c)?c.toString():void 0;return d.createElement("div",{className:p()(O,"".concat(O,"-group")),title:m},void 0!==c?c:f)}var h=u.disabled,g=u.title,Z=(u.children,u.style),b=u.className,E=(0,l.Z)(u,he),y=(0,de.Z)(E,B),S=Y(s),x="".concat(O,"-option"),M=p()(O,x,b,(t={},(0,a.Z)(t,"".concat(x,"-grouped"),i),(0,a.Z)(t,"".concat(x,"-active"),K===n&&!h),(0,a.Z)(t,"".concat(x,"-disabled"),h),(0,a.Z)(t,"".concat(x,"-selected"),S),t)),N=U(e),I=!R||"function"==typeof R||S,D="number"==typeof N?N:N||s,P=ge(D)?D.toString():void 0;return void 0!==g&&(P=g),d.createElement("div",(0,r.Z)({},(0,w.Z)(y),{"aria-selected":S,className:M,title:P,onMouseMove:function(){K===n||h||j(n)},onClick:function(){h||X(s)},style:Z}),d.createElement("div",{className:"".concat(x,"-content")},D),d.isValidElement(R)||S,I&&d.createElement(C,{className:"".concat(O,"-option-state"),customizeIcon:R,customizeIconProps:{isSelected:S}},S?"✓":null))})))},be=d.forwardRef(Ze);be.displayName="OptionList";var Ee=be;var ye=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],we=["inputValue"];var Se=d.forwardRef((function(e,n){var t=e.id,f=e.mode,v=e.prefixCls,p=void 0===v?"rc-select":v,m=e.backfill,h=e.fieldNames,g=e.inputValue,Z=e.searchValue,b=e.onSearch,E=e.autoClearSearchValue,y=void 0===E||E,w=e.onSelect,S=e.onDeselect,C=e.dropdownMatchSelectWidth,x=void 0===C||C,M=e.filterOption,N=e.filterSort,I=e.optionFilterProp,D=e.optionLabelProp,P=e.options,T=e.children,k=e.defaultActiveFirstOption,O=e.menuItemSelectedIcon,V=e.virtual,L=e.listHeight,A=void 0===L?200:L,z=e.listItemHeight,_=void 0===z?20:z,H=e.value,F=e.defaultValue,K=e.labelInValue,W=e.onChange,j=(0,l.Z)(e,ye),U=(0,ee.ZP)(t),G=q(f),Q=!(P||!T),ne=d.useMemo((function(){return(void 0!==M||"combobox"!==f)&&M}),[M,f]),te=d.useMemo((function(){return X(h,Q)}),[JSON.stringify(h),Q]),re=(0,s.Z)("",{value:void 0!==Z?Z:g,postState:function(e){return e||""}}),oe=(0,u.Z)(re,2),ae=oe[0],le=oe[1],ce=ie(P,T,te,I,D),se=ce.valueOptions,fe=ce.labelOptions,de=ce.options,ve=d.useCallback((function(e){return R(e).map((function(e){var n,t,r,o,a,i;(function(e){return!e||"object"!==(0,c.Z)(e)})(e)?n=e:(r=e.key,t=e.label,n=null!==(i=e.value)&&void 0!==i?i:r);var u,l=se.get(n);l&&(void 0===t&&(t=null==l?void 0:l[D||te.label]),void 0===r&&(r=null!==(u=null==l?void 0:l.key)&&void 0!==u?u:n),o=null==l?void 0:l.disabled,a=null==l?void 0:l.title);return{label:t,value:n,key:r,disabled:o,title:a}}))}),[te,D,se]),pe=(0,s.Z)(F,{value:H}),he=(0,u.Z)(pe,2),ge=he[0],Ze=he[1],be=function(e,n){var t=d.useRef({values:new Map,options:new Map});return[d.useMemo((function(){var r=t.current,o=r.values,a=r.options,u=e.map((function(e){var n;return void 0===e.label?(0,i.Z)((0,i.Z)({},e),{},{label:null===(n=o.get(e.value))||void 0===n?void 0:n.label}):e})),l=new Map,c=new Map;return u.forEach((function(e){l.set(e.value,e),c.set(e.value,n.get(e.value)||a.get(e.value))})),t.current.values=l,t.current.options=c,u}),[e,n]),d.useCallback((function(e){return n.get(e)||t.current.options.get(e)}),[n])]}(d.useMemo((function(){var e,n=ve(ge);return"combobox"!==f||null!==(e=n[0])&&void 0!==e&&e.value?n:[]}),[ge,ve,f]),se),Se=(0,u.Z)(be,2),Ce=Se[0],xe=Se[1],Me=d.useMemo((function(){if(!f&&1===Ce.length){var e=Ce[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Ce.map((function(e){var n;return(0,i.Z)((0,i.Z)({},e),{},{label:null!==(n=e.label)&&void 0!==n?n:e.value})}))}),[f,Ce]),Ne=d.useMemo((function(){return new Set(Ce.map((function(e){return e.value})))}),[Ce]);d.useEffect((function(){if("combobox"===f){var e,n=null===(e=Ce[0])||void 0===e?void 0:e.value;le(function(e){return null!=e}(n)?String(n):"")}}),[Ce]);var Re=ue((function(e,n){var t,r=null!=n?n:e;return t={},(0,a.Z)(t,te.value,e),(0,a.Z)(t,te.label,r),t})),Ie=function(e,n,t,r,o){return d.useMemo((function(){if(!t||!1===r)return e;var u=n.options,l=n.label,c=n.value,s=[],f="function"==typeof r,d=t.toUpperCase(),v=f?r:function(e,n){return o?$(n[o],d):n[u]?$(n["children"!==l?l:"label"],d):$(n[c],d)},p=f?function(e){return B(e)}:function(e){return e};return e.forEach((function(e){if(e[u])if(v(t,p(e)))s.push(e);else{var n=e[u].filter((function(e){return v(t,p(e))}));n.length&&s.push((0,i.Z)((0,i.Z)({},e),{},(0,a.Z)({},u,n)))}else v(t,p(e))&&s.push(e)})),s}),[e,r,o,t,n])}(d.useMemo((function(){if("tags"!==f)return de;var e=(0,o.Z)(de);return(0,o.Z)(Ce).sort((function(e,n){return e.value<n.value?-1:1})).forEach((function(n){var t=n.value;(function(e){return se.has(e)})(t)||e.push(Re(t,n.label))})),e}),[Re,de,se,Ce,f]),te,ae,ne,I),De=d.useMemo((function(){return"tags"!==f||!ae||Ie.some((function(e){return e[I||"value"]===ae}))?Ie:[Re(ae)].concat((0,o.Z)(Ie))}),[Re,I,f,Ie,ae]),Pe=d.useMemo((function(){return N?(0,o.Z)(De).sort((function(e,n){return N(e,n)})):De}),[De,N]),Te=d.useMemo((function(){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,r=n.childrenAsData,o=[],a=X(t,!1),i=a.label,u=a.value,l=a.options;function c(e,n){e.forEach((function(e){var t=e[i];if(n||!(l in e)){var a=e[u];o.push({key:Y(e,o.length),groupOption:n,data:e,label:t,value:a})}else{var s=t;void 0===s&&r&&(s=e.label),o.push({key:Y(e,o.length),group:!0,data:e,label:s}),c(e[l],!0)}}))}return c(e,!1),o}(Pe,{fieldNames:te,childrenAsData:Q})}),[Pe,te,Q]),ke=function(e){var n=ve(e);if(Ze(n),W&&(n.length!==Ce.length||n.some((function(e,n){var t;return(null===(t=Ce[n])||void 0===t?void 0:t.value)!==(null==e?void 0:e.value)})))){var t=K?n:n.map((function(e){return e.value})),r=n.map((function(e){return B(xe(e.value))}));W(G?t:t[0],G?r:r[0])}},Oe=d.useState(null),Ve=(0,u.Z)(Oe,2),Le=Ve[0],Ae=Ve[1],ze=d.useState(0),_e=(0,u.Z)(ze,2),He=_e[0],Fe=_e[1],Ke=void 0!==k?k:"combobox"!==f,We=d.useCallback((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.source,o=void 0===r?"keyboard":r;Fe(n),m&&"combobox"===f&&null!==e&&"keyboard"===o&&Ae(String(e))}),[m,f]),je=function(e,n,t){var r=function(){var n,t=xe(e);return[K?{label:null==t?void 0:t[te.label],value:e,key:null!==(n=null==t?void 0:t.key)&&void 0!==n?n:e}:e,B(t)]};if(n&&w){var o=r(),a=(0,u.Z)(o,2),i=a[0],l=a[1];w(i,l)}else if(!n&&S&&"clear"!==t){var c=r(),s=(0,u.Z)(c,2),f=s[0],d=s[1];S(f,d)}},Ye=ue((function(e,n){var t,r=!G||n.selected;t=r?G?[].concat((0,o.Z)(Ce),[e]):[e]:Ce.filter((function(n){return n.value!==e})),ke(t),je(e,r),"combobox"===f?Ae(""):q&&!y||(le(""),Ae(""))})),Xe=d.useMemo((function(){var e=!1!==V&&!1!==x;return(0,i.Z)((0,i.Z)({},ce),{},{flattenOptions:Te,onActiveValue:We,defaultActiveFirstOption:Ke,onSelect:Ye,menuItemSelectedIcon:O,rawValues:Ne,fieldNames:te,virtual:e,listHeight:A,listItemHeight:_,childrenAsData:Q})}),[ce,Te,We,Ke,Ye,O,Ne,te,V,x,A,_,Q]);return d.createElement(me.Provider,{value:Xe},d.createElement(J,(0,r.Z)({},j,{id:U,prefixCls:p,ref:n,omitDomProps:we,mode:f,displayValues:Me,onDisplayValuesChange:function(e,n){ke(e);var t=n.type,r=n.values;"remove"!==t&&"clear"!==t||r.forEach((function(e){je(e.value,!1,t)}))},searchValue:ae,onSearch:function(e,n){if(le(e),Ae(null),"submit"!==n.source)"blur"!==n.source&&("combobox"===f&&ke(e),null==b||b(e));else{var t=(e||"").trim();if(t){var r=Array.from(new Set([].concat((0,o.Z)(Ne),[t])));ke(r),je(t,!0),le("")}}},autoClearSearchValue:y,onSearchSplit:function(e){var n=e;"tags"!==f&&(n=e.map((function(e){var n=fe.get(e);return null==n?void 0:n.value})).filter((function(e){return void 0!==e})));var t=Array.from(new Set([].concat((0,o.Z)(Ne),(0,o.Z)(n))));ke(t),t.forEach((function(e){je(e,!0)}))},dropdownMatchSelectWidth:x,OptionList:Ee,emptyOptions:!Te.length,activeValue:Le,activeDescendantId:"".concat(U,"_list_").concat(He)})))}));var Ce=Se;Ce.Option=fe,Ce.OptGroup=ce;var xe=Ce},86392:function(e,n,t){t.d(n,{Z:function(){return z}});var r=t(2053),o=t(24744),a=t(98037),i=t(57904),u=t(99459),l=t(58006),c=t(82187),s=t.n(c),f=t(28526),d=t(28774),v=t(40570),p=t(75271),m=t(30967),h=p.forwardRef((function(e,n){var t=e.height,o=e.offsetY,u=e.offsetX,l=e.children,c=e.prefixCls,d=e.onInnerResize,v=e.innerProps,m=e.rtl,h=e.extra,g={},Z={display:"flex",flexDirection:"column"};return void 0!==o&&(g={height:t,position:"relative",overflow:"hidden"},Z=(0,a.Z)((0,a.Z)({},Z),{},(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({transform:"translateY(".concat(o,"px)")},m?"marginRight":"marginLeft",-u),"position","absolute"),"left",0),"right",0),"top",0))),p.createElement("div",{style:g},p.createElement(f.Z,{onResize:function(e){e.offsetHeight&&d&&d()}},p.createElement("div",(0,r.Z)({style:Z,className:s()((0,i.Z)({},"".concat(c,"-holder-inner"),c)),ref:n},v),l,h)))}));h.displayName="Filler";var g=h;function Z(e){var n=e.children,t=e.setRef,r=p.useCallback((function(e){t(e)}),[]);return p.cloneElement(n,{ref:r})}function b(e,n,t){var r=p.useState(e),o=(0,u.Z)(r,2),a=o[0],i=o[1],l=p.useState(null),c=(0,u.Z)(l,2),s=c[0],f=c[1];return p.useEffect((function(){var r=function(e,n,t){var r,o,a=e.length,i=n.length;if(0===a&&0===i)return null;a<i?(r=e,o=n):(r=n,o=e);var u={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?t(e):u}for(var c=null,s=1!==Math.abs(a-i),f=0;f<o.length;f+=1){var d=l(r[f]);if(d!==l(o[f])){c=f,s=s||d!==l(o[f+1]);break}}return null===c?null:{index:c,multiple:s}}(a||[],e||[],n);void 0!==(null==r?void 0:r.index)&&(null==t||t(r.index),f(e[r.index])),i(e)}),[e]),[s]}var E=t(15363),y="object"===("undefined"==typeof navigator?"undefined":(0,o.Z)(navigator))&&/Firefox/i.test(navigator.userAgent),w=function(e,n,t,r){var o=(0,p.useRef)(!1),a=(0,p.useRef)(null);function i(){clearTimeout(a.current),o.current=!0,a.current=setTimeout((function(){o.current=!1}),50)}var u=(0,p.useRef)({top:e,bottom:n,left:t,right:r});return u.current.top=e,u.current.bottom=n,u.current.left=t,u.current.right=r,function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e?n<0&&u.current.left||n>0&&u.current.right:n<0&&u.current.top||n>0&&u.current.bottom;return t&&r?(clearTimeout(a.current),o.current=!1):r&&!o.current||i(),!o.current&&r}};function S(e,n,t,r,o,a,i){var u=(0,p.useRef)(0),l=(0,p.useRef)(null),c=(0,p.useRef)(null),s=(0,p.useRef)(!1),f=w(n,t,r,o);var d=(0,p.useRef)(null),v=(0,p.useRef)(null);return[function(n){if(e){E.Z.cancel(v.current),v.current=(0,E.Z)((function(){d.current=null}),2);var t=n.deltaX,r=n.deltaY,o=n.shiftKey,p=t,m=r;("sx"===d.current||!d.current&&o&&r&&!t)&&(p=r,m=0,d.current="sx");var h=Math.abs(p),g=Math.abs(m);null===d.current&&(d.current=a&&h>g?"x":"y"),"y"===d.current?function(e,n){if(E.Z.cancel(l.current),!f(!1,n)){var t=e;t._virtualHandled||(t._virtualHandled=!0,u.current+=n,c.current=n,y||t.preventDefault(),l.current=(0,E.Z)((function(){var e=s.current?10:1;i(u.current*e,!1),u.current=0})))}}(n,m):function(e,n){i(n,!0),y||e.preventDefault()}(n,p)}},function(n){e&&(s.current=n.detail===c.current)}]}var C=t(74194),x=t(73779),M=t(71374),N=function(){function e(){(0,x.Z)(this,e),(0,i.Z)(this,"maps",void 0),(0,i.Z)(this,"id",0),this.maps=Object.create(null)}return(0,M.Z)(e,[{key:"set",value:function(e,n){this.maps[e]=n,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}();function R(e){var n=parseFloat(e);return isNaN(n)?0:n}var I=14/15;function D(e,n){return("touches"in e?e.touches[0]:e)[n?"pageX":"pageY"]}var P=p.forwardRef((function(e,n){var t=e.prefixCls,r=e.rtl,o=e.scrollOffset,l=e.scrollRange,c=e.onStartMove,f=e.onStopMove,d=e.onScroll,v=e.horizontal,m=e.spinSize,h=e.containerSize,g=e.style,Z=e.thumbStyle,b=p.useState(!1),y=(0,u.Z)(b,2),w=y[0],S=y[1],C=p.useState(null),x=(0,u.Z)(C,2),M=x[0],N=x[1],R=p.useState(null),I=(0,u.Z)(R,2),P=I[0],T=I[1],k=!r,O=p.useRef(),V=p.useRef(),L=p.useState(!1),A=(0,u.Z)(L,2),z=A[0],_=A[1],H=p.useRef(),F=function(){clearTimeout(H.current),_(!0),H.current=setTimeout((function(){_(!1)}),3e3)},K=l-h||0,W=h-m||0,j=p.useMemo((function(){return 0===o||0===K?0:o/K*W}),[o,K,W]),Y=p.useRef({top:j,dragging:w,pageY:M,startTop:P});Y.current={top:j,dragging:w,pageY:M,startTop:P};var X=function(e){S(!0),N(D(e,v)),T(Y.current.top),c(),e.stopPropagation(),e.preventDefault()};p.useEffect((function(){var e=function(e){e.preventDefault()},n=O.current,t=V.current;return n.addEventListener("touchstart",e,{passive:!1}),t.addEventListener("touchstart",X,{passive:!1}),function(){n.removeEventListener("touchstart",e),t.removeEventListener("touchstart",X)}}),[]);var B=p.useRef();B.current=K;var U=p.useRef();U.current=W,p.useEffect((function(){if(w){var e,n=function(n){var t=Y.current,r=t.dragging,o=t.pageY,a=t.startTop;E.Z.cancel(e);var i=O.current.getBoundingClientRect(),u=h/(v?i.width:i.height);if(r){var l=(D(n,v)-o)*u,c=a;!k&&v?c-=l:c+=l;var s=B.current,f=U.current,p=f?c/f:0,m=Math.ceil(p*s);m=Math.max(m,0),m=Math.min(m,s),e=(0,E.Z)((function(){d(m,v)}))}},t=function(){S(!1),f()};return window.addEventListener("mousemove",n,{passive:!0}),window.addEventListener("touchmove",n,{passive:!0}),window.addEventListener("mouseup",t,{passive:!0}),window.addEventListener("touchend",t,{passive:!0}),function(){window.removeEventListener("mousemove",n),window.removeEventListener("touchmove",n),window.removeEventListener("mouseup",t),window.removeEventListener("touchend",t),E.Z.cancel(e)}}}),[w]),p.useEffect((function(){return F(),function(){clearTimeout(H.current)}}),[o]),p.useImperativeHandle(n,(function(){return{delayHidden:F}}));var G="".concat(t,"-scrollbar"),q={position:"absolute",visibility:z?null:"hidden"},Q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return v?(q.height=8,q.left=0,q.right=0,q.bottom=0,Q.height="100%",Q.width=m,k?Q.left=j:Q.right=j):(q.width=8,q.top=0,q.bottom=0,k?q.right=0:q.left=0,Q.width="100%",Q.height=m,Q.top=j),p.createElement("div",{ref:O,className:s()(G,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(G,"-horizontal"),v),"".concat(G,"-vertical"),!v),"".concat(G,"-visible"),z)),style:(0,a.Z)((0,a.Z)({},q),g),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:F},p.createElement("div",{ref:V,className:s()("".concat(G,"-thumb"),(0,i.Z)({},"".concat(G,"-thumb-moving"),w)),style:(0,a.Z)((0,a.Z)({},Q),Z),onMouseDown:X}))}));function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e/n*e;return isNaN(t)&&(t=0),t=Math.max(t,20),Math.floor(t)}var k=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],O=[],V={overflowY:"auto",overflowAnchor:"none"};function L(e,n){var t=e.prefixCls,c=void 0===t?"rc-virtual-list":t,h=e.className,y=e.height,x=e.itemHeight,M=e.fullHeight,D=void 0===M||M,L=e.style,A=e.data,z=e.children,_=e.itemKey,H=e.virtual,F=e.direction,K=e.scrollWidth,W=e.component,j=void 0===W?"div":W,Y=e.onScroll,X=e.onVirtualScroll,B=e.onVisibleChange,U=e.innerProps,G=e.extraRender,q=e.styles,Q=(0,l.Z)(e,k),J=p.useCallback((function(e){return"function"==typeof _?_(e):null==e?void 0:e[_]}),[_]),$=function(e,n,t){var r=p.useState(0),o=(0,u.Z)(r,2),a=o[0],i=o[1],l=(0,p.useRef)(new Map),c=(0,p.useRef)(new N),s=(0,p.useRef)();function f(){E.Z.cancel(s.current)}function d(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];f();var n=function(){l.current.forEach((function(e,n){if(e&&e.offsetParent){var t=(0,C.ZP)(e),r=t.offsetHeight,o=getComputedStyle(t),a=o.marginTop,i=o.marginBottom,u=r+R(a)+R(i);c.current.get(n)!==u&&c.current.set(n,u)}})),i((function(e){return e+1}))};e?n():s.current=(0,E.Z)(n)}return(0,p.useEffect)((function(){return f}),[]),[function(r,o){var a=e(r),i=l.current.get(a);o?(l.current.set(a,o),d()):l.current.delete(a),!i!=!o&&(o?null==n||n(r):null==t||t(r))},d,c.current,a]}(J,null,null),ee=(0,u.Z)($,4),ne=ee[0],te=ee[1],re=ee[2],oe=ee[3],ae=!(!1===H||!y||!x),ie=p.useMemo((function(){return Object.values(re.maps).reduce((function(e,n){return e+n}),0)}),[re.id,re.maps]),ue=ae&&A&&(Math.max(x*A.length,ie)>y||!!K),le="rtl"===F,ce=s()(c,(0,i.Z)({},"".concat(c,"-rtl"),le),h),se=A||O,fe=(0,p.useRef)(),de=(0,p.useRef)(),ve=(0,p.useRef)(),pe=(0,p.useState)(0),me=(0,u.Z)(pe,2),he=me[0],ge=me[1],Ze=(0,p.useState)(0),be=(0,u.Z)(Ze,2),Ee=be[0],ye=be[1],we=(0,p.useState)(!1),Se=(0,u.Z)(we,2),Ce=Se[0],xe=Se[1],Me=function(){xe(!0)},Ne=function(){xe(!1)},Re={getKey:J};function Ie(e){ge((function(n){var t=function(e){var n=e;Number.isNaN(Ue.current)||(n=Math.min(n,Ue.current));return n=Math.max(n,0),n}("function"==typeof e?e(n):e);return fe.current.scrollTop=t,t}))}var De=(0,p.useRef)({start:0,end:se.length}),Pe=(0,p.useRef)(),Te=b(se,J),ke=(0,u.Z)(Te,1)[0];Pe.current=ke;var Oe=p.useMemo((function(){if(!ae)return{scrollHeight:void 0,start:0,end:se.length-1,offset:void 0};var e;if(!ue)return{scrollHeight:(null===(e=de.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:se.length-1,offset:void 0};for(var n,t,r,o=0,a=se.length,i=0;i<a;i+=1){var u=se[i],l=J(u),c=re.get(l),s=o+(void 0===c?x:c);s>=he&&void 0===n&&(n=i,t=o),s>he+y&&void 0===r&&(r=i),o=s}return void 0===n&&(n=0,t=0,r=Math.ceil(y/x)),void 0===r&&(r=se.length-1),{scrollHeight:o,start:n,end:r=Math.min(r+1,se.length-1),offset:t}}),[ue,ae,he,se,oe,y]),Ve=Oe.scrollHeight,Le=Oe.start,Ae=Oe.end,ze=Oe.offset;De.current.start=Le,De.current.end=Ae;var _e=p.useState({width:0,height:y}),He=(0,u.Z)(_e,2),Fe=He[0],Ke=He[1],We=(0,p.useRef)(),je=(0,p.useRef)(),Ye=p.useMemo((function(){return T(Fe.width,K)}),[Fe.width,K]),Xe=p.useMemo((function(){return T(Fe.height,Ve)}),[Fe.height,Ve]),Be=Ve-y,Ue=(0,p.useRef)(Be);Ue.current=Be;var Ge=he<=0,qe=he>=Be,Qe=Ee<=0,Je=Ee>=K,$e=w(Ge,qe,Qe,Je),en=function(){return{x:le?-Ee:Ee,y:he}},nn=(0,p.useRef)(en()),tn=(0,d.zX)((function(e){if(X){var n=(0,a.Z)((0,a.Z)({},en()),e);nn.current.x===n.x&&nn.current.y===n.y||(X(n),nn.current=n)}}));function rn(e,n){var t=e;n?((0,m.flushSync)((function(){ye(t)})),tn()):Ie(t)}var on=function(e){var n=e,t=K?K-Fe.width:0;return n=Math.max(n,0),n=Math.min(n,t)},an=(0,d.zX)((function(e,n){n?((0,m.flushSync)((function(){ye((function(n){return on(n+(le?-e:e))}))})),tn()):Ie((function(n){return n+e}))})),un=S(ae,Ge,qe,Qe,Je,!!K,an),ln=(0,u.Z)(un,2),cn=ln[0],sn=ln[1];!function(e,n,t){var r,o=(0,p.useRef)(!1),a=(0,p.useRef)(0),i=(0,p.useRef)(0),u=(0,p.useRef)(null),l=(0,p.useRef)(null),c=function(e){if(o.current){var n=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),u=a.current-n,c=i.current-r,s=Math.abs(u)>Math.abs(c);s?a.current=n:i.current=r;var f=t(s,s?u:c,!1,e);f&&e.preventDefault(),clearInterval(l.current),f&&(l.current=setInterval((function(){s?u*=I:c*=I;var e=Math.floor(s?u:c);(!t(s,e,!0)||Math.abs(e)<=.1)&&clearInterval(l.current)}),16))}},s=function(){o.current=!1,r()},f=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,a.current=Math.ceil(e.touches[0].pageX),i.current=Math.ceil(e.touches[0].pageY),u.current=e.target,u.current.addEventListener("touchmove",c,{passive:!1}),u.current.addEventListener("touchend",s,{passive:!0}))};r=function(){u.current&&(u.current.removeEventListener("touchmove",c),u.current.removeEventListener("touchend",s))},(0,v.Z)((function(){return e&&n.current.addEventListener("touchstart",f,{passive:!0}),function(){var e;null===(e=n.current)||void 0===e||e.removeEventListener("touchstart",f),r(),clearInterval(l.current)}}),[e])}(ae,fe,(function(e,n,t,r){var o=r;return!$e(e,n,t)&&((!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),cn({preventDefault:function(){},deltaX:e?n:0,deltaY:e?0:n}),!0))})),(0,v.Z)((function(){function e(e){var n=Ge&&e.detail<0,t=qe&&e.detail>0;!ae||n||t||e.preventDefault()}var n=fe.current;return n.addEventListener("wheel",cn,{passive:!1}),n.addEventListener("DOMMouseScroll",sn,{passive:!0}),n.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){n.removeEventListener("wheel",cn),n.removeEventListener("DOMMouseScroll",sn),n.removeEventListener("MozMousePixelScroll",e)}}),[ae,Ge,qe]),(0,v.Z)((function(){if(K){var e=on(Ee);ye(e),tn({x:e})}}),[Fe.width,K]);var fn=function(){var e,n;null===(e=We.current)||void 0===e||e.delayHidden(),null===(n=je.current)||void 0===n||n.delayHidden()},dn=function(e,n,t,r,i,l,c,s){var f=p.useRef(),d=p.useState(null),m=(0,u.Z)(d,2),h=m[0],g=m[1];return(0,v.Z)((function(){if(h&&h.times<10){if(!e.current)return void g((function(e){return(0,a.Z)({},e)}));l();var o=h.targetAlign,u=h.originAlign,s=h.index,f=h.offset,d=e.current.clientHeight,v=!1,p=o,m=null;if(d){for(var Z=o||u,b=0,E=0,y=0,w=Math.min(n.length-1,s),S=0;S<=w;S+=1){var C=i(n[S]);E=b;var x=t.get(C);b=y=E+(void 0===x?r:x)}for(var M="top"===Z?f:d-f,N=w;N>=0;N-=1){var R=i(n[N]),I=t.get(R);if(void 0===I){v=!0;break}if((M-=I)<=0)break}switch(Z){case"top":m=E-f;break;case"bottom":m=y-d+f;break;default:var D=e.current.scrollTop;E<D?p="top":y>D+d&&(p="bottom")}null!==m&&c(m),m!==h.lastTop&&(v=!0)}v&&g((0,a.Z)((0,a.Z)({},h),{},{times:h.times+1,targetAlign:p,lastTop:m}))}}),[h,e.current]),function(e){if(null!=e){if(E.Z.cancel(f.current),"number"==typeof e)c(e);else if(e&&"object"===(0,o.Z)(e)){var t,r=e.align;t="index"in e?e.index:n.findIndex((function(n){return i(n)===e.key}));var a=e.offset;g({times:0,index:t,offset:void 0===a?0:a,originAlign:r})}}else s()}}(fe,se,re,x,J,(function(){return te(!0)}),Ie,fn);p.useImperativeHandle(n,(function(){return{nativeElement:ve.current,getScrollInfo:en,scrollTo:function(e){var n;(n=e)&&"object"===(0,o.Z)(n)&&("left"in n||"top"in n)?(void 0!==e.left&&ye(on(e.left)),dn(e.top)):dn(e)}}})),(0,v.Z)((function(){if(B){var e=se.slice(Le,Ae+1);B(e,se)}}),[Le,Ae,se]);var vn=function(e,n,t,r){var o=p.useMemo((function(){return[new Map,[]]}),[e,t.id,r]),a=(0,u.Z)(o,2),i=a[0],l=a[1];return function(o){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,u=i.get(o),c=i.get(a);if(void 0===u||void 0===c)for(var s=e.length,f=l.length;f<s;f+=1){var d,v=e[f],p=n(v);i.set(p,f);var m=null!==(d=t.get(p))&&void 0!==d?d:r;if(l[f]=(l[f-1]||0)+m,p===o&&(u=f),p===a&&(c=f),void 0!==u&&void 0!==c)break}return{top:l[u-1]||0,bottom:l[c]}}}(se,J,re,x),pn=null==G?void 0:G({start:Le,end:Ae,virtual:ue,offsetX:Ee,offsetY:ze,rtl:le,getSize:vn}),mn=function(e,n,t,r,o,a,i,u){var l=u.getKey;return e.slice(n,t+1).map((function(e,t){var u=i(e,n+t,{style:{width:r},offsetX:o}),c=l(e);return p.createElement(Z,{key:c,setRef:function(n){return a(e,n)}},u)}))}(se,Le,Ae,K,Ee,ne,z,Re),hn=null;y&&(hn=(0,a.Z)((0,i.Z)({},D?"height":"maxHeight",y),V),ae&&(hn.overflowY="hidden",K&&(hn.overflowX="hidden"),Ce&&(hn.pointerEvents="none")));var gn={};return le&&(gn.dir="rtl"),p.createElement("div",(0,r.Z)({ref:ve,style:(0,a.Z)((0,a.Z)({},L),{},{position:"relative"}),className:ce},gn,Q),p.createElement(f.Z,{onResize:function(e){Ke({width:e.offsetWidth,height:e.offsetHeight})}},p.createElement(j,{className:"".concat(c,"-holder"),style:hn,ref:fe,onScroll:function(e){var n=e.currentTarget.scrollTop;n!==he&&Ie(n),null==Y||Y(e),tn()},onMouseEnter:fn},p.createElement(g,{prefixCls:c,height:Ve,offsetX:Ee,offsetY:ze,scrollWidth:K,onInnerResize:te,ref:de,innerProps:U,rtl:le,extra:pn},mn))),ue&&Ve>y&&p.createElement(P,{ref:We,prefixCls:c,scrollOffset:he,scrollRange:Ve,rtl:le,onScroll:rn,onStartMove:Me,onStopMove:Ne,spinSize:Xe,containerSize:Fe.height,style:null==q?void 0:q.verticalScrollBar,thumbStyle:null==q?void 0:q.verticalScrollBarThumb}),ue&&K>Fe.width&&p.createElement(P,{ref:je,prefixCls:c,scrollOffset:Ee,scrollRange:K,rtl:le,onScroll:rn,onStartMove:Me,onStopMove:Ne,spinSize:Ye,containerSize:Fe.width,horizontal:!0,style:null==q?void 0:q.horizontalScrollBar,thumbStyle:null==q?void 0:q.horizontalScrollBarThumb}))}var A=p.forwardRef(L);A.displayName="List";var z=A}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[6212],{3475:function(e,t,a){var l=a(72317),r=window.__ENV__QlBaseUrl||"/";t.Z={siteName:l.ZP.get("青龙"),baseUrl:r,apiPrefix:"".concat(r,"api/"),authKey:"token",layouts:[{name:"primary",include:[/.*/],exclude:[/(\/(en|zh))*\/login/]}],scopes:[{name:l.ZP.get("定时任务"),value:"crons"},{name:l.ZP.get("环境变量"),value:"envs"},{name:l.ZP.get("订阅管理"),value:"subscriptions"},{name:l.ZP.get("配置文件"),value:"configs"},{name:l.ZP.get("脚本管理"),value:"scripts"},{name:l.ZP.get("日志管理"),value:"logs"},{name:l.ZP.get("依赖管理"),value:"dependencies"},{name:l.ZP.get("系统信息"),value:"system"},{name:l.ZP.get("仪表盘"),value:"dashboard"}],scopesMap:{crons:l.ZP.get("定时任务"),envs:l.ZP.get("环境变量"),subscriptions:l.ZP.get("订阅管理"),configs:l.ZP.get("配置文件"),scripts:l.ZP.get("脚本管理"),logs:l.ZP.get("日志管理"),dependencies:l.ZP.get("依赖管理"),system:l.ZP.get("系统信息"),dashboard:l.ZP.get("仪表盘")},notificationModes:[{value:"gotify",label:"Gotify"},{value:"ntfy",label:"Ntfy"},{value:"goCqHttpBot",label:"GoCqHttpBot"},{value:"serverChan",label:l.ZP.get("Server酱")},{value:"pushDeer",label:"PushDeer"},{value:"bark",label:"Bark"},{value:"telegramBot",label:l.ZP.get("Telegram机器人")},{value:"dingtalkBot",label:l.ZP.get("钉钉机器人")},{value:"weWorkBot",label:l.ZP.get("企业微信机器人")},{value:"weWorkApp",label:l.ZP.get("企业微信应用")},{value:"aibotk",label:l.ZP.get("智能微秘书")},{value:"iGot",label:"IGot"},{value:"pushPlus",label:"PushPlus"},{value:"wePlusBot",label:l.ZP.get("微加机器人")},{value:"wxPusherBot",label:"wxPusher"},{value:"wxPusherSpt",label:"WxPusher(极简推送SPT-推荐)"},{value:"openiLink",label:"OpeniLink"},{value:"wpush",label:"WPUSH"},{value:"chat",label:l.ZP.get("群晖chat")},{value:"email",label:l.ZP.get("邮箱")},{value:"lark",label:l.ZP.get("飞书机器人")},{value:"pushMe",label:"PushMe"},{value:"chronocat",label:"Chronocat"},{value:"webhook",label:l.ZP.get("自定义通知")},{value:"closed",label:l.ZP.get("已关闭")}],notificationModeMap:{gotify:[{label:"gotifyUrl",tip:l.ZP.get("gotify的url地址,例如 https://push.example.de:8080"),required:!0},{label:"gotifyToken",tip:l.ZP.get("gotify的消息应用token码"),required:!0},{label:"gotifyPriority",tip:l.ZP.get("推送消息的优先级")}],ntfy:[{label:"ntfyUrl",tip:l.ZP.get("ntfy的url地址,例如 https://ntfy.sh"),required:!0},{label:"ntfyTopic",tip:l.ZP.get("ntfy应用topic"),required:!0},{label:"ntfyPriority",tip:l.ZP.get("推送消息的优先级")},{label:"ntfyToken",tip:l.ZP.get("ntfy应用token")},{label:"ntfyUsername",tip:l.ZP.get("ntfy应用用户名")},{label:"ntfyPassword",tip:l.ZP.get("ntfy应用密码")},{label:"ntfyActions",tip:l.ZP.get("ntfy用户动作")}],chat:[{label:"synologyChatUrl",tip:l.ZP.get("synologyChat的url地址"),required:!0}],goCqHttpBot:[{label:"goCqHttpBotUrl",tip:l.ZP.get("推送到个人QQ: http://127.0.0.1/send_private_msg,群:http://127.0.0.1/send_group_msg"),required:!0},{label:"goCqHttpBotToken",tip:l.ZP.get("访问密钥"),required:!0},{label:"goCqHttpBotQq",tip:l.ZP.get("如果GOBOT_URL设置 /send_private_msg 则需要填入 user_id=个人QQ 相反如果是 /send_group_msg 则需要填入 group_id=QQ群"),required:!0}],serverChan:[{label:"serverChanKey",tip:l.ZP.get("Server酱SENDKEY"),required:!0}],pushDeer:[{label:"pushDeerKey",tip:l.ZP.get("PushDeer的Key,https://github.com/easychen/pushdeer"),required:!0},{label:"pushDeerUrl",tip:l.ZP.get("PushDeer的自架API endpoint,默认是 https://api2.pushdeer.com/message/push")}],bark:[{label:"barkPush",tip:l.ZP.get("Bark的信息IP/设备码,例如:https://api.day.app/XXXXXXXX"),required:!0},{label:"barkIcon",tip:l.ZP.get("BARK推送图标,自定义推送图标 (需iOS15或以上才能显示)")},{label:"barkSound",tip:l.ZP.get("BARK推送铃声,铃声列表去APP查看复制填写")},{label:"barkGroup",tip:l.ZP.get("BARK推送消息的分组,默认为qinglong")},{label:"barkLevel",tip:l.ZP.get("BARK推送消息的时效性,默认为active")},{label:"barkUrl",tip:l.ZP.get("BARK推送消息的跳转URL")},{label:"barkArchive",tip:l.ZP.get("BARK是否保存推送消息")}],telegramBot:[{label:"telegramBotToken",tip:l.ZP.get("telegram机器人的token,例如:1077xxx4424:AAFjv0FcqxxxxxxgEMGfi22B4yh15R5uw"),required:!0},{label:"telegramBotUserId",tip:l.ZP.get("telegram用户的id,例如:129xxx206"),required:!0},{label:"telegramBotProxyHost",tip:l.ZP.get("代理IP")},{label:"telegramBotProxyPort",tip:l.ZP.get("代理端口")},{label:"telegramBotProxyAuth",tip:l.ZP.get("telegram代理配置认证参数,用户名与密码用英文冒号连接 user:password")},{label:"telegramBotApiHost",tip:l.ZP.get("telegram api自建的反向代理地址,默认tg官方api")}],dingtalkBot:[{label:"dingtalkBotToken",tip:l.ZP.get("钉钉机器人webhook token,例如:5a544165465465645d0f31dca676e7bd07415asdasd"),required:!0},{label:"dingtalkBotSecret",tip:l.ZP.get("密钥,机器人安全设置页面,加签一栏下面显示的SEC开头的字符串")}],weWorkBot:[{label:"weWorkBotKey",tip:l.ZP.get("企业微信机器人的webhook(详见文档 https://work.weixin.qq.com/api/doc/90000/90136/91770),例如:693a91f6-7xxx-4bc4-97a0-0ec2sifa5aaa"),required:!0},{label:"weWorkOrigin",tip:l.ZP.get("企业微信代理地址")}],weWorkApp:[{label:"weWorkAppKey",tip:l.ZP.get("corpid、corpsecret、touser(注:多个成员ID使用|隔开)、agentid、消息类型(选填,不填默认文本消息类型) 注意用,号隔开(英文输入法的逗号),例如:wwcfrs,B-76WERQ,qinglong,1000001,2COat"),required:!0},{label:"weWorkOrigin",tip:l.ZP.get("企业微信代理地址")}],aibotk:[{label:"aibotkKey",tip:l.ZP.get("密钥key,智能微秘书个人中心获取apikey,申请地址:https://wechat.aibotk.com/signup?from=ql"),required:!0},{label:"aibotkType",tip:l.ZP.get("发送的目标,群组或者好友"),required:!0,placeholder:l.ZP.get("请输入要发送的目标"),items:[{value:"room",label:l.ZP.get("群聊")},{value:"contact",label:l.ZP.get("好友")}]},{label:"aibotkName",tip:l.ZP.get("要发送的用户昵称或群名,如果目标是群,需要填群名,如果目标是好友,需要填好友昵称"),required:!0}],iGot:[{label:"iGotPushKey",tip:l.ZP.get("iGot的信息推送key,例如:https://push.hellyw.com/XXXXXXXX"),required:!0}],pushPlus:[{label:"pushPlusToken",tip:l.ZP.get("微信扫码登录后一对一推送或一对多推送下面的token(您的Token),不提供PUSH_PLUS_USER则默认为一对一推送,参考 https://www.pushplus.plus/"),required:!0},{label:"pushPlusUser",tip:l.ZP.get("一对多推送的“群组编码”(一对多推送下面->您的群组(如无则创建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)")},{label:"pushplusTemplate",tip:l.ZP.get("发送模板")},{label:"pushplusChannel",tip:l.ZP.get("发送渠道")},{label:"pushplusWebhook",tip:l.ZP.get("webhook编码")},{label:"pushplusCallbackUrl",tip:l.ZP.get("发送结果回调地址")},{label:"pushplusTo",tip:l.ZP.get("好友令牌")}],wePlusBot:[{label:"wePlusBotToken",tip:l.ZP.get("用户令牌,扫描登录后 我的—>设置->令牌 中获取,参考 https://www.weplusbot.com/"),required:!0},{label:"wePlusBotReceiver",tip:l.ZP.get("消息接收人")},{label:"wePlusBotVersion",tip:l.ZP.get("调用版本;专业版填写pro,个人版填写personal,为空默认使用专业版")}],wxPusherBot:[{label:"wxPusherBotAppToken",tip:l.ZP.get("wxPusherBot的appToken"),required:!0},{label:"wxPusherBotTopicIds",tip:l.ZP.get("wxPusherBot的topicIds"),required:!1},{label:"wxPusherBotUids",tip:l.ZP.get("wxPusherBot的uids"),required:!1}],wxPusherSpt:[{label:"wxPusherSptList",tip:l.ZP.get("wxPusherSpt的SPT"),required:!0}],wpush:[{label:"wpushApiKey",tip:l.ZP.get("WPUSH的API Key,在 https://wpush.cn/settings 获取,参考 https://wpush.cn/docs"),required:!0},{label:"wpushChannel",tip:l.ZP.get("推送渠道,支持 wechat/app/sms/mail/webhook/dingtalk/feishu/wechat_work/clawbot/qqbot,默认 wechat")},{label:"wpushTopicCode",tip:l.ZP.get("可选,Topic 广播编码;填写后按 Topic 推送,参考 https://wpush.cn/docs")}],openiLink:[{label:"openiLinkAppToken",tip:l.ZP.get("OpeniLink的app_token,在OpeniLink Hub后台安装App后获取,参考 https://openilink.com/docs/hub/apps"),required:!0},{label:"openiLinkHubUrl",tip:l.ZP.get("OpeniLink Hub地址,默认为 https://hub.openilink.com,自建Hub时填写自己的地址")},{label:"openiLinkContextToken",tip:l.ZP.get("OpeniLink的context_token,用于标识消息会话上下文,可从消息事件中获取")}],lark:[{label:"larkKey",tip:l.ZP.get("飞书群组机器人:https://www.feishu.cn/hc/zh-CN/articles/360024984973"),required:!0},{label:"larkSecret",tip:l.ZP.get("飞书群组机器人加签密钥,安全设置中开启签名校验后获得")}],email:[{label:"emailService",tip:l.ZP.get("邮箱服务名称,比如126、163、Gmail、QQ等,支持列表https://github.com/nodemailer/nodemailer/blob/master/lib/well-known/services.json"),required:!0},{label:"emailUser",tip:l.ZP.get("邮箱认证地址"),required:!0},{label:"emailPass",tip:l.ZP.get("SMTP 登录密码,也可能为特殊口令,视具体邮件服务商说明而定"),required:!0},{label:"emailTo",tip:l.ZP.get("收件邮箱地址,多个分号分隔,默认发送给发件邮箱地址")}],pushMe:[{label:"pushMeKey",tip:l.ZP.get("PushMe的Key,https://push.i-i.me/"),required:!0},{label:"pushMeUrl",tip:l.ZP.get("自建的PushMeServer消息接口地址,例如:http://127.0.0.1:3010,不填则使用官方消息接口"),required:!1}],chronocat:[{label:"chronocatURL",tip:l.ZP.get("Chronocat Red 服务的连接地址 https://chronocat.vercel.app/install/docker/official/"),required:!0},{label:"chronocatQQ",tip:l.ZP.get("个人:user_id=个人QQ 群则填入group_id=QQ群 多个用英文;隔开同时支持个人和群 如:user_id=xxx;group_id=xxxx;group_id=xxxxx"),required:!0},{label:"chronocatToken",tip:l.ZP.get("docker安装在持久化config目录下的chronocat.yml文件可找到"),required:!0}],webhook:[{label:"webhookMethod",tip:l.ZP.get("请求方法"),required:!0,items:[{value:"GET"},{value:"POST"},{value:"PUT"}]},{label:"webhookContentType",tip:l.ZP.get("请求头Content-Type"),required:!0,items:[{value:"text/plain"},{value:"application/json"},{value:"multipart/form-data"},{value:"application/x-www-form-urlencoded"}]},{label:"webhookUrl",tip:l.ZP.get("请求链接以http或者https开头。url或者body中必须包含$title,$content可选,对应api内容的位置"),required:!0,placeholder:"https://xxx.cn/api?content=$title\n"},{label:"webhookHeaders",tip:l.ZP.get("请求头格式Custom-Header1: Header1,多个换行分割"),placeholder:"Custom-Header1: Header1\nCustom-Header2: Header2"},{label:"webhookBody",tip:l.ZP.get("请求体格式key1: value1,多个换行分割。url或者body中必须包含$title,$content可选,对应api内容的位置"),placeholder:"key1: $title\nkey2: $content"}]},documentTitleMap:{"/login":l.ZP.get("登录"),"/initialization":l.ZP.get("初始化"),"/crontab":l.ZP.get("定时任务"),"/env":l.ZP.get("环境变量"),"/subscription":l.ZP.get("订阅管理"),"/config":l.ZP.get("配置文件"),"/script":l.ZP.get("脚本管理"),"/diff":l.ZP.get("对比工具"),"/log":l.ZP.get("日志管理"),"/setting":l.ZP.get("系统设置"),"/error":l.ZP.get("错误日志"),"/dependence":l.ZP.get("依赖管理"),"/dashboard":l.ZP.get("仪表盘")},dependenceTypes:["nodejs","python3","linux"]}},56212:function(e,t,a){a.d(t,{W:function(){return Z}});var l=a(90228),r=a.n(l),o=a(87999),i=a.n(o),n=a(72317),s=a(61508),p=a(33839),u=a(3475),g=a(98783),c=a(69313),P=a(52676);s.ZP.config({duration:2});var h=Date.now(),b=c.Z.create({timeout:6e4,params:{t:h}}),d=["".concat(u.Z.baseUrl,"api/health"),"".concat(u.Z.baseUrl,"api/user/login"),"".concat(u.Z.baseUrl,"open/auth/token"),"".concat(u.Z.baseUrl,"api/user/two-factor/login"),"".concat(u.Z.baseUrl,"api/system"),"".concat(u.Z.baseUrl,"api/user/init"),"".concat(u.Z.baseUrl,"api/user/notification/init")];b.interceptors.request.use((function(e){var t=localStorage.getItem(u.Z.authKey);return t&&!d.includes(e.url)?(e.headers.Authorization="Bearer ".concat(t),e):e})),b.interceptors.response.use(function(){var e=i()(r()().mark((function e(t){var a,l,o;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.status,![502,504].includes(a)){e.next=5;break}g.history.push("/error"),e.next=19;break;case 5:if(401!==a){e.next=10;break}localStorage.removeItem(u.Z.authKey),"/login"!==g.history.location.pathname&&g.history.push("/login"),e.next=19;break;case 10:return e.prev=10,200!==(l=t.data).code&&(o=l.message||l.data)&&p.Z.error({message:o,description:null!=l&&l.errors?(0,P.jsx)(P.Fragment,{children:null==l?void 0:l.errors.map((function(e){return(0,P.jsx)("div",{children:e.message})}))}):void 0}),e.abrupt("return",l);case 16:e.prev=16,e.t0=e.catch(10);case 18:case 19:return e.abrupt("return",t);case 20:case"end":return e.stop()}}),e,null,[[10,16]])})));return function(t){return e.apply(this,arguments)}}(),(function(e){if(e.response){var t=e.response.data?e.response.data.message||e.message:e.response.statusText,a=(i=e.response.data,h=(null==i||null===(c=i.errors)||void 0===c?void 0:c.map((function(e){return void 0===e.value?e.message:"".concat(e.message," (").concat(String(e.value),")")})))||[],Object.values((null==i?void 0:i.validation)||{}).forEach((function(e){var t;null!==(t=e.keys)&&void 0!==t&&t.length?e.keys.forEach((function(t){h.push(e.message?"".concat(t,": ").concat(e.message):t)})):e.message&&h.push(e.message)})),h.filter((function(e){return Boolean(e)}))),l=e.response.status;if([502,504].includes(l))g.history.push("/error");else if(401===l)localStorage.removeItem(u.Z.authKey),"/login"!==g.history.location.pathname&&(s.ZP.error(n.ZP.get("登录已过期,请重新登录")),g.history.push("/login"));else{var r,o;if("function"==typeof(null===(r=e.config)||void 0===r?void 0:r.onError))return null===(o=e.config)||void 0===o?void 0:o.onError(e.response);t&&p.Z.error({message:t,description:a.length?(0,P.jsx)(P.Fragment,{children:a.map((function(e,t){return(0,P.jsx)("div",{children:e},"".concat(t,"-").concat(e))}))}):void 0})}}else console.log(e.message);var i,c,h;return Promise.reject(e)}));var Z=b}}]);
|