From 3b8903d320e4ddf558556cec8b16005577abba1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=81=E5=8C=A0=E5=90=9B?= Date: Fri, 23 Aug 2024 11:30:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(v3.3.3.0):=20=E7=89=88=E6=9C=AC=E5=8F=91?= =?UTF-8?q?=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 +- package.json | 26 +- packages/ui/package.json | 10 +- .../library/HCaptcha/HJigsawCaptcha.vue | 470 +++---- pnpm-lock.yaml | 1194 ++++++++--------- shared/bpmn-designer/dist/index.es.mjs | 43 +- shared/bpmn-designer/dist/index.umd.js | 2 +- shared/bpmn-designer/package.json | 8 +- shared/components/package.json | 2 +- 9 files changed, 865 insertions(+), 910 deletions(-) diff --git a/README.md b/README.md index ad4df467..6ad6a822 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,16 @@

Spring Authorization Server 1.3.2 - Spring Boot 3.3.2 + Spring Boot 3.3.3 Spring Cloud 2023.0.3 Spring Cloud Alibaba 2023.0.1.2 Spring Cloud Tencent 1.14.0--2023.0.0-SNAPSHOT - Nacos 2.4.0 + Nacos 2.4.1

- Version 3.3.2.2 - Dante Engine 3.3.2.2 - Dante OSS 3.3.2.2 + Version 3.3.3.0 + Dante Engine 3.3.3.0 + Dante OSS 3.3.3.0 Java 17 License AGPL 3.0 Total Visits @@ -55,7 +55,7 @@ ## Dante Cloud 响应式版本特性 -- `Spring Boot` 已升级至 3.3.2 +- `Spring Boot` 已升级至 3.3.3 - `Spring Authorization Server` 已升级至 1.3.2 - 全面采用 Java 21,默认开启虚拟线程,以改善阻塞操作的处理降低系统资源的消耗 - 支持传统的 `阻塞式` 微服务与基于 `Reactor` 和 `WebFlux` 的 `响应式` 微服务同时运行在一套系统之中 @@ -156,13 +156,13 @@ | 组件 | 版本 | | --------------------------- | --------------- | -| Spring Boot | 3.3.2 | +| Spring Boot | 3.3.3 | | Spring Cloud | 2023.0.3 | | Spring Cloud Alibaba | 2023.0.1.2 | | Spring Cloud Tencent | 1.14.0-2023.0.0 | | Spring Authorization Server | 1.3.2 | | Spring Boot Admin | 3.3.3 | -| Nacos | 2.4.0 | +| Nacos | 2.4.1 | | Sentinel | 1.8.7 | | Seata | 1.7.0 | @@ -333,7 +333,9 @@ Dante Cloud 已通过由第三方进行的软件出厂安全测试以及等保 | 21 | [尹建](https://gitee.com/westcars) | :white_check_mark: | 22 | [常相守](https://gitee.com/canzii) | :white_check_mark: | 23 | [yunnet](https://gitee.com/yunnet) | :white_check_mark: | 24 | [拔土豆的程序员](https://gitee.com/lizhifu) | :white_check_mark: | | 25 | [lyl_Json](https://gitee.com/lyl_Json_admin) | :white_check_mark: | 26 | [michael](https://gitee.com/yiminyangguang) | :white_check_mark: | 27 | [云烟](https://gitee.com/yunyan5800) | :white_check_mark: | 28 | [swenjie](https://gitee.com/jiewens) | :white_check_mark: | | 29 | [DanielLu](https://gitee.com/luyemaocode) | :white_check_mark: | 30 | [Jh不会](https://gitee.com/hardxiao) | :white_check_mark: | 31 | [zhangkunming](https://gitee.com/kmzhang) | :white_check_mark: | 32 | [大叔丨小巷](https://gitee.com/yushui_wang) | :white_check_mark: | -| 33 | [!ʘuʘ!](https://gitee.com/qw3e) | :white_check_mark: | 34 | [shenwuwu](https://gitee.com/shenwuwu) | :white_check_mark: | 35 | [Li-Yitian](https://gitee.com/liyitian) | :white_check_mark: | 36 | | :white_check_mark: | +| 33 | [!ʘuʘ!](https://gitee.com/qw3e) | :white_check_mark: | 34 | [shenwuwu](https://gitee.com/shenwuwu) | :white_check_mark: | 35 | [Li-Yitian](https://gitee.com/liyitian) | :white_check_mark: | 36 | [lazybones](https://gitee.com/lazyboneszqs) | :white_check_mark: | +| 37 | [lidinglin](https://gitee.com/lidinglin3452) | :white_check_mark: | 38 | [讲你知](https://gitee.com/PengKai0706) | :white_check_mark: | 39 | [onehelper](https://gitee.com/onehelper) | :white_check_mark: | 40 | [大将军王](https://gitee.com/xiaoxiangyueying) | :white_check_mark: | +| 41 | [lbY](https://gitee.com/lbYue) | :white_check_mark: | 42 | [財財](https://gitee.com/a545932167) | :white_check_mark: | 43 | | :white_check_mark: | 44 | | :white_check_mark: | ## [14]、鸣谢 diff --git a/package.json b/package.json index 8fbe74c4..1c02d2d0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "dante-cloud-ui", "private": true, - "version": "3.3.2.2", + "version": "3.3.3.0", "type": "module", "scripts": { "preinstall": "npx only-allow pnpm", @@ -29,21 +29,21 @@ "dependencies": { "@quasar/extras": "^1.16.12", "lodash-es": "^4.17.21", - "pinia": "^2.2.1", + "pinia": "^2.2.2", "pinia-plugin-persistedstate": "^3.2.1", "qs": "^6.13.0", - "quasar": "^2.16.8", - "vue": "^3.4.37", - "vue-i18n": "^9.13.1" + "quasar": "^2.16.9", + "vue": "^3.4.38", + "vue-i18n": "^9.14.0" }, "devDependencies": { "@changesets/cli": "^2.27.7", "@quasar/vite-plugin": "^1.7.0", "@types/lodash-es": "^4.17.12", - "@types/node": "^22.3.0", + "@types/node": "^22.5.0", "@types/qs": "^6.9.15", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", + "@typescript-eslint/eslint-plugin": "^8.2.0", + "@typescript-eslint/parser": "^8.2.0", "@vitejs/plugin-vue": "^5.1.2", "commitizen": "^4.3.0", "cross-env": "^7.0.3", @@ -55,17 +55,17 @@ "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-quasar": "^1.1.0", "eslint-plugin-vue": "^9.27.0", - "husky": "^9.1.4", + "husky": "^9.1.5", "lint-staged": "^15.2.9", "postcss": "^8.4.41", "postcss-html": "^1.7.0", "prettier": "^3.3.3", - "rollup": "4.20.0", + "rollup": "4.21.0", "rollup-plugin-visualizer": "^5.12.0", "sass": "^1.77.8", - "stylelint": "^16.8.1", + "stylelint": "^16.8.2", "stylelint-config-prettier": "^9.0.5", - "stylelint-config-recess-order": "^5.0.1", + "stylelint-config-recess-order": "^5.1.0", "stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-standard-scss": "^13.1.0", "terser": "^5.31.6", @@ -73,7 +73,7 @@ "unplugin-auto-import": "^0.18.2", "unplugin-icons": "^0.19.2", "unplugin-vue-components": "^0.27.4", - "vite": "^5.4.0", + "vite": "^5.4.2", "vite-plugin-compression": "^0.5.1", "vite-plugin-dts": "4.0.3", "vite-plugin-html": "^3.2.2", diff --git a/packages/ui/package.json b/packages/ui/package.json index 0adce8d6..fdec9a68 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dante/ui", - "version": "3.3.2.2", + "version": "3.3.3.0", "description": "", "keywords": [], "author": "", @@ -25,7 +25,7 @@ "@stomp/stompjs": "^7.0.0", "@vuelidate/core": "^2.0.3", "@vuelidate/validators": "^2.0.4", - "@vueuse/core": "^10.11.1", + "@vueuse/core": "^11.0.1", "animate.css": "^4.1.1", "colord": "^2.9.3", "echarts": "^5.5.1", @@ -33,15 +33,15 @@ "highlight.js": "^11.10.0", "jwt-decode": "^4.0.0", "vkbeautify": "^0.99.3", - "vue": "^3.4.37", + "vue": "^3.4.38", "vue-cookies": "^1.8.4", - "vue-i18n": "^9.13.1", + "vue-i18n": "^9.14.0", "vue-router": "^4.4.3", "vue-simple-uploader": "^1.0.3", "xlsx": "^0.18.5" }, "devDependencies": { - "@types/node": "22.3.0", + "@types/node": "22.5.0", "@types/vkbeautify": "^0.99.4" } } diff --git a/packages/ui/src/components/library/HCaptcha/HJigsawCaptcha.vue b/packages/ui/src/components/library/HCaptcha/HJigsawCaptcha.vue index eb57c70e..9152483d 100644 --- a/packages/ui/src/components/library/HCaptcha/HJigsawCaptcha.vue +++ b/packages/ui/src/components/library/HCaptcha/HJigsawCaptcha.vue @@ -1,26 +1,32 @@ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f3826cd8..4765440f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,57 +15,57 @@ importers: specifier: ^4.17.21 version: 4.17.21 pinia: - specifier: ^2.2.1 - version: 2.2.1(typescript@5.5.4)(vue@3.4.37(typescript@5.5.4)) + specifier: ^2.2.2 + version: 2.2.2(typescript@5.5.4)(vue@3.4.38(typescript@5.5.4)) pinia-plugin-persistedstate: specifier: ^3.2.1 - version: 3.2.1(pinia@2.2.1(typescript@5.5.4)(vue@3.4.37(typescript@5.5.4))) + version: 3.2.1(pinia@2.2.2(typescript@5.5.4)(vue@3.4.38(typescript@5.5.4))) qs: specifier: ^6.13.0 version: 6.13.0 quasar: - specifier: ^2.16.8 - version: 2.16.8 + specifier: ^2.16.9 + version: 2.16.9 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) vue-i18n: - specifier: ^9.13.1 - version: 9.13.1(vue@3.4.37(typescript@5.5.4)) + specifier: ^9.14.0 + version: 9.14.0(vue@3.4.38(typescript@5.5.4)) devDependencies: '@changesets/cli': specifier: ^2.27.7 version: 2.27.7 '@quasar/vite-plugin': specifier: ^1.7.0 - version: 1.7.0(@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)))(quasar@2.16.8)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) + version: 1.7.0(@vitejs/plugin-vue@5.1.2(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)))(quasar@2.16.9)(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) '@types/lodash-es': specifier: ^4.17.12 version: 4.17.12 '@types/node': - specifier: ^22.3.0 - version: 22.3.0 + specifier: ^22.5.0 + version: 22.5.0 '@types/qs': specifier: ^6.9.15 version: 6.9.15 '@typescript-eslint/eslint-plugin': - specifier: ^8.1.0 - version: 8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) + specifier: ^8.2.0 + version: 8.2.0(@typescript-eslint/parser@8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) '@typescript-eslint/parser': - specifier: ^8.1.0 - version: 8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) + specifier: ^8.2.0 + version: 8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) '@vitejs/plugin-vue': specifier: ^5.1.2 - version: 5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) + version: 5.1.2(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) commitizen: specifier: ^4.3.0 - version: 4.3.0(@types/node@22.3.0)(typescript@5.5.4) + version: 4.3.0(@types/node@22.5.0)(typescript@5.5.4) cross-env: specifier: ^7.0.3 version: 7.0.3 cz-conventional-changelog: specifier: ^3.3.0 - version: 3.3.0(@types/node@22.3.0)(typescript@5.5.4) + version: 3.3.0(@types/node@22.5.0)(typescript@5.5.4) dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -88,8 +88,8 @@ importers: specifier: ^9.27.0 version: 9.27.0(eslint@9.9.0(jiti@1.21.6)) husky: - specifier: ^9.1.4 - version: 9.1.4 + specifier: ^9.1.5 + version: 9.1.5 lint-staged: specifier: ^15.2.9 version: 15.2.9 @@ -103,29 +103,29 @@ importers: specifier: ^3.3.3 version: 3.3.3 rollup: - specifier: 4.20.0 - version: 4.20.0 + specifier: 4.21.0 + version: 4.21.0 rollup-plugin-visualizer: specifier: ^5.12.0 - version: 5.12.0(rollup@4.20.0) + version: 5.12.0(rollup@4.21.0) sass: specifier: ^1.77.8 version: 1.77.8 stylelint: - specifier: ^16.8.1 - version: 16.8.1(typescript@5.5.4) + specifier: ^16.8.2 + version: 16.8.2(typescript@5.5.4) stylelint-config-prettier: specifier: ^9.0.5 - version: 9.0.5(stylelint@16.8.1(typescript@5.5.4)) + version: 9.0.5(stylelint@16.8.2(typescript@5.5.4)) stylelint-config-recess-order: - specifier: ^5.0.1 - version: 5.0.1(stylelint@16.8.1(typescript@5.5.4)) + specifier: ^5.1.0 + version: 5.1.0(stylelint@16.8.2(typescript@5.5.4)) stylelint-config-recommended-vue: specifier: ^1.5.0 - version: 1.5.0(postcss-html@1.7.0)(stylelint@16.8.1(typescript@5.5.4)) + version: 1.5.0(postcss-html@1.7.0)(stylelint@16.8.2(typescript@5.5.4)) stylelint-config-standard-scss: specifier: ^13.1.0 - version: 13.1.0(postcss@8.4.41)(stylelint@16.8.1(typescript@5.5.4)) + version: 13.1.0(postcss@8.4.41)(stylelint@16.8.2(typescript@5.5.4)) terser: specifier: ^5.31.6 version: 5.31.6 @@ -134,25 +134,25 @@ importers: version: 5.5.4 unplugin-auto-import: specifier: ^0.18.2 - version: 0.18.2(@vueuse/core@10.11.1(vue@3.4.37(typescript@5.5.4)))(rollup@4.20.0) + version: 0.18.2(@vueuse/core@11.0.1(vue@3.4.38(typescript@5.5.4)))(rollup@4.21.0) unplugin-icons: specifier: ^0.19.2 - version: 0.19.2(@vue/compiler-sfc@3.4.37)(vue-template-compiler@2.7.16) + version: 0.19.2(@vue/compiler-sfc@3.4.38)(vue-template-compiler@2.7.16) unplugin-vue-components: specifier: ^0.27.4 - version: 0.27.4(@babel/parser@7.25.3)(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4)) + version: 0.27.4(@babel/parser@7.25.4)(rollup@4.21.0)(vue@3.4.38(typescript@5.5.4)) vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6) + specifier: ^5.4.2 + version: 5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6) vite-plugin-compression: specifier: ^0.5.1 - version: 0.5.1(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6)) + version: 0.5.1(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6)) vite-plugin-dts: specifier: 4.0.3 - version: 4.0.3(@types/node@22.3.0)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6)) + version: 4.0.3(@types/node@22.5.0)(rollup@4.21.0)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6)) vite-plugin-html: specifier: ^3.2.2 - version: 3.2.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6)) + version: 3.2.2(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6)) vue-tsc: specifier: ^2.0.29 version: 2.0.29(typescript@5.5.4) @@ -179,7 +179,7 @@ importers: version: link:../../shared/oss-apis '@highlightjs/vue-plugin': specifier: ^2.1.0 - version: 2.1.0(highlight.js@11.10.0)(vue@3.4.37(typescript@5.5.4)) + version: 2.1.0(highlight.js@11.10.0)(vue@3.4.38(typescript@5.5.4)) '@mdi/js': specifier: ^7.4.47 version: 7.4.47 @@ -191,13 +191,13 @@ importers: version: 7.0.0 '@vuelidate/core': specifier: ^2.0.3 - version: 2.0.3(vue@3.4.37(typescript@5.5.4)) + version: 2.0.3(vue@3.4.38(typescript@5.5.4)) '@vuelidate/validators': specifier: ^2.0.4 - version: 2.0.4(vue@3.4.37(typescript@5.5.4)) + version: 2.0.4(vue@3.4.38(typescript@5.5.4)) '@vueuse/core': - specifier: ^10.11.1 - version: 10.11.1(vue@3.4.37(typescript@5.5.4)) + specifier: ^11.0.1 + version: 11.0.1(vue@3.4.38(typescript@5.5.4)) animate.css: specifier: ^4.1.1 version: 4.1.1 @@ -220,27 +220,27 @@ importers: specifier: ^0.99.3 version: 0.99.3 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) vue-cookies: specifier: ^1.8.4 version: 1.8.4 vue-i18n: - specifier: ^9.13.1 - version: 9.13.1(vue@3.4.37(typescript@5.5.4)) + specifier: ^9.14.0 + version: 9.14.0(vue@3.4.38(typescript@5.5.4)) vue-router: specifier: ^4.4.3 - version: 4.4.3(vue@3.4.37(typescript@5.5.4)) + version: 4.4.3(vue@3.4.38(typescript@5.5.4)) vue-simple-uploader: specifier: ^1.0.3 - version: 1.0.3(vue@3.4.37(typescript@5.5.4)) + version: 1.0.3(vue@3.4.38(typescript@5.5.4)) xlsx: specifier: ^0.18.5 version: 0.18.5 devDependencies: '@types/node': - specifier: 22.3.0 - version: 22.3.0 + specifier: 22.5.0 + version: 22.5.0 '@types/vkbeautify': specifier: ^0.99.4 version: 0.99.4 @@ -275,11 +275,11 @@ importers: specifier: ^17.9.2 version: 17.9.2 bpmn-js-properties-panel: - specifier: ^5.21.0 - version: 5.21.0(@bpmn-io/properties-panel@3.23.0(@lezer/common@1.2.1))(bpmn-js@17.9.2)(camunda-bpmn-js-behaviors@1.5.0(bpmn-js@17.9.2)(camunda-bpmn-moddle@7.0.1)(zeebe-bpmn-moddle@1.5.1))(diagram-js@14.8.0) + specifier: ^5.22.0 + version: 5.22.0(@bpmn-io/properties-panel@3.23.0(@lezer/common@1.2.1))(bpmn-js@17.9.2)(camunda-bpmn-js-behaviors@1.5.0(bpmn-js@17.9.2)(camunda-bpmn-moddle@7.0.1)(zeebe-bpmn-moddle@1.5.1))(diagram-js@14.9.0) bpmn-js-token-simulation: - specifier: ^0.34.2 - version: 0.34.2 + specifier: ^0.34.4 + version: 0.34.4 camunda-bpmn-js-behaviors: specifier: ^1.5.0 version: 1.5.0(bpmn-js@17.9.2)(camunda-bpmn-moddle@7.0.1)(zeebe-bpmn-moddle@1.5.1) @@ -287,8 +287,8 @@ importers: specifier: ^7.0.1 version: 7.0.1 diagram-js: - specifier: ^14.8.0 - version: 14.8.0 + specifier: ^14.9.0 + version: 14.9.0 preact: specifier: ^10.23.2 version: 10.23.2 @@ -297,8 +297,8 @@ importers: version: 1.5.1 devDependencies: webpack: - specifier: ^5.93.0 - version: 5.93.0 + specifier: ^5.94.0 + version: 5.94.0 shared/components: dependencies: @@ -318,8 +318,8 @@ importers: specifier: ^3.5.0 version: 3.5.0 quasar: - specifier: ^2.16.8 - version: 2.16.8 + specifier: ^2.16.9 + version: 2.16.9 shared/core: dependencies: @@ -363,11 +363,11 @@ importers: packages: - '@antfu/install-pkg@0.1.1': - resolution: {integrity: sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==, tarball: https://registry.npmmirror.com/@antfu/install-pkg/-/install-pkg-0.1.1.tgz} + '@antfu/install-pkg@0.3.5': + resolution: {integrity: sha512-HwIACY0IzrM7FGafMbWZOqEDBSfCwPcylu+GacaRcxJm4Yvvuh3Dy2vZwqdJAzXponc6aLO9FaH4l75pq8/ZSA==, tarball: https://registry.npmmirror.com/@antfu/install-pkg/-/install-pkg-0.3.5.tgz} - '@antfu/install-pkg@0.3.4': - resolution: {integrity: sha512-xmYFuDsaS5hlqVSJYVIzBGnUBhZR6NpwelQx/qr9wHTenqMF14YhsexWADcFyMCKwf/vApnvLTfEEnaOBvo5SA==, tarball: https://registry.npmmirror.com/@antfu/install-pkg/-/install-pkg-0.3.4.tgz} + '@antfu/install-pkg@0.4.0': + resolution: {integrity: sha512-vI73C0pFA9L+5v+djh0WSLXb8qYQGH5fX8nczaFe1OTI/8Fh03JS1Mov1V7urb6P3A2cBlBqZNjJIKv54+zVRw==, tarball: https://registry.npmmirror.com/@antfu/install-pkg/-/install-pkg-0.4.0.tgz} '@antfu/utils@0.7.10': resolution: {integrity: sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==, tarball: https://registry.npmmirror.com/@antfu/utils/-/utils-0.7.10.tgz} @@ -388,17 +388,17 @@ packages: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==, tarball: https://registry.npmmirror.com/@babel/highlight/-/highlight-7.24.7.tgz} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.3': - resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==, tarball: https://registry.npmmirror.com/@babel/parser/-/parser-7.25.3.tgz} + '@babel/parser@7.25.4': + resolution: {integrity: sha512-nq+eWrOgdtu3jG5Os4TQP3x3cLA8hR8TvJNjD8vnPa20WGycimcparWnLK4jJhElTK6SDyuJo1weMKO/5LpmLA==, tarball: https://registry.npmmirror.com/@babel/parser/-/parser-7.25.4.tgz} engines: {node: '>=6.0.0'} hasBin: true - '@babel/runtime@7.25.0': - resolution: {integrity: sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==, tarball: https://registry.npmmirror.com/@babel/runtime/-/runtime-7.25.0.tgz} + '@babel/runtime@7.25.4': + resolution: {integrity: sha512-DSgLeL/FNcpXuzav5wfYvHCGvynXkJbn3Zvc3823AEe9nPwW9IK4UoCSS5yGymmQzN0pCPvivtgS6/8U2kkm1w==, tarball: https://registry.npmmirror.com/@babel/runtime/-/runtime-7.25.4.tgz} engines: {node: '>=6.9.0'} - '@babel/types@7.25.2': - resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==, tarball: https://registry.npmmirror.com/@babel/types/-/types-7.25.2.tgz} + '@babel/types@7.25.4': + resolution: {integrity: sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==, tarball: https://registry.npmmirror.com/@babel/types/-/types-7.25.4.tgz} engines: {node: '>=6.9.0'} '@bpmn-io/cm-theme@0.1.0-alpha.2': @@ -518,28 +518,28 @@ packages: resolution: {integrity: sha512-tpyc+7i6bPG9mvaBbtKUeghfyZSDgWquIDfMgqYtTbmZ9Y9VzEm2je9EYcQ0aoz5o7NvGS+rcDec93yO08MHYA==, tarball: https://registry.npmmirror.com/@commitlint/types/-/types-19.0.3.tgz} engines: {node: '>=v18'} - '@csstools/css-parser-algorithms@2.7.1': - resolution: {integrity: sha512-2SJS42gxmACHgikc1WGesXLIT8d/q2l0UFM7TaEeIzdFCE/FPMtTiizcPGGJtlPo2xuQzY09OhrLTzRxqJqwGw==, tarball: https://registry.npmmirror.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.7.1.tgz} - engines: {node: ^14 || ^16 || >=18} + '@csstools/css-parser-algorithms@3.0.1': + resolution: {integrity: sha512-lSquqZCHxDfuTg/Sk2hiS0mcSFCEBuj49JfzPHJogDBT0mGCyY5A1AQzBWngitrp7i1/HAZpIgzF/VjhOEIJIg==, tarball: https://registry.npmmirror.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.1.tgz} + engines: {node: '>=18'} peerDependencies: - '@csstools/css-tokenizer': ^2.4.1 + '@csstools/css-tokenizer': ^3.0.1 - '@csstools/css-tokenizer@2.4.1': - resolution: {integrity: sha512-eQ9DIktFJBhGjioABJRtUucoWR2mwllurfnM8LuNGAqX3ViZXaUchqk+1s7jjtkFiT9ySdACsFEA3etErkALUg==, tarball: https://registry.npmmirror.com/@csstools/css-tokenizer/-/css-tokenizer-2.4.1.tgz} - engines: {node: ^14 || ^16 || >=18} + '@csstools/css-tokenizer@3.0.1': + resolution: {integrity: sha512-UBqaiu7kU0lfvaP982/o3khfXccVlHPWp0/vwwiIgDF0GmqqqxoiXC/6FCjlS9u92f7CoEz6nXKQnrn1kIAkOw==, tarball: https://registry.npmmirror.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.1.tgz} + engines: {node: '>=18'} - '@csstools/media-query-list-parser@2.1.13': - resolution: {integrity: sha512-XaHr+16KRU9Gf8XLi3q8kDlI18d5vzKSKCY510Vrtc9iNR0NJzbY9hhTmwhzYZj/ZwGL4VmB3TA9hJW0Um2qFA==, tarball: https://registry.npmmirror.com/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.13.tgz} - engines: {node: ^14 || ^16 || >=18} + '@csstools/media-query-list-parser@3.0.1': + resolution: {integrity: sha512-HNo8gGD02kHmcbX6PvCoUuOQvn4szyB9ca63vZHKX5A81QytgDG4oxG4IaEfHTlEZSZ6MjPEMWIVU+zF2PZcgw==, tarball: https://registry.npmmirror.com/@csstools/media-query-list-parser/-/media-query-list-parser-3.0.1.tgz} + engines: {node: '>=18'} peerDependencies: - '@csstools/css-parser-algorithms': ^2.7.1 - '@csstools/css-tokenizer': ^2.4.1 + '@csstools/css-parser-algorithms': ^3.0.1 + '@csstools/css-tokenizer': ^3.0.1 - '@csstools/selector-specificity@3.1.1': - resolution: {integrity: sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==, tarball: https://registry.npmmirror.com/@csstools/selector-specificity/-/selector-specificity-3.1.1.tgz} - engines: {node: ^14 || ^16 || >=18} + '@csstools/selector-specificity@4.0.0': + resolution: {integrity: sha512-189nelqtPd8++phaHNwYovKZI0FOzH1vQEE3QhHHkNIGrg5fSs9CbYP3RvfEH5geztnIA9Jwq91wyOIwAW5JIQ==, tarball: https://registry.npmmirror.com/@csstools/selector-specificity/-/selector-specificity-4.0.0.tgz} + engines: {node: '>=18'} peerDependencies: - postcss-selector-parser: ^6.0.13 + postcss-selector-parser: ^6.1.0 '@dual-bundle/import-meta-resolve@4.1.0': resolution: {integrity: sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==, tarball: https://registry.npmmirror.com/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz} @@ -725,19 +725,19 @@ packages: '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==, tarball: https://registry.npmmirror.com/@iconify/types/-/types-2.0.0.tgz} - '@iconify/utils@2.1.30': - resolution: {integrity: sha512-bY0IO5xLOlbzJBnjWLxknp6Sss3yla03sVY9VeUz9nT6dbc+EGKlLfCt+6uytJnWm5CUvTF/BNotsLWF7kI61A==, tarball: https://registry.npmmirror.com/@iconify/utils/-/utils-2.1.30.tgz} + '@iconify/utils@2.1.31': + resolution: {integrity: sha512-WCu65iVaFRXyGU+op12XVbDZgIov0vzMIlUokZ1WR42cU2wwYMks/pZY8v0tE72W8ShXVaprO79Jv6EjYm3Sjw==, tarball: https://registry.npmmirror.com/@iconify/utils/-/utils-2.1.31.tgz} - '@intlify/core-base@9.13.1': - resolution: {integrity: sha512-+bcQRkJO9pcX8d0gel9ZNfrzU22sZFSA0WVhfXrf5jdJOS24a+Bp8pozuS9sBI9Hk/tGz83pgKfmqcn/Ci7/8w==, tarball: https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.13.1.tgz} + '@intlify/core-base@9.14.0': + resolution: {integrity: sha512-zJn0imh9HIsZZUtt9v8T16PeVstPv6bP2YzlrYJwoF8F30gs4brZBwW2KK6EI5WYKFi3NeqX6+UU4gniz5TkGg==, tarball: https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.14.0.tgz} engines: {node: '>= 16'} - '@intlify/message-compiler@9.13.1': - resolution: {integrity: sha512-SKsVa4ajYGBVm7sHMXd5qX70O2XXjm55zdZB3VeMFCvQyvLew/dLvq3MqnaIsTMF1VkkOb9Ttr6tHcMlyPDL9w==, tarball: https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.13.1.tgz} + '@intlify/message-compiler@9.14.0': + resolution: {integrity: sha512-sXNsoMI0YsipSXW8SR75drmVK56tnJHoYbPXUv2Cf9lz6FzvwsosFm6JtC1oQZI/kU+n7qx0qRrEWkeYFTgETA==, tarball: https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.14.0.tgz} engines: {node: '>= 16'} - '@intlify/shared@9.13.1': - resolution: {integrity: sha512-u3b6BKGhE6j/JeRU6C/RL2FgyJfy6LakbtfeVF8fJXURpZZTzfh3e05J0bu0XPw447Q6/WUp3C4ajv4TMS4YsQ==, tarball: https://registry.npmmirror.com/@intlify/shared/-/shared-9.13.1.tgz} + '@intlify/shared@9.14.0': + resolution: {integrity: sha512-r+N8KRQL7LgN1TMTs1A2svfuAU0J94Wu9wWdJVJqYsoMMLIeJxrPjazihfHpmJqfgZq0ah3Y9Q4pgWV2O90Fyg==, tarball: https://registry.npmmirror.com/@intlify/shared/-/shared-9.14.0.tgz} engines: {node: '>= 16'} '@jridgewell/gen-mapping@0.3.5': @@ -761,6 +761,10 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==, tarball: https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz} + '@jsdevtools/ez-spawn@3.0.4': + resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==, tarball: https://registry.npmmirror.com/@jsdevtools/ez-spawn/-/ez-spawn-3.0.4.tgz} + engines: {node: '>=10'} + '@lezer/common@1.2.1': resolution: {integrity: sha512-yemX0ZD2xS/73llMZIK6KplkjIjf2EvAHcinDi/TfJ9hS25G0388+ClHt6/3but0oOxinTcQHJLDXh6w1crzFQ==, tarball: https://registry.npmmirror.com/@lezer/common/-/common-1.2.1.tgz} @@ -836,92 +840,92 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.20.0': - resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==, tarball: https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.20.0.tgz} + '@rollup/rollup-android-arm-eabi@4.21.0': + resolution: {integrity: sha512-WTWD8PfoSAJ+qL87lE7votj3syLavxunWhzCnx3XFxFiI/BA/r3X7MUM8dVrH8rb2r4AiO8jJsr3ZjdaftmnfA==, tarball: https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.0.tgz} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.20.0': - resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==, tarball: https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.20.0.tgz} + '@rollup/rollup-android-arm64@4.21.0': + resolution: {integrity: sha512-a1sR2zSK1B4eYkiZu17ZUZhmUQcKjk2/j9Me2IDjk1GHW7LB5Z35LEzj9iJch6gtUfsnvZs1ZNyDW2oZSThrkA==, tarball: https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.0.tgz} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.20.0': - resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==, tarball: https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.20.0.tgz} + '@rollup/rollup-darwin-arm64@4.21.0': + resolution: {integrity: sha512-zOnKWLgDld/svhKO5PD9ozmL6roy5OQ5T4ThvdYZLpiOhEGY+dp2NwUmxK0Ld91LrbjrvtNAE0ERBwjqhZTRAA==, tarball: https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.0.tgz} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.20.0': - resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==, tarball: https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.20.0.tgz} + '@rollup/rollup-darwin-x64@4.21.0': + resolution: {integrity: sha512-7doS8br0xAkg48SKE2QNtMSFPFUlRdw9+votl27MvT46vo44ATBmdZdGysOevNELmZlfd+NEa0UYOA8f01WSrg==, tarball: https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.0.tgz} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': - resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.20.0.tgz} + '@rollup/rollup-linux-arm-gnueabihf@4.21.0': + resolution: {integrity: sha512-pWJsfQjNWNGsoCq53KjMtwdJDmh/6NubwQcz52aEwLEuvx08bzcy6tOUuawAOncPnxz/3siRtd8hiQ32G1y8VA==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.0.tgz} cpu: [arm] os: [linux] libc: [glibc] - '@rollup/rollup-linux-arm-musleabihf@4.20.0': - resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.20.0.tgz} + '@rollup/rollup-linux-arm-musleabihf@4.21.0': + resolution: {integrity: sha512-efRIANsz3UHZrnZXuEvxS9LoCOWMGD1rweciD6uJQIx2myN3a8Im1FafZBzh7zk1RJ6oKcR16dU3UPldaKd83w==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.0.tgz} cpu: [arm] os: [linux] libc: [musl] - '@rollup/rollup-linux-arm64-gnu@4.20.0': - resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.20.0.tgz} + '@rollup/rollup-linux-arm64-gnu@4.21.0': + resolution: {integrity: sha512-ZrPhydkTVhyeGTW94WJ8pnl1uroqVHM3j3hjdquwAcWnmivjAwOYjTEAuEDeJvGX7xv3Z9GAvrBkEzCgHq9U1w==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.0.tgz} cpu: [arm64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-arm64-musl@4.20.0': - resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.20.0.tgz} + '@rollup/rollup-linux-arm64-musl@4.21.0': + resolution: {integrity: sha512-cfaupqd+UEFeURmqNP2eEvXqgbSox/LHOyN9/d2pSdV8xTrjdg3NgOFJCtc1vQ/jEke1qD0IejbBfxleBPHnPw==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.0.tgz} cpu: [arm64] os: [linux] libc: [musl] - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': - resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.20.0.tgz} + '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': + resolution: {integrity: sha512-ZKPan1/RvAhrUylwBXC9t7B2hXdpb/ufeu22pG2psV7RN8roOfGurEghw1ySmX/CmDDHNTDDjY3lo9hRlgtaHg==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.0.tgz} cpu: [ppc64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-riscv64-gnu@4.20.0': - resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.20.0.tgz} + '@rollup/rollup-linux-riscv64-gnu@4.21.0': + resolution: {integrity: sha512-H1eRaCwd5E8eS8leiS+o/NqMdljkcb1d6r2h4fKSsCXQilLKArq6WS7XBLDu80Yz+nMqHVFDquwcVrQmGr28rg==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.0.tgz} cpu: [riscv64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-s390x-gnu@4.20.0': - resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.20.0.tgz} + '@rollup/rollup-linux-s390x-gnu@4.21.0': + resolution: {integrity: sha512-zJ4hA+3b5tu8u7L58CCSI0A9N1vkfwPhWd/puGXwtZlsB5bTkwDNW/+JCU84+3QYmKpLi+XvHdmrlwUwDA6kqw==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.0.tgz} cpu: [s390x] os: [linux] libc: [glibc] - '@rollup/rollup-linux-x64-gnu@4.20.0': - resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.20.0.tgz} + '@rollup/rollup-linux-x64-gnu@4.21.0': + resolution: {integrity: sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.0.tgz} cpu: [x64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-x64-musl@4.20.0': - resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.20.0.tgz} + '@rollup/rollup-linux-x64-musl@4.21.0': + resolution: {integrity: sha512-1vvmgDdUSebVGXWX2lIcgRebqfQSff0hMEkLJyakQ9JQUbLDkEaMsPTLOmyccyC6IJ/l3FZuJbmrBw/u0A0uCQ==, tarball: https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.0.tgz} cpu: [x64] os: [linux] libc: [musl] - '@rollup/rollup-win32-arm64-msvc@4.20.0': - resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==, tarball: https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.20.0.tgz} + '@rollup/rollup-win32-arm64-msvc@4.21.0': + resolution: {integrity: sha512-s5oFkZ/hFcrlAyBTONFY1TWndfyre1wOMwU+6KCpm/iatybvrRgmZVM+vCFwxmC5ZhdlgfE0N4XorsDpi7/4XQ==, tarball: https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.0.tgz} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.20.0': - resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==, tarball: https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.20.0.tgz} + '@rollup/rollup-win32-ia32-msvc@4.21.0': + resolution: {integrity: sha512-G9+TEqRnAA6nbpqyUqgTiopmnfgnMkR3kMukFBDsiyy23LZvUCpiUwjTRx6ezYCjJODXrh52rBR9oXvm+Fp5wg==, tarball: https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.0.tgz} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.20.0': - resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==, tarball: https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.20.0.tgz} + '@rollup/rollup-win32-x64-msvc@4.21.0': + resolution: {integrity: sha512-2jsCDZwtQvRhejHLfZ1JY6w6kEuEtfF9nzYsZxzSlNVKDX+DpsDJ+Rbjkm74nvg2rdx0gwBS+IMdvwJuq3S9pQ==, tarball: https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.0.tgz} cpu: [x64] os: [win32] @@ -986,9 +990,6 @@ packages: '@types/crypto-js@4.2.2': resolution: {integrity: sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ==, tarball: https://registry.npmmirror.com/@types/crypto-js/-/crypto-js-4.2.2.tgz} - '@types/eslint-scope@3.7.7': - resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==, tarball: https://registry.npmmirror.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz} - '@types/eslint@9.6.0': resolution: {integrity: sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==, tarball: https://registry.npmmirror.com/@types/eslint/-/eslint-9.6.0.tgz} @@ -1010,8 +1011,8 @@ packages: '@types/node@13.13.52': resolution: {integrity: sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ==, tarball: https://registry.npmmirror.com/@types/node/-/node-13.13.52.tgz} - '@types/node@22.3.0': - resolution: {integrity: sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==, tarball: https://registry.npmmirror.com/@types/node/-/node-22.3.0.tgz} + '@types/node@22.5.0': + resolution: {integrity: sha512-DkFrJOe+rfdHTqqMg0bSNlGlQ85hSoh2TPzZyhHsXnMtligRWpxUySiyw8FY14ITt24HVCiQPWxS3KO/QlGmWg==, tarball: https://registry.npmmirror.com/@types/node/-/node-22.5.0.tgz} '@types/qs@6.9.15': resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==, tarball: https://registry.npmmirror.com/@types/qs/-/qs-6.9.15.tgz} @@ -1025,8 +1026,8 @@ packages: '@types/web-bluetooth@0.0.20': resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==, tarball: https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz} - '@typescript-eslint/eslint-plugin@8.1.0': - resolution: {integrity: sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==, tarball: https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz} + '@typescript-eslint/eslint-plugin@8.2.0': + resolution: {integrity: sha512-02tJIs655em7fvt9gps/+4k4OsKULYGtLBPJfOsmOq1+3cdClYiF0+d6mHu6qDnTcg88wJBkcPLpQhq7FyDz0A==, tarball: https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1036,8 +1037,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.1.0': - resolution: {integrity: sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==, tarball: https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-8.1.0.tgz} + '@typescript-eslint/parser@8.2.0': + resolution: {integrity: sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==, tarball: https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1046,12 +1047,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.1.0': - resolution: {integrity: sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==, tarball: https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz} + '@typescript-eslint/scope-manager@8.2.0': + resolution: {integrity: sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==, tarball: https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.1.0': - resolution: {integrity: sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==, tarball: https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz} + '@typescript-eslint/type-utils@8.2.0': + resolution: {integrity: sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w==, tarball: https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1059,12 +1060,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.1.0': - resolution: {integrity: sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==, tarball: https://registry.npmmirror.com/@typescript-eslint/types/-/types-8.1.0.tgz} + '@typescript-eslint/types@8.2.0': + resolution: {integrity: sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==, tarball: https://registry.npmmirror.com/@typescript-eslint/types/-/types-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.1.0': - resolution: {integrity: sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==, tarball: https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz} + '@typescript-eslint/typescript-estree@8.2.0': + resolution: {integrity: sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==, tarball: https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1072,14 +1073,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.1.0': - resolution: {integrity: sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==, tarball: https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-8.1.0.tgz} + '@typescript-eslint/utils@8.2.0': + resolution: {integrity: sha512-O46eaYKDlV3TvAVDNcoDzd5N550ckSe8G4phko++OCSC1dYIb9LTc3HDGYdWqWIAT5qDUKphO6sd9RrpIJJPfg==, tarball: https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.1.0': - resolution: {integrity: sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==, tarball: https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz} + '@typescript-eslint/visitor-keys@8.2.0': + resolution: {integrity: sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==, tarball: https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@vitejs/plugin-vue@5.1.2': @@ -1089,35 +1090,26 @@ packages: vite: ^5.0.0 vue: ^3.2.25 - '@volar/language-core@2.3.4': - resolution: {integrity: sha512-wXBhY11qG6pCDAqDnbBRFIDSIwbqkWI7no+lj5+L7IlA7HRIjRP7YQLGzT0LF4lS6eHkMSsclXqy9DwYJasZTQ==, tarball: https://registry.npmmirror.com/@volar/language-core/-/language-core-2.3.4.tgz} - - '@volar/language-core@2.4.0-alpha.18': - resolution: {integrity: sha512-JAYeJvYQQROmVRtSBIczaPjP3DX4QW1fOqW1Ebs0d3Y3EwSNRglz03dSv0Dm61dzd0Yx3WgTW3hndDnTQqgmyg==, tarball: https://registry.npmmirror.com/@volar/language-core/-/language-core-2.4.0-alpha.18.tgz} + '@volar/language-core@2.4.0': + resolution: {integrity: sha512-FTla+khE+sYK0qJP+6hwPAAUwiNHVMph4RUXpxf/FIPKUP61NFrVZorml4mjFShnueR2y9/j8/vnh09YwVdH7A==, tarball: https://registry.npmmirror.com/@volar/language-core/-/language-core-2.4.0.tgz} - '@volar/source-map@2.3.4': - resolution: {integrity: sha512-C+t63nwcblqLIVTYXaVi/+gC8NukDaDIQI72J3R7aXGvtgaVB16c+J8Iz7/VfOy7kjYv7lf5GhBny6ACw9fTGQ==, tarball: https://registry.npmmirror.com/@volar/source-map/-/source-map-2.3.4.tgz} + '@volar/source-map@2.4.0': + resolution: {integrity: sha512-2ceY8/NEZvN6F44TXw2qRP6AQsvCYhV2bxaBPWxV9HqIfkbRydSksTFObCF1DBDNBfKiZTS8G/4vqV6cvjdOIQ==, tarball: https://registry.npmmirror.com/@volar/source-map/-/source-map-2.4.0.tgz} - '@volar/source-map@2.4.0-alpha.18': - resolution: {integrity: sha512-MTeCV9MUwwsH0sNFiZwKtFrrVZUK6p8ioZs3xFzHc2cvDXHWlYN3bChdQtwKX+FY2HG6H3CfAu1pKijolzIQ8g==, tarball: https://registry.npmmirror.com/@volar/source-map/-/source-map-2.4.0-alpha.18.tgz} + '@volar/typescript@2.4.0': + resolution: {integrity: sha512-9zx3lQWgHmVd+JRRAHUSRiEhe4TlzL7U7e6ulWXOxHH/WNYxzKwCvZD7WYWEZFdw4dHfTD9vUR0yPQO6GilCaQ==, tarball: https://registry.npmmirror.com/@volar/typescript/-/typescript-2.4.0.tgz} - '@volar/typescript@2.3.4': - resolution: {integrity: sha512-acCvt7dZECyKcvO5geNybmrqOsu9u8n5XP1rfiYsOLYGPxvHRav9BVmEdRyZ3vvY6mNyQ1wLL5Hday4IShe17w==, tarball: https://registry.npmmirror.com/@volar/typescript/-/typescript-2.3.4.tgz} + '@vue/compiler-core@3.4.38': + resolution: {integrity: sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==, tarball: https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.4.38.tgz} - '@volar/typescript@2.4.0-alpha.18': - resolution: {integrity: sha512-sXh5Y8sqGUkgxpMWUGvRXggxYHAVxg0Pa1C42lQZuPDrW6vHJPR0VCK8Sr7WJsAW530HuNQT/ZIskmXtxjybMQ==, tarball: https://registry.npmmirror.com/@volar/typescript/-/typescript-2.4.0-alpha.18.tgz} + '@vue/compiler-dom@3.4.38': + resolution: {integrity: sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==, tarball: https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.4.38.tgz} - '@vue/compiler-core@3.4.37': - resolution: {integrity: sha512-ZDDT/KiLKuCRXyzWecNzC5vTcubGz4LECAtfGPENpo0nrmqJHwuWtRLxk/Sb9RAKtR9iFflFycbkjkY+W/PZUQ==, tarball: https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.4.37.tgz} + '@vue/compiler-sfc@3.4.38': + resolution: {integrity: sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==, tarball: https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.4.38.tgz} - '@vue/compiler-dom@3.4.37': - resolution: {integrity: sha512-rIiSmL3YrntvgYV84rekAtU/xfogMUJIclUMeIKEtVBFngOL3IeZHhsH3UaFEgB5iFGpj6IW+8YuM/2Up+vVag==, tarball: https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.4.37.tgz} - - '@vue/compiler-sfc@3.4.37': - resolution: {integrity: sha512-vCfetdas40Wk9aK/WWf8XcVESffsbNkBQwS5t13Y/PcfqKfIwJX2gF+82th6dOpnpbptNMlMjAny80li7TaCIg==, tarball: https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.4.37.tgz} - - '@vue/compiler-ssr@3.4.37': - resolution: {integrity: sha512-TyAgYBWrHlFrt4qpdACh8e9Ms6C/AZQ6A6xLJaWrCL8GCX5DxMzxyeFAEMfU/VFr4tylHm+a2NpfJpcd7+20XA==, tarball: https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.4.37.tgz} + '@vue/compiler-ssr@3.4.38': + resolution: {integrity: sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==, tarball: https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.4.38.tgz} '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==, tarball: https://registry.npmmirror.com/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz} @@ -1133,22 +1125,22 @@ packages: typescript: optional: true - '@vue/reactivity@3.4.37': - resolution: {integrity: sha512-UmdKXGx0BZ5kkxPqQr3PK3tElz6adTey4307NzZ3whZu19i5VavYal7u2FfOmAzlcDVgE8+X0HZ2LxLb/jgbYw==, tarball: https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.4.37.tgz} + '@vue/reactivity@3.4.38': + resolution: {integrity: sha512-4vl4wMMVniLsSYYeldAKzbk72+D3hUnkw9z8lDeJacTxAkXeDAP1uE9xr2+aKIN0ipOL8EG2GPouVTH6yF7Gnw==, tarball: https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.4.38.tgz} - '@vue/runtime-core@3.4.37': - resolution: {integrity: sha512-MNjrVoLV/sirHZoD7QAilU1Ifs7m/KJv4/84QVbE6nyAZGQNVOa1HGxaOzp9YqCG+GpLt1hNDC4RbH+KtanV7w==, tarball: https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.4.37.tgz} + '@vue/runtime-core@3.4.38': + resolution: {integrity: sha512-21z3wA99EABtuf+O3IhdxP0iHgkBs1vuoCAsCKLVJPEjpVqvblwBnTj42vzHRlWDCyxu9ptDm7sI2ZMcWrQqlA==, tarball: https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.4.38.tgz} - '@vue/runtime-dom@3.4.37': - resolution: {integrity: sha512-Mg2EwgGZqtwKrqdL/FKMF2NEaOHuH+Ks9TQn3DHKyX//hQTYOun+7Tqp1eo0P4Ds+SjltZshOSRq6VsU0baaNg==, tarball: https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.4.37.tgz} + '@vue/runtime-dom@3.4.38': + resolution: {integrity: sha512-afZzmUreU7vKwKsV17H1NDThEEmdYI+GCAK/KY1U957Ig2NATPVjCROv61R19fjZNzMmiU03n79OMnXyJVN0UA==, tarball: https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.4.38.tgz} - '@vue/server-renderer@3.4.37': - resolution: {integrity: sha512-jZ5FAHDR2KBq2FsRUJW6GKDOAG9lUTX8aBEGq4Vf6B/35I9fPce66BornuwmqmKgfiSlecwuOb6oeoamYMohkg==, tarball: https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.4.37.tgz} + '@vue/server-renderer@3.4.38': + resolution: {integrity: sha512-NggOTr82FbPEkkUvBm4fTGcwUY8UuTsnWC/L2YZBmvaQ4C4Jl/Ao4HHTB+l7WnFCt5M/dN3l0XLuyjzswGYVCA==, tarball: https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.4.38.tgz} peerDependencies: - vue: 3.4.37 + vue: 3.4.38 - '@vue/shared@3.4.37': - resolution: {integrity: sha512-nIh8P2fc3DflG8+5Uw8PT/1i17ccFn0xxN/5oE9RfV5SVnd7G0XEFRwakrnNFE/jlS95fpGXDVG5zDETS26nmg==, tarball: https://registry.npmmirror.com/@vue/shared/-/shared-3.4.37.tgz} + '@vue/shared@3.4.38': + resolution: {integrity: sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==, tarball: https://registry.npmmirror.com/@vue/shared/-/shared-3.4.38.tgz} '@vuelidate/core@2.0.3': resolution: {integrity: sha512-AN6l7KF7+mEfyWG0doT96z+47ljwPpZfi9/JrNMkOGLFv27XVZvKzRLXlmDPQjPl/wOB1GNnHuc54jlCLRNqGA==, tarball: https://registry.npmmirror.com/@vuelidate/core/-/core-2.0.3.tgz} @@ -1168,14 +1160,14 @@ packages: '@vue/composition-api': optional: true - '@vueuse/core@10.11.1': - resolution: {integrity: sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==, tarball: https://registry.npmmirror.com/@vueuse/core/-/core-10.11.1.tgz} + '@vueuse/core@11.0.1': + resolution: {integrity: sha512-YTrekI18WwEyP3h168Fir94G/HNC27wvXJI21Alm0sPOwvhihfkrvHIe+5PNJq+MpgWdRcsjvE/38JaoKrgZhQ==, tarball: https://registry.npmmirror.com/@vueuse/core/-/core-11.0.1.tgz} - '@vueuse/metadata@10.11.1': - resolution: {integrity: sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==, tarball: https://registry.npmmirror.com/@vueuse/metadata/-/metadata-10.11.1.tgz} + '@vueuse/metadata@11.0.1': + resolution: {integrity: sha512-dTFvuHFAjLYOiSd+t9Sk7xUiuL6jbfay/eX+g+jaipXXlwKur2VCqBCZX+jfu+2vROUGcUsdn3fJR9KkpadIOg==, tarball: https://registry.npmmirror.com/@vueuse/metadata/-/metadata-11.0.1.tgz} - '@vueuse/shared@10.11.1': - resolution: {integrity: sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==, tarball: https://registry.npmmirror.com/@vueuse/shared/-/shared-10.11.1.tgz} + '@vueuse/shared@11.0.1': + resolution: {integrity: sha512-eAPf5CQB3HR0S76HqrhjBqFYstZfiHWZq8xF9EQmobGBkrhPfErJEhr8aMNQMqd6MkENIx2pblIEfJGlHpClug==, tarball: https://registry.npmmirror.com/@vueuse/shared/-/shared-11.0.1.tgz} '@webassemblyjs/ast@1.12.1': resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==, tarball: https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.12.1.tgz} @@ -1337,8 +1329,8 @@ packages: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==, tarball: https://registry.npmmirror.com/astral-regex/-/astral-regex-2.0.0.tgz} engines: {node: '>=8'} - async@3.2.5: - resolution: {integrity: sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==, tarball: https://registry.npmmirror.com/async/-/async-3.2.5.tgz} + async@3.2.6: + resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==, tarball: https://registry.npmmirror.com/async/-/async-3.2.6.tgz} asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==, tarball: https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz} @@ -1376,16 +1368,16 @@ packages: boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==, tarball: https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz} - bpmn-js-properties-panel@5.21.0: - resolution: {integrity: sha512-W9mm0EftiRJqara+nDO7q5IhI7syXWmhmbyYv/fR8o9+KqOZJuj7zwg+WKxbZVCgCLRcyVgM96zEF10dTZO5Ug==, tarball: https://registry.npmmirror.com/bpmn-js-properties-panel/-/bpmn-js-properties-panel-5.21.0.tgz} + bpmn-js-properties-panel@5.22.0: + resolution: {integrity: sha512-U8fI4nYrFFWKjwD4sDh5VOc8pM5YCYYnWYjJabCPTZOPa8rBTrgKUjIK9boINc350TRTRrOm+0x175bQHPu0OQ==, tarball: https://registry.npmmirror.com/bpmn-js-properties-panel/-/bpmn-js-properties-panel-5.22.0.tgz} peerDependencies: '@bpmn-io/properties-panel': '>= 3.7' bpmn-js: '>= 11.5' camunda-bpmn-js-behaviors: '>= 0.4' diagram-js: '>= 11.9' - bpmn-js-token-simulation@0.34.2: - resolution: {integrity: sha512-WeWA6c/1y415XaFYoCmueNaUg17vBP28JXZw+FjARas39FfJR5yTs3nG2sCFiexqHgPvlSJ+oN8sNUWhzMGPnA==, tarball: https://registry.npmmirror.com/bpmn-js-token-simulation/-/bpmn-js-token-simulation-0.34.2.tgz} + bpmn-js-token-simulation@0.34.4: + resolution: {integrity: sha512-dGt/lcdQ1YM0SMxrG/bbYNZf8DLJIxOZ7lKs4CPAUp6NPgXul0BAdqeBPW2Vaozh06unSvih//xr8b4t085GZQ==, tarball: https://registry.npmmirror.com/bpmn-js-token-simulation/-/bpmn-js-token-simulation-0.34.4.tgz} engines: {node: '>= 16'} bpmn-js@17.9.2: @@ -1423,6 +1415,9 @@ packages: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==, tarball: https://registry.npmmirror.com/call-bind/-/call-bind-1.0.7.tgz} engines: {node: '>= 0.4'} + call-me-maybe@1.0.2: + resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==, tarball: https://registry.npmmirror.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz} + callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==, tarball: https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz} engines: {node: '>=6'} @@ -1689,13 +1684,13 @@ packages: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==, tarball: https://registry.npmmirror.com/detect-indent/-/detect-indent-6.1.0.tgz} engines: {node: '>=8'} - diagram-js-direct-editing@3.0.1: - resolution: {integrity: sha512-V44JO55nwFbsRv6tTmrfdz6fIsE3A4YIIqInaeJZyD2EongZzEo4acH9TqsE4hi9R/kAqsyttMKxTAgHplFn8w==, tarball: https://registry.npmmirror.com/diagram-js-direct-editing/-/diagram-js-direct-editing-3.0.1.tgz} + diagram-js-direct-editing@3.1.0: + resolution: {integrity: sha512-rBo60hhwUT7XwB1v8UEHHwLgcoz/KmeTKkVGWwkWz9/56XA7EvJkg9UDL758eon1IF6HbSkpk0oZm/qLl7Nvfg==, tarball: https://registry.npmmirror.com/diagram-js-direct-editing/-/diagram-js-direct-editing-3.1.0.tgz} peerDependencies: diagram-js: '*' - diagram-js@14.8.0: - resolution: {integrity: sha512-HV3R6i+hl2PyhsdOQ1pqOsI+JCkX/bYJiHgO5zAaExORtuDrdGVDW7lKsEfcrcGA0fXfpEcmerjOmdH/PIvyJA==, tarball: https://registry.npmmirror.com/diagram-js/-/diagram-js-14.8.0.tgz} + diagram-js@14.9.0: + resolution: {integrity: sha512-eIkxh2Bo51mhFfv24ZzY92K7oALPX3qqscA5rNp+e/+q4cu9DR8MxdWa9qe5T4nm3f8LXW/5HVPujh5gGvajvg==, tarball: https://registry.npmmirror.com/diagram-js/-/diagram-js-14.9.0.tgz} didi@10.2.2: resolution: {integrity: sha512-l8NYkYFXV1izHI65EyT8EXOjUZtKmQkHLTT89cSP7HU5J/G7AOj0dXKtLc04EXYlga99PBY18IPjOeZ+c3DI4w==, tarball: https://registry.npmmirror.com/didi/-/didi-10.2.2.tgz} @@ -1754,8 +1749,8 @@ packages: engines: {node: '>=0.10.0'} hasBin: true - electron-to-chromium@1.5.7: - resolution: {integrity: sha512-6FTNWIWMxMy/ZY6799nBlPtF1DFDQ6VQJ7yyDP27SJNt5lwtQ5ufqVvHylb3fdQefvRcgA3fKcFMJi9OLwBRNw==, tarball: https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.5.7.tgz} + electron-to-chromium@1.5.13: + resolution: {integrity: sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==, tarball: https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz} element-resize-detector@1.2.4: resolution: {integrity: sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==, tarball: https://registry.npmmirror.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz} @@ -1781,10 +1776,6 @@ packages: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==, tarball: https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz} engines: {node: '>=0.12'} - entities@5.0.0: - resolution: {integrity: sha512-BeJFvFRJddxobhvEdm5GqHzRV/X+ACeuw0/BuuxsCh1EUZcAIz8+kYmBp/LrQuloy6K1f3a0M7+IhmZ7QnkISA==, tarball: https://registry.npmmirror.com/entities/-/entities-5.0.0.tgz} - engines: {node: '>=0.12'} - env-paths@2.2.1: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==, tarball: https://registry.npmmirror.com/env-paths/-/env-paths-2.2.1.tgz} engines: {node: '>=6'} @@ -1938,10 +1929,6 @@ packages: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==, tarball: https://registry.npmmirror.com/events/-/events-3.3.0.tgz} engines: {node: '>=0.8.x'} - execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, tarball: https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz} - engines: {node: '>=10'} - execa@8.0.1: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==, tarball: https://registry.npmmirror.com/execa/-/execa-8.0.1.tgz} engines: {node: '>=16.17'} @@ -1986,8 +1973,8 @@ packages: feelers@1.4.0: resolution: {integrity: sha512-CGa/7ILuqoqTaeYeoKsg/4tzu2es9sEEJTmSjdu0lousZBw4V9gcYhHYFNmbrSrKmbAVfOzj6/DsymGJWFIOeg==, tarball: https://registry.npmmirror.com/feelers/-/feelers-1.4.0.tgz} - feelin@3.1.0: - resolution: {integrity: sha512-ITPATtpwDWeLr7FKEAai7mJPlIH0td+D58f61+ZFDOs6Gg+8mFIo1LlhltQOeLkmZlOdvC/RsovbZ7SqxUfoyQ==, tarball: https://registry.npmmirror.com/feelin/-/feelin-3.1.0.tgz} + feelin@3.1.2: + resolution: {integrity: sha512-fu8MVT54I58IU0OOuyUyx4E0hOwTZ5dKmPyv99Q93UMZhPCZwdu+s0jvI+O85WvV+P6CTbs9qwb2h9GjRtoI6w==, tarball: https://registry.npmmirror.com/feelin/-/feelin-3.1.2.tgz} figures@3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==, tarball: https://registry.npmmirror.com/figures/-/figures-3.2.0.tgz} @@ -2102,10 +2089,6 @@ packages: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==, tarball: https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz} engines: {node: '>= 0.4'} - get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, tarball: https://registry.npmmirror.com/get-stream/-/get-stream-6.0.1.tgz} - engines: {node: '>=10'} - get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==, tarball: https://registry.npmmirror.com/get-stream/-/get-stream-8.0.1.tgz} engines: {node: '>=16'} @@ -2222,16 +2205,12 @@ packages: human-id@1.0.2: resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==, tarball: https://registry.npmmirror.com/human-id/-/human-id-1.0.2.tgz} - human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, tarball: https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz} - engines: {node: '>=10.17.0'} - human-signals@5.0.0: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==, tarball: https://registry.npmmirror.com/human-signals/-/human-signals-5.0.0.tgz} engines: {node: '>=16.17.0'} - husky@9.1.4: - resolution: {integrity: sha512-bho94YyReb4JV7LYWRWxZ/xr6TtOTt8cMfmQ39MQYJ7f/YE268s3GdghGwi+y4zAeqewE5zYLvuhV0M0ijsDEA==, tarball: https://registry.npmmirror.com/husky/-/husky-9.1.4.tgz} + husky@9.1.5: + resolution: {integrity: sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag==, tarball: https://registry.npmmirror.com/husky/-/husky-9.1.5.tgz} engines: {node: '>=18'} hasBin: true @@ -2295,8 +2274,8 @@ packages: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==, tarball: https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz} engines: {node: '>=8'} - is-core-module@2.15.0: - resolution: {integrity: sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==, tarball: https://registry.npmmirror.com/is-core-module/-/is-core-module-2.15.0.tgz} + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==, tarball: https://registry.npmmirror.com/is-core-module/-/is-core-module-2.15.1.tgz} engines: {node: '>= 0.4'} is-docker@2.2.1: @@ -2340,10 +2319,6 @@ packages: resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==, tarball: https://registry.npmmirror.com/is-plain-object/-/is-plain-object-5.0.0.tgz} engines: {node: '>=0.10.0'} - is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, tarball: https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz} - engines: {node: '>=8'} - is-stream@3.0.0: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==, tarball: https://registry.npmmirror.com/is-stream/-/is-stream-3.0.0.tgz} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -2444,15 +2419,15 @@ packages: kolorist@1.8.0: resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==, tarball: https://registry.npmmirror.com/kolorist/-/kolorist-1.8.0.tgz} - lang-feel@2.1.1: - resolution: {integrity: sha512-ib1DW52l5L43hSoIPJ6UnsBpiCSpKiKAqunMRJ/KjU9eng3Z1mm8MYTcts99vLvK0j2nDBlCp+g8L/O7ZlgIgw==, tarball: https://registry.npmmirror.com/lang-feel/-/lang-feel-2.1.1.tgz} + lang-feel@2.2.0: + resolution: {integrity: sha512-Ebo5nftYsMfJzB3Ny8Oy4oaDXZXb5x61qtVVmKv6aImvAZUbT76mD60ZbEilizjZQzsR2CcU1iMK5sacIa1NVA==, tarball: https://registry.npmmirror.com/lang-feel/-/lang-feel-2.2.0.tgz} levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==, tarball: https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz} engines: {node: '>= 0.8.0'} - lezer-feel@1.2.9: - resolution: {integrity: sha512-YdRbOI+7BEtWxqJBztBsk8VFBTh3O9/FcYlVn9AsnNJPUwJO11Ewm2pakSA7muMtdpPC6pfsIK/YyfYgyiEMHA==, tarball: https://registry.npmmirror.com/lezer-feel/-/lezer-feel-1.2.9.tgz} + lezer-feel@1.3.0: + resolution: {integrity: sha512-b7oBzdbcdHJU+WIVwqELi/pLLg0UiojC/80E2zFBGrZsWTSOsSQLNhHsfRocYzWLUPpOC4pWaFlhJM4m93J5Fg==, tarball: https://registry.npmmirror.com/lezer-feel/-/lezer-feel-1.3.0.tgz} lilconfig@3.1.2: resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==, tarball: https://registry.npmmirror.com/lilconfig/-/lilconfig-3.1.2.tgz} @@ -2665,10 +2640,6 @@ packages: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, tarball: https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz} engines: {node: '>=0.10.0'} - npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, tarball: https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz} - engines: {node: '>=8'} - npm-run-path@5.3.0: resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==, tarball: https://registry.npmmirror.com/npm-run-path/-/npm-run-path-5.3.0.tgz} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -2745,6 +2716,9 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==, tarball: https://registry.npmmirror.com/p-try/-/p-try-2.2.0.tgz} engines: {node: '>=6'} + package-manager-detector@0.1.2: + resolution: {integrity: sha512-iePyefLTOm2gEzbaZKSW+eBMjg+UYsQvUKxmvGXAQ987K16efBg10MxIjZs08iyX+DY2/owKY9DIdu193kX33w==, tarball: https://registry.npmmirror.com/package-manager-detector/-/package-manager-detector-0.1.2.tgz} + param-case@3.0.4: resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==, tarball: https://registry.npmmirror.com/param-case/-/param-case-3.0.4.tgz} @@ -2820,8 +2794,8 @@ packages: peerDependencies: pinia: ^2.0.0 - pinia@2.2.1: - resolution: {integrity: sha512-ltEU3xwiz5ojVMizdP93AHi84Rtfz0+yKd8ud75hr9LVyWX2alxp7vLbY1kFm7MXFmHHr/9B08Xf8Jj6IHTEiQ==, tarball: https://registry.npmmirror.com/pinia/-/pinia-2.2.1.tgz} + pinia@2.2.2: + resolution: {integrity: sha512-ja2XqFWZC36mupU4z1ZzxeTApV7DOw44cV4dhQ9sGwun+N89v/XP7+j7q6TanS1u1tdbK4r+1BUx7heMaIdagA==, tarball: https://registry.npmmirror.com/pinia/-/pinia-2.2.2.tgz} peerDependencies: '@vue/composition-api': ^1.4.0 typescript: '>=4.4.4' @@ -2836,8 +2810,8 @@ packages: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==, tarball: https://registry.npmmirror.com/pkg-dir/-/pkg-dir-4.2.0.tgz} engines: {node: '>=8'} - pkg-types@1.1.3: - resolution: {integrity: sha512-+JrgthZG6m3ckicaOB74TwQ+tBWsFl3qVQg7mN8ulwSOElJ7gBhKzj2VkCPnZ4NlF6kEquYU+RIYNVAvzd54UA==, tarball: https://registry.npmmirror.com/pkg-types/-/pkg-types-1.1.3.tgz} + pkg-types@1.2.0: + resolution: {integrity: sha512-+ifYuSSqOQ8CqP4MbZA5hDpb97n3E8SVWdJe+Wms9kj745lmd3b7EZJiqvmLwAlmRfjrI7Hi5z3kdBJ93lFNPA==, tarball: https://registry.npmmirror.com/pkg-types/-/pkg-types-1.2.0.tgz} postcss-html@1.7.0: resolution: {integrity: sha512-MfcMpSUIaR/nNgeVS8AyvyDugXlADjN9AcV7e5rDfrF1wduIAGSkL4q2+wgrZgA3sHVAHLDO9FuauHhZYW2nBw==, tarball: https://registry.npmmirror.com/postcss-html/-/postcss-html-1.7.0.tgz} @@ -2922,8 +2896,8 @@ packages: resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==, tarball: https://registry.npmmirror.com/qs/-/qs-6.13.0.tgz} engines: {node: '>=0.6'} - quasar@2.16.8: - resolution: {integrity: sha512-vxWKXoMEzxNw208W1hANsPzvPg4RKGuhNgwX4US4Uqwy6uKAXhxnyU9Yh4J1lXGzX2z+3hnV98DaQ5wYSioxtQ==, tarball: https://registry.npmmirror.com/quasar/-/quasar-2.16.8.tgz} + quasar@2.16.9: + resolution: {integrity: sha512-cAbt5l8hbxf7GQSwtYQ/3TlrbA8cOfjXXbFvikx4amMQEFKVB/vi/PfQMjbdRVcK/zEB6hu1y5OjS/9NlpJc/Q==, tarball: https://registry.npmmirror.com/quasar/-/quasar-2.16.9.tgz} engines: {node: '>= 10.18.1', npm: '>= 6.13.4', yarn: '>= 1.21.1'} queue-microtask@1.2.3: @@ -3007,8 +2981,8 @@ packages: rollup: optional: true - rollup@4.20.0: - resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==, tarball: https://registry.npmmirror.com/rollup/-/rollup-4.20.0.tgz} + rollup@4.21.0: + resolution: {integrity: sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==, tarball: https://registry.npmmirror.com/rollup/-/rollup-4.21.0.tgz} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -3168,10 +3142,6 @@ packages: resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==, tarball: https://registry.npmmirror.com/strip-bom/-/strip-bom-4.0.0.tgz} engines: {node: '>=8'} - strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, tarball: https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz} - engines: {node: '>=6'} - strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==, tarball: https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz} engines: {node: '>=12'} @@ -3200,8 +3170,8 @@ packages: peerDependencies: stylelint: '>= 11.x < 15' - stylelint-config-recess-order@5.0.1: - resolution: {integrity: sha512-rKbGkoa3h0rINrGln9TFVowvSCLgPJC5O0EuPiqlqWcJMb1lImEtXktcjFCVz+hwtSUiHD3ijJc3vP9muFOgJg==, tarball: https://registry.npmmirror.com/stylelint-config-recess-order/-/stylelint-config-recess-order-5.0.1.tgz} + stylelint-config-recess-order@5.1.0: + resolution: {integrity: sha512-ddapCF6B/kEtQYIFhQFReQ0dvK1ZdgJDM/SGFtIyeooYDbqaJqcOlGkRRGaVErCQYJY/bPSPsLRS2LdQtLJUVQ==, tarball: https://registry.npmmirror.com/stylelint-config-recess-order/-/stylelint-config-recess-order-5.1.0.tgz} peerDependencies: stylelint: '>=16' @@ -3255,8 +3225,8 @@ packages: peerDependencies: stylelint: ^16.0.2 - stylelint@16.8.1: - resolution: {integrity: sha512-O8aDyfdODSDNz/B3gW2HQ+8kv8pfhSu7ZR7xskQ93+vI6FhKKGUJMQ03Ydu+w3OvXXE0/u4hWU4hCPNOyld+OA==, tarball: https://registry.npmmirror.com/stylelint/-/stylelint-16.8.1.tgz} + stylelint@16.8.2: + resolution: {integrity: sha512-fInKATippQhcSm7AB+T32GpI+626yohrg33GkFT/5jzliUw5qhlwZq2UQQwgl3HsHrf09oeARi0ZwgY/UWEv9A==, tarball: https://registry.npmmirror.com/stylelint/-/stylelint-16.8.2.tgz} engines: {node: '>=18.12.0'} hasBin: true @@ -3272,8 +3242,8 @@ packages: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==, tarball: https://registry.npmmirror.com/supports-color/-/supports-color-8.1.1.tgz} engines: {node: '>=10'} - supports-hyperlinks@3.0.0: - resolution: {integrity: sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==, tarball: https://registry.npmmirror.com/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz} + supports-hyperlinks@3.1.0: + resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==, tarball: https://registry.npmmirror.com/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz} engines: {node: '>=14.18'} supports-preserve-symlinks-flag@1.0.0: @@ -3335,8 +3305,8 @@ packages: tiny-svg@3.1.2: resolution: {integrity: sha512-qvNlv/4N48HqbNpwAhzQ9HKHlBUKgA4091x+aVfsrRXHIcQ9NA3W6ZYwdmYAIdwT+vfAAksrc9L/3RQBj5KwPw==, tarball: https://registry.npmmirror.com/tiny-svg/-/tiny-svg-3.1.2.tgz} - tinyexec@0.1.4: - resolution: {integrity: sha512-Ba2ELcNnnWkgqnAJBouhcsDsYitbD9LIAVNSz3746u50f+tlF3wO0uB3uqyz8NHFSTpv23qtT47XGDw8pXW5DA==, tarball: https://registry.npmmirror.com/tinyexec/-/tinyexec-0.1.4.tgz} + tinyexec@0.2.0: + resolution: {integrity: sha512-au8dwv4xKSDR+Fw52csDo3wcDztPdne2oM1o/7LFro4h6bdFmvyUAeAfX40pwDtzHgRFqz1XWaUqgKS2G83/ig==, tarball: https://registry.npmmirror.com/tinyexec/-/tinyexec-0.2.0.tgz} tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==, tarball: https://registry.npmmirror.com/tmp/-/tmp-0.0.33.tgz} @@ -3366,6 +3336,10 @@ packages: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==, tarball: https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz} engines: {node: '>= 0.8.0'} + type-detect@4.1.0: + resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==, tarball: https://registry.npmmirror.com/type-detect/-/type-detect-4.1.0.tgz} + engines: {node: '>=4'} + type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==, tarball: https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz} engines: {node: '>=10'} @@ -3387,11 +3361,11 @@ packages: ufo@1.5.4: resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==, tarball: https://registry.npmmirror.com/ufo/-/ufo-1.5.4.tgz} - undici-types@6.18.2: - resolution: {integrity: sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==, tarball: https://registry.npmmirror.com/undici-types/-/undici-types-6.18.2.tgz} + undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==, tarball: https://registry.npmmirror.com/undici-types/-/undici-types-6.19.8.tgz} - unimport@3.10.0: - resolution: {integrity: sha512-/UvKRfWx3mNDWwWQhR62HsoM3wxHwYdTq8ellZzMOHnnw4Dp8tovgthyW7DjTrbjDL+i4idOp06voz2VKlvrLw==, tarball: https://registry.npmmirror.com/unimport/-/unimport-3.10.0.tgz} + unimport@3.11.0: + resolution: {integrity: sha512-mPrvWwy+li8TLUeglC7CIREFAbeEMkJ8X2Bhxg4iLdh+HraxjFyxqWv8V+4lzekoGHChx9ofv1qGOfvHBJBl0A==, tarball: https://registry.npmmirror.com/unimport/-/unimport-3.11.0.tgz} universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==, tarball: https://registry.npmmirror.com/universalify/-/universalify-0.1.2.tgz} @@ -3446,8 +3420,8 @@ packages: '@nuxt/kit': optional: true - unplugin@1.12.1: - resolution: {integrity: sha512-aXEH9c5qi3uYZHo0niUtxDlT9ylG/luMW/dZslSCkbtC31wCyFkmM0kyoBBh+Grhn7CL+/kvKLfN61/EdxPxMQ==, tarball: https://registry.npmmirror.com/unplugin/-/unplugin-1.12.1.tgz} + unplugin@1.12.2: + resolution: {integrity: sha512-bEqQxeC7rxtxPZ3M5V4Djcc4lQqKPgGe3mAWZvxcSmX5jhGxll19NliaRzQSQPrk4xJZSGniK3puLWpRuZN7VQ==, tarball: https://registry.npmmirror.com/unplugin/-/unplugin-1.12.2.tgz} engines: {node: '>=14.0.0'} update-browserslist-db@1.1.0: @@ -3482,8 +3456,8 @@ packages: peerDependencies: vite: '>=2.0.0' - vite@5.4.0: - resolution: {integrity: sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==, tarball: https://registry.npmmirror.com/vite/-/vite-5.4.0.tgz} + vite@5.4.2: + resolution: {integrity: sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==, tarball: https://registry.npmmirror.com/vite/-/vite-5.4.2.tgz} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -3550,8 +3524,8 @@ packages: peerDependencies: eslint: '>=6.0.0' - vue-i18n@9.13.1: - resolution: {integrity: sha512-mh0GIxx0wPtPlcB1q4k277y0iKgo25xmDPWioVVYanjPufDBpvu5ySTjP5wOrSvlYQ2m1xI+CFhGdauv/61uQg==, tarball: https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.13.1.tgz} + vue-i18n@9.14.0: + resolution: {integrity: sha512-LxmpRuCt2rI8gqU+kxeflRZMQn4D5+4M3oP3PWZdowW/ePJraHqhF7p4CuaME52mUxdw3Mmy2yAUKgfZYgCRjA==, tarball: https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.14.0.tgz} engines: {node: '>= 16'} peerDependencies: vue: ^3.0.0 @@ -3576,8 +3550,8 @@ packages: peerDependencies: typescript: '>=5.0.0' - vue@3.4.37: - resolution: {integrity: sha512-3vXvNfkKTBsSJ7JP+LyR7GBuwQuckbWvuwAid3xbqK9ppsKt/DUvfqgZ48fgOLEfpy1IacL5f8QhUVl77RaI7A==, tarball: https://registry.npmmirror.com/vue/-/vue-3.4.37.tgz} + vue@3.4.38: + resolution: {integrity: sha512-f0ZgN+mZ5KFgVv9wz0f4OgVKukoXtS3nwET4c2vLBGQR50aI8G0cqbFtLlX9Yiyg3LFGBitruPHt2PxwTduJEw==, tarball: https://registry.npmmirror.com/vue/-/vue-3.4.38.tgz} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -3601,8 +3575,8 @@ packages: webpack-virtual-modules@0.6.2: resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==, tarball: https://registry.npmmirror.com/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz} - webpack@5.93.0: - resolution: {integrity: sha512-Y0m5oEY1LRuwly578VqluorkXbvXKh7U3rLoQCEO04M97ScRr44afGVkI0FQFsXzysk5OgFAxjZAb9rsGQVihA==, tarball: https://registry.npmmirror.com/webpack/-/webpack-5.93.0.tgz} + webpack@5.94.0: + resolution: {integrity: sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==, tarball: https://registry.npmmirror.com/webpack/-/webpack-5.94.0.tgz} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -3695,14 +3669,14 @@ packages: snapshots: - '@antfu/install-pkg@0.1.1': + '@antfu/install-pkg@0.3.5': dependencies: - execa: 5.1.1 - find-up: 5.0.0 + '@jsdevtools/ez-spawn': 3.0.4 - '@antfu/install-pkg@0.3.4': + '@antfu/install-pkg@0.4.0': dependencies: - tinyexec: 0.1.4 + package-manager-detector: 0.1.2 + tinyexec: 0.2.0 '@antfu/utils@0.7.10': {} @@ -3722,15 +3696,15 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.0.1 - '@babel/parser@7.25.3': + '@babel/parser@7.25.4': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 - '@babel/runtime@7.25.0': + '@babel/runtime@7.25.4': dependencies: regenerator-runtime: 0.14.1 - '@babel/types@7.25.2': + '@babel/types@7.25.4': dependencies: '@babel/helper-string-parser': 7.24.8 '@babel/helper-validator-identifier': 7.24.7 @@ -3761,7 +3735,7 @@ snapshots: '@codemirror/state': 6.4.1 '@codemirror/view': 6.32.0 '@lezer/highlight': 1.2.1 - lang-feel: 2.1.1 + lang-feel: 2.2.0 min-dom: 4.2.1 transitivePeerDependencies: - '@lezer/common' @@ -3769,7 +3743,7 @@ snapshots: '@bpmn-io/feel-lint@1.2.0': dependencies: '@codemirror/language': 6.10.2 - lezer-feel: 1.2.9 + lezer-feel: 1.3.0 '@bpmn-io/properties-panel@3.23.0(@lezer/common@1.2.1)': dependencies: @@ -3785,7 +3759,7 @@ snapshots: '@changesets/apply-release-plan@7.0.4': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/config': 3.0.2 '@changesets/get-version-range-type': 0.4.0 '@changesets/git': 3.0.0 @@ -3802,7 +3776,7 @@ snapshots: '@changesets/assemble-release-plan@6.0.3': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.1 '@changesets/should-skip-package': 0.1.0 @@ -3816,7 +3790,7 @@ snapshots: '@changesets/cli@2.27.7': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/apply-release-plan': 7.0.4 '@changesets/assemble-release-plan': 6.0.3 '@changesets/changelog-git': 0.2.0 @@ -3873,7 +3847,7 @@ snapshots: '@changesets/get-release-plan@4.0.3': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/assemble-release-plan': 6.0.3 '@changesets/config': 3.0.2 '@changesets/pre': 2.0.0 @@ -3885,7 +3859,7 @@ snapshots: '@changesets/git@3.0.0': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/errors': 0.2.0 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 @@ -3904,7 +3878,7 @@ snapshots: '@changesets/pre@2.0.0': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/errors': 0.2.0 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 @@ -3912,7 +3886,7 @@ snapshots: '@changesets/read@0.6.0': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/git': 3.0.0 '@changesets/logger': 0.1.0 '@changesets/parse': 0.4.0 @@ -3923,7 +3897,7 @@ snapshots: '@changesets/should-skip-package@0.1.0': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 @@ -3933,7 +3907,7 @@ snapshots: '@changesets/write@0.3.1': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/types': 6.0.0 fs-extra: 7.0.1 human-id: 1.0.2 @@ -3985,7 +3959,7 @@ snapshots: '@commitlint/execute-rule@19.0.0': optional: true - '@commitlint/load@19.4.0(@types/node@22.3.0)(typescript@5.5.4)': + '@commitlint/load@19.4.0(@types/node@22.5.0)(typescript@5.5.4)': dependencies: '@commitlint/config-validator': 19.0.3 '@commitlint/execute-rule': 19.0.0 @@ -3993,7 +3967,7 @@ snapshots: '@commitlint/types': 19.0.3 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.5.4) - cosmiconfig-typescript-loader: 5.0.0(@types/node@22.3.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.5.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -4018,18 +3992,18 @@ snapshots: chalk: 5.3.0 optional: true - '@csstools/css-parser-algorithms@2.7.1(@csstools/css-tokenizer@2.4.1)': + '@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1)': dependencies: - '@csstools/css-tokenizer': 2.4.1 + '@csstools/css-tokenizer': 3.0.1 - '@csstools/css-tokenizer@2.4.1': {} + '@csstools/css-tokenizer@3.0.1': {} - '@csstools/media-query-list-parser@2.1.13(@csstools/css-parser-algorithms@2.7.1(@csstools/css-tokenizer@2.4.1))(@csstools/css-tokenizer@2.4.1)': + '@csstools/media-query-list-parser@3.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1)': dependencies: - '@csstools/css-parser-algorithms': 2.7.1(@csstools/css-tokenizer@2.4.1) - '@csstools/css-tokenizer': 2.4.1 + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 - '@csstools/selector-specificity@3.1.1(postcss-selector-parser@6.1.2)': + '@csstools/selector-specificity@4.0.0(postcss-selector-parser@6.1.2)': dependencies: postcss-selector-parser: 6.1.2 @@ -4137,10 +4111,10 @@ snapshots: '@eslint/object-schema@2.1.4': {} - '@highlightjs/vue-plugin@2.1.0(highlight.js@11.10.0)(vue@3.4.37(typescript@5.5.4))': + '@highlightjs/vue-plugin@2.1.0(highlight.js@11.10.0)(vue@3.4.38(typescript@5.5.4))': dependencies: highlight.js: 11.10.0 - vue: 3.4.37(typescript@5.5.4) + vue: 3.4.38(typescript@5.5.4) '@humanwhocodes/module-importer@1.0.1': {} @@ -4148,9 +4122,9 @@ snapshots: '@iconify/types@2.0.0': {} - '@iconify/utils@2.1.30': + '@iconify/utils@2.1.31': dependencies: - '@antfu/install-pkg': 0.1.1 + '@antfu/install-pkg': 0.4.0 '@antfu/utils': 0.7.10 '@iconify/types': 2.0.0 debug: 4.3.6 @@ -4160,17 +4134,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@intlify/core-base@9.13.1': + '@intlify/core-base@9.14.0': dependencies: - '@intlify/message-compiler': 9.13.1 - '@intlify/shared': 9.13.1 + '@intlify/message-compiler': 9.14.0 + '@intlify/shared': 9.14.0 - '@intlify/message-compiler@9.13.1': + '@intlify/message-compiler@9.14.0': dependencies: - '@intlify/shared': 9.13.1 + '@intlify/shared': 9.14.0 source-map-js: 1.2.0 - '@intlify/shared@9.13.1': {} + '@intlify/shared@9.14.0': {} '@jridgewell/gen-mapping@0.3.5': dependencies: @@ -4194,6 +4168,13 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + '@jsdevtools/ez-spawn@3.0.4': + dependencies: + call-me-maybe: 1.0.2 + cross-spawn: 7.0.3 + string-argv: 0.3.2 + type-detect: 4.1.0 + '@lezer/common@1.2.1': {} '@lezer/highlight@1.2.1': @@ -4211,14 +4192,14 @@ snapshots: '@manypkg/find-root@1.1.0': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -4227,23 +4208,23 @@ snapshots: '@mdi/js@7.4.47': {} - '@microsoft/api-extractor-model@7.29.4(@types/node@22.3.0)': + '@microsoft/api-extractor-model@7.29.4(@types/node@22.5.0)': dependencies: '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.5.1(@types/node@22.3.0) + '@rushstack/node-core-library': 5.5.1(@types/node@22.5.0) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.47.4(@types/node@22.3.0)': + '@microsoft/api-extractor@7.47.4(@types/node@22.5.0)': dependencies: - '@microsoft/api-extractor-model': 7.29.4(@types/node@22.3.0) + '@microsoft/api-extractor-model': 7.29.4(@types/node@22.5.0) '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.5.1(@types/node@22.3.0) + '@rushstack/node-core-library': 5.5.1(@types/node@22.5.0) '@rushstack/rig-package': 0.5.3 - '@rushstack/terminal': 0.13.3(@types/node@22.3.0) - '@rushstack/ts-command-line': 4.22.3(@types/node@22.3.0) + '@rushstack/terminal': 0.13.3(@types/node@22.5.0) + '@rushstack/ts-command-line': 4.22.3(@types/node@22.5.0) lodash: 4.17.21 minimatch: 3.0.8 resolve: 1.22.8 @@ -4278,75 +4259,75 @@ snapshots: '@quasar/extras@1.16.12': {} - '@quasar/vite-plugin@1.7.0(@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)))(quasar@2.16.8)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4))': + '@quasar/vite-plugin@1.7.0(@vitejs/plugin-vue@5.1.2(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)))(quasar@2.16.9)(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4))': dependencies: - '@vitejs/plugin-vue': 5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4)) - quasar: 2.16.8 - vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6) - vue: 3.4.37(typescript@5.5.4) + '@vitejs/plugin-vue': 5.1.2(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) + quasar: 2.16.9 + vite: 5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6) + vue: 3.4.38(typescript@5.5.4) '@rollup/pluginutils@4.2.1': dependencies: estree-walker: 2.0.2 picomatch: 2.3.1 - '@rollup/pluginutils@5.1.0(rollup@4.20.0)': + '@rollup/pluginutils@5.1.0(rollup@4.21.0)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.20.0 + rollup: 4.21.0 - '@rollup/rollup-android-arm-eabi@4.20.0': + '@rollup/rollup-android-arm-eabi@4.21.0': optional: true - '@rollup/rollup-android-arm64@4.20.0': + '@rollup/rollup-android-arm64@4.21.0': optional: true - '@rollup/rollup-darwin-arm64@4.20.0': + '@rollup/rollup-darwin-arm64@4.21.0': optional: true - '@rollup/rollup-darwin-x64@4.20.0': + '@rollup/rollup-darwin-x64@4.21.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + '@rollup/rollup-linux-arm-gnueabihf@4.21.0': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.20.0': + '@rollup/rollup-linux-arm-musleabihf@4.21.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.20.0': + '@rollup/rollup-linux-arm64-gnu@4.21.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.20.0': + '@rollup/rollup-linux-arm64-musl@4.21.0': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.20.0': + '@rollup/rollup-linux-riscv64-gnu@4.21.0': optional: true - '@rollup/rollup-linux-s390x-gnu@4.20.0': + '@rollup/rollup-linux-s390x-gnu@4.21.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.20.0': + '@rollup/rollup-linux-x64-gnu@4.21.0': optional: true - '@rollup/rollup-linux-x64-musl@4.20.0': + '@rollup/rollup-linux-x64-musl@4.21.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.20.0': + '@rollup/rollup-win32-arm64-msvc@4.21.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.20.0': + '@rollup/rollup-win32-ia32-msvc@4.21.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.20.0': + '@rollup/rollup-win32-x64-msvc@4.21.0': optional: true - '@rushstack/node-core-library@5.5.1(@types/node@22.3.0)': + '@rushstack/node-core-library@5.5.1(@types/node@22.5.0)': dependencies: ajv: 8.13.0 ajv-draft-04: 1.0.0(ajv@8.13.0) @@ -4357,23 +4338,23 @@ snapshots: resolve: 1.22.8 semver: 7.5.4 optionalDependencies: - '@types/node': 22.3.0 + '@types/node': 22.5.0 '@rushstack/rig-package@0.5.3': dependencies: resolve: 1.22.8 strip-json-comments: 3.1.1 - '@rushstack/terminal@0.13.3(@types/node@22.3.0)': + '@rushstack/terminal@0.13.3(@types/node@22.5.0)': dependencies: - '@rushstack/node-core-library': 5.5.1(@types/node@22.3.0) + '@rushstack/node-core-library': 5.5.1(@types/node@22.5.0) supports-color: 8.1.1 optionalDependencies: - '@types/node': 22.3.0 + '@types/node': 22.5.0 - '@rushstack/ts-command-line@4.22.3(@types/node@22.3.0)': + '@rushstack/ts-command-line@4.22.3(@types/node@22.5.0)': dependencies: - '@rushstack/terminal': 0.13.3(@types/node@22.3.0) + '@rushstack/terminal': 0.13.3(@types/node@22.5.0) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -4426,20 +4407,16 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 22.3.0 + '@types/node': 22.5.0 optional: true '@types/crypto-js@4.2.2': {} - '@types/eslint-scope@3.7.7': - dependencies: - '@types/eslint': 9.6.0 - '@types/estree': 1.0.5 - '@types/eslint@9.6.0': dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 + optional: true '@types/estree@1.0.5': {} @@ -4455,9 +4432,9 @@ snapshots: '@types/node@13.13.52': {} - '@types/node@22.3.0': + '@types/node@22.5.0': dependencies: - undici-types: 6.18.2 + undici-types: 6.19.8 '@types/qs@6.9.15': {} @@ -4467,14 +4444,14 @@ snapshots: '@types/web-bluetooth@0.0.20': {} - '@typescript-eslint/eslint-plugin@8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.2.0(@typescript-eslint/parser@8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.1.0 - '@typescript-eslint/type-utils': 8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/parser': 8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.2.0 + '@typescript-eslint/type-utils': 8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/utils': 8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.2.0 eslint: 9.9.0(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.2 @@ -4485,12 +4462,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/parser@8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 8.1.0 - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/scope-manager': 8.2.0 + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/typescript-estree': 8.2.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.2.0 debug: 4.3.6 eslint: 9.9.0(jiti@1.21.6) optionalDependencies: @@ -4498,15 +4475,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.1.0': + '@typescript-eslint/scope-manager@8.2.0': dependencies: - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/visitor-keys': 8.2.0 - '@typescript-eslint/type-utils@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) - '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.2.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -4515,12 +4492,12 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.1.0': {} + '@typescript-eslint/types@8.2.0': {} - '@typescript-eslint/typescript-estree@8.1.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.2.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/visitor-keys': 8.2.0 debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 @@ -4532,80 +4509,68 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': + '@typescript-eslint/utils@8.2.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.0(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 8.1.0 - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.2.0 + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/typescript-estree': 8.2.0(typescript@5.5.4) eslint: 9.9.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.1.0': + '@typescript-eslint/visitor-keys@8.2.0': dependencies: - '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/types': 8.2.0 eslint-visitor-keys: 3.4.3 - '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.37(typescript@5.5.4))': - dependencies: - vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6) - vue: 3.4.37(typescript@5.5.4) - - '@volar/language-core@2.3.4': + '@vitejs/plugin-vue@5.1.2(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4))': dependencies: - '@volar/source-map': 2.3.4 + vite: 5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6) + vue: 3.4.38(typescript@5.5.4) - '@volar/language-core@2.4.0-alpha.18': + '@volar/language-core@2.4.0': dependencies: - '@volar/source-map': 2.4.0-alpha.18 + '@volar/source-map': 2.4.0 - '@volar/source-map@2.3.4': {} + '@volar/source-map@2.4.0': {} - '@volar/source-map@2.4.0-alpha.18': {} - - '@volar/typescript@2.3.4': - dependencies: - '@volar/language-core': 2.3.4 - path-browserify: 1.0.1 - vscode-uri: 3.0.8 - - '@volar/typescript@2.4.0-alpha.18': + '@volar/typescript@2.4.0': dependencies: - '@volar/language-core': 2.4.0-alpha.18 + '@volar/language-core': 2.4.0 path-browserify: 1.0.1 vscode-uri: 3.0.8 - '@vue/compiler-core@3.4.37': + '@vue/compiler-core@3.4.38': dependencies: - '@babel/parser': 7.25.3 - '@vue/shared': 3.4.37 - entities: 5.0.0 + '@babel/parser': 7.25.4 + '@vue/shared': 3.4.38 + entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.2.0 - '@vue/compiler-dom@3.4.37': + '@vue/compiler-dom@3.4.38': dependencies: - '@vue/compiler-core': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/compiler-core': 3.4.38 + '@vue/shared': 3.4.38 - '@vue/compiler-sfc@3.4.37': + '@vue/compiler-sfc@3.4.38': dependencies: - '@babel/parser': 7.25.3 - '@vue/compiler-core': 3.4.37 - '@vue/compiler-dom': 3.4.37 - '@vue/compiler-ssr': 3.4.37 - '@vue/shared': 3.4.37 + '@babel/parser': 7.25.4 + '@vue/compiler-core': 3.4.38 + '@vue/compiler-dom': 3.4.38 + '@vue/compiler-ssr': 3.4.38 + '@vue/shared': 3.4.38 estree-walker: 2.0.2 magic-string: 0.30.11 postcss: 8.4.41 source-map-js: 1.2.0 - '@vue/compiler-ssr@3.4.37': + '@vue/compiler-ssr@3.4.38': dependencies: - '@vue/compiler-dom': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/compiler-dom': 3.4.38 + '@vue/shared': 3.4.38 '@vue/compiler-vue2@2.7.16': dependencies: @@ -4616,10 +4581,10 @@ snapshots: '@vue/language-core@2.0.29(typescript@5.5.4)': dependencies: - '@volar/language-core': 2.4.0-alpha.18 - '@vue/compiler-dom': 3.4.37 + '@volar/language-core': 2.4.0 + '@vue/compiler-dom': 3.4.38 '@vue/compiler-vue2': 2.7.16 - '@vue/shared': 3.4.37 + '@vue/shared': 3.4.38 computeds: 0.0.1 minimatch: 9.0.5 muggle-string: 0.4.1 @@ -4627,55 +4592,55 @@ snapshots: optionalDependencies: typescript: 5.5.4 - '@vue/reactivity@3.4.37': + '@vue/reactivity@3.4.38': dependencies: - '@vue/shared': 3.4.37 + '@vue/shared': 3.4.38 - '@vue/runtime-core@3.4.37': + '@vue/runtime-core@3.4.38': dependencies: - '@vue/reactivity': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/reactivity': 3.4.38 + '@vue/shared': 3.4.38 - '@vue/runtime-dom@3.4.37': + '@vue/runtime-dom@3.4.38': dependencies: - '@vue/reactivity': 3.4.37 - '@vue/runtime-core': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/reactivity': 3.4.38 + '@vue/runtime-core': 3.4.38 + '@vue/shared': 3.4.38 csstype: 3.1.3 - '@vue/server-renderer@3.4.37(vue@3.4.37(typescript@5.5.4))': + '@vue/server-renderer@3.4.38(vue@3.4.38(typescript@5.5.4))': dependencies: - '@vue/compiler-ssr': 3.4.37 - '@vue/shared': 3.4.37 - vue: 3.4.37(typescript@5.5.4) + '@vue/compiler-ssr': 3.4.38 + '@vue/shared': 3.4.38 + vue: 3.4.38(typescript@5.5.4) - '@vue/shared@3.4.37': {} + '@vue/shared@3.4.38': {} - '@vuelidate/core@2.0.3(vue@3.4.37(typescript@5.5.4))': + '@vuelidate/core@2.0.3(vue@3.4.38(typescript@5.5.4))': dependencies: - vue: 3.4.37(typescript@5.5.4) - vue-demi: 0.13.11(vue@3.4.37(typescript@5.5.4)) + vue: 3.4.38(typescript@5.5.4) + vue-demi: 0.13.11(vue@3.4.38(typescript@5.5.4)) - '@vuelidate/validators@2.0.4(vue@3.4.37(typescript@5.5.4))': + '@vuelidate/validators@2.0.4(vue@3.4.38(typescript@5.5.4))': dependencies: - vue: 3.4.37(typescript@5.5.4) - vue-demi: 0.13.11(vue@3.4.37(typescript@5.5.4)) + vue: 3.4.38(typescript@5.5.4) + vue-demi: 0.13.11(vue@3.4.38(typescript@5.5.4)) - '@vueuse/core@10.11.1(vue@3.4.37(typescript@5.5.4))': + '@vueuse/core@11.0.1(vue@3.4.38(typescript@5.5.4))': dependencies: '@types/web-bluetooth': 0.0.20 - '@vueuse/metadata': 10.11.1 - '@vueuse/shared': 10.11.1(vue@3.4.37(typescript@5.5.4)) - vue-demi: 0.14.10(vue@3.4.37(typescript@5.5.4)) + '@vueuse/metadata': 11.0.1 + '@vueuse/shared': 11.0.1(vue@3.4.38(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/metadata@10.11.1': {} + '@vueuse/metadata@11.0.1': {} - '@vueuse/shared@10.11.1(vue@3.4.37(typescript@5.5.4))': + '@vueuse/shared@11.0.1(vue@3.4.38(typescript@5.5.4))': dependencies: - vue-demi: 0.14.10(vue@3.4.37(typescript@5.5.4)) + vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -4855,7 +4820,7 @@ snapshots: astral-regex@2.0.0: {} - async@3.2.5: {} + async@3.2.6: {} asynckit@0.4.0: {} @@ -4891,19 +4856,19 @@ snapshots: boolbase@1.0.0: {} - bpmn-js-properties-panel@5.21.0(@bpmn-io/properties-panel@3.23.0(@lezer/common@1.2.1))(bpmn-js@17.9.2)(camunda-bpmn-js-behaviors@1.5.0(bpmn-js@17.9.2)(camunda-bpmn-moddle@7.0.1)(zeebe-bpmn-moddle@1.5.1))(diagram-js@14.8.0): + bpmn-js-properties-panel@5.22.0(@bpmn-io/properties-panel@3.23.0(@lezer/common@1.2.1))(bpmn-js@17.9.2)(camunda-bpmn-js-behaviors@1.5.0(bpmn-js@17.9.2)(camunda-bpmn-moddle@7.0.1)(zeebe-bpmn-moddle@1.5.1))(diagram-js@14.9.0): dependencies: '@bpmn-io/extract-process-variables': 0.8.0 '@bpmn-io/properties-panel': 3.23.0(@lezer/common@1.2.1) array-move: 4.0.0 bpmn-js: 17.9.2 camunda-bpmn-js-behaviors: 1.5.0(bpmn-js@17.9.2)(camunda-bpmn-moddle@7.0.1)(zeebe-bpmn-moddle@1.5.1) - diagram-js: 14.8.0 + diagram-js: 14.9.0 ids: 1.0.5 min-dash: 4.2.1 min-dom: 4.2.1 - bpmn-js-token-simulation@0.34.2: + bpmn-js-token-simulation@0.34.4: dependencies: inherits-browser: 0.1.0 min-dash: 4.2.1 @@ -4913,8 +4878,8 @@ snapshots: bpmn-js@17.9.2: dependencies: bpmn-moddle: 8.1.0 - diagram-js: 14.8.0 - diagram-js-direct-editing: 3.0.1(diagram-js@14.8.0) + diagram-js: 14.9.0 + diagram-js-direct-editing: 3.1.0(diagram-js@14.9.0) ids: 1.0.5 inherits-browser: 0.1.0 min-dash: 4.2.1 @@ -4943,7 +4908,7 @@ snapshots: browserslist@4.23.3: dependencies: caniuse-lite: 1.0.30001651 - electron-to-chromium: 1.5.7 + electron-to-chromium: 1.5.13 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) @@ -4964,6 +4929,8 @@ snapshots: get-intrinsic: 1.2.4 set-function-length: 1.2.2 + call-me-maybe@1.0.2: {} + callsites@3.1.0: {} camel-case@4.1.2: @@ -5080,10 +5047,10 @@ snapshots: commander@8.3.0: {} - commitizen@4.3.0(@types/node@22.3.0)(typescript@5.5.4): + commitizen@4.3.0(@types/node@22.5.0)(typescript@5.5.4): dependencies: cachedir: 2.3.0 - cz-conventional-changelog: 3.3.0(@types/node@22.3.0)(typescript@5.5.4) + cz-conventional-changelog: 3.3.0(@types/node@22.5.0)(typescript@5.5.4) dedent: 0.7.0 detect-indent: 6.1.0 find-node-modules: 2.1.3 @@ -5116,9 +5083,9 @@ snapshots: conventional-commit-types@3.0.0: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@22.3.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4): + cosmiconfig-typescript-loader@5.0.0(@types/node@22.5.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4): dependencies: - '@types/node': 22.3.0 + '@types/node': 22.5.0 cosmiconfig: 9.0.0(typescript@5.5.4) jiti: 1.21.6 typescript: 5.5.4 @@ -5176,16 +5143,16 @@ snapshots: csstype@3.1.3: {} - cz-conventional-changelog@3.3.0(@types/node@22.3.0)(typescript@5.5.4): + cz-conventional-changelog@3.3.0(@types/node@22.5.0)(typescript@5.5.4): dependencies: chalk: 2.4.2 - commitizen: 4.3.0(@types/node@22.3.0)(typescript@5.5.4) + commitizen: 4.3.0(@types/node@22.5.0)(typescript@5.5.4) conventional-commit-types: 3.0.0 lodash.map: 4.6.0 longest: 2.0.1 word-wrap: 1.2.5 optionalDependencies: - '@commitlint/load': 19.4.0(@types/node@22.3.0)(typescript@5.5.4) + '@commitlint/load': 19.4.0(@types/node@22.5.0)(typescript@5.5.4) transitivePeerDependencies: - '@types/node' - typescript @@ -5218,13 +5185,13 @@ snapshots: detect-indent@6.1.0: {} - diagram-js-direct-editing@3.0.1(diagram-js@14.8.0): + diagram-js-direct-editing@3.1.0(diagram-js@14.9.0): dependencies: - diagram-js: 14.8.0 + diagram-js: 14.9.0 min-dash: 4.2.1 min-dom: 4.2.1 - diagram-js@14.8.0: + diagram-js@14.9.0: dependencies: '@bpmn-io/diagram-js-ui': 0.2.3 clsx: 2.1.1 @@ -5298,7 +5265,7 @@ snapshots: dependencies: jake: 10.9.2 - electron-to-chromium@1.5.7: {} + electron-to-chromium@1.5.13: {} element-resize-detector@1.2.4: dependencies: @@ -5322,8 +5289,6 @@ snapshots: entities@4.5.0: {} - entities@5.0.0: {} - env-paths@2.2.1: {} environment@1.1.0: {} @@ -5507,18 +5472,6 @@ snapshots: events@3.3.0: {} - execa@5.1.1: - dependencies: - cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - execa@8.0.1: dependencies: cross-spawn: 7.0.3 @@ -5581,14 +5534,14 @@ snapshots: '@lezer/highlight': 1.2.1 '@lezer/lr': 1.4.2 '@lezer/markdown': 1.3.0 - feelin: 3.1.0 - lezer-feel: 1.2.9 + feelin: 3.1.2 + lezer-feel: 1.3.0 min-dom: 5.1.1 - feelin@3.1.0: + feelin@3.1.2: dependencies: '@lezer/lr': 1.4.2 - lezer-feel: 1.2.9 + lezer-feel: 1.3.0 luxon: 3.5.0 figures@3.2.0: @@ -5714,8 +5667,6 @@ snapshots: has-symbols: 1.0.3 hasown: 2.0.2 - get-stream@6.0.1: {} - get-stream@8.0.1: {} glob-parent@5.1.2: @@ -5838,11 +5789,9 @@ snapshots: human-id@1.0.2: {} - human-signals@2.1.0: {} - human-signals@5.0.0: {} - husky@9.1.4: {} + husky@9.1.5: {} iconv-lite@0.4.24: dependencies: @@ -5906,7 +5855,7 @@ snapshots: dependencies: binary-extensions: 2.3.0 - is-core-module@2.15.0: + is-core-module@2.15.1: dependencies: hasown: 2.0.2 @@ -5934,8 +5883,6 @@ snapshots: is-plain-object@5.0.0: {} - is-stream@2.0.1: {} - is-stream@3.0.0: {} is-subdir@1.2.0: @@ -5956,14 +5903,14 @@ snapshots: jake@10.9.2: dependencies: - async: 3.2.5 + async: 3.2.6 chalk: 4.1.2 filelist: 1.0.4 minimatch: 3.1.2 jest-worker@27.5.1: dependencies: - '@types/node': 22.3.0 + '@types/node': 22.5.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -6021,21 +5968,21 @@ snapshots: kolorist@1.8.0: {} - lang-feel@2.1.1: + lang-feel@2.2.0: dependencies: '@codemirror/autocomplete': 6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.32.0)(@lezer/common@1.2.1) '@codemirror/language': 6.10.2 '@codemirror/state': 6.4.1 '@codemirror/view': 6.32.0 '@lezer/common': 1.2.1 - lezer-feel: 1.2.9 + lezer-feel: 1.3.0 levn@0.4.1: dependencies: prelude-ls: 1.2.1 type-check: 0.4.0 - lezer-feel@1.2.9: + lezer-feel@1.3.0: dependencies: '@lezer/highlight': 1.2.1 '@lezer/lr': 1.4.2 @@ -6080,7 +6027,7 @@ snapshots: local-pkg@0.5.0: dependencies: mlly: 1.7.1 - pkg-types: 1.1.3 + pkg-types: 1.2.0 locate-path@5.0.0: dependencies: @@ -6209,7 +6156,7 @@ snapshots: dependencies: acorn: 8.12.1 pathe: 1.1.2 - pkg-types: 1.1.3 + pkg-types: 1.2.0 ufo: 1.5.4 moddle-xml@10.1.0: @@ -6252,10 +6199,6 @@ snapshots: normalize-path@3.0.0: {} - npm-run-path@4.0.1: - dependencies: - path-key: 3.1.1 - npm-run-path@5.3.0: dependencies: path-key: 4.0.0 @@ -6339,6 +6282,8 @@ snapshots: p-try@2.2.0: {} + package-manager-detector@0.1.2: {} + param-case@3.0.4: dependencies: dot-case: 3.0.4 @@ -6390,15 +6335,15 @@ snapshots: pify@4.0.1: {} - pinia-plugin-persistedstate@3.2.1(pinia@2.2.1(typescript@5.5.4)(vue@3.4.37(typescript@5.5.4))): + pinia-plugin-persistedstate@3.2.1(pinia@2.2.2(typescript@5.5.4)(vue@3.4.38(typescript@5.5.4))): dependencies: - pinia: 2.2.1(typescript@5.5.4)(vue@3.4.37(typescript@5.5.4)) + pinia: 2.2.2(typescript@5.5.4)(vue@3.4.38(typescript@5.5.4)) - pinia@2.2.1(typescript@5.5.4)(vue@3.4.37(typescript@5.5.4)): + pinia@2.2.2(typescript@5.5.4)(vue@3.4.38(typescript@5.5.4)): dependencies: '@vue/devtools-api': 6.6.3 - vue: 3.4.37(typescript@5.5.4) - vue-demi: 0.14.10(vue@3.4.37(typescript@5.5.4)) + vue: 3.4.38(typescript@5.5.4) + vue-demi: 0.14.10(vue@3.4.38(typescript@5.5.4)) optionalDependencies: typescript: 5.5.4 @@ -6406,7 +6351,7 @@ snapshots: dependencies: find-up: 4.1.0 - pkg-types@1.1.3: + pkg-types@1.2.0: dependencies: confbox: 0.1.7 mlly: 1.7.1 @@ -6481,7 +6426,7 @@ snapshots: dependencies: side-channel: 1.0.6 - quasar@2.16.8: {} + quasar@2.16.9: {} queue-microtask@1.2.3: {} @@ -6529,7 +6474,7 @@ snapshots: resolve@1.22.8: dependencies: - is-core-module: 2.15.0 + is-core-module: 2.15.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 @@ -6547,35 +6492,35 @@ snapshots: rfdc@1.4.1: {} - rollup-plugin-visualizer@5.12.0(rollup@4.20.0): + rollup-plugin-visualizer@5.12.0(rollup@4.21.0): dependencies: open: 8.4.2 picomatch: 2.3.1 source-map: 0.7.4 yargs: 17.7.2 optionalDependencies: - rollup: 4.20.0 + rollup: 4.21.0 - rollup@4.20.0: + rollup@4.21.0: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.20.0 - '@rollup/rollup-android-arm64': 4.20.0 - '@rollup/rollup-darwin-arm64': 4.20.0 - '@rollup/rollup-darwin-x64': 4.20.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 - '@rollup/rollup-linux-arm-musleabihf': 4.20.0 - '@rollup/rollup-linux-arm64-gnu': 4.20.0 - '@rollup/rollup-linux-arm64-musl': 4.20.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 - '@rollup/rollup-linux-riscv64-gnu': 4.20.0 - '@rollup/rollup-linux-s390x-gnu': 4.20.0 - '@rollup/rollup-linux-x64-gnu': 4.20.0 - '@rollup/rollup-linux-x64-musl': 4.20.0 - '@rollup/rollup-win32-arm64-msvc': 4.20.0 - '@rollup/rollup-win32-ia32-msvc': 4.20.0 - '@rollup/rollup-win32-x64-msvc': 4.20.0 + '@rollup/rollup-android-arm-eabi': 4.21.0 + '@rollup/rollup-android-arm64': 4.21.0 + '@rollup/rollup-darwin-arm64': 4.21.0 + '@rollup/rollup-darwin-x64': 4.21.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.0 + '@rollup/rollup-linux-arm-musleabihf': 4.21.0 + '@rollup/rollup-linux-arm64-gnu': 4.21.0 + '@rollup/rollup-linux-arm64-musl': 4.21.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.0 + '@rollup/rollup-linux-riscv64-gnu': 4.21.0 + '@rollup/rollup-linux-s390x-gnu': 4.21.0 + '@rollup/rollup-linux-x64-gnu': 4.21.0 + '@rollup/rollup-linux-x64-musl': 4.21.0 + '@rollup/rollup-win32-arm64-msvc': 4.21.0 + '@rollup/rollup-win32-ia32-msvc': 4.21.0 + '@rollup/rollup-win32-x64-msvc': 4.21.0 fsevents: 2.3.3 run-async@2.4.1: {} @@ -6728,8 +6673,6 @@ snapshots: strip-bom@4.0.0: {} - strip-final-newline@2.0.0: {} - strip-final-newline@3.0.0: {} strip-json-comments@3.1.1: {} @@ -6740,61 +6683,61 @@ snapshots: style-mod@4.1.2: {} - stylelint-config-html@1.1.0(postcss-html@1.7.0)(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-html@1.1.0(postcss-html@1.7.0)(stylelint@16.8.2(typescript@5.5.4)): dependencies: postcss-html: 1.7.0 - stylelint: 16.8.1(typescript@5.5.4) + stylelint: 16.8.2(typescript@5.5.4) - stylelint-config-prettier@9.0.5(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-prettier@9.0.5(stylelint@16.8.2(typescript@5.5.4)): dependencies: - stylelint: 16.8.1(typescript@5.5.4) + stylelint: 16.8.2(typescript@5.5.4) - stylelint-config-recess-order@5.0.1(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-recess-order@5.1.0(stylelint@16.8.2(typescript@5.5.4)): dependencies: - stylelint: 16.8.1(typescript@5.5.4) - stylelint-order: 6.0.4(stylelint@16.8.1(typescript@5.5.4)) + stylelint: 16.8.2(typescript@5.5.4) + stylelint-order: 6.0.4(stylelint@16.8.2(typescript@5.5.4)) - stylelint-config-recommended-scss@14.1.0(postcss@8.4.41)(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-recommended-scss@14.1.0(postcss@8.4.41)(stylelint@16.8.2(typescript@5.5.4)): dependencies: postcss-scss: 4.0.9(postcss@8.4.41) - stylelint: 16.8.1(typescript@5.5.4) - stylelint-config-recommended: 14.0.1(stylelint@16.8.1(typescript@5.5.4)) - stylelint-scss: 6.5.0(stylelint@16.8.1(typescript@5.5.4)) + stylelint: 16.8.2(typescript@5.5.4) + stylelint-config-recommended: 14.0.1(stylelint@16.8.2(typescript@5.5.4)) + stylelint-scss: 6.5.0(stylelint@16.8.2(typescript@5.5.4)) optionalDependencies: postcss: 8.4.41 - stylelint-config-recommended-vue@1.5.0(postcss-html@1.7.0)(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-recommended-vue@1.5.0(postcss-html@1.7.0)(stylelint@16.8.2(typescript@5.5.4)): dependencies: postcss-html: 1.7.0 semver: 7.6.3 - stylelint: 16.8.1(typescript@5.5.4) - stylelint-config-html: 1.1.0(postcss-html@1.7.0)(stylelint@16.8.1(typescript@5.5.4)) - stylelint-config-recommended: 14.0.1(stylelint@16.8.1(typescript@5.5.4)) + stylelint: 16.8.2(typescript@5.5.4) + stylelint-config-html: 1.1.0(postcss-html@1.7.0)(stylelint@16.8.2(typescript@5.5.4)) + stylelint-config-recommended: 14.0.1(stylelint@16.8.2(typescript@5.5.4)) - stylelint-config-recommended@14.0.1(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-recommended@14.0.1(stylelint@16.8.2(typescript@5.5.4)): dependencies: - stylelint: 16.8.1(typescript@5.5.4) + stylelint: 16.8.2(typescript@5.5.4) - stylelint-config-standard-scss@13.1.0(postcss@8.4.41)(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-standard-scss@13.1.0(postcss@8.4.41)(stylelint@16.8.2(typescript@5.5.4)): dependencies: - stylelint: 16.8.1(typescript@5.5.4) - stylelint-config-recommended-scss: 14.1.0(postcss@8.4.41)(stylelint@16.8.1(typescript@5.5.4)) - stylelint-config-standard: 36.0.1(stylelint@16.8.1(typescript@5.5.4)) + stylelint: 16.8.2(typescript@5.5.4) + stylelint-config-recommended-scss: 14.1.0(postcss@8.4.41)(stylelint@16.8.2(typescript@5.5.4)) + stylelint-config-standard: 36.0.1(stylelint@16.8.2(typescript@5.5.4)) optionalDependencies: postcss: 8.4.41 - stylelint-config-standard@36.0.1(stylelint@16.8.1(typescript@5.5.4)): + stylelint-config-standard@36.0.1(stylelint@16.8.2(typescript@5.5.4)): dependencies: - stylelint: 16.8.1(typescript@5.5.4) - stylelint-config-recommended: 14.0.1(stylelint@16.8.1(typescript@5.5.4)) + stylelint: 16.8.2(typescript@5.5.4) + stylelint-config-recommended: 14.0.1(stylelint@16.8.2(typescript@5.5.4)) - stylelint-order@6.0.4(stylelint@16.8.1(typescript@5.5.4)): + stylelint-order@6.0.4(stylelint@16.8.2(typescript@5.5.4)): dependencies: postcss: 8.4.41 postcss-sorting: 8.0.2(postcss@8.4.41) - stylelint: 16.8.1(typescript@5.5.4) + stylelint: 16.8.2(typescript@5.5.4) - stylelint-scss@6.5.0(stylelint@16.8.1(typescript@5.5.4)): + stylelint-scss@6.5.0(stylelint@16.8.2(typescript@5.5.4)): dependencies: css-tree: 2.3.1 is-plain-object: 5.0.0 @@ -6803,14 +6746,14 @@ snapshots: postcss-resolve-nested-selector: 0.1.6 postcss-selector-parser: 6.1.2 postcss-value-parser: 4.2.0 - stylelint: 16.8.1(typescript@5.5.4) + stylelint: 16.8.2(typescript@5.5.4) - stylelint@16.8.1(typescript@5.5.4): + stylelint@16.8.2(typescript@5.5.4): dependencies: - '@csstools/css-parser-algorithms': 2.7.1(@csstools/css-tokenizer@2.4.1) - '@csstools/css-tokenizer': 2.4.1 - '@csstools/media-query-list-parser': 2.1.13(@csstools/css-parser-algorithms@2.7.1(@csstools/css-tokenizer@2.4.1))(@csstools/css-tokenizer@2.4.1) - '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.1.2) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 + '@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/selector-specificity': 4.0.0(postcss-selector-parser@6.1.2) '@dual-bundle/import-meta-resolve': 4.1.0 balanced-match: 2.0.0 colord: 2.9.3 @@ -6842,7 +6785,7 @@ snapshots: resolve-from: 5.0.0 string-width: 4.2.3 strip-ansi: 7.1.0 - supports-hyperlinks: 3.0.0 + supports-hyperlinks: 3.1.0 svg-tags: 1.0.0 table: 6.8.2 write-file-atomic: 5.0.1 @@ -6862,7 +6805,7 @@ snapshots: dependencies: has-flag: 4.0.0 - supports-hyperlinks@3.0.0: + supports-hyperlinks@3.1.0: dependencies: has-flag: 4.0.0 supports-color: 7.2.0 @@ -6892,14 +6835,14 @@ snapshots: term-size@2.2.1: {} - terser-webpack-plugin@5.3.10(webpack@5.93.0): + terser-webpack-plugin@5.3.10(webpack@5.94.0): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.31.6 - webpack: 5.93.0 + webpack: 5.94.0 terser@5.31.6: dependencies: @@ -6914,7 +6857,7 @@ snapshots: tiny-svg@3.1.2: {} - tinyexec@0.1.4: {} + tinyexec@0.2.0: {} tmp@0.0.33: dependencies: @@ -6938,6 +6881,8 @@ snapshots: dependencies: prelude-ls: 1.2.1 + type-detect@4.1.0: {} + type-fest@0.20.2: {} type-fest@0.21.3: {} @@ -6948,11 +6893,11 @@ snapshots: ufo@1.5.4: {} - undici-types@6.18.2: {} + undici-types@6.19.8: {} - unimport@3.10.0(rollup@4.20.0): + unimport@3.11.0(rollup@4.21.0): dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.20.0) + '@rollup/pluginutils': 5.1.0(rollup@4.21.0) acorn: 8.12.1 escape-string-regexp: 5.0.0 estree-walker: 3.0.3 @@ -6961,10 +6906,10 @@ snapshots: magic-string: 0.30.11 mlly: 1.7.1 pathe: 1.1.2 - pkg-types: 1.1.3 + pkg-types: 1.2.0 scule: 1.3.0 strip-literal: 2.1.0 - unplugin: 1.12.1 + unplugin: 1.12.2 transitivePeerDependencies: - rollup @@ -6972,40 +6917,40 @@ snapshots: universalify@2.0.1: {} - unplugin-auto-import@0.18.2(@vueuse/core@10.11.1(vue@3.4.37(typescript@5.5.4)))(rollup@4.20.0): + unplugin-auto-import@0.18.2(@vueuse/core@11.0.1(vue@3.4.38(typescript@5.5.4)))(rollup@4.21.0): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.20.0) + '@rollup/pluginutils': 5.1.0(rollup@4.21.0) fast-glob: 3.3.2 local-pkg: 0.5.0 magic-string: 0.30.11 minimatch: 9.0.5 - unimport: 3.10.0(rollup@4.20.0) - unplugin: 1.12.1 + unimport: 3.11.0(rollup@4.21.0) + unplugin: 1.12.2 optionalDependencies: - '@vueuse/core': 10.11.1(vue@3.4.37(typescript@5.5.4)) + '@vueuse/core': 11.0.1(vue@3.4.38(typescript@5.5.4)) transitivePeerDependencies: - rollup - unplugin-icons@0.19.2(@vue/compiler-sfc@3.4.37)(vue-template-compiler@2.7.16): + unplugin-icons@0.19.2(@vue/compiler-sfc@3.4.38)(vue-template-compiler@2.7.16): dependencies: - '@antfu/install-pkg': 0.3.4 + '@antfu/install-pkg': 0.3.5 '@antfu/utils': 0.7.10 - '@iconify/utils': 2.1.30 + '@iconify/utils': 2.1.31 debug: 4.3.6 kolorist: 1.8.0 local-pkg: 0.5.0 - unplugin: 1.12.1 + unplugin: 1.12.2 optionalDependencies: - '@vue/compiler-sfc': 3.4.37 + '@vue/compiler-sfc': 3.4.38 vue-template-compiler: 2.7.16 transitivePeerDependencies: - supports-color - unplugin-vue-components@0.27.4(@babel/parser@7.25.3)(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4)): + unplugin-vue-components@0.27.4(@babel/parser@7.25.4)(rollup@4.21.0)(vue@3.4.38(typescript@5.5.4)): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.20.0) + '@rollup/pluginutils': 5.1.0(rollup@4.21.0) chokidar: 3.6.0 debug: 4.3.6 fast-glob: 3.3.2 @@ -7013,15 +6958,15 @@ snapshots: magic-string: 0.30.11 minimatch: 9.0.5 mlly: 1.7.1 - unplugin: 1.12.1 - vue: 3.4.37(typescript@5.5.4) + unplugin: 1.12.2 + vue: 3.4.38(typescript@5.5.4) optionalDependencies: - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 transitivePeerDependencies: - rollup - supports-color - unplugin@1.12.1: + unplugin@1.12.2: dependencies: acorn: 8.12.1 chokidar: 3.6.0 @@ -7040,20 +6985,20 @@ snapshots: util-deprecate@1.0.2: {} - vite-plugin-compression@0.5.1(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6)): + vite-plugin-compression@0.5.1(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6)): dependencies: chalk: 4.1.2 debug: 4.3.6 fs-extra: 10.1.0 - vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6) transitivePeerDependencies: - supports-color - vite-plugin-dts@4.0.3(@types/node@22.3.0)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6)): + vite-plugin-dts@4.0.3(@types/node@22.5.0)(rollup@4.21.0)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6)): dependencies: - '@microsoft/api-extractor': 7.47.4(@types/node@22.3.0) - '@rollup/pluginutils': 5.1.0(rollup@4.20.0) - '@volar/typescript': 2.3.4 + '@microsoft/api-extractor': 7.47.4(@types/node@22.5.0) + '@rollup/pluginutils': 5.1.0(rollup@4.21.0) + '@volar/typescript': 2.4.0 '@vue/language-core': 2.0.29(typescript@5.5.4) compare-versions: 6.1.1 debug: 4.3.6 @@ -7063,13 +7008,13 @@ snapshots: typescript: 5.5.4 vue-tsc: 2.0.29(typescript@5.5.4) optionalDependencies: - vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-plugin-html@3.2.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6)): + vite-plugin-html@3.2.2(vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6)): dependencies: '@rollup/pluginutils': 4.2.1 colorette: 2.0.20 @@ -7083,15 +7028,15 @@ snapshots: html-minifier-terser: 6.1.0 node-html-parser: 5.4.2 pathe: 0.2.0 - vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6) - vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)(terser@5.31.6): + vite@5.4.2(@types/node@22.5.0)(sass@1.77.8)(terser@5.31.6): dependencies: esbuild: 0.21.5 postcss: 8.4.41 - rollup: 4.20.0 + rollup: 4.21.0 optionalDependencies: - '@types/node': 22.3.0 + '@types/node': 22.5.0 fsevents: 2.3.3 sass: 1.77.8 terser: 5.31.6 @@ -7102,13 +7047,13 @@ snapshots: vue-cookies@1.8.4: {} - vue-demi@0.13.11(vue@3.4.37(typescript@5.5.4)): + vue-demi@0.13.11(vue@3.4.38(typescript@5.5.4)): dependencies: - vue: 3.4.37(typescript@5.5.4) + vue: 3.4.38(typescript@5.5.4) - vue-demi@0.14.10(vue@3.4.37(typescript@5.5.4)): + vue-demi@0.14.10(vue@3.4.38(typescript@5.5.4)): dependencies: - vue: 3.4.37(typescript@5.5.4) + vue: 3.4.38(typescript@5.5.4) vue-eslint-parser@9.4.3(eslint@9.9.0(jiti@1.21.6)): dependencies: @@ -7123,22 +7068,22 @@ snapshots: transitivePeerDependencies: - supports-color - vue-i18n@9.13.1(vue@3.4.37(typescript@5.5.4)): + vue-i18n@9.14.0(vue@3.4.38(typescript@5.5.4)): dependencies: - '@intlify/core-base': 9.13.1 - '@intlify/shared': 9.13.1 + '@intlify/core-base': 9.14.0 + '@intlify/shared': 9.14.0 '@vue/devtools-api': 6.6.3 - vue: 3.4.37(typescript@5.5.4) + vue: 3.4.38(typescript@5.5.4) - vue-router@4.4.3(vue@3.4.37(typescript@5.5.4)): + vue-router@4.4.3(vue@3.4.38(typescript@5.5.4)): dependencies: '@vue/devtools-api': 6.6.3 - vue: 3.4.37(typescript@5.5.4) + vue: 3.4.38(typescript@5.5.4) - vue-simple-uploader@1.0.3(vue@3.4.37(typescript@5.5.4)): + vue-simple-uploader@1.0.3(vue@3.4.38(typescript@5.5.4)): dependencies: simple-uploader.js: 0.6.0 - vue: 3.4.37(typescript@5.5.4) + vue: 3.4.38(typescript@5.5.4) vue-template-compiler@2.7.16: dependencies: @@ -7148,18 +7093,18 @@ snapshots: vue-tsc@2.0.29(typescript@5.5.4): dependencies: - '@volar/typescript': 2.4.0-alpha.18 + '@volar/typescript': 2.4.0 '@vue/language-core': 2.0.29(typescript@5.5.4) semver: 7.6.3 typescript: 5.5.4 - vue@3.4.37(typescript@5.5.4): + vue@3.4.38(typescript@5.5.4): dependencies: - '@vue/compiler-dom': 3.4.37 - '@vue/compiler-sfc': 3.4.37 - '@vue/runtime-dom': 3.4.37 - '@vue/server-renderer': 3.4.37(vue@3.4.37(typescript@5.5.4)) - '@vue/shared': 3.4.37 + '@vue/compiler-dom': 3.4.38 + '@vue/compiler-sfc': 3.4.38 + '@vue/runtime-dom': 3.4.38 + '@vue/server-renderer': 3.4.38(vue@3.4.38(typescript@5.5.4)) + '@vue/shared': 3.4.38 optionalDependencies: typescript: 5.5.4 @@ -7178,9 +7123,8 @@ snapshots: webpack-virtual-modules@0.6.2: {} - webpack@5.93.0: + webpack@5.94.0: dependencies: - '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.5 '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/wasm-edit': 1.12.1 @@ -7201,7 +7145,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(webpack@5.93.0) + terser-webpack-plugin: 5.3.10(webpack@5.94.0) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: diff --git a/shared/bpmn-designer/dist/index.es.mjs b/shared/bpmn-designer/dist/index.es.mjs index 56750737..69cec298 100644 --- a/shared/bpmn-designer/dist/index.es.mjs +++ b/shared/bpmn-designer/dist/index.es.mjs @@ -14557,26 +14557,29 @@ ContextPad.prototype._getPosition = function(target) { }; }; ContextPad.prototype._updatePosition = function() { - if (!this.isOpen()) { - return; - } - var html = this._current.html; - var position = this._getPosition(this._current.target); - if ("x" in position && "y" in position) { - html.style.left = position.x + "px"; - html.style.top = position.y + "px"; - } else { - [ - "top", - "right", - "bottom", - "left" - ].forEach(function(key) { - if (key in position) { - html.style[key] = position[key] + "px"; - } - }); - } + const updateFn = () => { + if (!this.isOpen()) { + return; + } + var html = this._current.html; + var position = this._getPosition(this._current.target); + if ("x" in position && "y" in position) { + html.style.left = position.x + "px"; + html.style.top = position.y + "px"; + } else { + [ + "top", + "right", + "bottom", + "left" + ].forEach(function(key) { + if (key in position) { + html.style[key] = position[key] + "px"; + } + }); + } + }; + this._scheduler.schedule(updateFn, "ContextPad#_updatePosition"); }; ContextPad.prototype._updateVisibility = function() { const updateFn = () => { diff --git a/shared/bpmn-designer/dist/index.umd.js b/shared/bpmn-designer/dist/index.umd.js index fc5e6241..a5ab4957 100644 --- a/shared/bpmn-designer/dist/index.umd.js +++ b/shared/bpmn-designer/dist/index.umd.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("quasar"),require("vue"),require("@herodotus/components"),require("@herodotus/bpmn-apis"),require("@herodotus/core"),require("bpmn-js-properties-panel"),require("bpmn-js-token-simulation"),require("ids"),require("diagram-js")):"function"==typeof define&&define.amd?define(["exports","quasar","vue","@herodotus/components","@herodotus/bpmn-apis","@herodotus/core","bpmn-js-properties-panel","bpmn-js-token-simulation","ids","diagram-js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@herodotus/bpmn-designer"]={},e.quasar,e.vue,e.HerodotusComponents,e.HerodotusBpmnApis,e.HerodotusCore,e.BpmnJsPropertiesPanel,e.BpmnJsTokenSimulation,e.Ids,e.DiagramJs)}(this,(function(e,t,n,i,r,o,a,s,c,l){"use strict";const p=n.defineComponent({name:"HBpmnDesignerToolbar",components:{HListItem:i.HListItem,HSwitch:i.HSwitch,HTextField:i.HTextField},props:{file:{type:String,required:!0},zoom:{type:Number,default:1}},emits:["update:file","downloadXml","downloadSvg","downloadBpmn","alignLeft","alignRight","alignTop","alignBottom","alignHorizontalCenter","alignVerticalCenter","zoomMinus","zoomPlus","zoomReset","undo","redo","refresh","simulation","save"],setup(e,{emit:t}){const i=n.ref(null),r=n.ref(!1),o=n.ref(!1),a=n.ref(""),s=n.computed({get:()=>e.file,set:e=>{t("update:file",e)}}),c=n.ref(""),l=n.ref(""),p=n.ref(!1),u=n.ref(!1),d=n.ref(!1);n.watch(i,(e=>{(async e=>{if(e){const t=await e.text();a.value=e.name,t&&(s.value=t)}else s.value=""})(e)})),n.watch((()=>a.value),(e=>{e&&(c.value=e,d.value=!0)}),{immediate:!0}),n.watch(u,(e=>{e&&(p.value=!0)}),{immediate:!0});return{bpmnModelFile:i,onDownloadXml:()=>{t("downloadXml")},onDownloadSvg:()=>{t("downloadSvg")},onDownloadBpmn:()=>{t("downloadBpmn")},onAlignLeft:()=>{t("alignLeft")},onAlignRight:()=>{t("alignRight")},onAlignTop:()=>{t("alignTop")},onAlignBottom:()=>{t("alignBottom")},onAlignHorizontalCenter:()=>{t("alignHorizontalCenter")},onAlignVerticalCenter:()=>{t("alignVerticalCenter")},onZoomMinus:()=>{t("zoomMinus")},onZoomPlus:()=>{t("zoomPlus")},onZoomReset:()=>{t("zoomReset")},onUndo:()=>{t("undo")},onRedo:()=>{t("redo")},onRefresh:()=>{t("refresh")},simulation:r,onSimulation:()=>{r.value=!r.value,t("simulation")},showUploadDialog:o,onSave:()=>{o.value=!1;const e={deploymentName:c.value,enableDuplicateFiltering:p.value,deployChangedOnly:u.value,resource:s.value};t("save",e)},name:a,deploymentName:c,tenantId:l,enableDuplicateCheck:p,deployChangedOnly:u,disableNameInput:d}}}),u=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},d=n.createElementVNode("div",{class:"text-h6"},"模型信息",-1);const h=u(p,[["render",function(e,i,r,o,a,s){const c=t.QIcon,l=t.QFile,p=t.QSeparator,u=n.resolveComponent("h-list-item"),h=t.QList,m=t.QBtnDropdown,f=n.resolveComponent("h-button"),g=t.QBtnGroup,y=t.QBtn,v=t.QCardSection,b=n.resolveComponent("h-text-field"),x=n.resolveComponent("h-switch"),_=t.QCardActions,w=t.QCard,E=t.QDialog,S=t.QToolbar,C=n.resolveDirective("close-popup");return n.openBlock(),n.createBlock(S,{class:"bg-primary text-white q-px-none"},{default:n.withCtx((()=>[n.createVNode(l,{modelValue:e.bpmnModelFile,"onUpdate:modelValue":i[0]||(i[0]=t=>e.bpmnModelFile=t),"label-color":"white","bg-color":"primary",square:"",standout:"",dense:"",clearable:"",label:"打开"},{prepend:n.withCtx((()=>[n.createVNode(c,{name:"mdi-folder-open",color:"white"})])),_:1},8,["modelValue"]),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(m,{stretch:"",flat:"",label:"下载",dense:"",icon:"mdi-download-box"},{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(u,{label:"下载为XML文件",icon:"mdi-xml",onClick:i[1]||(i[1]=t=>e.onDownloadXml())}),n.createVNode(u,{label:"下载为SVG文件",icon:"mdi-svg",onClick:i[2]||(i[2]=t=>e.onDownloadSvg())}),n.createVNode(u,{label:"下载为BPMN文件",icon:"mdi-codepen",onClick:i[3]||(i[3]=t=>e.onDownloadBpmn())})])),_:1})])),_:1})])),_:1}),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(m,{stretch:"",flat:"",label:"代码",dense:"",icon:"mdi-eye"},{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(u,{label:"预览XML",icon:"mdi-xml"}),n.createVNode(u,{label:"预览JSON",icon:"mdi-code-json"})])),_:1})])),_:1})])),_:1}),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(f,{stretch:"",flat:"",color:"primary",dense:"","text-color":"white",icon:e.simulation?"mdi-play-pause":"mdi-play",tooltip:e.simulation?"退出模拟":"开启模拟",label:e.simulation?"退出模拟":"开启模拟",onClick:i[4]||(i[4]=t=>e.onSimulation())},null,8,["icon","tooltip","label"]),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(f,{stretch:"",flat:"",color:"primary",dense:"","text-color":"white",icon:"mdi-cloud-upload",tooltip:"上传至服务器",label:"上传云端",onClick:i[5]||(i[5]=t=>e.showUploadDialog=!0)}),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(g,{class:"q-ml-sm"},{default:n.withCtx((()=>[n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-horizontal-left",tooltip:"向左对齐",onClick:i[6]||(i[6]=t=>e.onAlignLeft())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-horizontal-right",tooltip:"向右对齐",onClick:i[7]||(i[7]=t=>e.onAlignRight())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-vertical-top",tooltip:"向上对齐",onClick:i[8]||(i[8]=t=>e.onAlignTop())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-vertical-bottom",tooltip:"向下对齐",onClick:i[9]||(i[9]=t=>e.onAlignBottom())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-horizontal-center",tooltip:"水平居中",onClick:i[10]||(i[10]=t=>e.onAlignHorizontalCenter())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-vertical-center",tooltip:"垂直居中",onClick:i[11]||(i[11]=t=>e.onAlignVerticalCenter())})])),_:1}),n.createVNode(g,{class:"q-ml-xs"},{default:n.withCtx((()=>[n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-magnify-minus",tooltip:"缩小视图",disable:e.zoom<.2,onClick:i[12]||(i[12]=t=>e.onZoomMinus())},null,8,["disable"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(y,{color:"white","text-color":"grey-8",dense:"",class:"q-px-sm",label:Math.floor(10*e.zoom*10)+"%",disable:""},null,8,["label"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-magnify-plus",tooltip:"放大视图",disable:e.zoom>4,onClick:i[13]||(i[13]=t=>e.onZoomPlus())},null,8,["disable"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-magnify-scan",tooltip:"重置视图并居中",onClick:i[14]||(i[14]=t=>e.onZoomReset())})])),_:1}),n.createVNode(g,{class:"q-mx-xs"},{default:n.withCtx((()=>[n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-undo-variant",tooltip:"撤销",onClick:e.onUndo},null,8,["onClick"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-redo-variant",tooltip:"恢复",onClick:e.onRedo},null,8,["onClick"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-refresh",onClick:e.onRefresh},null,8,["onClick"])])),_:1}),n.createVNode(E,{modelValue:e.showUploadDialog,"onUpdate:modelValue":i[19]||(i[19]=t=>e.showUploadDialog=t)},{default:n.withCtx((()=>[n.createVNode(w,null,{default:n.withCtx((()=>[n.createVNode(v,null,{default:n.withCtx((()=>[d])),_:1}),n.createVNode(p),n.createVNode(v,{style:{"max-height":"50vh"},class:"scroll"},{default:n.withCtx((()=>[n.createVNode(b,{modelValue:e.deploymentName,"onUpdate:modelValue":i[15]||(i[15]=t=>e.deploymentName=t),label:"模型名称",placeholder:"请输入模型名称",disable:e.disableNameInput},null,8,["modelValue","disable"]),n.createVNode(x,{modelValue:e.enableDuplicateCheck,"onUpdate:modelValue":i[16]||(i[16]=t=>e.enableDuplicateCheck=t),label:"开启部署重复检查"},null,8,["modelValue"]),n.createVNode(x,{modelValue:e.deployChangedOnly,"onUpdate:modelValue":i[17]||(i[17]=t=>e.deployChangedOnly=t),label:"仅在模型存在变化时部署"},null,8,["modelValue"])])),_:1}),n.createVNode(p),n.createVNode(_,{align:"right"},{default:n.withCtx((()=>[n.withDirectives(n.createVNode(y,{label:"取消",color:"red"},null,512),[[C]]),n.createVNode(y,{label:"部署",color:"primary",onClick:i[18]||(i[18]=t=>e.onSave())})])),_:1})])),_:1})])),_:1},8,["modelValue"])])),_:1})}]]),m='\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n',f=(e,t)=>{const{warnings:n,message:i}=t;t(e,n,i)},g=(e,t)=>{if(e&&t){const n=document.createElement("a");n.download=t,n.href=e,n.click(),URL.revokeObjectURL(n.href)}},y=(e,t="diagram",n)=>({filename:`${t}.${e}`,href:`data:application/${"svg"===e?"text/xml":"bpmn20-xml"};charset=UTF-8,${encodeURIComponent(n)}`,data:n}),v={"Activate the create/remove space tool":"启动创建/删除空间工具","Activate the global connect tool":"启动全局连接工具","Activate the hand tool":"启动手动工具","Activate the lasso tool":"启动 Lasso 工具","Ad-hoc":"Ad-hoc子流程","Add Lane above":"添加到通道之上","Add Lane below":"添加到通道之下","Append compensation activity":"追加补偿活动","Append {type}":"追加 {type}","Business Rule Task":"规则任务","Call Activity":"引用流程","Cancel Boundary Event":"取消边界事件","Cancel End Event":"结束取消事件","Change type":"更改类型","Collapsed Pool":"折叠池","Compensation Boundary Event":"补偿边界事件","Compensation End Event":"结束补偿事件","Compensation Intermediate Throw Event":"中间补偿抛出事件","Compensation Start Event":"补偿启动事件","Complex Gateway":"复杂网关","Conditional Boundary Event (non-interrupting)":"条件边界事件 (非中断)","Conditional Boundary Event":"条件边界事件","Conditional Intermediate Catch Event":"中间条件捕获事件","Conditional Start Event (non-interrupting)":"条件启动事件 (非中断)","Conditional Start Event":"条件启动事件","Connect using Association":"文本关联","Connect using DataInputAssociation":"数据关联","Connect using Sequence/MessageFlow or Association":"消息关联","Create IntermediateThrowEvent/BoundaryEvent":"创建中间抛出/边界事件","Create Pool/Participant":"创建池/参与者","Create expanded SubProcess":"创建可折叠子流程","Create {type}":"创建 {type}","Divide into three Lanes":"分成三条通道","Divide into two Lanes":"分成两条通道","End Event":"结束事件","Error Boundary Event":"错误边界事件","Error End Event":"结束错误事件","Error Start Event":"错误启动事件","Escalation Boundary Event (non-interrupting)":"升级边界事件 (非中断)","Escalation Boundary Event":"升级边界事件","Escalation End Event":"结束升级事件","Escalation Intermediate Throw Event":"中间升级抛出事件","Escalation Start Event (non-interrupting)":"升级启动事件 (非中断)","Escalation Start Event":"升级启动事件","Event Sub Process":"事件子流程","Event based Gateway":"事件网关","Exclusive Gateway":"独占网关","Expanded Pool":"展开池","Inclusive Gateway":"包容网关","Intermediate Throw Event":"中间抛出事件","Link Intermediate Catch Event":"中间链接捕获事件","Link Intermediate Throw Event":"中间链接抛出事件",Loop:"循环","Manual Task":"手动任务","Message Boundary Event (non-interrupting)":"消息边界事件 (非中断)","Message Boundary Event":"消息边界事件","Message End Event":"结束消息事件","Message Intermediate Catch Event":"中间消息捕获事件","Message Intermediate Throw Event":"中间消息抛出事件","Message Start Event (non-interrupting)":"消息启动事件 (非中断)","Message Start Event":"消息启动事件","Parallel Gateway":"并行网关","Parallel Multi Instance":"并行多实例","Receive Task":"接受任务",Remove:"移除","Script Task":"脚本任务","Send Task":"发送任务","Sequential Multi Instance":"串行多实例","Service Task":"服务任务","Signal Boundary Event (non-interrupting)":"信号边界事件 (非中断)","Signal Boundary Event":"信号边界事件","Signal End Event":"结束信号事件","Signal Intermediate Catch Event":"中间信号捕获事件","Signal Intermediate Throw Event":"中间信号抛出事件","Signal Start Event (non-interrupting)":"信号启动事件 (非中断)","Signal Start Event":"信号启动事件","Start Event":"开始事件","Sub Process (collapsed)":"可折叠子流程","Sub Process (expanded)":"可展开子流程","Sub Process":"子流程",Task:"任务","Terminate End Event":"终止边界事件","Timer Boundary Event (non-interrupting)":"定时边界事件 (非中断)","Timer Boundary Event":"定时边界事件","Timer Intermediate Catch Event":"中间定时捕获事件","Timer Start Event (non-interrupting)":"定时启动事件 (非中断)","Timer Start Event":"定时启动事件",Transaction:"事务","User Task":"用户任务","already rendered {element}":"{element} 已呈现","diagram not part of bpmn:Definitions":"图表不是 bpmn:Definitions 的一部分","element required":"需要元素","element {element} referenced by {referenced}#{property} not yet drawn":"元素 {element} 的引用 {referenced}#{property} 尚未绘制","failed to import {element}":"{element} 导入失败","flow elements must be children of pools/participants":"元素必须是池/参与者的子级","more than {count} child lanes":"超过 {count} 条通道","no diagram to display":"没有要显示的图表","no parent for {element} in {parent}":"在 {element} 中没有父元素 {parent}","no process or collaboration to display":"没有可显示的流程或协作","no shape type specified":"未指定形状类型","out of bounds release":"越界释放","Asynchronous Continuations":"异步延续","Candidate starter":"候选发起人",create:"创建","Create new list item":"创建新列表项",Documentation:"文档",General:"常规","Execution listeners":"执行监听器","Extension properties":"扩展属性","External task":"外部任务",Forms:"表单","History cleanup":"历史清理",Inputs:"输入","Job execution":"调度执行",Outputs:"输出",Tasklist:"任务列表"};function b(e,t){t=t||{};return(e=v[e]||e).replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function x(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}function _(e){return Array.prototype.concat.apply([],e)}const w=Object.prototype.toString,E=Object.prototype.hasOwnProperty;function S(e){return void 0===e}function C(e){return void 0!==e}function k(e){return null==e}function A(e){return"[object Array]"===w.call(e)}function P(e){return"[object Object]"===w.call(e)}function R(e){return"[object Number]"===w.call(e)}function M(e){const t=w.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function T(e){return"[object String]"===w.call(e)}function D(e,t){return E.call(e,t)}function B(e,t){const n=Y(t);let i;return j(e,(function(e,t){if(n(e,t))return i=e,!1})),i}function N(e,t){const n=Y(t);let i=A(e)?-1:void 0;return j(e,(function(e,t){if(n(e,t))return i=t,!1})),i}function O(e,t){const n=Y(t);let i=[];return j(e,(function(e,t){n(e,t)&&i.push(e)})),i}function j(e,t){let n,i;if(S(e))return;const r=A(e)?Q:Z;for(let o in e)if(D(e,o)&&(n=e[o],i=t(n,r(o)),!1===i))return n}function L(e,t){if(S(e))return[];!function(e){if(!A(e))throw new Error("must supply array")}(e);const n=Y(t);return e.filter((function(e,t){return!n(e,t)}))}function I(e,t,n){return j(e,(function(e,i){n=t(n,e,i)})),n}function $(e,t){return!!I(e,(function(e,n,i){return e&&t(n,i)}),!0)}function z(e,t){return!!B(e,t)}function F(e,t){let n=[];return j(e,(function(e,i){n.push(t(e,i))})),n}function H(e){return e&&Object.keys(e)||[]}function V(e){return F(e,(e=>e))}function G(e,t,n={}){return t=X(t),j(e,(function(e){let i=t(e)||"_",r=n[i];r||(r=n[i]=[]),r.push(e)})),n}function W(e,...t){e=X(e);let n={};return j(t,(t=>G(t,e,n))),F(n,(function(e,t){return e[0]}))}const U=W;function q(e,t){t=X(t);let n=[];return j(e,(function(e,i){let r=t(e,i),o={d:r,v:e};for(var a=0;ae.v))}function K(e){return function(t){return $(e,(function(e,n){return t[n]===e}))}}function X(e){return M(e)?e:t=>t[e]}function Y(e){return M(e)?e:t=>t===e}function Z(e){return e}function Q(e){return Number(e)}function J(e,t){return e.bind(t)}function ee(e,...t){return Object.assign(e,...t)}function te(e,t){let n={},i=Object(e);return j(t,(function(t){t in i&&(n[t]=e[t])})),n}function ne(e,t){let n={};return j(Object(e),(function(e,i){-1===t.indexOf(i)&&(n[i]=e)})),n}function ie(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}const re=Object.prototype.toString,oe=Object.prototype.hasOwnProperty;function ae(e,t){return oe.call(e,t)}function se(e,t){let n,i;if(void 0===e)return;const r=function(e){return"[object Array]"===re.call(e)}(e)?le:ce;for(let o in e)if(ae(e,o)&&(n=e[o],i=t(n,r(o)),!1===i))return n}function ce(e){return e}function le(e){return Number(e)}function pe(e,...t){const n=e.style;return se(t,(function(e){e&&se(e,(function(e,t){n[t]=e}))})),e}function ue(e,t,n){return 2==arguments.length?e.getAttribute(t):null===n?e.removeAttribute(t):(e.setAttribute(t,n),e)}const de=Object.prototype.toString;function he(e){return new me(e)}function me(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}function fe(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}function ge(e,t,n){var i=n?e:e.parentNode;return i&&"function"==typeof i.closest&&i.closest(t)||null}me.prototype.add=function(e){return this.list.add(e),this},me.prototype.remove=function(e){return"[object RegExp]"==de.call(e)?this.removeMatching(e):(this.list.remove(e),this)},me.prototype.removeMatching=function(e){const t=this.array();for(let n=0;n
a',Ae=!Se.getElementsByTagName("link").length,Se=void 0);var Pe={legend:[1,"

","
"],tr:[2,"","
"],col:[2,"","
"],_default:Ae?[1,"X
","
"]:[0,"",""]};Pe.td=Pe.th=[3,"","
"],Pe.option=Pe.optgroup=[1,'"],Pe.thead=Pe.tbody=Pe.colgroup=Pe.caption=Pe.tfoot=[1,"","
"],Pe.polyline=Pe.ellipse=Pe.polygon=Pe.circle=Pe.text=Pe.line=Pe.path=Pe.rect=Pe.g=[1,'',""];var Re=ke;function Me(e,t){return e&&"function"==typeof e.matches&&e.matches(t)||!1}function Te(e,t){return(t=t||document).querySelector(e)}function De(e,t){return(t=t||document).querySelectorAll(e)}function Be(e){e.parentNode&&e.parentNode.removeChild(e)}function Ne(e,t){return function(e,t){t.appendChild(function(e,t){if(e.ownerDocument!==t.ownerDocument)try{return t.ownerDocument.importNode(e,!0)}catch(n){}return e}(e,t))}(t,e),e}var Oe=2,je={"alignment-baseline":1,"baseline-shift":1,clip:1,"clip-path":1,"clip-rule":1,color:1,"color-interpolation":1,"color-interpolation-filters":1,"color-profile":1,"color-rendering":1,cursor:1,direction:1,display:1,"dominant-baseline":1,"enable-background":1,fill:1,"fill-opacity":1,"fill-rule":1,filter:1,"flood-color":1,"flood-opacity":1,font:1,"font-family":1,"font-size":Oe,"font-size-adjust":1,"font-stretch":1,"font-style":1,"font-variant":1,"font-weight":1,"glyph-orientation-horizontal":1,"glyph-orientation-vertical":1,"image-rendering":1,kerning:1,"letter-spacing":1,"lighting-color":1,marker:1,"marker-end":1,"marker-mid":1,"marker-start":1,mask:1,opacity:1,overflow:1,"pointer-events":1,"shape-rendering":1,"stop-color":1,"stop-opacity":1,stroke:1,"stroke-dasharray":1,"stroke-dashoffset":1,"stroke-linecap":1,"stroke-linejoin":1,"stroke-miterlimit":1,"stroke-opacity":1,"stroke-width":Oe,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function Le(e,t,n){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=je[i];r?(r===Oe&&"number"==typeof n&&(n=String(n)+"px"),e.style[i]=n):e.setAttributeNS(null,t,n)}function Ie(e,t,n){if("string"==typeof t){if(void 0===n)return function(e,t){return je[t]?e.style[t]:e.getAttributeNS(null,t)}(e,t);Le(e,t,n)}else!function(e,t){var n,i,r=Object.keys(t);for(n=0;i=r[n];n++)Le(e,i,t[i])}(e,t);return e}const $e=Object.prototype.toString;function ze(e){return new Fe(e)}function Fe(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}function He(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}function Ve(e){return e.cloneNode(!0)}Fe.prototype.add=function(e){return this.list.add(e),this},Fe.prototype.remove=function(e){return"[object RegExp]"==$e.call(e)?this.removeMatching(e):(this.list.remove(e),this)},Fe.prototype.removeMatching=function(e){const t=this.array();for(let n=0;n"+e+"",t=!0);var n=function(e){var t;return(t=new DOMParser).async=!1,t.parseFromString(e,"text/xml")}(e);if(!t)return n;for(var i=document.createDocumentFragment(),r=n.firstChild;r.firstChild;)i.appendChild(r.firstChild);return i}function qe(e,t){var n;return"<"===(e=e.trim()).charAt(0)?(n=Ue(e).firstChild,n=document.importNode(n,!0)):n=document.createElementNS(Ge.svg,e),t&&Ie(n,t),n}var Ke=null;function Xe(e){return(null===Ke&&(Ke=qe("svg")),Ke).createSVGTransform()}var Ye=/([&<>]{1})/g,Ze=/([\n\r"]{1})/g,Qe={"&":"&","<":"<",">":">",'"':"'"};function Je(e,t){return e.replace(t,(function(e,t){return Qe[t]||t}))}function et(e,t){var n,i,r,o,a;switch(e.nodeType){case 3:t.push(Je(e.textContent,Ye));break;case 1:if(t.push("<",e.tagName),e.hasAttributes())for(n=0,i=(r=e.attributes).length;n"),n=0,i=(a=e.childNodes).length;n")}else t.push("/>");break;case 8:t.push("\x3c!--",Je(e.nodeValue,Ye),"--\x3e");break;case 4:t.push("");break;default:throw new Error("unable to handle node "+e.nodeType)}return t}function tt(e,t){return function(e){for(var t=e.firstChild,n=[];t;)et(t,n),t=t.nextSibling;return n.join("")}(e)}function nt(e){var t=e.parentNode;return t&&t.removeChild(e),e}function it(e,t){return t instanceof SVGMatrix?e.createSVGTransformFromMatrix(t):t}function rt(e,t){var n=e.transform.baseVal;return t&&(Array.isArray(t)||(t=[t]),function(e,t){var n,i;for(e.clear(),n=0;i=t[n];n++)e.appendItem(it(e,i))}(n,t)),n.consolidate()}function ot(){}function at(e,t){this.model=e,this.properties=t}ot.prototype.get=function(e){return this.$model.properties.get(this,e)},ot.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},at.prototype.createType=function(e){var t=this.model,n=this.properties,i=Object.create(ot.prototype);j(e.properties,(function(e){e.isMany||void 0===e.default||(i[e.name]=e.default)})),n.defineModel(i,t),n.defineDescriptor(i,e);var r=e.ns.name;function o(e){n.define(this,"$type",{value:r,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),j(e,J((function(e,t){this.set(t,e)}),this))}return o.prototype=i,o.hasType=i.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var st={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},ct={String:function(e){return e},Boolean:function(e){return"true"===e},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function lt(e,t){var n=ct[e];return n?n(t):t}function pt(e){return!!st[e]}function ut(e){return!!ct[e]}function dt(e,t){var n,i,r=e.split(/:/);if(1===r.length)n=e,i=t;else{if(2!==r.length)throw new Error("expected or , got "+e);n=r[1],i=r[0]}return{name:e=(i?i+":":"")+n,prefix:i,localName:n}}function ht(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function mt(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,j(e,J(this.registerPackage,this))}function ft(e,t,n){var i=t[n];if(i in e)throw new Error("package with "+n+" <"+i+"> already defined")}function gt(e){this.model=e}function yt(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function vt(e){return e.replace(/^:/,"")}function bt(e,t={}){this.properties=new gt(this),this.factory=new at(this,this.properties),this.registry=new mt(e,this.properties),this.typeCache={},this.config=t}ht.prototype.build=function(){return te(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},ht.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var i=this.properties;void 0!==t?i.splice(t,0,e):i.push(e)},ht.prototype.replaceProperty=function(e,t,n){var i=e.ns,r=this.properties,o=this.propertiesByName,a=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var s=r.indexOf(e);if(-1===s)throw new Error("property <"+i.name+"> not found in property list");r.splice(s,1),this.addProperty(t,n?void 0:s,a),o[i.name]=o[i.localName]=t},ht.prototype.redefineProperty=function(e,t,n){var i=e.ns.prefix,r=t.split("#"),o=dt(r[0],i),a=dt(r[1],o.prefix).name,s=this.propertiesByName[a];if(!s)throw new Error("refined property <"+a+"> not found");this.replaceProperty(s,e,n),delete e.redefines},ht.prototype.addNamedProperty=function(e,t){var n=e.ns,i=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),i[n.name]=i[n.localName]=e},ht.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},ht.prototype.setBodyProperty=function(e,t){if(t&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},ht.prototype.setIdProperty=function(e,t){if(t&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},ht.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},ht.prototype.assertNotDefined=function(e,t){var n=e.name,i=this.propertiesByName[n];if(i)throw new Error("property <"+n+"> already defined; override of <"+i.definedBy.ns.name+"#"+i.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},ht.prototype.hasProperty=function(e){return this.propertiesByName[e]},ht.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,i=this.allTypes,r=e.name;r in n||(j(e.properties,J((function(n){n=ee({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var i=n.replaces,r=n.redefines;i||r?this.redefineProperty(n,i||r,i):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),i.push(e),n[r]=e)},mt.prototype.getPackage=function(e){return this.packageMap[e]},mt.prototype.getPackages=function(){return this.packages},mt.prototype.registerPackage=function(e){e=ee({},e);var t=this.packageMap;ft(t,e,"prefix"),ft(t,e,"uri"),j(e.types,J((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},mt.prototype.registerType=function(e,t){var n=dt((e=ee({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:ee(e.meta||{})})).name,t.prefix),i=n.name,r={};j(e.properties,J((function(e){var t=dt(e.name,n.prefix),i=t.name;pt(e.type)||(e.type=dt(e.type,t.prefix).name),ee(e,{ns:t,name:i}),r[i]=e}),this)),ee(e,{ns:n,name:i,propertiesByName:r}),j(e.extends,J((function(e){var t=dt(e,n.prefix),r=this.typeMap[t.name];r.traits=r.traits||[],r.traits.push(i)}),this)),this.definePackage(e,t),this.typeMap[i]=e},mt.prototype.mapTypes=function(e,t,n){var i=pt(e.name)?{name:e.name}:this.typeMap[e.name],r=this;function o(n,i){var o=dt(n,pt(n)?"":e.prefix);r.mapTypes(o,t,i)}function a(e){return o(e,!0)}if(!i)throw new Error("unknown type <"+e.name+">");j(i.superClass,n?a:function(e){return o(e,!1)}),t(i,!n),j(i.traits,a)},mt.prototype.getEffectiveDescriptor=function(e){var t=dt(e),n=new ht(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var i=n.build();return this.definePackage(i,i.allTypes[i.allTypes.length-1].$pkg),i},mt.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},gt.prototype.set=function(e,t,n){if(!T(t)||!t.length)throw new TypeError("property name must be a non-empty string");var i=this.getProperty(e,t),r=i&&i.name;void 0===n?i?delete e[r]:delete e.$attrs[vt(t)]:i?r in e?e[r]=n:yt(e,i,n):e.$attrs[vt(t)]=n},gt.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[vt(t)];var i=n.name;return!e[i]&&n.isMany&&yt(e,n,[]),e[i]},gt.prototype.define=function(e,t,n){if(!n.writable){var i=n.value;delete(n=ee({},n,{get:function(){return i}})).value}Object.defineProperty(e,t,n)},gt.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},gt.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},gt.prototype.getProperty=function(e,t){var n=this.model,i=n.getPropertyDescriptor(e,t);if(i)return i;if(t.includes(":"))return null;const r=n.config.strict;if(void 0!==r){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(r)throw n}return null},bt.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},bt.prototype.getType=function(e){var t=this.typeCache,n=T(e)?e:e.ns.name,i=t[n];return i||(e=this.registry.getEffectiveDescriptor(n),i=t[n]=this.factory.createType(e)),i},bt.prototype.createAny=function(e,t,n){var i=dt(e),r={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){!function(e,t,n){let i=e;j(t,(function(e,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error("illegal key type: "+typeof e+". Key should be of type number or string.");if("constructor"===e)throw new Error("illegal key: constructor");if("__proto__"===e)throw new Error("illegal key: __proto__");let o=t[r+1],a=i[e];C(o)&&k(a)&&(a=i[e]=isNaN(+o)?{}:[]),S(o)?S(n)?delete i[e]:i[e]=n:i=a}))}(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:i.prefix,localName:i.localName,uri:t}};return this.properties.defineDescriptor(r,o),this.properties.defineModel(r,this),this.properties.define(r,"get",{enumerable:!1,writable:!0}),this.properties.define(r,"set",{enumerable:!1,writable:!0}),this.properties.define(r,"$parent",{enumerable:!1,writable:!0}),this.properties.define(r,"$instanceOf",{enumerable:!1,writable:!0}),j(n,(function(e,t){P(e)&&void 0!==e.value?r[e.name]=e.value:r[t]=e})),r},bt.prototype.getPackage=function(e){return this.registry.getPackage(e)},bt.prototype.getPackages=function(){return this.registry.getPackages()},bt.prototype.getElementDescriptor=function(e){return e.$descriptor},bt.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},bt.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},bt.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var xt=String.fromCharCode,_t=Object.prototype.hasOwnProperty,wt=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,Et={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function St(e,t,n,i){return i?_t.call(Et,i)?Et[i]:"&"+i+";":xt(t||parseInt(n,16))}function Ct(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(wt,St):e}Object.keys(Et).forEach((function(e){Et[e.toUpperCase()]=Et[e]}));var kt="xsi:type",At="non-whitespace outside of root node";function Pt(e){return new Error(e)}function Rt(e){return"missing namespace for prefix <"+e+">"}function Mt(e){return{get:e,enumerable:!0}}function Tt(e){var t,n={};for(t in e)n[t]=e[t];return n}function Dt(e){return e+"$uri"}function Bt(){return{line:0,column:0}}function Nt(e){throw e}function Ot(e){if(!this)return new Ot(e);var t,n,i,r,o,a,s,c,l,p=e&&e.proxy,u=Nt,d=Bt,h=!1,m=!1,f=null,g=!1;function y(e){e instanceof Error||(e=Pt(e)),f=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=Pt(e)),o(e,d))}this.on=function(e,l){if("function"!=typeof l)throw Pt("required args ");switch(e){case"openTag":n=l;break;case"text":t=l;break;case"closeTag":i=l;break;case"error":u=l;break;case"warn":o=l;break;case"cdata":r=l;break;case"attention":c=l;break;case"question":s=l;break;case"comment":a=l;break;default:throw Pt("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw Pt("required args ");var t,n={};for(t in e)n[t]=e[t];return n["http://www.w3.org/2001/XMLSchema-instance"]="xsi",m=!0,l=n,this},this.parse=function(e){if("string"!=typeof e)throw Pt("required args ");return f=null,function(e){var o,u,f,b,x,_,w,E,S,C,k,A=m?[]:null,P=m?function(e){var t,n,i={};for(t in e)i[n=e[t]]=n,i[Dt(n)]=t;return i}(l):null,R=[],M=0,T=!1,D=!1,B=0,N=0,O="",j=0;function L(){if(null!==k)return k;var e,t,n,i,r,o,a,s,c,p,u,d=m&&P.xmlns,f=m&&h?[]:null,g=j,y=O,b=y.length,x={},_={};e:for(;g8)){for((p<65||p>122||p>90&&p<97)&&95!==p&&58!==p&&(v("illegal first char attribute name"),c=!0),u=g+1;u96&&p<123||p>64&&p<91||p>47&&p<59||46===p||45===p||95===p)){if(32===p||p<14&&p>8){v("missing attribute value"),g=u;continue e}if(61===p)break;v("illegal attribute name char"),c=!0}if("xmlns:xmlns"===(s=y.substring(g,u))&&(v("illegal declaration of xmlns"),c=!0),34===(p=y.charCodeAt(u+1)))-1===(u=y.indexOf('"',g=u+2))&&-1!==(u=y.indexOf("'",g))&&(v("attribute value quote missmatch"),c=!0);else if(39===p)-1===(u=y.indexOf("'",g=u+2))&&-1!==(u=y.indexOf('"',g))&&(v("attribute value quote missmatch"),c=!0);else for(v("missing attribute value quotes"),c=!0,u+=1;u8);u++);for(-1===u&&(v("missing closing quotes"),u=b,c=!0),c||(o=y.substring(g,u)),g=u;u+18);u++)g===u&&(v("illegal character after attribute end"),c=!0);if(g=u+1,!c)if(s in _)v("attribute <"+s+"> already defined");else if(_[s]=!0,m)if(h){if(null!==(r="xmlns"===s?"xmlns":120===s.charCodeAt(0)&&"xmlns:"===s.substr(0,6)?s.substr(6):null)){if(e=Ct(o),t=Dt(r),!(a=l[e])){if("xmlns"===r||t in P&&P[t]!==e)do{a="ns"+M++}while(void 0!==P[a]);else a=r;l[e]=a}P[r]!==a&&(i||(P=Tt(P),i=!0),P[r]=a,"xmlns"===r&&(P[Dt(a)]=e,d=a),P[t]=e),x[s]=o;continue}f.push(s,o)}else-1!==(p=s.indexOf(":"))?(n=P[s.substring(0,p)])?((s=d===n?s.substr(p+1):n+s.substr(p))===kt&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=P[n]||n)+o.substring(p)):o=d+":"+o),x[s]=o):v(Rt(s.substring(0,p))):x[s]=o;else x[s]=o}if(h)for(g=0,b=f.length;g=a&&(t=i.exec(e))&&!((s=t[0].length+t.index)>B);)r+=1,a=s;return-1==B?(o=s,n=e.substring(N)):0===N?n=e.substring(N,B):(o=B-a,n=-1==N?e.substring(B):e.substring(B,N+1)),{data:n,line:r,column:o}}d=I,p&&(C=Object.create({},{name:Mt((function(){return E})),originalName:Mt((function(){return S})),attrs:Mt(L),ns:Mt((function(){return P}))}));for(;-1!==N;){if(-1===(B=60===e.charCodeAt(N)?N:e.indexOf("<",N)))return R.length?y("unexpected end of file"):0===N?y("missing start tag"):void(N",B)))return y("unclosed cdata");if(r&&(r(e.substring(B+9,N),d),g))return;N+=3;continue}if(45===b&&45===e.charCodeAt(B+3)){if(-1===(N=e.indexOf("--\x3e",B)))return y("unclosed comment");if(a&&(a(e.substring(B+4,N),Ct,d),g))return;N+=3;continue}}if(63!==x){for(u=B+1;;u++){if(_=e.charCodeAt(u),isNaN(_))return N=-1,y("unclosed tag");if(34===_)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===_)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===_){N=u;break}}if(33!==x){if(k={},47===x){if(T=!1,D=!0,!R.length)return y("missing open tag");if(u=E=R.pop(),b=B+2+u.length,e.substring(B+2,b)!==u)return y("closing tag mismatch");for(;b8&&x<14))return y("close tag")}else{if(47===e.charCodeAt(N-1)?(u=E=e.substring(B+1,N-1),T=!0,D=!0):(u=E=e.substring(B+1,N),T=!0,D=!1),!(x>96&&x<123||x>64&&x<91||95===x||58===x))return y("illegal first char nodeName");for(b=1,f=u.length;b96&&x<123||x>64&&x<91||x>47&&x<59||45===x||95===x||46==x)){if(32===x||x<14&&x>8){E=u.substring(0,b),k=null;break}return y("invalid nodeName")}D||R.push(E)}if(m){if(o=P,T&&(D||A.push(o),null===k&&(h=-1!==u.indexOf("xmlns",b))&&(j=b,O=u,L(),h=!1)),S=E,-1!==(x=E.indexOf(":"))){if(!(w=P[E.substring(0,x)]))return y("missing namespace on <"+S+">");E=E.substr(x+1)}else w=P.xmlns;w&&(E=w+":"+E)}if(T&&(j=b,O=u,n&&(p?n(C,Ct,D,d):n(E,L,Ct,D,d),g)))return;if(D){if(i&&(i(p?C:E,Ct,T,d),g))return;m&&(P=T?o:A.pop())}N+=1}else{if(c&&(c(e.substring(B,N+1),Ct,d),g))return;N+=1}}else{if(-1===(N=e.indexOf("?>",B)))return y("unclosed question");if(s&&(s(e.substring(B,N+2),d),g))return;N+=2}}}(e),d=Bt,g=!1,f},this.stop=function(){g=!0}}function jt(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var Lt={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},It="xsi:type";function $t(e){return e.xml&&e.xml.serialize}function zt(e){return $t(e)===It}function Ft(e,t){return jt(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function Ht(e){return new Error(e)}function Vt(e){return e.$descriptor}function Gt(e){ee(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(e){this.references.push(e)},this.addElement=function(e){if(!e)throw Ht("expected element");var t,n=this.elementsById,i=Vt(e).idProperty;if(i&&(t=e.get(i.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw Ht("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function Wt(){}function Ut(){}function qt(){}function Kt(e,t){this.property=e,this.context=t}function Xt(e,t){this.element=t,this.propertyDesc=e}function Yt(){}function Zt(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function Qt(e,t,n){Zt.call(this,e,t,n)}function Jt(e,t,n){this.model=e,this.context=n}function en(e){e instanceof bt&&(e={model:e}),ee(this,{lax:!1},e)}Wt.prototype.handleEnd=function(){},Wt.prototype.handleText=function(){},Wt.prototype.handleNode=function(){},Ut.prototype=Object.create(Wt.prototype),Ut.prototype.handleNode=function(){return this},qt.prototype=Object.create(Wt.prototype),qt.prototype.handleText=function(e){this.body=(this.body||"")+e},Kt.prototype=Object.create(qt.prototype),Kt.prototype.handleNode=function(e){if(this.element)throw Ht("expected no sub nodes");return this.element=this.createReference(e),this},Kt.prototype.handleEnd=function(){this.element.id=this.body},Kt.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},Xt.prototype=Object.create(qt.prototype),Xt.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=lt(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},Yt.prototype=Object.create(qt.prototype),Yt.prototype.handleNode=function(e){var t=this,n=this.element;return n?t=this.handleChild(e):(n=this.element=this.createElement(e),this.context.addElement(n)),t},Zt.prototype=Object.create(Yt.prototype),Zt.prototype.addReference=function(e){this.context.addReference(e)},Zt.prototype.handleText=function(e){if(!Vt(this.element).bodyProperty)throw Ht("unexpected body text <"+e+">");qt.prototype.handleText.call(this,e)},Zt.prototype.handleEnd=function(){var e=this.body,t=this.element,n=Vt(t).bodyProperty;n&&void 0!==e&&(e=lt(n.type,e),t.set(n.name,e))},Zt.prototype.createElement=function(e){var t,n=e.attributes,i=this.type,r=Vt(i),o=this.context,a=new i({}),s=this.model;return j(n,(function(e,n){var i=r.propertiesByName[n];i&&i.isReference?i.isMany?j(e.split(" "),(function(e){o.addReference({element:a,property:i.ns.name,id:e})})):o.addReference({element:a,property:i.ns.name,id:e}):(i?e=lt(i.type,e):"xmlns"!==n&&(t=dt(n,r.ns.prefix),s.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:a,property:n,value:e})),a.set(n,e))})),a},Zt.prototype.getPropertyForNode=function(e){var t,n,i=dt(e.name),r=this.type,o=this.model,a=Vt(r),s=i.name,c=a.propertiesByName[s];if(c&&!c.isAttr)return zt(c)&&(t=e.attributes[It])?(t=function(e,t){var n=dt(e);return function(e,t){var n=e.name,i=e.localName,r=t.xml&&t.xml.typePrefix;return r&&0===i.indexOf(r)?e.prefix+":"+i.slice(r.length):n}(n,t.getPackage(n.prefix))}(t,o),ee({},c,{effectiveType:Vt(n=o.getType(t)).name})):c;var l=o.getPackage(i.prefix);if(l){if(t=Ft(i,l),n=o.getType(t),c=B(a.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})))return ee({},c,{effectiveType:Vt(n).name})}else if(c=B(a.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})))return c;throw Ht("unrecognized element <"+i.name+">")},Zt.prototype.toString=function(){return"ElementDescriptor["+Vt(this.type).name+"]"},Zt.prototype.valueHandler=function(e,t){return new Xt(e,t)},Zt.prototype.referenceHandler=function(e){return new Kt(e,this.context)},Zt.prototype.handler=function(e){return"Element"===e?new Jt(this.model,e,this.context):new Zt(this.model,e,this.context)},Zt.prototype.handleChild=function(e){var t,n,i,r;if(t=this.getPropertyForNode(e),i=this.element,ut(n=t.effectiveType||t.type))return this.valueHandler(t,i);var o=(r=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?i.get(t.name).push(o):i.set(t.name,o),t.isReference?(ee(o,{element:i}),this.context.addReference(o)):o.$parent=i),r},Qt.prototype=Object.create(Zt.prototype),Qt.prototype.createElement=function(e){var t=e.name,n=dt(t),i=this.model,r=this.type,o=i.getPackage(n.prefix),a=o&&Ft(n,o)||t;if(!r.hasType(a))throw Ht("unexpected element <"+e.originalName+">");return Zt.prototype.createElement.call(this,e)},Jt.prototype=Object.create(Yt.prototype),Jt.prototype.createElement=function(e){var t=e.name,n=dt(t).prefix,i=e.ns[n+"$uri"],r=e.attributes;return this.model.createAny(t,i,r)},Jt.prototype.handleChild=function(e){var t=new Jt(this.model,"Element",this.context).handleNode(e),n=this.element,i=t.element;return void 0!==i&&((n.$children=n.$children||[]).push(i),i.$parent=n),t},Jt.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},en.prototype.fromXML=function(e,t,n){var i=t.rootHandler;t instanceof Zt?(i=t,t={}):"string"==typeof t?(i=this.handler(t),t={}):"string"==typeof i&&(i=this.handler(i));var r=this.model,o=this.lax,a=new Gt(ee({},t,{rootHandler:i})),s=new Ot({proxy:!0}),c=function(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}();function l(e,t,n){var i=t(),r=i.line,o=i.column,s=i.data;"<"===s.charAt(0)&&-1!==s.indexOf(" ")&&(s=s.slice(0,s.indexOf(" "))+">");var c="unparsable content "+(s?s+" ":"")+"detected\n\tline: "+r+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return a.addWarning({message:c,error:e}),!0;throw Ht(c)}function p(e,t){return l(e,t,!0)}i.context=a,c.push(i);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function m(e,t){try{c.peek().handleText(e)}catch(n){p(n,t)}}var f=r.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),{"http://www.w3.org/XML/1998/namespace":"xml"});return s.ns(f).on("openTag",(function(e,t,n,i){var r=e.attrs||{},a=Object.keys(r).reduce((function(e,n){var i=t(r[n]);return e[n]=i,e}),{});!function(e,t){var n=c.peek();try{c.push(n.handleNode(e))}catch(i){l(i,t,o)&&c.push(new Ut)}}({name:e.name,originalName:e.originalName,attributes:a,ns:e.ns},i)})).on("question",(function(e){if(u.test(e)){var t=d.exec(e),n=t&&t[1];n&&!h.test(n)&&a.addWarning({message:"unsupported document encoding <"+n+">, falling back to UTF-8"})}})).on("closeTag",(function(){c.pop().handleEnd()})).on("cdata",m).on("text",(function(e,t,n){!function(e,t){e.trim()&&m(e,t)}(t(e),n)})).on("error",l).on("warn",p),new Promise((function(t,n){var r;try{s.parse(e),function(){var e,t,n=a.elementsById,i=a.references;for(e=0;t=i[e];e++){var r=t.element,o=n[t.id],s=Vt(r).propertiesByName[t.property];if(o||a.addWarning({message:"unresolved reference <"+t.id+">",element:t.element,property:t.property,value:t.id}),s.isMany){var c=r.get(s.name),l=c.indexOf(t);-1===l&&(l=c.length),o?c[l]=o:c.splice(l,1)}else r.set(s.name,o)}}()}catch(u){r=u}var o=i.element;r||o||(r=Ht("failed to parse document as <"+i.type.$descriptor.name+">"));var c=a.warnings,l=a.references,p=a.elementsById;return r?(r.warnings=c,n(r)):t({rootElement:o,elementsById:p,references:l,warnings:c})}))},en.prototype.handler=function(e){return new Qt(this.model,e)};var tn=/<|>|'|"|&|\n\r|\n/g,nn=/<|>|&/g;function rn(e){var t={},n={},i={},r=[],o=[];this.byUri=function(t){return n[t]||e&&e.byUri(t)},this.add=function(e,t){n[e.uri]=e,t?r.push(e):o.push(e),this.mapPrefix(e.prefix,e.uri)},this.uriByPrefix=function(e){return t[e||"xmlns"]},this.mapPrefix=function(e,n){t[e||"xmlns"]=n},this.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},this.logUsed=function(t){var n=t.uri,r=this.getNSKey(t);i[r]=this.byUri(n),e&&e.logUsed(t)},this.getUsed=function(e){var t=this;return[].concat(r,o).filter((function(e){var n=t.getNSKey(e);return i[n]}))}}function on(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function an(e){return T(e)?e:(e.prefix?e.prefix+":":"")+e.localName}var sn={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},cn={"<":"lt",">":"gt","&":"amp"};function ln(e,t,n){return(e=T(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function pn(e){this.tagName=e}function un(){}function dn(e){this.tagName=e}function hn(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function mn(e,t){hn.call(this,e,t)}function fn(){this.value="",this.write=function(e){this.value+=e}}function gn(e,t){var n=[""];this.append=function(t){return e.write(t),this},this.appendNewLine=function(){return t&&e.write("\n"),this},this.appendIndent=function(){return t&&e.write(n.join(" ")),this},this.indent=function(){return n.push(""),this},this.unindent=function(){return n.pop(),this}}function yn(e){return e=ee({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var i=n||new fn,r=new gn(i,e.format);if(e.preamble&&r.append('\n'),(new hn).build(t).serializeTo(r),!n)return i.value}}}function vn(e,t){bt.call(this,e,t)}pn.prototype.build=function(e){return this.element=e,this},pn.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"").appendNewLine()},un.prototype.serializeValue=un.prototype.serializeTo=function(e){e.append(this.escape?ln(this.value,nn,cn):this.value)},un.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(nn)&&(this.escape=!0),this},on(dn,un),dn.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("").appendNewLine()},hn.prototype.build=function(e){this.element=e;var t,n,i=e.$descriptor,r=this.propertyDescriptor,o=i.isGeneric;return t=o?this.parseGeneric(e):this.parseNsAttributes(e),this.ns=r?this.nsPropertyTagName(r):this.nsTagName(i),this.tagName=this.addTagName(this.ns),o||(n=function(e){return O(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!D(e,n))return!1;var i=e[n];return i!==t.default&&null!==i&&(!t.isMany||i.length)}))}(e),this.parseAttributes(O(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return O(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},hn.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?ee({localName:t.ns.localName},e):ee({localName:(n=t.ns.localName,i=t.$pkg,jt(i)?(r=n).charAt(0).toLowerCase()+r.slice(1):n)},e);var n,i,r}(this.logNamespaceUsed(e.ns),e)},hn.prototype.nsPropertyTagName=function(e){return function(e,t){return ee({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},hn.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},hn.prototype.nsAttributeName=function(e){var t;if(t=T(e)?dt(e):e.ns,e.inherited)return{localName:t.localName};var n=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(n),this.isLocalNs(n)?{localName:t.localName}:ee({localName:t.localName},n)},hn.prototype.parseGeneric=function(e){var t=this,n=this.body,i=[];return j(e,(function(r,o){"$body"===o?n.push((new un).build({type:"String"},r)):"$children"===o?j(r,(function(e){n.push(new hn(t).build(e))})):0!==o.indexOf("$")&&t.parseNsAttribute(e,o,r)&&i.push({name:o,value:r})})),i},hn.prototype.parseNsAttribute=function(e,t,n){var i,r=e.$model,o=dt(t);if("xmlns"===o.prefix&&(i={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(i={uri:n}),!i)return{name:t,value:n};if(r&&r.getPackage(n))this.logNamespace(i,!0,!0);else{var a=this.logNamespaceUsed(i,!0);this.getNamespaces().logUsed(a)}},hn.prototype.parseNsAttributes=function(e,t){var n=this,i=e.$attrs,r=[];return j(i,(function(t,i){var o=n.parseNsAttribute(e,i,t);o&&r.push(o)})),r},hn.prototype.parseGenericAttributes=function(e,t){var n=this;j(t,(function(e){if(e.name!==It)try{n.addAttribute(n.nsAttributeName(e.name),e.value)}catch(t){}}))},hn.prototype.parseContainments=function(e){var t=this,n=this.body,i=this.element;j(e,(function(e){var r=i.get(e.name),o=e.isReference;if(e.isMany||(r=[r]),e.isBody)n.push((new un).build(e,r[0]));else if(ut(e.type))j(r,(function(i){n.push(new dn(t.addTagName(t.nsPropertyTagName(e))).build(e,i))}));else if(o)j(r,(function(i){n.push(new pn(t.addTagName(t.nsPropertyTagName(e))).build(i))}));else{var a=zt(e),s=function(e){return"property"===$t(e)}(e);j(r,(function(i){var r;r=a?new mn(t,e):s?new hn(t,e):new hn(t),n.push(r.build(i))}))}}))},hn.prototype.getNamespaces=function(e){var t,n=this.namespaces,i=this.parent;return n||(t=i&&i.getNamespaces(),e||!t?this.namespaces=n=new rn(t):n=t),n},hn.prototype.logNamespace=function(e,t,n){var i=this.getNamespaces(n),r=e.uri,o=e.prefix;return i.byUri(r)&&!n||i.add(e,t),i.mapPrefix(o,r),e},hn.prototype.logNamespaceUsed=function(e,t){var n,i,r,o=this.element.$model,a=this.getNamespaces(t),s=e.prefix,c=e.uri;if(!s&&!c)return{localName:e.localName};if(r=Lt[s]||o&&(o.getPackage(s)||{}).uri,!(c=c||r||a.uriByPrefix(s)))throw new Error("no namespace uri given for prefix <"+s+">");if(!(e=a.byUri(c))){for(n=s,i=1;a.uriByPrefix(n);)n=s+"_"+i++;e=this.logNamespace({prefix:n,uri:c},r===c)}return s&&a.mapPrefix(s,c),e},hn.prototype.parseAttributes=function(e){var t=this,n=this.element;j(e,(function(e){var i=n.get(e.name);if(e.isReference)if(e.isMany){var r=[];j(i,(function(e){r.push(e.id)})),i=r.join(" ")}else i=i.id;t.addAttribute(t.nsAttributeName(e),i)}))},hn.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),an(e)},hn.prototype.addAttribute=function(e,t){var n=this.attrs;T(t)&&(t=ln(t,tn,sn));var i=N(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),r={name:e,value:t};-1!==i?n.splice(i,1,r):n.push(r)},hn.prototype.serializeAttributes=function(e){var t=this.attrs,n=this.namespaces;n&&(t=function(e){return e.getUsed().filter((function(e){return"xml"!==e.prefix})).map((function(e){return{name:"xmlns"+(e.prefix?":"+e.prefix:""),value:e.uri}}))}(n).concat(t)),j(t,(function(t){e.append(" ").append(an(t.name)).append('="').append(t.value).append('"')}))},hn.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==un;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),j(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("")),e.appendNewLine()},on(mn,hn),mn.prototype.parseNsAttributes=function(e){var t=hn.prototype.parseNsAttributes.call(this,e),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var i=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var r=e.$model.getPackage(i.uri),o=r.xml&&r.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(It),(i.prefix?i.prefix+":":"")+o+n.ns.localName),t},mn.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},vn.prototype=Object.create(bt.prototype),vn.prototype.fromXML=function(e,t,n){T(t)||(n=t,t="bpmn:Definitions");var i=new en(ee({model:this,lax:!0},n)),r=i.handler(t);return i.fromXML(e,r)},vn.prototype.toXML=function(e,t){var n=new yn(t);return new Promise((function(t,i){try{return t({xml:n.toXML(e)})}catch(r){return i(r)}}))};var bn={bpmn:{name:"BPMN20",uri:"http://www.omg.org/spec/BPMN/20100524/MODEL",prefix:"bpmn",associations:[],types:[{name:"Interface",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"operations",type:"Operation",isMany:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"Operation",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"inMessageRef",type:"Message",isReference:!0},{name:"outMessageRef",type:"Message",isReference:!0},{name:"errorRef",type:"Error",isMany:!0,isReference:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"EndPoint",superClass:["RootElement"]},{name:"Auditing",superClass:["BaseElement"]},{name:"GlobalTask",superClass:["CallableElement"],properties:[{name:"resources",type:"ResourceRole",isMany:!0}]},{name:"Monitoring",superClass:["BaseElement"]},{name:"Performer",superClass:["ResourceRole"]},{name:"Process",superClass:["FlowElementsContainer","CallableElement"],properties:[{name:"processType",type:"ProcessType",isAttr:!0},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"properties",type:"Property",isMany:!0},{name:"laneSets",isMany:!0,replaces:"FlowElementsContainer#laneSets",type:"LaneSet"},{name:"flowElements",isMany:!0,replaces:"FlowElementsContainer#flowElements",type:"FlowElement"},{name:"artifacts",type:"Artifact",isMany:!0},{name:"resources",type:"ResourceRole",isMany:!0},{name:"correlationSubscriptions",type:"CorrelationSubscription",isMany:!0},{name:"supports",type:"Process",isMany:!0,isReference:!0},{name:"definitionalCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"isExecutable",isAttr:!0,type:"Boolean"}]},{name:"LaneSet",superClass:["BaseElement"],properties:[{name:"lanes",type:"Lane",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Lane",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"partitionElementRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"partitionElement",type:"BaseElement"},{name:"flowNodeRef",type:"FlowNode",isMany:!0,isReference:!0},{name:"childLaneSet",type:"LaneSet",xml:{serialize:"xsi:type"}}]},{name:"GlobalManualTask",superClass:["GlobalTask"]},{name:"ManualTask",superClass:["Task"]},{name:"UserTask",superClass:["Task"],properties:[{name:"renderings",type:"Rendering",isMany:!0},{name:"implementation",isAttr:!0,type:"String"}]},{name:"Rendering",superClass:["BaseElement"]},{name:"HumanPerformer",superClass:["Performer"]},{name:"PotentialOwner",superClass:["HumanPerformer"]},{name:"GlobalUserTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"renderings",type:"Rendering",isMany:!0}]},{name:"Gateway",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"gatewayDirection",type:"GatewayDirection",default:"Unspecified",isAttr:!0}]},{name:"EventBasedGateway",superClass:["Gateway"],properties:[{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"eventGatewayType",type:"EventBasedGatewayType",isAttr:!0,default:"Exclusive"}]},{name:"ComplexGateway",superClass:["Gateway"],properties:[{name:"activationCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ExclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"InclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ParallelGateway",superClass:["Gateway"]},{name:"RootElement",isAbstract:!0,superClass:["BaseElement"]},{name:"Relationship",superClass:["BaseElement"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"direction",type:"RelationshipDirection",isAttr:!0},{name:"source",isMany:!0,isReference:!0,type:"Element"},{name:"target",isMany:!0,isReference:!0,type:"Element"}]},{name:"BaseElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,type:"String",isId:!0},{name:"documentation",type:"Documentation",isMany:!0},{name:"extensionDefinitions",type:"ExtensionDefinition",isMany:!0,isReference:!0},{name:"extensionElements",type:"ExtensionElements"}]},{name:"Extension",properties:[{name:"mustUnderstand",default:!1,isAttr:!0,type:"Boolean"},{name:"definition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"extensionAttributeDefinitions",type:"ExtensionAttributeDefinition",isMany:!0}]},{name:"ExtensionAttributeDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"type",isAttr:!0,type:"String"},{name:"isReference",default:!1,isAttr:!0,type:"Boolean"},{name:"extensionDefinition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionElements",properties:[{name:"valueRef",isAttr:!0,isReference:!0,type:"Element"},{name:"values",type:"Element",isMany:!0},{name:"extensionAttributeDefinition",type:"ExtensionAttributeDefinition",isAttr:!0,isReference:!0}]},{name:"Documentation",superClass:["BaseElement"],properties:[{name:"text",type:"String",isBody:!0},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Event",isAbstract:!0,superClass:["FlowNode","InteractionNode"],properties:[{name:"properties",type:"Property",isMany:!0}]},{name:"IntermediateCatchEvent",superClass:["CatchEvent"]},{name:"IntermediateThrowEvent",superClass:["ThrowEvent"]},{name:"EndEvent",superClass:["ThrowEvent"]},{name:"StartEvent",superClass:["CatchEvent"],properties:[{name:"isInterrupting",default:!0,isAttr:!0,type:"Boolean"}]},{name:"ThrowEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"inputSet",type:"InputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"CatchEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"parallelMultiple",isAttr:!0,type:"Boolean",default:!1},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"outputSet",type:"OutputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"BoundaryEvent",superClass:["CatchEvent"],properties:[{name:"cancelActivity",default:!0,isAttr:!0,type:"Boolean"},{name:"attachedToRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"EventDefinition",isAbstract:!0,superClass:["RootElement"]},{name:"CancelEventDefinition",superClass:["EventDefinition"]},{name:"ErrorEventDefinition",superClass:["EventDefinition"],properties:[{name:"errorRef",type:"Error",isAttr:!0,isReference:!0}]},{name:"TerminateEventDefinition",superClass:["EventDefinition"]},{name:"EscalationEventDefinition",superClass:["EventDefinition"],properties:[{name:"escalationRef",type:"Escalation",isAttr:!0,isReference:!0}]},{name:"Escalation",properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"escalationCode",isAttr:!0,type:"String"}],superClass:["RootElement"]},{name:"CompensateEventDefinition",superClass:["EventDefinition"],properties:[{name:"waitForCompletion",isAttr:!0,type:"Boolean",default:!0},{name:"activityRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"TimerEventDefinition",superClass:["EventDefinition"],properties:[{name:"timeDate",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeCycle",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeDuration",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"LinkEventDefinition",superClass:["EventDefinition"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"target",type:"LinkEventDefinition",isReference:!0},{name:"source",type:"LinkEventDefinition",isMany:!0,isReference:!0}]},{name:"MessageEventDefinition",superClass:["EventDefinition"],properties:[{name:"messageRef",type:"Message",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"ConditionalEventDefinition",superClass:["EventDefinition"],properties:[{name:"condition",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"SignalEventDefinition",superClass:["EventDefinition"],properties:[{name:"signalRef",type:"Signal",isAttr:!0,isReference:!0}]},{name:"Signal",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ImplicitThrowEvent",superClass:["ThrowEvent"]},{name:"DataState",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"ItemAwareElement",superClass:["BaseElement"],properties:[{name:"itemSubjectRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"dataState",type:"DataState"}]},{name:"DataAssociation",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"ItemAwareElement",isMany:!0,isReference:!0},{name:"targetRef",type:"ItemAwareElement",isReference:!0},{name:"transformation",type:"FormalExpression",xml:{serialize:"property"}},{name:"assignment",type:"Assignment",isMany:!0}]},{name:"DataInput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"inputSetRef",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithOptional",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithWhileExecuting",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"DataOutput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"outputSetRef",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithOptional",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithWhileExecuting",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"InputSet",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"dataInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"optionalInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"whileExecutingInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"outputSetRefs",type:"OutputSet",isMany:!0,isReference:!0}]},{name:"OutputSet",superClass:["BaseElement"],properties:[{name:"dataOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"inputSetRefs",type:"InputSet",isMany:!0,isReference:!0},{name:"optionalOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"whileExecutingOutputRefs",type:"DataOutput",isMany:!0,isReference:!0}]},{name:"Property",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"DataInputAssociation",superClass:["DataAssociation"]},{name:"DataOutputAssociation",superClass:["DataAssociation"]},{name:"InputOutputSpecification",superClass:["BaseElement"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"inputSets",type:"InputSet",isMany:!0},{name:"outputSets",type:"OutputSet",isMany:!0}]},{name:"DataObject",superClass:["FlowElement","ItemAwareElement"],properties:[{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"}]},{name:"InputOutputBinding",properties:[{name:"inputDataRef",type:"InputSet",isAttr:!0,isReference:!0},{name:"outputDataRef",type:"OutputSet",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"Assignment",superClass:["BaseElement"],properties:[{name:"from",type:"Expression",xml:{serialize:"xsi:type"}},{name:"to",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"DataStore",superClass:["RootElement","ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"capacity",isAttr:!0,type:"Integer"},{name:"isUnlimited",default:!0,isAttr:!0,type:"Boolean"}]},{name:"DataStoreReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataStoreRef",type:"DataStore",isAttr:!0,isReference:!0}]},{name:"DataObjectReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataObjectRef",type:"DataObject",isAttr:!0,isReference:!0}]},{name:"ConversationLink",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ConversationAssociation",superClass:["BaseElement"],properties:[{name:"innerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0},{name:"outerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0}]},{name:"CallConversation",superClass:["ConversationNode"],properties:[{name:"calledCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"Conversation",superClass:["ConversationNode"]},{name:"SubConversation",superClass:["ConversationNode"],properties:[{name:"conversationNodes",type:"ConversationNode",isMany:!0}]},{name:"ConversationNode",isAbstract:!0,superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"messageFlowRefs",type:"MessageFlow",isMany:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0}]},{name:"GlobalConversation",superClass:["Collaboration"]},{name:"PartnerEntity",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"PartnerRole",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"CorrelationProperty",superClass:["RootElement"],properties:[{name:"correlationPropertyRetrievalExpression",type:"CorrelationPropertyRetrievalExpression",isMany:!0},{name:"name",isAttr:!0,type:"String"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Error",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"errorCode",isAttr:!0,type:"String"}]},{name:"CorrelationKey",superClass:["BaseElement"],properties:[{name:"correlationPropertyRef",type:"CorrelationProperty",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Expression",superClass:["BaseElement"],isAbstract:!1,properties:[{name:"body",isBody:!0,type:"String"}]},{name:"FormalExpression",superClass:["Expression"],properties:[{name:"language",isAttr:!0,type:"String"},{name:"evaluatesToTypeRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Message",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"itemRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"ItemDefinition",superClass:["RootElement"],properties:[{name:"itemKind",type:"ItemKind",isAttr:!0},{name:"structureRef",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"import",type:"Import",isAttr:!0,isReference:!0}]},{name:"FlowElement",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"categoryValueRef",type:"CategoryValue",isMany:!0,isReference:!0}]},{name:"SequenceFlow",superClass:["FlowElement"],properties:[{name:"isImmediate",isAttr:!0,type:"Boolean"},{name:"conditionExpression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"sourceRef",type:"FlowNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"FlowNode",isAttr:!0,isReference:!0}]},{name:"FlowElementsContainer",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"laneSets",type:"LaneSet",isMany:!0},{name:"flowElements",type:"FlowElement",isMany:!0}]},{name:"CallableElement",isAbstract:!0,superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"supportedInterfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"ioBinding",type:"InputOutputBinding",isMany:!0,xml:{serialize:"property"}}]},{name:"FlowNode",isAbstract:!0,superClass:["FlowElement"],properties:[{name:"incoming",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"outgoing",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"lanes",type:"Lane",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"CorrelationPropertyRetrievalExpression",superClass:["BaseElement"],properties:[{name:"messagePath",type:"FormalExpression"},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"CorrelationPropertyBinding",superClass:["BaseElement"],properties:[{name:"dataPath",type:"FormalExpression"},{name:"correlationPropertyRef",type:"CorrelationProperty",isAttr:!0,isReference:!0}]},{name:"Resource",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"resourceParameters",type:"ResourceParameter",isMany:!0}]},{name:"ResourceParameter",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isRequired",isAttr:!0,type:"Boolean"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"CorrelationSubscription",superClass:["BaseElement"],properties:[{name:"correlationKeyRef",type:"CorrelationKey",isAttr:!0,isReference:!0},{name:"correlationPropertyBinding",type:"CorrelationPropertyBinding",isMany:!0}]},{name:"MessageFlow",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"MessageFlowAssociation",superClass:["BaseElement"],properties:[{name:"innerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0},{name:"outerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0}]},{name:"InteractionNode",isAbstract:!0,properties:[{name:"incomingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0},{name:"outgoingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"Participant",superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"interfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"participantMultiplicity",type:"ParticipantMultiplicity"},{name:"endPointRefs",type:"EndPoint",isMany:!0,isReference:!0},{name:"processRef",type:"Process",isAttr:!0,isReference:!0}]},{name:"ParticipantAssociation",superClass:["BaseElement"],properties:[{name:"innerParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"outerParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"ParticipantMultiplicity",properties:[{name:"minimum",default:0,isAttr:!0,type:"Integer"},{name:"maximum",default:1,isAttr:!0,type:"Integer"}],superClass:["BaseElement"]},{name:"Collaboration",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"participants",type:"Participant",isMany:!0},{name:"messageFlows",type:"MessageFlow",isMany:!0},{name:"artifacts",type:"Artifact",isMany:!0},{name:"conversations",type:"ConversationNode",isMany:!0},{name:"conversationAssociations",type:"ConversationAssociation"},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0},{name:"messageFlowAssociations",type:"MessageFlowAssociation",isMany:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"choreographyRef",type:"Choreography",isMany:!0,isReference:!0},{name:"conversationLinks",type:"ConversationLink",isMany:!0}]},{name:"ChoreographyActivity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"loopType",type:"ChoreographyLoopType",default:"None",isAttr:!0}]},{name:"CallChoreography",superClass:["ChoreographyActivity"],properties:[{name:"calledChoreographyRef",type:"Choreography",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"SubChoreography",superClass:["ChoreographyActivity","FlowElementsContainer"],properties:[{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"ChoreographyTask",superClass:["ChoreographyActivity"],properties:[{name:"messageFlowRef",type:"MessageFlow",isMany:!0,isReference:!0}]},{name:"Choreography",superClass:["Collaboration","FlowElementsContainer"]},{name:"GlobalChoreographyTask",superClass:["Choreography"],properties:[{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"TextAnnotation",superClass:["Artifact"],properties:[{name:"text",type:"String"},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Group",superClass:["Artifact"],properties:[{name:"categoryValueRef",type:"CategoryValue",isAttr:!0,isReference:!0}]},{name:"Association",superClass:["Artifact"],properties:[{name:"associationDirection",type:"AssociationDirection",isAttr:!0},{name:"sourceRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"targetRef",type:"BaseElement",isAttr:!0,isReference:!0}]},{name:"Category",superClass:["RootElement"],properties:[{name:"categoryValue",type:"CategoryValue",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Artifact",isAbstract:!0,superClass:["BaseElement"]},{name:"CategoryValue",superClass:["BaseElement"],properties:[{name:"categorizedFlowElements",type:"FlowElement",isMany:!0,isVirtual:!0,isReference:!0},{name:"value",isAttr:!0,type:"String"}]},{name:"Activity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"isForCompensation",default:!1,isAttr:!0,type:"Boolean"},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"boundaryEventRefs",type:"BoundaryEvent",isMany:!0,isReference:!0},{name:"properties",type:"Property",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"startQuantity",default:1,isAttr:!0,type:"Integer"},{name:"resources",type:"ResourceRole",isMany:!0},{name:"completionQuantity",default:1,isAttr:!0,type:"Integer"},{name:"loopCharacteristics",type:"LoopCharacteristics"}]},{name:"ServiceTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"SubProcess",superClass:["Activity","FlowElementsContainer","InteractionNode"],properties:[{name:"triggeredByEvent",default:!1,isAttr:!0,type:"Boolean"},{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"LoopCharacteristics",isAbstract:!0,superClass:["BaseElement"]},{name:"MultiInstanceLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"isSequential",default:!1,isAttr:!0,type:"Boolean"},{name:"behavior",type:"MultiInstanceBehavior",default:"All",isAttr:!0},{name:"loopCardinality",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopDataInputRef",type:"ItemAwareElement",isReference:!0},{name:"loopDataOutputRef",type:"ItemAwareElement",isReference:!0},{name:"inputDataItem",type:"DataInput",xml:{serialize:"property"}},{name:"outputDataItem",type:"DataOutput",xml:{serialize:"property"}},{name:"complexBehaviorDefinition",type:"ComplexBehaviorDefinition",isMany:!0},{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"oneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0},{name:"noneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0}]},{name:"StandardLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"testBefore",default:!1,isAttr:!0,type:"Boolean"},{name:"loopCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopMaximum",type:"Integer",isAttr:!0}]},{name:"CallActivity",superClass:["Activity","InteractionNode"],properties:[{name:"calledElement",type:"String",isAttr:!0}]},{name:"Task",superClass:["Activity","InteractionNode"]},{name:"SendTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ReceiveTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ScriptTask",superClass:["Task"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"script",type:"String"}]},{name:"BusinessRuleTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"AdHocSubProcess",superClass:["SubProcess"],properties:[{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"ordering",type:"AdHocOrdering",isAttr:!0},{name:"cancelRemainingInstances",default:!0,isAttr:!0,type:"Boolean"}]},{name:"Transaction",superClass:["SubProcess"],properties:[{name:"protocol",isAttr:!0,type:"String"},{name:"method",isAttr:!0,type:"String"}]},{name:"GlobalScriptTask",superClass:["GlobalTask"],properties:[{name:"scriptLanguage",isAttr:!0,type:"String"},{name:"script",isAttr:!0,type:"String"}]},{name:"GlobalBusinessRuleTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"ComplexBehaviorDefinition",superClass:["BaseElement"],properties:[{name:"condition",type:"FormalExpression"},{name:"event",type:"ImplicitThrowEvent"}]},{name:"ResourceRole",superClass:["BaseElement"],properties:[{name:"resourceRef",type:"Resource",isReference:!0},{name:"resourceParameterBindings",type:"ResourceParameterBinding",isMany:!0},{name:"resourceAssignmentExpression",type:"ResourceAssignmentExpression"},{name:"name",isAttr:!0,type:"String"}]},{name:"ResourceParameterBinding",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"parameterRef",type:"ResourceParameter",isAttr:!0,isReference:!0}],superClass:["BaseElement"]},{name:"ResourceAssignmentExpression",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}}],superClass:["BaseElement"]},{name:"Import",properties:[{name:"importType",isAttr:!0,type:"String"},{name:"location",isAttr:!0,type:"String"},{name:"namespace",isAttr:!0,type:"String"}]},{name:"Definitions",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"targetNamespace",isAttr:!0,type:"String"},{name:"expressionLanguage",default:"http://www.w3.org/1999/XPath",isAttr:!0,type:"String"},{name:"typeLanguage",default:"http://www.w3.org/2001/XMLSchema",isAttr:!0,type:"String"},{name:"imports",type:"Import",isMany:!0},{name:"extensions",type:"Extension",isMany:!0},{name:"rootElements",type:"RootElement",isMany:!0},{name:"diagrams",isMany:!0,type:"bpmndi:BPMNDiagram"},{name:"exporter",isAttr:!0,type:"String"},{name:"relationships",type:"Relationship",isMany:!0},{name:"exporterVersion",isAttr:!0,type:"String"}]}],enumerations:[{name:"ProcessType",literalValues:[{name:"None"},{name:"Public"},{name:"Private"}]},{name:"GatewayDirection",literalValues:[{name:"Unspecified"},{name:"Converging"},{name:"Diverging"},{name:"Mixed"}]},{name:"EventBasedGatewayType",literalValues:[{name:"Parallel"},{name:"Exclusive"}]},{name:"RelationshipDirection",literalValues:[{name:"None"},{name:"Forward"},{name:"Backward"},{name:"Both"}]},{name:"ItemKind",literalValues:[{name:"Physical"},{name:"Information"}]},{name:"ChoreographyLoopType",literalValues:[{name:"None"},{name:"Standard"},{name:"MultiInstanceSequential"},{name:"MultiInstanceParallel"}]},{name:"AssociationDirection",literalValues:[{name:"None"},{name:"One"},{name:"Both"}]},{name:"MultiInstanceBehavior",literalValues:[{name:"None"},{name:"One"},{name:"All"},{name:"Complex"}]},{name:"AdHocOrdering",literalValues:[{name:"Parallel"},{name:"Sequential"}]}],xml:{tagAlias:"lowerCase",typePrefix:"t"}},bpmndi:{name:"BPMNDI",uri:"http://www.omg.org/spec/BPMN/20100524/DI",prefix:"bpmndi",types:[{name:"BPMNDiagram",properties:[{name:"plane",type:"BPMNPlane",redefines:"di:Diagram#rootElement"},{name:"labelStyle",type:"BPMNLabelStyle",isMany:!0}],superClass:["di:Diagram"]},{name:"BPMNPlane",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"}],superClass:["di:Plane"]},{name:"BPMNShape",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"isHorizontal",isAttr:!0,type:"Boolean"},{name:"isExpanded",isAttr:!0,type:"Boolean"},{name:"isMarkerVisible",isAttr:!0,type:"Boolean"},{name:"label",type:"BPMNLabel"},{name:"isMessageVisible",isAttr:!0,type:"Boolean"},{name:"participantBandKind",type:"ParticipantBandKind",isAttr:!0},{name:"choreographyActivityShape",type:"BPMNShape",isAttr:!0,isReference:!0}],superClass:["di:LabeledShape"]},{name:"BPMNEdge",properties:[{name:"label",type:"BPMNLabel"},{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"sourceElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#source"},{name:"targetElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#target"},{name:"messageVisibleKind",type:"MessageVisibleKind",isAttr:!0,default:"initiating"}],superClass:["di:LabeledEdge"]},{name:"BPMNLabel",properties:[{name:"labelStyle",type:"BPMNLabelStyle",isAttr:!0,isReference:!0,redefines:"di:DiagramElement#style"}],superClass:["di:Label"]},{name:"BPMNLabelStyle",properties:[{name:"font",type:"dc:Font"}],superClass:["di:Style"]}],enumerations:[{name:"ParticipantBandKind",literalValues:[{name:"top_initiating"},{name:"middle_initiating"},{name:"bottom_initiating"},{name:"top_non_initiating"},{name:"middle_non_initiating"},{name:"bottom_non_initiating"}]},{name:"MessageVisibleKind",literalValues:[{name:"initiating"},{name:"non_initiating"}]}],associations:[]},dc:{name:"DC",uri:"http://www.omg.org/spec/DD/20100524/DC",prefix:"dc",types:[{name:"Boolean"},{name:"Integer"},{name:"Real"},{name:"String"},{name:"Font",properties:[{name:"name",type:"String",isAttr:!0},{name:"size",type:"Real",isAttr:!0},{name:"isBold",type:"Boolean",isAttr:!0},{name:"isItalic",type:"Boolean",isAttr:!0},{name:"isUnderline",type:"Boolean",isAttr:!0},{name:"isStrikeThrough",type:"Boolean",isAttr:!0}]},{name:"Point",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0}]},{name:"Bounds",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0},{name:"width",type:"Real",isAttr:!0},{name:"height",type:"Real",isAttr:!0}]}],associations:[]},di:{name:"DI",uri:"http://www.omg.org/spec/DD/20100524/DI",prefix:"di",types:[{name:"DiagramElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"extension",type:"Extension"},{name:"owningDiagram",type:"Diagram",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"owningElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"modelElement",isReadOnly:!0,isVirtual:!0,isReference:!0,type:"Element"},{name:"style",type:"Style",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"ownedElement",type:"DiagramElement",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Node",isAbstract:!0,superClass:["DiagramElement"]},{name:"Edge",isAbstract:!0,superClass:["DiagramElement"],properties:[{name:"source",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"target",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"waypoint",isUnique:!1,isMany:!0,type:"dc:Point",xml:{serialize:"xsi:type"}}]},{name:"Diagram",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"rootElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0},{name:"name",isAttr:!0,type:"String"},{name:"documentation",isAttr:!0,type:"String"},{name:"resolution",isAttr:!0,type:"Real"},{name:"ownedStyle",type:"Style",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Shape",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Plane",isAbstract:!0,superClass:["Node"],properties:[{name:"planeElement",type:"DiagramElement",subsettedProperty:"DiagramElement-ownedElement",isMany:!0}]},{name:"LabeledEdge",isAbstract:!0,superClass:["Edge"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"LabeledShape",isAbstract:!0,superClass:["Shape"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"Label",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Style",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"}]},{name:"Extension",properties:[{name:"values",isMany:!0,type:"Element"}]}],associations:[],xml:{tagAlias:"lowerCase"}},bioc:{name:"bpmn.io colors for BPMN",uri:"http://bpmn.io/schema/bpmn/biocolor/1.0",prefix:"bioc",types:[{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]}],enumerations:[],associations:[]},color:{name:"BPMN in Color",uri:"http://www.omg.org/spec/BPMN/non-normative/color/1.0",prefix:"color",types:[{name:"ColoredLabel",extends:["bpmndi:BPMNLabel"],properties:[{name:"color",isAttr:!0,type:"String"}]},{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"background-color",isAttr:!0,type:"String"},{name:"border-color",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"border-color",isAttr:!0,type:"String"}]}],enumerations:[],associations:[]}};function xn(e,t){return new vn(ee({},bn,e),t)}function _n(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':""}var wn="Tried to access di from the businessObject. The di is available through the diagram element only. For more information, see https://github.com/bpmn-io/bpmn-js/issues/1472";function En(e){D(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(wn)}})}function Sn(e,t){return e.$instanceOf(t)}function Cn(e){var t={},n=[],i={};function r(e,t){return function(n){e(n,t)}}function o(e){t[e.id]=e}function a(t,n){try{var r=i[t.id]&&function(t,n){if(t.gfx)throw new Error(`already rendered ${_n(t)}`);return e.element(t,i[t.id],n)}(t,n);return o(t),r}catch(a){s(a.message,{element:t,error:a})}}function s(t,n){e.error(t,n)}var c=this.registerDi=function(e){var t=e.bpmnElement;t?i[t.id]?s(`multiple DI elements defined for ${_n(t)}`,{element:t}):(i[t.id]=e,En(t)):s(`no bpmnElement referenced in ${_n(e)}`,{element:e})};function l(e){var t;t=e.plane,c(t),j(t.planeElement,p)}function p(e){c(e)}this.handleDefinitions=function(o,a){var p=o.diagrams;if(a&&-1===p.indexOf(a))throw new Error("diagram not part of ");if(!a&&p&&p.length&&(a=p[0]),!a)throw new Error("no diagram to display");i={},l(a);var m=a.plane;if(!m)throw new Error(`no plane for ${_n(a)}`);var f=m.bpmnElement;if(!f){if(f=function(e){return B(e.rootElements,(function(e){return Sn(e,"bpmn:Process")||Sn(e,"bpmn:Collaboration")}))}(o),!f)throw new Error("no process or collaboration to display");s(`correcting missing bpmnElement on ${_n(m)} to ${_n(f)}`),m.bpmnElement=f,c(m)}var g,y,b=function(t,n){return e.root(t,i[t.id],n)}(f,m);if(Sn(f,"bpmn:Process")||Sn(f,"bpmn:SubProcess"))d(f,b);else{if(!Sn(f,"bpmn:Collaboration"))throw new Error(`unsupported bpmnElement for ${_n(m)}: ${_n(f)}`);y=b,j((g=f).participants,r(k,y)),v(g.artifacts,y),n.push((function(){!function(e,t){j(e,r(h,t))}(g.messageFlows,y)})),function(e,n){O(e,(function(e){return!t[e.id]&&Sn(e,"bpmn:Process")&&e.laneSets})).forEach(r(d,n))}(o.rootElements,b)}u(n)};var u=this.handleDeferred=function(){for(;n.length;)n.shift()()};function d(e,t){C(e,t),b(e.ioSpecification,t),v(e.artifacts,t),o(e)}function h(e,t){a(e,t)}function m(e,t){a(e,t)}function f(e,t){a(e,t)}function g(e,t){a(e,t)}function y(e,t){a(e,t)}function v(e,t){j(e,(function(e){Sn(e,"bpmn:Association")?n.push((function(){y(e,t)})):y(e,t)}))}function b(e,t){e&&(j(e.dataInputs,r(f,t)),j(e.dataOutputs,r(g,t)))}var x=this.handleSubProcess=function(e,t){C(e,t),v(e.artifacts,t)};function _(e,t){var i=a(e,t);Sn(e,"bpmn:SubProcess")&&x(e,i||t),Sn(e,"bpmn:Activity")&&b(e.ioSpecification,t),n.push((function(){j(e.dataInputAssociations,r(m,t)),j(e.dataOutputAssociations,r(m,t))}))}function w(e,t){a(e,t)}function E(e,t){n.push((function(){var n=a(e,t);e.childLaneSet&&S(e.childLaneSet,n||t),function(e){j(e.flowNodeRef,(function(t){var n=t.get("lanes");n&&n.push(e)}))}(e)}))}function S(e,t){j(e.lanes,r(E,t))}function C(e,t){!function(e,t){j(e,(function(e){Sn(e,"bpmn:SequenceFlow")?n.push((function(){!function(e,t){a(e,t)}(e,t)})):Sn(e,"bpmn:BoundaryEvent")?n.unshift((function(){_(e,t)})):Sn(e,"bpmn:FlowNode")?_(e,t):Sn(e,"bpmn:DataObject")||(Sn(e,"bpmn:DataStoreReference")||Sn(e,"bpmn:DataObjectReference")?w(e,t):s(`unrecognized flowElement ${_n(e)} in context ${_n(t&&t.businessObject)}`,{element:e,context:t}))}))}(e.flowElements,t),e.laneSets&&function(e,t){j(e,r(S,t))}(e.laneSets,t)}function k(e,t){var n=a(e,t),i=e.processRef;i&&d(i,n||t)}}function kn(e,t){var n=Pn(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}function An(e,t){return z(t,(function(t){return kn(e,t)}))}function Pn(e){return e&&e.businessObject||e}function Rn(e){return e&&e.di}function Mn(e,t,n){var i,r,o,a=[];function s(e,t){var n=new Cn({root:function(e,t){return i.add(e,t)},element:function(e,t,n){return i.add(e,t,n)},error:function(e,t){a.push({message:e,context:t})}});t=t||e.diagrams&&e.diagrams[0];var r=function(e,t){if(!t||!t.plane)return;var n,i=t.plane.bpmnElement,r=i;kn(i,"bpmn:Process")||kn(i,"bpmn:Collaboration")||(r=function(e){var t=e;for(;t;){if(kn(t,"bpmn:Process"))return t;t=t.$parent}}(i));n=kn(r,"bpmn:Collaboration")?r:B(e.rootElements,(function(e){if(kn(e,"bpmn:Collaboration"))return B(e.participants,(function(e){return e.processRef===r}))}));var o=[r];n&&(o=F(n.participants,(function(e){return e.processRef}))).push(n);var a=Tn(o),s=[t],c=[i];return j(e.diagrams,(function(e){if(e.plane){var t=e.plane.bpmnElement;-1!==a.indexOf(t)&&-1===c.indexOf(t)&&(s.push(e),c.push(t))}})),s}(e,t);if(!r)throw new Error("no diagram to display");j(r,(function(t){n.handleDefinitions(e,t)}));var s=t.plane.bpmnElement.id;o.setRootElement(o.findRoot(s+"_plane")||o.findRoot(s))}return new Promise((function(c,l){try{return i=e.get("bpmnImporter"),r=e.get("eventBus"),o=e.get("canvas"),r.fire("import.render.start",{definitions:t}),s(t,n),r.fire("import.render.complete",{error:undefined,warnings:a}),c({warnings:a})}catch(p){return p.warnings=a,l(p)}}))}function Tn(e){var t=[];return j(e,(function(e){e&&(t.push(e),t=t.concat(Tn(e.flowElements)))})),t}var Dn,Bn='',Nn={verticalAlign:"middle"},On={color:"#404040"},jn={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},Ln={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},In={position:"absolute",left:"50%",top:"40%",transform:"translate(-50%)",width:"260px",padding:"10px",background:"white",boxShadow:"0 1px 4px rgba(0,0,0,0.3)",fontFamily:"Helvetica, Arial, sans-serif",fontSize:"14px",display:"flex",lineHeight:"1.3"},$n='
'+Bn+'Web-based tooling for BPMN, DMN and forms powered by bpmn.io.
';function zn(){Dn||(pe(Dn=Re($n),jn),pe(Te("svg",Dn),Nn),pe(Te(".backdrop",Dn),Ln),pe(Te(".notice",Dn),In),pe(Te(".link",Dn),On,{margin:"15px 20px 15px 10px",alignSelf:"center"}),Ce.bind(Dn,".backdrop","click",(function(e){document.body.removeChild(Dn)}))),document.body.appendChild(Dn)}function Fn(e){e=ee({},Vn,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),function(e){const t=Re(''+Bn+"");pe(Te("svg",t),Nn),pe(t,On,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(t),we.bind(t,"click",(function(e){zn(),e.preventDefault()}))}(this._container),this._init(this._container,this._moddle,e)}function Hn(e,t){return e.warnings=t,e}x(Fn,l),Fn.prototype.importXML=async function(e,t){const n=this;let i=[];try{let a;e=this._emit("import.parse.start",{xml:e})||e;try{a=await this._moddle.fromXML(e,"bpmn:Definitions")}catch(o){throw this._emit("import.parse.complete",{error:o}),o}let s=a.rootElement;const c=a.references,l=a.warnings,p=a.elementsById;i=i.concat(l),s=this._emit("import.parse.complete",(r={error:null,definitions:s,elementsById:p,references:c,warnings:i},n.get("eventBus").createEvent(r)))||s;const u=await this.importDefinitions(s,t);return i=i.concat(u.warnings),this._emit("import.done",{error:null,warnings:i}),{warnings:i}}catch(a){let e=a;throw i=i.concat(e.warnings||[]),Hn(e,i),e=function(e){const t=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);t&&(e.message="unparsable content <"+t[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+t[2]);return e}(e),this._emit("import.done",{error:e,warnings:e.warnings}),e}var r},Fn.prototype.importDefinitions=async function(e,t){this._setDefinitions(e);return{warnings:(await this.open(t)).warnings}},Fn.prototype.open=async function(e){const t=this._definitions;let n=e;if(!t){const e=new Error("no XML imported");throw Hn(e,[]),e}if("string"==typeof e&&(n=function(e,t){if(!t)return null;return B(e.diagrams,(function(e){return e.id===t}))||null}(t,e),!n)){const t=new Error("BPMNDiagram <"+e+"> not found");throw Hn(t,[]),t}try{this.clear()}catch(r){throw Hn(r,[]),r}const{warnings:i}=await Mn(this,t,n);return{warnings:i}},Fn.prototype.saveXML=async function(e){e=e||{};let t,n,i=this._definitions;try{if(!i)throw new Error("no definitions loaded");i=this._emit("saveXML.start",{definitions:i})||i;n=(await this._moddle.toXML(i,e)).xml,n=this._emit("saveXML.serialized",{xml:n})||n}catch(o){t=o}const r=t?{error:t}:{xml:n};if(this._emit("saveXML.done",r),t)throw t;return r},Fn.prototype.saveSVG=async function(){let e,t;this._emit("saveSVG.start");try{const t=this.get("canvas"),n=t.getActiveLayer(),i=Te(":scope > defs",t._svg),r=tt(n),o=i?""+tt(i)+"":"",a=n.getBBox();e='\n\x3c!-- created with bpmn-js / http://bpmn.io --\x3e\n\n'+o+r+""}catch(n){t=n}if(this._emit("saveSVG.done",{error:t,svg:e}),t)throw t;return{svg:e}},Fn.prototype._setDefinitions=function(e){this._definitions=e},Fn.prototype.getModules=function(){return this._modules},Fn.prototype.clear=function(){this.getDefinitions()&&l.prototype.clear.call(this)},Fn.prototype.destroy=function(){l.prototype.destroy.call(this),Be(this._container)},Fn.prototype.on=function(e,t,n,i){return this.get("eventBus").on(e,t,n,i)},Fn.prototype.off=function(e,t){this.get("eventBus").off(e,t)},Fn.prototype.attachTo=function(e){if(!e)throw new Error("parentNode required");this.detach(),e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),"string"==typeof e&&(e=Te(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},Fn.prototype.getDefinitions=function(){return this._definitions},Fn.prototype.detach=function(){const e=this._container,t=e.parentNode;t&&(this._emit("detach",{}),t.removeChild(e))},Fn.prototype._init=function(e,t,n){const i=n.modules||this.getModules(n),r=n.additionalModules||[],o=[].concat([{bpmnjs:["value",this],moddle:["value",t]}],i,r),a=ee(ne(n,["additionalModules"]),{canvas:ee({},n.canvas,{container:e}),modules:o});l.call(this,a),n&&n.container&&this.attachTo(n.container)},Fn.prototype._emit=function(e,t){return this.get("eventBus").fire(e,t)},Fn.prototype._createContainer=function(e){const t=Re('
');return pe(t,{width:Gn(e.width),height:Gn(e.height),position:e.position}),t},Fn.prototype._createModdle=function(e){return new xn(ee({},this._moddleExtensions,e.moddleExtensions))},Fn.prototype._modules=[];const Vn={width:"100%",height:"100%",position:"relative"};function Gn(e){return e+(R(e)?"px":"")}function Wn(e){Fn.call(this,e),this.on("import.parse.complete",(function(e){e.error||this._collectIds(e.definitions,e.elementsById)}),this),this.on("diagram.destroy",(function(){this.get("moddle").ids.clear()}),this)}x(Wn,Fn),Wn.prototype._createModdle=function(e){var t=Fn.prototype._createModdle.call(this,e);return t.ids=new c([32,36,1]),t},Wn.prototype._collectIds=function(e,t){var n,i=e.$model.ids;for(n in i.clear(),t)i.claim(n,t[n])};var Un=1e3;function qn(e,t){var n=this;t=t||Un,e.on(["render.shape","render.connection"],t,(function(e,t){var i=e.type,r=t.element,o=t.gfx,a=t.attrs;if(n.canRender(r))return"render.shape"===i?n.drawShape(o,r,a):n.drawConnection(o,r,a)})),e.on(["render.getShapePath","render.getConnectionPath"],t,(function(e,t){if(n.canRender(t))return"render.getShapePath"===e.type?n.getShapePath(t):n.getConnectionPath(t)}))}function Kn(e,t){return!kn(e,"bpmn:CallActivity")&&(kn(e,"bpmn:SubProcess")?!(!(t=t||Rn(e))||!kn(t,"bpmndi:BPMNPlane"))||t&&!!t.isExpanded:!kn(e,"bpmn:Participant")||!!Pn(e).processRef)}function Xn(e){if(kn(e,"bpmn:Participant")||kn(e,"bpmn:Lane")){var t=Rn(e).isHorizontal;return void 0===t||t}}function Yn(e){return e&&!!Pn(e).triggeredByEvent}function Zn(e,t){return z(Pn(e).eventDefinitions,(function(e){return kn(e,t)}))}function Qn(e){return P(e)&&D(e,"waypoints")}function Jn(e){return P(e)&&D(e,"labelTarget")}qn.prototype.canRender=function(e){},qn.prototype.drawShape=function(e,t){},qn.prototype.drawConnection=function(e,t){},qn.prototype.getShapePath=function(e){},qn.prototype.getConnectionPath=function(e){};var ei={width:90,height:20},ti=15;function ni(e){return kn(e,"bpmn:Event")||kn(e,"bpmn:Gateway")||kn(e,"bpmn:DataStoreReference")||kn(e,"bpmn:DataObjectReference")||kn(e,"bpmn:DataInput")||kn(e,"bpmn:DataOutput")||kn(e,"bpmn:SequenceFlow")||kn(e,"bpmn:MessageFlow")||kn(e,"bpmn:Group")}function ii(e){return Jn(e.label)}function ri(e){var t=e.length/2-1,n=e[Math.floor(t)],i=e[Math.ceil(t+.01)],r=function(e){var t=e.length/2-1,n=e[Math.floor(t)],i=e[Math.ceil(t+.01)];return{x:n.x+(i.x-n.x)/2,y:n.y+(i.y-n.y)/2}}(e),o=Math.atan((i.y-n.y)/(i.x-n.x)),a=r.x,s=r.y;return Math.abs(o) defs",a);c||Ne(a,c=qe("defs")),Ne(c,s)}function h(e,t,n,i){var r=Ai.nextPrefixed("marker-");return function(e,t,n,i,r){if("sequenceflow-end"===n){d(t,{element:qe("path",{d:"M 1 5 L 11 10 L 1 15 Z",...p({fill:r,stroke:r,strokeWidth:1})}),ref:{x:11,y:10},scale:.5,parentGfx:e})}if("messageflow-start"===n){d(t,{element:qe("circle",{cx:6,cy:6,r:3.5,...p({fill:i,stroke:r,strokeWidth:1,strokeDasharray:[1e4,1]})}),ref:{x:6,y:6},parentGfx:e})}if("messageflow-end"===n){d(t,{element:qe("path",{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z",...p({fill:i,stroke:r,strokeWidth:1,strokeDasharray:[1e4,1]})}),ref:{x:8.5,y:5},parentGfx:e})}if("association-start"===n){d(t,{element:qe("path",{d:"M 11 5 L 1 10 L 11 15",...u({fill:"none",stroke:r,strokeWidth:1.5,strokeDasharray:[1e4,1]})}),ref:{x:1,y:10},scale:.5,parentGfx:e})}if("association-end"===n){d(t,{element:qe("path",{d:"M 1 5 L 11 10 L 1 15",...u({fill:"none",stroke:r,strokeWidth:1.5,strokeDasharray:[1e4,1]})}),ref:{x:11,y:10},scale:.5,parentGfx:e})}if("conditional-flow-marker"===n){d(t,{element:qe("path",{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z",...p({fill:i,stroke:r})}),ref:{x:-1,y:10},scale:.5,parentGfx:e})}if("conditional-default-flow-marker"===n){d(t,{element:qe("path",{d:"M 6 4 L 10 16",...p({stroke:r,fill:"none"})}),ref:{x:0,y:10},scale:.5,parentGfx:e})}}(e,r,t,n,i),"url(#"+r+")"}function m(e,t,n,i,r={}){P(i)&&(r=i,i=0),i=i||0,r=p(r);var o=qe("circle",{cx:t/2,cy:n/2,r:Math.round((t+n)/4-i),...r});return Ne(e,o),o}function f(e,t,n,i,r,o){P(r)&&(o=r,r=0),r=r||0,o=p(o);var a=qe("rect",{x:r,y:r,width:t-2*r,height:n-2*r,rx:i,ry:i,...o});return Ne(e,a),a}function g(e,t,n,i){var r=hi(t,n=u(n),i);return Ne(e,r),r}function y(e,t,n){return g(e,t,n,5)}function v(e,t,n){n=u(n);var i=qe("path",{...n,d:t});return Ne(e,i),i}function b(e,t,n,i){return v(t,n,ee({"data-marker":e},i))}function x(e){return Z[e]}function _(e){return function(t,n,i){return x(e)(t,n,i)}}var w=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:t.width,containerHeight:t.height,position:{mx:.235,my:.315}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:r?vi(t,s,n.fill):bi(t,c,n.stroke),strokeWidth:1})},E=function(e,t,n={}){var r=m(e,t.width,t.height,.2*t.height,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:2});v(e,i.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.5}}),{stroke:bi(t,c,n.stroke),strokeWidth:2});for(var o=0;o<12;o++){var a=i.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.5}}),l=t.width/2,p=t.height/2;v(e,a,{strokeWidth:1,stroke:bi(t,c,n.stroke),transform:"rotate("+30*o+","+p+","+l+")"})}return r},S=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.2}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},C=function(e,t,n={}){return v(e,i.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.222}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},k=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.57,my:.263}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},A=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:t.width,containerHeight:t.height,position:{mx:.2,my:.722}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},R=function(e,t,n={},r){var o=v(e,i.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.638,my:-.055}}),{fill:r?bi(t,c,n.stroke):"none",stroke:bi(t,c,n.stroke),strokeWidth:1});return ki(o,45),o},M=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.22,my:.5}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},T=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.2}}),{strokeWidth:1,fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},D=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:t.width,containerHeight:t.height,position:{mx:.222,my:.36}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),strokeWidth:1})},B=function(e,t,n={}){return v(e,i.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:t.width,containerHeight:t.height,position:{mx:.458,my:.194}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},N=function(e,t,n={}){return m(e,t.width,t.height,8,{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:4})};function O(e,t,n={}){var i,r=Pn(e),o="bpmn:IntermediateThrowEvent"===(i=r).$type||"bpmn:EndEvent"===i.$type;return r.get("eventDefinitions")&&r.get("eventDefinitions").length>1?r.get("parallelMultiple")?B(t,e,n,o):D(t,e,n,o):yi(r,"bpmn:MessageEventDefinition")?w(t,e,n,o):yi(r,"bpmn:TimerEventDefinition")?E(t,e,n,o):yi(r,"bpmn:ConditionalEventDefinition")?C(t,e,n,o):yi(r,"bpmn:SignalEventDefinition")?T(t,e,n,o):yi(r,"bpmn:EscalationEventDefinition")?S(t,e,n,o):yi(r,"bpmn:LinkEventDefinition")?k(t,e,n,o):yi(r,"bpmn:ErrorEventDefinition")?A(t,e,n,o):yi(r,"bpmn:CancelEventDefinition")?R(t,e,n,o):yi(r,"bpmn:CompensateEventDefinition")?M(t,e,n,o):yi(r,"bpmn:TerminateEventDefinition")?N(t,e,n,o):null}var L={ParticipantMultiplicityMarker:function(e,t,n={}){var r=wi(t,n),o=Ei(t,n);b("participant-multiplicity",e,i.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2-6)/r,my:(o-15)/o}}),{strokeWidth:2,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},SubProcessMarker:function(e,t,n={}){Ci(f(e,14,14,0,{strokeWidth:1,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)}),t.width/2-7.5,t.height-20),b("sub-process",e,i.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2-7.5)/t.width,my:(t.height-20)/t.height}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},ParallelMarker:function(e,t,n){var r=wi(t,n),o=Ei(t,n);b("parallel",e,i.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2+n.parallel)/r,my:(o-20)/o}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},SequentialMarker:function(e,t,n){b("sequential",e,i.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.seq)/t.width,my:(t.height-19)/t.height}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},CompensationMarker:function(e,t,n){b("compensation",e,i.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.compensation)/t.width,my:(t.height-13)/t.height}}),{strokeWidth:1,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},LoopMarker:function(e,t,n){var r=wi(t,n),o=Ei(t,n);b("loop",e,i.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2+n.loop)/r,my:(o-7)/o}}),{strokeWidth:1.5,fill:"none",stroke:bi(t,c,n.stroke),strokeMiterlimit:.5})},AdhocMarker:function(e,t,n){var r=wi(t,n),o=Ei(t,n);b("adhoc",e,i.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2+n.adhoc)/r,my:(o-15)/o}}),{strokeWidth:1,fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke)})}};function I(e,t,n,i){L[e](t,n,i)}function $(e,t,n,i={}){i={fill:i.fill,stroke:i.stroke,width:wi(t,i),height:Ei(t,i)};var r=Pn(t),o=n&&n.includes("SubProcessMarker");i=o?{...i,seq:-21,parallel:-22,compensation:-42,loop:-18,adhoc:10}:{...i,seq:-5,parallel:-6,compensation:-27,loop:0,adhoc:10},j(n,(function(n){I(n,e,t,i)})),r.get("isForCompensation")&&I("CompensationMarker",e,t,i),kn(r,"bpmn:AdHocSubProcess")&&I("AdhocMarker",e,t,i);var a=r.get("loopCharacteristics"),s=a&&a.get("isSequential");a&&(void 0===s&&I("LoopMarker",e,t,i),!1===s&&I("ParallelMarker",e,t,i),!0===s&&I("SequentialMarker",e,t,i))}function z(e,t,n={}){n=ee({size:{width:100}},n);var i=o.createText(t||"",n);return ze(i).add("djs-label"),Ne(e,i),i}function F(e,t,n,i={}){var r=Pn(t),o=_i({x:t.x,y:t.y,width:t.width,height:t.height},i);return z(e,r.name,{align:n,box:o,padding:7,style:{fill:xi(t,l,c,i.stroke)}})}function H(e,t,n,i={}){var r=Xn(n),o=z(e,t,{box:{height:30,width:r?Ei(n,i):wi(n,i)},align:"center-middle",style:{fill:xi(n,l,c,i.stroke)}});r&&Si(o,0,-(-1*Ei(n,i)),270)}function V(e,t,n={}){var{width:i,height:r}=_i(t,n);return f(e,i,r,10,{...n,fill:vi(t,s,n.fill),fillOpacity:Pi,stroke:bi(t,c,n.stroke)})}function G(e,t,n={}){var i=Pn(t),r=vi(t,s,n.fill),o=bi(t,c,n.stroke);return"One"!==i.get("associationDirection")&&"Both"!==i.get("associationDirection")||(n.markerEnd=h(e,"association-end",r,o)),"Both"===i.get("associationDirection")&&(n.markerStart=h(e,"association-start",r,o)),n=Mi(n,["markerStart","markerEnd"]),y(e,t.waypoints,{...n,stroke:o,strokeDasharray:"0, 5"})}function W(e,t,n={}){var r=vi(t,s,n.fill),o=bi(t,c,n.stroke),a=v(e,i.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.474,my:.296}}),{fill:r,fillOpacity:Pi,stroke:o});(function(e){var t=e.dataObjectRef;return e.isCollection||t&&t.isCollection})(Pn(t))&&v(e,i.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.33,my:(t.height-18)/t.height}}),{strokeWidth:2,fill:r,stroke:o});return a}function U(e,t,n={}){return m(e,t.width,t.height,{fillOpacity:Pi,...n,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})}function q(e,t,n={}){return function(e,t,n,i){var r=t/2,o=n/2,a=[{x:r,y:0},{x:t,y:o},{x:r,y:n},{x:0,y:o}].map((function(e){return e.x+","+e.y})).join(" ");i=p(i);var s=qe("polygon",{...i,points:a});return Ne(e,s),s}(e,t.width,t.height,{fill:vi(t,s,n.fill),fillOpacity:Pi,stroke:bi(t,c,n.stroke)})}function K(e,t,n={}){var i=f(e,wi(t,n),Ei(t,n),0,{fill:vi(t,s,n.fill),fillOpacity:n.fillOpacity||Pi,stroke:bi(t,c,n.stroke),strokeWidth:1.5}),r=Pn(t);kn(r,"bpmn:Lane")&&H(e,r.get("name"),t,n);return i}function X(e,t,n={}){var i=V(e,t,n);Yn(t)&&Ie(i,{strokeDasharray:"0, 5.5",strokeWidth:2.5});var r=Kn(t);return F(e,t,r?"center-top":"center-middle",n),$(e,t,r?void 0:["SubProcessMarker"],n),i}function Y(e,t,n={}){var i=V(e,t,n);return F(e,t,"center-middle",n),$(e,t,void 0,n),i}var Z=this.handlers={"bpmn:AdHocSubProcess":function(e,t,n={}){return X(e,t,n=Kn(t)?Mi(n,["fill","stroke","width","height"]):Mi(n,["fill","stroke"]))},"bpmn:Association":function(e,t,n={}){return G(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:BoundaryEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]);var r=Pn(t).get("cancelActivity");n={strokeWidth:1.5,fill:vi(t,s,n.fill),fillOpacity:1,stroke:bi(t,c,n.stroke)},r||(n.strokeDasharray="6");var o=U(e,t,n);return m(e,t.width,t.height,3,{...n,fill:"none"}),i&&O(t,e,n),o},"bpmn:BusinessRuleTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return Ie(v(e,i.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}})),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),Ie(v(e,i.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}})),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:CallActivity":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),X(e,t,{strokeWidth:5,...n})},"bpmn:ComplexGateway":function(e,t,n={}){var r=q(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:t.width,containerHeight:t.height,position:{mx:.46,my:.26}}),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:DataInput":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=i.getRawPath("DATA_ARROW"),o=W(e,t,n);return v(e,r,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1}),o},"bpmn:DataInputAssociation":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),G(e,t,{...n,markerEnd:h(e,"association-end",vi(t,s,n.fill),bi(t,c,n.stroke))})},"bpmn:DataObject":function(e,t,n={}){return W(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:DataObjectReference":_("bpmn:DataObject"),"bpmn:DataOutput":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=i.getRawPath("DATA_ARROW"),o=W(e,t,n);return v(e,r,{strokeWidth:1,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)}),o},"bpmn:DataOutputAssociation":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),G(e,t,{...n,markerEnd:h(e,"association-end",vi(t,s,n.fill),bi(t,c,n.stroke))})},"bpmn:DataStoreReference":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),v(e,i.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:0,my:.133}}),{fill:vi(t,s,n.fill),fillOpacity:Pi,stroke:bi(t,c,n.stroke),strokeWidth:2})},"bpmn:EndEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]);var r=U(e,t,{...n,strokeWidth:4});return i&&O(t,e,n),r},"bpmn:EventBasedGateway":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=Pn(t),o=q(e,t,n);m(e,t.width,t.height,.2*t.height,{fill:vi(t,"none",n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1});var a,s=r.get("eventGatewayType"),l=!!r.get("instantiate");if("Parallel"===s){var p=i.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:t.width,containerHeight:t.height,position:{mx:.474,my:.296}});v(e,p,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1})}else"Exclusive"===s&&(l||m(e,t.width,t.height,.26*t.height,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1}),a=i.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:t.width,containerHeight:t.height,position:{mx:.36,my:.44}}),v(e,a,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:2}));return o},"bpmn:ExclusiveGateway":function(e,t,n={}){var r=q(e,t,n=Mi(n,["fill","stroke"])),o=i.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:t.width,containerHeight:t.height,position:{mx:.32,my:.3}});return Rn(t).get("isMarkerVisible")&&v(e,o,{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:Gateway":function(e,t,n={}){return q(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:Group":function(e,t,n={}){return n=Mi(n,["fill","stroke","width","height"]),f(e,t.width,t.height,10,{stroke:bi(t,c,n.stroke),strokeWidth:1.5,strokeDasharray:"10, 6, 0, 6",fill:"none",pointerEvents:"none",width:wi(t,n),height:Ei(t,n)})},"bpmn:InclusiveGateway":function(e,t,n={}){var i=q(e,t,n=Mi(n,["fill","stroke"]));return m(e,t.width,t.height,.24*t.height,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:2.5}),i},"bpmn:IntermediateEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]);var r=U(e,t,{...n,strokeWidth:1.5});return m(e,t.width,t.height,3,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1.5}),i&&O(t,e,n),r},"bpmn:IntermediateCatchEvent":_("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":_("bpmn:IntermediateEvent"),"bpmn:Lane":function(e,t,n={}){return n=Mi(n,["fill","stroke","width","height"]),K(e,t,{...n,fillOpacity:.25})},"bpmn:ManualTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:.5}),r},"bpmn:MessageFlow":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=Pn(t),o=Rn(t),a=vi(t,s,n.fill),l=bi(t,c,n.stroke),p=y(e,t.waypoints,{markerEnd:h(e,"messageflow-end",a,l),markerStart:h(e,"messageflow-start",a,l),stroke:l,strokeDasharray:"10, 11",strokeWidth:1.5});if(r.get("messageRef")){var u=p.getPointAtLength(p.getTotalLength()/2),d=i.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:u.x,y:u.y}}),m={strokeWidth:1};"initiating"===o.get("messageVisibleKind")?(m.fill=a,m.stroke=l):(m.fill=l,m.stroke=a);var f=v(e,d,m),g=z(e,r.get("messageRef").get("name"),{align:"center-top",fitBox:!0,style:{fill:l}}),b=f.getBBox(),x=g.getBBox();Si(g,u.x-x.width/2,u.y+b.height/2+10,0)}return p},"bpmn:ParallelGateway":function(e,t,n={}){var r=q(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:t.width,containerHeight:t.height,position:{mx:.46,my:.2}}),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:Participant":function(e,t,n={}){var i=K(e,t,n=Mi(n,["fill","stroke","width","height"])),r=Kn(t),o=Xn(t),a=Pn(t),s=a.get("name");if(r){g(e,o?[{x:30,y:0},{x:30,y:Ei(t,n)}]:[{x:0,y:30},{x:wi(t,n),y:30}],{stroke:bi(t,c,n.stroke),strokeWidth:1.5}),H(e,s,t,n)}else{var p=_i(t,n);o||(p.height=wi(t,n),p.width=Ei(t,n));var u=z(e,s,{box:p,align:"center-middle",style:{fill:xi(t,l,c,n.stroke)}});if(!o)Si(u,0,-(-1*Ei(t,n)),270)}return a.get("participantMultiplicity")&&I("ParticipantMultiplicityMarker",e,t,n),i},"bpmn:ReceiveTask":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r,o=Pn(t),a=Y(e,t,n);return o.get("instantiate")?(m(e,28,28,4.4,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),r=i.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):r=i.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),v(e,r,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),a},"bpmn:ScriptTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:SendTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}}),{fill:bi(t,c,n.stroke),stroke:vi(t,s,n.fill),strokeWidth:1}),r},"bpmn:SequenceFlow":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var i=vi(t,s,n.fill),r=bi(t,c,n.stroke),o=y(e,t.waypoints,{markerEnd:h(e,"sequenceflow-end",i,r),stroke:r}),a=Pn(t),{source:l}=t;if(l){var p=Pn(l);a.get("conditionExpression")&&kn(p,"bpmn:Activity")&&Ie(o,{markerStart:h(e,"conditional-flow-marker",i,r)}),p.get("default")&&(kn(p,"bpmn:Gateway")||kn(p,"bpmn:Activity"))&&p.get("default")===a&&Ie(o,{markerStart:h(e,"conditional-default-flow-marker",i,r)})}return o},"bpmn:ServiceTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return m(e,10,10,{fill:vi(t,s,n.fill),stroke:"none",transform:"translate(6, 6)"}),v(e,i.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),m(e,10,10,{fill:vi(t,s,n.fill),stroke:"none",transform:"translate(11, 10)"}),v(e,i.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:StartEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]),Pn(t).get("isInterrupting")||(n={...n,strokeDasharray:"6"});var r=U(e,t,n);return i&&O(t,e,n),r},"bpmn:SubProcess":function(e,t,n={}){return X(e,t,n=Kn(t)?Mi(n,["fill","stroke","width","height"]):Mi(n,["fill","stroke"]))},"bpmn:Task":function(e,t,n={}){return Y(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:TextAnnotation":function(e,t,n={}){n=Mi(n,["fill","stroke","width","height"]);var{width:r,height:o}=_i(t,n),a=f(e,r,o,0,0,{fill:"none",stroke:"none"});return v(e,i.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:0,my:0}}),{stroke:bi(t,c,n.stroke)}),z(e,Pn(t).get("text")||"",{align:"left-top",box:_i(t,n),padding:7,style:{fill:xi(t,l,c,n.stroke)}}),a},"bpmn:Transaction":function(e,t,i={}){i=Kn(t)?Mi(i,["fill","stroke","width","height"]):Mi(i,["fill","stroke"]);var r=X(e,t,{strokeWidth:1.5,...i}),o=n.style(["no-fill","no-events"],{stroke:bi(t,c,i.stroke),strokeWidth:1.5});return Kn(t)||(i={}),f(e,wi(t,i),Ei(t,i),7,3,o),r},"bpmn:UserTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:15,y:12}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:.5}),v(e,i.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:15,y:12}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:.5}),v(e,i.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:15,y:12}}),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:.5}),r},label:function(e,t,n={}){return function(e,t,n={}){var i={width:90,height:30,x:t.width/2+t.x,y:t.height/2+t.y};return z(e,si(t),{box:i,fitBox:!0,style:ee({},o.getExternalStyle(),{fill:xi(t,l,c,n.stroke)})})}(e,t,n)}};this._drawPath=v,this._renderer=x}function Mi(e,t=[]){return t.reduce(((t,n)=>(e[n]&&(t[n]=e[n]),t)),{})}x(Ri,qn),Ri.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],Ri.prototype.canRender=function(e){return kn(e,"bpmn:BaseElement")},Ri.prototype.drawShape=function(e,t,n={}){var{type:i}=t;return this._renderer(i)(e,t,n)},Ri.prototype.drawConnection=function(e,t,n={}){var{type:i}=t;return this._renderer(i)(e,t,n)},Ri.prototype.getShapePath=function(e){return kn(e,"bpmn:Event")?(n=(t=e).x+t.width/2,i=t.y+t.height/2,r=t.width/2,ci([["M",n,i],["m",0,-r],["a",r,r,0,1,1,0,2*r],["a",r,r,0,1,1,0,-2*r],["z"]])):kn(e,"bpmn:Activity")?function(e,t){var n=e.x,i=e.y,r=e.width,o=e.height;return ci([["M",n+t,i],["l",r-2*t,0],["a",t,t,0,0,1,t,t],["l",0,o-2*t],["a",t,t,0,0,1,-t,t],["l",2*t-r,0],["a",t,t,0,0,1,-t,-t],["l",0,2*t-o],["a",t,t,0,0,1,t,-t],["z"]])}(e,10):kn(e,"bpmn:Gateway")?function(e){var t=e.width/2,n=e.height/2;return ci([["M",e.x+t,e.y],["l",t,n],["l",-t,n],["l",-t,-n],["z"]])}(e):function(e){var t=e.x,n=e.y,i=e.width;return ci([["M",t,n],["l",i,0],["l",0,e.height],["l",-i,0],["z"]])}(e);var t,n,i,r};var Ti=0,Di={width:150,height:50};function Bi(e,t){var n;t.textContent=e;try{var i,r=""===e;return t.textContent=r?"dummy":e,i={width:(n=t.getBBox()).width+2*n.x,height:n.height},r&&(i.width=0),i}catch(o){return{width:0,height:0}}}function Ni(e,t,n){for(var i,r=e.shift(),o=r;;){if((i=Bi(o,n)).width=o?i.width:0," "===o||""===o||i.width1)for(;n=i.shift();){if(!(n.length+oe?t.width:e}),0),m=o.top;"middle"===r.vertical&&(m+=(n.height-d)/2),m-=(s||l[0].height)/4;var f=qe("text");return Ie(f,i),j(l,(function(e){var t;switch(m+=s||e.height,r.horizontal){case"left":t=o.left;break;case"right":t=(a?h:p)-o.right-e.width;break;default:t=Math.max(((a?h:p)-e.width)/2+o.left,0)}var n=qe("tspan");Ie(n,{x:t,y:m}),n.textContent=e.text,Ne(f,n)})),nt(u),{dimensions:{width:h,height:d},element:f}};function $i(e){var t=ee({fontFamily:"Arial, sans-serif",fontSize:12,fontWeight:"normal",lineHeight:1.2},e&&e.defaultStyle||{}),n=parseInt(t.fontSize,10)-1,i=ee({},t,{fontSize:n},e&&e.externalStyle||{}),r=new Ii({style:t});this.getExternalLabelBounds=function(e,t){var n=r.getDimensions(t,{box:{width:90,height:30},style:i});return{x:Math.round(e.x+e.width/2-n.width/2),y:Math.round(e.y),width:Math.ceil(n.width),height:Math.ceil(n.height)}},this.getTextAnnotationBounds=function(e,n){var i=r.getDimensions(n,{box:e,style:t,align:"left-top",padding:5});return{x:e.x,y:e.y,width:e.width,height:Math.max(30,Math.round(i.height))}},this.createText=function(e,t){return r.createText(e,t||{})},this.getDefaultStyle=function(){return t},this.getExternalStyle=function(){return i}}$i.$inject=["config.textRenderer"];var zi=/\{([^{}]+)\}/g,Fi=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;const Hi={__init__:["bpmnRenderer"],bpmnRenderer:["type",Ri],textRenderer:["type",$i],pathMap:["type",function(){this.pathMap={EVENT_MESSAGE:{d:"m {mx},{my} l 0,{e.y1} l {e.x1},0 l 0,-{e.y1} z l {e.x0},{e.y0} l {e.x0},-{e.y0}",height:36,width:36,heightElements:[6,14],widthElements:[10.5,21]},EVENT_SIGNAL:{d:"M {mx},{my} l {e.x0},{e.y0} l -{e.x1},0 Z",height:36,width:36,heightElements:[18],widthElements:[10,20]},EVENT_ESCALATION:{d:"M {mx},{my} l {e.x0},{e.y0} l -{e.x0},-{e.y1} l -{e.x0},{e.y1} Z",height:36,width:36,heightElements:[20,7],widthElements:[8]},EVENT_CONDITIONAL:{d:"M {e.x0},{e.y0} l {e.x1},0 l 0,{e.y2} l -{e.x1},0 Z M {e.x2},{e.y3} l {e.x0},0 M {e.x2},{e.y4} l {e.x0},0 M {e.x2},{e.y5} l {e.x0},0 M {e.x2},{e.y6} l {e.x0},0 M {e.x2},{e.y7} l {e.x0},0 M {e.x2},{e.y8} l {e.x0},0 ",height:36,width:36,heightElements:[8.5,14.5,18,11.5,14.5,17.5,20.5,23.5,26.5],widthElements:[10.5,14.5,12.5]},EVENT_LINK:{d:"m {mx},{my} 0,{e.y0} -{e.x1},0 0,{e.y1} {e.x1},0 0,{e.y0} {e.x0},-{e.y2} -{e.x0},-{e.y2} z",height:36,width:36,heightElements:[4.4375,6.75,7.8125],widthElements:[9.84375,13.5]},EVENT_ERROR:{d:"m {mx},{my} {e.x0},-{e.y0} {e.x1},-{e.y1} {e.x2},{e.y2} {e.x3},-{e.y3} -{e.x4},{e.y4} -{e.x5},-{e.y5} z",height:36,width:36,heightElements:[.023,8.737,8.151,16.564,10.591,8.714],widthElements:[.085,6.672,6.97,4.273,5.337,6.636]},EVENT_CANCEL_45:{d:"m {mx},{my} -{e.x1},0 0,{e.x0} {e.x1},0 0,{e.y1} {e.x0},0 0,-{e.y1} {e.x1},0 0,-{e.y0} -{e.x1},0 0,-{e.y1} -{e.x0},0 z",height:36,width:36,heightElements:[4.75,8.5],widthElements:[4.75,8.5]},EVENT_COMPENSATION:{d:"m {mx},{my} {e.x0},-{e.y0} 0,{e.y1} z m {e.x1},-{e.y2} {e.x2},-{e.y3} 0,{e.y1} -{e.x2},-{e.y3} z",height:36,width:36,heightElements:[6.5,13,.4,6.1],widthElements:[9,9.3,8.7]},EVENT_TIMER_WH:{d:"M {mx},{my} l {e.x0},-{e.y0} m -{e.x0},{e.y0} l {e.x1},{e.y1} ",height:36,width:36,heightElements:[10,2],widthElements:[3,7]},EVENT_TIMER_LINE:{d:"M {mx},{my} m {e.x0},{e.y0} l -{e.x1},{e.y1} ",height:36,width:36,heightElements:[10,3],widthElements:[0,0]},EVENT_MULTIPLE:{d:"m {mx},{my} {e.x1},-{e.y0} {e.x1},{e.y0} -{e.x0},{e.y1} -{e.x2},0 z",height:36,width:36,heightElements:[6.28099,12.56199],widthElements:[3.1405,9.42149,12.56198]},EVENT_PARALLEL_MULTIPLE:{d:"m {mx},{my} {e.x0},0 0,{e.y1} {e.x1},0 0,{e.y0} -{e.x1},0 0,{e.y1} -{e.x0},0 0,-{e.y1} -{e.x1},0 0,-{e.y0} {e.x1},0 z",height:36,width:36,heightElements:[2.56228,7.68683],widthElements:[2.56228,7.68683]},GATEWAY_EXCLUSIVE:{d:"m {mx},{my} {e.x0},{e.y0} {e.x1},{e.y0} {e.x2},0 {e.x4},{e.y2} {e.x4},{e.y1} {e.x2},0 {e.x1},{e.y3} {e.x0},{e.y3} {e.x3},0 {e.x5},{e.y1} {e.x5},{e.y2} {e.x3},0 z",height:17.5,width:17.5,heightElements:[8.5,6.5312,-6.5312,-8.5],widthElements:[6.5,-6.5,3,-3,5,-5]},GATEWAY_PARALLEL:{d:"m {mx},{my} 0,{e.y1} -{e.x1},0 0,{e.y0} {e.x1},0 0,{e.y1} {e.x0},0 0,-{e.y1} {e.x1},0 0,-{e.y0} -{e.x1},0 0,-{e.y1} -{e.x0},0 z",height:30,width:30,heightElements:[5,12.5],widthElements:[5,12.5]},GATEWAY_EVENT_BASED:{d:"m {mx},{my} {e.x0},{e.y0} {e.x0},{e.y1} {e.x1},{e.y2} {e.x2},0 z",height:11,width:11,heightElements:[-6,6,12,-12],widthElements:[9,-3,-12]},GATEWAY_COMPLEX:{d:"m {mx},{my} 0,{e.y0} -{e.x0},-{e.y1} -{e.x1},{e.y2} {e.x0},{e.y1} -{e.x2},0 0,{e.y3} {e.x2},0 -{e.x0},{e.y1} l {e.x1},{e.y2} {e.x0},-{e.y1} 0,{e.y0} {e.x3},0 0,-{e.y0} {e.x0},{e.y1} {e.x1},-{e.y2} -{e.x0},-{e.y1} {e.x2},0 0,-{e.y3} -{e.x2},0 {e.x0},-{e.y1} -{e.x1},-{e.y2} -{e.x0},{e.y1} 0,-{e.y0} -{e.x3},0 z",height:17.125,width:17.125,heightElements:[4.875,3.4375,2.125,3],widthElements:[3.4375,2.125,4.875,3]},DATA_OBJECT_PATH:{d:"m 0,0 {e.x1},0 {e.x0},{e.y0} 0,{e.y1} -{e.x2},0 0,-{e.y2} {e.x1},0 0,{e.y0} {e.x0},0",height:61,width:51,heightElements:[10,50,60],widthElements:[10,40,50,60]},DATA_OBJECT_COLLECTION_PATH:{d:"m{mx},{my} m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10",height:10,width:10,heightElements:[],widthElements:[]},DATA_ARROW:{d:"m 5,9 9,0 0,-3 5,5 -5,5 0,-3 -9,0 z",height:61,width:51,heightElements:[],widthElements:[]},DATA_STORE:{d:"m {mx},{my} l 0,{e.y2} c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0 l 0,-{e.y2} c -{e.x0},-{e.y1} -{e.x1},-{e.y1} -{e.x2},0c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0 m -{e.x2},{e.y0}c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0m -{e.x2},{e.y0}c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0",height:61,width:61,heightElements:[7,10,45],widthElements:[2,58,60]},TEXT_ANNOTATION:{d:"m {mx}, {my} m 10,0 l -10,0 l 0,{e.y0} l 10,0",height:30,width:10,heightElements:[30],widthElements:[10]},MARKER_SUB_PROCESS:{d:"m{mx},{my} m 7,2 l 0,10 m -5,-5 l 10,0",height:10,width:10,heightElements:[],widthElements:[]},MARKER_PARALLEL:{d:"m{mx},{my} m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10",height:10,width:10,heightElements:[],widthElements:[]},MARKER_SEQUENTIAL:{d:"m{mx},{my} m 0,3 l 10,0 m -10,3 l 10,0 m -10,3 l 10,0",height:10,width:10,heightElements:[],widthElements:[]},MARKER_COMPENSATION:{d:"m {mx},{my} 7,-5 0,10 z m 7.1,-0.3 6.9,-4.7 0,10 -6.9,-4.7 z",height:10,width:21,heightElements:[],widthElements:[]},MARKER_LOOP:{d:"m {mx},{my} c 3.526979,0 6.386161,-2.829858 6.386161,-6.320661 0,-3.490806 -2.859182,-6.320661 -6.386161,-6.320661 -3.526978,0 -6.38616,2.829855 -6.38616,6.320661 0,1.745402 0.714797,3.325567 1.870463,4.469381 0.577834,0.571908 1.265885,1.034728 2.029916,1.35457 l -0.718163,-3.909793 m 0.718163,3.909793 -3.885211,0.802902",height:13.9,width:13.7,heightElements:[],widthElements:[]},MARKER_ADHOC:{d:"m {mx},{my} m 0.84461,2.64411 c 1.05533,-1.23780996 2.64337,-2.07882 4.29653,-1.97997996 2.05163,0.0805 3.85579,1.15803 5.76082,1.79107 1.06385,0.34139996 2.24454,0.1438 3.18759,-0.43767 0.61743,-0.33642 1.2775,-0.64078 1.7542,-1.17511 0,0.56023 0,1.12046 0,1.6807 -0.98706,0.96237996 -2.29792,1.62393996 -3.6918,1.66181996 -1.24459,0.0927 -2.46671,-0.2491 -3.59505,-0.74812 -1.35789,-0.55965 -2.75133,-1.33436996 -4.27027,-1.18121996 -1.37741,0.14601 -2.41842,1.13685996 -3.44288,1.96782996 z",height:4,width:15,heightElements:[],widthElements:[]},TASK_TYPE_SEND:{d:"m {mx},{my} l 0,{e.y1} l {e.x1},0 l 0,-{e.y1} z l {e.x0},{e.y0} l {e.x0},-{e.y0}",height:14,width:21,heightElements:[6,14],widthElements:[10.5,21]},TASK_TYPE_SCRIPT:{d:"m {mx},{my} c 9.966553,-6.27276 -8.000926,-7.91932 2.968968,-14.938 l -8.802728,0 c -10.969894,7.01868 6.997585,8.66524 -2.968967,14.938 z m -7,-12 l 5,0 m -4.5,3 l 4.5,0 m -3,3 l 5,0m -4,3 l 5,0",height:15,width:12.6,heightElements:[6,14],widthElements:[10.5,21]},TASK_TYPE_USER_1:{d:"m {mx},{my} c 0.909,-0.845 1.594,-2.049 1.594,-3.385 0,-2.554 -1.805,-4.62199999 -4.357,-4.62199999 -2.55199998,0 -4.28799998,2.06799999 -4.28799998,4.62199999 0,1.348 0.974,2.562 1.89599998,3.405 -0.52899998,0.187 -5.669,2.097 -5.794,4.7560005 v 6.718 h 17 v -6.718 c 0,-2.2980005 -5.5279996,-4.5950005 -6.0509996,-4.7760005 zm -8,6 l 0,5.5 m 11,0 l 0,-5"},TASK_TYPE_USER_2:{d:"m {mx},{my} m 2.162,1.009 c 0,2.4470005 -2.158,4.4310005 -4.821,4.4310005 -2.66499998,0 -4.822,-1.981 -4.822,-4.4310005 "},TASK_TYPE_USER_3:{d:"m {mx},{my} m -6.9,-3.80 c 0,0 2.25099998,-2.358 4.27399998,-1.177 2.024,1.181 4.221,1.537 4.124,0.965 -0.098,-0.57 -0.117,-3.79099999 -4.191,-4.13599999 -3.57499998,0.001 -4.20799998,3.36699999 -4.20699998,4.34799999 z"},TASK_TYPE_MANUAL:{d:"m {mx},{my} c 0.234,-0.01 5.604,0.008 8.029,0.004 0.808,0 1.271,-0.172 1.417,-0.752 0.227,-0.898 -0.334,-1.314 -1.338,-1.316 -2.467,-0.01 -7.886,-0.004 -8.108,-0.004 -0.014,-0.079 0.016,-0.533 0,-0.61 0.195,-0.042 8.507,0.006 9.616,0.002 0.877,-0.007 1.35,-0.438 1.353,-1.208 0.003,-0.768 -0.479,-1.09 -1.35,-1.091 -2.968,-0.002 -9.619,-0.013 -9.619,-0.013 v -0.591 c 0,0 5.052,-0.016 7.225,-0.016 0.888,-0.002 1.354,-0.416 1.351,-1.193 -0.006,-0.761 -0.492,-1.196 -1.361,-1.196 -3.473,-0.005 -10.86,-0.003 -11.0829995,-0.003 -0.022,-0.047 -0.045,-0.094 -0.069,-0.139 0.3939995,-0.319 2.0409995,-1.626 2.4149995,-2.017 0.469,-0.4870005 0.519,-1.1650005 0.162,-1.6040005 -0.414,-0.511 -0.973,-0.5 -1.48,-0.236 -1.4609995,0.764 -6.5999995,3.6430005 -7.7329995,4.2710005 -0.9,0.499 -1.516,1.253 -1.882,2.19 -0.37000002,0.95 -0.17,2.01 -0.166,2.979 0.004,0.718 -0.27300002,1.345 -0.055,2.063 0.629,2.087 2.425,3.312 4.859,3.318 4.6179995,0.014 9.2379995,-0.139 13.8569995,-0.158 0.755,-0.004 1.171,-0.301 1.182,-1.033 0.012,-0.754 -0.423,-0.969 -1.183,-0.973 -1.778,-0.01 -5.824,-0.004 -6.04,-0.004 10e-4,-0.084 0.003,-0.586 10e-4,-0.67 z"},TASK_TYPE_INSTANTIATING_SEND:{d:"m {mx},{my} l 0,8.4 l 12.6,0 l 0,-8.4 z l 6.3,3.6 l 6.3,-3.6"},TASK_TYPE_SERVICE:{d:"m {mx},{my} v -1.71335 c 0.352326,-0.0705 0.703932,-0.17838 1.047628,-0.32133 0.344416,-0.14465 0.665822,-0.32133 0.966377,-0.52145 l 1.19431,1.18005 1.567487,-1.57688 -1.195028,-1.18014 c 0.403376,-0.61394 0.683079,-1.29908 0.825447,-2.01824 l 1.622133,-0.01 v -2.2196 l -1.636514,0.01 c -0.07333,-0.35153 -0.178319,-0.70024 -0.323564,-1.04372 -0.145244,-0.34406 -0.321407,-0.6644 -0.522735,-0.96217 l 1.131035,-1.13631 -1.583305,-1.56293 -1.129598,1.13589 c -0.614052,-0.40108 -1.302883,-0.68093 -2.022633,-0.82247 l 0.0093,-1.61852 h -2.241173 l 0.0042,1.63124 c -0.353763,0.0736 -0.705369,0.17977 -1.049785,0.32371 -0.344415,0.14437 -0.665102,0.32092 -0.9635006,0.52046 l -1.1698628,-1.15823 -1.5667691,1.5792 1.1684265,1.15669 c -0.4026573,0.61283 -0.68308,1.29797 -0.8247287,2.01713 l -1.6588041,0.003 v 2.22174 l 1.6724648,-0.006 c 0.073327,0.35077 0.1797598,0.70243 0.3242851,1.04472 0.1452428,0.34448 0.3214064,0.6644 0.5227339,0.96066 l -1.1993431,1.19723 1.5840256,1.56011 1.1964668,-1.19348 c 0.6140517,0.40346 1.3028827,0.68232 2.0233517,0.82331 l 7.19e-4,1.69892 h 2.226848 z m 0.221462,-3.9957 c -1.788948,0.7502 -3.8576,-0.0928 -4.6097055,-1.87438 -0.7521065,-1.78321 0.090598,-3.84627 1.8802645,-4.59604 1.78823,-0.74936 3.856881,0.0929 4.608987,1.87437 0.752106,1.78165 -0.0906,3.84612 -1.879546,4.59605 z"},TASK_TYPE_SERVICE_FILL:{d:"m {mx},{my} c -1.788948,0.7502 -3.8576,-0.0928 -4.6097055,-1.87438 -0.7521065,-1.78321 0.090598,-3.84627 1.8802645,-4.59604 1.78823,-0.74936 3.856881,0.0929 4.608987,1.87437 0.752106,1.78165 -0.0906,3.84612 -1.879546,4.59605 z"},TASK_TYPE_BUSINESS_RULE_HEADER:{d:"m {mx},{my} 0,4 20,0 0,-4 z"},TASK_TYPE_BUSINESS_RULE_MAIN:{d:"m {mx},{my} 0,12 20,0 0,-12 zm 0,8 l 20,0 m -13,-4 l 0,8"},MESSAGE_FLOW_MARKER:{d:"m {mx},{my} m -10.5 ,-7 l 0,14 l 21,0 l 0,-14 z l 10.5,6 l 10.5,-6"}},this.getRawPath=function(e){return this.pathMap[e].d},this.getScaledPath=function(e,t){var n,i,r=this.pathMap[e];t.abspos?(n=t.abspos.x,i=t.abspos.y):(n=t.containerWidth*t.position.mx,i=t.containerHeight*t.position.my);var o,a,s={};if(t.position){for(var c=t.containerHeight/r.height*t.yScaleFactor,l=t.containerWidth/r.width*t.xScaleFactor,p=0;pt.x-n&&e.y>t.y-n&&e.x=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function yr(e,t,n,i,r){return e*(e*(-3*t+9*n-9*i+3*r)+6*t-12*n+6*i)-3*t+3*n}function vr(e,t,n,i,r,o,a,s,c){null==c&&(c=1);for(var l=(c=c>1?1:c<0?0:c)/2,p=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],u=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,h=0;h<12;h++){var m=l*p[h]+l,f=yr(m,e,n,r,a),g=yr(m,t,i,o,s),y=f*f+g*g;d+=u[h]*Ji.sqrt(y)}return l*d}function br(e,t,n,i,r,o,a,s){if(!(nr(e,n)nr(r,a)||nr(t,i)nr(o,s))){var c=(e*i-t*n)*(o-s)-(t-i)*(r*s-o*a),l=(e-n)*(o-s)-(t-i)*(r-a);if(l){var p=xr(((e*i-t*n)*(r-a)-(e-n)*(r*s-o*a))/l),u=xr(c/l),d=+p.toFixed(2),h=+u.toFixed(2);if(!(d<+tr(e,n).toFixed(2)||d>+nr(e,n).toFixed(2)||d<+tr(r,a).toFixed(2)||d>+nr(r,a).toFixed(2)||h<+tr(t,i).toFixed(2)||h>+nr(t,i).toFixed(2)||h<+tr(o,s).toFixed(2)||h>+nr(o,s).toFixed(2)))return{x:p,y:u}}}}function xr(e){return Math.round(1e11*e)/1e11}function _r(e,t,n){if(!function(e,t){return e=ur(e),gr(t=ur(t),e.x,e.y)||gr(t,e.x2,e.y)||gr(t,e.x,e.y2)||gr(t,e.x2,e.y2)||gr(e,t.x,t.y)||gr(e,t.x2,t.y)||gr(e,t.x,t.y2)||gr(e,t.x2,t.y2)||(e.xt.x||t.xe.x)&&(e.yt.y||t.ye.y)}(fr(e),fr(t)))return n?0:[];for(var i=vr(...e),r=vr(...t),o=Sr(e)?1:~~(i/5)||1,a=Sr(t)?1:~~(r/5)||1,s=[],c=[],l={},p=n?0:[],u=0;u=0&&w<=1&&E>=0&&E<=1&&(n?p++:p.push({x:_.x,y:_.y,t1:w,t2:E}))}}return p}function wr(e,t,n){e=Pr(e),t=Pr(t);for(var i,r,o,a,s,c,l,p,u,d,h=n?0:[],m=0,f=e.length;m2&&(i.push([t,...o.splice(0,2)]),a="l",t="m"==t?"l":"L");o.length>=n[a]&&(i.push([t,...o.splice(0,n[a])]),n[a]););})),i.toString=pr.toString,t.arr=lr(i),i}(e)),!e||!e.length)return[["M",0,0]];var n,i=[],r=0,o=0,a=0,s=0,c=0;"M"==e[0][0]&&(a=r=+e[0][1],s=o=+e[0][2],c++,i[0]=["M",r,o]);for(var l,p,u=c,d=e.length;u=1e3&&delete i[r.shift()],r.push(n),i[n]=e(...arguments),i[n])}}((function(e,t,n){return{x:e*Ji.cos(n)-t*Ji.sin(n),y:e*Ji.sin(n)+t*Ji.cos(n)}}));if(l)E=l[0],S=l[1],_=l[2],w=l[3];else{e=(p=m(e,t,-d)).x,t=p.y;var f=(e-(s=(p=m(s,c,-d)).x))/2,g=(t-(c=p.y))/2,y=f*f/(n*n)+g*g/(i*i);y>1&&(n*=y=Ji.sqrt(y),i*=y);var v=n*n,b=i*i,x=(o==a?-1:1)*Ji.sqrt(rr((v*b-v*g*g-b*f*f)/(v*g*g+b*f*f))),_=x*n*g/i+(e+s)/2,w=x*-i*f/n+(t+c)/2,E=Ji.asin(((t-w)/i).toFixed(9)),S=Ji.asin(((c-w)/i).toFixed(9));(E=e<_?er-E:E)<0&&(E=2*er+E),(S=s<_?er-S:S)<0&&(S=2*er+S),a&&E>S&&(E-=2*er),!a&&S>E&&(S-=2*er)}var C=S-E;if(rr(C)>u){var k=S,A=s,P=c;S=E+u*(a&&S>E?1:-1),h=Ar(s=_+n*Ji.cos(S),c=w+i*Ji.sin(S),n,i,r,0,a,A,P,[S,k,_,w])}C=S-E;var R=Ji.cos(E),M=Ji.sin(E),T=Ji.cos(S),D=Ji.sin(S),B=Ji.tan(C/4),N=4/3*n*B,O=4/3*i*B,j=[e,t],L=[e+N*M,t-O*R],I=[s+N*D,c-O*T],$=[s,c];if(L[0]=2*j[0]-L[0],L[1]=2*j[1]-L[1],l)return[L,I,$].concat(h);for(var z=[],F=0,H=(h=[L,I,$].concat(h).join().split(",")).length;F7){e[t].shift();for(var i=e[t];i.length;)a[t]="A",e.splice(t++,0,["C",...i.splice(0,6)]);e.splice(t,1),p=n.length}},a=[],s="",c="",l=0,p=n.length;l=r.right,s=i.top-n.y>=r.bottom,c=o?"top":s?"bottom":null,l=i.right+n.x<=r.left?"left":a?"right":null;return l&&c?c+"-"+l:l||c||"intersect"}function jr(e,t,n){var i=wr(e,t);return 1===i.length||2===i.length&&Gi(i[0],i[1])<1?Mr(i[0]):i.length>1?Mr((i=q(i,(function(e){var t=Math.floor(100*e.t2)||1;return t=((t=100-t)<10?"0":"")+t,e.segment2+"#"+t})))[n?0:i.length-1]):null}function Lr(e,t,n){return ee({id:e.id,type:e.$type,businessObject:e,di:t},n)}function Ir(e,t,n){var i=e.waypoint;return!i||i.length<2?[Nr(t),Nr(n)]:i.map((function(e){return{x:e.x,y:e.y}}))}function $r(e,t,n){return new Error(`element ${_n(t)} referenced by ${_n(e)}#${n} not yet drawn`)}function zr(e,t,n,i,r){this._eventBus=e,this._canvas=t,this._elementFactory=n,this._elementRegistry=i,this._textRenderer=r}zr.$inject=["eventBus","canvas","elementFactory","elementRegistry","textRenderer"],zr.prototype.add=function(e,t,n){var i,r,o,a,s,c,l;if(kn(t,"bpmndi:BPMNPlane")){var p=kn(e,"bpmn:SubProcess")?{id:e.id+"_plane"}:{};i=this._elementFactory.createRoot(Lr(e,t,p)),this._canvas.addRootElement(i)}else if(kn(t,"bpmndi:BPMNShape")){var u=!Kn(e,t),d=function(e){return kn(e,"bpmn:Group")}(e);r=n&&(n.hidden||n.collapsed);var h=t.bounds;i=this._elementFactory.createShape(Lr(e,t,{collapsed:u,hidden:r,x:Math.round(h.x),y:Math.round(h.y),width:Math.round(h.width),height:Math.round(h.height),isFrame:d})),kn(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,i),kn(e,"bpmn:Lane")&&(o=0),kn(e,"bpmn:DataStoreReference")&&(a=n,s=Nr(h),c=s.x,l=s.y,c>=a.x&&c<=a.x+a.width&&l>=a.y&&l<=a.y+a.height||(n=this._canvas.findRoot(n))),this._canvas.addShape(i,n,o)}else{if(!kn(t,"bpmndi:BPMNEdge"))throw new Error(`unknown di ${_n(t)} for element ${_n(e)}`);var m=this._getSource(e),f=this._getTarget(e);r=n&&(n.hidden||n.collapsed),i=this._elementFactory.createConnection(Lr(e,t,{hidden:r,source:m,target:f,waypoints:Ir(t,m,f)})),kn(e,"bpmn:DataAssociation")&&(n=this._canvas.findRoot(n)),this._canvas.addConnection(i,n,o)}return ni(e)&&si(i)&&this.addLabel(e,t,i),this._eventBus.fire("bpmnElement.added",{element:i}),i},zr.prototype._attachBoundary=function(e,t){var n=e.attachedToRef;if(!n)throw new Error(`missing ${_n(e)}#attachedToRef`);var i=this._elementRegistry.get(n.id),r=i&&i.attachers;if(!i)throw $r(e,n,"attachedToRef");t.host=i,r||(i.attachers=r=[]),-1===r.indexOf(t)&&r.push(t)},zr.prototype.addLabel=function(e,t,n){var i,r,o;return i=function(e,t){var n,i,r,o=e.label;return o&&o.bounds?(r=o.bounds,i={width:Math.max(ei.width,r.width),height:r.height},n={x:r.x+r.width/2,y:r.y+r.height/2}):(n=oi(t),i=ei),ee({x:n.x-i.width/2,y:n.y-i.height/2},i)}(t,n),(r=si(n))&&(i=this._textRenderer.getExternalLabelBounds(i,r)),o=this._elementFactory.createLabel(Lr(e,t,{id:e.id+"_label",labelTarget:n,type:"label",hidden:n.hidden||!si(n),x:Math.round(i.x),y:Math.round(i.y),width:Math.round(i.width),height:Math.round(i.height)})),this._canvas.addShape(o,n.parent)},zr.prototype._getConnectedElement=function(e,t){var n,i,r=e.$type;if(i=e[t+"Ref"],"source"===t&&"bpmn:DataInputAssociation"===r&&(i=i&&i[0]),("source"===t&&"bpmn:DataOutputAssociation"===r||"target"===t&&"bpmn:DataInputAssociation"===r)&&(i=e.$parent),n=i&&this._getElement(i))return n;throw i?$r(e,i,t+"Ref"):new Error(`${_n(e)}#${t} Ref not specified`)},zr.prototype._getSource=function(e){return this._getConnectedElement(e,"source")},zr.prototype._getTarget=function(e){return this._getConnectedElement(e,"target")},zr.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};const Fr={__depends__:[Hi,{__depends__:[Vi],bpmnImporter:["type",zr]}]};function Hr(e){return O(e,(function(t){return!B(e,(function(e){return e!==t&&Vr(t,e)}))}))}function Vr(e,t){if(t){if(e===t)return t;if(e.parent)return Vr(e.parent,t)}}function Gr(e,t,n){var i=!n||-1===e.indexOf(t);return i&&e.push(t),i}function Wr(e,t,n){n=n||0,A(e)||(e=[e]),j(e,(function(e,i){var r=t(e,i,n);A(r)&&r.length&&Wr(r,t,n+1)}))}function Ur(e,t){return function(e,t){var n=[],i=[];return Wr(e,(function(e,r,o){Gr(n,e,t);var a=e.children;if(a&&Gr(i,a,t))return a})),n}(e,!t)}function qr(e,t){var n,i,r,o;return t=!!t,A(e)||(e=[e]),j(e,(function(e){var a=e;e.waypoints&&!t&&(a=qr(e.waypoints,!0));var s=a.x,c=a.y,l=a.height||0,p=a.width||0;(sr||void 0===r)&&(r=s+p),(c+l>o||void 0===o)&&(o=c+l)})),{x:n,y:i,height:o-i,width:r-n}}function Kr(e,t){return ee({},e||{},t||{})}function Xr(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(1e9*Math.random())+"-"}Xr.prototype.next=function(){return this._prefix+ ++this._counter};var Yr=new Xr("ov");function Zr(e,t,n,i){var r,o;this._eventBus=t,this._canvas=n,this._elementRegistry=i,this._ids=Yr,this._overlayDefaults=ee({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=(r=n.getContainer(),pe(o=Re('
'),{position:"absolute",width:0,height:0}),r.insertBefore(o,r.firstChild),o),this._init()}function Qr(e,t,n){pe(e,{left:t+"px",top:n+"px"})}function Jr(e,t){e.style.display=!1===t?"none":""}function eo(e,t){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach((function(n){e.style[n+"transform"]=t}))}Zr.$inject=["config.overlays","eventBus","canvas","elementRegistry"],Zr.prototype.get=function(e){if(T(e)&&(e={id:e}),T(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var t=this._getOverlayContainer(e.element,!0);return t?e.type?O(t.overlays,K({type:e.type})):t.overlays.slice():[]}return e.type?O(this._overlays,K({type:e.type})):e.id?this._overlays[e.id]:null},Zr.prototype.add=function(e,t,n){if(P(t)&&(n=t,t=null),e.id||(e=this._elementRegistry.get(e)),!n.position)throw new Error("must specifiy overlay position");if(!n.html)throw new Error("must specifiy overlay html");if(!e)throw new Error("invalid element specified");var i=this._ids.next();return n=ee({},this._overlayDefaults,n,{id:i,type:t,element:e,html:n.html}),this._addOverlay(n),i},Zr.prototype.remove=function(e){var t=this.get(e)||[];A(t)||(t=[t]);var n=this;j(t,(function(e){var t=n._getOverlayContainer(e.element,!0);if(e&&(Be(e.html),Be(e.htmlContainer),delete e.htmlContainer,delete e.element,delete n._overlays[e.id]),t){var i=t.overlays.indexOf(e);-1!==i&&t.overlays.splice(i,1)}}))},Zr.prototype.isShown=function(){return"none"!==this._overlayRoot.style.display},Zr.prototype.show=function(){Jr(this._overlayRoot)},Zr.prototype.hide=function(){Jr(this._overlayRoot,!1)},Zr.prototype.clear=function(){this._overlays={},this._overlayContainers=[],fe(this._overlayRoot)},Zr.prototype._updateOverlayContainer=function(e){var t=e.element,n=e.html,i=t.x,r=t.y;if(t.waypoints){var o=qr(t);i=o.x,r=o.y}Qr(n,i,r),ue(e.html,"data-container-id",t.id)},Zr.prototype._updateOverlay=function(e){var t,n,i=e.position,r=e.htmlContainer,o=e.element,a=i.left,s=i.top;void 0!==i.right&&(t=o.waypoints?qr(o).width:o.width,a=-1*i.right+t);void 0!==i.bottom&&(n=o.waypoints?qr(o).height:o.height,s=-1*i.bottom+n);Qr(r,a||0,s||0),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Zr.prototype._createOverlayContainer=function(e){var t=Re('
');pe(t,{position:"absolute"}),this._overlayRoot.appendChild(t);var n={html:t,element:e,overlays:[]};return this._updateOverlayContainer(n),this._overlayContainers.push(n),n},Zr.prototype._updateRoot=function(e){var t=e.scale||1,n="matrix("+[t,0,0,t,-1*e.x*t,-1*e.y*t].join(",")+")";eo(this._overlayRoot,n)},Zr.prototype._getOverlayContainer=function(e,t){var n=B(this._overlayContainers,(function(t){return t.element===e}));return n||t?n:this._createOverlayContainer(e)},Zr.prototype._addOverlay=function(e){var t,n,i=e.id,r=e.element,o=e.html;o.get&&o.constructor.prototype.jquery&&(o=o.get(0)),T(o)&&(o=Re(o)),n=this._getOverlayContainer(r),pe(t=Re('
'),{position:"absolute"}),t.appendChild(o),e.type&&he(t).add("djs-overlay-"+e.type),Jr(t,this._canvas.findRoot(r)===this._canvas.getRootElement()),e.htmlContainer=t,n.overlays.push(e),n.html.appendChild(t),this._overlays[i]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Zr.prototype._updateOverlayVisibilty=function(e,t){var n=e.show,i=this._canvas.findRoot(e.element),r=n&&n.minZoom,o=n&&n.maxZoom,a=e.htmlContainer,s=!0;(i!==this._canvas.getRootElement()||n&&(C(r)&&r>t.scale||C(o)&&oi&&(r=(1/t.scale||1)*i)),C(r)&&(s="scale("+r+","+r+")"),eo(a,s)},Zr.prototype._updateOverlaysVisibilty=function(e){var t=this;j(this._overlays,(function(n){t._updateOverlayVisibilty(n,e)}))},Zr.prototype._init=function(){var e=this._eventBus,t=this;e.on("canvas.viewbox.changing",(function(e){t.hide()})),e.on("canvas.viewbox.changed",(function(e){var n;n=e.viewbox,t._updateRoot(n),t._updateOverlaysVisibilty(n),t.show()})),e.on(["shape.remove","connection.remove"],(function(e){var n=e.element;j(t.get({element:n}),(function(e){t.remove(e.id)}));var i=t._getOverlayContainer(n);if(i){Be(i.html);var r=t._overlayContainers.indexOf(i);-1!==r&&t._overlayContainers.splice(r,1)}})),e.on("element.changed",500,(function(e){var n=e.element,i=t._getOverlayContainer(n,!0);i&&(j(i.overlays,(function(e){t._updateOverlay(e)})),t._updateOverlayContainer(i))})),e.on("element.marker.update",(function(e){var n=t._getOverlayContainer(e.element,!0);n&&he(n.html)[e.add?"add":"remove"](e.marker)})),e.on("root.set",(function(){t._updateOverlaysVisibilty(t._canvas.viewbox())})),e.on("diagram.clear",this.clear,this)};const to={__init__:["overlays"],overlays:["type",Zr]};function no(e,t,n,i){e.on("element.changed",(function(i){var r=i.element;(r.parent||r===t.getRootElement())&&(i.gfx=n.getGraphics(r)),i.gfx&&e.fire(function(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}(r)+".changed",i)})),e.on("elements.changed",(function(t){var n=t.elements;n.forEach((function(t){e.fire("element.changed",{element:t})})),i.updateContainments(n)})),e.on("shape.changed",(function(e){i.update("shape",e.element,e.gfx)})),e.on("connection.changed",(function(e){i.update("connection",e.element,e.gfx)}))}no.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];const io={__init__:["changeSupport"],changeSupport:["type",no]};function ro(e){this._eventBus=e}function oo(e){return function(t,n,i,r,o){(M(t)||R(t))&&(o=r,r=i,i=n,n=t,t=null),this.on(t,e,n,i,r,o)}}function ao(e,t){t.invoke(ro,this),this.executed((function(t){var n=t.context;n.rootElement?e.setRootElement(n.rootElement):n.rootElement=e.getRootElement()})),this.revert((function(t){var n=t.context;n.rootElement&&e.setRootElement(n.rootElement)}))}ro.$inject=["eventBus"],ro.prototype.on=function(e,t,n,i,r,o){if((M(t)||R(t))&&(o=r,r=i,i=n,n=t,t=null),M(n)&&(o=r,r=i,i=n,n=1e3),P(r)&&(o=r,r=!1),!M(i))throw new Error("handlerFn must be a function");A(e)||(e=[e]);var a=this._eventBus;j(e,(function(e){var s=["commandStack",e,t].filter((function(e){return e})).join(".");a.on(s,n,r?function(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}(i,o):i,o)}))},ro.prototype.canExecute=oo("canExecute"),ro.prototype.preExecute=oo("preExecute"),ro.prototype.preExecuted=oo("preExecuted"),ro.prototype.execute=oo("execute"),ro.prototype.executed=oo("executed"),ro.prototype.postExecute=oo("postExecute"),ro.prototype.postExecuted=oo("postExecuted"),ro.prototype.revert=oo("revert"),ro.prototype.reverted=oo("reverted"),x(ao,ro),ao.$inject=["canvas","injector"];const so={__init__:["rootElementsBehavior"],rootElementsBehavior:["type",ao]};function co(e){return CSS.escape(e)}var lo={"&":"&","<":"<",">":">",'"':""","'":"'"};function po(e){return(e=""+e)&&e.replace(/[&<>"']/g,(function(e){return lo[e]}))}var uo="_plane";function ho(e){return function(e){return e.replace(new RegExp(uo+"$"),"")}(e.id)}function mo(e){var t=e.id;return kn(e,"bpmn:SubProcess")?yo(t):t}function fo(e){return yo(e)}function go(e){return kn(Rn(e),"bpmndi:BPMNPlane")}function yo(e){return e+uo}function vo(e,t,n){var i=Re('
    '),r=n.getContainer(),o=he(r);r.appendChild(i);var a=[];function s(e){e&&(a=function(e){for(var t=Pn(e),n=[],i=t;i;i=i.$parent)(kn(i,"bpmn:SubProcess")||kn(i,"bpmn:Process"))&&n.push(i);return n.reverse()}(e));var r=a.flatMap((function(e){var i=n.findRoot(mo(e))||n.findRoot(e.id);if(!i&&kn(e,"bpmn:Process")){var r=t.find((function(t){var n=Pn(t);return n&&n.get("processRef")===e}));i=r&&n.findRoot(r.id)}if(!i)return[];var o=po(e.name||e.id),a=Re('
  • '+o+"
  • ");return a.addEventListener("click",(function(){n.setRootElement(i)})),a}));i.innerHTML="";var s=r.length>1;o.toggle("bjs-breadcrumbs-shown",s),r.forEach((function(e){i.appendChild(e)}))}e.on("element.changed",(function(e){var t=Pn(e.element);B(a,(function(e){return e===t}))&&s()})),e.on("root.set",(function(e){s(e.element)}))}function bo(e,t){var n=null,i=new xo;e.on("root.set",(function(e){var r=e.element,o=t.viewbox(),a=i.get(r);if(i.set(n,{x:o.x,y:o.y,zoom:o.scale}),n=r,kn(r,"bpmn:SubProcess")||a){a=a||{x:0,y:0,zoom:1};var s=(o.x-a.x)*o.scale,c=(o.y-a.y)*o.scale;0===s&&0===c||t.scroll({dx:s,dy:c}),a.zoom!==o.scale&&t.zoom(a.zoom,{x:0,y:0})}})),e.on("diagram.clear",(function(){i.clear(),n=null}))}function xo(){this._entries=[],this.set=function(e,t){var n=!1;for(var i in this._entries)if(this._entries[i][0]===e){this._entries[i][1]=t,n=!0;break}n||this._entries.push([e,t])},this.get=function(e){for(var t in this._entries)if(this._entries[t][0]===e)return this._entries[t][1];return null},this.clear=function(){this._entries.length=0},this.remove=function(e){var t=-1;for(var n in this._entries)if(this._entries[n][0]===e){t=n;break}-1!==t&&this._entries.splice(t,1)}}vo.$inject=["eventBus","elementRegistry","canvas"],bo.$inject=["eventBus","canvas"];var _o=180,wo=160;function Eo(e,t){this._eventBus=e,this._moddle=t;var n=this;e.on("import.render.start",1500,(function(e,t){n._handleImport(t.definitions)}))}function So(e){return kn(e,"bpmndi:BPMNDiagram")?e:So(e.$parent)}Eo.prototype._handleImport=function(e){if(e.diagrams){var t=this;this._definitions=e,this._processToDiagramMap={},e.diagrams.forEach((function(e){e.plane&&e.plane.bpmnElement&&(t._processToDiagramMap[e.plane.bpmnElement.id]=e)})),e.diagrams.filter((e=>e.plane)).flatMap((e=>t._createNewDiagrams(e.plane))).forEach((function(e){t._movePlaneElementsToOrigin(e.plane)}))}},Eo.prototype._createNewDiagrams=function(e){var t=this,n=[],i=[];e.get("planeElement").forEach((function(t){var r=t.bpmnElement;if(r){var o=r.$parent;kn(r,"bpmn:SubProcess")&&!t.isExpanded&&n.push(r),function(e,t){var n=e.$parent;if(!kn(n,"bpmn:SubProcess")||n===t.bpmnElement)return!1;if(An(e,["bpmn:DataInputAssociation","bpmn:DataOutputAssociation"]))return!1;return!0}(r,e)&&i.push({diElement:t,parent:o})}}));var r=[];return n.forEach((function(e){if(!t._processToDiagramMap[e.id]){var n=t._createDiagram(e);t._processToDiagramMap[e.id]=n,r.push(n)}})),i.forEach((function(e){for(var i=e.diElement,r=e.parent;r&&-1===n.indexOf(r);)r=r.$parent;if(r){var o=t._processToDiagramMap[r.id];t._moveToDiPlane(i,o.plane)}})),r},Eo.prototype._movePlaneElementsToOrigin=function(e){var t=e.get("planeElement"),n=function(e){var t={top:1/0,right:-1/0,bottom:-1/0,left:1/0};return e.planeElement.forEach((function(e){if(e.bounds){var n=Tr(e.bounds);t.top=Math.min(n.top,t.top),t.left=Math.min(n.left,t.left)}})),Dr(t)}(e),i=n.x-_o,r=n.y-wo;t.forEach((function(e){e.waypoint?e.waypoint.forEach((function(e){e.x=e.x-i,e.y=e.y-r})):e.bounds&&(e.bounds.x=e.bounds.x-i,e.bounds.y=e.bounds.y-r)}))},Eo.prototype._moveToDiPlane=function(e,t){var n=So(e).plane.get("planeElement");n.splice(n.indexOf(e),1),t.get("planeElement").push(e)},Eo.prototype._createDiagram=function(e){var t=this._moddle.create("bpmndi:BPMNPlane",{bpmnElement:e}),n=this._moddle.create("bpmndi:BPMNDiagram",{plane:t});return t.$parent=n,t.bpmnElement=e,n.$parent=this._definitions,this._definitions.diagrams.push(n),n},Eo.$inject=["eventBus","moddle"];var Co=250;function ko(e,t,n,i,r){ro.call(this,t),this._canvas=e,this._eventBus=t,this._elementRegistry=n,this._overlays=i,this._translate=r;var o=this;this.executed("shape.toggleCollapse",Co,(function(e){var t=e.shape;o._canDrillDown(t)?o._addOverlay(t):o._removeOverlay(t)}),!0),this.reverted("shape.toggleCollapse",Co,(function(e){var t=e.shape;o._canDrillDown(t)?o._addOverlay(t):o._removeOverlay(t)}),!0),this.executed(["shape.create","shape.move","shape.delete"],Co,(function(e){var t=e.oldParent,n=e.newParent||e.parent,i=e.shape;o._canDrillDown(i)&&o._addOverlay(i),o._updateDrilldownOverlay(t),o._updateDrilldownOverlay(n),o._updateDrilldownOverlay(i)}),!0),this.reverted(["shape.create","shape.move","shape.delete"],Co,(function(e){var t=e.oldParent,n=e.newParent||e.parent,i=e.shape;o._canDrillDown(i)&&o._addOverlay(i),o._updateDrilldownOverlay(t),o._updateDrilldownOverlay(n),o._updateDrilldownOverlay(i)}),!0),t.on("import.render.complete",(function(){n.filter((function(e){return o._canDrillDown(e)})).map((function(e){o._addOverlay(e)}))}))}x(ko,ro),ko.prototype._updateDrilldownOverlay=function(e){var t=this._canvas;if(e){var n=t.findRoot(e);n&&this._updateOverlayVisibility(n)}},ko.prototype._canDrillDown=function(e){var t=this._canvas;return kn(e,"bpmn:SubProcess")&&t.findRoot(mo(e))},ko.prototype._updateOverlayVisibility=function(e){var t=this._overlays,n=Pn(e),i=t.get({element:n.id,type:"drilldown"})[0];if(i){var r=n&&n.get("flowElements")&&n.get("flowElements").length;he(i.html).toggle("bjs-drilldown-empty",!r)}},ko.prototype._addOverlay=function(e){var t=this._canvas,n=this._overlays,i=Pn(e);n.get({element:e,type:"drilldown"}).length&&this._removeOverlay(e);var r=Re(''),o=i.get("name")||i.get("id"),a=this._translate("Open {element}",{element:o});r.setAttribute("title",a),r.addEventListener("click",(function(){t.setRootElement(t.findRoot(mo(e)))})),n.add(e,"drilldown",{position:{bottom:-7,right:-8},html:r}),this._updateOverlayVisibility(e)},ko.prototype._removeOverlay=function(e){this._overlays.remove({element:e,type:"drilldown"})},ko.$inject=["canvas","eventBus","elementRegistry","overlays","translate"];const Ao={__depends__:[to,io,so],__init__:["drilldownBreadcrumbs","drilldownOverlayBehavior","drilldownCentering","subprocessCompatibility"],drilldownBreadcrumbs:["type",vo],drilldownCentering:["type",bo],drilldownOverlayBehavior:["type",ko],subprocessCompatibility:["type",Eo]};function Po(e,t){this._eventBus=e,this.offset=5;var n=t.cls("djs-outline",["no-fill"]),i=this;function r(e){var t=qe("rect");return Ie(t,ee({x:0,y:0,rx:4,width:100,height:100},n)),t}e.on(["shape.added","shape.changed"],500,(function(e){var t=e.element,n=e.gfx,o=Te(".djs-outline",n);o||Ne(n,o=i.getOutline(t)||r()),i.updateShapeOutline(o,t)})),e.on(["connection.added","connection.changed"],(function(e){var t=e.element,n=e.gfx,o=Te(".djs-outline",n);o||Ne(n,o=r()),i.updateConnectionOutline(o,t)}))}Po.prototype.updateShapeOutline=function(e,t){var n=!1,i=this._getProviders();i.length&&j(i,(function(i){n=n||i.updateOutline(t,e)})),n||Ie(e,{x:-this.offset,y:-this.offset,width:t.width+2*this.offset,height:t.height+2*this.offset})},Po.prototype.updateConnectionOutline=function(e,t){var n=qr(t);Ie(e,{x:n.x-this.offset,y:n.y-this.offset,width:n.width+2*this.offset,height:n.height+2*this.offset})},Po.prototype.registerProvider=function(e,t){t||(t=e,e=1e3),this._eventBus.on("outline.getProviders",e,(function(e){e.providers.push(t)}))},Po.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"outline.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},Po.prototype.getOutline=function(e){var t;return j(this._getProviders(),(function(n){M(n.getOutline)&&(t=t||n.getOutline(e))})),t},Po.$inject=["eventBus","styles","elementRegistry"];const Ro={__init__:["outline"],outline:["type",Po]},Mo={width:36,height:50},To={width:50,height:50};function Do(e,t,n){return qe("path",{d:e,strokeWidth:2,transform:`translate(${t.x}, ${t.y})`,...n})}function Bo(e,t){this._styles=t,e.registerProvider(this)}function No(e,t){var n;return"bpmn:DataObjectReference"===t?n=Mo:"bpmn:DataStoreReference"===t&&(n=To),e.width===n.width&&e.height===n.height}Bo.$inject=["outline","styles"],Bo.prototype.getOutline=function(e){const t=this._styles.cls("djs-outline",["no-fill"]);var n;if(!Jn(e))return kn(e,"bpmn:Gateway")?(ee((n=qe("rect")).style,{"transform-box":"fill-box",transform:"rotate(45deg)","transform-origin":"center"}),Ie(n,ee({x:2,y:2,rx:4,width:e.width-4,height:e.height-4},t))):An(e,["bpmn:Task","bpmn:SubProcess","bpmn:Group","bpmn:CallActivity"])?Ie(n=qe("rect"),ee({x:-5,y:-5,rx:14,width:e.width+10,height:e.height+10},t)):kn(e,"bpmn:EndEvent")?Ie(n=qe("circle"),ee({cx:e.width/2,cy:e.height/2,r:e.width/2+5+1},t)):kn(e,"bpmn:Event")?Ie(n=qe("circle"),ee({cx:e.width/2,cy:e.height/2,r:e.width/2+5},t)):kn(e,"bpmn:DataObjectReference")&&No(e,"bpmn:DataObjectReference")?n=Do("M44.7648 11.3263L36.9892 2.64074C36.0451 1.58628 34.5651 0.988708 33.1904 0.988708H5.98667C3.22688 0.988708 0.989624 3.34892 0.989624 6.26039V55.0235C0.989624 57.9349 3.22688 60.2952 5.98667 60.2952H40.966C43.7257 60.2952 45.963 57.9349 45.963 55.0235V14.9459C45.963 13.5998 45.6407 12.3048 44.7648 11.3263Z",{x:-6,y:-6},t):kn(e,"bpmn:DataStoreReference")&&No(e,"bpmn:DataStoreReference")&&(n=Do("M1.03845 48.1347C1.03845 49.3511 1.07295 50.758 1.38342 52.064C1.69949 53.3938 2.32428 54.7154 3.56383 55.6428C6.02533 57.4841 10.1161 58.7685 14.8212 59.6067C19.5772 60.4538 25.1388 60.8738 30.6831 60.8738C36.2276 60.8738 41.7891 60.4538 46.545 59.6067C51.2504 58.7687 55.3412 57.4842 57.8028 55.6429C59.0424 54.7156 59.6673 53.3938 59.9834 52.064C60.2938 50.7579 60.3285 49.351 60.3285 48.1344V13.8415C60.3285 12.6249 60.2938 11.218 59.9834 9.91171C59.6673 8.58194 59.0423 7.2602 57.8027 6.33294C55.341 4.49168 51.2503 3.20723 46.545 2.36914C41.7891 1.522 36.2276 1.10204 30.6831 1.10205C25.1388 1.10206 19.5772 1.52206 14.8213 2.36923C10.1162 3.20734 6.02543 4.49183 3.5639 6.33314C2.32433 7.26038 1.69951 8.58206 1.38343 9.91181C1.07295 11.2179 1.03845 12.6247 1.03845 13.8411V48.1347Z",{x:-6,y:-6},t)),n},Bo.prototype.updateOutline=function(e,t){if(!Jn(e))return An(e,["bpmn:SubProcess","bpmn:Group"])?(Ie(t,{width:e.width+10,height:e.height+10}),!0):!!An(e,["bpmn:Event","bpmn:Gateway","bpmn:DataStoreReference","bpmn:DataObjectReference"])};const Oo={__depends__:[Ro],__init__:["outlineProvider"],outlineProvider:["type",Bo]};function jo(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()}function Lo(e){return e.originalEvent||e.srcEvent}function Io(e){jo(e),jo(Lo(e))}function $o(e){return e.pointers&&e.pointers.length&&(e=e.pointers[0]),e.touches&&e.touches.length&&(e=e.touches[0]),e?{x:e.clientX,y:e.clientY}:null}function zo(){return/mac/i.test(navigator.platform)}function Fo(e,t){return(Lo(e)||e).button===t}function Ho(e){return Fo(e,0)}function Vo(e){var t=Lo(e)||e;return!!Ho(e)&&(zo()?t.metaKey:t.ctrlKey)}function Go(e){var t=Lo(e)||e;return Ho(e)&&t.shiftKey}function Wo(e){return!0}function Uo(e){return Ho(e)||function(e){return Fo(e,1)}(e)}function qo(e,t,n){var i=this;function r(n,i,r){var o,a;(function(e,t){return!(c[e]||Ho)(t)})(n,i)||(r?a=t.getGraphics(r):(o=i.delegateTarget||i.target)&&(a=o,r=t.get(a)),a&&r&&!1===e.fire(n,{element:r,gfx:a,originalEvent:i})&&(i.stopPropagation(),i.preventDefault()))}var o={};function a(e){return o[e]}var s={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},c={"element.contextmenu":Wo,"element.mousedown":Uo,"element.mouseup":Uo,"element.click":Uo,"element.dblclick":Uo};var l="svg, .djs-element";function p(e,t,n,i){var a=o[n]=function(e){r(n,e)};i&&(c[n]=i),a.$delegate=Ce.bind(e,l,t,a)}function u(e,t,n){var i=a(n);i&&Ce.unbind(e,t,i.$delegate)}e.on("canvas.destroy",(function(e){var t;t=e.svg,j(s,(function(e,n){u(t,n,e)}))})),e.on("canvas.init",(function(e){var t;t=e.svg,j(s,(function(e,n){p(t,n,e)}))})),e.on(["shape.added","connection.added"],(function(t){var n=t.element,i=t.gfx;e.fire("interactionEvents.createHit",{element:n,gfx:i})})),e.on(["shape.changed","connection.changed"],500,(function(t){var n=t.element,i=t.gfx;e.fire("interactionEvents.updateHit",{element:n,gfx:i})})),e.on("interactionEvents.createHit",500,(function(e){var t=e.element,n=e.gfx;i.createDefaultHit(t,n)})),e.on("interactionEvents.updateHit",(function(e){var t=e.element,n=e.gfx;i.updateDefaultHit(t,n)}));var d=f("djs-hit djs-hit-stroke"),h=f("djs-hit djs-hit-click-stroke"),m={all:f("djs-hit djs-hit-all"),"click-stroke":h,stroke:d,"no-move":f("djs-hit djs-hit-no-move")};function f(e,t){return t=ee({stroke:"white",strokeWidth:15},t||{}),n.cls(e,["no-fill","no-border"],t)}function g(e,t){var n=m[t];if(!n)throw new Error("invalid hit type <"+t+">");return Ie(e,n),e}function y(e,t){Ne(e,t)}this.removeHits=function(e){j(De(".djs-hit",e),nt)},this.createDefaultHit=function(e,t){var n,i=e.waypoints,r=e.isFrame;return i?this.createWaypointsHit(t,i):(n=r?"stroke":"all",this.createBoxHit(t,n,{width:e.width,height:e.height}))},this.createWaypointsHit=function(e,t){var n=hi(t);return g(n,"stroke"),y(e,n),n},this.createBoxHit=function(e,t,n){n=ee({x:0,y:0},n);var i=qe("rect");return g(i,t),Ie(i,n),y(e,i),i},this.updateDefaultHit=function(e,t){var n=Te(".djs-hit",t);if(n)return e.waypoints?mi(n,e.waypoints):Ie(n,{width:e.width,height:e.height}),n},this.fire=r,this.triggerMouseEvent=function(e,t,n){var i=s[e];if(!i)throw new Error("unmapped DOM event name <"+e+">");return r(i,t,n)},this.mouseHandler=a,this.registerEvent=p,this.unregisterEvent=u}qo.$inject=["eventBus","elementRegistry","styles"];const Ko={__init__:["interactionEvents"],interactionEvents:["type",qo]};function Xo(e,t){this._eventBus=e,this._canvas=t,this._selectedElements=[];var n=this;e.on(["shape.remove","connection.remove"],(function(e){var t=e.element;n.deselect(t)})),e.on(["diagram.clear","root.set"],(function(e){n.select(null)}))}Xo.$inject=["eventBus","canvas"],Xo.prototype.deselect=function(e){var t=this._selectedElements,n=t.indexOf(e);if(-1!==n){var i=t.slice();t.splice(n,1),this._eventBus.fire("selection.changed",{oldSelection:i,newSelection:t})}},Xo.prototype.get=function(){return this._selectedElements},Xo.prototype.isSelected=function(e){return-1!==this._selectedElements.indexOf(e)},Xo.prototype.select=function(e,t){var n=this._selectedElements,i=n.slice();A(e)||(e=e?[e]:[]);var r=this._canvas,o=r.getRootElement();e=e.filter((function(e){var t=r.findRoot(e);return o===t})),t?j(e,(function(e){-1===n.indexOf(e)&&n.push(e)})):this._selectedElements=n=e.slice(),this._eventBus.fire("selection.changed",{oldSelection:i,newSelection:n})};var Yo="hover",Zo="selected";function Qo(e,t,n){this._canvas=e;var i=this;function r(t,n){e.addMarker(t,n)}function o(t,n){e.removeMarker(t,n)}this._multiSelectionBox=null,t.on("element.hover",(function(e){r(e.element,Yo)})),t.on("element.out",(function(e){o(e.element,Yo)})),t.on("selection.changed",(function(e){var t=e.oldSelection,n=e.newSelection;j(t,(function(e){-1===n.indexOf(e)&&o(e,Zo)})),j(n,(function(e){-1===t.indexOf(e)&&r(e,Zo)})),i._updateSelectionOutline(n)})),t.on("element.changed",(function(e){n.isSelected(e.element)&&i._updateSelectionOutline(n.get())}))}function Jo(e,t,n,i){e.on("create.end",500,(function(e){var n=e.context,i=n.canExecute,r=n.elements,o=(n.hints||{}).autoSelect;if(i){if(!1===o)return;A(o)?t.select(o):t.select(r.filter(ea))}})),e.on("connect.end",500,(function(e){var n=e.context.connection;n&&t.select(n)})),e.on("shape.move.end",500,(function(e){var n=e.previousSelection||[],r=i.get(e.context.shape.id);B(n,(function(e){return r.id===e.id}))||t.select(r)})),e.on("element.click",(function(e){if(Ho(e)){var i=e.element;i===n.getRootElement()&&(i=null);var r=t.isSelected(i),o=t.get().length>1,a=Go(e);if(r&&o)return a?t.deselect(i):t.select(i);r?t.deselect(i):t.select(i,a)}}))}function ea(e){return!e.hidden}Qo.$inject=["canvas","eventBus","selection"],Qo.prototype._updateSelectionOutline=function(e){var t=this._canvas.getLayer("selectionOutline");He(t);var n=e.length>1;if(ze(this._canvas.getContainer())[n?"add":"remove"]("djs-multi-select"),n){var i=function(e){return{x:e.x-6,y:e.y-6,width:e.width+12,height:e.height+12}}(qr(e)),r=qe("rect");Ie(r,ee({rx:3},i)),ze(r).add("djs-selection-outline"),Ne(t,r)}},Jo.$inject=["eventBus","selection","canvas","elementRegistry"];const ta={__init__:["selectionVisuals","selectionBehavior"],__depends__:[Ko,Ro],selection:["type",Xo],selectionVisuals:["type",Qo],selectionBehavior:["type",Jo]};function na(e){Fn.call(this,e)}x(na,Fn),na.prototype._modules=[Fr,Ao,Oo,to,ta,Vi],na.prototype._moddleExtensions={};var ia=["c","C"],ra=["v","V"],oa=["y","Y"],aa=["z","Z"];function sa(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function ca(e,t){return-1!==(e=A(e)?e:[e]).indexOf(t.key)||-1!==e.indexOf(t.code)}function la(e){return e.shiftKey}var pa="keyboard.keydown",ua="input-handle-modified-keys";function da(e,t){var n=this;this._config=e||{},this._eventBus=t,this._keydownHandler=this._keydownHandler.bind(this),this._keyupHandler=this._keyupHandler.bind(this),t.on("diagram.destroy",(function(){n._fire("destroy"),n.unbind()})),t.on("diagram.init",(function(){n._fire("init")})),t.on("attach",(function(){e&&e.bindTo&&n.bind(e.bindTo)})),t.on("detach",(function(){n.unbind()}))}da.$inject=["config.keyboard","eventBus"],da.prototype._keydownHandler=function(e){this._keyHandler(e,pa)},da.prototype._keyupHandler=function(e){this._keyHandler(e,"keyboard.keyup")},da.prototype._keyHandler=function(e,t){if(!this._isEventIgnored(e)){var n={keyEvent:e};this._eventBus.fire(t||pa,n)&&e.preventDefault()}},da.prototype._isEventIgnored=function(e){return!!e.defaultPrevented||((t=e.target)&&(Me(t,"input, textarea")||"true"===t.contentEditable)||function(e){return e&&Me(e,"button, input[type=submit], input[type=button], a[href], [aria-role=button]")}(e.target)&&ca([" ","Enter"],e))&&this._isModifiedKeyIgnored(e);var t},da.prototype._isModifiedKeyIgnored=function(e){return!sa(e)||-1===this._getAllowedModifiers(e.target).indexOf(e.key)},da.prototype._getAllowedModifiers=function(e){var t=ge(e,"["+ua+"]",!0);return!t||this._node&&!this._node.contains(t)?[]:t.getAttribute(ua).split(",")},da.prototype.bind=function(e){this.unbind(),this._node=e,we.bind(e,"keydown",this._keydownHandler),we.bind(e,"keyup",this._keyupHandler),this._fire("bind")},da.prototype.getBinding=function(){return this._node},da.prototype.unbind=function(){var e=this._node;e&&(this._fire("unbind"),we.unbind(e,"keydown",this._keydownHandler),we.unbind(e,"keyup",this._keyupHandler)),this._node=null},da.prototype._fire=function(e){this._eventBus.fire("keyboard."+e,{node:this._node})},da.prototype.addListener=function(e,t,n){M(e)&&(n=t,t=e,e=1e3),this._eventBus.on(n||pa,e,t)},da.prototype.removeListener=function(e,t){this._eventBus.off(t||pa,e)},da.prototype.hasModifier=function(e){return e.ctrlKey||e.metaKey||e.shiftKey||e.altKey},da.prototype.isCmd=sa,da.prototype.isShift=la,da.prototype.isKey=ca;var ha=500;function ma(e,t){var n=this;e.on("editorActions.init",ha,(function(e){var i=e.editorActions;n.registerBindings(t,i)}))}ma.$inject=["eventBus","keyboard"],ma.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}n("undo",(function(e){if(function(e){return sa(e)&&!la(e)&&ca(aa,e)}(e.keyEvent))return t.trigger("undo"),!0})),n("redo",(function(e){if(function(e){return sa(e)&&(ca(oa,e)||ca(aa,e)&&la(e))}(e.keyEvent))return t.trigger("redo"),!0})),n("copy",(function(e){if(function(e){return sa(e)&&ca(ia,e)}(e.keyEvent))return t.trigger("copy"),!0})),n("paste",(function(e){if(function(e){return sa(e)&&ca(ra,e)}(e.keyEvent))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(ca(["+","Add","="],n)&&sa(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(ca(["-","Subtract"],n)&&sa(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(ca("0",n)&&sa(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){if(ca(["Backspace","Delete","Del"],e.keyEvent))return t.trigger("removeSelection"),!0}))};const fa={__init__:["keyboard","keyboardBindings"],keyboard:["type",da],keyboardBindings:["type",ma]};var ga={moveSpeed:50,moveSpeedAccelerated:200};function ya(e,t,n){var i=this;this._config=ee({},ga,e||{}),t.addListener((function(e){var n=e.keyEvent,r=i._config;if(!t.isCmd(n))return;if(t.isKey(["ArrowLeft","Left","ArrowUp","Up","ArrowDown","Down","ArrowRight","Right"],n)){var o,a=t.isShift(n)?r.moveSpeedAccelerated:r.moveSpeed;switch(n.key){case"ArrowLeft":case"Left":o="left";break;case"ArrowUp":case"Up":o="up";break;case"ArrowRight":case"Right":o="right";break;case"ArrowDown":case"Down":o="down"}return i.moveCanvas({speed:a,direction:o}),!0}})),this.moveCanvas=function(e){var t=0,i=0,r=e.speed/Math.min(Math.sqrt(n.viewbox().scale),1);switch(e.direction){case"left":t=r;break;case"up":i=r;break;case"right":t=-r;break;case"down":i=-r}n.scroll({dx:t,dy:i})}}ya.$inject=["config.keyboardMove","keyboard","canvas"];const va={__depends__:[fa],__init__:["keyboardMove"],keyboardMove:["type",ya]};var ba=/^djs-cursor-.*$/;function xa(e){var t=he(document.body);t.removeMatching(ba),e&&t.add("djs-cursor-"+e)}function _a(){xa(null)}var wa=5e3;function Ea(e,t){function n(){return!1}return t=t||"element.click",e.once(t,wa,n),function(){e.off(t,n)}}function Sa(e){return{x:e.x+e.width/2,y:e.y+e.height/2}}function Ca(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ka(e,t){var n;function i(i){var r,o=n.start,a=n.button,s=$o(i),c=Ca(s,o);(!n.dragging&&(r=c,Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2))>15)&&(n.dragging=!0,0===a&&Ea(e),xa("grab")),n.dragging)&&(c=Ca(s,n.last||n.start),t.scroll({dx:c.x,dy:c.y}),n.last=s);i.preventDefault()}function r(e){we.unbind(document,"mousemove",i),we.unbind(document,"mouseup",r),n=null,_a()}e.on("element.mousedown",500,(function(e){return function(e){if(ge(e.target,".djs-draggable"))return;var t=e.button;if(t>=2||e.ctrlKey||e.shiftKey||e.altKey)return;return n={button:t,start:$o(e)},we.bind(document,"mousemove",i),we.bind(document,"mouseup",r),!0}(e.originalEvent)})),this.isActive=function(){return!!n}}ka.$inject=["eventBus","canvas"];const Aa={__init__:["moveCanvas"],moveCanvas:["type",ka]};function Pa(e){return Math.log(e)/Math.log(10)}function Ra(e,t){var n=Pa(e.min),i=Pa(e.max);return(Math.abs(n)+Math.abs(i))/t}var Ma=Math.sign||function(e){return e>=0?1:-1},Ta={min:.2,max:4};function Da(e,t,n){e=e||{},this._enabled=!1,this._canvas=n,this._container=n._container,this._handleWheel=J(this._handleWheel,this),this._totalDelta=0,this._scale=e.scale||.75;var i=this;t.on("canvas.init",(function(t){i._init(!1!==e.enabled)}))}Da.$inject=["config.zoomScroll","eventBus","canvas"],Da.prototype.scroll=function(e){this._canvas.scroll(e)},Da.prototype.reset=function(){this._canvas.zoom("fit-viewport")},Da.prototype.zoom=function(e,t){var n=Ra(Ta,20);this._totalDelta+=e,Math.abs(this._totalDelta)>.1&&(this._zoom(e,t,n),this._totalDelta=0)},Da.prototype._handleWheel=function(e){if(!ge(e.target,".djs-scrollable",!0)){var t=this._container;e.preventDefault();var n,i=e.ctrlKey||zo()&&e.metaKey,r=e.shiftKey,o=-1*this._scale;if(o*=i?0===e.deltaMode?.02:.32:0===e.deltaMode?1:16,i){var a=t.getBoundingClientRect(),s={x:e.clientX-a.left,y:e.clientY-a.top};n=Math.sqrt(Math.pow(e.deltaY,2)+Math.pow(e.deltaX,2))*Ma(e.deltaY)*o,this.zoom(n,s)}else n=r?{dx:o*e.deltaY,dy:0}:{dx:o*e.deltaX,dy:o*e.deltaY},this.scroll(n)}},Da.prototype.stepZoom=function(e,t){var n=Ra(Ta,10);this._zoom(e,t,n)},Da.prototype._zoom=function(e,t,n){var i=this._canvas,r=e>0?1:-1,o=Pa(i.zoom()),a=Math.round(o/n)*n;a+=n*r;var s,c,l=Math.pow(10,a);i.zoom((s=Ta,c=l,Math.max(s.min,Math.min(s.max,c))),t)},Da.prototype.toggle=function(e){var t=this._container,n=this._handleWheel,i=this._enabled;return void 0===e&&(e=!i),i!==e&&we[e?"bind":"unbind"](t,"wheel",n,!1),this._enabled=e,e},Da.prototype._init=function(e){this.toggle(e)};const Ba={__init__:["zoomScroll"],zoomScroll:["type",Da]};function Na(e){na.call(this,e)}function Oa(e){return e&&e[e.length-1]}function ja(e){return e.y}function La(e){return e.x}x(Na,na),Na.prototype._navigationModules=[va,Aa,Ba],Na.prototype._modules=[].concat(na.prototype._modules,Na.prototype._navigationModules);var Ia={left:La,center:La,right:function(e){return e.x+e.width},top:ja,middle:ja,bottom:function(e){return e.y+e.height}};function $a(e,t){this._modeling=e,this._rules=t}$a.$inject=["modeling","rules"],$a.prototype._getOrientationDetails=function(e){var t="x",n="width";return-1!==["top","bottom","middle"].indexOf(e)&&(t="y",n="height"),{axis:t,dimension:n}},$a.prototype._isType=function(e,t){return-1!==t.indexOf(e)},$a.prototype._alignmentPosition=function(e,t){var n,i,r,o,a,s=this._getOrientationDetails(e),c=s.axis,l=s.dimension,p={},u={},d=!1;if(this._isType(e,["left","top"]))p[e]=t[0][c];else if(this._isType(e,["right","bottom"]))r=Oa(t),p[e]=r[c]+r[l];else if(this._isType(e,["center","middle"])){if(j(t,(function(e){var t=e[c]+Math.round(e[l]/2);u[t]?u[t].elements.push(e):u[t]={elements:[e],center:t}})),n=q(u,(function(e){return e.elements.length>1&&(d=!0),e.elements.length})),d)return p[e]=Oa(n).center,p;i=t[0],r=Oa(t=q(t,(function(e){return e[c]+e[l]}))),p[e]=(o=i,a=r,Math.round((o[c]+a[c]+a[l])/2))}return p},$a.prototype.trigger=function(e,t){var n,i=this._modeling,r=O(e,(function(e){return!(e.waypoints||e.host||e.labelTarget)}));if(A(n=this._rules.allowed("elements.align",{elements:r}))&&(r=n),!(r.length<2)&&n){var o=q(r,Ia[t]),a=this._alignmentPosition(t,o);i.alignElements(o,a)}};const za={__init__:["alignElements"],alignElements:["type",$a]},Fa=new Xr;function Ha(e){this._scheduled={},e.on("diagram.destroy",(()=>{Object.keys(this._scheduled).forEach((e=>{this.cancel(e)}))}))}Ha.$inject=["eventBus"],Ha.prototype.schedule=function(e,t=Fa.next()){this.cancel(t);const n=this._schedule(e,t);return this._scheduled[t]=n,n.promise},Ha.prototype._schedule=function(e,t){const{promise:n,resolve:i,reject:r}=function(){let e,t;const n=new Promise(((n,i)=>{e=n,t=i}));return{promise:n,resolve:e,reject:t}}();return{executionId:requestAnimationFrame((()=>{try{i(e())}catch(t){r(t)}})),promise:n}},Ha.prototype.cancel=function(e){const t=this._scheduled[e];t&&(this._cancel(t),this._scheduled[e]=null)},Ha.prototype._cancel=function(e){cancelAnimationFrame(e.executionId)};const Va={scheduler:["type",Ha]};var Ga=".entry";function Wa(e,t,n,i){this._canvas=e,this._elementRegistry=t,this._eventBus=n,this._scheduler=i,this._current=null,this._init()}Wa.$inject=["canvas","elementRegistry","eventBus","scheduler"],Wa.prototype._init=function(){var e=this;this._eventBus.on("selection.changed",(function(t){var n=t.newSelection,i=n.length?1===n.length?n[0]:n:null;i?e.open(i,!0):e.close()})),this._eventBus.on("elements.changed",(function(t){var n=t.elements,i=e._current;if(i){var r=i.target,o=A(r)?r:[r];if(o.filter((function(e){return n.includes(e)})).length){e.close();var a=o.filter((function(t){return e._elementRegistry.get(t.id)}));a.length&&e._updateAndOpen(a.length>1?a:a[0])}}})),this._eventBus.on("canvas.viewbox.changed",(function(){e._updatePosition()})),this._eventBus.on("element.marker.update",(function(t){if(e.isOpen()){var n=t.element,i=e._current;(A(i.target)?i.target:[i.target]).includes(n)&&e._updateVisibility()}})),this._container=this._createContainer()},Wa.prototype._createContainer=function(){var e=Re('
    ');return this._canvas.getContainer().appendChild(e),e},Wa.prototype.registerProvider=function(e,t){t||(t=e,e=1e3),this._eventBus.on("contextPad.getProviders",e,(function(e){e.providers.push(t)}))},Wa.prototype.getEntries=function(e){var t=this._getProviders(),n=A(e)?"getMultiElementContextPadEntries":"getContextPadEntries",i={};return j(t,(function(t){if(M(t[n])){var r=t[n](e);M(r)?i=r(i):j(r,(function(e,t){i[t]=e}))}})),i},Wa.prototype.trigger=function(e,t,n){var i,r,o=this,a=t.delegateTarget||t.target;return a?(i=ue(a,"data-action"),r=t.originalEvent||t,"mouseover"!==e?"mouseout"===e?(clearTimeout(this._timeout),void(this._mouseout&&(this._mouseout(),this._mouseout=null))):this.triggerEntry(i,e,r,n):void(this._timeout=setTimeout((function(){o._mouseout=o.triggerEntry(i,"hover",r,n)}),300))):t.preventDefault()},Wa.prototype.triggerEntry=function(e,t,n,i){if(this.isShown()){var r=this._current.target,o=this._current.entries[e];if(o){var a=o.action;if(!1!==this._eventBus.fire("contextPad.trigger",{entry:o,event:n})){if(M(a)){if("click"===t)return a(n,r,i)}else if(a[t])return a[t](n,r,i);n.preventDefault()}}}},Wa.prototype.open=function(e,t){!t&&this.isOpen(e)||(this.close(),this._updateAndOpen(e))},Wa.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"contextPad.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},Wa.prototype._updateAndOpen=function(e){var t,n=this.getEntries(e),i=this._createHtml(e);j(n,(function(e,n){var r,o,a,s,c=e.group||"default",l=Re(e.html||'
    ');ue(l,"data-action",n),(r=Te("[data-group="+co(c)+"]",i))||(ue(r=Re('
    '),"data-group",c),i.appendChild(r)),r.appendChild(l),e.className&&(o=l,a=e.className,s=he(o),(a=A(a)?a:a.split(/\s+/g)).forEach((function(e){s.add(e)}))),e.title&&ue(l,"title",e.title),e.imageUrl&&(ue(t=Re(""),"src",e.imageUrl),t.style.width="100%",t.style.height="100%",l.appendChild(t))})),he(i).add("open"),this._current={entries:n,html:i,target:e},this._updatePosition(),this._updateVisibility(),this._eventBus.fire("contextPad.open",{current:this._current})},Wa.prototype._createHtml=function(e){var t=this,n=Re('
    ');return Ce.bind(n,Ga,"click",(function(e){t.trigger("click",e)})),Ce.bind(n,Ga,"dragstart",(function(e){t.trigger("dragstart",e)})),Ce.bind(n,Ga,"mouseover",(function(e){t.trigger("mouseover",e)})),Ce.bind(n,Ga,"mouseout",(function(e){t.trigger("mouseout",e)})),we.bind(n,"mousedown",(function(e){e.stopPropagation()})),this._container.appendChild(n),this._eventBus.fire("contextPad.create",{target:e,pad:n}),n},Wa.prototype.getPad=function(e){let t;return t=this.isOpen()&&function(e,t){return e=A(e)?e:[e],t=A(t)?t:[t],e.length===t.length&&$(e,(function(e){return t.includes(e)}))}(this._current.target,e)?this._current.html:this._createHtml(e),{html:t}},Wa.prototype.close=function(){this.isOpen()&&(clearTimeout(this._timeout),this._container.innerHTML="",this._eventBus.fire("contextPad.close",{current:this._current}),this._current=null)},Wa.prototype.isOpen=function(e){var t=this._current;if(!t)return!1;if(!e)return!0;var n=t.target;return A(e)===A(n)&&(A(e)?e.length===n.length&&$(e,(function(e){return n.includes(e)})):n===e)},Wa.prototype.isShown=function(){return this.isOpen()&&he(this._current.html).has("open")},Wa.prototype.show=function(){this.isOpen()&&(he(this._current.html).add("open"),this._updatePosition(),this._eventBus.fire("contextPad.show",{current:this._current}))},Wa.prototype.hide=function(){this.isOpen()&&(he(this._current.html).remove("open"),this._eventBus.fire("contextPad.hide",{current:this._current}))},Wa.prototype._getPosition=function(e){if(!A(e)&&Qn(e)){var t=this._canvas.viewbox(),n=(o=e).waypoints[o.waypoints.length-1],i=n.x*t.scale-t.x*t.scale,r=n.y*t.scale-t.y*t.scale;return{left:i+8*this._canvas.zoom(),top:r}}var o,a=this._canvas.getContainer().getBoundingClientRect(),s=this._getTargetBounds(e);return{left:s.right-a.left+8*this._canvas.zoom(),top:s.top-a.top}},Wa.prototype._updatePosition=function(){if(this.isOpen()){var e=this._current.html,t=this._getPosition(this._current.target);"x"in t&&"y"in t?(e.style.left=t.x+"px",e.style.top=t.y+"px"):["top","right","bottom","left"].forEach((function(n){n in t&&(e.style[n]=t[n]+"px")}))}},Wa.prototype._updateVisibility=function(){this._scheduler.schedule((()=>{if(this.isOpen()){var e=this,t=this._current.target;(A(t)?t:[t]).some((function(t){return e._canvas.hasMarker(t,"djs-element-hidden")}))?e.hide():e.show()}}),"ContextPad#_updateVisibility")},Wa.prototype._getTargetBounds=function(e){var t=this;return(A(e)?e:[e]).map((function(e){return t._canvas.getGraphics(e)})).reduce((function(e,t){const n=t.getBoundingClientRect();return e.top=Math.min(e.top,n.top),e.right=Math.max(e.right,n.right),e.bottom=Math.max(e.bottom,n.bottom),e.left=Math.min(e.left,n.left),e.x=e.left,e.y=e.top,e.width=e.right-e.left,e.height=e.bottom-e.top,e}),{top:1/0,right:-1/0,bottom:-1/0,left:1/0})};const Ua={__depends__:[Ko,Va,to],contextPad:["type",Wa]};var qa,Ka,Xa,Ya,Za,Qa,Ja,es,ts,ns,is={},rs=[],os=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,as=Array.isArray;function ss(e,t){for(var n in t)e[n]=t[n];return e}function cs(e){var t=e.parentNode;t&&t.removeChild(e)}function ls(e,t,n){var i,r,o,a={};for(o in t)"key"==o?i=t[o]:"ref"==o?r=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?qa.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return ps(e,a,i,r,null)}function ps(e,t,n,i,r){var o={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++Xa:r,__i:-1,__u:0};return null==r&&null!=Ka.vnode&&Ka.vnode(o),o}function us(e){return e.children}function ds(e,t){this.props=e,this.context=t}function hs(e,t){if(null==t)return e.__?hs(e.__,e.__i+1):null;for(var n;tt&&Ya.sort(Ja));gs.__r=0}function ys(e,t,n,i,r,o,a,s,c,l,p){var u,d,h,m,f,g=i&&i.__k||rs,y=t.length;for(n.__d=c,function(e,t,n){var i,r,o,a,s,c=t.length,l=n.length,p=l,u=0;for(e.__k=[],i=0;i0?ps(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,s=bs(r,n,a,p),r.__i=s,o=null,-1!==s&&(p--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&u--,"function"!=typeof r.type&&(r.__u|=65536)):s!==a&&(s==a-1?u--:s==a+1?u++:s>a?p>c-a?u+=s-a:u--:s(null==c||131072&c.__u?0:1))for(;a>=0||s=0){if((c=t[a])&&!(131072&c.__u)&&r==c.key&&o===c.type)return a;a--}if(s=5&&((r||!e&&5===i)&&(a.push(i,0,r,n),i=6),e&&(a.push(i,e,0,n),i=6)),r=""},c=0;c"===t?(i=1,r=""):r=t+r[0]:o?t===o?o="":r+=t:'"'===t||"'"===t?o=t:">"===t?(s(),i=1):i&&("="===t?(i=5,n=r,r=""):"/"===t&&(i<5||">"===e[c][l+1])?(s(),3===i&&(a=a[0]),i=a,(a=a[0]).push(2,0,i),i=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(s(),i=2):r+=t),3===i&&"!--"===r&&(i=4,a=a[0])}return s(),a}(e)),t),arguments,[])).length>1?t:t[0]}.bind(ls),js=0,Ls=[],Is=Ka,$s=Is.__b,zs=Is.__r,Fs=Is.diffed,Hs=Is.__c,Vs=Is.unmount,Gs=Is.__;function Ws(e,t){Is.__h&&Is.__h(Ds,e,js||t),js=0;var n=Ds.__H||(Ds.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Us(e){return js=1,function(e,t){var n=Ws(Ts++,2);if(n.t=e,!n.__c&&(n.__=[rc(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],i=n.t(t,e);t!==i&&(n.__N=[i,n.__[1]],n.__c.setState({}))}],n.__c=Ds,!Ds.u)){var i=function(e,t,i){if(!n.__c.__H)return!0;var o=n.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!r||r.call(this,e,t,i);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&n.__c.props===e)&&(!r||r.call(this,e,t,i))};Ds.u=!0;var r=Ds.shouldComponentUpdate,o=Ds.componentWillUpdate;Ds.componentWillUpdate=function(e,t,n){if(this.__e){var a=r;r=void 0,i(e,t,n),r=a}o&&o.call(this,e,t,n)},Ds.shouldComponentUpdate=i}return n.__N||n.__}(rc,e)}function qs(e,t){var n=Ws(Ts++,3);!Is.__s&&ic(n.__H,t)&&(n.__=e,n.i=t,Ds.__H.__h.push(n))}function Ks(e,t){var n=Ws(Ts++,4);!Is.__s&&ic(n.__H,t)&&(n.__=e,n.i=t,Ds.__h.push(n))}function Xs(e){return js=5,Ys((function(){return{current:e}}),[])}function Ys(e,t){var n=Ws(Ts++,7);return ic(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Zs(e,t){return js=8,Ys((function(){return e}),t)}function Qs(){for(var e;e=Ls.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(tc),e.__H.__h.forEach(nc),e.__H.__h=[]}catch(t){e.__H.__h=[],Is.__e(t,e.__v)}}Is.__b=function(e){Ds=null,$s&&$s(e)},Is.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Gs&&Gs(e,t)},Is.__r=function(e){zs&&zs(e),Ts=0;var t=(Ds=e.__c).__H;t&&(Bs===Ds?(t.__h=[],Ds.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(tc),t.__h.forEach(nc),t.__h=[],Ts=0)),Bs=Ds},Is.diffed=function(e){Fs&&Fs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Ls.push(t)&&Ns===Is.requestAnimationFrame||((Ns=Is.requestAnimationFrame)||ec)(Qs)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),Bs=Ds=null},Is.__c=function(e,t){t.some((function(e){try{e.__h.forEach(tc),e.__h=e.__h.filter((function(e){return!e.__||nc(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Is.__e(n,e.__v)}})),Hs&&Hs(e,t)},Is.unmount=function(e){Vs&&Vs(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{tc(e)}catch(n){t=n}})),n.__H=void 0,t&&Is.__e(t,n.__v))};var Js="function"==typeof requestAnimationFrame;function ec(e){var t,n=function(){clearTimeout(i),Js&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Js&&(t=requestAnimationFrame(n))}function tc(e){var t=Ds,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Ds=t}function nc(e){var t=Ds;e.__c=e.__(),Ds=t}function ic(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function rc(e,t){return"function"==typeof t?t(e):t}function oc(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;tt.reduce(((e,t)=>{const n=t.group||"default",i=e.find((e=>e.id===n));return i?i.entries.push(t):e.push({id:n,entries:[t]}),e}),[])),[t]);return Os` +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("quasar"),require("vue"),require("@herodotus/components"),require("@herodotus/bpmn-apis"),require("@herodotus/core"),require("bpmn-js-properties-panel"),require("bpmn-js-token-simulation"),require("ids"),require("diagram-js")):"function"==typeof define&&define.amd?define(["exports","quasar","vue","@herodotus/components","@herodotus/bpmn-apis","@herodotus/core","bpmn-js-properties-panel","bpmn-js-token-simulation","ids","diagram-js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@herodotus/bpmn-designer"]={},e.quasar,e.vue,e.HerodotusComponents,e.HerodotusBpmnApis,e.HerodotusCore,e.BpmnJsPropertiesPanel,e.BpmnJsTokenSimulation,e.Ids,e.DiagramJs)}(this,(function(e,t,n,i,r,o,a,s,c,l){"use strict";const p=n.defineComponent({name:"HBpmnDesignerToolbar",components:{HListItem:i.HListItem,HSwitch:i.HSwitch,HTextField:i.HTextField},props:{file:{type:String,required:!0},zoom:{type:Number,default:1}},emits:["update:file","downloadXml","downloadSvg","downloadBpmn","alignLeft","alignRight","alignTop","alignBottom","alignHorizontalCenter","alignVerticalCenter","zoomMinus","zoomPlus","zoomReset","undo","redo","refresh","simulation","save"],setup(e,{emit:t}){const i=n.ref(null),r=n.ref(!1),o=n.ref(!1),a=n.ref(""),s=n.computed({get:()=>e.file,set:e=>{t("update:file",e)}}),c=n.ref(""),l=n.ref(""),p=n.ref(!1),u=n.ref(!1),d=n.ref(!1);n.watch(i,(e=>{(async e=>{if(e){const t=await e.text();a.value=e.name,t&&(s.value=t)}else s.value=""})(e)})),n.watch((()=>a.value),(e=>{e&&(c.value=e,d.value=!0)}),{immediate:!0}),n.watch(u,(e=>{e&&(p.value=!0)}),{immediate:!0});return{bpmnModelFile:i,onDownloadXml:()=>{t("downloadXml")},onDownloadSvg:()=>{t("downloadSvg")},onDownloadBpmn:()=>{t("downloadBpmn")},onAlignLeft:()=>{t("alignLeft")},onAlignRight:()=>{t("alignRight")},onAlignTop:()=>{t("alignTop")},onAlignBottom:()=>{t("alignBottom")},onAlignHorizontalCenter:()=>{t("alignHorizontalCenter")},onAlignVerticalCenter:()=>{t("alignVerticalCenter")},onZoomMinus:()=>{t("zoomMinus")},onZoomPlus:()=>{t("zoomPlus")},onZoomReset:()=>{t("zoomReset")},onUndo:()=>{t("undo")},onRedo:()=>{t("redo")},onRefresh:()=>{t("refresh")},simulation:r,onSimulation:()=>{r.value=!r.value,t("simulation")},showUploadDialog:o,onSave:()=>{o.value=!1;const e={deploymentName:c.value,enableDuplicateFiltering:p.value,deployChangedOnly:u.value,resource:s.value};t("save",e)},name:a,deploymentName:c,tenantId:l,enableDuplicateCheck:p,deployChangedOnly:u,disableNameInput:d}}}),u=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},d=n.createElementVNode("div",{class:"text-h6"},"模型信息",-1);const h=u(p,[["render",function(e,i,r,o,a,s){const c=t.QIcon,l=t.QFile,p=t.QSeparator,u=n.resolveComponent("h-list-item"),h=t.QList,m=t.QBtnDropdown,f=n.resolveComponent("h-button"),g=t.QBtnGroup,y=t.QBtn,v=t.QCardSection,b=n.resolveComponent("h-text-field"),x=n.resolveComponent("h-switch"),_=t.QCardActions,w=t.QCard,E=t.QDialog,S=t.QToolbar,C=n.resolveDirective("close-popup");return n.openBlock(),n.createBlock(S,{class:"bg-primary text-white q-px-none"},{default:n.withCtx((()=>[n.createVNode(l,{modelValue:e.bpmnModelFile,"onUpdate:modelValue":i[0]||(i[0]=t=>e.bpmnModelFile=t),"label-color":"white","bg-color":"primary",square:"",standout:"",dense:"",clearable:"",label:"打开"},{prepend:n.withCtx((()=>[n.createVNode(c,{name:"mdi-folder-open",color:"white"})])),_:1},8,["modelValue"]),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(m,{stretch:"",flat:"",label:"下载",dense:"",icon:"mdi-download-box"},{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(u,{label:"下载为XML文件",icon:"mdi-xml",onClick:i[1]||(i[1]=t=>e.onDownloadXml())}),n.createVNode(u,{label:"下载为SVG文件",icon:"mdi-svg",onClick:i[2]||(i[2]=t=>e.onDownloadSvg())}),n.createVNode(u,{label:"下载为BPMN文件",icon:"mdi-codepen",onClick:i[3]||(i[3]=t=>e.onDownloadBpmn())})])),_:1})])),_:1})])),_:1}),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(m,{stretch:"",flat:"",label:"代码",dense:"",icon:"mdi-eye"},{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(h,null,{default:n.withCtx((()=>[n.createVNode(u,{label:"预览XML",icon:"mdi-xml"}),n.createVNode(u,{label:"预览JSON",icon:"mdi-code-json"})])),_:1})])),_:1})])),_:1}),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(f,{stretch:"",flat:"",color:"primary",dense:"","text-color":"white",icon:e.simulation?"mdi-play-pause":"mdi-play",tooltip:e.simulation?"退出模拟":"开启模拟",label:e.simulation?"退出模拟":"开启模拟",onClick:i[4]||(i[4]=t=>e.onSimulation())},null,8,["icon","tooltip","label"]),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(f,{stretch:"",flat:"",color:"primary",dense:"","text-color":"white",icon:"mdi-cloud-upload",tooltip:"上传至服务器",label:"上传云端",onClick:i[5]||(i[5]=t=>e.showUploadDialog=!0)}),n.createVNode(p,{vertical:"",color:"white"}),n.createVNode(g,{class:"q-ml-sm"},{default:n.withCtx((()=>[n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-horizontal-left",tooltip:"向左对齐",onClick:i[6]||(i[6]=t=>e.onAlignLeft())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-horizontal-right",tooltip:"向右对齐",onClick:i[7]||(i[7]=t=>e.onAlignRight())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-vertical-top",tooltip:"向上对齐",onClick:i[8]||(i[8]=t=>e.onAlignTop())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-vertical-bottom",tooltip:"向下对齐",onClick:i[9]||(i[9]=t=>e.onAlignBottom())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-horizontal-center",tooltip:"水平居中",onClick:i[10]||(i[10]=t=>e.onAlignHorizontalCenter())}),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-align-vertical-center",tooltip:"垂直居中",onClick:i[11]||(i[11]=t=>e.onAlignVerticalCenter())})])),_:1}),n.createVNode(g,{class:"q-ml-xs"},{default:n.withCtx((()=>[n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-magnify-minus",tooltip:"缩小视图",disable:e.zoom<.2,onClick:i[12]||(i[12]=t=>e.onZoomMinus())},null,8,["disable"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(y,{color:"white","text-color":"grey-8",dense:"",class:"q-px-sm",label:Math.floor(10*e.zoom*10)+"%",disable:""},null,8,["label"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-magnify-plus",tooltip:"放大视图",disable:e.zoom>4,onClick:i[13]||(i[13]=t=>e.onZoomPlus())},null,8,["disable"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-magnify-scan",tooltip:"重置视图并居中",onClick:i[14]||(i[14]=t=>e.onZoomReset())})])),_:1}),n.createVNode(g,{class:"q-mx-xs"},{default:n.withCtx((()=>[n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-undo-variant",tooltip:"撤销",onClick:e.onUndo},null,8,["onClick"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-redo-variant",tooltip:"恢复",onClick:e.onRedo},null,8,["onClick"]),n.createVNode(p,{vertical:"",color:"grey-6"}),n.createVNode(f,{color:"white","text-color":"grey-8",class:"q-px-sm",dense:"",icon:"mdi-refresh",onClick:e.onRefresh},null,8,["onClick"])])),_:1}),n.createVNode(E,{modelValue:e.showUploadDialog,"onUpdate:modelValue":i[19]||(i[19]=t=>e.showUploadDialog=t)},{default:n.withCtx((()=>[n.createVNode(w,null,{default:n.withCtx((()=>[n.createVNode(v,null,{default:n.withCtx((()=>[d])),_:1}),n.createVNode(p),n.createVNode(v,{style:{"max-height":"50vh"},class:"scroll"},{default:n.withCtx((()=>[n.createVNode(b,{modelValue:e.deploymentName,"onUpdate:modelValue":i[15]||(i[15]=t=>e.deploymentName=t),label:"模型名称",placeholder:"请输入模型名称",disable:e.disableNameInput},null,8,["modelValue","disable"]),n.createVNode(x,{modelValue:e.enableDuplicateCheck,"onUpdate:modelValue":i[16]||(i[16]=t=>e.enableDuplicateCheck=t),label:"开启部署重复检查"},null,8,["modelValue"]),n.createVNode(x,{modelValue:e.deployChangedOnly,"onUpdate:modelValue":i[17]||(i[17]=t=>e.deployChangedOnly=t),label:"仅在模型存在变化时部署"},null,8,["modelValue"])])),_:1}),n.createVNode(p),n.createVNode(_,{align:"right"},{default:n.withCtx((()=>[n.withDirectives(n.createVNode(y,{label:"取消",color:"red"},null,512),[[C]]),n.createVNode(y,{label:"部署",color:"primary",onClick:i[18]||(i[18]=t=>e.onSave())})])),_:1})])),_:1})])),_:1},8,["modelValue"])])),_:1})}]]),m='\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n',f=(e,t)=>{const{warnings:n,message:i}=t;t(e,n,i)},g=(e,t)=>{if(e&&t){const n=document.createElement("a");n.download=t,n.href=e,n.click(),URL.revokeObjectURL(n.href)}},y=(e,t="diagram",n)=>({filename:`${t}.${e}`,href:`data:application/${"svg"===e?"text/xml":"bpmn20-xml"};charset=UTF-8,${encodeURIComponent(n)}`,data:n}),v={"Activate the create/remove space tool":"启动创建/删除空间工具","Activate the global connect tool":"启动全局连接工具","Activate the hand tool":"启动手动工具","Activate the lasso tool":"启动 Lasso 工具","Ad-hoc":"Ad-hoc子流程","Add Lane above":"添加到通道之上","Add Lane below":"添加到通道之下","Append compensation activity":"追加补偿活动","Append {type}":"追加 {type}","Business Rule Task":"规则任务","Call Activity":"引用流程","Cancel Boundary Event":"取消边界事件","Cancel End Event":"结束取消事件","Change type":"更改类型","Collapsed Pool":"折叠池","Compensation Boundary Event":"补偿边界事件","Compensation End Event":"结束补偿事件","Compensation Intermediate Throw Event":"中间补偿抛出事件","Compensation Start Event":"补偿启动事件","Complex Gateway":"复杂网关","Conditional Boundary Event (non-interrupting)":"条件边界事件 (非中断)","Conditional Boundary Event":"条件边界事件","Conditional Intermediate Catch Event":"中间条件捕获事件","Conditional Start Event (non-interrupting)":"条件启动事件 (非中断)","Conditional Start Event":"条件启动事件","Connect using Association":"文本关联","Connect using DataInputAssociation":"数据关联","Connect using Sequence/MessageFlow or Association":"消息关联","Create IntermediateThrowEvent/BoundaryEvent":"创建中间抛出/边界事件","Create Pool/Participant":"创建池/参与者","Create expanded SubProcess":"创建可折叠子流程","Create {type}":"创建 {type}","Divide into three Lanes":"分成三条通道","Divide into two Lanes":"分成两条通道","End Event":"结束事件","Error Boundary Event":"错误边界事件","Error End Event":"结束错误事件","Error Start Event":"错误启动事件","Escalation Boundary Event (non-interrupting)":"升级边界事件 (非中断)","Escalation Boundary Event":"升级边界事件","Escalation End Event":"结束升级事件","Escalation Intermediate Throw Event":"中间升级抛出事件","Escalation Start Event (non-interrupting)":"升级启动事件 (非中断)","Escalation Start Event":"升级启动事件","Event Sub Process":"事件子流程","Event based Gateway":"事件网关","Exclusive Gateway":"独占网关","Expanded Pool":"展开池","Inclusive Gateway":"包容网关","Intermediate Throw Event":"中间抛出事件","Link Intermediate Catch Event":"中间链接捕获事件","Link Intermediate Throw Event":"中间链接抛出事件",Loop:"循环","Manual Task":"手动任务","Message Boundary Event (non-interrupting)":"消息边界事件 (非中断)","Message Boundary Event":"消息边界事件","Message End Event":"结束消息事件","Message Intermediate Catch Event":"中间消息捕获事件","Message Intermediate Throw Event":"中间消息抛出事件","Message Start Event (non-interrupting)":"消息启动事件 (非中断)","Message Start Event":"消息启动事件","Parallel Gateway":"并行网关","Parallel Multi Instance":"并行多实例","Receive Task":"接受任务",Remove:"移除","Script Task":"脚本任务","Send Task":"发送任务","Sequential Multi Instance":"串行多实例","Service Task":"服务任务","Signal Boundary Event (non-interrupting)":"信号边界事件 (非中断)","Signal Boundary Event":"信号边界事件","Signal End Event":"结束信号事件","Signal Intermediate Catch Event":"中间信号捕获事件","Signal Intermediate Throw Event":"中间信号抛出事件","Signal Start Event (non-interrupting)":"信号启动事件 (非中断)","Signal Start Event":"信号启动事件","Start Event":"开始事件","Sub Process (collapsed)":"可折叠子流程","Sub Process (expanded)":"可展开子流程","Sub Process":"子流程",Task:"任务","Terminate End Event":"终止边界事件","Timer Boundary Event (non-interrupting)":"定时边界事件 (非中断)","Timer Boundary Event":"定时边界事件","Timer Intermediate Catch Event":"中间定时捕获事件","Timer Start Event (non-interrupting)":"定时启动事件 (非中断)","Timer Start Event":"定时启动事件",Transaction:"事务","User Task":"用户任务","already rendered {element}":"{element} 已呈现","diagram not part of bpmn:Definitions":"图表不是 bpmn:Definitions 的一部分","element required":"需要元素","element {element} referenced by {referenced}#{property} not yet drawn":"元素 {element} 的引用 {referenced}#{property} 尚未绘制","failed to import {element}":"{element} 导入失败","flow elements must be children of pools/participants":"元素必须是池/参与者的子级","more than {count} child lanes":"超过 {count} 条通道","no diagram to display":"没有要显示的图表","no parent for {element} in {parent}":"在 {element} 中没有父元素 {parent}","no process or collaboration to display":"没有可显示的流程或协作","no shape type specified":"未指定形状类型","out of bounds release":"越界释放","Asynchronous Continuations":"异步延续","Candidate starter":"候选发起人",create:"创建","Create new list item":"创建新列表项",Documentation:"文档",General:"常规","Execution listeners":"执行监听器","Extension properties":"扩展属性","External task":"外部任务",Forms:"表单","History cleanup":"历史清理",Inputs:"输入","Job execution":"调度执行",Outputs:"输出",Tasklist:"任务列表"};function b(e,t){t=t||{};return(e=v[e]||e).replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function x(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}function _(e){return Array.prototype.concat.apply([],e)}const w=Object.prototype.toString,E=Object.prototype.hasOwnProperty;function S(e){return void 0===e}function C(e){return void 0!==e}function k(e){return null==e}function A(e){return"[object Array]"===w.call(e)}function P(e){return"[object Object]"===w.call(e)}function R(e){return"[object Number]"===w.call(e)}function M(e){const t=w.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function T(e){return"[object String]"===w.call(e)}function D(e,t){return E.call(e,t)}function B(e,t){const n=Y(t);let i;return j(e,(function(e,t){if(n(e,t))return i=e,!1})),i}function N(e,t){const n=Y(t);let i=A(e)?-1:void 0;return j(e,(function(e,t){if(n(e,t))return i=t,!1})),i}function O(e,t){const n=Y(t);let i=[];return j(e,(function(e,t){n(e,t)&&i.push(e)})),i}function j(e,t){let n,i;if(S(e))return;const r=A(e)?Q:Z;for(let o in e)if(D(e,o)&&(n=e[o],i=t(n,r(o)),!1===i))return n}function L(e,t){if(S(e))return[];!function(e){if(!A(e))throw new Error("must supply array")}(e);const n=Y(t);return e.filter((function(e,t){return!n(e,t)}))}function I(e,t,n){return j(e,(function(e,i){n=t(n,e,i)})),n}function $(e,t){return!!I(e,(function(e,n,i){return e&&t(n,i)}),!0)}function z(e,t){return!!B(e,t)}function F(e,t){let n=[];return j(e,(function(e,i){n.push(t(e,i))})),n}function H(e){return e&&Object.keys(e)||[]}function V(e){return F(e,(e=>e))}function G(e,t,n={}){return t=X(t),j(e,(function(e){let i=t(e)||"_",r=n[i];r||(r=n[i]=[]),r.push(e)})),n}function W(e,...t){e=X(e);let n={};return j(t,(t=>G(t,e,n))),F(n,(function(e,t){return e[0]}))}const U=W;function q(e,t){t=X(t);let n=[];return j(e,(function(e,i){let r=t(e,i),o={d:r,v:e};for(var a=0;ae.v))}function K(e){return function(t){return $(e,(function(e,n){return t[n]===e}))}}function X(e){return M(e)?e:t=>t[e]}function Y(e){return M(e)?e:t=>t===e}function Z(e){return e}function Q(e){return Number(e)}function J(e,t){return e.bind(t)}function ee(e,...t){return Object.assign(e,...t)}function te(e,t){let n={},i=Object(e);return j(t,(function(t){t in i&&(n[t]=e[t])})),n}function ne(e,t){let n={};return j(Object(e),(function(e,i){-1===t.indexOf(i)&&(n[i]=e)})),n}function ie(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}const re=Object.prototype.toString,oe=Object.prototype.hasOwnProperty;function ae(e,t){return oe.call(e,t)}function se(e,t){let n,i;if(void 0===e)return;const r=function(e){return"[object Array]"===re.call(e)}(e)?le:ce;for(let o in e)if(ae(e,o)&&(n=e[o],i=t(n,r(o)),!1===i))return n}function ce(e){return e}function le(e){return Number(e)}function pe(e,...t){const n=e.style;return se(t,(function(e){e&&se(e,(function(e,t){n[t]=e}))})),e}function ue(e,t,n){return 2==arguments.length?e.getAttribute(t):null===n?e.removeAttribute(t):(e.setAttribute(t,n),e)}const de=Object.prototype.toString;function he(e){return new me(e)}function me(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}function fe(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}function ge(e,t,n){var i=n?e:e.parentNode;return i&&"function"==typeof i.closest&&i.closest(t)||null}me.prototype.add=function(e){return this.list.add(e),this},me.prototype.remove=function(e){return"[object RegExp]"==de.call(e)?this.removeMatching(e):(this.list.remove(e),this)},me.prototype.removeMatching=function(e){const t=this.array();for(let n=0;n
    a',Ae=!Se.getElementsByTagName("link").length,Se=void 0);var Pe={legend:[1,"
    ","
    "],tr:[2,"","
    "],col:[2,"","
    "],_default:Ae?[1,"X
    ","
    "]:[0,"",""]};Pe.td=Pe.th=[3,"","
    "],Pe.option=Pe.optgroup=[1,'"],Pe.thead=Pe.tbody=Pe.colgroup=Pe.caption=Pe.tfoot=[1,"","
    "],Pe.polyline=Pe.ellipse=Pe.polygon=Pe.circle=Pe.text=Pe.line=Pe.path=Pe.rect=Pe.g=[1,'',""];var Re=ke;function Me(e,t){return e&&"function"==typeof e.matches&&e.matches(t)||!1}function Te(e,t){return(t=t||document).querySelector(e)}function De(e,t){return(t=t||document).querySelectorAll(e)}function Be(e){e.parentNode&&e.parentNode.removeChild(e)}function Ne(e,t){return function(e,t){t.appendChild(function(e,t){if(e.ownerDocument!==t.ownerDocument)try{return t.ownerDocument.importNode(e,!0)}catch(n){}return e}(e,t))}(t,e),e}var Oe=2,je={"alignment-baseline":1,"baseline-shift":1,clip:1,"clip-path":1,"clip-rule":1,color:1,"color-interpolation":1,"color-interpolation-filters":1,"color-profile":1,"color-rendering":1,cursor:1,direction:1,display:1,"dominant-baseline":1,"enable-background":1,fill:1,"fill-opacity":1,"fill-rule":1,filter:1,"flood-color":1,"flood-opacity":1,font:1,"font-family":1,"font-size":Oe,"font-size-adjust":1,"font-stretch":1,"font-style":1,"font-variant":1,"font-weight":1,"glyph-orientation-horizontal":1,"glyph-orientation-vertical":1,"image-rendering":1,kerning:1,"letter-spacing":1,"lighting-color":1,marker:1,"marker-end":1,"marker-mid":1,"marker-start":1,mask:1,opacity:1,overflow:1,"pointer-events":1,"shape-rendering":1,"stop-color":1,"stop-opacity":1,stroke:1,"stroke-dasharray":1,"stroke-dashoffset":1,"stroke-linecap":1,"stroke-linejoin":1,"stroke-miterlimit":1,"stroke-opacity":1,"stroke-width":Oe,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function Le(e,t,n){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=je[i];r?(r===Oe&&"number"==typeof n&&(n=String(n)+"px"),e.style[i]=n):e.setAttributeNS(null,t,n)}function Ie(e,t,n){if("string"==typeof t){if(void 0===n)return function(e,t){return je[t]?e.style[t]:e.getAttributeNS(null,t)}(e,t);Le(e,t,n)}else!function(e,t){var n,i,r=Object.keys(t);for(n=0;i=r[n];n++)Le(e,i,t[i])}(e,t);return e}const $e=Object.prototype.toString;function ze(e){return new Fe(e)}function Fe(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}function He(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}function Ve(e){return e.cloneNode(!0)}Fe.prototype.add=function(e){return this.list.add(e),this},Fe.prototype.remove=function(e){return"[object RegExp]"==$e.call(e)?this.removeMatching(e):(this.list.remove(e),this)},Fe.prototype.removeMatching=function(e){const t=this.array();for(let n=0;n"+e+"",t=!0);var n=function(e){var t;return(t=new DOMParser).async=!1,t.parseFromString(e,"text/xml")}(e);if(!t)return n;for(var i=document.createDocumentFragment(),r=n.firstChild;r.firstChild;)i.appendChild(r.firstChild);return i}function qe(e,t){var n;return"<"===(e=e.trim()).charAt(0)?(n=Ue(e).firstChild,n=document.importNode(n,!0)):n=document.createElementNS(Ge.svg,e),t&&Ie(n,t),n}var Ke=null;function Xe(e){return(null===Ke&&(Ke=qe("svg")),Ke).createSVGTransform()}var Ye=/([&<>]{1})/g,Ze=/([\n\r"]{1})/g,Qe={"&":"&","<":"<",">":">",'"':"'"};function Je(e,t){return e.replace(t,(function(e,t){return Qe[t]||t}))}function et(e,t){var n,i,r,o,a;switch(e.nodeType){case 3:t.push(Je(e.textContent,Ye));break;case 1:if(t.push("<",e.tagName),e.hasAttributes())for(n=0,i=(r=e.attributes).length;n"),n=0,i=(a=e.childNodes).length;n")}else t.push("/>");break;case 8:t.push("\x3c!--",Je(e.nodeValue,Ye),"--\x3e");break;case 4:t.push("");break;default:throw new Error("unable to handle node "+e.nodeType)}return t}function tt(e,t){return function(e){for(var t=e.firstChild,n=[];t;)et(t,n),t=t.nextSibling;return n.join("")}(e)}function nt(e){var t=e.parentNode;return t&&t.removeChild(e),e}function it(e,t){return t instanceof SVGMatrix?e.createSVGTransformFromMatrix(t):t}function rt(e,t){var n=e.transform.baseVal;return t&&(Array.isArray(t)||(t=[t]),function(e,t){var n,i;for(e.clear(),n=0;i=t[n];n++)e.appendItem(it(e,i))}(n,t)),n.consolidate()}function ot(){}function at(e,t){this.model=e,this.properties=t}ot.prototype.get=function(e){return this.$model.properties.get(this,e)},ot.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},at.prototype.createType=function(e){var t=this.model,n=this.properties,i=Object.create(ot.prototype);j(e.properties,(function(e){e.isMany||void 0===e.default||(i[e.name]=e.default)})),n.defineModel(i,t),n.defineDescriptor(i,e);var r=e.ns.name;function o(e){n.define(this,"$type",{value:r,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),j(e,J((function(e,t){this.set(t,e)}),this))}return o.prototype=i,o.hasType=i.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var st={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},ct={String:function(e){return e},Boolean:function(e){return"true"===e},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function lt(e,t){var n=ct[e];return n?n(t):t}function pt(e){return!!st[e]}function ut(e){return!!ct[e]}function dt(e,t){var n,i,r=e.split(/:/);if(1===r.length)n=e,i=t;else{if(2!==r.length)throw new Error("expected or , got "+e);n=r[1],i=r[0]}return{name:e=(i?i+":":"")+n,prefix:i,localName:n}}function ht(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function mt(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,j(e,J(this.registerPackage,this))}function ft(e,t,n){var i=t[n];if(i in e)throw new Error("package with "+n+" <"+i+"> already defined")}function gt(e){this.model=e}function yt(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function vt(e){return e.replace(/^:/,"")}function bt(e,t={}){this.properties=new gt(this),this.factory=new at(this,this.properties),this.registry=new mt(e,this.properties),this.typeCache={},this.config=t}ht.prototype.build=function(){return te(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},ht.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var i=this.properties;void 0!==t?i.splice(t,0,e):i.push(e)},ht.prototype.replaceProperty=function(e,t,n){var i=e.ns,r=this.properties,o=this.propertiesByName,a=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var s=r.indexOf(e);if(-1===s)throw new Error("property <"+i.name+"> not found in property list");r.splice(s,1),this.addProperty(t,n?void 0:s,a),o[i.name]=o[i.localName]=t},ht.prototype.redefineProperty=function(e,t,n){var i=e.ns.prefix,r=t.split("#"),o=dt(r[0],i),a=dt(r[1],o.prefix).name,s=this.propertiesByName[a];if(!s)throw new Error("refined property <"+a+"> not found");this.replaceProperty(s,e,n),delete e.redefines},ht.prototype.addNamedProperty=function(e,t){var n=e.ns,i=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),i[n.name]=i[n.localName]=e},ht.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},ht.prototype.setBodyProperty=function(e,t){if(t&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},ht.prototype.setIdProperty=function(e,t){if(t&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},ht.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},ht.prototype.assertNotDefined=function(e,t){var n=e.name,i=this.propertiesByName[n];if(i)throw new Error("property <"+n+"> already defined; override of <"+i.definedBy.ns.name+"#"+i.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},ht.prototype.hasProperty=function(e){return this.propertiesByName[e]},ht.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,i=this.allTypes,r=e.name;r in n||(j(e.properties,J((function(n){n=ee({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var i=n.replaces,r=n.redefines;i||r?this.redefineProperty(n,i||r,i):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),i.push(e),n[r]=e)},mt.prototype.getPackage=function(e){return this.packageMap[e]},mt.prototype.getPackages=function(){return this.packages},mt.prototype.registerPackage=function(e){e=ee({},e);var t=this.packageMap;ft(t,e,"prefix"),ft(t,e,"uri"),j(e.types,J((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},mt.prototype.registerType=function(e,t){var n=dt((e=ee({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:ee(e.meta||{})})).name,t.prefix),i=n.name,r={};j(e.properties,J((function(e){var t=dt(e.name,n.prefix),i=t.name;pt(e.type)||(e.type=dt(e.type,t.prefix).name),ee(e,{ns:t,name:i}),r[i]=e}),this)),ee(e,{ns:n,name:i,propertiesByName:r}),j(e.extends,J((function(e){var t=dt(e,n.prefix),r=this.typeMap[t.name];r.traits=r.traits||[],r.traits.push(i)}),this)),this.definePackage(e,t),this.typeMap[i]=e},mt.prototype.mapTypes=function(e,t,n){var i=pt(e.name)?{name:e.name}:this.typeMap[e.name],r=this;function o(n,i){var o=dt(n,pt(n)?"":e.prefix);r.mapTypes(o,t,i)}function a(e){return o(e,!0)}if(!i)throw new Error("unknown type <"+e.name+">");j(i.superClass,n?a:function(e){return o(e,!1)}),t(i,!n),j(i.traits,a)},mt.prototype.getEffectiveDescriptor=function(e){var t=dt(e),n=new ht(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var i=n.build();return this.definePackage(i,i.allTypes[i.allTypes.length-1].$pkg),i},mt.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},gt.prototype.set=function(e,t,n){if(!T(t)||!t.length)throw new TypeError("property name must be a non-empty string");var i=this.getProperty(e,t),r=i&&i.name;void 0===n?i?delete e[r]:delete e.$attrs[vt(t)]:i?r in e?e[r]=n:yt(e,i,n):e.$attrs[vt(t)]=n},gt.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[vt(t)];var i=n.name;return!e[i]&&n.isMany&&yt(e,n,[]),e[i]},gt.prototype.define=function(e,t,n){if(!n.writable){var i=n.value;delete(n=ee({},n,{get:function(){return i}})).value}Object.defineProperty(e,t,n)},gt.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},gt.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},gt.prototype.getProperty=function(e,t){var n=this.model,i=n.getPropertyDescriptor(e,t);if(i)return i;if(t.includes(":"))return null;const r=n.config.strict;if(void 0!==r){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(r)throw n}return null},bt.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},bt.prototype.getType=function(e){var t=this.typeCache,n=T(e)?e:e.ns.name,i=t[n];return i||(e=this.registry.getEffectiveDescriptor(n),i=t[n]=this.factory.createType(e)),i},bt.prototype.createAny=function(e,t,n){var i=dt(e),r={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){!function(e,t,n){let i=e;j(t,(function(e,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error("illegal key type: "+typeof e+". Key should be of type number or string.");if("constructor"===e)throw new Error("illegal key: constructor");if("__proto__"===e)throw new Error("illegal key: __proto__");let o=t[r+1],a=i[e];C(o)&&k(a)&&(a=i[e]=isNaN(+o)?{}:[]),S(o)?S(n)?delete i[e]:i[e]=n:i=a}))}(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:i.prefix,localName:i.localName,uri:t}};return this.properties.defineDescriptor(r,o),this.properties.defineModel(r,this),this.properties.define(r,"get",{enumerable:!1,writable:!0}),this.properties.define(r,"set",{enumerable:!1,writable:!0}),this.properties.define(r,"$parent",{enumerable:!1,writable:!0}),this.properties.define(r,"$instanceOf",{enumerable:!1,writable:!0}),j(n,(function(e,t){P(e)&&void 0!==e.value?r[e.name]=e.value:r[t]=e})),r},bt.prototype.getPackage=function(e){return this.registry.getPackage(e)},bt.prototype.getPackages=function(){return this.registry.getPackages()},bt.prototype.getElementDescriptor=function(e){return e.$descriptor},bt.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},bt.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},bt.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var xt=String.fromCharCode,_t=Object.prototype.hasOwnProperty,wt=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,Et={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function St(e,t,n,i){return i?_t.call(Et,i)?Et[i]:"&"+i+";":xt(t||parseInt(n,16))}function Ct(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(wt,St):e}Object.keys(Et).forEach((function(e){Et[e.toUpperCase()]=Et[e]}));var kt="xsi:type",At="non-whitespace outside of root node";function Pt(e){return new Error(e)}function Rt(e){return"missing namespace for prefix <"+e+">"}function Mt(e){return{get:e,enumerable:!0}}function Tt(e){var t,n={};for(t in e)n[t]=e[t];return n}function Dt(e){return e+"$uri"}function Bt(){return{line:0,column:0}}function Nt(e){throw e}function Ot(e){if(!this)return new Ot(e);var t,n,i,r,o,a,s,c,l,p=e&&e.proxy,u=Nt,d=Bt,h=!1,m=!1,f=null,g=!1;function y(e){e instanceof Error||(e=Pt(e)),f=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=Pt(e)),o(e,d))}this.on=function(e,l){if("function"!=typeof l)throw Pt("required args ");switch(e){case"openTag":n=l;break;case"text":t=l;break;case"closeTag":i=l;break;case"error":u=l;break;case"warn":o=l;break;case"cdata":r=l;break;case"attention":c=l;break;case"question":s=l;break;case"comment":a=l;break;default:throw Pt("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw Pt("required args ");var t,n={};for(t in e)n[t]=e[t];return n["http://www.w3.org/2001/XMLSchema-instance"]="xsi",m=!0,l=n,this},this.parse=function(e){if("string"!=typeof e)throw Pt("required args ");return f=null,function(e){var o,u,f,b,x,_,w,E,S,C,k,A=m?[]:null,P=m?function(e){var t,n,i={};for(t in e)i[n=e[t]]=n,i[Dt(n)]=t;return i}(l):null,R=[],M=0,T=!1,D=!1,B=0,N=0,O="",j=0;function L(){if(null!==k)return k;var e,t,n,i,r,o,a,s,c,p,u,d=m&&P.xmlns,f=m&&h?[]:null,g=j,y=O,b=y.length,x={},_={};e:for(;g8)){for((p<65||p>122||p>90&&p<97)&&95!==p&&58!==p&&(v("illegal first char attribute name"),c=!0),u=g+1;u96&&p<123||p>64&&p<91||p>47&&p<59||46===p||45===p||95===p)){if(32===p||p<14&&p>8){v("missing attribute value"),g=u;continue e}if(61===p)break;v("illegal attribute name char"),c=!0}if("xmlns:xmlns"===(s=y.substring(g,u))&&(v("illegal declaration of xmlns"),c=!0),34===(p=y.charCodeAt(u+1)))-1===(u=y.indexOf('"',g=u+2))&&-1!==(u=y.indexOf("'",g))&&(v("attribute value quote missmatch"),c=!0);else if(39===p)-1===(u=y.indexOf("'",g=u+2))&&-1!==(u=y.indexOf('"',g))&&(v("attribute value quote missmatch"),c=!0);else for(v("missing attribute value quotes"),c=!0,u+=1;u8);u++);for(-1===u&&(v("missing closing quotes"),u=b,c=!0),c||(o=y.substring(g,u)),g=u;u+18);u++)g===u&&(v("illegal character after attribute end"),c=!0);if(g=u+1,!c)if(s in _)v("attribute <"+s+"> already defined");else if(_[s]=!0,m)if(h){if(null!==(r="xmlns"===s?"xmlns":120===s.charCodeAt(0)&&"xmlns:"===s.substr(0,6)?s.substr(6):null)){if(e=Ct(o),t=Dt(r),!(a=l[e])){if("xmlns"===r||t in P&&P[t]!==e)do{a="ns"+M++}while(void 0!==P[a]);else a=r;l[e]=a}P[r]!==a&&(i||(P=Tt(P),i=!0),P[r]=a,"xmlns"===r&&(P[Dt(a)]=e,d=a),P[t]=e),x[s]=o;continue}f.push(s,o)}else-1!==(p=s.indexOf(":"))?(n=P[s.substring(0,p)])?((s=d===n?s.substr(p+1):n+s.substr(p))===kt&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=P[n]||n)+o.substring(p)):o=d+":"+o),x[s]=o):v(Rt(s.substring(0,p))):x[s]=o;else x[s]=o}if(h)for(g=0,b=f.length;g=a&&(t=i.exec(e))&&!((s=t[0].length+t.index)>B);)r+=1,a=s;return-1==B?(o=s,n=e.substring(N)):0===N?n=e.substring(N,B):(o=B-a,n=-1==N?e.substring(B):e.substring(B,N+1)),{data:n,line:r,column:o}}d=I,p&&(C=Object.create({},{name:Mt((function(){return E})),originalName:Mt((function(){return S})),attrs:Mt(L),ns:Mt((function(){return P}))}));for(;-1!==N;){if(-1===(B=60===e.charCodeAt(N)?N:e.indexOf("<",N)))return R.length?y("unexpected end of file"):0===N?y("missing start tag"):void(N",B)))return y("unclosed cdata");if(r&&(r(e.substring(B+9,N),d),g))return;N+=3;continue}if(45===b&&45===e.charCodeAt(B+3)){if(-1===(N=e.indexOf("--\x3e",B)))return y("unclosed comment");if(a&&(a(e.substring(B+4,N),Ct,d),g))return;N+=3;continue}}if(63!==x){for(u=B+1;;u++){if(_=e.charCodeAt(u),isNaN(_))return N=-1,y("unclosed tag");if(34===_)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===_)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===_){N=u;break}}if(33!==x){if(k={},47===x){if(T=!1,D=!0,!R.length)return y("missing open tag");if(u=E=R.pop(),b=B+2+u.length,e.substring(B+2,b)!==u)return y("closing tag mismatch");for(;b8&&x<14))return y("close tag")}else{if(47===e.charCodeAt(N-1)?(u=E=e.substring(B+1,N-1),T=!0,D=!0):(u=E=e.substring(B+1,N),T=!0,D=!1),!(x>96&&x<123||x>64&&x<91||95===x||58===x))return y("illegal first char nodeName");for(b=1,f=u.length;b96&&x<123||x>64&&x<91||x>47&&x<59||45===x||95===x||46==x)){if(32===x||x<14&&x>8){E=u.substring(0,b),k=null;break}return y("invalid nodeName")}D||R.push(E)}if(m){if(o=P,T&&(D||A.push(o),null===k&&(h=-1!==u.indexOf("xmlns",b))&&(j=b,O=u,L(),h=!1)),S=E,-1!==(x=E.indexOf(":"))){if(!(w=P[E.substring(0,x)]))return y("missing namespace on <"+S+">");E=E.substr(x+1)}else w=P.xmlns;w&&(E=w+":"+E)}if(T&&(j=b,O=u,n&&(p?n(C,Ct,D,d):n(E,L,Ct,D,d),g)))return;if(D){if(i&&(i(p?C:E,Ct,T,d),g))return;m&&(P=T?o:A.pop())}N+=1}else{if(c&&(c(e.substring(B,N+1),Ct,d),g))return;N+=1}}else{if(-1===(N=e.indexOf("?>",B)))return y("unclosed question");if(s&&(s(e.substring(B,N+2),d),g))return;N+=2}}}(e),d=Bt,g=!1,f},this.stop=function(){g=!0}}function jt(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var Lt={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},It="xsi:type";function $t(e){return e.xml&&e.xml.serialize}function zt(e){return $t(e)===It}function Ft(e,t){return jt(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function Ht(e){return new Error(e)}function Vt(e){return e.$descriptor}function Gt(e){ee(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(e){this.references.push(e)},this.addElement=function(e){if(!e)throw Ht("expected element");var t,n=this.elementsById,i=Vt(e).idProperty;if(i&&(t=e.get(i.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw Ht("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function Wt(){}function Ut(){}function qt(){}function Kt(e,t){this.property=e,this.context=t}function Xt(e,t){this.element=t,this.propertyDesc=e}function Yt(){}function Zt(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function Qt(e,t,n){Zt.call(this,e,t,n)}function Jt(e,t,n){this.model=e,this.context=n}function en(e){e instanceof bt&&(e={model:e}),ee(this,{lax:!1},e)}Wt.prototype.handleEnd=function(){},Wt.prototype.handleText=function(){},Wt.prototype.handleNode=function(){},Ut.prototype=Object.create(Wt.prototype),Ut.prototype.handleNode=function(){return this},qt.prototype=Object.create(Wt.prototype),qt.prototype.handleText=function(e){this.body=(this.body||"")+e},Kt.prototype=Object.create(qt.prototype),Kt.prototype.handleNode=function(e){if(this.element)throw Ht("expected no sub nodes");return this.element=this.createReference(e),this},Kt.prototype.handleEnd=function(){this.element.id=this.body},Kt.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},Xt.prototype=Object.create(qt.prototype),Xt.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=lt(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},Yt.prototype=Object.create(qt.prototype),Yt.prototype.handleNode=function(e){var t=this,n=this.element;return n?t=this.handleChild(e):(n=this.element=this.createElement(e),this.context.addElement(n)),t},Zt.prototype=Object.create(Yt.prototype),Zt.prototype.addReference=function(e){this.context.addReference(e)},Zt.prototype.handleText=function(e){if(!Vt(this.element).bodyProperty)throw Ht("unexpected body text <"+e+">");qt.prototype.handleText.call(this,e)},Zt.prototype.handleEnd=function(){var e=this.body,t=this.element,n=Vt(t).bodyProperty;n&&void 0!==e&&(e=lt(n.type,e),t.set(n.name,e))},Zt.prototype.createElement=function(e){var t,n=e.attributes,i=this.type,r=Vt(i),o=this.context,a=new i({}),s=this.model;return j(n,(function(e,n){var i=r.propertiesByName[n];i&&i.isReference?i.isMany?j(e.split(" "),(function(e){o.addReference({element:a,property:i.ns.name,id:e})})):o.addReference({element:a,property:i.ns.name,id:e}):(i?e=lt(i.type,e):"xmlns"!==n&&(t=dt(n,r.ns.prefix),s.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:a,property:n,value:e})),a.set(n,e))})),a},Zt.prototype.getPropertyForNode=function(e){var t,n,i=dt(e.name),r=this.type,o=this.model,a=Vt(r),s=i.name,c=a.propertiesByName[s];if(c&&!c.isAttr)return zt(c)&&(t=e.attributes[It])?(t=function(e,t){var n=dt(e);return function(e,t){var n=e.name,i=e.localName,r=t.xml&&t.xml.typePrefix;return r&&0===i.indexOf(r)?e.prefix+":"+i.slice(r.length):n}(n,t.getPackage(n.prefix))}(t,o),ee({},c,{effectiveType:Vt(n=o.getType(t)).name})):c;var l=o.getPackage(i.prefix);if(l){if(t=Ft(i,l),n=o.getType(t),c=B(a.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})))return ee({},c,{effectiveType:Vt(n).name})}else if(c=B(a.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})))return c;throw Ht("unrecognized element <"+i.name+">")},Zt.prototype.toString=function(){return"ElementDescriptor["+Vt(this.type).name+"]"},Zt.prototype.valueHandler=function(e,t){return new Xt(e,t)},Zt.prototype.referenceHandler=function(e){return new Kt(e,this.context)},Zt.prototype.handler=function(e){return"Element"===e?new Jt(this.model,e,this.context):new Zt(this.model,e,this.context)},Zt.prototype.handleChild=function(e){var t,n,i,r;if(t=this.getPropertyForNode(e),i=this.element,ut(n=t.effectiveType||t.type))return this.valueHandler(t,i);var o=(r=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?i.get(t.name).push(o):i.set(t.name,o),t.isReference?(ee(o,{element:i}),this.context.addReference(o)):o.$parent=i),r},Qt.prototype=Object.create(Zt.prototype),Qt.prototype.createElement=function(e){var t=e.name,n=dt(t),i=this.model,r=this.type,o=i.getPackage(n.prefix),a=o&&Ft(n,o)||t;if(!r.hasType(a))throw Ht("unexpected element <"+e.originalName+">");return Zt.prototype.createElement.call(this,e)},Jt.prototype=Object.create(Yt.prototype),Jt.prototype.createElement=function(e){var t=e.name,n=dt(t).prefix,i=e.ns[n+"$uri"],r=e.attributes;return this.model.createAny(t,i,r)},Jt.prototype.handleChild=function(e){var t=new Jt(this.model,"Element",this.context).handleNode(e),n=this.element,i=t.element;return void 0!==i&&((n.$children=n.$children||[]).push(i),i.$parent=n),t},Jt.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},en.prototype.fromXML=function(e,t,n){var i=t.rootHandler;t instanceof Zt?(i=t,t={}):"string"==typeof t?(i=this.handler(t),t={}):"string"==typeof i&&(i=this.handler(i));var r=this.model,o=this.lax,a=new Gt(ee({},t,{rootHandler:i})),s=new Ot({proxy:!0}),c=function(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}();function l(e,t,n){var i=t(),r=i.line,o=i.column,s=i.data;"<"===s.charAt(0)&&-1!==s.indexOf(" ")&&(s=s.slice(0,s.indexOf(" "))+">");var c="unparsable content "+(s?s+" ":"")+"detected\n\tline: "+r+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return a.addWarning({message:c,error:e}),!0;throw Ht(c)}function p(e,t){return l(e,t,!0)}i.context=a,c.push(i);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function m(e,t){try{c.peek().handleText(e)}catch(n){p(n,t)}}var f=r.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),{"http://www.w3.org/XML/1998/namespace":"xml"});return s.ns(f).on("openTag",(function(e,t,n,i){var r=e.attrs||{},a=Object.keys(r).reduce((function(e,n){var i=t(r[n]);return e[n]=i,e}),{});!function(e,t){var n=c.peek();try{c.push(n.handleNode(e))}catch(i){l(i,t,o)&&c.push(new Ut)}}({name:e.name,originalName:e.originalName,attributes:a,ns:e.ns},i)})).on("question",(function(e){if(u.test(e)){var t=d.exec(e),n=t&&t[1];n&&!h.test(n)&&a.addWarning({message:"unsupported document encoding <"+n+">, falling back to UTF-8"})}})).on("closeTag",(function(){c.pop().handleEnd()})).on("cdata",m).on("text",(function(e,t,n){!function(e,t){e.trim()&&m(e,t)}(t(e),n)})).on("error",l).on("warn",p),new Promise((function(t,n){var r;try{s.parse(e),function(){var e,t,n=a.elementsById,i=a.references;for(e=0;t=i[e];e++){var r=t.element,o=n[t.id],s=Vt(r).propertiesByName[t.property];if(o||a.addWarning({message:"unresolved reference <"+t.id+">",element:t.element,property:t.property,value:t.id}),s.isMany){var c=r.get(s.name),l=c.indexOf(t);-1===l&&(l=c.length),o?c[l]=o:c.splice(l,1)}else r.set(s.name,o)}}()}catch(u){r=u}var o=i.element;r||o||(r=Ht("failed to parse document as <"+i.type.$descriptor.name+">"));var c=a.warnings,l=a.references,p=a.elementsById;return r?(r.warnings=c,n(r)):t({rootElement:o,elementsById:p,references:l,warnings:c})}))},en.prototype.handler=function(e){return new Qt(this.model,e)};var tn=/<|>|'|"|&|\n\r|\n/g,nn=/<|>|&/g;function rn(e){var t={},n={},i={},r=[],o=[];this.byUri=function(t){return n[t]||e&&e.byUri(t)},this.add=function(e,t){n[e.uri]=e,t?r.push(e):o.push(e),this.mapPrefix(e.prefix,e.uri)},this.uriByPrefix=function(e){return t[e||"xmlns"]},this.mapPrefix=function(e,n){t[e||"xmlns"]=n},this.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},this.logUsed=function(t){var n=t.uri,r=this.getNSKey(t);i[r]=this.byUri(n),e&&e.logUsed(t)},this.getUsed=function(e){var t=this;return[].concat(r,o).filter((function(e){var n=t.getNSKey(e);return i[n]}))}}function on(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function an(e){return T(e)?e:(e.prefix?e.prefix+":":"")+e.localName}var sn={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},cn={"<":"lt",">":"gt","&":"amp"};function ln(e,t,n){return(e=T(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function pn(e){this.tagName=e}function un(){}function dn(e){this.tagName=e}function hn(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function mn(e,t){hn.call(this,e,t)}function fn(){this.value="",this.write=function(e){this.value+=e}}function gn(e,t){var n=[""];this.append=function(t){return e.write(t),this},this.appendNewLine=function(){return t&&e.write("\n"),this},this.appendIndent=function(){return t&&e.write(n.join(" ")),this},this.indent=function(){return n.push(""),this},this.unindent=function(){return n.pop(),this}}function yn(e){return e=ee({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var i=n||new fn,r=new gn(i,e.format);if(e.preamble&&r.append('\n'),(new hn).build(t).serializeTo(r),!n)return i.value}}}function vn(e,t){bt.call(this,e,t)}pn.prototype.build=function(e){return this.element=e,this},pn.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"").appendNewLine()},un.prototype.serializeValue=un.prototype.serializeTo=function(e){e.append(this.escape?ln(this.value,nn,cn):this.value)},un.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(nn)&&(this.escape=!0),this},on(dn,un),dn.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("").appendNewLine()},hn.prototype.build=function(e){this.element=e;var t,n,i=e.$descriptor,r=this.propertyDescriptor,o=i.isGeneric;return t=o?this.parseGeneric(e):this.parseNsAttributes(e),this.ns=r?this.nsPropertyTagName(r):this.nsTagName(i),this.tagName=this.addTagName(this.ns),o||(n=function(e){return O(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!D(e,n))return!1;var i=e[n];return i!==t.default&&null!==i&&(!t.isMany||i.length)}))}(e),this.parseAttributes(O(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return O(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},hn.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?ee({localName:t.ns.localName},e):ee({localName:(n=t.ns.localName,i=t.$pkg,jt(i)?(r=n).charAt(0).toLowerCase()+r.slice(1):n)},e);var n,i,r}(this.logNamespaceUsed(e.ns),e)},hn.prototype.nsPropertyTagName=function(e){return function(e,t){return ee({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},hn.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},hn.prototype.nsAttributeName=function(e){var t;if(t=T(e)?dt(e):e.ns,e.inherited)return{localName:t.localName};var n=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(n),this.isLocalNs(n)?{localName:t.localName}:ee({localName:t.localName},n)},hn.prototype.parseGeneric=function(e){var t=this,n=this.body,i=[];return j(e,(function(r,o){"$body"===o?n.push((new un).build({type:"String"},r)):"$children"===o?j(r,(function(e){n.push(new hn(t).build(e))})):0!==o.indexOf("$")&&t.parseNsAttribute(e,o,r)&&i.push({name:o,value:r})})),i},hn.prototype.parseNsAttribute=function(e,t,n){var i,r=e.$model,o=dt(t);if("xmlns"===o.prefix&&(i={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(i={uri:n}),!i)return{name:t,value:n};if(r&&r.getPackage(n))this.logNamespace(i,!0,!0);else{var a=this.logNamespaceUsed(i,!0);this.getNamespaces().logUsed(a)}},hn.prototype.parseNsAttributes=function(e,t){var n=this,i=e.$attrs,r=[];return j(i,(function(t,i){var o=n.parseNsAttribute(e,i,t);o&&r.push(o)})),r},hn.prototype.parseGenericAttributes=function(e,t){var n=this;j(t,(function(e){if(e.name!==It)try{n.addAttribute(n.nsAttributeName(e.name),e.value)}catch(t){}}))},hn.prototype.parseContainments=function(e){var t=this,n=this.body,i=this.element;j(e,(function(e){var r=i.get(e.name),o=e.isReference;if(e.isMany||(r=[r]),e.isBody)n.push((new un).build(e,r[0]));else if(ut(e.type))j(r,(function(i){n.push(new dn(t.addTagName(t.nsPropertyTagName(e))).build(e,i))}));else if(o)j(r,(function(i){n.push(new pn(t.addTagName(t.nsPropertyTagName(e))).build(i))}));else{var a=zt(e),s=function(e){return"property"===$t(e)}(e);j(r,(function(i){var r;r=a?new mn(t,e):s?new hn(t,e):new hn(t),n.push(r.build(i))}))}}))},hn.prototype.getNamespaces=function(e){var t,n=this.namespaces,i=this.parent;return n||(t=i&&i.getNamespaces(),e||!t?this.namespaces=n=new rn(t):n=t),n},hn.prototype.logNamespace=function(e,t,n){var i=this.getNamespaces(n),r=e.uri,o=e.prefix;return i.byUri(r)&&!n||i.add(e,t),i.mapPrefix(o,r),e},hn.prototype.logNamespaceUsed=function(e,t){var n,i,r,o=this.element.$model,a=this.getNamespaces(t),s=e.prefix,c=e.uri;if(!s&&!c)return{localName:e.localName};if(r=Lt[s]||o&&(o.getPackage(s)||{}).uri,!(c=c||r||a.uriByPrefix(s)))throw new Error("no namespace uri given for prefix <"+s+">");if(!(e=a.byUri(c))){for(n=s,i=1;a.uriByPrefix(n);)n=s+"_"+i++;e=this.logNamespace({prefix:n,uri:c},r===c)}return s&&a.mapPrefix(s,c),e},hn.prototype.parseAttributes=function(e){var t=this,n=this.element;j(e,(function(e){var i=n.get(e.name);if(e.isReference)if(e.isMany){var r=[];j(i,(function(e){r.push(e.id)})),i=r.join(" ")}else i=i.id;t.addAttribute(t.nsAttributeName(e),i)}))},hn.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),an(e)},hn.prototype.addAttribute=function(e,t){var n=this.attrs;T(t)&&(t=ln(t,tn,sn));var i=N(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),r={name:e,value:t};-1!==i?n.splice(i,1,r):n.push(r)},hn.prototype.serializeAttributes=function(e){var t=this.attrs,n=this.namespaces;n&&(t=function(e){return e.getUsed().filter((function(e){return"xml"!==e.prefix})).map((function(e){return{name:"xmlns"+(e.prefix?":"+e.prefix:""),value:e.uri}}))}(n).concat(t)),j(t,(function(t){e.append(" ").append(an(t.name)).append('="').append(t.value).append('"')}))},hn.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==un;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),j(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("")),e.appendNewLine()},on(mn,hn),mn.prototype.parseNsAttributes=function(e){var t=hn.prototype.parseNsAttributes.call(this,e),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var i=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var r=e.$model.getPackage(i.uri),o=r.xml&&r.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(It),(i.prefix?i.prefix+":":"")+o+n.ns.localName),t},mn.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},vn.prototype=Object.create(bt.prototype),vn.prototype.fromXML=function(e,t,n){T(t)||(n=t,t="bpmn:Definitions");var i=new en(ee({model:this,lax:!0},n)),r=i.handler(t);return i.fromXML(e,r)},vn.prototype.toXML=function(e,t){var n=new yn(t);return new Promise((function(t,i){try{return t({xml:n.toXML(e)})}catch(r){return i(r)}}))};var bn={bpmn:{name:"BPMN20",uri:"http://www.omg.org/spec/BPMN/20100524/MODEL",prefix:"bpmn",associations:[],types:[{name:"Interface",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"operations",type:"Operation",isMany:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"Operation",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"inMessageRef",type:"Message",isReference:!0},{name:"outMessageRef",type:"Message",isReference:!0},{name:"errorRef",type:"Error",isMany:!0,isReference:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"EndPoint",superClass:["RootElement"]},{name:"Auditing",superClass:["BaseElement"]},{name:"GlobalTask",superClass:["CallableElement"],properties:[{name:"resources",type:"ResourceRole",isMany:!0}]},{name:"Monitoring",superClass:["BaseElement"]},{name:"Performer",superClass:["ResourceRole"]},{name:"Process",superClass:["FlowElementsContainer","CallableElement"],properties:[{name:"processType",type:"ProcessType",isAttr:!0},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"properties",type:"Property",isMany:!0},{name:"laneSets",isMany:!0,replaces:"FlowElementsContainer#laneSets",type:"LaneSet"},{name:"flowElements",isMany:!0,replaces:"FlowElementsContainer#flowElements",type:"FlowElement"},{name:"artifacts",type:"Artifact",isMany:!0},{name:"resources",type:"ResourceRole",isMany:!0},{name:"correlationSubscriptions",type:"CorrelationSubscription",isMany:!0},{name:"supports",type:"Process",isMany:!0,isReference:!0},{name:"definitionalCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"isExecutable",isAttr:!0,type:"Boolean"}]},{name:"LaneSet",superClass:["BaseElement"],properties:[{name:"lanes",type:"Lane",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Lane",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"partitionElementRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"partitionElement",type:"BaseElement"},{name:"flowNodeRef",type:"FlowNode",isMany:!0,isReference:!0},{name:"childLaneSet",type:"LaneSet",xml:{serialize:"xsi:type"}}]},{name:"GlobalManualTask",superClass:["GlobalTask"]},{name:"ManualTask",superClass:["Task"]},{name:"UserTask",superClass:["Task"],properties:[{name:"renderings",type:"Rendering",isMany:!0},{name:"implementation",isAttr:!0,type:"String"}]},{name:"Rendering",superClass:["BaseElement"]},{name:"HumanPerformer",superClass:["Performer"]},{name:"PotentialOwner",superClass:["HumanPerformer"]},{name:"GlobalUserTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"renderings",type:"Rendering",isMany:!0}]},{name:"Gateway",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"gatewayDirection",type:"GatewayDirection",default:"Unspecified",isAttr:!0}]},{name:"EventBasedGateway",superClass:["Gateway"],properties:[{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"eventGatewayType",type:"EventBasedGatewayType",isAttr:!0,default:"Exclusive"}]},{name:"ComplexGateway",superClass:["Gateway"],properties:[{name:"activationCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ExclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"InclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ParallelGateway",superClass:["Gateway"]},{name:"RootElement",isAbstract:!0,superClass:["BaseElement"]},{name:"Relationship",superClass:["BaseElement"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"direction",type:"RelationshipDirection",isAttr:!0},{name:"source",isMany:!0,isReference:!0,type:"Element"},{name:"target",isMany:!0,isReference:!0,type:"Element"}]},{name:"BaseElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,type:"String",isId:!0},{name:"documentation",type:"Documentation",isMany:!0},{name:"extensionDefinitions",type:"ExtensionDefinition",isMany:!0,isReference:!0},{name:"extensionElements",type:"ExtensionElements"}]},{name:"Extension",properties:[{name:"mustUnderstand",default:!1,isAttr:!0,type:"Boolean"},{name:"definition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"extensionAttributeDefinitions",type:"ExtensionAttributeDefinition",isMany:!0}]},{name:"ExtensionAttributeDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"type",isAttr:!0,type:"String"},{name:"isReference",default:!1,isAttr:!0,type:"Boolean"},{name:"extensionDefinition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionElements",properties:[{name:"valueRef",isAttr:!0,isReference:!0,type:"Element"},{name:"values",type:"Element",isMany:!0},{name:"extensionAttributeDefinition",type:"ExtensionAttributeDefinition",isAttr:!0,isReference:!0}]},{name:"Documentation",superClass:["BaseElement"],properties:[{name:"text",type:"String",isBody:!0},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Event",isAbstract:!0,superClass:["FlowNode","InteractionNode"],properties:[{name:"properties",type:"Property",isMany:!0}]},{name:"IntermediateCatchEvent",superClass:["CatchEvent"]},{name:"IntermediateThrowEvent",superClass:["ThrowEvent"]},{name:"EndEvent",superClass:["ThrowEvent"]},{name:"StartEvent",superClass:["CatchEvent"],properties:[{name:"isInterrupting",default:!0,isAttr:!0,type:"Boolean"}]},{name:"ThrowEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"inputSet",type:"InputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"CatchEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"parallelMultiple",isAttr:!0,type:"Boolean",default:!1},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"outputSet",type:"OutputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"BoundaryEvent",superClass:["CatchEvent"],properties:[{name:"cancelActivity",default:!0,isAttr:!0,type:"Boolean"},{name:"attachedToRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"EventDefinition",isAbstract:!0,superClass:["RootElement"]},{name:"CancelEventDefinition",superClass:["EventDefinition"]},{name:"ErrorEventDefinition",superClass:["EventDefinition"],properties:[{name:"errorRef",type:"Error",isAttr:!0,isReference:!0}]},{name:"TerminateEventDefinition",superClass:["EventDefinition"]},{name:"EscalationEventDefinition",superClass:["EventDefinition"],properties:[{name:"escalationRef",type:"Escalation",isAttr:!0,isReference:!0}]},{name:"Escalation",properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"escalationCode",isAttr:!0,type:"String"}],superClass:["RootElement"]},{name:"CompensateEventDefinition",superClass:["EventDefinition"],properties:[{name:"waitForCompletion",isAttr:!0,type:"Boolean",default:!0},{name:"activityRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"TimerEventDefinition",superClass:["EventDefinition"],properties:[{name:"timeDate",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeCycle",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeDuration",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"LinkEventDefinition",superClass:["EventDefinition"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"target",type:"LinkEventDefinition",isReference:!0},{name:"source",type:"LinkEventDefinition",isMany:!0,isReference:!0}]},{name:"MessageEventDefinition",superClass:["EventDefinition"],properties:[{name:"messageRef",type:"Message",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"ConditionalEventDefinition",superClass:["EventDefinition"],properties:[{name:"condition",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"SignalEventDefinition",superClass:["EventDefinition"],properties:[{name:"signalRef",type:"Signal",isAttr:!0,isReference:!0}]},{name:"Signal",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ImplicitThrowEvent",superClass:["ThrowEvent"]},{name:"DataState",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"ItemAwareElement",superClass:["BaseElement"],properties:[{name:"itemSubjectRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"dataState",type:"DataState"}]},{name:"DataAssociation",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"ItemAwareElement",isMany:!0,isReference:!0},{name:"targetRef",type:"ItemAwareElement",isReference:!0},{name:"transformation",type:"FormalExpression",xml:{serialize:"property"}},{name:"assignment",type:"Assignment",isMany:!0}]},{name:"DataInput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"inputSetRef",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithOptional",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithWhileExecuting",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"DataOutput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"outputSetRef",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithOptional",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithWhileExecuting",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"InputSet",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"dataInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"optionalInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"whileExecutingInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"outputSetRefs",type:"OutputSet",isMany:!0,isReference:!0}]},{name:"OutputSet",superClass:["BaseElement"],properties:[{name:"dataOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"inputSetRefs",type:"InputSet",isMany:!0,isReference:!0},{name:"optionalOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"whileExecutingOutputRefs",type:"DataOutput",isMany:!0,isReference:!0}]},{name:"Property",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"DataInputAssociation",superClass:["DataAssociation"]},{name:"DataOutputAssociation",superClass:["DataAssociation"]},{name:"InputOutputSpecification",superClass:["BaseElement"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"inputSets",type:"InputSet",isMany:!0},{name:"outputSets",type:"OutputSet",isMany:!0}]},{name:"DataObject",superClass:["FlowElement","ItemAwareElement"],properties:[{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"}]},{name:"InputOutputBinding",properties:[{name:"inputDataRef",type:"InputSet",isAttr:!0,isReference:!0},{name:"outputDataRef",type:"OutputSet",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"Assignment",superClass:["BaseElement"],properties:[{name:"from",type:"Expression",xml:{serialize:"xsi:type"}},{name:"to",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"DataStore",superClass:["RootElement","ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"capacity",isAttr:!0,type:"Integer"},{name:"isUnlimited",default:!0,isAttr:!0,type:"Boolean"}]},{name:"DataStoreReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataStoreRef",type:"DataStore",isAttr:!0,isReference:!0}]},{name:"DataObjectReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataObjectRef",type:"DataObject",isAttr:!0,isReference:!0}]},{name:"ConversationLink",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ConversationAssociation",superClass:["BaseElement"],properties:[{name:"innerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0},{name:"outerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0}]},{name:"CallConversation",superClass:["ConversationNode"],properties:[{name:"calledCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"Conversation",superClass:["ConversationNode"]},{name:"SubConversation",superClass:["ConversationNode"],properties:[{name:"conversationNodes",type:"ConversationNode",isMany:!0}]},{name:"ConversationNode",isAbstract:!0,superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"messageFlowRefs",type:"MessageFlow",isMany:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0}]},{name:"GlobalConversation",superClass:["Collaboration"]},{name:"PartnerEntity",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"PartnerRole",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"CorrelationProperty",superClass:["RootElement"],properties:[{name:"correlationPropertyRetrievalExpression",type:"CorrelationPropertyRetrievalExpression",isMany:!0},{name:"name",isAttr:!0,type:"String"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Error",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"errorCode",isAttr:!0,type:"String"}]},{name:"CorrelationKey",superClass:["BaseElement"],properties:[{name:"correlationPropertyRef",type:"CorrelationProperty",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Expression",superClass:["BaseElement"],isAbstract:!1,properties:[{name:"body",isBody:!0,type:"String"}]},{name:"FormalExpression",superClass:["Expression"],properties:[{name:"language",isAttr:!0,type:"String"},{name:"evaluatesToTypeRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Message",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"itemRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"ItemDefinition",superClass:["RootElement"],properties:[{name:"itemKind",type:"ItemKind",isAttr:!0},{name:"structureRef",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"import",type:"Import",isAttr:!0,isReference:!0}]},{name:"FlowElement",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"categoryValueRef",type:"CategoryValue",isMany:!0,isReference:!0}]},{name:"SequenceFlow",superClass:["FlowElement"],properties:[{name:"isImmediate",isAttr:!0,type:"Boolean"},{name:"conditionExpression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"sourceRef",type:"FlowNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"FlowNode",isAttr:!0,isReference:!0}]},{name:"FlowElementsContainer",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"laneSets",type:"LaneSet",isMany:!0},{name:"flowElements",type:"FlowElement",isMany:!0}]},{name:"CallableElement",isAbstract:!0,superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"supportedInterfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"ioBinding",type:"InputOutputBinding",isMany:!0,xml:{serialize:"property"}}]},{name:"FlowNode",isAbstract:!0,superClass:["FlowElement"],properties:[{name:"incoming",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"outgoing",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"lanes",type:"Lane",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"CorrelationPropertyRetrievalExpression",superClass:["BaseElement"],properties:[{name:"messagePath",type:"FormalExpression"},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"CorrelationPropertyBinding",superClass:["BaseElement"],properties:[{name:"dataPath",type:"FormalExpression"},{name:"correlationPropertyRef",type:"CorrelationProperty",isAttr:!0,isReference:!0}]},{name:"Resource",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"resourceParameters",type:"ResourceParameter",isMany:!0}]},{name:"ResourceParameter",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isRequired",isAttr:!0,type:"Boolean"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"CorrelationSubscription",superClass:["BaseElement"],properties:[{name:"correlationKeyRef",type:"CorrelationKey",isAttr:!0,isReference:!0},{name:"correlationPropertyBinding",type:"CorrelationPropertyBinding",isMany:!0}]},{name:"MessageFlow",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"MessageFlowAssociation",superClass:["BaseElement"],properties:[{name:"innerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0},{name:"outerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0}]},{name:"InteractionNode",isAbstract:!0,properties:[{name:"incomingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0},{name:"outgoingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"Participant",superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"interfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"participantMultiplicity",type:"ParticipantMultiplicity"},{name:"endPointRefs",type:"EndPoint",isMany:!0,isReference:!0},{name:"processRef",type:"Process",isAttr:!0,isReference:!0}]},{name:"ParticipantAssociation",superClass:["BaseElement"],properties:[{name:"innerParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"outerParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"ParticipantMultiplicity",properties:[{name:"minimum",default:0,isAttr:!0,type:"Integer"},{name:"maximum",default:1,isAttr:!0,type:"Integer"}],superClass:["BaseElement"]},{name:"Collaboration",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"participants",type:"Participant",isMany:!0},{name:"messageFlows",type:"MessageFlow",isMany:!0},{name:"artifacts",type:"Artifact",isMany:!0},{name:"conversations",type:"ConversationNode",isMany:!0},{name:"conversationAssociations",type:"ConversationAssociation"},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0},{name:"messageFlowAssociations",type:"MessageFlowAssociation",isMany:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"choreographyRef",type:"Choreography",isMany:!0,isReference:!0},{name:"conversationLinks",type:"ConversationLink",isMany:!0}]},{name:"ChoreographyActivity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"loopType",type:"ChoreographyLoopType",default:"None",isAttr:!0}]},{name:"CallChoreography",superClass:["ChoreographyActivity"],properties:[{name:"calledChoreographyRef",type:"Choreography",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"SubChoreography",superClass:["ChoreographyActivity","FlowElementsContainer"],properties:[{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"ChoreographyTask",superClass:["ChoreographyActivity"],properties:[{name:"messageFlowRef",type:"MessageFlow",isMany:!0,isReference:!0}]},{name:"Choreography",superClass:["Collaboration","FlowElementsContainer"]},{name:"GlobalChoreographyTask",superClass:["Choreography"],properties:[{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"TextAnnotation",superClass:["Artifact"],properties:[{name:"text",type:"String"},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Group",superClass:["Artifact"],properties:[{name:"categoryValueRef",type:"CategoryValue",isAttr:!0,isReference:!0}]},{name:"Association",superClass:["Artifact"],properties:[{name:"associationDirection",type:"AssociationDirection",isAttr:!0},{name:"sourceRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"targetRef",type:"BaseElement",isAttr:!0,isReference:!0}]},{name:"Category",superClass:["RootElement"],properties:[{name:"categoryValue",type:"CategoryValue",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Artifact",isAbstract:!0,superClass:["BaseElement"]},{name:"CategoryValue",superClass:["BaseElement"],properties:[{name:"categorizedFlowElements",type:"FlowElement",isMany:!0,isVirtual:!0,isReference:!0},{name:"value",isAttr:!0,type:"String"}]},{name:"Activity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"isForCompensation",default:!1,isAttr:!0,type:"Boolean"},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"boundaryEventRefs",type:"BoundaryEvent",isMany:!0,isReference:!0},{name:"properties",type:"Property",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"startQuantity",default:1,isAttr:!0,type:"Integer"},{name:"resources",type:"ResourceRole",isMany:!0},{name:"completionQuantity",default:1,isAttr:!0,type:"Integer"},{name:"loopCharacteristics",type:"LoopCharacteristics"}]},{name:"ServiceTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"SubProcess",superClass:["Activity","FlowElementsContainer","InteractionNode"],properties:[{name:"triggeredByEvent",default:!1,isAttr:!0,type:"Boolean"},{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"LoopCharacteristics",isAbstract:!0,superClass:["BaseElement"]},{name:"MultiInstanceLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"isSequential",default:!1,isAttr:!0,type:"Boolean"},{name:"behavior",type:"MultiInstanceBehavior",default:"All",isAttr:!0},{name:"loopCardinality",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopDataInputRef",type:"ItemAwareElement",isReference:!0},{name:"loopDataOutputRef",type:"ItemAwareElement",isReference:!0},{name:"inputDataItem",type:"DataInput",xml:{serialize:"property"}},{name:"outputDataItem",type:"DataOutput",xml:{serialize:"property"}},{name:"complexBehaviorDefinition",type:"ComplexBehaviorDefinition",isMany:!0},{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"oneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0},{name:"noneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0}]},{name:"StandardLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"testBefore",default:!1,isAttr:!0,type:"Boolean"},{name:"loopCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopMaximum",type:"Integer",isAttr:!0}]},{name:"CallActivity",superClass:["Activity","InteractionNode"],properties:[{name:"calledElement",type:"String",isAttr:!0}]},{name:"Task",superClass:["Activity","InteractionNode"]},{name:"SendTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ReceiveTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ScriptTask",superClass:["Task"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"script",type:"String"}]},{name:"BusinessRuleTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"AdHocSubProcess",superClass:["SubProcess"],properties:[{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"ordering",type:"AdHocOrdering",isAttr:!0},{name:"cancelRemainingInstances",default:!0,isAttr:!0,type:"Boolean"}]},{name:"Transaction",superClass:["SubProcess"],properties:[{name:"protocol",isAttr:!0,type:"String"},{name:"method",isAttr:!0,type:"String"}]},{name:"GlobalScriptTask",superClass:["GlobalTask"],properties:[{name:"scriptLanguage",isAttr:!0,type:"String"},{name:"script",isAttr:!0,type:"String"}]},{name:"GlobalBusinessRuleTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"ComplexBehaviorDefinition",superClass:["BaseElement"],properties:[{name:"condition",type:"FormalExpression"},{name:"event",type:"ImplicitThrowEvent"}]},{name:"ResourceRole",superClass:["BaseElement"],properties:[{name:"resourceRef",type:"Resource",isReference:!0},{name:"resourceParameterBindings",type:"ResourceParameterBinding",isMany:!0},{name:"resourceAssignmentExpression",type:"ResourceAssignmentExpression"},{name:"name",isAttr:!0,type:"String"}]},{name:"ResourceParameterBinding",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"parameterRef",type:"ResourceParameter",isAttr:!0,isReference:!0}],superClass:["BaseElement"]},{name:"ResourceAssignmentExpression",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}}],superClass:["BaseElement"]},{name:"Import",properties:[{name:"importType",isAttr:!0,type:"String"},{name:"location",isAttr:!0,type:"String"},{name:"namespace",isAttr:!0,type:"String"}]},{name:"Definitions",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"targetNamespace",isAttr:!0,type:"String"},{name:"expressionLanguage",default:"http://www.w3.org/1999/XPath",isAttr:!0,type:"String"},{name:"typeLanguage",default:"http://www.w3.org/2001/XMLSchema",isAttr:!0,type:"String"},{name:"imports",type:"Import",isMany:!0},{name:"extensions",type:"Extension",isMany:!0},{name:"rootElements",type:"RootElement",isMany:!0},{name:"diagrams",isMany:!0,type:"bpmndi:BPMNDiagram"},{name:"exporter",isAttr:!0,type:"String"},{name:"relationships",type:"Relationship",isMany:!0},{name:"exporterVersion",isAttr:!0,type:"String"}]}],enumerations:[{name:"ProcessType",literalValues:[{name:"None"},{name:"Public"},{name:"Private"}]},{name:"GatewayDirection",literalValues:[{name:"Unspecified"},{name:"Converging"},{name:"Diverging"},{name:"Mixed"}]},{name:"EventBasedGatewayType",literalValues:[{name:"Parallel"},{name:"Exclusive"}]},{name:"RelationshipDirection",literalValues:[{name:"None"},{name:"Forward"},{name:"Backward"},{name:"Both"}]},{name:"ItemKind",literalValues:[{name:"Physical"},{name:"Information"}]},{name:"ChoreographyLoopType",literalValues:[{name:"None"},{name:"Standard"},{name:"MultiInstanceSequential"},{name:"MultiInstanceParallel"}]},{name:"AssociationDirection",literalValues:[{name:"None"},{name:"One"},{name:"Both"}]},{name:"MultiInstanceBehavior",literalValues:[{name:"None"},{name:"One"},{name:"All"},{name:"Complex"}]},{name:"AdHocOrdering",literalValues:[{name:"Parallel"},{name:"Sequential"}]}],xml:{tagAlias:"lowerCase",typePrefix:"t"}},bpmndi:{name:"BPMNDI",uri:"http://www.omg.org/spec/BPMN/20100524/DI",prefix:"bpmndi",types:[{name:"BPMNDiagram",properties:[{name:"plane",type:"BPMNPlane",redefines:"di:Diagram#rootElement"},{name:"labelStyle",type:"BPMNLabelStyle",isMany:!0}],superClass:["di:Diagram"]},{name:"BPMNPlane",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"}],superClass:["di:Plane"]},{name:"BPMNShape",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"isHorizontal",isAttr:!0,type:"Boolean"},{name:"isExpanded",isAttr:!0,type:"Boolean"},{name:"isMarkerVisible",isAttr:!0,type:"Boolean"},{name:"label",type:"BPMNLabel"},{name:"isMessageVisible",isAttr:!0,type:"Boolean"},{name:"participantBandKind",type:"ParticipantBandKind",isAttr:!0},{name:"choreographyActivityShape",type:"BPMNShape",isAttr:!0,isReference:!0}],superClass:["di:LabeledShape"]},{name:"BPMNEdge",properties:[{name:"label",type:"BPMNLabel"},{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"sourceElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#source"},{name:"targetElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#target"},{name:"messageVisibleKind",type:"MessageVisibleKind",isAttr:!0,default:"initiating"}],superClass:["di:LabeledEdge"]},{name:"BPMNLabel",properties:[{name:"labelStyle",type:"BPMNLabelStyle",isAttr:!0,isReference:!0,redefines:"di:DiagramElement#style"}],superClass:["di:Label"]},{name:"BPMNLabelStyle",properties:[{name:"font",type:"dc:Font"}],superClass:["di:Style"]}],enumerations:[{name:"ParticipantBandKind",literalValues:[{name:"top_initiating"},{name:"middle_initiating"},{name:"bottom_initiating"},{name:"top_non_initiating"},{name:"middle_non_initiating"},{name:"bottom_non_initiating"}]},{name:"MessageVisibleKind",literalValues:[{name:"initiating"},{name:"non_initiating"}]}],associations:[]},dc:{name:"DC",uri:"http://www.omg.org/spec/DD/20100524/DC",prefix:"dc",types:[{name:"Boolean"},{name:"Integer"},{name:"Real"},{name:"String"},{name:"Font",properties:[{name:"name",type:"String",isAttr:!0},{name:"size",type:"Real",isAttr:!0},{name:"isBold",type:"Boolean",isAttr:!0},{name:"isItalic",type:"Boolean",isAttr:!0},{name:"isUnderline",type:"Boolean",isAttr:!0},{name:"isStrikeThrough",type:"Boolean",isAttr:!0}]},{name:"Point",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0}]},{name:"Bounds",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0},{name:"width",type:"Real",isAttr:!0},{name:"height",type:"Real",isAttr:!0}]}],associations:[]},di:{name:"DI",uri:"http://www.omg.org/spec/DD/20100524/DI",prefix:"di",types:[{name:"DiagramElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"extension",type:"Extension"},{name:"owningDiagram",type:"Diagram",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"owningElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"modelElement",isReadOnly:!0,isVirtual:!0,isReference:!0,type:"Element"},{name:"style",type:"Style",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"ownedElement",type:"DiagramElement",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Node",isAbstract:!0,superClass:["DiagramElement"]},{name:"Edge",isAbstract:!0,superClass:["DiagramElement"],properties:[{name:"source",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"target",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"waypoint",isUnique:!1,isMany:!0,type:"dc:Point",xml:{serialize:"xsi:type"}}]},{name:"Diagram",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"rootElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0},{name:"name",isAttr:!0,type:"String"},{name:"documentation",isAttr:!0,type:"String"},{name:"resolution",isAttr:!0,type:"Real"},{name:"ownedStyle",type:"Style",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Shape",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Plane",isAbstract:!0,superClass:["Node"],properties:[{name:"planeElement",type:"DiagramElement",subsettedProperty:"DiagramElement-ownedElement",isMany:!0}]},{name:"LabeledEdge",isAbstract:!0,superClass:["Edge"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"LabeledShape",isAbstract:!0,superClass:["Shape"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"Label",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Style",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"}]},{name:"Extension",properties:[{name:"values",isMany:!0,type:"Element"}]}],associations:[],xml:{tagAlias:"lowerCase"}},bioc:{name:"bpmn.io colors for BPMN",uri:"http://bpmn.io/schema/bpmn/biocolor/1.0",prefix:"bioc",types:[{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]}],enumerations:[],associations:[]},color:{name:"BPMN in Color",uri:"http://www.omg.org/spec/BPMN/non-normative/color/1.0",prefix:"color",types:[{name:"ColoredLabel",extends:["bpmndi:BPMNLabel"],properties:[{name:"color",isAttr:!0,type:"String"}]},{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"background-color",isAttr:!0,type:"String"},{name:"border-color",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"border-color",isAttr:!0,type:"String"}]}],enumerations:[],associations:[]}};function xn(e,t){return new vn(ee({},bn,e),t)}function _n(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':""}var wn="Tried to access di from the businessObject. The di is available through the diagram element only. For more information, see https://github.com/bpmn-io/bpmn-js/issues/1472";function En(e){D(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(wn)}})}function Sn(e,t){return e.$instanceOf(t)}function Cn(e){var t={},n=[],i={};function r(e,t){return function(n){e(n,t)}}function o(e){t[e.id]=e}function a(t,n){try{var r=i[t.id]&&function(t,n){if(t.gfx)throw new Error(`already rendered ${_n(t)}`);return e.element(t,i[t.id],n)}(t,n);return o(t),r}catch(a){s(a.message,{element:t,error:a})}}function s(t,n){e.error(t,n)}var c=this.registerDi=function(e){var t=e.bpmnElement;t?i[t.id]?s(`multiple DI elements defined for ${_n(t)}`,{element:t}):(i[t.id]=e,En(t)):s(`no bpmnElement referenced in ${_n(e)}`,{element:e})};function l(e){var t;t=e.plane,c(t),j(t.planeElement,p)}function p(e){c(e)}this.handleDefinitions=function(o,a){var p=o.diagrams;if(a&&-1===p.indexOf(a))throw new Error("diagram not part of ");if(!a&&p&&p.length&&(a=p[0]),!a)throw new Error("no diagram to display");i={},l(a);var m=a.plane;if(!m)throw new Error(`no plane for ${_n(a)}`);var f=m.bpmnElement;if(!f){if(f=function(e){return B(e.rootElements,(function(e){return Sn(e,"bpmn:Process")||Sn(e,"bpmn:Collaboration")}))}(o),!f)throw new Error("no process or collaboration to display");s(`correcting missing bpmnElement on ${_n(m)} to ${_n(f)}`),m.bpmnElement=f,c(m)}var g,y,b=function(t,n){return e.root(t,i[t.id],n)}(f,m);if(Sn(f,"bpmn:Process")||Sn(f,"bpmn:SubProcess"))d(f,b);else{if(!Sn(f,"bpmn:Collaboration"))throw new Error(`unsupported bpmnElement for ${_n(m)}: ${_n(f)}`);y=b,j((g=f).participants,r(k,y)),v(g.artifacts,y),n.push((function(){!function(e,t){j(e,r(h,t))}(g.messageFlows,y)})),function(e,n){O(e,(function(e){return!t[e.id]&&Sn(e,"bpmn:Process")&&e.laneSets})).forEach(r(d,n))}(o.rootElements,b)}u(n)};var u=this.handleDeferred=function(){for(;n.length;)n.shift()()};function d(e,t){C(e,t),b(e.ioSpecification,t),v(e.artifacts,t),o(e)}function h(e,t){a(e,t)}function m(e,t){a(e,t)}function f(e,t){a(e,t)}function g(e,t){a(e,t)}function y(e,t){a(e,t)}function v(e,t){j(e,(function(e){Sn(e,"bpmn:Association")?n.push((function(){y(e,t)})):y(e,t)}))}function b(e,t){e&&(j(e.dataInputs,r(f,t)),j(e.dataOutputs,r(g,t)))}var x=this.handleSubProcess=function(e,t){C(e,t),v(e.artifacts,t)};function _(e,t){var i=a(e,t);Sn(e,"bpmn:SubProcess")&&x(e,i||t),Sn(e,"bpmn:Activity")&&b(e.ioSpecification,t),n.push((function(){j(e.dataInputAssociations,r(m,t)),j(e.dataOutputAssociations,r(m,t))}))}function w(e,t){a(e,t)}function E(e,t){n.push((function(){var n=a(e,t);e.childLaneSet&&S(e.childLaneSet,n||t),function(e){j(e.flowNodeRef,(function(t){var n=t.get("lanes");n&&n.push(e)}))}(e)}))}function S(e,t){j(e.lanes,r(E,t))}function C(e,t){!function(e,t){j(e,(function(e){Sn(e,"bpmn:SequenceFlow")?n.push((function(){!function(e,t){a(e,t)}(e,t)})):Sn(e,"bpmn:BoundaryEvent")?n.unshift((function(){_(e,t)})):Sn(e,"bpmn:FlowNode")?_(e,t):Sn(e,"bpmn:DataObject")||(Sn(e,"bpmn:DataStoreReference")||Sn(e,"bpmn:DataObjectReference")?w(e,t):s(`unrecognized flowElement ${_n(e)} in context ${_n(t&&t.businessObject)}`,{element:e,context:t}))}))}(e.flowElements,t),e.laneSets&&function(e,t){j(e,r(S,t))}(e.laneSets,t)}function k(e,t){var n=a(e,t),i=e.processRef;i&&d(i,n||t)}}function kn(e,t){var n=Pn(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}function An(e,t){return z(t,(function(t){return kn(e,t)}))}function Pn(e){return e&&e.businessObject||e}function Rn(e){return e&&e.di}function Mn(e,t,n){var i,r,o,a=[];function s(e,t){var n=new Cn({root:function(e,t){return i.add(e,t)},element:function(e,t,n){return i.add(e,t,n)},error:function(e,t){a.push({message:e,context:t})}});t=t||e.diagrams&&e.diagrams[0];var r=function(e,t){if(!t||!t.plane)return;var n,i=t.plane.bpmnElement,r=i;kn(i,"bpmn:Process")||kn(i,"bpmn:Collaboration")||(r=function(e){var t=e;for(;t;){if(kn(t,"bpmn:Process"))return t;t=t.$parent}}(i));n=kn(r,"bpmn:Collaboration")?r:B(e.rootElements,(function(e){if(kn(e,"bpmn:Collaboration"))return B(e.participants,(function(e){return e.processRef===r}))}));var o=[r];n&&(o=F(n.participants,(function(e){return e.processRef}))).push(n);var a=Tn(o),s=[t],c=[i];return j(e.diagrams,(function(e){if(e.plane){var t=e.plane.bpmnElement;-1!==a.indexOf(t)&&-1===c.indexOf(t)&&(s.push(e),c.push(t))}})),s}(e,t);if(!r)throw new Error("no diagram to display");j(r,(function(t){n.handleDefinitions(e,t)}));var s=t.plane.bpmnElement.id;o.setRootElement(o.findRoot(s+"_plane")||o.findRoot(s))}return new Promise((function(c,l){try{return i=e.get("bpmnImporter"),r=e.get("eventBus"),o=e.get("canvas"),r.fire("import.render.start",{definitions:t}),s(t,n),r.fire("import.render.complete",{error:undefined,warnings:a}),c({warnings:a})}catch(p){return p.warnings=a,l(p)}}))}function Tn(e){var t=[];return j(e,(function(e){e&&(t.push(e),t=t.concat(Tn(e.flowElements)))})),t}var Dn,Bn='',Nn={verticalAlign:"middle"},On={color:"#404040"},jn={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},Ln={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},In={position:"absolute",left:"50%",top:"40%",transform:"translate(-50%)",width:"260px",padding:"10px",background:"white",boxShadow:"0 1px 4px rgba(0,0,0,0.3)",fontFamily:"Helvetica, Arial, sans-serif",fontSize:"14px",display:"flex",lineHeight:"1.3"},$n='
    '+Bn+'Web-based tooling for BPMN, DMN and forms powered by bpmn.io.
    ';function zn(){Dn||(pe(Dn=Re($n),jn),pe(Te("svg",Dn),Nn),pe(Te(".backdrop",Dn),Ln),pe(Te(".notice",Dn),In),pe(Te(".link",Dn),On,{margin:"15px 20px 15px 10px",alignSelf:"center"}),Ce.bind(Dn,".backdrop","click",(function(e){document.body.removeChild(Dn)}))),document.body.appendChild(Dn)}function Fn(e){e=ee({},Vn,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),function(e){const t=Re(''+Bn+"");pe(Te("svg",t),Nn),pe(t,On,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(t),we.bind(t,"click",(function(e){zn(),e.preventDefault()}))}(this._container),this._init(this._container,this._moddle,e)}function Hn(e,t){return e.warnings=t,e}x(Fn,l),Fn.prototype.importXML=async function(e,t){const n=this;let i=[];try{let a;e=this._emit("import.parse.start",{xml:e})||e;try{a=await this._moddle.fromXML(e,"bpmn:Definitions")}catch(o){throw this._emit("import.parse.complete",{error:o}),o}let s=a.rootElement;const c=a.references,l=a.warnings,p=a.elementsById;i=i.concat(l),s=this._emit("import.parse.complete",(r={error:null,definitions:s,elementsById:p,references:c,warnings:i},n.get("eventBus").createEvent(r)))||s;const u=await this.importDefinitions(s,t);return i=i.concat(u.warnings),this._emit("import.done",{error:null,warnings:i}),{warnings:i}}catch(a){let e=a;throw i=i.concat(e.warnings||[]),Hn(e,i),e=function(e){const t=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);t&&(e.message="unparsable content <"+t[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+t[2]);return e}(e),this._emit("import.done",{error:e,warnings:e.warnings}),e}var r},Fn.prototype.importDefinitions=async function(e,t){this._setDefinitions(e);return{warnings:(await this.open(t)).warnings}},Fn.prototype.open=async function(e){const t=this._definitions;let n=e;if(!t){const e=new Error("no XML imported");throw Hn(e,[]),e}if("string"==typeof e&&(n=function(e,t){if(!t)return null;return B(e.diagrams,(function(e){return e.id===t}))||null}(t,e),!n)){const t=new Error("BPMNDiagram <"+e+"> not found");throw Hn(t,[]),t}try{this.clear()}catch(r){throw Hn(r,[]),r}const{warnings:i}=await Mn(this,t,n);return{warnings:i}},Fn.prototype.saveXML=async function(e){e=e||{};let t,n,i=this._definitions;try{if(!i)throw new Error("no definitions loaded");i=this._emit("saveXML.start",{definitions:i})||i;n=(await this._moddle.toXML(i,e)).xml,n=this._emit("saveXML.serialized",{xml:n})||n}catch(o){t=o}const r=t?{error:t}:{xml:n};if(this._emit("saveXML.done",r),t)throw t;return r},Fn.prototype.saveSVG=async function(){let e,t;this._emit("saveSVG.start");try{const t=this.get("canvas"),n=t.getActiveLayer(),i=Te(":scope > defs",t._svg),r=tt(n),o=i?""+tt(i)+"":"",a=n.getBBox();e='\n\x3c!-- created with bpmn-js / http://bpmn.io --\x3e\n\n'+o+r+""}catch(n){t=n}if(this._emit("saveSVG.done",{error:t,svg:e}),t)throw t;return{svg:e}},Fn.prototype._setDefinitions=function(e){this._definitions=e},Fn.prototype.getModules=function(){return this._modules},Fn.prototype.clear=function(){this.getDefinitions()&&l.prototype.clear.call(this)},Fn.prototype.destroy=function(){l.prototype.destroy.call(this),Be(this._container)},Fn.prototype.on=function(e,t,n,i){return this.get("eventBus").on(e,t,n,i)},Fn.prototype.off=function(e,t){this.get("eventBus").off(e,t)},Fn.prototype.attachTo=function(e){if(!e)throw new Error("parentNode required");this.detach(),e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),"string"==typeof e&&(e=Te(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},Fn.prototype.getDefinitions=function(){return this._definitions},Fn.prototype.detach=function(){const e=this._container,t=e.parentNode;t&&(this._emit("detach",{}),t.removeChild(e))},Fn.prototype._init=function(e,t,n){const i=n.modules||this.getModules(n),r=n.additionalModules||[],o=[].concat([{bpmnjs:["value",this],moddle:["value",t]}],i,r),a=ee(ne(n,["additionalModules"]),{canvas:ee({},n.canvas,{container:e}),modules:o});l.call(this,a),n&&n.container&&this.attachTo(n.container)},Fn.prototype._emit=function(e,t){return this.get("eventBus").fire(e,t)},Fn.prototype._createContainer=function(e){const t=Re('
    ');return pe(t,{width:Gn(e.width),height:Gn(e.height),position:e.position}),t},Fn.prototype._createModdle=function(e){return new xn(ee({},this._moddleExtensions,e.moddleExtensions))},Fn.prototype._modules=[];const Vn={width:"100%",height:"100%",position:"relative"};function Gn(e){return e+(R(e)?"px":"")}function Wn(e){Fn.call(this,e),this.on("import.parse.complete",(function(e){e.error||this._collectIds(e.definitions,e.elementsById)}),this),this.on("diagram.destroy",(function(){this.get("moddle").ids.clear()}),this)}x(Wn,Fn),Wn.prototype._createModdle=function(e){var t=Fn.prototype._createModdle.call(this,e);return t.ids=new c([32,36,1]),t},Wn.prototype._collectIds=function(e,t){var n,i=e.$model.ids;for(n in i.clear(),t)i.claim(n,t[n])};var Un=1e3;function qn(e,t){var n=this;t=t||Un,e.on(["render.shape","render.connection"],t,(function(e,t){var i=e.type,r=t.element,o=t.gfx,a=t.attrs;if(n.canRender(r))return"render.shape"===i?n.drawShape(o,r,a):n.drawConnection(o,r,a)})),e.on(["render.getShapePath","render.getConnectionPath"],t,(function(e,t){if(n.canRender(t))return"render.getShapePath"===e.type?n.getShapePath(t):n.getConnectionPath(t)}))}function Kn(e,t){return!kn(e,"bpmn:CallActivity")&&(kn(e,"bpmn:SubProcess")?!(!(t=t||Rn(e))||!kn(t,"bpmndi:BPMNPlane"))||t&&!!t.isExpanded:!kn(e,"bpmn:Participant")||!!Pn(e).processRef)}function Xn(e){if(kn(e,"bpmn:Participant")||kn(e,"bpmn:Lane")){var t=Rn(e).isHorizontal;return void 0===t||t}}function Yn(e){return e&&!!Pn(e).triggeredByEvent}function Zn(e,t){return z(Pn(e).eventDefinitions,(function(e){return kn(e,t)}))}function Qn(e){return P(e)&&D(e,"waypoints")}function Jn(e){return P(e)&&D(e,"labelTarget")}qn.prototype.canRender=function(e){},qn.prototype.drawShape=function(e,t){},qn.prototype.drawConnection=function(e,t){},qn.prototype.getShapePath=function(e){},qn.prototype.getConnectionPath=function(e){};var ei={width:90,height:20},ti=15;function ni(e){return kn(e,"bpmn:Event")||kn(e,"bpmn:Gateway")||kn(e,"bpmn:DataStoreReference")||kn(e,"bpmn:DataObjectReference")||kn(e,"bpmn:DataInput")||kn(e,"bpmn:DataOutput")||kn(e,"bpmn:SequenceFlow")||kn(e,"bpmn:MessageFlow")||kn(e,"bpmn:Group")}function ii(e){return Jn(e.label)}function ri(e){var t=e.length/2-1,n=e[Math.floor(t)],i=e[Math.ceil(t+.01)],r=function(e){var t=e.length/2-1,n=e[Math.floor(t)],i=e[Math.ceil(t+.01)];return{x:n.x+(i.x-n.x)/2,y:n.y+(i.y-n.y)/2}}(e),o=Math.atan((i.y-n.y)/(i.x-n.x)),a=r.x,s=r.y;return Math.abs(o) defs",a);c||Ne(a,c=qe("defs")),Ne(c,s)}function h(e,t,n,i){var r=Ai.nextPrefixed("marker-");return function(e,t,n,i,r){if("sequenceflow-end"===n){d(t,{element:qe("path",{d:"M 1 5 L 11 10 L 1 15 Z",...p({fill:r,stroke:r,strokeWidth:1})}),ref:{x:11,y:10},scale:.5,parentGfx:e})}if("messageflow-start"===n){d(t,{element:qe("circle",{cx:6,cy:6,r:3.5,...p({fill:i,stroke:r,strokeWidth:1,strokeDasharray:[1e4,1]})}),ref:{x:6,y:6},parentGfx:e})}if("messageflow-end"===n){d(t,{element:qe("path",{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z",...p({fill:i,stroke:r,strokeWidth:1,strokeDasharray:[1e4,1]})}),ref:{x:8.5,y:5},parentGfx:e})}if("association-start"===n){d(t,{element:qe("path",{d:"M 11 5 L 1 10 L 11 15",...u({fill:"none",stroke:r,strokeWidth:1.5,strokeDasharray:[1e4,1]})}),ref:{x:1,y:10},scale:.5,parentGfx:e})}if("association-end"===n){d(t,{element:qe("path",{d:"M 1 5 L 11 10 L 1 15",...u({fill:"none",stroke:r,strokeWidth:1.5,strokeDasharray:[1e4,1]})}),ref:{x:11,y:10},scale:.5,parentGfx:e})}if("conditional-flow-marker"===n){d(t,{element:qe("path",{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z",...p({fill:i,stroke:r})}),ref:{x:-1,y:10},scale:.5,parentGfx:e})}if("conditional-default-flow-marker"===n){d(t,{element:qe("path",{d:"M 6 4 L 10 16",...p({stroke:r,fill:"none"})}),ref:{x:0,y:10},scale:.5,parentGfx:e})}}(e,r,t,n,i),"url(#"+r+")"}function m(e,t,n,i,r={}){P(i)&&(r=i,i=0),i=i||0,r=p(r);var o=qe("circle",{cx:t/2,cy:n/2,r:Math.round((t+n)/4-i),...r});return Ne(e,o),o}function f(e,t,n,i,r,o){P(r)&&(o=r,r=0),r=r||0,o=p(o);var a=qe("rect",{x:r,y:r,width:t-2*r,height:n-2*r,rx:i,ry:i,...o});return Ne(e,a),a}function g(e,t,n,i){var r=hi(t,n=u(n),i);return Ne(e,r),r}function y(e,t,n){return g(e,t,n,5)}function v(e,t,n){n=u(n);var i=qe("path",{...n,d:t});return Ne(e,i),i}function b(e,t,n,i){return v(t,n,ee({"data-marker":e},i))}function x(e){return Z[e]}function _(e){return function(t,n,i){return x(e)(t,n,i)}}var w=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:t.width,containerHeight:t.height,position:{mx:.235,my:.315}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:r?vi(t,s,n.fill):bi(t,c,n.stroke),strokeWidth:1})},E=function(e,t,n={}){var r=m(e,t.width,t.height,.2*t.height,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:2});v(e,i.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.5}}),{stroke:bi(t,c,n.stroke),strokeWidth:2});for(var o=0;o<12;o++){var a=i.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.5}}),l=t.width/2,p=t.height/2;v(e,a,{strokeWidth:1,stroke:bi(t,c,n.stroke),transform:"rotate("+30*o+","+p+","+l+")"})}return r},S=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.2}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},C=function(e,t,n={}){return v(e,i.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.222}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},k=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.57,my:.263}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},A=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:t.width,containerHeight:t.height,position:{mx:.2,my:.722}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},R=function(e,t,n={},r){var o=v(e,i.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.638,my:-.055}}),{fill:r?bi(t,c,n.stroke):"none",stroke:bi(t,c,n.stroke),strokeWidth:1});return ki(o,45),o},M=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.22,my:.5}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},T=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.2}}),{strokeWidth:1,fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},D=function(e,t,n={},r){return v(e,i.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:t.width,containerHeight:t.height,position:{mx:.222,my:.36}}),{fill:r?bi(t,c,n.stroke):vi(t,s,n.fill),strokeWidth:1})},B=function(e,t,n={}){return v(e,i.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:t.width,containerHeight:t.height,position:{mx:.458,my:.194}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1})},N=function(e,t,n={}){return m(e,t.width,t.height,8,{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:4})};function O(e,t,n={}){var i,r=Pn(e),o="bpmn:IntermediateThrowEvent"===(i=r).$type||"bpmn:EndEvent"===i.$type;return r.get("eventDefinitions")&&r.get("eventDefinitions").length>1?r.get("parallelMultiple")?B(t,e,n,o):D(t,e,n,o):yi(r,"bpmn:MessageEventDefinition")?w(t,e,n,o):yi(r,"bpmn:TimerEventDefinition")?E(t,e,n,o):yi(r,"bpmn:ConditionalEventDefinition")?C(t,e,n,o):yi(r,"bpmn:SignalEventDefinition")?T(t,e,n,o):yi(r,"bpmn:EscalationEventDefinition")?S(t,e,n,o):yi(r,"bpmn:LinkEventDefinition")?k(t,e,n,o):yi(r,"bpmn:ErrorEventDefinition")?A(t,e,n,o):yi(r,"bpmn:CancelEventDefinition")?R(t,e,n,o):yi(r,"bpmn:CompensateEventDefinition")?M(t,e,n,o):yi(r,"bpmn:TerminateEventDefinition")?N(t,e,n,o):null}var L={ParticipantMultiplicityMarker:function(e,t,n={}){var r=wi(t,n),o=Ei(t,n);b("participant-multiplicity",e,i.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2-6)/r,my:(o-15)/o}}),{strokeWidth:2,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},SubProcessMarker:function(e,t,n={}){Ci(f(e,14,14,0,{strokeWidth:1,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)}),t.width/2-7.5,t.height-20),b("sub-process",e,i.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2-7.5)/t.width,my:(t.height-20)/t.height}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},ParallelMarker:function(e,t,n){var r=wi(t,n),o=Ei(t,n);b("parallel",e,i.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2+n.parallel)/r,my:(o-20)/o}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},SequentialMarker:function(e,t,n){b("sequential",e,i.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.seq)/t.width,my:(t.height-19)/t.height}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},CompensationMarker:function(e,t,n){b("compensation",e,i.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.compensation)/t.width,my:(t.height-13)/t.height}}),{strokeWidth:1,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})},LoopMarker:function(e,t,n){var r=wi(t,n),o=Ei(t,n);b("loop",e,i.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2+n.loop)/r,my:(o-7)/o}}),{strokeWidth:1.5,fill:"none",stroke:bi(t,c,n.stroke),strokeMiterlimit:.5})},AdhocMarker:function(e,t,n){var r=wi(t,n),o=Ei(t,n);b("adhoc",e,i.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:(r/2+n.adhoc)/r,my:(o-15)/o}}),{strokeWidth:1,fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke)})}};function I(e,t,n,i){L[e](t,n,i)}function $(e,t,n,i={}){i={fill:i.fill,stroke:i.stroke,width:wi(t,i),height:Ei(t,i)};var r=Pn(t),o=n&&n.includes("SubProcessMarker");i=o?{...i,seq:-21,parallel:-22,compensation:-42,loop:-18,adhoc:10}:{...i,seq:-5,parallel:-6,compensation:-27,loop:0,adhoc:10},j(n,(function(n){I(n,e,t,i)})),r.get("isForCompensation")&&I("CompensationMarker",e,t,i),kn(r,"bpmn:AdHocSubProcess")&&I("AdhocMarker",e,t,i);var a=r.get("loopCharacteristics"),s=a&&a.get("isSequential");a&&(void 0===s&&I("LoopMarker",e,t,i),!1===s&&I("ParallelMarker",e,t,i),!0===s&&I("SequentialMarker",e,t,i))}function z(e,t,n={}){n=ee({size:{width:100}},n);var i=o.createText(t||"",n);return ze(i).add("djs-label"),Ne(e,i),i}function F(e,t,n,i={}){var r=Pn(t),o=_i({x:t.x,y:t.y,width:t.width,height:t.height},i);return z(e,r.name,{align:n,box:o,padding:7,style:{fill:xi(t,l,c,i.stroke)}})}function H(e,t,n,i={}){var r=Xn(n),o=z(e,t,{box:{height:30,width:r?Ei(n,i):wi(n,i)},align:"center-middle",style:{fill:xi(n,l,c,i.stroke)}});r&&Si(o,0,-(-1*Ei(n,i)),270)}function V(e,t,n={}){var{width:i,height:r}=_i(t,n);return f(e,i,r,10,{...n,fill:vi(t,s,n.fill),fillOpacity:Pi,stroke:bi(t,c,n.stroke)})}function G(e,t,n={}){var i=Pn(t),r=vi(t,s,n.fill),o=bi(t,c,n.stroke);return"One"!==i.get("associationDirection")&&"Both"!==i.get("associationDirection")||(n.markerEnd=h(e,"association-end",r,o)),"Both"===i.get("associationDirection")&&(n.markerStart=h(e,"association-start",r,o)),n=Mi(n,["markerStart","markerEnd"]),y(e,t.waypoints,{...n,stroke:o,strokeDasharray:"0, 5"})}function W(e,t,n={}){var r=vi(t,s,n.fill),o=bi(t,c,n.stroke),a=v(e,i.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.474,my:.296}}),{fill:r,fillOpacity:Pi,stroke:o});(function(e){var t=e.dataObjectRef;return e.isCollection||t&&t.isCollection})(Pn(t))&&v(e,i.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.33,my:(t.height-18)/t.height}}),{strokeWidth:2,fill:r,stroke:o});return a}function U(e,t,n={}){return m(e,t.width,t.height,{fillOpacity:Pi,...n,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)})}function q(e,t,n={}){return function(e,t,n,i){var r=t/2,o=n/2,a=[{x:r,y:0},{x:t,y:o},{x:r,y:n},{x:0,y:o}].map((function(e){return e.x+","+e.y})).join(" ");i=p(i);var s=qe("polygon",{...i,points:a});return Ne(e,s),s}(e,t.width,t.height,{fill:vi(t,s,n.fill),fillOpacity:Pi,stroke:bi(t,c,n.stroke)})}function K(e,t,n={}){var i=f(e,wi(t,n),Ei(t,n),0,{fill:vi(t,s,n.fill),fillOpacity:n.fillOpacity||Pi,stroke:bi(t,c,n.stroke),strokeWidth:1.5}),r=Pn(t);kn(r,"bpmn:Lane")&&H(e,r.get("name"),t,n);return i}function X(e,t,n={}){var i=V(e,t,n);Yn(t)&&Ie(i,{strokeDasharray:"0, 5.5",strokeWidth:2.5});var r=Kn(t);return F(e,t,r?"center-top":"center-middle",n),$(e,t,r?void 0:["SubProcessMarker"],n),i}function Y(e,t,n={}){var i=V(e,t,n);return F(e,t,"center-middle",n),$(e,t,void 0,n),i}var Z=this.handlers={"bpmn:AdHocSubProcess":function(e,t,n={}){return X(e,t,n=Kn(t)?Mi(n,["fill","stroke","width","height"]):Mi(n,["fill","stroke"]))},"bpmn:Association":function(e,t,n={}){return G(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:BoundaryEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]);var r=Pn(t).get("cancelActivity");n={strokeWidth:1.5,fill:vi(t,s,n.fill),fillOpacity:1,stroke:bi(t,c,n.stroke)},r||(n.strokeDasharray="6");var o=U(e,t,n);return m(e,t.width,t.height,3,{...n,fill:"none"}),i&&O(t,e,n),o},"bpmn:BusinessRuleTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return Ie(v(e,i.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}})),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),Ie(v(e,i.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}})),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:CallActivity":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),X(e,t,{strokeWidth:5,...n})},"bpmn:ComplexGateway":function(e,t,n={}){var r=q(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:t.width,containerHeight:t.height,position:{mx:.46,my:.26}}),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:DataInput":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=i.getRawPath("DATA_ARROW"),o=W(e,t,n);return v(e,r,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1}),o},"bpmn:DataInputAssociation":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),G(e,t,{...n,markerEnd:h(e,"association-end",vi(t,s,n.fill),bi(t,c,n.stroke))})},"bpmn:DataObject":function(e,t,n={}){return W(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:DataObjectReference":_("bpmn:DataObject"),"bpmn:DataOutput":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=i.getRawPath("DATA_ARROW"),o=W(e,t,n);return v(e,r,{strokeWidth:1,fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke)}),o},"bpmn:DataOutputAssociation":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),G(e,t,{...n,markerEnd:h(e,"association-end",vi(t,s,n.fill),bi(t,c,n.stroke))})},"bpmn:DataStoreReference":function(e,t,n={}){return n=Mi(n,["fill","stroke"]),v(e,i.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:0,my:.133}}),{fill:vi(t,s,n.fill),fillOpacity:Pi,stroke:bi(t,c,n.stroke),strokeWidth:2})},"bpmn:EndEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]);var r=U(e,t,{...n,strokeWidth:4});return i&&O(t,e,n),r},"bpmn:EventBasedGateway":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=Pn(t),o=q(e,t,n);m(e,t.width,t.height,.2*t.height,{fill:vi(t,"none",n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1});var a,s=r.get("eventGatewayType"),l=!!r.get("instantiate");if("Parallel"===s){var p=i.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:t.width,containerHeight:t.height,position:{mx:.474,my:.296}});v(e,p,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1})}else"Exclusive"===s&&(l||m(e,t.width,t.height,.26*t.height,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1}),a=i.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:t.width,containerHeight:t.height,position:{mx:.36,my:.44}}),v(e,a,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:2}));return o},"bpmn:ExclusiveGateway":function(e,t,n={}){var r=q(e,t,n=Mi(n,["fill","stroke"])),o=i.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:t.width,containerHeight:t.height,position:{mx:.32,my:.3}});return Rn(t).get("isMarkerVisible")&&v(e,o,{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:Gateway":function(e,t,n={}){return q(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:Group":function(e,t,n={}){return n=Mi(n,["fill","stroke","width","height"]),f(e,t.width,t.height,10,{stroke:bi(t,c,n.stroke),strokeWidth:1.5,strokeDasharray:"10, 6, 0, 6",fill:"none",pointerEvents:"none",width:wi(t,n),height:Ei(t,n)})},"bpmn:InclusiveGateway":function(e,t,n={}){var i=q(e,t,n=Mi(n,["fill","stroke"]));return m(e,t.width,t.height,.24*t.height,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:2.5}),i},"bpmn:IntermediateEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]);var r=U(e,t,{...n,strokeWidth:1.5});return m(e,t.width,t.height,3,{fill:"none",stroke:bi(t,c,n.stroke),strokeWidth:1.5}),i&&O(t,e,n),r},"bpmn:IntermediateCatchEvent":_("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":_("bpmn:IntermediateEvent"),"bpmn:Lane":function(e,t,n={}){return n=Mi(n,["fill","stroke","width","height"]),K(e,t,{...n,fillOpacity:.25})},"bpmn:ManualTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:.5}),r},"bpmn:MessageFlow":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r=Pn(t),o=Rn(t),a=vi(t,s,n.fill),l=bi(t,c,n.stroke),p=y(e,t.waypoints,{markerEnd:h(e,"messageflow-end",a,l),markerStart:h(e,"messageflow-start",a,l),stroke:l,strokeDasharray:"10, 11",strokeWidth:1.5});if(r.get("messageRef")){var u=p.getPointAtLength(p.getTotalLength()/2),d=i.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:u.x,y:u.y}}),m={strokeWidth:1};"initiating"===o.get("messageVisibleKind")?(m.fill=a,m.stroke=l):(m.fill=l,m.stroke=a);var f=v(e,d,m),g=z(e,r.get("messageRef").get("name"),{align:"center-top",fitBox:!0,style:{fill:l}}),b=f.getBBox(),x=g.getBBox();Si(g,u.x-x.width/2,u.y+b.height/2+10,0)}return p},"bpmn:ParallelGateway":function(e,t,n={}){var r=q(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:t.width,containerHeight:t.height,position:{mx:.46,my:.2}}),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:Participant":function(e,t,n={}){var i=K(e,t,n=Mi(n,["fill","stroke","width","height"])),r=Kn(t),o=Xn(t),a=Pn(t),s=a.get("name");if(r){g(e,o?[{x:30,y:0},{x:30,y:Ei(t,n)}]:[{x:0,y:30},{x:wi(t,n),y:30}],{stroke:bi(t,c,n.stroke),strokeWidth:1.5}),H(e,s,t,n)}else{var p=_i(t,n);o||(p.height=wi(t,n),p.width=Ei(t,n));var u=z(e,s,{box:p,align:"center-middle",style:{fill:xi(t,l,c,n.stroke)}});if(!o)Si(u,0,-(-1*Ei(t,n)),270)}return a.get("participantMultiplicity")&&I("ParticipantMultiplicityMarker",e,t,n),i},"bpmn:ReceiveTask":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var r,o=Pn(t),a=Y(e,t,n);return o.get("instantiate")?(m(e,28,28,4.4,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),r=i.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):r=i.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),v(e,r,{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),a},"bpmn:ScriptTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:SendTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}}),{fill:bi(t,c,n.stroke),stroke:vi(t,s,n.fill),strokeWidth:1}),r},"bpmn:SequenceFlow":function(e,t,n={}){n=Mi(n,["fill","stroke"]);var i=vi(t,s,n.fill),r=bi(t,c,n.stroke),o=y(e,t.waypoints,{markerEnd:h(e,"sequenceflow-end",i,r),stroke:r}),a=Pn(t),{source:l}=t;if(l){var p=Pn(l);a.get("conditionExpression")&&kn(p,"bpmn:Activity")&&Ie(o,{markerStart:h(e,"conditional-flow-marker",i,r)}),p.get("default")&&(kn(p,"bpmn:Gateway")||kn(p,"bpmn:Activity"))&&p.get("default")===a&&Ie(o,{markerStart:h(e,"conditional-default-flow-marker",i,r)})}return o},"bpmn:ServiceTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return m(e,10,10,{fill:vi(t,s,n.fill),stroke:"none",transform:"translate(6, 6)"}),v(e,i.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),m(e,10,10,{fill:vi(t,s,n.fill),stroke:"none",transform:"translate(11, 10)"}),v(e,i.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:1}),r},"bpmn:StartEvent":function(e,t,n={}){var{renderIcon:i=!0}=n;n=Mi(n,["fill","stroke"]),Pn(t).get("isInterrupting")||(n={...n,strokeDasharray:"6"});var r=U(e,t,n);return i&&O(t,e,n),r},"bpmn:SubProcess":function(e,t,n={}){return X(e,t,n=Kn(t)?Mi(n,["fill","stroke","width","height"]):Mi(n,["fill","stroke"]))},"bpmn:Task":function(e,t,n={}){return Y(e,t,n=Mi(n,["fill","stroke"]))},"bpmn:TextAnnotation":function(e,t,n={}){n=Mi(n,["fill","stroke","width","height"]);var{width:r,height:o}=_i(t,n),a=f(e,r,o,0,0,{fill:"none",stroke:"none"});return v(e,i.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:r,containerHeight:o,position:{mx:0,my:0}}),{stroke:bi(t,c,n.stroke)}),z(e,Pn(t).get("text")||"",{align:"left-top",box:_i(t,n),padding:7,style:{fill:xi(t,l,c,n.stroke)}}),a},"bpmn:Transaction":function(e,t,i={}){i=Kn(t)?Mi(i,["fill","stroke","width","height"]):Mi(i,["fill","stroke"]);var r=X(e,t,{strokeWidth:1.5,...i}),o=n.style(["no-fill","no-events"],{stroke:bi(t,c,i.stroke),strokeWidth:1.5});return Kn(t)||(i={}),f(e,wi(t,i),Ei(t,i),7,3,o),r},"bpmn:UserTask":function(e,t,n={}){var r=Y(e,t,n=Mi(n,["fill","stroke"]));return v(e,i.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:15,y:12}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:.5}),v(e,i.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:15,y:12}}),{fill:vi(t,s,n.fill),stroke:bi(t,c,n.stroke),strokeWidth:.5}),v(e,i.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:15,y:12}}),{fill:bi(t,c,n.stroke),stroke:bi(t,c,n.stroke),strokeWidth:.5}),r},label:function(e,t,n={}){return function(e,t,n={}){var i={width:90,height:30,x:t.width/2+t.x,y:t.height/2+t.y};return z(e,si(t),{box:i,fitBox:!0,style:ee({},o.getExternalStyle(),{fill:xi(t,l,c,n.stroke)})})}(e,t,n)}};this._drawPath=v,this._renderer=x}function Mi(e,t=[]){return t.reduce(((t,n)=>(e[n]&&(t[n]=e[n]),t)),{})}x(Ri,qn),Ri.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],Ri.prototype.canRender=function(e){return kn(e,"bpmn:BaseElement")},Ri.prototype.drawShape=function(e,t,n={}){var{type:i}=t;return this._renderer(i)(e,t,n)},Ri.prototype.drawConnection=function(e,t,n={}){var{type:i}=t;return this._renderer(i)(e,t,n)},Ri.prototype.getShapePath=function(e){return kn(e,"bpmn:Event")?(n=(t=e).x+t.width/2,i=t.y+t.height/2,r=t.width/2,ci([["M",n,i],["m",0,-r],["a",r,r,0,1,1,0,2*r],["a",r,r,0,1,1,0,-2*r],["z"]])):kn(e,"bpmn:Activity")?function(e,t){var n=e.x,i=e.y,r=e.width,o=e.height;return ci([["M",n+t,i],["l",r-2*t,0],["a",t,t,0,0,1,t,t],["l",0,o-2*t],["a",t,t,0,0,1,-t,t],["l",2*t-r,0],["a",t,t,0,0,1,-t,-t],["l",0,2*t-o],["a",t,t,0,0,1,t,-t],["z"]])}(e,10):kn(e,"bpmn:Gateway")?function(e){var t=e.width/2,n=e.height/2;return ci([["M",e.x+t,e.y],["l",t,n],["l",-t,n],["l",-t,-n],["z"]])}(e):function(e){var t=e.x,n=e.y,i=e.width;return ci([["M",t,n],["l",i,0],["l",0,e.height],["l",-i,0],["z"]])}(e);var t,n,i,r};var Ti=0,Di={width:150,height:50};function Bi(e,t){var n;t.textContent=e;try{var i,r=""===e;return t.textContent=r?"dummy":e,i={width:(n=t.getBBox()).width+2*n.x,height:n.height},r&&(i.width=0),i}catch(o){return{width:0,height:0}}}function Ni(e,t,n){for(var i,r=e.shift(),o=r;;){if((i=Bi(o,n)).width=o?i.width:0," "===o||""===o||i.width1)for(;n=i.shift();){if(!(n.length+oe?t.width:e}),0),m=o.top;"middle"===r.vertical&&(m+=(n.height-d)/2),m-=(s||l[0].height)/4;var f=qe("text");return Ie(f,i),j(l,(function(e){var t;switch(m+=s||e.height,r.horizontal){case"left":t=o.left;break;case"right":t=(a?h:p)-o.right-e.width;break;default:t=Math.max(((a?h:p)-e.width)/2+o.left,0)}var n=qe("tspan");Ie(n,{x:t,y:m}),n.textContent=e.text,Ne(f,n)})),nt(u),{dimensions:{width:h,height:d},element:f}};function $i(e){var t=ee({fontFamily:"Arial, sans-serif",fontSize:12,fontWeight:"normal",lineHeight:1.2},e&&e.defaultStyle||{}),n=parseInt(t.fontSize,10)-1,i=ee({},t,{fontSize:n},e&&e.externalStyle||{}),r=new Ii({style:t});this.getExternalLabelBounds=function(e,t){var n=r.getDimensions(t,{box:{width:90,height:30},style:i});return{x:Math.round(e.x+e.width/2-n.width/2),y:Math.round(e.y),width:Math.ceil(n.width),height:Math.ceil(n.height)}},this.getTextAnnotationBounds=function(e,n){var i=r.getDimensions(n,{box:e,style:t,align:"left-top",padding:5});return{x:e.x,y:e.y,width:e.width,height:Math.max(30,Math.round(i.height))}},this.createText=function(e,t){return r.createText(e,t||{})},this.getDefaultStyle=function(){return t},this.getExternalStyle=function(){return i}}$i.$inject=["config.textRenderer"];var zi=/\{([^{}]+)\}/g,Fi=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;const Hi={__init__:["bpmnRenderer"],bpmnRenderer:["type",Ri],textRenderer:["type",$i],pathMap:["type",function(){this.pathMap={EVENT_MESSAGE:{d:"m {mx},{my} l 0,{e.y1} l {e.x1},0 l 0,-{e.y1} z l {e.x0},{e.y0} l {e.x0},-{e.y0}",height:36,width:36,heightElements:[6,14],widthElements:[10.5,21]},EVENT_SIGNAL:{d:"M {mx},{my} l {e.x0},{e.y0} l -{e.x1},0 Z",height:36,width:36,heightElements:[18],widthElements:[10,20]},EVENT_ESCALATION:{d:"M {mx},{my} l {e.x0},{e.y0} l -{e.x0},-{e.y1} l -{e.x0},{e.y1} Z",height:36,width:36,heightElements:[20,7],widthElements:[8]},EVENT_CONDITIONAL:{d:"M {e.x0},{e.y0} l {e.x1},0 l 0,{e.y2} l -{e.x1},0 Z M {e.x2},{e.y3} l {e.x0},0 M {e.x2},{e.y4} l {e.x0},0 M {e.x2},{e.y5} l {e.x0},0 M {e.x2},{e.y6} l {e.x0},0 M {e.x2},{e.y7} l {e.x0},0 M {e.x2},{e.y8} l {e.x0},0 ",height:36,width:36,heightElements:[8.5,14.5,18,11.5,14.5,17.5,20.5,23.5,26.5],widthElements:[10.5,14.5,12.5]},EVENT_LINK:{d:"m {mx},{my} 0,{e.y0} -{e.x1},0 0,{e.y1} {e.x1},0 0,{e.y0} {e.x0},-{e.y2} -{e.x0},-{e.y2} z",height:36,width:36,heightElements:[4.4375,6.75,7.8125],widthElements:[9.84375,13.5]},EVENT_ERROR:{d:"m {mx},{my} {e.x0},-{e.y0} {e.x1},-{e.y1} {e.x2},{e.y2} {e.x3},-{e.y3} -{e.x4},{e.y4} -{e.x5},-{e.y5} z",height:36,width:36,heightElements:[.023,8.737,8.151,16.564,10.591,8.714],widthElements:[.085,6.672,6.97,4.273,5.337,6.636]},EVENT_CANCEL_45:{d:"m {mx},{my} -{e.x1},0 0,{e.x0} {e.x1},0 0,{e.y1} {e.x0},0 0,-{e.y1} {e.x1},0 0,-{e.y0} -{e.x1},0 0,-{e.y1} -{e.x0},0 z",height:36,width:36,heightElements:[4.75,8.5],widthElements:[4.75,8.5]},EVENT_COMPENSATION:{d:"m {mx},{my} {e.x0},-{e.y0} 0,{e.y1} z m {e.x1},-{e.y2} {e.x2},-{e.y3} 0,{e.y1} -{e.x2},-{e.y3} z",height:36,width:36,heightElements:[6.5,13,.4,6.1],widthElements:[9,9.3,8.7]},EVENT_TIMER_WH:{d:"M {mx},{my} l {e.x0},-{e.y0} m -{e.x0},{e.y0} l {e.x1},{e.y1} ",height:36,width:36,heightElements:[10,2],widthElements:[3,7]},EVENT_TIMER_LINE:{d:"M {mx},{my} m {e.x0},{e.y0} l -{e.x1},{e.y1} ",height:36,width:36,heightElements:[10,3],widthElements:[0,0]},EVENT_MULTIPLE:{d:"m {mx},{my} {e.x1},-{e.y0} {e.x1},{e.y0} -{e.x0},{e.y1} -{e.x2},0 z",height:36,width:36,heightElements:[6.28099,12.56199],widthElements:[3.1405,9.42149,12.56198]},EVENT_PARALLEL_MULTIPLE:{d:"m {mx},{my} {e.x0},0 0,{e.y1} {e.x1},0 0,{e.y0} -{e.x1},0 0,{e.y1} -{e.x0},0 0,-{e.y1} -{e.x1},0 0,-{e.y0} {e.x1},0 z",height:36,width:36,heightElements:[2.56228,7.68683],widthElements:[2.56228,7.68683]},GATEWAY_EXCLUSIVE:{d:"m {mx},{my} {e.x0},{e.y0} {e.x1},{e.y0} {e.x2},0 {e.x4},{e.y2} {e.x4},{e.y1} {e.x2},0 {e.x1},{e.y3} {e.x0},{e.y3} {e.x3},0 {e.x5},{e.y1} {e.x5},{e.y2} {e.x3},0 z",height:17.5,width:17.5,heightElements:[8.5,6.5312,-6.5312,-8.5],widthElements:[6.5,-6.5,3,-3,5,-5]},GATEWAY_PARALLEL:{d:"m {mx},{my} 0,{e.y1} -{e.x1},0 0,{e.y0} {e.x1},0 0,{e.y1} {e.x0},0 0,-{e.y1} {e.x1},0 0,-{e.y0} -{e.x1},0 0,-{e.y1} -{e.x0},0 z",height:30,width:30,heightElements:[5,12.5],widthElements:[5,12.5]},GATEWAY_EVENT_BASED:{d:"m {mx},{my} {e.x0},{e.y0} {e.x0},{e.y1} {e.x1},{e.y2} {e.x2},0 z",height:11,width:11,heightElements:[-6,6,12,-12],widthElements:[9,-3,-12]},GATEWAY_COMPLEX:{d:"m {mx},{my} 0,{e.y0} -{e.x0},-{e.y1} -{e.x1},{e.y2} {e.x0},{e.y1} -{e.x2},0 0,{e.y3} {e.x2},0 -{e.x0},{e.y1} l {e.x1},{e.y2} {e.x0},-{e.y1} 0,{e.y0} {e.x3},0 0,-{e.y0} {e.x0},{e.y1} {e.x1},-{e.y2} -{e.x0},-{e.y1} {e.x2},0 0,-{e.y3} -{e.x2},0 {e.x0},-{e.y1} -{e.x1},-{e.y2} -{e.x0},{e.y1} 0,-{e.y0} -{e.x3},0 z",height:17.125,width:17.125,heightElements:[4.875,3.4375,2.125,3],widthElements:[3.4375,2.125,4.875,3]},DATA_OBJECT_PATH:{d:"m 0,0 {e.x1},0 {e.x0},{e.y0} 0,{e.y1} -{e.x2},0 0,-{e.y2} {e.x1},0 0,{e.y0} {e.x0},0",height:61,width:51,heightElements:[10,50,60],widthElements:[10,40,50,60]},DATA_OBJECT_COLLECTION_PATH:{d:"m{mx},{my} m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10",height:10,width:10,heightElements:[],widthElements:[]},DATA_ARROW:{d:"m 5,9 9,0 0,-3 5,5 -5,5 0,-3 -9,0 z",height:61,width:51,heightElements:[],widthElements:[]},DATA_STORE:{d:"m {mx},{my} l 0,{e.y2} c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0 l 0,-{e.y2} c -{e.x0},-{e.y1} -{e.x1},-{e.y1} -{e.x2},0c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0 m -{e.x2},{e.y0}c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0m -{e.x2},{e.y0}c {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0",height:61,width:61,heightElements:[7,10,45],widthElements:[2,58,60]},TEXT_ANNOTATION:{d:"m {mx}, {my} m 10,0 l -10,0 l 0,{e.y0} l 10,0",height:30,width:10,heightElements:[30],widthElements:[10]},MARKER_SUB_PROCESS:{d:"m{mx},{my} m 7,2 l 0,10 m -5,-5 l 10,0",height:10,width:10,heightElements:[],widthElements:[]},MARKER_PARALLEL:{d:"m{mx},{my} m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10",height:10,width:10,heightElements:[],widthElements:[]},MARKER_SEQUENTIAL:{d:"m{mx},{my} m 0,3 l 10,0 m -10,3 l 10,0 m -10,3 l 10,0",height:10,width:10,heightElements:[],widthElements:[]},MARKER_COMPENSATION:{d:"m {mx},{my} 7,-5 0,10 z m 7.1,-0.3 6.9,-4.7 0,10 -6.9,-4.7 z",height:10,width:21,heightElements:[],widthElements:[]},MARKER_LOOP:{d:"m {mx},{my} c 3.526979,0 6.386161,-2.829858 6.386161,-6.320661 0,-3.490806 -2.859182,-6.320661 -6.386161,-6.320661 -3.526978,0 -6.38616,2.829855 -6.38616,6.320661 0,1.745402 0.714797,3.325567 1.870463,4.469381 0.577834,0.571908 1.265885,1.034728 2.029916,1.35457 l -0.718163,-3.909793 m 0.718163,3.909793 -3.885211,0.802902",height:13.9,width:13.7,heightElements:[],widthElements:[]},MARKER_ADHOC:{d:"m {mx},{my} m 0.84461,2.64411 c 1.05533,-1.23780996 2.64337,-2.07882 4.29653,-1.97997996 2.05163,0.0805 3.85579,1.15803 5.76082,1.79107 1.06385,0.34139996 2.24454,0.1438 3.18759,-0.43767 0.61743,-0.33642 1.2775,-0.64078 1.7542,-1.17511 0,0.56023 0,1.12046 0,1.6807 -0.98706,0.96237996 -2.29792,1.62393996 -3.6918,1.66181996 -1.24459,0.0927 -2.46671,-0.2491 -3.59505,-0.74812 -1.35789,-0.55965 -2.75133,-1.33436996 -4.27027,-1.18121996 -1.37741,0.14601 -2.41842,1.13685996 -3.44288,1.96782996 z",height:4,width:15,heightElements:[],widthElements:[]},TASK_TYPE_SEND:{d:"m {mx},{my} l 0,{e.y1} l {e.x1},0 l 0,-{e.y1} z l {e.x0},{e.y0} l {e.x0},-{e.y0}",height:14,width:21,heightElements:[6,14],widthElements:[10.5,21]},TASK_TYPE_SCRIPT:{d:"m {mx},{my} c 9.966553,-6.27276 -8.000926,-7.91932 2.968968,-14.938 l -8.802728,0 c -10.969894,7.01868 6.997585,8.66524 -2.968967,14.938 z m -7,-12 l 5,0 m -4.5,3 l 4.5,0 m -3,3 l 5,0m -4,3 l 5,0",height:15,width:12.6,heightElements:[6,14],widthElements:[10.5,21]},TASK_TYPE_USER_1:{d:"m {mx},{my} c 0.909,-0.845 1.594,-2.049 1.594,-3.385 0,-2.554 -1.805,-4.62199999 -4.357,-4.62199999 -2.55199998,0 -4.28799998,2.06799999 -4.28799998,4.62199999 0,1.348 0.974,2.562 1.89599998,3.405 -0.52899998,0.187 -5.669,2.097 -5.794,4.7560005 v 6.718 h 17 v -6.718 c 0,-2.2980005 -5.5279996,-4.5950005 -6.0509996,-4.7760005 zm -8,6 l 0,5.5 m 11,0 l 0,-5"},TASK_TYPE_USER_2:{d:"m {mx},{my} m 2.162,1.009 c 0,2.4470005 -2.158,4.4310005 -4.821,4.4310005 -2.66499998,0 -4.822,-1.981 -4.822,-4.4310005 "},TASK_TYPE_USER_3:{d:"m {mx},{my} m -6.9,-3.80 c 0,0 2.25099998,-2.358 4.27399998,-1.177 2.024,1.181 4.221,1.537 4.124,0.965 -0.098,-0.57 -0.117,-3.79099999 -4.191,-4.13599999 -3.57499998,0.001 -4.20799998,3.36699999 -4.20699998,4.34799999 z"},TASK_TYPE_MANUAL:{d:"m {mx},{my} c 0.234,-0.01 5.604,0.008 8.029,0.004 0.808,0 1.271,-0.172 1.417,-0.752 0.227,-0.898 -0.334,-1.314 -1.338,-1.316 -2.467,-0.01 -7.886,-0.004 -8.108,-0.004 -0.014,-0.079 0.016,-0.533 0,-0.61 0.195,-0.042 8.507,0.006 9.616,0.002 0.877,-0.007 1.35,-0.438 1.353,-1.208 0.003,-0.768 -0.479,-1.09 -1.35,-1.091 -2.968,-0.002 -9.619,-0.013 -9.619,-0.013 v -0.591 c 0,0 5.052,-0.016 7.225,-0.016 0.888,-0.002 1.354,-0.416 1.351,-1.193 -0.006,-0.761 -0.492,-1.196 -1.361,-1.196 -3.473,-0.005 -10.86,-0.003 -11.0829995,-0.003 -0.022,-0.047 -0.045,-0.094 -0.069,-0.139 0.3939995,-0.319 2.0409995,-1.626 2.4149995,-2.017 0.469,-0.4870005 0.519,-1.1650005 0.162,-1.6040005 -0.414,-0.511 -0.973,-0.5 -1.48,-0.236 -1.4609995,0.764 -6.5999995,3.6430005 -7.7329995,4.2710005 -0.9,0.499 -1.516,1.253 -1.882,2.19 -0.37000002,0.95 -0.17,2.01 -0.166,2.979 0.004,0.718 -0.27300002,1.345 -0.055,2.063 0.629,2.087 2.425,3.312 4.859,3.318 4.6179995,0.014 9.2379995,-0.139 13.8569995,-0.158 0.755,-0.004 1.171,-0.301 1.182,-1.033 0.012,-0.754 -0.423,-0.969 -1.183,-0.973 -1.778,-0.01 -5.824,-0.004 -6.04,-0.004 10e-4,-0.084 0.003,-0.586 10e-4,-0.67 z"},TASK_TYPE_INSTANTIATING_SEND:{d:"m {mx},{my} l 0,8.4 l 12.6,0 l 0,-8.4 z l 6.3,3.6 l 6.3,-3.6"},TASK_TYPE_SERVICE:{d:"m {mx},{my} v -1.71335 c 0.352326,-0.0705 0.703932,-0.17838 1.047628,-0.32133 0.344416,-0.14465 0.665822,-0.32133 0.966377,-0.52145 l 1.19431,1.18005 1.567487,-1.57688 -1.195028,-1.18014 c 0.403376,-0.61394 0.683079,-1.29908 0.825447,-2.01824 l 1.622133,-0.01 v -2.2196 l -1.636514,0.01 c -0.07333,-0.35153 -0.178319,-0.70024 -0.323564,-1.04372 -0.145244,-0.34406 -0.321407,-0.6644 -0.522735,-0.96217 l 1.131035,-1.13631 -1.583305,-1.56293 -1.129598,1.13589 c -0.614052,-0.40108 -1.302883,-0.68093 -2.022633,-0.82247 l 0.0093,-1.61852 h -2.241173 l 0.0042,1.63124 c -0.353763,0.0736 -0.705369,0.17977 -1.049785,0.32371 -0.344415,0.14437 -0.665102,0.32092 -0.9635006,0.52046 l -1.1698628,-1.15823 -1.5667691,1.5792 1.1684265,1.15669 c -0.4026573,0.61283 -0.68308,1.29797 -0.8247287,2.01713 l -1.6588041,0.003 v 2.22174 l 1.6724648,-0.006 c 0.073327,0.35077 0.1797598,0.70243 0.3242851,1.04472 0.1452428,0.34448 0.3214064,0.6644 0.5227339,0.96066 l -1.1993431,1.19723 1.5840256,1.56011 1.1964668,-1.19348 c 0.6140517,0.40346 1.3028827,0.68232 2.0233517,0.82331 l 7.19e-4,1.69892 h 2.226848 z m 0.221462,-3.9957 c -1.788948,0.7502 -3.8576,-0.0928 -4.6097055,-1.87438 -0.7521065,-1.78321 0.090598,-3.84627 1.8802645,-4.59604 1.78823,-0.74936 3.856881,0.0929 4.608987,1.87437 0.752106,1.78165 -0.0906,3.84612 -1.879546,4.59605 z"},TASK_TYPE_SERVICE_FILL:{d:"m {mx},{my} c -1.788948,0.7502 -3.8576,-0.0928 -4.6097055,-1.87438 -0.7521065,-1.78321 0.090598,-3.84627 1.8802645,-4.59604 1.78823,-0.74936 3.856881,0.0929 4.608987,1.87437 0.752106,1.78165 -0.0906,3.84612 -1.879546,4.59605 z"},TASK_TYPE_BUSINESS_RULE_HEADER:{d:"m {mx},{my} 0,4 20,0 0,-4 z"},TASK_TYPE_BUSINESS_RULE_MAIN:{d:"m {mx},{my} 0,12 20,0 0,-12 zm 0,8 l 20,0 m -13,-4 l 0,8"},MESSAGE_FLOW_MARKER:{d:"m {mx},{my} m -10.5 ,-7 l 0,14 l 21,0 l 0,-14 z l 10.5,6 l 10.5,-6"}},this.getRawPath=function(e){return this.pathMap[e].d},this.getScaledPath=function(e,t){var n,i,r=this.pathMap[e];t.abspos?(n=t.abspos.x,i=t.abspos.y):(n=t.containerWidth*t.position.mx,i=t.containerHeight*t.position.my);var o,a,s={};if(t.position){for(var c=t.containerHeight/r.height*t.yScaleFactor,l=t.containerWidth/r.width*t.xScaleFactor,p=0;pt.x-n&&e.y>t.y-n&&e.x=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function yr(e,t,n,i,r){return e*(e*(-3*t+9*n-9*i+3*r)+6*t-12*n+6*i)-3*t+3*n}function vr(e,t,n,i,r,o,a,s,c){null==c&&(c=1);for(var l=(c=c>1?1:c<0?0:c)/2,p=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],u=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,h=0;h<12;h++){var m=l*p[h]+l,f=yr(m,e,n,r,a),g=yr(m,t,i,o,s),y=f*f+g*g;d+=u[h]*Ji.sqrt(y)}return l*d}function br(e,t,n,i,r,o,a,s){if(!(nr(e,n)nr(r,a)||nr(t,i)nr(o,s))){var c=(e*i-t*n)*(o-s)-(t-i)*(r*s-o*a),l=(e-n)*(o-s)-(t-i)*(r-a);if(l){var p=xr(((e*i-t*n)*(r-a)-(e-n)*(r*s-o*a))/l),u=xr(c/l),d=+p.toFixed(2),h=+u.toFixed(2);if(!(d<+tr(e,n).toFixed(2)||d>+nr(e,n).toFixed(2)||d<+tr(r,a).toFixed(2)||d>+nr(r,a).toFixed(2)||h<+tr(t,i).toFixed(2)||h>+nr(t,i).toFixed(2)||h<+tr(o,s).toFixed(2)||h>+nr(o,s).toFixed(2)))return{x:p,y:u}}}}function xr(e){return Math.round(1e11*e)/1e11}function _r(e,t,n){if(!function(e,t){return e=ur(e),gr(t=ur(t),e.x,e.y)||gr(t,e.x2,e.y)||gr(t,e.x,e.y2)||gr(t,e.x2,e.y2)||gr(e,t.x,t.y)||gr(e,t.x2,t.y)||gr(e,t.x,t.y2)||gr(e,t.x2,t.y2)||(e.xt.x||t.xe.x)&&(e.yt.y||t.ye.y)}(fr(e),fr(t)))return n?0:[];for(var i=vr(...e),r=vr(...t),o=Sr(e)?1:~~(i/5)||1,a=Sr(t)?1:~~(r/5)||1,s=[],c=[],l={},p=n?0:[],u=0;u=0&&w<=1&&E>=0&&E<=1&&(n?p++:p.push({x:_.x,y:_.y,t1:w,t2:E}))}}return p}function wr(e,t,n){e=Pr(e),t=Pr(t);for(var i,r,o,a,s,c,l,p,u,d,h=n?0:[],m=0,f=e.length;m2&&(i.push([t,...o.splice(0,2)]),a="l",t="m"==t?"l":"L");o.length>=n[a]&&(i.push([t,...o.splice(0,n[a])]),n[a]););})),i.toString=pr.toString,t.arr=lr(i),i}(e)),!e||!e.length)return[["M",0,0]];var n,i=[],r=0,o=0,a=0,s=0,c=0;"M"==e[0][0]&&(a=r=+e[0][1],s=o=+e[0][2],c++,i[0]=["M",r,o]);for(var l,p,u=c,d=e.length;u=1e3&&delete i[r.shift()],r.push(n),i[n]=e(...arguments),i[n])}}((function(e,t,n){return{x:e*Ji.cos(n)-t*Ji.sin(n),y:e*Ji.sin(n)+t*Ji.cos(n)}}));if(l)E=l[0],S=l[1],_=l[2],w=l[3];else{e=(p=m(e,t,-d)).x,t=p.y;var f=(e-(s=(p=m(s,c,-d)).x))/2,g=(t-(c=p.y))/2,y=f*f/(n*n)+g*g/(i*i);y>1&&(n*=y=Ji.sqrt(y),i*=y);var v=n*n,b=i*i,x=(o==a?-1:1)*Ji.sqrt(rr((v*b-v*g*g-b*f*f)/(v*g*g+b*f*f))),_=x*n*g/i+(e+s)/2,w=x*-i*f/n+(t+c)/2,E=Ji.asin(((t-w)/i).toFixed(9)),S=Ji.asin(((c-w)/i).toFixed(9));(E=e<_?er-E:E)<0&&(E=2*er+E),(S=s<_?er-S:S)<0&&(S=2*er+S),a&&E>S&&(E-=2*er),!a&&S>E&&(S-=2*er)}var C=S-E;if(rr(C)>u){var k=S,A=s,P=c;S=E+u*(a&&S>E?1:-1),h=Ar(s=_+n*Ji.cos(S),c=w+i*Ji.sin(S),n,i,r,0,a,A,P,[S,k,_,w])}C=S-E;var R=Ji.cos(E),M=Ji.sin(E),T=Ji.cos(S),D=Ji.sin(S),B=Ji.tan(C/4),N=4/3*n*B,O=4/3*i*B,j=[e,t],L=[e+N*M,t-O*R],I=[s+N*D,c-O*T],$=[s,c];if(L[0]=2*j[0]-L[0],L[1]=2*j[1]-L[1],l)return[L,I,$].concat(h);for(var z=[],F=0,H=(h=[L,I,$].concat(h).join().split(",")).length;F7){e[t].shift();for(var i=e[t];i.length;)a[t]="A",e.splice(t++,0,["C",...i.splice(0,6)]);e.splice(t,1),p=n.length}},a=[],s="",c="",l=0,p=n.length;l=r.right,s=i.top-n.y>=r.bottom,c=o?"top":s?"bottom":null,l=i.right+n.x<=r.left?"left":a?"right":null;return l&&c?c+"-"+l:l||c||"intersect"}function jr(e,t,n){var i=wr(e,t);return 1===i.length||2===i.length&&Gi(i[0],i[1])<1?Mr(i[0]):i.length>1?Mr((i=q(i,(function(e){var t=Math.floor(100*e.t2)||1;return t=((t=100-t)<10?"0":"")+t,e.segment2+"#"+t})))[n?0:i.length-1]):null}function Lr(e,t,n){return ee({id:e.id,type:e.$type,businessObject:e,di:t},n)}function Ir(e,t,n){var i=e.waypoint;return!i||i.length<2?[Nr(t),Nr(n)]:i.map((function(e){return{x:e.x,y:e.y}}))}function $r(e,t,n){return new Error(`element ${_n(t)} referenced by ${_n(e)}#${n} not yet drawn`)}function zr(e,t,n,i,r){this._eventBus=e,this._canvas=t,this._elementFactory=n,this._elementRegistry=i,this._textRenderer=r}zr.$inject=["eventBus","canvas","elementFactory","elementRegistry","textRenderer"],zr.prototype.add=function(e,t,n){var i,r,o,a,s,c,l;if(kn(t,"bpmndi:BPMNPlane")){var p=kn(e,"bpmn:SubProcess")?{id:e.id+"_plane"}:{};i=this._elementFactory.createRoot(Lr(e,t,p)),this._canvas.addRootElement(i)}else if(kn(t,"bpmndi:BPMNShape")){var u=!Kn(e,t),d=function(e){return kn(e,"bpmn:Group")}(e);r=n&&(n.hidden||n.collapsed);var h=t.bounds;i=this._elementFactory.createShape(Lr(e,t,{collapsed:u,hidden:r,x:Math.round(h.x),y:Math.round(h.y),width:Math.round(h.width),height:Math.round(h.height),isFrame:d})),kn(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,i),kn(e,"bpmn:Lane")&&(o=0),kn(e,"bpmn:DataStoreReference")&&(a=n,s=Nr(h),c=s.x,l=s.y,c>=a.x&&c<=a.x+a.width&&l>=a.y&&l<=a.y+a.height||(n=this._canvas.findRoot(n))),this._canvas.addShape(i,n,o)}else{if(!kn(t,"bpmndi:BPMNEdge"))throw new Error(`unknown di ${_n(t)} for element ${_n(e)}`);var m=this._getSource(e),f=this._getTarget(e);r=n&&(n.hidden||n.collapsed),i=this._elementFactory.createConnection(Lr(e,t,{hidden:r,source:m,target:f,waypoints:Ir(t,m,f)})),kn(e,"bpmn:DataAssociation")&&(n=this._canvas.findRoot(n)),this._canvas.addConnection(i,n,o)}return ni(e)&&si(i)&&this.addLabel(e,t,i),this._eventBus.fire("bpmnElement.added",{element:i}),i},zr.prototype._attachBoundary=function(e,t){var n=e.attachedToRef;if(!n)throw new Error(`missing ${_n(e)}#attachedToRef`);var i=this._elementRegistry.get(n.id),r=i&&i.attachers;if(!i)throw $r(e,n,"attachedToRef");t.host=i,r||(i.attachers=r=[]),-1===r.indexOf(t)&&r.push(t)},zr.prototype.addLabel=function(e,t,n){var i,r,o;return i=function(e,t){var n,i,r,o=e.label;return o&&o.bounds?(r=o.bounds,i={width:Math.max(ei.width,r.width),height:r.height},n={x:r.x+r.width/2,y:r.y+r.height/2}):(n=oi(t),i=ei),ee({x:n.x-i.width/2,y:n.y-i.height/2},i)}(t,n),(r=si(n))&&(i=this._textRenderer.getExternalLabelBounds(i,r)),o=this._elementFactory.createLabel(Lr(e,t,{id:e.id+"_label",labelTarget:n,type:"label",hidden:n.hidden||!si(n),x:Math.round(i.x),y:Math.round(i.y),width:Math.round(i.width),height:Math.round(i.height)})),this._canvas.addShape(o,n.parent)},zr.prototype._getConnectedElement=function(e,t){var n,i,r=e.$type;if(i=e[t+"Ref"],"source"===t&&"bpmn:DataInputAssociation"===r&&(i=i&&i[0]),("source"===t&&"bpmn:DataOutputAssociation"===r||"target"===t&&"bpmn:DataInputAssociation"===r)&&(i=e.$parent),n=i&&this._getElement(i))return n;throw i?$r(e,i,t+"Ref"):new Error(`${_n(e)}#${t} Ref not specified`)},zr.prototype._getSource=function(e){return this._getConnectedElement(e,"source")},zr.prototype._getTarget=function(e){return this._getConnectedElement(e,"target")},zr.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};const Fr={__depends__:[Hi,{__depends__:[Vi],bpmnImporter:["type",zr]}]};function Hr(e){return O(e,(function(t){return!B(e,(function(e){return e!==t&&Vr(t,e)}))}))}function Vr(e,t){if(t){if(e===t)return t;if(e.parent)return Vr(e.parent,t)}}function Gr(e,t,n){var i=!n||-1===e.indexOf(t);return i&&e.push(t),i}function Wr(e,t,n){n=n||0,A(e)||(e=[e]),j(e,(function(e,i){var r=t(e,i,n);A(r)&&r.length&&Wr(r,t,n+1)}))}function Ur(e,t){return function(e,t){var n=[],i=[];return Wr(e,(function(e,r,o){Gr(n,e,t);var a=e.children;if(a&&Gr(i,a,t))return a})),n}(e,!t)}function qr(e,t){var n,i,r,o;return t=!!t,A(e)||(e=[e]),j(e,(function(e){var a=e;e.waypoints&&!t&&(a=qr(e.waypoints,!0));var s=a.x,c=a.y,l=a.height||0,p=a.width||0;(sr||void 0===r)&&(r=s+p),(c+l>o||void 0===o)&&(o=c+l)})),{x:n,y:i,height:o-i,width:r-n}}function Kr(e,t){return ee({},e||{},t||{})}function Xr(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(1e9*Math.random())+"-"}Xr.prototype.next=function(){return this._prefix+ ++this._counter};var Yr=new Xr("ov");function Zr(e,t,n,i){var r,o;this._eventBus=t,this._canvas=n,this._elementRegistry=i,this._ids=Yr,this._overlayDefaults=ee({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=(r=n.getContainer(),pe(o=Re('
    '),{position:"absolute",width:0,height:0}),r.insertBefore(o,r.firstChild),o),this._init()}function Qr(e,t,n){pe(e,{left:t+"px",top:n+"px"})}function Jr(e,t){e.style.display=!1===t?"none":""}function eo(e,t){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach((function(n){e.style[n+"transform"]=t}))}Zr.$inject=["config.overlays","eventBus","canvas","elementRegistry"],Zr.prototype.get=function(e){if(T(e)&&(e={id:e}),T(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var t=this._getOverlayContainer(e.element,!0);return t?e.type?O(t.overlays,K({type:e.type})):t.overlays.slice():[]}return e.type?O(this._overlays,K({type:e.type})):e.id?this._overlays[e.id]:null},Zr.prototype.add=function(e,t,n){if(P(t)&&(n=t,t=null),e.id||(e=this._elementRegistry.get(e)),!n.position)throw new Error("must specifiy overlay position");if(!n.html)throw new Error("must specifiy overlay html");if(!e)throw new Error("invalid element specified");var i=this._ids.next();return n=ee({},this._overlayDefaults,n,{id:i,type:t,element:e,html:n.html}),this._addOverlay(n),i},Zr.prototype.remove=function(e){var t=this.get(e)||[];A(t)||(t=[t]);var n=this;j(t,(function(e){var t=n._getOverlayContainer(e.element,!0);if(e&&(Be(e.html),Be(e.htmlContainer),delete e.htmlContainer,delete e.element,delete n._overlays[e.id]),t){var i=t.overlays.indexOf(e);-1!==i&&t.overlays.splice(i,1)}}))},Zr.prototype.isShown=function(){return"none"!==this._overlayRoot.style.display},Zr.prototype.show=function(){Jr(this._overlayRoot)},Zr.prototype.hide=function(){Jr(this._overlayRoot,!1)},Zr.prototype.clear=function(){this._overlays={},this._overlayContainers=[],fe(this._overlayRoot)},Zr.prototype._updateOverlayContainer=function(e){var t=e.element,n=e.html,i=t.x,r=t.y;if(t.waypoints){var o=qr(t);i=o.x,r=o.y}Qr(n,i,r),ue(e.html,"data-container-id",t.id)},Zr.prototype._updateOverlay=function(e){var t,n,i=e.position,r=e.htmlContainer,o=e.element,a=i.left,s=i.top;void 0!==i.right&&(t=o.waypoints?qr(o).width:o.width,a=-1*i.right+t);void 0!==i.bottom&&(n=o.waypoints?qr(o).height:o.height,s=-1*i.bottom+n);Qr(r,a||0,s||0),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Zr.prototype._createOverlayContainer=function(e){var t=Re('
    ');pe(t,{position:"absolute"}),this._overlayRoot.appendChild(t);var n={html:t,element:e,overlays:[]};return this._updateOverlayContainer(n),this._overlayContainers.push(n),n},Zr.prototype._updateRoot=function(e){var t=e.scale||1,n="matrix("+[t,0,0,t,-1*e.x*t,-1*e.y*t].join(",")+")";eo(this._overlayRoot,n)},Zr.prototype._getOverlayContainer=function(e,t){var n=B(this._overlayContainers,(function(t){return t.element===e}));return n||t?n:this._createOverlayContainer(e)},Zr.prototype._addOverlay=function(e){var t,n,i=e.id,r=e.element,o=e.html;o.get&&o.constructor.prototype.jquery&&(o=o.get(0)),T(o)&&(o=Re(o)),n=this._getOverlayContainer(r),pe(t=Re('
    '),{position:"absolute"}),t.appendChild(o),e.type&&he(t).add("djs-overlay-"+e.type),Jr(t,this._canvas.findRoot(r)===this._canvas.getRootElement()),e.htmlContainer=t,n.overlays.push(e),n.html.appendChild(t),this._overlays[i]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Zr.prototype._updateOverlayVisibilty=function(e,t){var n=e.show,i=this._canvas.findRoot(e.element),r=n&&n.minZoom,o=n&&n.maxZoom,a=e.htmlContainer,s=!0;(i!==this._canvas.getRootElement()||n&&(C(r)&&r>t.scale||C(o)&&oi&&(r=(1/t.scale||1)*i)),C(r)&&(s="scale("+r+","+r+")"),eo(a,s)},Zr.prototype._updateOverlaysVisibilty=function(e){var t=this;j(this._overlays,(function(n){t._updateOverlayVisibilty(n,e)}))},Zr.prototype._init=function(){var e=this._eventBus,t=this;e.on("canvas.viewbox.changing",(function(e){t.hide()})),e.on("canvas.viewbox.changed",(function(e){var n;n=e.viewbox,t._updateRoot(n),t._updateOverlaysVisibilty(n),t.show()})),e.on(["shape.remove","connection.remove"],(function(e){var n=e.element;j(t.get({element:n}),(function(e){t.remove(e.id)}));var i=t._getOverlayContainer(n);if(i){Be(i.html);var r=t._overlayContainers.indexOf(i);-1!==r&&t._overlayContainers.splice(r,1)}})),e.on("element.changed",500,(function(e){var n=e.element,i=t._getOverlayContainer(n,!0);i&&(j(i.overlays,(function(e){t._updateOverlay(e)})),t._updateOverlayContainer(i))})),e.on("element.marker.update",(function(e){var n=t._getOverlayContainer(e.element,!0);n&&he(n.html)[e.add?"add":"remove"](e.marker)})),e.on("root.set",(function(){t._updateOverlaysVisibilty(t._canvas.viewbox())})),e.on("diagram.clear",this.clear,this)};const to={__init__:["overlays"],overlays:["type",Zr]};function no(e,t,n,i){e.on("element.changed",(function(i){var r=i.element;(r.parent||r===t.getRootElement())&&(i.gfx=n.getGraphics(r)),i.gfx&&e.fire(function(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}(r)+".changed",i)})),e.on("elements.changed",(function(t){var n=t.elements;n.forEach((function(t){e.fire("element.changed",{element:t})})),i.updateContainments(n)})),e.on("shape.changed",(function(e){i.update("shape",e.element,e.gfx)})),e.on("connection.changed",(function(e){i.update("connection",e.element,e.gfx)}))}no.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];const io={__init__:["changeSupport"],changeSupport:["type",no]};function ro(e){this._eventBus=e}function oo(e){return function(t,n,i,r,o){(M(t)||R(t))&&(o=r,r=i,i=n,n=t,t=null),this.on(t,e,n,i,r,o)}}function ao(e,t){t.invoke(ro,this),this.executed((function(t){var n=t.context;n.rootElement?e.setRootElement(n.rootElement):n.rootElement=e.getRootElement()})),this.revert((function(t){var n=t.context;n.rootElement&&e.setRootElement(n.rootElement)}))}ro.$inject=["eventBus"],ro.prototype.on=function(e,t,n,i,r,o){if((M(t)||R(t))&&(o=r,r=i,i=n,n=t,t=null),M(n)&&(o=r,r=i,i=n,n=1e3),P(r)&&(o=r,r=!1),!M(i))throw new Error("handlerFn must be a function");A(e)||(e=[e]);var a=this._eventBus;j(e,(function(e){var s=["commandStack",e,t].filter((function(e){return e})).join(".");a.on(s,n,r?function(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}(i,o):i,o)}))},ro.prototype.canExecute=oo("canExecute"),ro.prototype.preExecute=oo("preExecute"),ro.prototype.preExecuted=oo("preExecuted"),ro.prototype.execute=oo("execute"),ro.prototype.executed=oo("executed"),ro.prototype.postExecute=oo("postExecute"),ro.prototype.postExecuted=oo("postExecuted"),ro.prototype.revert=oo("revert"),ro.prototype.reverted=oo("reverted"),x(ao,ro),ao.$inject=["canvas","injector"];const so={__init__:["rootElementsBehavior"],rootElementsBehavior:["type",ao]};function co(e){return CSS.escape(e)}var lo={"&":"&","<":"<",">":">",'"':""","'":"'"};function po(e){return(e=""+e)&&e.replace(/[&<>"']/g,(function(e){return lo[e]}))}var uo="_plane";function ho(e){return function(e){return e.replace(new RegExp(uo+"$"),"")}(e.id)}function mo(e){var t=e.id;return kn(e,"bpmn:SubProcess")?yo(t):t}function fo(e){return yo(e)}function go(e){return kn(Rn(e),"bpmndi:BPMNPlane")}function yo(e){return e+uo}function vo(e,t,n){var i=Re('
      '),r=n.getContainer(),o=he(r);r.appendChild(i);var a=[];function s(e){e&&(a=function(e){for(var t=Pn(e),n=[],i=t;i;i=i.$parent)(kn(i,"bpmn:SubProcess")||kn(i,"bpmn:Process"))&&n.push(i);return n.reverse()}(e));var r=a.flatMap((function(e){var i=n.findRoot(mo(e))||n.findRoot(e.id);if(!i&&kn(e,"bpmn:Process")){var r=t.find((function(t){var n=Pn(t);return n&&n.get("processRef")===e}));i=r&&n.findRoot(r.id)}if(!i)return[];var o=po(e.name||e.id),a=Re('
    • '+o+"
    • ");return a.addEventListener("click",(function(){n.setRootElement(i)})),a}));i.innerHTML="";var s=r.length>1;o.toggle("bjs-breadcrumbs-shown",s),r.forEach((function(e){i.appendChild(e)}))}e.on("element.changed",(function(e){var t=Pn(e.element);B(a,(function(e){return e===t}))&&s()})),e.on("root.set",(function(e){s(e.element)}))}function bo(e,t){var n=null,i=new xo;e.on("root.set",(function(e){var r=e.element,o=t.viewbox(),a=i.get(r);if(i.set(n,{x:o.x,y:o.y,zoom:o.scale}),n=r,kn(r,"bpmn:SubProcess")||a){a=a||{x:0,y:0,zoom:1};var s=(o.x-a.x)*o.scale,c=(o.y-a.y)*o.scale;0===s&&0===c||t.scroll({dx:s,dy:c}),a.zoom!==o.scale&&t.zoom(a.zoom,{x:0,y:0})}})),e.on("diagram.clear",(function(){i.clear(),n=null}))}function xo(){this._entries=[],this.set=function(e,t){var n=!1;for(var i in this._entries)if(this._entries[i][0]===e){this._entries[i][1]=t,n=!0;break}n||this._entries.push([e,t])},this.get=function(e){for(var t in this._entries)if(this._entries[t][0]===e)return this._entries[t][1];return null},this.clear=function(){this._entries.length=0},this.remove=function(e){var t=-1;for(var n in this._entries)if(this._entries[n][0]===e){t=n;break}-1!==t&&this._entries.splice(t,1)}}vo.$inject=["eventBus","elementRegistry","canvas"],bo.$inject=["eventBus","canvas"];var _o=180,wo=160;function Eo(e,t){this._eventBus=e,this._moddle=t;var n=this;e.on("import.render.start",1500,(function(e,t){n._handleImport(t.definitions)}))}function So(e){return kn(e,"bpmndi:BPMNDiagram")?e:So(e.$parent)}Eo.prototype._handleImport=function(e){if(e.diagrams){var t=this;this._definitions=e,this._processToDiagramMap={},e.diagrams.forEach((function(e){e.plane&&e.plane.bpmnElement&&(t._processToDiagramMap[e.plane.bpmnElement.id]=e)})),e.diagrams.filter((e=>e.plane)).flatMap((e=>t._createNewDiagrams(e.plane))).forEach((function(e){t._movePlaneElementsToOrigin(e.plane)}))}},Eo.prototype._createNewDiagrams=function(e){var t=this,n=[],i=[];e.get("planeElement").forEach((function(t){var r=t.bpmnElement;if(r){var o=r.$parent;kn(r,"bpmn:SubProcess")&&!t.isExpanded&&n.push(r),function(e,t){var n=e.$parent;if(!kn(n,"bpmn:SubProcess")||n===t.bpmnElement)return!1;if(An(e,["bpmn:DataInputAssociation","bpmn:DataOutputAssociation"]))return!1;return!0}(r,e)&&i.push({diElement:t,parent:o})}}));var r=[];return n.forEach((function(e){if(!t._processToDiagramMap[e.id]){var n=t._createDiagram(e);t._processToDiagramMap[e.id]=n,r.push(n)}})),i.forEach((function(e){for(var i=e.diElement,r=e.parent;r&&-1===n.indexOf(r);)r=r.$parent;if(r){var o=t._processToDiagramMap[r.id];t._moveToDiPlane(i,o.plane)}})),r},Eo.prototype._movePlaneElementsToOrigin=function(e){var t=e.get("planeElement"),n=function(e){var t={top:1/0,right:-1/0,bottom:-1/0,left:1/0};return e.planeElement.forEach((function(e){if(e.bounds){var n=Tr(e.bounds);t.top=Math.min(n.top,t.top),t.left=Math.min(n.left,t.left)}})),Dr(t)}(e),i=n.x-_o,r=n.y-wo;t.forEach((function(e){e.waypoint?e.waypoint.forEach((function(e){e.x=e.x-i,e.y=e.y-r})):e.bounds&&(e.bounds.x=e.bounds.x-i,e.bounds.y=e.bounds.y-r)}))},Eo.prototype._moveToDiPlane=function(e,t){var n=So(e).plane.get("planeElement");n.splice(n.indexOf(e),1),t.get("planeElement").push(e)},Eo.prototype._createDiagram=function(e){var t=this._moddle.create("bpmndi:BPMNPlane",{bpmnElement:e}),n=this._moddle.create("bpmndi:BPMNDiagram",{plane:t});return t.$parent=n,t.bpmnElement=e,n.$parent=this._definitions,this._definitions.diagrams.push(n),n},Eo.$inject=["eventBus","moddle"];var Co=250;function ko(e,t,n,i,r){ro.call(this,t),this._canvas=e,this._eventBus=t,this._elementRegistry=n,this._overlays=i,this._translate=r;var o=this;this.executed("shape.toggleCollapse",Co,(function(e){var t=e.shape;o._canDrillDown(t)?o._addOverlay(t):o._removeOverlay(t)}),!0),this.reverted("shape.toggleCollapse",Co,(function(e){var t=e.shape;o._canDrillDown(t)?o._addOverlay(t):o._removeOverlay(t)}),!0),this.executed(["shape.create","shape.move","shape.delete"],Co,(function(e){var t=e.oldParent,n=e.newParent||e.parent,i=e.shape;o._canDrillDown(i)&&o._addOverlay(i),o._updateDrilldownOverlay(t),o._updateDrilldownOverlay(n),o._updateDrilldownOverlay(i)}),!0),this.reverted(["shape.create","shape.move","shape.delete"],Co,(function(e){var t=e.oldParent,n=e.newParent||e.parent,i=e.shape;o._canDrillDown(i)&&o._addOverlay(i),o._updateDrilldownOverlay(t),o._updateDrilldownOverlay(n),o._updateDrilldownOverlay(i)}),!0),t.on("import.render.complete",(function(){n.filter((function(e){return o._canDrillDown(e)})).map((function(e){o._addOverlay(e)}))}))}x(ko,ro),ko.prototype._updateDrilldownOverlay=function(e){var t=this._canvas;if(e){var n=t.findRoot(e);n&&this._updateOverlayVisibility(n)}},ko.prototype._canDrillDown=function(e){var t=this._canvas;return kn(e,"bpmn:SubProcess")&&t.findRoot(mo(e))},ko.prototype._updateOverlayVisibility=function(e){var t=this._overlays,n=Pn(e),i=t.get({element:n.id,type:"drilldown"})[0];if(i){var r=n&&n.get("flowElements")&&n.get("flowElements").length;he(i.html).toggle("bjs-drilldown-empty",!r)}},ko.prototype._addOverlay=function(e){var t=this._canvas,n=this._overlays,i=Pn(e);n.get({element:e,type:"drilldown"}).length&&this._removeOverlay(e);var r=Re(''),o=i.get("name")||i.get("id"),a=this._translate("Open {element}",{element:o});r.setAttribute("title",a),r.addEventListener("click",(function(){t.setRootElement(t.findRoot(mo(e)))})),n.add(e,"drilldown",{position:{bottom:-7,right:-8},html:r}),this._updateOverlayVisibility(e)},ko.prototype._removeOverlay=function(e){this._overlays.remove({element:e,type:"drilldown"})},ko.$inject=["canvas","eventBus","elementRegistry","overlays","translate"];const Ao={__depends__:[to,io,so],__init__:["drilldownBreadcrumbs","drilldownOverlayBehavior","drilldownCentering","subprocessCompatibility"],drilldownBreadcrumbs:["type",vo],drilldownCentering:["type",bo],drilldownOverlayBehavior:["type",ko],subprocessCompatibility:["type",Eo]};function Po(e,t){this._eventBus=e,this.offset=5;var n=t.cls("djs-outline",["no-fill"]),i=this;function r(e){var t=qe("rect");return Ie(t,ee({x:0,y:0,rx:4,width:100,height:100},n)),t}e.on(["shape.added","shape.changed"],500,(function(e){var t=e.element,n=e.gfx,o=Te(".djs-outline",n);o||Ne(n,o=i.getOutline(t)||r()),i.updateShapeOutline(o,t)})),e.on(["connection.added","connection.changed"],(function(e){var t=e.element,n=e.gfx,o=Te(".djs-outline",n);o||Ne(n,o=r()),i.updateConnectionOutline(o,t)}))}Po.prototype.updateShapeOutline=function(e,t){var n=!1,i=this._getProviders();i.length&&j(i,(function(i){n=n||i.updateOutline(t,e)})),n||Ie(e,{x:-this.offset,y:-this.offset,width:t.width+2*this.offset,height:t.height+2*this.offset})},Po.prototype.updateConnectionOutline=function(e,t){var n=qr(t);Ie(e,{x:n.x-this.offset,y:n.y-this.offset,width:n.width+2*this.offset,height:n.height+2*this.offset})},Po.prototype.registerProvider=function(e,t){t||(t=e,e=1e3),this._eventBus.on("outline.getProviders",e,(function(e){e.providers.push(t)}))},Po.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"outline.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},Po.prototype.getOutline=function(e){var t;return j(this._getProviders(),(function(n){M(n.getOutline)&&(t=t||n.getOutline(e))})),t},Po.$inject=["eventBus","styles","elementRegistry"];const Ro={__init__:["outline"],outline:["type",Po]},Mo={width:36,height:50},To={width:50,height:50};function Do(e,t,n){return qe("path",{d:e,strokeWidth:2,transform:`translate(${t.x}, ${t.y})`,...n})}function Bo(e,t){this._styles=t,e.registerProvider(this)}function No(e,t){var n;return"bpmn:DataObjectReference"===t?n=Mo:"bpmn:DataStoreReference"===t&&(n=To),e.width===n.width&&e.height===n.height}Bo.$inject=["outline","styles"],Bo.prototype.getOutline=function(e){const t=this._styles.cls("djs-outline",["no-fill"]);var n;if(!Jn(e))return kn(e,"bpmn:Gateway")?(ee((n=qe("rect")).style,{"transform-box":"fill-box",transform:"rotate(45deg)","transform-origin":"center"}),Ie(n,ee({x:2,y:2,rx:4,width:e.width-4,height:e.height-4},t))):An(e,["bpmn:Task","bpmn:SubProcess","bpmn:Group","bpmn:CallActivity"])?Ie(n=qe("rect"),ee({x:-5,y:-5,rx:14,width:e.width+10,height:e.height+10},t)):kn(e,"bpmn:EndEvent")?Ie(n=qe("circle"),ee({cx:e.width/2,cy:e.height/2,r:e.width/2+5+1},t)):kn(e,"bpmn:Event")?Ie(n=qe("circle"),ee({cx:e.width/2,cy:e.height/2,r:e.width/2+5},t)):kn(e,"bpmn:DataObjectReference")&&No(e,"bpmn:DataObjectReference")?n=Do("M44.7648 11.3263L36.9892 2.64074C36.0451 1.58628 34.5651 0.988708 33.1904 0.988708H5.98667C3.22688 0.988708 0.989624 3.34892 0.989624 6.26039V55.0235C0.989624 57.9349 3.22688 60.2952 5.98667 60.2952H40.966C43.7257 60.2952 45.963 57.9349 45.963 55.0235V14.9459C45.963 13.5998 45.6407 12.3048 44.7648 11.3263Z",{x:-6,y:-6},t):kn(e,"bpmn:DataStoreReference")&&No(e,"bpmn:DataStoreReference")&&(n=Do("M1.03845 48.1347C1.03845 49.3511 1.07295 50.758 1.38342 52.064C1.69949 53.3938 2.32428 54.7154 3.56383 55.6428C6.02533 57.4841 10.1161 58.7685 14.8212 59.6067C19.5772 60.4538 25.1388 60.8738 30.6831 60.8738C36.2276 60.8738 41.7891 60.4538 46.545 59.6067C51.2504 58.7687 55.3412 57.4842 57.8028 55.6429C59.0424 54.7156 59.6673 53.3938 59.9834 52.064C60.2938 50.7579 60.3285 49.351 60.3285 48.1344V13.8415C60.3285 12.6249 60.2938 11.218 59.9834 9.91171C59.6673 8.58194 59.0423 7.2602 57.8027 6.33294C55.341 4.49168 51.2503 3.20723 46.545 2.36914C41.7891 1.522 36.2276 1.10204 30.6831 1.10205C25.1388 1.10206 19.5772 1.52206 14.8213 2.36923C10.1162 3.20734 6.02543 4.49183 3.5639 6.33314C2.32433 7.26038 1.69951 8.58206 1.38343 9.91181C1.07295 11.2179 1.03845 12.6247 1.03845 13.8411V48.1347Z",{x:-6,y:-6},t)),n},Bo.prototype.updateOutline=function(e,t){if(!Jn(e))return An(e,["bpmn:SubProcess","bpmn:Group"])?(Ie(t,{width:e.width+10,height:e.height+10}),!0):!!An(e,["bpmn:Event","bpmn:Gateway","bpmn:DataStoreReference","bpmn:DataObjectReference"])};const Oo={__depends__:[Ro],__init__:["outlineProvider"],outlineProvider:["type",Bo]};function jo(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()}function Lo(e){return e.originalEvent||e.srcEvent}function Io(e){jo(e),jo(Lo(e))}function $o(e){return e.pointers&&e.pointers.length&&(e=e.pointers[0]),e.touches&&e.touches.length&&(e=e.touches[0]),e?{x:e.clientX,y:e.clientY}:null}function zo(){return/mac/i.test(navigator.platform)}function Fo(e,t){return(Lo(e)||e).button===t}function Ho(e){return Fo(e,0)}function Vo(e){var t=Lo(e)||e;return!!Ho(e)&&(zo()?t.metaKey:t.ctrlKey)}function Go(e){var t=Lo(e)||e;return Ho(e)&&t.shiftKey}function Wo(e){return!0}function Uo(e){return Ho(e)||function(e){return Fo(e,1)}(e)}function qo(e,t,n){var i=this;function r(n,i,r){var o,a;(function(e,t){return!(c[e]||Ho)(t)})(n,i)||(r?a=t.getGraphics(r):(o=i.delegateTarget||i.target)&&(a=o,r=t.get(a)),a&&r&&!1===e.fire(n,{element:r,gfx:a,originalEvent:i})&&(i.stopPropagation(),i.preventDefault()))}var o={};function a(e){return o[e]}var s={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},c={"element.contextmenu":Wo,"element.mousedown":Uo,"element.mouseup":Uo,"element.click":Uo,"element.dblclick":Uo};var l="svg, .djs-element";function p(e,t,n,i){var a=o[n]=function(e){r(n,e)};i&&(c[n]=i),a.$delegate=Ce.bind(e,l,t,a)}function u(e,t,n){var i=a(n);i&&Ce.unbind(e,t,i.$delegate)}e.on("canvas.destroy",(function(e){var t;t=e.svg,j(s,(function(e,n){u(t,n,e)}))})),e.on("canvas.init",(function(e){var t;t=e.svg,j(s,(function(e,n){p(t,n,e)}))})),e.on(["shape.added","connection.added"],(function(t){var n=t.element,i=t.gfx;e.fire("interactionEvents.createHit",{element:n,gfx:i})})),e.on(["shape.changed","connection.changed"],500,(function(t){var n=t.element,i=t.gfx;e.fire("interactionEvents.updateHit",{element:n,gfx:i})})),e.on("interactionEvents.createHit",500,(function(e){var t=e.element,n=e.gfx;i.createDefaultHit(t,n)})),e.on("interactionEvents.updateHit",(function(e){var t=e.element,n=e.gfx;i.updateDefaultHit(t,n)}));var d=f("djs-hit djs-hit-stroke"),h=f("djs-hit djs-hit-click-stroke"),m={all:f("djs-hit djs-hit-all"),"click-stroke":h,stroke:d,"no-move":f("djs-hit djs-hit-no-move")};function f(e,t){return t=ee({stroke:"white",strokeWidth:15},t||{}),n.cls(e,["no-fill","no-border"],t)}function g(e,t){var n=m[t];if(!n)throw new Error("invalid hit type <"+t+">");return Ie(e,n),e}function y(e,t){Ne(e,t)}this.removeHits=function(e){j(De(".djs-hit",e),nt)},this.createDefaultHit=function(e,t){var n,i=e.waypoints,r=e.isFrame;return i?this.createWaypointsHit(t,i):(n=r?"stroke":"all",this.createBoxHit(t,n,{width:e.width,height:e.height}))},this.createWaypointsHit=function(e,t){var n=hi(t);return g(n,"stroke"),y(e,n),n},this.createBoxHit=function(e,t,n){n=ee({x:0,y:0},n);var i=qe("rect");return g(i,t),Ie(i,n),y(e,i),i},this.updateDefaultHit=function(e,t){var n=Te(".djs-hit",t);if(n)return e.waypoints?mi(n,e.waypoints):Ie(n,{width:e.width,height:e.height}),n},this.fire=r,this.triggerMouseEvent=function(e,t,n){var i=s[e];if(!i)throw new Error("unmapped DOM event name <"+e+">");return r(i,t,n)},this.mouseHandler=a,this.registerEvent=p,this.unregisterEvent=u}qo.$inject=["eventBus","elementRegistry","styles"];const Ko={__init__:["interactionEvents"],interactionEvents:["type",qo]};function Xo(e,t){this._eventBus=e,this._canvas=t,this._selectedElements=[];var n=this;e.on(["shape.remove","connection.remove"],(function(e){var t=e.element;n.deselect(t)})),e.on(["diagram.clear","root.set"],(function(e){n.select(null)}))}Xo.$inject=["eventBus","canvas"],Xo.prototype.deselect=function(e){var t=this._selectedElements,n=t.indexOf(e);if(-1!==n){var i=t.slice();t.splice(n,1),this._eventBus.fire("selection.changed",{oldSelection:i,newSelection:t})}},Xo.prototype.get=function(){return this._selectedElements},Xo.prototype.isSelected=function(e){return-1!==this._selectedElements.indexOf(e)},Xo.prototype.select=function(e,t){var n=this._selectedElements,i=n.slice();A(e)||(e=e?[e]:[]);var r=this._canvas,o=r.getRootElement();e=e.filter((function(e){var t=r.findRoot(e);return o===t})),t?j(e,(function(e){-1===n.indexOf(e)&&n.push(e)})):this._selectedElements=n=e.slice(),this._eventBus.fire("selection.changed",{oldSelection:i,newSelection:n})};var Yo="hover",Zo="selected";function Qo(e,t,n){this._canvas=e;var i=this;function r(t,n){e.addMarker(t,n)}function o(t,n){e.removeMarker(t,n)}this._multiSelectionBox=null,t.on("element.hover",(function(e){r(e.element,Yo)})),t.on("element.out",(function(e){o(e.element,Yo)})),t.on("selection.changed",(function(e){var t=e.oldSelection,n=e.newSelection;j(t,(function(e){-1===n.indexOf(e)&&o(e,Zo)})),j(n,(function(e){-1===t.indexOf(e)&&r(e,Zo)})),i._updateSelectionOutline(n)})),t.on("element.changed",(function(e){n.isSelected(e.element)&&i._updateSelectionOutline(n.get())}))}function Jo(e,t,n,i){e.on("create.end",500,(function(e){var n=e.context,i=n.canExecute,r=n.elements,o=(n.hints||{}).autoSelect;if(i){if(!1===o)return;A(o)?t.select(o):t.select(r.filter(ea))}})),e.on("connect.end",500,(function(e){var n=e.context.connection;n&&t.select(n)})),e.on("shape.move.end",500,(function(e){var n=e.previousSelection||[],r=i.get(e.context.shape.id);B(n,(function(e){return r.id===e.id}))||t.select(r)})),e.on("element.click",(function(e){if(Ho(e)){var i=e.element;i===n.getRootElement()&&(i=null);var r=t.isSelected(i),o=t.get().length>1,a=Go(e);if(r&&o)return a?t.deselect(i):t.select(i);r?t.deselect(i):t.select(i,a)}}))}function ea(e){return!e.hidden}Qo.$inject=["canvas","eventBus","selection"],Qo.prototype._updateSelectionOutline=function(e){var t=this._canvas.getLayer("selectionOutline");He(t);var n=e.length>1;if(ze(this._canvas.getContainer())[n?"add":"remove"]("djs-multi-select"),n){var i=function(e){return{x:e.x-6,y:e.y-6,width:e.width+12,height:e.height+12}}(qr(e)),r=qe("rect");Ie(r,ee({rx:3},i)),ze(r).add("djs-selection-outline"),Ne(t,r)}},Jo.$inject=["eventBus","selection","canvas","elementRegistry"];const ta={__init__:["selectionVisuals","selectionBehavior"],__depends__:[Ko,Ro],selection:["type",Xo],selectionVisuals:["type",Qo],selectionBehavior:["type",Jo]};function na(e){Fn.call(this,e)}x(na,Fn),na.prototype._modules=[Fr,Ao,Oo,to,ta,Vi],na.prototype._moddleExtensions={};var ia=["c","C"],ra=["v","V"],oa=["y","Y"],aa=["z","Z"];function sa(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function ca(e,t){return-1!==(e=A(e)?e:[e]).indexOf(t.key)||-1!==e.indexOf(t.code)}function la(e){return e.shiftKey}var pa="keyboard.keydown",ua="input-handle-modified-keys";function da(e,t){var n=this;this._config=e||{},this._eventBus=t,this._keydownHandler=this._keydownHandler.bind(this),this._keyupHandler=this._keyupHandler.bind(this),t.on("diagram.destroy",(function(){n._fire("destroy"),n.unbind()})),t.on("diagram.init",(function(){n._fire("init")})),t.on("attach",(function(){e&&e.bindTo&&n.bind(e.bindTo)})),t.on("detach",(function(){n.unbind()}))}da.$inject=["config.keyboard","eventBus"],da.prototype._keydownHandler=function(e){this._keyHandler(e,pa)},da.prototype._keyupHandler=function(e){this._keyHandler(e,"keyboard.keyup")},da.prototype._keyHandler=function(e,t){if(!this._isEventIgnored(e)){var n={keyEvent:e};this._eventBus.fire(t||pa,n)&&e.preventDefault()}},da.prototype._isEventIgnored=function(e){return!!e.defaultPrevented||((t=e.target)&&(Me(t,"input, textarea")||"true"===t.contentEditable)||function(e){return e&&Me(e,"button, input[type=submit], input[type=button], a[href], [aria-role=button]")}(e.target)&&ca([" ","Enter"],e))&&this._isModifiedKeyIgnored(e);var t},da.prototype._isModifiedKeyIgnored=function(e){return!sa(e)||-1===this._getAllowedModifiers(e.target).indexOf(e.key)},da.prototype._getAllowedModifiers=function(e){var t=ge(e,"["+ua+"]",!0);return!t||this._node&&!this._node.contains(t)?[]:t.getAttribute(ua).split(",")},da.prototype.bind=function(e){this.unbind(),this._node=e,we.bind(e,"keydown",this._keydownHandler),we.bind(e,"keyup",this._keyupHandler),this._fire("bind")},da.prototype.getBinding=function(){return this._node},da.prototype.unbind=function(){var e=this._node;e&&(this._fire("unbind"),we.unbind(e,"keydown",this._keydownHandler),we.unbind(e,"keyup",this._keyupHandler)),this._node=null},da.prototype._fire=function(e){this._eventBus.fire("keyboard."+e,{node:this._node})},da.prototype.addListener=function(e,t,n){M(e)&&(n=t,t=e,e=1e3),this._eventBus.on(n||pa,e,t)},da.prototype.removeListener=function(e,t){this._eventBus.off(t||pa,e)},da.prototype.hasModifier=function(e){return e.ctrlKey||e.metaKey||e.shiftKey||e.altKey},da.prototype.isCmd=sa,da.prototype.isShift=la,da.prototype.isKey=ca;var ha=500;function ma(e,t){var n=this;e.on("editorActions.init",ha,(function(e){var i=e.editorActions;n.registerBindings(t,i)}))}ma.$inject=["eventBus","keyboard"],ma.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}n("undo",(function(e){if(function(e){return sa(e)&&!la(e)&&ca(aa,e)}(e.keyEvent))return t.trigger("undo"),!0})),n("redo",(function(e){if(function(e){return sa(e)&&(ca(oa,e)||ca(aa,e)&&la(e))}(e.keyEvent))return t.trigger("redo"),!0})),n("copy",(function(e){if(function(e){return sa(e)&&ca(ia,e)}(e.keyEvent))return t.trigger("copy"),!0})),n("paste",(function(e){if(function(e){return sa(e)&&ca(ra,e)}(e.keyEvent))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(ca(["+","Add","="],n)&&sa(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(ca(["-","Subtract"],n)&&sa(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(ca("0",n)&&sa(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){if(ca(["Backspace","Delete","Del"],e.keyEvent))return t.trigger("removeSelection"),!0}))};const fa={__init__:["keyboard","keyboardBindings"],keyboard:["type",da],keyboardBindings:["type",ma]};var ga={moveSpeed:50,moveSpeedAccelerated:200};function ya(e,t,n){var i=this;this._config=ee({},ga,e||{}),t.addListener((function(e){var n=e.keyEvent,r=i._config;if(!t.isCmd(n))return;if(t.isKey(["ArrowLeft","Left","ArrowUp","Up","ArrowDown","Down","ArrowRight","Right"],n)){var o,a=t.isShift(n)?r.moveSpeedAccelerated:r.moveSpeed;switch(n.key){case"ArrowLeft":case"Left":o="left";break;case"ArrowUp":case"Up":o="up";break;case"ArrowRight":case"Right":o="right";break;case"ArrowDown":case"Down":o="down"}return i.moveCanvas({speed:a,direction:o}),!0}})),this.moveCanvas=function(e){var t=0,i=0,r=e.speed/Math.min(Math.sqrt(n.viewbox().scale),1);switch(e.direction){case"left":t=r;break;case"up":i=r;break;case"right":t=-r;break;case"down":i=-r}n.scroll({dx:t,dy:i})}}ya.$inject=["config.keyboardMove","keyboard","canvas"];const va={__depends__:[fa],__init__:["keyboardMove"],keyboardMove:["type",ya]};var ba=/^djs-cursor-.*$/;function xa(e){var t=he(document.body);t.removeMatching(ba),e&&t.add("djs-cursor-"+e)}function _a(){xa(null)}var wa=5e3;function Ea(e,t){function n(){return!1}return t=t||"element.click",e.once(t,wa,n),function(){e.off(t,n)}}function Sa(e){return{x:e.x+e.width/2,y:e.y+e.height/2}}function Ca(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ka(e,t){var n;function i(i){var r,o=n.start,a=n.button,s=$o(i),c=Ca(s,o);(!n.dragging&&(r=c,Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2))>15)&&(n.dragging=!0,0===a&&Ea(e),xa("grab")),n.dragging)&&(c=Ca(s,n.last||n.start),t.scroll({dx:c.x,dy:c.y}),n.last=s);i.preventDefault()}function r(e){we.unbind(document,"mousemove",i),we.unbind(document,"mouseup",r),n=null,_a()}e.on("element.mousedown",500,(function(e){return function(e){if(ge(e.target,".djs-draggable"))return;var t=e.button;if(t>=2||e.ctrlKey||e.shiftKey||e.altKey)return;return n={button:t,start:$o(e)},we.bind(document,"mousemove",i),we.bind(document,"mouseup",r),!0}(e.originalEvent)})),this.isActive=function(){return!!n}}ka.$inject=["eventBus","canvas"];const Aa={__init__:["moveCanvas"],moveCanvas:["type",ka]};function Pa(e){return Math.log(e)/Math.log(10)}function Ra(e,t){var n=Pa(e.min),i=Pa(e.max);return(Math.abs(n)+Math.abs(i))/t}var Ma=Math.sign||function(e){return e>=0?1:-1},Ta={min:.2,max:4};function Da(e,t,n){e=e||{},this._enabled=!1,this._canvas=n,this._container=n._container,this._handleWheel=J(this._handleWheel,this),this._totalDelta=0,this._scale=e.scale||.75;var i=this;t.on("canvas.init",(function(t){i._init(!1!==e.enabled)}))}Da.$inject=["config.zoomScroll","eventBus","canvas"],Da.prototype.scroll=function(e){this._canvas.scroll(e)},Da.prototype.reset=function(){this._canvas.zoom("fit-viewport")},Da.prototype.zoom=function(e,t){var n=Ra(Ta,20);this._totalDelta+=e,Math.abs(this._totalDelta)>.1&&(this._zoom(e,t,n),this._totalDelta=0)},Da.prototype._handleWheel=function(e){if(!ge(e.target,".djs-scrollable",!0)){var t=this._container;e.preventDefault();var n,i=e.ctrlKey||zo()&&e.metaKey,r=e.shiftKey,o=-1*this._scale;if(o*=i?0===e.deltaMode?.02:.32:0===e.deltaMode?1:16,i){var a=t.getBoundingClientRect(),s={x:e.clientX-a.left,y:e.clientY-a.top};n=Math.sqrt(Math.pow(e.deltaY,2)+Math.pow(e.deltaX,2))*Ma(e.deltaY)*o,this.zoom(n,s)}else n=r?{dx:o*e.deltaY,dy:0}:{dx:o*e.deltaX,dy:o*e.deltaY},this.scroll(n)}},Da.prototype.stepZoom=function(e,t){var n=Ra(Ta,10);this._zoom(e,t,n)},Da.prototype._zoom=function(e,t,n){var i=this._canvas,r=e>0?1:-1,o=Pa(i.zoom()),a=Math.round(o/n)*n;a+=n*r;var s,c,l=Math.pow(10,a);i.zoom((s=Ta,c=l,Math.max(s.min,Math.min(s.max,c))),t)},Da.prototype.toggle=function(e){var t=this._container,n=this._handleWheel,i=this._enabled;return void 0===e&&(e=!i),i!==e&&we[e?"bind":"unbind"](t,"wheel",n,!1),this._enabled=e,e},Da.prototype._init=function(e){this.toggle(e)};const Ba={__init__:["zoomScroll"],zoomScroll:["type",Da]};function Na(e){na.call(this,e)}function Oa(e){return e&&e[e.length-1]}function ja(e){return e.y}function La(e){return e.x}x(Na,na),Na.prototype._navigationModules=[va,Aa,Ba],Na.prototype._modules=[].concat(na.prototype._modules,Na.prototype._navigationModules);var Ia={left:La,center:La,right:function(e){return e.x+e.width},top:ja,middle:ja,bottom:function(e){return e.y+e.height}};function $a(e,t){this._modeling=e,this._rules=t}$a.$inject=["modeling","rules"],$a.prototype._getOrientationDetails=function(e){var t="x",n="width";return-1!==["top","bottom","middle"].indexOf(e)&&(t="y",n="height"),{axis:t,dimension:n}},$a.prototype._isType=function(e,t){return-1!==t.indexOf(e)},$a.prototype._alignmentPosition=function(e,t){var n,i,r,o,a,s=this._getOrientationDetails(e),c=s.axis,l=s.dimension,p={},u={},d=!1;if(this._isType(e,["left","top"]))p[e]=t[0][c];else if(this._isType(e,["right","bottom"]))r=Oa(t),p[e]=r[c]+r[l];else if(this._isType(e,["center","middle"])){if(j(t,(function(e){var t=e[c]+Math.round(e[l]/2);u[t]?u[t].elements.push(e):u[t]={elements:[e],center:t}})),n=q(u,(function(e){return e.elements.length>1&&(d=!0),e.elements.length})),d)return p[e]=Oa(n).center,p;i=t[0],r=Oa(t=q(t,(function(e){return e[c]+e[l]}))),p[e]=(o=i,a=r,Math.round((o[c]+a[c]+a[l])/2))}return p},$a.prototype.trigger=function(e,t){var n,i=this._modeling,r=O(e,(function(e){return!(e.waypoints||e.host||e.labelTarget)}));if(A(n=this._rules.allowed("elements.align",{elements:r}))&&(r=n),!(r.length<2)&&n){var o=q(r,Ia[t]),a=this._alignmentPosition(t,o);i.alignElements(o,a)}};const za={__init__:["alignElements"],alignElements:["type",$a]},Fa=new Xr;function Ha(e){this._scheduled={},e.on("diagram.destroy",(()=>{Object.keys(this._scheduled).forEach((e=>{this.cancel(e)}))}))}Ha.$inject=["eventBus"],Ha.prototype.schedule=function(e,t=Fa.next()){this.cancel(t);const n=this._schedule(e,t);return this._scheduled[t]=n,n.promise},Ha.prototype._schedule=function(e,t){const{promise:n,resolve:i,reject:r}=function(){let e,t;const n=new Promise(((n,i)=>{e=n,t=i}));return{promise:n,resolve:e,reject:t}}();return{executionId:requestAnimationFrame((()=>{try{i(e())}catch(t){r(t)}})),promise:n}},Ha.prototype.cancel=function(e){const t=this._scheduled[e];t&&(this._cancel(t),this._scheduled[e]=null)},Ha.prototype._cancel=function(e){cancelAnimationFrame(e.executionId)};const Va={scheduler:["type",Ha]};var Ga=".entry";function Wa(e,t,n,i){this._canvas=e,this._elementRegistry=t,this._eventBus=n,this._scheduler=i,this._current=null,this._init()}Wa.$inject=["canvas","elementRegistry","eventBus","scheduler"],Wa.prototype._init=function(){var e=this;this._eventBus.on("selection.changed",(function(t){var n=t.newSelection,i=n.length?1===n.length?n[0]:n:null;i?e.open(i,!0):e.close()})),this._eventBus.on("elements.changed",(function(t){var n=t.elements,i=e._current;if(i){var r=i.target,o=A(r)?r:[r];if(o.filter((function(e){return n.includes(e)})).length){e.close();var a=o.filter((function(t){return e._elementRegistry.get(t.id)}));a.length&&e._updateAndOpen(a.length>1?a:a[0])}}})),this._eventBus.on("canvas.viewbox.changed",(function(){e._updatePosition()})),this._eventBus.on("element.marker.update",(function(t){if(e.isOpen()){var n=t.element,i=e._current;(A(i.target)?i.target:[i.target]).includes(n)&&e._updateVisibility()}})),this._container=this._createContainer()},Wa.prototype._createContainer=function(){var e=Re('
      ');return this._canvas.getContainer().appendChild(e),e},Wa.prototype.registerProvider=function(e,t){t||(t=e,e=1e3),this._eventBus.on("contextPad.getProviders",e,(function(e){e.providers.push(t)}))},Wa.prototype.getEntries=function(e){var t=this._getProviders(),n=A(e)?"getMultiElementContextPadEntries":"getContextPadEntries",i={};return j(t,(function(t){if(M(t[n])){var r=t[n](e);M(r)?i=r(i):j(r,(function(e,t){i[t]=e}))}})),i},Wa.prototype.trigger=function(e,t,n){var i,r,o=this,a=t.delegateTarget||t.target;return a?(i=ue(a,"data-action"),r=t.originalEvent||t,"mouseover"!==e?"mouseout"===e?(clearTimeout(this._timeout),void(this._mouseout&&(this._mouseout(),this._mouseout=null))):this.triggerEntry(i,e,r,n):void(this._timeout=setTimeout((function(){o._mouseout=o.triggerEntry(i,"hover",r,n)}),300))):t.preventDefault()},Wa.prototype.triggerEntry=function(e,t,n,i){if(this.isShown()){var r=this._current.target,o=this._current.entries[e];if(o){var a=o.action;if(!1!==this._eventBus.fire("contextPad.trigger",{entry:o,event:n})){if(M(a)){if("click"===t)return a(n,r,i)}else if(a[t])return a[t](n,r,i);n.preventDefault()}}}},Wa.prototype.open=function(e,t){!t&&this.isOpen(e)||(this.close(),this._updateAndOpen(e))},Wa.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"contextPad.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},Wa.prototype._updateAndOpen=function(e){var t,n=this.getEntries(e),i=this._createHtml(e);j(n,(function(e,n){var r,o,a,s,c=e.group||"default",l=Re(e.html||'
      ');ue(l,"data-action",n),(r=Te("[data-group="+co(c)+"]",i))||(ue(r=Re('
      '),"data-group",c),i.appendChild(r)),r.appendChild(l),e.className&&(o=l,a=e.className,s=he(o),(a=A(a)?a:a.split(/\s+/g)).forEach((function(e){s.add(e)}))),e.title&&ue(l,"title",e.title),e.imageUrl&&(ue(t=Re(""),"src",e.imageUrl),t.style.width="100%",t.style.height="100%",l.appendChild(t))})),he(i).add("open"),this._current={entries:n,html:i,target:e},this._updatePosition(),this._updateVisibility(),this._eventBus.fire("contextPad.open",{current:this._current})},Wa.prototype._createHtml=function(e){var t=this,n=Re('
      ');return Ce.bind(n,Ga,"click",(function(e){t.trigger("click",e)})),Ce.bind(n,Ga,"dragstart",(function(e){t.trigger("dragstart",e)})),Ce.bind(n,Ga,"mouseover",(function(e){t.trigger("mouseover",e)})),Ce.bind(n,Ga,"mouseout",(function(e){t.trigger("mouseout",e)})),we.bind(n,"mousedown",(function(e){e.stopPropagation()})),this._container.appendChild(n),this._eventBus.fire("contextPad.create",{target:e,pad:n}),n},Wa.prototype.getPad=function(e){let t;return t=this.isOpen()&&function(e,t){return e=A(e)?e:[e],t=A(t)?t:[t],e.length===t.length&&$(e,(function(e){return t.includes(e)}))}(this._current.target,e)?this._current.html:this._createHtml(e),{html:t}},Wa.prototype.close=function(){this.isOpen()&&(clearTimeout(this._timeout),this._container.innerHTML="",this._eventBus.fire("contextPad.close",{current:this._current}),this._current=null)},Wa.prototype.isOpen=function(e){var t=this._current;if(!t)return!1;if(!e)return!0;var n=t.target;return A(e)===A(n)&&(A(e)?e.length===n.length&&$(e,(function(e){return n.includes(e)})):n===e)},Wa.prototype.isShown=function(){return this.isOpen()&&he(this._current.html).has("open")},Wa.prototype.show=function(){this.isOpen()&&(he(this._current.html).add("open"),this._updatePosition(),this._eventBus.fire("contextPad.show",{current:this._current}))},Wa.prototype.hide=function(){this.isOpen()&&(he(this._current.html).remove("open"),this._eventBus.fire("contextPad.hide",{current:this._current}))},Wa.prototype._getPosition=function(e){if(!A(e)&&Qn(e)){var t=this._canvas.viewbox(),n=(o=e).waypoints[o.waypoints.length-1],i=n.x*t.scale-t.x*t.scale,r=n.y*t.scale-t.y*t.scale;return{left:i+8*this._canvas.zoom(),top:r}}var o,a=this._canvas.getContainer().getBoundingClientRect(),s=this._getTargetBounds(e);return{left:s.right-a.left+8*this._canvas.zoom(),top:s.top-a.top}},Wa.prototype._updatePosition=function(){this._scheduler.schedule((()=>{if(this.isOpen()){var e=this._current.html,t=this._getPosition(this._current.target);"x"in t&&"y"in t?(e.style.left=t.x+"px",e.style.top=t.y+"px"):["top","right","bottom","left"].forEach((function(n){n in t&&(e.style[n]=t[n]+"px")}))}}),"ContextPad#_updatePosition")},Wa.prototype._updateVisibility=function(){this._scheduler.schedule((()=>{if(this.isOpen()){var e=this,t=this._current.target;(A(t)?t:[t]).some((function(t){return e._canvas.hasMarker(t,"djs-element-hidden")}))?e.hide():e.show()}}),"ContextPad#_updateVisibility")},Wa.prototype._getTargetBounds=function(e){var t=this;return(A(e)?e:[e]).map((function(e){return t._canvas.getGraphics(e)})).reduce((function(e,t){const n=t.getBoundingClientRect();return e.top=Math.min(e.top,n.top),e.right=Math.max(e.right,n.right),e.bottom=Math.max(e.bottom,n.bottom),e.left=Math.min(e.left,n.left),e.x=e.left,e.y=e.top,e.width=e.right-e.left,e.height=e.bottom-e.top,e}),{top:1/0,right:-1/0,bottom:-1/0,left:1/0})};const Ua={__depends__:[Ko,Va,to],contextPad:["type",Wa]};var qa,Ka,Xa,Ya,Za,Qa,Ja,es,ts,ns,is={},rs=[],os=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,as=Array.isArray;function ss(e,t){for(var n in t)e[n]=t[n];return e}function cs(e){var t=e.parentNode;t&&t.removeChild(e)}function ls(e,t,n){var i,r,o,a={};for(o in t)"key"==o?i=t[o]:"ref"==o?r=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?qa.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return ps(e,a,i,r,null)}function ps(e,t,n,i,r){var o={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++Xa:r,__i:-1,__u:0};return null==r&&null!=Ka.vnode&&Ka.vnode(o),o}function us(e){return e.children}function ds(e,t){this.props=e,this.context=t}function hs(e,t){if(null==t)return e.__?hs(e.__,e.__i+1):null;for(var n;tt&&Ya.sort(Ja));gs.__r=0}function ys(e,t,n,i,r,o,a,s,c,l,p){var u,d,h,m,f,g=i&&i.__k||rs,y=t.length;for(n.__d=c,function(e,t,n){var i,r,o,a,s,c=t.length,l=n.length,p=l,u=0;for(e.__k=[],i=0;i0?ps(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,s=bs(r,n,a,p),r.__i=s,o=null,-1!==s&&(p--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&u--,"function"!=typeof r.type&&(r.__u|=65536)):s!==a&&(s==a-1?u--:s==a+1?u++:s>a?p>c-a?u+=s-a:u--:s(null==c||131072&c.__u?0:1))for(;a>=0||s=0){if((c=t[a])&&!(131072&c.__u)&&r==c.key&&o===c.type)return a;a--}if(s=5&&((r||!e&&5===i)&&(a.push(i,0,r,n),i=6),e&&(a.push(i,e,0,n),i=6)),r=""},c=0;c"===t?(i=1,r=""):r=t+r[0]:o?t===o?o="":r+=t:'"'===t||"'"===t?o=t:">"===t?(s(),i=1):i&&("="===t?(i=5,n=r,r=""):"/"===t&&(i<5||">"===e[c][l+1])?(s(),3===i&&(a=a[0]),i=a,(a=a[0]).push(2,0,i),i=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(s(),i=2):r+=t),3===i&&"!--"===r&&(i=4,a=a[0])}return s(),a}(e)),t),arguments,[])).length>1?t:t[0]}.bind(ls),js=0,Ls=[],Is=Ka,$s=Is.__b,zs=Is.__r,Fs=Is.diffed,Hs=Is.__c,Vs=Is.unmount,Gs=Is.__;function Ws(e,t){Is.__h&&Is.__h(Ds,e,js||t),js=0;var n=Ds.__H||(Ds.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Us(e){return js=1,function(e,t){var n=Ws(Ts++,2);if(n.t=e,!n.__c&&(n.__=[rc(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],i=n.t(t,e);t!==i&&(n.__N=[i,n.__[1]],n.__c.setState({}))}],n.__c=Ds,!Ds.u)){var i=function(e,t,i){if(!n.__c.__H)return!0;var o=n.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!r||r.call(this,e,t,i);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&n.__c.props===e)&&(!r||r.call(this,e,t,i))};Ds.u=!0;var r=Ds.shouldComponentUpdate,o=Ds.componentWillUpdate;Ds.componentWillUpdate=function(e,t,n){if(this.__e){var a=r;r=void 0,i(e,t,n),r=a}o&&o.call(this,e,t,n)},Ds.shouldComponentUpdate=i}return n.__N||n.__}(rc,e)}function qs(e,t){var n=Ws(Ts++,3);!Is.__s&&ic(n.__H,t)&&(n.__=e,n.i=t,Ds.__H.__h.push(n))}function Ks(e,t){var n=Ws(Ts++,4);!Is.__s&&ic(n.__H,t)&&(n.__=e,n.i=t,Ds.__h.push(n))}function Xs(e){return js=5,Ys((function(){return{current:e}}),[])}function Ys(e,t){var n=Ws(Ts++,7);return ic(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Zs(e,t){return js=8,Ys((function(){return e}),t)}function Qs(){for(var e;e=Ls.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(tc),e.__H.__h.forEach(nc),e.__H.__h=[]}catch(t){e.__H.__h=[],Is.__e(t,e.__v)}}Is.__b=function(e){Ds=null,$s&&$s(e)},Is.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Gs&&Gs(e,t)},Is.__r=function(e){zs&&zs(e),Ts=0;var t=(Ds=e.__c).__H;t&&(Bs===Ds?(t.__h=[],Ds.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(tc),t.__h.forEach(nc),t.__h=[],Ts=0)),Bs=Ds},Is.diffed=function(e){Fs&&Fs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Ls.push(t)&&Ns===Is.requestAnimationFrame||((Ns=Is.requestAnimationFrame)||ec)(Qs)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),Bs=Ds=null},Is.__c=function(e,t){t.some((function(e){try{e.__h.forEach(tc),e.__h=e.__h.filter((function(e){return!e.__||nc(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Is.__e(n,e.__v)}})),Hs&&Hs(e,t)},Is.unmount=function(e){Vs&&Vs(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{tc(e)}catch(n){t=n}})),n.__H=void 0,t&&Is.__e(t,n.__v))};var Js="function"==typeof requestAnimationFrame;function ec(e){var t,n=function(){clearTimeout(i),Js&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Js&&(t=requestAnimationFrame(n))}function tc(e){var t=Ds,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Ds=t}function nc(e){var t=Ds;e.__c=e.__(),Ds=t}function ic(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function rc(e,t){return"function"==typeof t?t(e):t}function oc(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;tt.reduce(((e,t)=>{const n=t.group||"default",i=e.find((e=>e.id===n));return i?i.entries.push(t):e.push({id:n,entries:[t]}),e}),[])),[t]);return Os`

      ${o}

      ${a.map((e=>Os` diff --git a/shared/bpmn-designer/package.json b/shared/bpmn-designer/package.json index 17aa5814..5c3782fd 100644 --- a/shared/bpmn-designer/package.json +++ b/shared/bpmn-designer/package.json @@ -32,15 +32,15 @@ "@herodotus/components": "workspace:^", "@herodotus/core": "workspace:^", "bpmn-js": "^17.9.2", - "bpmn-js-properties-panel": "^5.21.0", - "bpmn-js-token-simulation": "^0.34.2", + "bpmn-js-properties-panel": "^5.22.0", + "bpmn-js-token-simulation": "^0.34.4", "camunda-bpmn-js-behaviors": "^1.5.0", "camunda-bpmn-moddle": "^7.0.1", - "diagram-js": "^14.8.0", + "diagram-js": "^14.9.0", "preact": "^10.23.2", "zeebe-bpmn-moddle": "^1.5.1" }, "devDependencies": { - "webpack": "^5.93.0" + "webpack": "^5.94.0" } } diff --git a/shared/components/package.json b/shared/components/package.json index 2cf70a0a..54c40ea2 100644 --- a/shared/components/package.json +++ b/shared/components/package.json @@ -32,6 +32,6 @@ "@tsparticles/basic": "^3.5.0", "@tsparticles/engine": "^3.5.0", "@tsparticles/interaction-particles-links": "^3.5.0", - "quasar": "^2.16.8" + "quasar": "^2.16.9" } }